ticketAttributes.api.ts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. outOfOfficeStartAt
  33. outOfOfficeEndAt
  34. email
  35. organization {
  36. id
  37. internalId
  38. name
  39. active
  40. objectAttributeValues {
  41. ...objectAttributeValues
  42. }
  43. }
  44. hasSecondaryOrganizations
  45. policy {
  46. update
  47. }
  48. }
  49. organization {
  50. id
  51. internalId
  52. name
  53. vip
  54. active
  55. }
  56. state {
  57. id
  58. name
  59. stateType {
  60. name
  61. }
  62. }
  63. group {
  64. id
  65. name
  66. emailAddress {
  67. name
  68. emailAddress
  69. }
  70. }
  71. priority {
  72. id
  73. name
  74. defaultCreate
  75. uiColor
  76. }
  77. objectAttributeValues {
  78. ...objectAttributeValues
  79. }
  80. policy {
  81. update
  82. agentReadAccess
  83. }
  84. tags
  85. timeUnit
  86. timeUnitsPerType {
  87. name
  88. timeUnit
  89. }
  90. subscribed
  91. preferences
  92. stateColorCode
  93. firstResponseEscalationAt
  94. closeEscalationAt
  95. updateEscalationAt
  96. initialChannel
  97. }
  98. ${ObjectAttributeValuesFragmentDoc}`;