ticketAttributes.api.ts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. import * as Types from '#shared/graphql/types.ts';
  2. import gql from 'graphql-tag';
  3. import { ObjectAttributeValuesFragmentDoc } from '../../../../../../shared/graphql/fragments/objectAttributeValues.api';
  4. export const TicketAttributesFragmentDoc = gql`
  5. fragment ticketAttributes on Ticket {
  6. id
  7. internalId
  8. number
  9. title
  10. createdAt
  11. escalationAt
  12. updatedAt
  13. pendingTime
  14. owner {
  15. id
  16. internalId
  17. firstname
  18. lastname
  19. }
  20. customer {
  21. id
  22. internalId
  23. firstname
  24. lastname
  25. fullname
  26. phone
  27. mobile
  28. image
  29. vip
  30. active
  31. outOfOffice
  32. email
  33. organization {
  34. id
  35. internalId
  36. name
  37. active
  38. objectAttributeValues {
  39. ...objectAttributeValues
  40. }
  41. }
  42. hasSecondaryOrganizations
  43. policy {
  44. update
  45. }
  46. }
  47. organization {
  48. id
  49. internalId
  50. name
  51. vip
  52. active
  53. }
  54. state {
  55. id
  56. name
  57. stateType {
  58. name
  59. }
  60. }
  61. group {
  62. id
  63. name
  64. emailAddress {
  65. name
  66. emailAddress
  67. }
  68. }
  69. priority {
  70. id
  71. name
  72. defaultCreate
  73. uiColor
  74. }
  75. objectAttributeValues {
  76. ...objectAttributeValues
  77. }
  78. policy {
  79. update
  80. agentReadAccess
  81. }
  82. tags
  83. timeUnit
  84. timeUnitsPerType {
  85. name
  86. timeUnit
  87. }
  88. subscribed
  89. preferences
  90. stateColorCode
  91. firstResponseEscalationAt
  92. closeEscalationAt
  93. updateEscalationAt
  94. initialChannel
  95. }
  96. ${ObjectAttributeValuesFragmentDoc}`;