@kl1/contracts 1.1.77-uat → 1.1.79-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +17 -17
  2. package/dist/api-contracts/src/attribute/index.d.ts +164 -148
  3. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  4. package/dist/api-contracts/src/attribute/schema.d.ts +11 -8
  5. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  6. package/dist/api-contracts/src/attribute-option/schema.d.ts +3 -2
  7. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  8. package/dist/api-contracts/src/auth/index.d.ts +51 -47
  9. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  10. package/dist/api-contracts/src/aws/index.d.ts +8 -6
  11. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  12. package/dist/api-contracts/src/botpress/index.d.ts +17 -13
  13. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/business-calendar/index.d.ts +40 -28
  15. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/business-calendar/schema.d.ts +15 -10
  17. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  18. package/dist/api-contracts/src/call-log/schema.d.ts +5 -4
  19. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  20. package/dist/api-contracts/src/category/index.d.ts +118 -109
  21. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  22. package/dist/api-contracts/src/category/schema.d.ts +3 -2
  23. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  24. package/dist/api-contracts/src/channel/index.d.ts +411 -392
  25. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/channel/schema.d.ts +6 -6
  27. package/dist/api-contracts/src/channel/validation.d.ts +8 -8
  28. package/dist/api-contracts/src/chat/index.d.ts +12528 -12120
  29. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  30. package/dist/api-contracts/src/chat/schema.d.ts +2814 -2654
  31. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  32. package/dist/api-contracts/src/chat/validation.d.ts +2150 -2083
  33. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  34. package/dist/api-contracts/src/comment/index.d.ts +281 -224
  35. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/comment/schema.d.ts +68 -50
  37. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/company/index.d.ts +138 -111
  39. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/company/schema.d.ts +33 -24
  41. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  42. package/dist/api-contracts/src/company/validation.d.ts +78 -62
  43. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  44. package/dist/api-contracts/src/contact/index.d.ts +597 -501
  45. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/contact/schema.d.ts +56 -42
  47. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  48. package/dist/api-contracts/src/contact/validation.d.ts +263 -192
  49. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  50. package/dist/api-contracts/src/contact-email/schema.d.ts +3 -2
  51. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  52. package/dist/api-contracts/src/contact-phone/schema.d.ts +3 -2
  53. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  54. package/dist/api-contracts/src/contract.d.ts +15249 -14062
  55. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  56. package/dist/api-contracts/src/custom-field/schema.d.ts +3 -2
  57. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  58. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  59. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +3 -2
  60. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  61. package/dist/api-contracts/src/cx-log/index.d.ts +648 -608
  62. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  63. package/dist/api-contracts/src/cx-log/schema.d.ts +413 -370
  64. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  65. package/dist/api-contracts/src/cx-log/validation.d.ts +38 -38
  66. package/dist/api-contracts/src/dashboard/index.d.ts +370 -330
  67. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  68. package/dist/api-contracts/src/dashboard/schema.d.ts +7 -6
  69. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  70. package/dist/api-contracts/src/dashboard/validation.d.ts +20 -14
  71. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  72. package/dist/api-contracts/src/evaluate-form/index.d.ts +4 -3
  73. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  74. package/dist/api-contracts/src/evaluate-form/schema.d.ts +3 -2
  75. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  76. package/dist/api-contracts/src/export/index.d.ts +4 -3
  77. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  78. package/dist/api-contracts/src/extension/index.d.ts +109 -104
  79. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  80. package/dist/api-contracts/src/facebook-feed/index.d.ts +1599 -1529
  81. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  82. package/dist/api-contracts/src/facebook-feed/schema.d.ts +43 -32
  83. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  84. package/dist/api-contracts/src/facebook-feed/validation.d.ts +76 -59
  85. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  86. package/dist/api-contracts/src/group/schema.d.ts +3 -2
  87. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  88. package/dist/api-contracts/src/hold-label/index.d.ts +38 -28
  89. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/hold-label/schema.d.ts +3 -2
  91. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  92. package/dist/api-contracts/src/instagram/index.d.ts +1195 -1145
  93. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  94. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  95. package/dist/api-contracts/src/line/index.d.ts +1869 -1819
  96. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  97. package/dist/api-contracts/src/line/schema.d.ts +12 -11
  98. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  99. package/dist/api-contracts/src/line/validation.d.ts +62 -62
  100. package/dist/api-contracts/src/log-form/schema.d.ts +3 -2
  101. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  102. package/dist/api-contracts/src/mail/account-contract.d.ts +135 -127
  103. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  104. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +4 -3
  105. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  106. package/dist/api-contracts/src/mail/mail-contract.d.ts +408 -366
  107. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  108. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +20 -15
  109. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  110. package/dist/api-contracts/src/mail/message-contract.d.ts +113 -107
  111. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  112. package/dist/api-contracts/src/mail/room-contract.d.ts +88 -65
  113. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  114. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  115. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +22 -18
  116. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  117. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +15 -10
  118. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  119. package/dist/api-contracts/src/messenger/index.d.ts +1109 -1057
  120. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  121. package/dist/api-contracts/src/messenger/validation.d.ts +76 -59
  122. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  123. package/dist/api-contracts/src/notification/index.d.ts +16 -12
  124. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  125. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  126. package/dist/api-contracts/src/public-api/index.d.ts +260 -196
  127. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  128. package/dist/api-contracts/src/public-api/schema.d.ts +48 -34
  129. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  130. package/dist/api-contracts/src/public-api/validation.d.ts +113 -88
  131. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  132. package/dist/api-contracts/src/role/index.d.ts +84 -80
  133. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  134. package/dist/api-contracts/src/sms/index.d.ts +81 -80
  135. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  136. package/dist/api-contracts/src/snippet/index.d.ts +76 -54
  137. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  138. package/dist/api-contracts/src/snippet/schema.d.ts +21 -14
  139. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  140. package/dist/api-contracts/src/snippet/validation.d.ts +5 -4
  141. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  142. package/dist/api-contracts/src/subscription/index.d.ts +66 -45
  143. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  144. package/dist/api-contracts/src/subscription/schema.d.ts +90 -60
  145. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  146. package/dist/api-contracts/src/tag/index.d.ts +79 -72
  147. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  148. package/dist/api-contracts/src/tag/schema.d.ts +3 -2
  149. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  150. package/dist/api-contracts/src/tag-group/schema.d.ts +3 -2
  151. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  152. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +75 -67
  153. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  154. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +9 -6
  155. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  156. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  157. package/dist/api-contracts/src/telephony-cdr/index.d.ts +1179 -1116
  158. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  159. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +186 -166
  160. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  161. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +52 -45
  162. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  163. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  164. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  165. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +3 -2
  166. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  167. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +3 -2
  168. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  169. package/dist/api-contracts/src/tenant/schema.d.ts +3 -2
  170. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  171. package/dist/api-contracts/src/ticket/index.d.ts +717 -618
  172. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  173. package/dist/api-contracts/src/ticket/schema.d.ts +81 -58
  174. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  175. package/dist/api-contracts/src/ticket/validation.d.ts +55 -53
  176. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  177. package/dist/api-contracts/src/upload/index.d.ts +36 -34
  178. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  179. package/dist/api-contracts/src/upload/schema.d.ts +3 -2
  180. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  181. package/dist/api-contracts/src/user/index.d.ts +114 -108
  182. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  183. package/dist/api-contracts/src/user/validation.d.ts +5 -4
  184. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  185. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -31
  186. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  187. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +9 -6
  188. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  189. package/dist/api-contracts/src/viber/index.d.ts +994 -946
  190. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  191. package/dist/api-contracts/src/webchat/index.d.ts +962 -917
  192. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  193. package/dist/api-contracts/src/widget/index.d.ts +139 -128
  194. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  195. package/dist/api-contracts/src/widget/schema.d.ts +3 -2
  196. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  197. package/dist/api-contracts/src/workflow-rule/index.d.ts +1092 -1057
  198. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  199. package/dist/api-contracts/src/workflow-rule/schema.d.ts +3 -2
  200. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  201. package/dist/api-contracts/src/wrap-up-form/index.d.ts +166 -147
  202. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  203. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +9 -6
  204. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  205. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +21 -20
  206. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  207. package/dist/api-contracts/utils.d.ts +4 -3
  208. package/dist/api-contracts/utils.d.ts.map +1 -1
  209. package/dist/index.js +1 -1
  210. package/dist/index.js.map +1 -1
  211. package/dist/index.mjs +1 -1
  212. package/dist/index.mjs.map +1 -1
  213. package/package.json +2 -2
@@ -64,11 +64,12 @@ export declare const ticketContract: {
64
64
  }, {
65
65
  [x: string]: any;
66
66
  }>;
67
- categories: z.ZodObject<{
67
+ categories: z.ZodObject<z.objectUtil.extendShape<{
68
68
  isRequired: z.ZodBoolean;
69
69
  attributeId: z.ZodString;
70
+ }, {
70
71
  value: z.ZodArray<z.ZodString, "many">;
71
- }, "strip", z.ZodTypeAny, {
72
+ }>, "strip", z.ZodTypeAny, {
72
73
  value: string[];
73
74
  isRequired: boolean;
74
75
  attributeId: string;
@@ -174,14 +175,33 @@ export declare const ticketContract: {
174
175
  }>;
175
176
  summary: "Create a new ticket";
176
177
  method: "POST";
178
+ path: "ticket-service/ticket";
179
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
180
+ 'x-tenant': z.ZodString;
181
+ authorization: z.ZodString;
182
+ 'x-code': z.ZodOptional<z.ZodString>;
183
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
184
+ }, "strip", z.ZodTypeAny, {
185
+ 'x-tenant': string;
186
+ authorization: string;
187
+ 'x-client-timezone': string;
188
+ 'x-code'?: string | undefined;
189
+ }, {
190
+ 'x-tenant': string;
191
+ authorization: string;
192
+ 'x-code'?: string | undefined;
193
+ 'x-client-timezone'?: string | undefined;
194
+ }>>>;
177
195
  responses: {
178
- 201: z.ZodObject<{
196
+ 201: z.ZodObject<z.objectUtil.extendShape<{
179
197
  requestId: z.ZodString;
180
- data: z.ZodObject<{
198
+ }, {
199
+ data: z.ZodObject<z.objectUtil.extendShape<{
181
200
  id: z.ZodString;
182
201
  createdAt: z.ZodDate;
183
202
  updatedAt: z.ZodDate;
184
203
  deletedAt: z.ZodNullable<z.ZodDate>;
204
+ }, {
185
205
  title: z.ZodString;
186
206
  description: z.ZodNullable<z.ZodString>;
187
207
  type: z.ZodString;
@@ -601,20 +621,22 @@ export declare const ticketContract: {
601
621
  }>>>;
602
622
  reasonToAssign: z.ZodNullable<z.ZodString>;
603
623
  ticketNumber: z.ZodOptional<z.ZodNumber>;
604
- customFields: z.ZodArray<z.ZodObject<{
624
+ customFields: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
605
625
  id: z.ZodString;
606
626
  createdAt: z.ZodDate;
607
627
  updatedAt: z.ZodDate;
608
628
  deletedAt: z.ZodNullable<z.ZodDate>;
629
+ }, {
609
630
  textValue: z.ZodNullable<z.ZodString>;
610
631
  booleanValue: z.ZodNullable<z.ZodBoolean>;
611
632
  numberValue: z.ZodNullable<z.ZodNumber>;
612
633
  dateValue: z.ZodNullable<z.ZodDate>;
613
- attribute: z.ZodObject<Omit<{
634
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
614
635
  id: z.ZodString;
615
636
  createdAt: z.ZodDate;
616
637
  updatedAt: z.ZodDate;
617
638
  deletedAt: z.ZodNullable<z.ZodDate>;
639
+ }, {
618
640
  systemName: z.ZodString;
619
641
  displayName: z.ZodString;
620
642
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -623,13 +645,14 @@ export declare const ticketContract: {
623
645
  isArchived: z.ZodBoolean;
624
646
  isRequired: z.ZodBoolean;
625
647
  isUnique: z.ZodBoolean;
626
- options: z.ZodArray<z.ZodObject<{
627
- position: z.ZodNumber;
628
- value: z.ZodString;
648
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
629
649
  label: z.ZodString;
650
+ value: z.ZodString;
630
651
  isDefault: z.ZodBoolean;
652
+ position: z.ZodNumber;
653
+ }, {
631
654
  id: z.ZodString;
632
- }, "strip", z.ZodTypeAny, {
655
+ }>, "strip", z.ZodTypeAny, {
633
656
  id: string;
634
657
  position: number;
635
658
  value: string;
@@ -642,14 +665,15 @@ export declare const ticketContract: {
642
665
  label: string;
643
666
  isDefault: boolean;
644
667
  }>, "many">;
645
- group: z.ZodObject<{
668
+ group: z.ZodObject<z.objectUtil.extendShape<{
646
669
  id: z.ZodString;
647
670
  createdAt: z.ZodDate;
648
671
  updatedAt: z.ZodDate;
649
672
  deletedAt: z.ZodNullable<z.ZodDate>;
673
+ }, {
650
674
  systemName: z.ZodString;
651
675
  displayName: z.ZodString;
652
- }, "strip", z.ZodTypeAny, {
676
+ }>, "strip", z.ZodTypeAny, {
653
677
  id: string;
654
678
  createdAt: Date;
655
679
  updatedAt: Date;
@@ -664,7 +688,7 @@ export declare const ticketContract: {
664
688
  systemName: string;
665
689
  displayName: string;
666
690
  }>;
667
- }, "options" | "group">, "strip", z.ZodTypeAny, {
691
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
668
692
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
669
693
  id: string;
670
694
  position: number;
@@ -691,18 +715,19 @@ export declare const ticketContract: {
691
715
  isRequired: boolean;
692
716
  isUnique: boolean;
693
717
  }>;
694
- uploads: z.ZodArray<z.ZodObject<{
718
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
695
719
  id: z.ZodString;
696
720
  createdAt: z.ZodDate;
697
721
  updatedAt: z.ZodDate;
698
722
  deletedAt: z.ZodNullable<z.ZodDate>;
723
+ }, {
699
724
  bucketName: z.ZodString;
700
725
  fileName: z.ZodString;
701
726
  fileSize: z.ZodNumber;
702
727
  fileKey: z.ZodString;
703
728
  fileUrl: z.ZodNullable<z.ZodString>;
704
729
  status: z.ZodNullable<z.ZodString>;
705
- }, "strip", z.ZodTypeAny, {
730
+ }>, "strip", z.ZodTypeAny, {
706
731
  id: string;
707
732
  status: string | null;
708
733
  createdAt: Date;
@@ -725,7 +750,7 @@ export declare const ticketContract: {
725
750
  fileSize: number;
726
751
  fileUrl: string | null;
727
752
  }>, "many">;
728
- }, "strip", z.ZodTypeAny, {
753
+ }>, "strip", z.ZodTypeAny, {
729
754
  id: string;
730
755
  createdAt: Date;
731
756
  updatedAt: Date;
@@ -796,13 +821,14 @@ export declare const ticketContract: {
796
821
  fileUrl: string | null;
797
822
  }[];
798
823
  }>, "many">;
799
- tags: z.ZodArray<z.ZodObject<{
824
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
800
825
  id: z.ZodString;
801
826
  createdAt: z.ZodDate;
802
827
  updatedAt: z.ZodDate;
803
828
  deletedAt: z.ZodNullable<z.ZodDate>;
829
+ }, {
804
830
  name: z.ZodString;
805
- }, "strip", z.ZodTypeAny, {
831
+ }>, "strip", z.ZodTypeAny, {
806
832
  id: string;
807
833
  name: string;
808
834
  createdAt: Date;
@@ -815,11 +841,12 @@ export declare const ticketContract: {
815
841
  updatedAt: Date;
816
842
  deletedAt: Date | null;
817
843
  }>, "many">;
818
- categories: z.ZodArray<z.ZodObject<{
844
+ categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
819
845
  id: z.ZodString;
820
846
  createdAt: z.ZodDate;
821
847
  updatedAt: z.ZodDate;
822
848
  deletedAt: z.ZodNullable<z.ZodDate>;
849
+ }, {
823
850
  value: z.ZodString;
824
851
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
825
852
  parentId: z.ZodNullable<z.ZodString>;
@@ -872,7 +899,7 @@ export declare const ticketContract: {
872
899
  childCategoryList: any[];
873
900
  }[];
874
901
  }>, "many">;
875
- }, "strip", z.ZodTypeAny, {
902
+ }>, "strip", z.ZodTypeAny, {
876
903
  id: string;
877
904
  value: string;
878
905
  createdAt: Date;
@@ -926,13 +953,14 @@ export declare const ticketContract: {
926
953
  notes: z.ZodNullable<z.ZodString>;
927
954
  contactProfile: z.ZodNullable<z.ZodString>;
928
955
  socialProfileUrl: z.ZodNullable<z.ZodString>;
929
- tags: z.ZodArray<z.ZodObject<{
956
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
930
957
  id: z.ZodString;
931
958
  createdAt: z.ZodDate;
932
959
  updatedAt: z.ZodDate;
933
960
  deletedAt: z.ZodNullable<z.ZodDate>;
961
+ }, {
934
962
  name: z.ZodString;
935
- }, "strip", z.ZodTypeAny, {
963
+ }>, "strip", z.ZodTypeAny, {
936
964
  id: string;
937
965
  name: string;
938
966
  createdAt: Date;
@@ -945,29 +973,32 @@ export declare const ticketContract: {
945
973
  updatedAt: Date;
946
974
  deletedAt: Date | null;
947
975
  }>, "many">;
948
- company: z.ZodNullable<z.ZodObject<Omit<{
976
+ company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
949
977
  id: z.ZodString;
950
978
  createdAt: z.ZodDate;
951
979
  updatedAt: z.ZodDate;
952
980
  deletedAt: z.ZodNullable<z.ZodDate>;
981
+ }, {
953
982
  name: z.ZodOptional<z.ZodString>;
954
983
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
955
984
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
956
985
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
957
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
986
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
958
987
  id: z.ZodString;
959
988
  createdAt: z.ZodDate;
960
989
  updatedAt: z.ZodDate;
961
990
  deletedAt: z.ZodNullable<z.ZodDate>;
991
+ }, {
962
992
  textValue: z.ZodNullable<z.ZodString>;
963
993
  booleanValue: z.ZodNullable<z.ZodBoolean>;
964
994
  numberValue: z.ZodNullable<z.ZodNumber>;
965
995
  dateValue: z.ZodNullable<z.ZodDate>;
966
- attribute: z.ZodObject<Omit<{
996
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
967
997
  id: z.ZodString;
968
998
  createdAt: z.ZodDate;
969
999
  updatedAt: z.ZodDate;
970
1000
  deletedAt: z.ZodNullable<z.ZodDate>;
1001
+ }, {
971
1002
  systemName: z.ZodString;
972
1003
  displayName: z.ZodString;
973
1004
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -976,13 +1007,14 @@ export declare const ticketContract: {
976
1007
  isArchived: z.ZodBoolean;
977
1008
  isRequired: z.ZodBoolean;
978
1009
  isUnique: z.ZodBoolean;
979
- options: z.ZodArray<z.ZodObject<{
980
- position: z.ZodNumber;
981
- value: z.ZodString;
1010
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
982
1011
  label: z.ZodString;
1012
+ value: z.ZodString;
983
1013
  isDefault: z.ZodBoolean;
1014
+ position: z.ZodNumber;
1015
+ }, {
984
1016
  id: z.ZodString;
985
- }, "strip", z.ZodTypeAny, {
1017
+ }>, "strip", z.ZodTypeAny, {
986
1018
  id: string;
987
1019
  position: number;
988
1020
  value: string;
@@ -995,14 +1027,15 @@ export declare const ticketContract: {
995
1027
  label: string;
996
1028
  isDefault: boolean;
997
1029
  }>, "many">;
998
- group: z.ZodObject<{
1030
+ group: z.ZodObject<z.objectUtil.extendShape<{
999
1031
  id: z.ZodString;
1000
1032
  createdAt: z.ZodDate;
1001
1033
  updatedAt: z.ZodDate;
1002
1034
  deletedAt: z.ZodNullable<z.ZodDate>;
1035
+ }, {
1003
1036
  systemName: z.ZodString;
1004
1037
  displayName: z.ZodString;
1005
- }, "strip", z.ZodTypeAny, {
1038
+ }>, "strip", z.ZodTypeAny, {
1006
1039
  id: string;
1007
1040
  createdAt: Date;
1008
1041
  updatedAt: Date;
@@ -1017,7 +1050,7 @@ export declare const ticketContract: {
1017
1050
  systemName: string;
1018
1051
  displayName: string;
1019
1052
  }>;
1020
- }, "options" | "group">, "strip", z.ZodTypeAny, {
1053
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
1021
1054
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1022
1055
  id: string;
1023
1056
  position: number;
@@ -1044,7 +1077,7 @@ export declare const ticketContract: {
1044
1077
  isRequired: boolean;
1045
1078
  isUnique: boolean;
1046
1079
  }>;
1047
- }, "strip", z.ZodTypeAny, {
1080
+ }>, "strip", z.ZodTypeAny, {
1048
1081
  id: string;
1049
1082
  createdAt: Date;
1050
1083
  updatedAt: Date;
@@ -1091,7 +1124,7 @@ export declare const ticketContract: {
1091
1124
  numberValue: number | null;
1092
1125
  dateValue: Date | null;
1093
1126
  }>, "many">>;
1094
- }, "customFields">, "strip", z.ZodTypeAny, {
1127
+ }>, "customFields">, "strip", z.ZodTypeAny, {
1095
1128
  id: string;
1096
1129
  createdAt: Date;
1097
1130
  updatedAt: Date;
@@ -1119,11 +1152,12 @@ export declare const ticketContract: {
1119
1152
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1120
1153
  numberValue: z.ZodNullable<z.ZodNumber>;
1121
1154
  dateValue: z.ZodNullable<z.ZodDate>;
1122
- attribute: z.ZodObject<Omit<{
1155
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
1123
1156
  id: z.ZodString;
1124
1157
  createdAt: z.ZodDate;
1125
1158
  updatedAt: z.ZodDate;
1126
1159
  deletedAt: z.ZodNullable<z.ZodDate>;
1160
+ }, {
1127
1161
  systemName: z.ZodString;
1128
1162
  displayName: z.ZodString;
1129
1163
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1132,13 +1166,14 @@ export declare const ticketContract: {
1132
1166
  isArchived: z.ZodBoolean;
1133
1167
  isRequired: z.ZodBoolean;
1134
1168
  isUnique: z.ZodBoolean;
1135
- options: z.ZodArray<z.ZodObject<{
1136
- position: z.ZodNumber;
1137
- value: z.ZodString;
1169
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1138
1170
  label: z.ZodString;
1171
+ value: z.ZodString;
1139
1172
  isDefault: z.ZodBoolean;
1173
+ position: z.ZodNumber;
1174
+ }, {
1140
1175
  id: z.ZodString;
1141
- }, "strip", z.ZodTypeAny, {
1176
+ }>, "strip", z.ZodTypeAny, {
1142
1177
  id: string;
1143
1178
  position: number;
1144
1179
  value: string;
@@ -1151,14 +1186,15 @@ export declare const ticketContract: {
1151
1186
  label: string;
1152
1187
  isDefault: boolean;
1153
1188
  }>, "many">;
1154
- group: z.ZodObject<{
1189
+ group: z.ZodObject<z.objectUtil.extendShape<{
1155
1190
  id: z.ZodString;
1156
1191
  createdAt: z.ZodDate;
1157
1192
  updatedAt: z.ZodDate;
1158
1193
  deletedAt: z.ZodNullable<z.ZodDate>;
1194
+ }, {
1159
1195
  systemName: z.ZodString;
1160
1196
  displayName: z.ZodString;
1161
- }, "strip", z.ZodTypeAny, {
1197
+ }>, "strip", z.ZodTypeAny, {
1162
1198
  id: string;
1163
1199
  createdAt: Date;
1164
1200
  updatedAt: Date;
@@ -1173,7 +1209,7 @@ export declare const ticketContract: {
1173
1209
  systemName: string;
1174
1210
  displayName: string;
1175
1211
  }>;
1176
- }, "options" | "group">, "strip", z.ZodTypeAny, {
1212
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
1177
1213
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1178
1214
  id: string;
1179
1215
  position: number;
@@ -1200,18 +1236,19 @@ export declare const ticketContract: {
1200
1236
  isRequired: boolean;
1201
1237
  isUnique: boolean;
1202
1238
  }>;
1203
- uploads: z.ZodArray<z.ZodObject<{
1239
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1204
1240
  id: z.ZodString;
1205
1241
  createdAt: z.ZodDate;
1206
1242
  updatedAt: z.ZodDate;
1207
1243
  deletedAt: z.ZodNullable<z.ZodDate>;
1244
+ }, {
1208
1245
  bucketName: z.ZodString;
1209
1246
  fileName: z.ZodString;
1210
1247
  fileSize: z.ZodNumber;
1211
1248
  fileKey: z.ZodString;
1212
1249
  fileUrl: z.ZodNullable<z.ZodString>;
1213
1250
  status: z.ZodNullable<z.ZodString>;
1214
- }, "strip", z.ZodTypeAny, {
1251
+ }>, "strip", z.ZodTypeAny, {
1215
1252
  id: string;
1216
1253
  status: string | null;
1217
1254
  createdAt: Date;
@@ -1954,7 +1991,7 @@ export declare const ticketContract: {
1954
1991
  entity: string;
1955
1992
  };
1956
1993
  }>, "many">;
1957
- }, "strip", z.ZodTypeAny, {
1994
+ }>, "strip", z.ZodTypeAny, {
1958
1995
  type: string;
1959
1996
  id: string;
1960
1997
  channel: string;
@@ -2191,7 +2228,7 @@ export declare const ticketContract: {
2191
2228
  assigneeId: string;
2192
2229
  creatorId: string;
2193
2230
  reasonToAssign: string | null;
2194
- creator?: {
2231
+ assignee?: {
2195
2232
  id: string;
2196
2233
  address: string | null;
2197
2234
  name: string;
@@ -2235,7 +2272,7 @@ export declare const ticketContract: {
2235
2272
  telephonySignature: string | null;
2236
2273
  };
2237
2274
  } | null | undefined;
2238
- assignee?: {
2275
+ creator?: {
2239
2276
  id: string;
2240
2277
  address: string | null;
2241
2278
  name: string;
@@ -2517,7 +2554,7 @@ export declare const ticketContract: {
2517
2554
  assigneeId: string;
2518
2555
  creatorId: string;
2519
2556
  reasonToAssign: string | null;
2520
- creator?: {
2557
+ assignee?: {
2521
2558
  id: string;
2522
2559
  address: string | null;
2523
2560
  name: string;
@@ -2561,7 +2598,7 @@ export declare const ticketContract: {
2561
2598
  telephonySignature: string | null;
2562
2599
  };
2563
2600
  } | null | undefined;
2564
- assignee?: {
2601
+ creator?: {
2565
2602
  id: string;
2566
2603
  address: string | null;
2567
2604
  name: string;
@@ -2607,7 +2644,7 @@ export declare const ticketContract: {
2607
2644
  } | null | undefined;
2608
2645
  ticketNumber?: number | undefined;
2609
2646
  }>;
2610
- }, "strip", z.ZodTypeAny, {
2647
+ }>, "strip", z.ZodTypeAny, {
2611
2648
  data: {
2612
2649
  type: string;
2613
2650
  id: string;
@@ -2845,7 +2882,7 @@ export declare const ticketContract: {
2845
2882
  assigneeId: string;
2846
2883
  creatorId: string;
2847
2884
  reasonToAssign: string | null;
2848
- creator?: {
2885
+ assignee?: {
2849
2886
  id: string;
2850
2887
  address: string | null;
2851
2888
  name: string;
@@ -2889,7 +2926,7 @@ export declare const ticketContract: {
2889
2926
  telephonySignature: string | null;
2890
2927
  };
2891
2928
  } | null | undefined;
2892
- assignee?: {
2929
+ creator?: {
2893
2930
  id: string;
2894
2931
  address: string | null;
2895
2932
  name: string;
@@ -3174,7 +3211,7 @@ export declare const ticketContract: {
3174
3211
  assigneeId: string;
3175
3212
  creatorId: string;
3176
3213
  reasonToAssign: string | null;
3177
- creator?: {
3214
+ assignee?: {
3178
3215
  id: string;
3179
3216
  address: string | null;
3180
3217
  name: string;
@@ -3218,7 +3255,7 @@ export declare const ticketContract: {
3218
3255
  telephonySignature: string | null;
3219
3256
  };
3220
3257
  } | null | undefined;
3221
- assignee?: {
3258
+ creator?: {
3222
3259
  id: string;
3223
3260
  address: string | null;
3224
3261
  name: string;
@@ -3318,23 +3355,6 @@ export declare const ticketContract: {
3318
3355
  error?: any;
3319
3356
  }>;
3320
3357
  };
3321
- path: "ticket-service/ticket";
3322
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3323
- 'x-tenant': z.ZodString;
3324
- authorization: z.ZodString;
3325
- 'x-code': z.ZodOptional<z.ZodString>;
3326
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
3327
- }, "strip", z.ZodTypeAny, {
3328
- 'x-tenant': string;
3329
- authorization: string;
3330
- 'x-client-timezone': string;
3331
- 'x-code'?: string | undefined;
3332
- }, {
3333
- 'x-tenant': string;
3334
- authorization: string;
3335
- 'x-code'?: string | undefined;
3336
- 'x-client-timezone'?: string | undefined;
3337
- }>>>;
3338
3358
  };
3339
3359
  getAllTickets: {
3340
3360
  summary: "Get all tickets";
@@ -3361,64 +3381,83 @@ export declare const ticketContract: {
3361
3381
  value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
3362
3382
  }, "strip", z.ZodTypeAny, {
3363
3383
  type: string;
3364
- value: (string | string[]) & (string | string[] | undefined);
3384
+ value: string | string[];
3365
3385
  attributeId: string;
3366
3386
  }, {
3367
3387
  type: string;
3368
- value: (string | string[]) & (string | string[] | undefined);
3388
+ value: string | string[];
3369
3389
  attributeId: string;
3370
3390
  }>, "many">>;
3371
3391
  }, "strip", z.ZodTypeAny, {
3392
+ type?: string[] | undefined;
3393
+ channel?: string[] | undefined;
3394
+ priority?: string[] | undefined;
3372
3395
  page?: number | undefined;
3373
- pageSize?: number | undefined;
3374
- selectedDate?: string | undefined;
3375
- keyword?: string | undefined;
3376
3396
  title?: string | undefined;
3377
3397
  description?: string | undefined;
3378
3398
  status?: string[] | undefined;
3379
- priority?: string[] | undefined;
3380
- channel?: string[] | undefined;
3381
- type?: string[] | undefined;
3382
- ticketType?: string[] | undefined;
3383
- contact?: string[] | undefined;
3384
- tags?: string[] | undefined;
3399
+ pageSize?: number | undefined;
3385
3400
  categories?: string[] | undefined;
3386
- assignee?: string[] | undefined;
3401
+ contact?: string[] | undefined;
3387
3402
  customFields?: {
3388
3403
  type: string;
3389
- value: (string | string[]) & (string | string[] | undefined);
3404
+ value: string | string[];
3390
3405
  attributeId: string;
3391
3406
  }[] | undefined;
3407
+ tags?: string[] | undefined;
3408
+ assignee?: string[] | undefined;
3409
+ keyword?: string | undefined;
3410
+ selectedDate?: string | undefined;
3411
+ ticketType?: string[] | undefined;
3392
3412
  }, {
3413
+ type?: string[] | undefined;
3414
+ channel?: string[] | undefined;
3415
+ priority?: string[] | undefined;
3393
3416
  page?: string | undefined;
3394
- pageSize?: string | undefined;
3395
- selectedDate?: string | undefined;
3396
- keyword?: string | undefined;
3397
3417
  title?: string | undefined;
3398
3418
  description?: string | undefined;
3399
3419
  status?: string[] | undefined;
3400
- priority?: string[] | undefined;
3401
- channel?: string[] | undefined;
3402
- type?: string[] | undefined;
3403
- ticketType?: string[] | undefined;
3404
- contact?: string[] | undefined;
3405
- tags?: string[] | undefined;
3420
+ pageSize?: string | undefined;
3406
3421
  categories?: string[] | undefined;
3407
- assignee?: string[] | undefined;
3422
+ contact?: string[] | undefined;
3408
3423
  customFields?: {
3409
3424
  type: string;
3410
- value: (string | string[]) & (string | string[] | undefined);
3425
+ value: string | string[];
3411
3426
  attributeId: string;
3412
3427
  }[] | undefined;
3428
+ tags?: string[] | undefined;
3429
+ assignee?: string[] | undefined;
3430
+ keyword?: string | undefined;
3431
+ selectedDate?: string | undefined;
3432
+ ticketType?: string[] | undefined;
3413
3433
  }>;
3434
+ path: "ticket-service/ticket";
3435
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3436
+ 'x-tenant': z.ZodString;
3437
+ authorization: z.ZodString;
3438
+ 'x-code': z.ZodOptional<z.ZodString>;
3439
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
3440
+ }, "strip", z.ZodTypeAny, {
3441
+ 'x-tenant': string;
3442
+ authorization: string;
3443
+ 'x-client-timezone': string;
3444
+ 'x-code'?: string | undefined;
3445
+ }, {
3446
+ 'x-tenant': string;
3447
+ authorization: string;
3448
+ 'x-code'?: string | undefined;
3449
+ 'x-client-timezone'?: string | undefined;
3450
+ }>>>;
3414
3451
  responses: {
3415
- 200: z.ZodObject<{
3452
+ 200: z.ZodObject<z.objectUtil.extendShape<{
3416
3453
  requestId: z.ZodString;
3417
- data: z.ZodObject<{
3418
- total: z.ZodNumber;
3454
+ }, {
3455
+ data: z.ZodObject<z.objectUtil.extendShape<{
3419
3456
  page: z.ZodDefault<z.ZodNumber>;
3420
3457
  pageSize: z.ZodDefault<z.ZodNumber>;
3458
+ total: z.ZodNumber;
3421
3459
  lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3460
+ }, {
3422
3461
  data: z.ZodArray<z.ZodType<{
3423
3462
  type: string;
3424
3463
  id: string;
@@ -3656,7 +3695,7 @@ export declare const ticketContract: {
3656
3695
  assigneeId: string;
3657
3696
  creatorId: string;
3658
3697
  reasonToAssign: string | null;
3659
- creator?: {
3698
+ assignee?: {
3660
3699
  id: string;
3661
3700
  address: string | null;
3662
3701
  name: string;
@@ -3700,7 +3739,7 @@ export declare const ticketContract: {
3700
3739
  telephonySignature: string | null;
3701
3740
  };
3702
3741
  } | null | undefined;
3703
- assignee?: {
3742
+ creator?: {
3704
3743
  id: string;
3705
3744
  address: string | null;
3706
3745
  name: string;
@@ -3982,7 +4021,7 @@ export declare const ticketContract: {
3982
4021
  assigneeId: string;
3983
4022
  creatorId: string;
3984
4023
  reasonToAssign: string | null;
3985
- creator?: {
4024
+ assignee?: {
3986
4025
  id: string;
3987
4026
  address: string | null;
3988
4027
  name: string;
@@ -4026,7 +4065,7 @@ export declare const ticketContract: {
4026
4065
  telephonySignature: string | null;
4027
4066
  };
4028
4067
  } | null | undefined;
4029
- assignee?: {
4068
+ creator?: {
4030
4069
  id: string;
4031
4070
  address: string | null;
4032
4071
  name: string;
@@ -4072,7 +4111,7 @@ export declare const ticketContract: {
4072
4111
  } | null | undefined;
4073
4112
  ticketNumber?: number | undefined;
4074
4113
  }>, "many">;
4075
- }, "strip", z.ZodTypeAny, {
4114
+ }>, "strip", z.ZodTypeAny, {
4076
4115
  data: {
4077
4116
  type: string;
4078
4117
  id: string;
@@ -4310,7 +4349,7 @@ export declare const ticketContract: {
4310
4349
  assigneeId: string;
4311
4350
  creatorId: string;
4312
4351
  reasonToAssign: string | null;
4313
- creator?: {
4352
+ assignee?: {
4314
4353
  id: string;
4315
4354
  address: string | null;
4316
4355
  name: string;
@@ -4354,7 +4393,7 @@ export declare const ticketContract: {
4354
4393
  telephonySignature: string | null;
4355
4394
  };
4356
4395
  } | null | undefined;
4357
- assignee?: {
4396
+ creator?: {
4358
4397
  id: string;
4359
4398
  address: string | null;
4360
4399
  name: string;
@@ -4642,7 +4681,7 @@ export declare const ticketContract: {
4642
4681
  assigneeId: string;
4643
4682
  creatorId: string;
4644
4683
  reasonToAssign: string | null;
4645
- creator?: {
4684
+ assignee?: {
4646
4685
  id: string;
4647
4686
  address: string | null;
4648
4687
  name: string;
@@ -4686,7 +4725,7 @@ export declare const ticketContract: {
4686
4725
  telephonySignature: string | null;
4687
4726
  };
4688
4727
  } | null | undefined;
4689
- assignee?: {
4728
+ creator?: {
4690
4729
  id: string;
4691
4730
  address: string | null;
4692
4731
  name: string;
@@ -4737,7 +4776,7 @@ export declare const ticketContract: {
4737
4776
  pageSize?: number | undefined;
4738
4777
  lastPage?: number | null | undefined;
4739
4778
  }>;
4740
- }, "strip", z.ZodTypeAny, {
4779
+ }>, "strip", z.ZodTypeAny, {
4741
4780
  data: {
4742
4781
  data: {
4743
4782
  type: string;
@@ -4976,7 +5015,7 @@ export declare const ticketContract: {
4976
5015
  assigneeId: string;
4977
5016
  creatorId: string;
4978
5017
  reasonToAssign: string | null;
4979
- creator?: {
5018
+ assignee?: {
4980
5019
  id: string;
4981
5020
  address: string | null;
4982
5021
  name: string;
@@ -5020,7 +5059,7 @@ export declare const ticketContract: {
5020
5059
  telephonySignature: string | null;
5021
5060
  };
5022
5061
  } | null | undefined;
5023
- assignee?: {
5062
+ creator?: {
5024
5063
  id: string;
5025
5064
  address: string | null;
5026
5065
  name: string;
@@ -5311,7 +5350,7 @@ export declare const ticketContract: {
5311
5350
  assigneeId: string;
5312
5351
  creatorId: string;
5313
5352
  reasonToAssign: string | null;
5314
- creator?: {
5353
+ assignee?: {
5315
5354
  id: string;
5316
5355
  address: string | null;
5317
5356
  name: string;
@@ -5355,7 +5394,7 @@ export declare const ticketContract: {
5355
5394
  telephonySignature: string | null;
5356
5395
  };
5357
5396
  } | null | undefined;
5358
- assignee?: {
5397
+ creator?: {
5359
5398
  id: string;
5360
5399
  address: string | null;
5361
5400
  name: string;
@@ -5436,7 +5475,18 @@ export declare const ticketContract: {
5436
5475
  error?: any;
5437
5476
  }>;
5438
5477
  };
5439
- path: "ticket-service/ticket";
5478
+ };
5479
+ getTicketById: {
5480
+ summary: "Get ticket by id";
5481
+ method: "GET";
5482
+ pathParams: z.ZodObject<{
5483
+ id: z.ZodString;
5484
+ }, "strip", z.ZodTypeAny, {
5485
+ id: string;
5486
+ }, {
5487
+ id: string;
5488
+ }>;
5489
+ path: "ticket-service/ticket/:id";
5440
5490
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5441
5491
  'x-tenant': z.ZodString;
5442
5492
  authorization: z.ZodString;
@@ -5453,25 +5503,16 @@ export declare const ticketContract: {
5453
5503
  'x-code'?: string | undefined;
5454
5504
  'x-client-timezone'?: string | undefined;
5455
5505
  }>>>;
5456
- };
5457
- getTicketById: {
5458
- summary: "Get ticket by id";
5459
- method: "GET";
5460
- pathParams: z.ZodObject<{
5461
- id: z.ZodString;
5462
- }, "strip", z.ZodTypeAny, {
5463
- id: string;
5464
- }, {
5465
- id: string;
5466
- }>;
5467
5506
  responses: {
5468
- 200: z.ZodObject<{
5507
+ 200: z.ZodObject<z.objectUtil.extendShape<{
5469
5508
  requestId: z.ZodString;
5470
- data: z.ZodObject<{
5509
+ }, {
5510
+ data: z.ZodObject<z.objectUtil.extendShape<{
5471
5511
  id: z.ZodString;
5472
5512
  createdAt: z.ZodDate;
5473
5513
  updatedAt: z.ZodDate;
5474
5514
  deletedAt: z.ZodNullable<z.ZodDate>;
5515
+ }, {
5475
5516
  title: z.ZodString;
5476
5517
  description: z.ZodNullable<z.ZodString>;
5477
5518
  type: z.ZodString;
@@ -5891,20 +5932,22 @@ export declare const ticketContract: {
5891
5932
  }>>>;
5892
5933
  reasonToAssign: z.ZodNullable<z.ZodString>;
5893
5934
  ticketNumber: z.ZodOptional<z.ZodNumber>;
5894
- customFields: z.ZodArray<z.ZodObject<{
5935
+ customFields: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5895
5936
  id: z.ZodString;
5896
5937
  createdAt: z.ZodDate;
5897
5938
  updatedAt: z.ZodDate;
5898
5939
  deletedAt: z.ZodNullable<z.ZodDate>;
5940
+ }, {
5899
5941
  textValue: z.ZodNullable<z.ZodString>;
5900
5942
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5901
5943
  numberValue: z.ZodNullable<z.ZodNumber>;
5902
5944
  dateValue: z.ZodNullable<z.ZodDate>;
5903
- attribute: z.ZodObject<Omit<{
5945
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5904
5946
  id: z.ZodString;
5905
5947
  createdAt: z.ZodDate;
5906
5948
  updatedAt: z.ZodDate;
5907
5949
  deletedAt: z.ZodNullable<z.ZodDate>;
5950
+ }, {
5908
5951
  systemName: z.ZodString;
5909
5952
  displayName: z.ZodString;
5910
5953
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5913,13 +5956,14 @@ export declare const ticketContract: {
5913
5956
  isArchived: z.ZodBoolean;
5914
5957
  isRequired: z.ZodBoolean;
5915
5958
  isUnique: z.ZodBoolean;
5916
- options: z.ZodArray<z.ZodObject<{
5917
- position: z.ZodNumber;
5918
- value: z.ZodString;
5959
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5919
5960
  label: z.ZodString;
5961
+ value: z.ZodString;
5920
5962
  isDefault: z.ZodBoolean;
5963
+ position: z.ZodNumber;
5964
+ }, {
5921
5965
  id: z.ZodString;
5922
- }, "strip", z.ZodTypeAny, {
5966
+ }>, "strip", z.ZodTypeAny, {
5923
5967
  id: string;
5924
5968
  position: number;
5925
5969
  value: string;
@@ -5932,14 +5976,15 @@ export declare const ticketContract: {
5932
5976
  label: string;
5933
5977
  isDefault: boolean;
5934
5978
  }>, "many">;
5935
- group: z.ZodObject<{
5979
+ group: z.ZodObject<z.objectUtil.extendShape<{
5936
5980
  id: z.ZodString;
5937
5981
  createdAt: z.ZodDate;
5938
5982
  updatedAt: z.ZodDate;
5939
5983
  deletedAt: z.ZodNullable<z.ZodDate>;
5984
+ }, {
5940
5985
  systemName: z.ZodString;
5941
5986
  displayName: z.ZodString;
5942
- }, "strip", z.ZodTypeAny, {
5987
+ }>, "strip", z.ZodTypeAny, {
5943
5988
  id: string;
5944
5989
  createdAt: Date;
5945
5990
  updatedAt: Date;
@@ -5954,7 +5999,7 @@ export declare const ticketContract: {
5954
5999
  systemName: string;
5955
6000
  displayName: string;
5956
6001
  }>;
5957
- }, "options" | "group">, "strip", z.ZodTypeAny, {
6002
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
5958
6003
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5959
6004
  id: string;
5960
6005
  position: number;
@@ -5981,18 +6026,19 @@ export declare const ticketContract: {
5981
6026
  isRequired: boolean;
5982
6027
  isUnique: boolean;
5983
6028
  }>;
5984
- uploads: z.ZodArray<z.ZodObject<{
6029
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5985
6030
  id: z.ZodString;
5986
6031
  createdAt: z.ZodDate;
5987
6032
  updatedAt: z.ZodDate;
5988
6033
  deletedAt: z.ZodNullable<z.ZodDate>;
6034
+ }, {
5989
6035
  bucketName: z.ZodString;
5990
6036
  fileName: z.ZodString;
5991
6037
  fileSize: z.ZodNumber;
5992
6038
  fileKey: z.ZodString;
5993
6039
  fileUrl: z.ZodNullable<z.ZodString>;
5994
6040
  status: z.ZodNullable<z.ZodString>;
5995
- }, "strip", z.ZodTypeAny, {
6041
+ }>, "strip", z.ZodTypeAny, {
5996
6042
  id: string;
5997
6043
  status: string | null;
5998
6044
  createdAt: Date;
@@ -6015,7 +6061,7 @@ export declare const ticketContract: {
6015
6061
  fileSize: number;
6016
6062
  fileUrl: string | null;
6017
6063
  }>, "many">;
6018
- }, "strip", z.ZodTypeAny, {
6064
+ }>, "strip", z.ZodTypeAny, {
6019
6065
  id: string;
6020
6066
  createdAt: Date;
6021
6067
  updatedAt: Date;
@@ -6086,13 +6132,14 @@ export declare const ticketContract: {
6086
6132
  fileUrl: string | null;
6087
6133
  }[];
6088
6134
  }>, "many">;
6089
- tags: z.ZodArray<z.ZodObject<{
6135
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6090
6136
  id: z.ZodString;
6091
6137
  createdAt: z.ZodDate;
6092
6138
  updatedAt: z.ZodDate;
6093
6139
  deletedAt: z.ZodNullable<z.ZodDate>;
6140
+ }, {
6094
6141
  name: z.ZodString;
6095
- }, "strip", z.ZodTypeAny, {
6142
+ }>, "strip", z.ZodTypeAny, {
6096
6143
  id: string;
6097
6144
  name: string;
6098
6145
  createdAt: Date;
@@ -6105,11 +6152,12 @@ export declare const ticketContract: {
6105
6152
  updatedAt: Date;
6106
6153
  deletedAt: Date | null;
6107
6154
  }>, "many">;
6108
- categories: z.ZodArray<z.ZodObject<{
6155
+ categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6109
6156
  id: z.ZodString;
6110
6157
  createdAt: z.ZodDate;
6111
6158
  updatedAt: z.ZodDate;
6112
6159
  deletedAt: z.ZodNullable<z.ZodDate>;
6160
+ }, {
6113
6161
  value: z.ZodString;
6114
6162
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
6115
6163
  parentId: z.ZodNullable<z.ZodString>;
@@ -6162,7 +6210,7 @@ export declare const ticketContract: {
6162
6210
  childCategoryList: any[];
6163
6211
  }[];
6164
6212
  }>, "many">;
6165
- }, "strip", z.ZodTypeAny, {
6213
+ }>, "strip", z.ZodTypeAny, {
6166
6214
  id: string;
6167
6215
  value: string;
6168
6216
  createdAt: Date;
@@ -6216,13 +6264,14 @@ export declare const ticketContract: {
6216
6264
  notes: z.ZodNullable<z.ZodString>;
6217
6265
  contactProfile: z.ZodNullable<z.ZodString>;
6218
6266
  socialProfileUrl: z.ZodNullable<z.ZodString>;
6219
- tags: z.ZodArray<z.ZodObject<{
6267
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6220
6268
  id: z.ZodString;
6221
6269
  createdAt: z.ZodDate;
6222
6270
  updatedAt: z.ZodDate;
6223
6271
  deletedAt: z.ZodNullable<z.ZodDate>;
6272
+ }, {
6224
6273
  name: z.ZodString;
6225
- }, "strip", z.ZodTypeAny, {
6274
+ }>, "strip", z.ZodTypeAny, {
6226
6275
  id: string;
6227
6276
  name: string;
6228
6277
  createdAt: Date;
@@ -6235,29 +6284,32 @@ export declare const ticketContract: {
6235
6284
  updatedAt: Date;
6236
6285
  deletedAt: Date | null;
6237
6286
  }>, "many">;
6238
- company: z.ZodNullable<z.ZodObject<Omit<{
6287
+ company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
6239
6288
  id: z.ZodString;
6240
6289
  createdAt: z.ZodDate;
6241
6290
  updatedAt: z.ZodDate;
6242
6291
  deletedAt: z.ZodNullable<z.ZodDate>;
6292
+ }, {
6243
6293
  name: z.ZodOptional<z.ZodString>;
6244
6294
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6245
6295
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6246
6296
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6247
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
6297
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6248
6298
  id: z.ZodString;
6249
6299
  createdAt: z.ZodDate;
6250
6300
  updatedAt: z.ZodDate;
6251
6301
  deletedAt: z.ZodNullable<z.ZodDate>;
6302
+ }, {
6252
6303
  textValue: z.ZodNullable<z.ZodString>;
6253
6304
  booleanValue: z.ZodNullable<z.ZodBoolean>;
6254
6305
  numberValue: z.ZodNullable<z.ZodNumber>;
6255
6306
  dateValue: z.ZodNullable<z.ZodDate>;
6256
- attribute: z.ZodObject<Omit<{
6307
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
6257
6308
  id: z.ZodString;
6258
6309
  createdAt: z.ZodDate;
6259
6310
  updatedAt: z.ZodDate;
6260
6311
  deletedAt: z.ZodNullable<z.ZodDate>;
6312
+ }, {
6261
6313
  systemName: z.ZodString;
6262
6314
  displayName: z.ZodString;
6263
6315
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -6266,13 +6318,14 @@ export declare const ticketContract: {
6266
6318
  isArchived: z.ZodBoolean;
6267
6319
  isRequired: z.ZodBoolean;
6268
6320
  isUnique: z.ZodBoolean;
6269
- options: z.ZodArray<z.ZodObject<{
6270
- position: z.ZodNumber;
6271
- value: z.ZodString;
6321
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6272
6322
  label: z.ZodString;
6323
+ value: z.ZodString;
6273
6324
  isDefault: z.ZodBoolean;
6325
+ position: z.ZodNumber;
6326
+ }, {
6274
6327
  id: z.ZodString;
6275
- }, "strip", z.ZodTypeAny, {
6328
+ }>, "strip", z.ZodTypeAny, {
6276
6329
  id: string;
6277
6330
  position: number;
6278
6331
  value: string;
@@ -6285,14 +6338,15 @@ export declare const ticketContract: {
6285
6338
  label: string;
6286
6339
  isDefault: boolean;
6287
6340
  }>, "many">;
6288
- group: z.ZodObject<{
6341
+ group: z.ZodObject<z.objectUtil.extendShape<{
6289
6342
  id: z.ZodString;
6290
6343
  createdAt: z.ZodDate;
6291
6344
  updatedAt: z.ZodDate;
6292
6345
  deletedAt: z.ZodNullable<z.ZodDate>;
6346
+ }, {
6293
6347
  systemName: z.ZodString;
6294
6348
  displayName: z.ZodString;
6295
- }, "strip", z.ZodTypeAny, {
6349
+ }>, "strip", z.ZodTypeAny, {
6296
6350
  id: string;
6297
6351
  createdAt: Date;
6298
6352
  updatedAt: Date;
@@ -6307,7 +6361,7 @@ export declare const ticketContract: {
6307
6361
  systemName: string;
6308
6362
  displayName: string;
6309
6363
  }>;
6310
- }, "options" | "group">, "strip", z.ZodTypeAny, {
6364
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
6311
6365
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6312
6366
  id: string;
6313
6367
  position: number;
@@ -6334,7 +6388,7 @@ export declare const ticketContract: {
6334
6388
  isRequired: boolean;
6335
6389
  isUnique: boolean;
6336
6390
  }>;
6337
- }, "strip", z.ZodTypeAny, {
6391
+ }>, "strip", z.ZodTypeAny, {
6338
6392
  id: string;
6339
6393
  createdAt: Date;
6340
6394
  updatedAt: Date;
@@ -6381,7 +6435,7 @@ export declare const ticketContract: {
6381
6435
  numberValue: number | null;
6382
6436
  dateValue: Date | null;
6383
6437
  }>, "many">>;
6384
- }, "customFields">, "strip", z.ZodTypeAny, {
6438
+ }>, "customFields">, "strip", z.ZodTypeAny, {
6385
6439
  id: string;
6386
6440
  createdAt: Date;
6387
6441
  updatedAt: Date;
@@ -6409,11 +6463,12 @@ export declare const ticketContract: {
6409
6463
  booleanValue: z.ZodNullable<z.ZodBoolean>;
6410
6464
  numberValue: z.ZodNullable<z.ZodNumber>;
6411
6465
  dateValue: z.ZodNullable<z.ZodDate>;
6412
- attribute: z.ZodObject<Omit<{
6466
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
6413
6467
  id: z.ZodString;
6414
6468
  createdAt: z.ZodDate;
6415
6469
  updatedAt: z.ZodDate;
6416
6470
  deletedAt: z.ZodNullable<z.ZodDate>;
6471
+ }, {
6417
6472
  systemName: z.ZodString;
6418
6473
  displayName: z.ZodString;
6419
6474
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -6422,13 +6477,14 @@ export declare const ticketContract: {
6422
6477
  isArchived: z.ZodBoolean;
6423
6478
  isRequired: z.ZodBoolean;
6424
6479
  isUnique: z.ZodBoolean;
6425
- options: z.ZodArray<z.ZodObject<{
6426
- position: z.ZodNumber;
6427
- value: z.ZodString;
6480
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6428
6481
  label: z.ZodString;
6482
+ value: z.ZodString;
6429
6483
  isDefault: z.ZodBoolean;
6484
+ position: z.ZodNumber;
6485
+ }, {
6430
6486
  id: z.ZodString;
6431
- }, "strip", z.ZodTypeAny, {
6487
+ }>, "strip", z.ZodTypeAny, {
6432
6488
  id: string;
6433
6489
  position: number;
6434
6490
  value: string;
@@ -6441,14 +6497,15 @@ export declare const ticketContract: {
6441
6497
  label: string;
6442
6498
  isDefault: boolean;
6443
6499
  }>, "many">;
6444
- group: z.ZodObject<{
6500
+ group: z.ZodObject<z.objectUtil.extendShape<{
6445
6501
  id: z.ZodString;
6446
6502
  createdAt: z.ZodDate;
6447
6503
  updatedAt: z.ZodDate;
6448
6504
  deletedAt: z.ZodNullable<z.ZodDate>;
6505
+ }, {
6449
6506
  systemName: z.ZodString;
6450
6507
  displayName: z.ZodString;
6451
- }, "strip", z.ZodTypeAny, {
6508
+ }>, "strip", z.ZodTypeAny, {
6452
6509
  id: string;
6453
6510
  createdAt: Date;
6454
6511
  updatedAt: Date;
@@ -6463,7 +6520,7 @@ export declare const ticketContract: {
6463
6520
  systemName: string;
6464
6521
  displayName: string;
6465
6522
  }>;
6466
- }, "options" | "group">, "strip", z.ZodTypeAny, {
6523
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
6467
6524
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6468
6525
  id: string;
6469
6526
  position: number;
@@ -6490,18 +6547,19 @@ export declare const ticketContract: {
6490
6547
  isRequired: boolean;
6491
6548
  isUnique: boolean;
6492
6549
  }>;
6493
- uploads: z.ZodArray<z.ZodObject<{
6550
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6494
6551
  id: z.ZodString;
6495
6552
  createdAt: z.ZodDate;
6496
6553
  updatedAt: z.ZodDate;
6497
6554
  deletedAt: z.ZodNullable<z.ZodDate>;
6555
+ }, {
6498
6556
  bucketName: z.ZodString;
6499
6557
  fileName: z.ZodString;
6500
6558
  fileSize: z.ZodNumber;
6501
6559
  fileKey: z.ZodString;
6502
6560
  fileUrl: z.ZodNullable<z.ZodString>;
6503
6561
  status: z.ZodNullable<z.ZodString>;
6504
- }, "strip", z.ZodTypeAny, {
6562
+ }>, "strip", z.ZodTypeAny, {
6505
6563
  id: string;
6506
6564
  status: string | null;
6507
6565
  createdAt: Date;
@@ -7244,7 +7302,7 @@ export declare const ticketContract: {
7244
7302
  entity: string;
7245
7303
  };
7246
7304
  }>, "many">;
7247
- }, "strip", z.ZodTypeAny, {
7305
+ }>, "strip", z.ZodTypeAny, {
7248
7306
  type: string;
7249
7307
  id: string;
7250
7308
  channel: string;
@@ -7481,7 +7539,7 @@ export declare const ticketContract: {
7481
7539
  assigneeId: string;
7482
7540
  creatorId: string;
7483
7541
  reasonToAssign: string | null;
7484
- creator?: {
7542
+ assignee?: {
7485
7543
  id: string;
7486
7544
  address: string | null;
7487
7545
  name: string;
@@ -7525,7 +7583,7 @@ export declare const ticketContract: {
7525
7583
  telephonySignature: string | null;
7526
7584
  };
7527
7585
  } | null | undefined;
7528
- assignee?: {
7586
+ creator?: {
7529
7587
  id: string;
7530
7588
  address: string | null;
7531
7589
  name: string;
@@ -7807,7 +7865,7 @@ export declare const ticketContract: {
7807
7865
  assigneeId: string;
7808
7866
  creatorId: string;
7809
7867
  reasonToAssign: string | null;
7810
- creator?: {
7868
+ assignee?: {
7811
7869
  id: string;
7812
7870
  address: string | null;
7813
7871
  name: string;
@@ -7851,7 +7909,7 @@ export declare const ticketContract: {
7851
7909
  telephonySignature: string | null;
7852
7910
  };
7853
7911
  } | null | undefined;
7854
- assignee?: {
7912
+ creator?: {
7855
7913
  id: string;
7856
7914
  address: string | null;
7857
7915
  name: string;
@@ -7897,7 +7955,7 @@ export declare const ticketContract: {
7897
7955
  } | null | undefined;
7898
7956
  ticketNumber?: number | undefined;
7899
7957
  }>;
7900
- }, "strip", z.ZodTypeAny, {
7958
+ }>, "strip", z.ZodTypeAny, {
7901
7959
  data: {
7902
7960
  type: string;
7903
7961
  id: string;
@@ -8135,7 +8193,7 @@ export declare const ticketContract: {
8135
8193
  assigneeId: string;
8136
8194
  creatorId: string;
8137
8195
  reasonToAssign: string | null;
8138
- creator?: {
8196
+ assignee?: {
8139
8197
  id: string;
8140
8198
  address: string | null;
8141
8199
  name: string;
@@ -8179,7 +8237,7 @@ export declare const ticketContract: {
8179
8237
  telephonySignature: string | null;
8180
8238
  };
8181
8239
  } | null | undefined;
8182
- assignee?: {
8240
+ creator?: {
8183
8241
  id: string;
8184
8242
  address: string | null;
8185
8243
  name: string;
@@ -8464,7 +8522,7 @@ export declare const ticketContract: {
8464
8522
  assigneeId: string;
8465
8523
  creatorId: string;
8466
8524
  reasonToAssign: string | null;
8467
- creator?: {
8525
+ assignee?: {
8468
8526
  id: string;
8469
8527
  address: string | null;
8470
8528
  name: string;
@@ -8508,7 +8566,7 @@ export declare const ticketContract: {
8508
8566
  telephonySignature: string | null;
8509
8567
  };
8510
8568
  } | null | undefined;
8511
- assignee?: {
8569
+ creator?: {
8512
8570
  id: string;
8513
8571
  address: string | null;
8514
8572
  name: string;
@@ -8584,23 +8642,6 @@ export declare const ticketContract: {
8584
8642
  error?: any;
8585
8643
  }>;
8586
8644
  };
8587
- path: "ticket-service/ticket/:id";
8588
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8589
- 'x-tenant': z.ZodString;
8590
- authorization: z.ZodString;
8591
- 'x-code': z.ZodOptional<z.ZodString>;
8592
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
8593
- }, "strip", z.ZodTypeAny, {
8594
- 'x-tenant': string;
8595
- authorization: string;
8596
- 'x-client-timezone': string;
8597
- 'x-code'?: string | undefined;
8598
- }, {
8599
- 'x-tenant': string;
8600
- authorization: string;
8601
- 'x-code'?: string | undefined;
8602
- 'x-client-timezone'?: string | undefined;
8603
- }>>>;
8604
8645
  };
8605
8646
  getTicketByContactId: {
8606
8647
  summary: "Get ticket by contact id.";
@@ -8622,14 +8663,33 @@ export declare const ticketContract: {
8622
8663
  page?: number | undefined;
8623
8664
  pageSize?: number | undefined;
8624
8665
  }>;
8666
+ path: "ticket-service/ticket/contact/:id";
8667
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8668
+ 'x-tenant': z.ZodString;
8669
+ authorization: z.ZodString;
8670
+ 'x-code': z.ZodOptional<z.ZodString>;
8671
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
8672
+ }, "strip", z.ZodTypeAny, {
8673
+ 'x-tenant': string;
8674
+ authorization: string;
8675
+ 'x-client-timezone': string;
8676
+ 'x-code'?: string | undefined;
8677
+ }, {
8678
+ 'x-tenant': string;
8679
+ authorization: string;
8680
+ 'x-code'?: string | undefined;
8681
+ 'x-client-timezone'?: string | undefined;
8682
+ }>>>;
8625
8683
  responses: {
8626
- 200: z.ZodObject<{
8684
+ 200: z.ZodObject<z.objectUtil.extendShape<{
8627
8685
  requestId: z.ZodString;
8628
- data: z.ZodObject<{
8629
- total: z.ZodNumber;
8686
+ }, {
8687
+ data: z.ZodObject<z.objectUtil.extendShape<{
8630
8688
  page: z.ZodDefault<z.ZodNumber>;
8631
8689
  pageSize: z.ZodDefault<z.ZodNumber>;
8690
+ total: z.ZodNumber;
8632
8691
  lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
8692
+ }, {
8633
8693
  data: z.ZodArray<z.ZodType<{
8634
8694
  type: string;
8635
8695
  id: string;
@@ -8867,7 +8927,7 @@ export declare const ticketContract: {
8867
8927
  assigneeId: string;
8868
8928
  creatorId: string;
8869
8929
  reasonToAssign: string | null;
8870
- creator?: {
8930
+ assignee?: {
8871
8931
  id: string;
8872
8932
  address: string | null;
8873
8933
  name: string;
@@ -8911,7 +8971,7 @@ export declare const ticketContract: {
8911
8971
  telephonySignature: string | null;
8912
8972
  };
8913
8973
  } | null | undefined;
8914
- assignee?: {
8974
+ creator?: {
8915
8975
  id: string;
8916
8976
  address: string | null;
8917
8977
  name: string;
@@ -9193,7 +9253,7 @@ export declare const ticketContract: {
9193
9253
  assigneeId: string;
9194
9254
  creatorId: string;
9195
9255
  reasonToAssign: string | null;
9196
- creator?: {
9256
+ assignee?: {
9197
9257
  id: string;
9198
9258
  address: string | null;
9199
9259
  name: string;
@@ -9237,7 +9297,7 @@ export declare const ticketContract: {
9237
9297
  telephonySignature: string | null;
9238
9298
  };
9239
9299
  } | null | undefined;
9240
- assignee?: {
9300
+ creator?: {
9241
9301
  id: string;
9242
9302
  address: string | null;
9243
9303
  name: string;
@@ -9283,7 +9343,7 @@ export declare const ticketContract: {
9283
9343
  } | null | undefined;
9284
9344
  ticketNumber?: number | undefined;
9285
9345
  }>, "many">;
9286
- }, "strip", z.ZodTypeAny, {
9346
+ }>, "strip", z.ZodTypeAny, {
9287
9347
  data: {
9288
9348
  type: string;
9289
9349
  id: string;
@@ -9521,7 +9581,7 @@ export declare const ticketContract: {
9521
9581
  assigneeId: string;
9522
9582
  creatorId: string;
9523
9583
  reasonToAssign: string | null;
9524
- creator?: {
9584
+ assignee?: {
9525
9585
  id: string;
9526
9586
  address: string | null;
9527
9587
  name: string;
@@ -9565,7 +9625,7 @@ export declare const ticketContract: {
9565
9625
  telephonySignature: string | null;
9566
9626
  };
9567
9627
  } | null | undefined;
9568
- assignee?: {
9628
+ creator?: {
9569
9629
  id: string;
9570
9630
  address: string | null;
9571
9631
  name: string;
@@ -9853,7 +9913,7 @@ export declare const ticketContract: {
9853
9913
  assigneeId: string;
9854
9914
  creatorId: string;
9855
9915
  reasonToAssign: string | null;
9856
- creator?: {
9916
+ assignee?: {
9857
9917
  id: string;
9858
9918
  address: string | null;
9859
9919
  name: string;
@@ -9897,7 +9957,7 @@ export declare const ticketContract: {
9897
9957
  telephonySignature: string | null;
9898
9958
  };
9899
9959
  } | null | undefined;
9900
- assignee?: {
9960
+ creator?: {
9901
9961
  id: string;
9902
9962
  address: string | null;
9903
9963
  name: string;
@@ -9948,7 +10008,7 @@ export declare const ticketContract: {
9948
10008
  pageSize?: number | undefined;
9949
10009
  lastPage?: number | null | undefined;
9950
10010
  }>;
9951
- }, "strip", z.ZodTypeAny, {
10011
+ }>, "strip", z.ZodTypeAny, {
9952
10012
  data: {
9953
10013
  data: {
9954
10014
  type: string;
@@ -10187,7 +10247,7 @@ export declare const ticketContract: {
10187
10247
  assigneeId: string;
10188
10248
  creatorId: string;
10189
10249
  reasonToAssign: string | null;
10190
- creator?: {
10250
+ assignee?: {
10191
10251
  id: string;
10192
10252
  address: string | null;
10193
10253
  name: string;
@@ -10231,7 +10291,7 @@ export declare const ticketContract: {
10231
10291
  telephonySignature: string | null;
10232
10292
  };
10233
10293
  } | null | undefined;
10234
- assignee?: {
10294
+ creator?: {
10235
10295
  id: string;
10236
10296
  address: string | null;
10237
10297
  name: string;
@@ -10522,7 +10582,7 @@ export declare const ticketContract: {
10522
10582
  assigneeId: string;
10523
10583
  creatorId: string;
10524
10584
  reasonToAssign: string | null;
10525
- creator?: {
10585
+ assignee?: {
10526
10586
  id: string;
10527
10587
  address: string | null;
10528
10588
  name: string;
@@ -10566,7 +10626,7 @@ export declare const ticketContract: {
10566
10626
  telephonySignature: string | null;
10567
10627
  };
10568
10628
  } | null | undefined;
10569
- assignee?: {
10629
+ creator?: {
10570
10630
  id: string;
10571
10631
  address: string | null;
10572
10632
  name: string;
@@ -10647,23 +10707,6 @@ export declare const ticketContract: {
10647
10707
  error?: any;
10648
10708
  }>;
10649
10709
  };
10650
- path: "ticket-service/ticket/contact/:id";
10651
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10652
- 'x-tenant': z.ZodString;
10653
- authorization: z.ZodString;
10654
- 'x-code': z.ZodOptional<z.ZodString>;
10655
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
10656
- }, "strip", z.ZodTypeAny, {
10657
- 'x-tenant': string;
10658
- authorization: string;
10659
- 'x-client-timezone': string;
10660
- 'x-code'?: string | undefined;
10661
- }, {
10662
- 'x-tenant': string;
10663
- authorization: string;
10664
- 'x-code'?: string | undefined;
10665
- 'x-client-timezone'?: string | undefined;
10666
- }>>>;
10667
10710
  };
10668
10711
  updateTicket: {
10669
10712
  body: z.ZodObject<{
@@ -10720,11 +10763,12 @@ export declare const ticketContract: {
10720
10763
  }, {
10721
10764
  [x: string]: any;
10722
10765
  }>;
10723
- categories: z.ZodObject<{
10766
+ categories: z.ZodObject<z.objectUtil.extendShape<{
10724
10767
  isRequired: z.ZodBoolean;
10725
10768
  attributeId: z.ZodString;
10769
+ }, {
10726
10770
  value: z.ZodArray<z.ZodString, "many">;
10727
- }, "strip", z.ZodTypeAny, {
10771
+ }>, "strip", z.ZodTypeAny, {
10728
10772
  value: string[];
10729
10773
  isRequired: boolean;
10730
10774
  attributeId: string;
@@ -10837,14 +10881,33 @@ export declare const ticketContract: {
10837
10881
  }, {
10838
10882
  id: string;
10839
10883
  }>;
10884
+ path: "ticket-service/ticket/:id";
10885
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10886
+ 'x-tenant': z.ZodString;
10887
+ authorization: z.ZodString;
10888
+ 'x-code': z.ZodOptional<z.ZodString>;
10889
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
10890
+ }, "strip", z.ZodTypeAny, {
10891
+ 'x-tenant': string;
10892
+ authorization: string;
10893
+ 'x-client-timezone': string;
10894
+ 'x-code'?: string | undefined;
10895
+ }, {
10896
+ 'x-tenant': string;
10897
+ authorization: string;
10898
+ 'x-code'?: string | undefined;
10899
+ 'x-client-timezone'?: string | undefined;
10900
+ }>>>;
10840
10901
  responses: {
10841
- 201: z.ZodObject<{
10902
+ 201: z.ZodObject<z.objectUtil.extendShape<{
10842
10903
  requestId: z.ZodString;
10843
- data: z.ZodObject<{
10904
+ }, {
10905
+ data: z.ZodObject<z.objectUtil.extendShape<{
10844
10906
  id: z.ZodString;
10845
10907
  createdAt: z.ZodDate;
10846
10908
  updatedAt: z.ZodDate;
10847
10909
  deletedAt: z.ZodNullable<z.ZodDate>;
10910
+ }, {
10848
10911
  title: z.ZodString;
10849
10912
  description: z.ZodNullable<z.ZodString>;
10850
10913
  type: z.ZodString;
@@ -11264,20 +11327,22 @@ export declare const ticketContract: {
11264
11327
  }>>>;
11265
11328
  reasonToAssign: z.ZodNullable<z.ZodString>;
11266
11329
  ticketNumber: z.ZodOptional<z.ZodNumber>;
11267
- customFields: z.ZodArray<z.ZodObject<{
11330
+ customFields: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
11268
11331
  id: z.ZodString;
11269
11332
  createdAt: z.ZodDate;
11270
11333
  updatedAt: z.ZodDate;
11271
11334
  deletedAt: z.ZodNullable<z.ZodDate>;
11335
+ }, {
11272
11336
  textValue: z.ZodNullable<z.ZodString>;
11273
11337
  booleanValue: z.ZodNullable<z.ZodBoolean>;
11274
11338
  numberValue: z.ZodNullable<z.ZodNumber>;
11275
11339
  dateValue: z.ZodNullable<z.ZodDate>;
11276
- attribute: z.ZodObject<Omit<{
11340
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
11277
11341
  id: z.ZodString;
11278
11342
  createdAt: z.ZodDate;
11279
11343
  updatedAt: z.ZodDate;
11280
11344
  deletedAt: z.ZodNullable<z.ZodDate>;
11345
+ }, {
11281
11346
  systemName: z.ZodString;
11282
11347
  displayName: z.ZodString;
11283
11348
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -11286,13 +11351,14 @@ export declare const ticketContract: {
11286
11351
  isArchived: z.ZodBoolean;
11287
11352
  isRequired: z.ZodBoolean;
11288
11353
  isUnique: z.ZodBoolean;
11289
- options: z.ZodArray<z.ZodObject<{
11290
- position: z.ZodNumber;
11291
- value: z.ZodString;
11354
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
11292
11355
  label: z.ZodString;
11356
+ value: z.ZodString;
11293
11357
  isDefault: z.ZodBoolean;
11358
+ position: z.ZodNumber;
11359
+ }, {
11294
11360
  id: z.ZodString;
11295
- }, "strip", z.ZodTypeAny, {
11361
+ }>, "strip", z.ZodTypeAny, {
11296
11362
  id: string;
11297
11363
  position: number;
11298
11364
  value: string;
@@ -11305,14 +11371,15 @@ export declare const ticketContract: {
11305
11371
  label: string;
11306
11372
  isDefault: boolean;
11307
11373
  }>, "many">;
11308
- group: z.ZodObject<{
11374
+ group: z.ZodObject<z.objectUtil.extendShape<{
11309
11375
  id: z.ZodString;
11310
11376
  createdAt: z.ZodDate;
11311
11377
  updatedAt: z.ZodDate;
11312
11378
  deletedAt: z.ZodNullable<z.ZodDate>;
11379
+ }, {
11313
11380
  systemName: z.ZodString;
11314
11381
  displayName: z.ZodString;
11315
- }, "strip", z.ZodTypeAny, {
11382
+ }>, "strip", z.ZodTypeAny, {
11316
11383
  id: string;
11317
11384
  createdAt: Date;
11318
11385
  updatedAt: Date;
@@ -11327,7 +11394,7 @@ export declare const ticketContract: {
11327
11394
  systemName: string;
11328
11395
  displayName: string;
11329
11396
  }>;
11330
- }, "options" | "group">, "strip", z.ZodTypeAny, {
11397
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
11331
11398
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
11332
11399
  id: string;
11333
11400
  position: number;
@@ -11354,18 +11421,19 @@ export declare const ticketContract: {
11354
11421
  isRequired: boolean;
11355
11422
  isUnique: boolean;
11356
11423
  }>;
11357
- uploads: z.ZodArray<z.ZodObject<{
11424
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
11358
11425
  id: z.ZodString;
11359
11426
  createdAt: z.ZodDate;
11360
11427
  updatedAt: z.ZodDate;
11361
11428
  deletedAt: z.ZodNullable<z.ZodDate>;
11429
+ }, {
11362
11430
  bucketName: z.ZodString;
11363
11431
  fileName: z.ZodString;
11364
11432
  fileSize: z.ZodNumber;
11365
11433
  fileKey: z.ZodString;
11366
11434
  fileUrl: z.ZodNullable<z.ZodString>;
11367
11435
  status: z.ZodNullable<z.ZodString>;
11368
- }, "strip", z.ZodTypeAny, {
11436
+ }>, "strip", z.ZodTypeAny, {
11369
11437
  id: string;
11370
11438
  status: string | null;
11371
11439
  createdAt: Date;
@@ -11388,7 +11456,7 @@ export declare const ticketContract: {
11388
11456
  fileSize: number;
11389
11457
  fileUrl: string | null;
11390
11458
  }>, "many">;
11391
- }, "strip", z.ZodTypeAny, {
11459
+ }>, "strip", z.ZodTypeAny, {
11392
11460
  id: string;
11393
11461
  createdAt: Date;
11394
11462
  updatedAt: Date;
@@ -11459,13 +11527,14 @@ export declare const ticketContract: {
11459
11527
  fileUrl: string | null;
11460
11528
  }[];
11461
11529
  }>, "many">;
11462
- tags: z.ZodArray<z.ZodObject<{
11530
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
11463
11531
  id: z.ZodString;
11464
11532
  createdAt: z.ZodDate;
11465
11533
  updatedAt: z.ZodDate;
11466
11534
  deletedAt: z.ZodNullable<z.ZodDate>;
11535
+ }, {
11467
11536
  name: z.ZodString;
11468
- }, "strip", z.ZodTypeAny, {
11537
+ }>, "strip", z.ZodTypeAny, {
11469
11538
  id: string;
11470
11539
  name: string;
11471
11540
  createdAt: Date;
@@ -11478,11 +11547,12 @@ export declare const ticketContract: {
11478
11547
  updatedAt: Date;
11479
11548
  deletedAt: Date | null;
11480
11549
  }>, "many">;
11481
- categories: z.ZodArray<z.ZodObject<{
11550
+ categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
11482
11551
  id: z.ZodString;
11483
11552
  createdAt: z.ZodDate;
11484
11553
  updatedAt: z.ZodDate;
11485
11554
  deletedAt: z.ZodNullable<z.ZodDate>;
11555
+ }, {
11486
11556
  value: z.ZodString;
11487
11557
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
11488
11558
  parentId: z.ZodNullable<z.ZodString>;
@@ -11535,7 +11605,7 @@ export declare const ticketContract: {
11535
11605
  childCategoryList: any[];
11536
11606
  }[];
11537
11607
  }>, "many">;
11538
- }, "strip", z.ZodTypeAny, {
11608
+ }>, "strip", z.ZodTypeAny, {
11539
11609
  id: string;
11540
11610
  value: string;
11541
11611
  createdAt: Date;
@@ -11589,13 +11659,14 @@ export declare const ticketContract: {
11589
11659
  notes: z.ZodNullable<z.ZodString>;
11590
11660
  contactProfile: z.ZodNullable<z.ZodString>;
11591
11661
  socialProfileUrl: z.ZodNullable<z.ZodString>;
11592
- tags: z.ZodArray<z.ZodObject<{
11662
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
11593
11663
  id: z.ZodString;
11594
11664
  createdAt: z.ZodDate;
11595
11665
  updatedAt: z.ZodDate;
11596
11666
  deletedAt: z.ZodNullable<z.ZodDate>;
11667
+ }, {
11597
11668
  name: z.ZodString;
11598
- }, "strip", z.ZodTypeAny, {
11669
+ }>, "strip", z.ZodTypeAny, {
11599
11670
  id: string;
11600
11671
  name: string;
11601
11672
  createdAt: Date;
@@ -11608,29 +11679,32 @@ export declare const ticketContract: {
11608
11679
  updatedAt: Date;
11609
11680
  deletedAt: Date | null;
11610
11681
  }>, "many">;
11611
- company: z.ZodNullable<z.ZodObject<Omit<{
11682
+ company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
11612
11683
  id: z.ZodString;
11613
11684
  createdAt: z.ZodDate;
11614
11685
  updatedAt: z.ZodDate;
11615
11686
  deletedAt: z.ZodNullable<z.ZodDate>;
11687
+ }, {
11616
11688
  name: z.ZodOptional<z.ZodString>;
11617
11689
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11618
11690
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11619
11691
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11620
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
11692
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
11621
11693
  id: z.ZodString;
11622
11694
  createdAt: z.ZodDate;
11623
11695
  updatedAt: z.ZodDate;
11624
11696
  deletedAt: z.ZodNullable<z.ZodDate>;
11697
+ }, {
11625
11698
  textValue: z.ZodNullable<z.ZodString>;
11626
11699
  booleanValue: z.ZodNullable<z.ZodBoolean>;
11627
11700
  numberValue: z.ZodNullable<z.ZodNumber>;
11628
11701
  dateValue: z.ZodNullable<z.ZodDate>;
11629
- attribute: z.ZodObject<Omit<{
11702
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
11630
11703
  id: z.ZodString;
11631
11704
  createdAt: z.ZodDate;
11632
11705
  updatedAt: z.ZodDate;
11633
11706
  deletedAt: z.ZodNullable<z.ZodDate>;
11707
+ }, {
11634
11708
  systemName: z.ZodString;
11635
11709
  displayName: z.ZodString;
11636
11710
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -11639,13 +11713,14 @@ export declare const ticketContract: {
11639
11713
  isArchived: z.ZodBoolean;
11640
11714
  isRequired: z.ZodBoolean;
11641
11715
  isUnique: z.ZodBoolean;
11642
- options: z.ZodArray<z.ZodObject<{
11643
- position: z.ZodNumber;
11644
- value: z.ZodString;
11716
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
11645
11717
  label: z.ZodString;
11718
+ value: z.ZodString;
11646
11719
  isDefault: z.ZodBoolean;
11720
+ position: z.ZodNumber;
11721
+ }, {
11647
11722
  id: z.ZodString;
11648
- }, "strip", z.ZodTypeAny, {
11723
+ }>, "strip", z.ZodTypeAny, {
11649
11724
  id: string;
11650
11725
  position: number;
11651
11726
  value: string;
@@ -11658,14 +11733,15 @@ export declare const ticketContract: {
11658
11733
  label: string;
11659
11734
  isDefault: boolean;
11660
11735
  }>, "many">;
11661
- group: z.ZodObject<{
11736
+ group: z.ZodObject<z.objectUtil.extendShape<{
11662
11737
  id: z.ZodString;
11663
11738
  createdAt: z.ZodDate;
11664
11739
  updatedAt: z.ZodDate;
11665
11740
  deletedAt: z.ZodNullable<z.ZodDate>;
11741
+ }, {
11666
11742
  systemName: z.ZodString;
11667
11743
  displayName: z.ZodString;
11668
- }, "strip", z.ZodTypeAny, {
11744
+ }>, "strip", z.ZodTypeAny, {
11669
11745
  id: string;
11670
11746
  createdAt: Date;
11671
11747
  updatedAt: Date;
@@ -11680,7 +11756,7 @@ export declare const ticketContract: {
11680
11756
  systemName: string;
11681
11757
  displayName: string;
11682
11758
  }>;
11683
- }, "options" | "group">, "strip", z.ZodTypeAny, {
11759
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
11684
11760
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
11685
11761
  id: string;
11686
11762
  position: number;
@@ -11707,7 +11783,7 @@ export declare const ticketContract: {
11707
11783
  isRequired: boolean;
11708
11784
  isUnique: boolean;
11709
11785
  }>;
11710
- }, "strip", z.ZodTypeAny, {
11786
+ }>, "strip", z.ZodTypeAny, {
11711
11787
  id: string;
11712
11788
  createdAt: Date;
11713
11789
  updatedAt: Date;
@@ -11754,7 +11830,7 @@ export declare const ticketContract: {
11754
11830
  numberValue: number | null;
11755
11831
  dateValue: Date | null;
11756
11832
  }>, "many">>;
11757
- }, "customFields">, "strip", z.ZodTypeAny, {
11833
+ }>, "customFields">, "strip", z.ZodTypeAny, {
11758
11834
  id: string;
11759
11835
  createdAt: Date;
11760
11836
  updatedAt: Date;
@@ -11782,11 +11858,12 @@ export declare const ticketContract: {
11782
11858
  booleanValue: z.ZodNullable<z.ZodBoolean>;
11783
11859
  numberValue: z.ZodNullable<z.ZodNumber>;
11784
11860
  dateValue: z.ZodNullable<z.ZodDate>;
11785
- attribute: z.ZodObject<Omit<{
11861
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
11786
11862
  id: z.ZodString;
11787
11863
  createdAt: z.ZodDate;
11788
11864
  updatedAt: z.ZodDate;
11789
11865
  deletedAt: z.ZodNullable<z.ZodDate>;
11866
+ }, {
11790
11867
  systemName: z.ZodString;
11791
11868
  displayName: z.ZodString;
11792
11869
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -11795,13 +11872,14 @@ export declare const ticketContract: {
11795
11872
  isArchived: z.ZodBoolean;
11796
11873
  isRequired: z.ZodBoolean;
11797
11874
  isUnique: z.ZodBoolean;
11798
- options: z.ZodArray<z.ZodObject<{
11799
- position: z.ZodNumber;
11800
- value: z.ZodString;
11875
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
11801
11876
  label: z.ZodString;
11877
+ value: z.ZodString;
11802
11878
  isDefault: z.ZodBoolean;
11879
+ position: z.ZodNumber;
11880
+ }, {
11803
11881
  id: z.ZodString;
11804
- }, "strip", z.ZodTypeAny, {
11882
+ }>, "strip", z.ZodTypeAny, {
11805
11883
  id: string;
11806
11884
  position: number;
11807
11885
  value: string;
@@ -11814,14 +11892,15 @@ export declare const ticketContract: {
11814
11892
  label: string;
11815
11893
  isDefault: boolean;
11816
11894
  }>, "many">;
11817
- group: z.ZodObject<{
11895
+ group: z.ZodObject<z.objectUtil.extendShape<{
11818
11896
  id: z.ZodString;
11819
11897
  createdAt: z.ZodDate;
11820
11898
  updatedAt: z.ZodDate;
11821
11899
  deletedAt: z.ZodNullable<z.ZodDate>;
11900
+ }, {
11822
11901
  systemName: z.ZodString;
11823
11902
  displayName: z.ZodString;
11824
- }, "strip", z.ZodTypeAny, {
11903
+ }>, "strip", z.ZodTypeAny, {
11825
11904
  id: string;
11826
11905
  createdAt: Date;
11827
11906
  updatedAt: Date;
@@ -11836,7 +11915,7 @@ export declare const ticketContract: {
11836
11915
  systemName: string;
11837
11916
  displayName: string;
11838
11917
  }>;
11839
- }, "options" | "group">, "strip", z.ZodTypeAny, {
11918
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
11840
11919
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
11841
11920
  id: string;
11842
11921
  position: number;
@@ -11863,18 +11942,19 @@ export declare const ticketContract: {
11863
11942
  isRequired: boolean;
11864
11943
  isUnique: boolean;
11865
11944
  }>;
11866
- uploads: z.ZodArray<z.ZodObject<{
11945
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
11867
11946
  id: z.ZodString;
11868
11947
  createdAt: z.ZodDate;
11869
11948
  updatedAt: z.ZodDate;
11870
11949
  deletedAt: z.ZodNullable<z.ZodDate>;
11950
+ }, {
11871
11951
  bucketName: z.ZodString;
11872
11952
  fileName: z.ZodString;
11873
11953
  fileSize: z.ZodNumber;
11874
11954
  fileKey: z.ZodString;
11875
11955
  fileUrl: z.ZodNullable<z.ZodString>;
11876
11956
  status: z.ZodNullable<z.ZodString>;
11877
- }, "strip", z.ZodTypeAny, {
11957
+ }>, "strip", z.ZodTypeAny, {
11878
11958
  id: string;
11879
11959
  status: string | null;
11880
11960
  createdAt: Date;
@@ -12617,7 +12697,7 @@ export declare const ticketContract: {
12617
12697
  entity: string;
12618
12698
  };
12619
12699
  }>, "many">;
12620
- }, "strip", z.ZodTypeAny, {
12700
+ }>, "strip", z.ZodTypeAny, {
12621
12701
  type: string;
12622
12702
  id: string;
12623
12703
  channel: string;
@@ -12854,7 +12934,7 @@ export declare const ticketContract: {
12854
12934
  assigneeId: string;
12855
12935
  creatorId: string;
12856
12936
  reasonToAssign: string | null;
12857
- creator?: {
12937
+ assignee?: {
12858
12938
  id: string;
12859
12939
  address: string | null;
12860
12940
  name: string;
@@ -12898,7 +12978,7 @@ export declare const ticketContract: {
12898
12978
  telephonySignature: string | null;
12899
12979
  };
12900
12980
  } | null | undefined;
12901
- assignee?: {
12981
+ creator?: {
12902
12982
  id: string;
12903
12983
  address: string | null;
12904
12984
  name: string;
@@ -13180,7 +13260,7 @@ export declare const ticketContract: {
13180
13260
  assigneeId: string;
13181
13261
  creatorId: string;
13182
13262
  reasonToAssign: string | null;
13183
- creator?: {
13263
+ assignee?: {
13184
13264
  id: string;
13185
13265
  address: string | null;
13186
13266
  name: string;
@@ -13224,7 +13304,7 @@ export declare const ticketContract: {
13224
13304
  telephonySignature: string | null;
13225
13305
  };
13226
13306
  } | null | undefined;
13227
- assignee?: {
13307
+ creator?: {
13228
13308
  id: string;
13229
13309
  address: string | null;
13230
13310
  name: string;
@@ -13270,7 +13350,7 @@ export declare const ticketContract: {
13270
13350
  } | null | undefined;
13271
13351
  ticketNumber?: number | undefined;
13272
13352
  }>;
13273
- }, "strip", z.ZodTypeAny, {
13353
+ }>, "strip", z.ZodTypeAny, {
13274
13354
  data: {
13275
13355
  type: string;
13276
13356
  id: string;
@@ -13508,7 +13588,7 @@ export declare const ticketContract: {
13508
13588
  assigneeId: string;
13509
13589
  creatorId: string;
13510
13590
  reasonToAssign: string | null;
13511
- creator?: {
13591
+ assignee?: {
13512
13592
  id: string;
13513
13593
  address: string | null;
13514
13594
  name: string;
@@ -13552,7 +13632,7 @@ export declare const ticketContract: {
13552
13632
  telephonySignature: string | null;
13553
13633
  };
13554
13634
  } | null | undefined;
13555
- assignee?: {
13635
+ creator?: {
13556
13636
  id: string;
13557
13637
  address: string | null;
13558
13638
  name: string;
@@ -13837,7 +13917,7 @@ export declare const ticketContract: {
13837
13917
  assigneeId: string;
13838
13918
  creatorId: string;
13839
13919
  reasonToAssign: string | null;
13840
- creator?: {
13920
+ assignee?: {
13841
13921
  id: string;
13842
13922
  address: string | null;
13843
13923
  name: string;
@@ -13881,7 +13961,7 @@ export declare const ticketContract: {
13881
13961
  telephonySignature: string | null;
13882
13962
  };
13883
13963
  } | null | undefined;
13884
- assignee?: {
13964
+ creator?: {
13885
13965
  id: string;
13886
13966
  address: string | null;
13887
13967
  name: string;
@@ -13981,6 +14061,18 @@ export declare const ticketContract: {
13981
14061
  error?: any;
13982
14062
  }>;
13983
14063
  };
14064
+ };
14065
+ deleteTicket: {
14066
+ body: null;
14067
+ summary: "Delete a extension.";
14068
+ method: "DELETE";
14069
+ pathParams: z.ZodObject<{
14070
+ id: z.ZodString;
14071
+ }, "strip", z.ZodTypeAny, {
14072
+ id: string;
14073
+ }, {
14074
+ id: string;
14075
+ }>;
13984
14076
  path: "ticket-service/ticket/:id";
13985
14077
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
13986
14078
  'x-tenant': z.ZodString;
@@ -13998,23 +14090,12 @@ export declare const ticketContract: {
13998
14090
  'x-code'?: string | undefined;
13999
14091
  'x-client-timezone'?: string | undefined;
14000
14092
  }>>>;
14001
- };
14002
- deleteTicket: {
14003
- body: null;
14004
- summary: "Delete a extension.";
14005
- method: "DELETE";
14006
- pathParams: z.ZodObject<{
14007
- id: z.ZodString;
14008
- }, "strip", z.ZodTypeAny, {
14009
- id: string;
14010
- }, {
14011
- id: string;
14012
- }>;
14013
14093
  responses: {
14014
- 200: z.ZodObject<{
14094
+ 200: z.ZodObject<z.objectUtil.extendShape<{
14015
14095
  requestId: z.ZodString;
14096
+ }, {
14016
14097
  message: z.ZodString;
14017
- }, "strip", z.ZodTypeAny, {
14098
+ }>, "strip", z.ZodTypeAny, {
14018
14099
  message: string;
14019
14100
  requestId: string;
14020
14101
  }, {
@@ -14032,23 +14113,6 @@ export declare const ticketContract: {
14032
14113
  error?: any;
14033
14114
  }>;
14034
14115
  };
14035
- path: "ticket-service/ticket/:id";
14036
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14037
- 'x-tenant': z.ZodString;
14038
- authorization: z.ZodString;
14039
- 'x-code': z.ZodOptional<z.ZodString>;
14040
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
14041
- }, "strip", z.ZodTypeAny, {
14042
- 'x-tenant': string;
14043
- authorization: string;
14044
- 'x-client-timezone': string;
14045
- 'x-code'?: string | undefined;
14046
- }, {
14047
- 'x-tenant': string;
14048
- authorization: string;
14049
- 'x-code'?: string | undefined;
14050
- 'x-client-timezone'?: string | undefined;
14051
- }>>>;
14052
14116
  };
14053
14117
  updateDescription: {
14054
14118
  body: z.ZodObject<{
@@ -14067,11 +14131,29 @@ export declare const ticketContract: {
14067
14131
  }, {
14068
14132
  id: string;
14069
14133
  }>;
14134
+ path: "ticket-service/ticket/description/update/:id";
14135
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14136
+ 'x-tenant': z.ZodString;
14137
+ authorization: z.ZodString;
14138
+ 'x-code': z.ZodOptional<z.ZodString>;
14139
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
14140
+ }, "strip", z.ZodTypeAny, {
14141
+ 'x-tenant': string;
14142
+ authorization: string;
14143
+ 'x-client-timezone': string;
14144
+ 'x-code'?: string | undefined;
14145
+ }, {
14146
+ 'x-tenant': string;
14147
+ authorization: string;
14148
+ 'x-code'?: string | undefined;
14149
+ 'x-client-timezone'?: string | undefined;
14150
+ }>>>;
14070
14151
  responses: {
14071
- 201: z.ZodObject<{
14152
+ 201: z.ZodObject<z.objectUtil.extendShape<{
14072
14153
  requestId: z.ZodString;
14154
+ }, {
14073
14155
  message: z.ZodString;
14074
- }, "strip", z.ZodTypeAny, {
14156
+ }>, "strip", z.ZodTypeAny, {
14075
14157
  message: string;
14076
14158
  requestId: string;
14077
14159
  }, {
@@ -14130,23 +14212,6 @@ export declare const ticketContract: {
14130
14212
  error?: any;
14131
14213
  }>;
14132
14214
  };
14133
- path: "ticket-service/ticket/description/update/:id";
14134
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14135
- 'x-tenant': z.ZodString;
14136
- authorization: z.ZodString;
14137
- 'x-code': z.ZodOptional<z.ZodString>;
14138
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
14139
- }, "strip", z.ZodTypeAny, {
14140
- 'x-tenant': string;
14141
- authorization: string;
14142
- 'x-client-timezone': string;
14143
- 'x-code'?: string | undefined;
14144
- }, {
14145
- 'x-tenant': string;
14146
- authorization: string;
14147
- 'x-code'?: string | undefined;
14148
- 'x-client-timezone'?: string | undefined;
14149
- }>>>;
14150
14215
  };
14151
14216
  updateTitle: {
14152
14217
  body: z.ZodObject<{
@@ -14165,11 +14230,29 @@ export declare const ticketContract: {
14165
14230
  }, {
14166
14231
  id: string;
14167
14232
  }>;
14168
- responses: {
14169
- 200: z.ZodObject<{
14233
+ path: "ticket-service/ticket/title/update/:id";
14234
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14235
+ 'x-tenant': z.ZodString;
14236
+ authorization: z.ZodString;
14237
+ 'x-code': z.ZodOptional<z.ZodString>;
14238
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
14239
+ }, "strip", z.ZodTypeAny, {
14240
+ 'x-tenant': string;
14241
+ authorization: string;
14242
+ 'x-client-timezone': string;
14243
+ 'x-code'?: string | undefined;
14244
+ }, {
14245
+ 'x-tenant': string;
14246
+ authorization: string;
14247
+ 'x-code'?: string | undefined;
14248
+ 'x-client-timezone'?: string | undefined;
14249
+ }>>>;
14250
+ responses: {
14251
+ 200: z.ZodObject<z.objectUtil.extendShape<{
14170
14252
  requestId: z.ZodString;
14253
+ }, {
14171
14254
  message: z.ZodString;
14172
- }, "strip", z.ZodTypeAny, {
14255
+ }>, "strip", z.ZodTypeAny, {
14173
14256
  message: string;
14174
14257
  requestId: string;
14175
14258
  }, {
@@ -14228,23 +14311,6 @@ export declare const ticketContract: {
14228
14311
  error?: any;
14229
14312
  }>;
14230
14313
  };
14231
- path: "ticket-service/ticket/title/update/:id";
14232
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14233
- 'x-tenant': z.ZodString;
14234
- authorization: z.ZodString;
14235
- 'x-code': z.ZodOptional<z.ZodString>;
14236
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
14237
- }, "strip", z.ZodTypeAny, {
14238
- 'x-tenant': string;
14239
- authorization: string;
14240
- 'x-client-timezone': string;
14241
- 'x-code'?: string | undefined;
14242
- }, {
14243
- 'x-tenant': string;
14244
- authorization: string;
14245
- 'x-code'?: string | undefined;
14246
- 'x-client-timezone'?: string | undefined;
14247
- }>>>;
14248
14314
  };
14249
14315
  updateType: {
14250
14316
  body: z.ZodObject<{
@@ -14263,11 +14329,29 @@ export declare const ticketContract: {
14263
14329
  }, {
14264
14330
  id: string;
14265
14331
  }>;
14332
+ path: "ticket-service/ticket/type/update/:id";
14333
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14334
+ 'x-tenant': z.ZodString;
14335
+ authorization: z.ZodString;
14336
+ 'x-code': z.ZodOptional<z.ZodString>;
14337
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
14338
+ }, "strip", z.ZodTypeAny, {
14339
+ 'x-tenant': string;
14340
+ authorization: string;
14341
+ 'x-client-timezone': string;
14342
+ 'x-code'?: string | undefined;
14343
+ }, {
14344
+ 'x-tenant': string;
14345
+ authorization: string;
14346
+ 'x-code'?: string | undefined;
14347
+ 'x-client-timezone'?: string | undefined;
14348
+ }>>>;
14266
14349
  responses: {
14267
- 200: z.ZodObject<{
14350
+ 200: z.ZodObject<z.objectUtil.extendShape<{
14268
14351
  requestId: z.ZodString;
14352
+ }, {
14269
14353
  message: z.ZodString;
14270
- }, "strip", z.ZodTypeAny, {
14354
+ }>, "strip", z.ZodTypeAny, {
14271
14355
  message: string;
14272
14356
  requestId: string;
14273
14357
  }, {
@@ -14326,23 +14410,6 @@ export declare const ticketContract: {
14326
14410
  error?: any;
14327
14411
  }>;
14328
14412
  };
14329
- path: "ticket-service/ticket/type/update/:id";
14330
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14331
- 'x-tenant': z.ZodString;
14332
- authorization: z.ZodString;
14333
- 'x-code': z.ZodOptional<z.ZodString>;
14334
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
14335
- }, "strip", z.ZodTypeAny, {
14336
- 'x-tenant': string;
14337
- authorization: string;
14338
- 'x-client-timezone': string;
14339
- 'x-code'?: string | undefined;
14340
- }, {
14341
- 'x-tenant': string;
14342
- authorization: string;
14343
- 'x-code'?: string | undefined;
14344
- 'x-client-timezone'?: string | undefined;
14345
- }>>>;
14346
14413
  };
14347
14414
  updateStatus: {
14348
14415
  body: z.ZodObject<{
@@ -14361,11 +14428,29 @@ export declare const ticketContract: {
14361
14428
  }, {
14362
14429
  id: string;
14363
14430
  }>;
14431
+ path: "ticket-service/ticket/status/update/:id";
14432
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14433
+ 'x-tenant': z.ZodString;
14434
+ authorization: z.ZodString;
14435
+ 'x-code': z.ZodOptional<z.ZodString>;
14436
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
14437
+ }, "strip", z.ZodTypeAny, {
14438
+ 'x-tenant': string;
14439
+ authorization: string;
14440
+ 'x-client-timezone': string;
14441
+ 'x-code'?: string | undefined;
14442
+ }, {
14443
+ 'x-tenant': string;
14444
+ authorization: string;
14445
+ 'x-code'?: string | undefined;
14446
+ 'x-client-timezone'?: string | undefined;
14447
+ }>>>;
14364
14448
  responses: {
14365
- 200: z.ZodObject<{
14449
+ 200: z.ZodObject<z.objectUtil.extendShape<{
14366
14450
  requestId: z.ZodString;
14451
+ }, {
14367
14452
  message: z.ZodString;
14368
- }, "strip", z.ZodTypeAny, {
14453
+ }>, "strip", z.ZodTypeAny, {
14369
14454
  message: string;
14370
14455
  requestId: string;
14371
14456
  }, {
@@ -14424,23 +14509,6 @@ export declare const ticketContract: {
14424
14509
  error?: any;
14425
14510
  }>;
14426
14511
  };
14427
- path: "ticket-service/ticket/status/update/:id";
14428
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14429
- 'x-tenant': z.ZodString;
14430
- authorization: z.ZodString;
14431
- 'x-code': z.ZodOptional<z.ZodString>;
14432
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
14433
- }, "strip", z.ZodTypeAny, {
14434
- 'x-tenant': string;
14435
- authorization: string;
14436
- 'x-client-timezone': string;
14437
- 'x-code'?: string | undefined;
14438
- }, {
14439
- 'x-tenant': string;
14440
- authorization: string;
14441
- 'x-code'?: string | undefined;
14442
- 'x-client-timezone'?: string | undefined;
14443
- }>>>;
14444
14512
  };
14445
14513
  updatePriority: {
14446
14514
  body: z.ZodObject<{
@@ -14459,11 +14527,29 @@ export declare const ticketContract: {
14459
14527
  }, {
14460
14528
  id: string;
14461
14529
  }>;
14530
+ path: "ticket-service/ticket/priority/update/:id";
14531
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14532
+ 'x-tenant': z.ZodString;
14533
+ authorization: z.ZodString;
14534
+ 'x-code': z.ZodOptional<z.ZodString>;
14535
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
14536
+ }, "strip", z.ZodTypeAny, {
14537
+ 'x-tenant': string;
14538
+ authorization: string;
14539
+ 'x-client-timezone': string;
14540
+ 'x-code'?: string | undefined;
14541
+ }, {
14542
+ 'x-tenant': string;
14543
+ authorization: string;
14544
+ 'x-code'?: string | undefined;
14545
+ 'x-client-timezone'?: string | undefined;
14546
+ }>>>;
14462
14547
  responses: {
14463
- 200: z.ZodObject<{
14548
+ 200: z.ZodObject<z.objectUtil.extendShape<{
14464
14549
  requestId: z.ZodString;
14550
+ }, {
14465
14551
  message: z.ZodString;
14466
- }, "strip", z.ZodTypeAny, {
14552
+ }>, "strip", z.ZodTypeAny, {
14467
14553
  message: string;
14468
14554
  requestId: string;
14469
14555
  }, {
@@ -14522,23 +14608,6 @@ export declare const ticketContract: {
14522
14608
  error?: any;
14523
14609
  }>;
14524
14610
  };
14525
- path: "ticket-service/ticket/priority/update/:id";
14526
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14527
- 'x-tenant': z.ZodString;
14528
- authorization: z.ZodString;
14529
- 'x-code': z.ZodOptional<z.ZodString>;
14530
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
14531
- }, "strip", z.ZodTypeAny, {
14532
- 'x-tenant': string;
14533
- authorization: string;
14534
- 'x-client-timezone': string;
14535
- 'x-code'?: string | undefined;
14536
- }, {
14537
- 'x-tenant': string;
14538
- authorization: string;
14539
- 'x-code'?: string | undefined;
14540
- 'x-client-timezone'?: string | undefined;
14541
- }>>>;
14542
14611
  };
14543
14612
  updateChannel: {
14544
14613
  body: z.ZodObject<{
@@ -14557,11 +14626,29 @@ export declare const ticketContract: {
14557
14626
  }, {
14558
14627
  id: string;
14559
14628
  }>;
14629
+ path: "ticket-service/ticket/channel/update/:id";
14630
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14631
+ 'x-tenant': z.ZodString;
14632
+ authorization: z.ZodString;
14633
+ 'x-code': z.ZodOptional<z.ZodString>;
14634
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
14635
+ }, "strip", z.ZodTypeAny, {
14636
+ 'x-tenant': string;
14637
+ authorization: string;
14638
+ 'x-client-timezone': string;
14639
+ 'x-code'?: string | undefined;
14640
+ }, {
14641
+ 'x-tenant': string;
14642
+ authorization: string;
14643
+ 'x-code'?: string | undefined;
14644
+ 'x-client-timezone'?: string | undefined;
14645
+ }>>>;
14560
14646
  responses: {
14561
- 200: z.ZodObject<{
14647
+ 200: z.ZodObject<z.objectUtil.extendShape<{
14562
14648
  requestId: z.ZodString;
14649
+ }, {
14563
14650
  message: z.ZodString;
14564
- }, "strip", z.ZodTypeAny, {
14651
+ }>, "strip", z.ZodTypeAny, {
14565
14652
  message: string;
14566
14653
  requestId: string;
14567
14654
  }, {
@@ -14620,23 +14707,6 @@ export declare const ticketContract: {
14620
14707
  error?: any;
14621
14708
  }>;
14622
14709
  };
14623
- path: "ticket-service/ticket/channel/update/:id";
14624
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14625
- 'x-tenant': z.ZodString;
14626
- authorization: z.ZodString;
14627
- 'x-code': z.ZodOptional<z.ZodString>;
14628
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
14629
- }, "strip", z.ZodTypeAny, {
14630
- 'x-tenant': string;
14631
- authorization: string;
14632
- 'x-client-timezone': string;
14633
- 'x-code'?: string | undefined;
14634
- }, {
14635
- 'x-tenant': string;
14636
- authorization: string;
14637
- 'x-code'?: string | undefined;
14638
- 'x-client-timezone'?: string | undefined;
14639
- }>>>;
14640
14710
  };
14641
14711
  updateTags: {
14642
14712
  body: z.ZodObject<{
@@ -14655,11 +14725,29 @@ export declare const ticketContract: {
14655
14725
  }, {
14656
14726
  id: string;
14657
14727
  }>;
14728
+ path: "ticket-service/ticket/tags/update/:id";
14729
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14730
+ 'x-tenant': z.ZodString;
14731
+ authorization: z.ZodString;
14732
+ 'x-code': z.ZodOptional<z.ZodString>;
14733
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
14734
+ }, "strip", z.ZodTypeAny, {
14735
+ 'x-tenant': string;
14736
+ authorization: string;
14737
+ 'x-client-timezone': string;
14738
+ 'x-code'?: string | undefined;
14739
+ }, {
14740
+ 'x-tenant': string;
14741
+ authorization: string;
14742
+ 'x-code'?: string | undefined;
14743
+ 'x-client-timezone'?: string | undefined;
14744
+ }>>>;
14658
14745
  responses: {
14659
- 200: z.ZodObject<{
14746
+ 200: z.ZodObject<z.objectUtil.extendShape<{
14660
14747
  requestId: z.ZodString;
14748
+ }, {
14661
14749
  message: z.ZodString;
14662
- }, "strip", z.ZodTypeAny, {
14750
+ }>, "strip", z.ZodTypeAny, {
14663
14751
  message: string;
14664
14752
  requestId: string;
14665
14753
  }, {
@@ -14718,23 +14806,6 @@ export declare const ticketContract: {
14718
14806
  error?: any;
14719
14807
  }>;
14720
14808
  };
14721
- path: "ticket-service/ticket/tags/update/:id";
14722
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14723
- 'x-tenant': z.ZodString;
14724
- authorization: z.ZodString;
14725
- 'x-code': z.ZodOptional<z.ZodString>;
14726
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
14727
- }, "strip", z.ZodTypeAny, {
14728
- 'x-tenant': string;
14729
- authorization: string;
14730
- 'x-client-timezone': string;
14731
- 'x-code'?: string | undefined;
14732
- }, {
14733
- 'x-tenant': string;
14734
- authorization: string;
14735
- 'x-code'?: string | undefined;
14736
- 'x-client-timezone'?: string | undefined;
14737
- }>>>;
14738
14809
  };
14739
14810
  changeAssignee: {
14740
14811
  body: z.ZodObject<{
@@ -14759,14 +14830,33 @@ export declare const ticketContract: {
14759
14830
  }, {
14760
14831
  id: string;
14761
14832
  }>;
14833
+ path: "ticket-service/ticket/assignee/update/:id";
14834
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14835
+ 'x-tenant': z.ZodString;
14836
+ authorization: z.ZodString;
14837
+ 'x-code': z.ZodOptional<z.ZodString>;
14838
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
14839
+ }, "strip", z.ZodTypeAny, {
14840
+ 'x-tenant': string;
14841
+ authorization: string;
14842
+ 'x-client-timezone': string;
14843
+ 'x-code'?: string | undefined;
14844
+ }, {
14845
+ 'x-tenant': string;
14846
+ authorization: string;
14847
+ 'x-code'?: string | undefined;
14848
+ 'x-client-timezone'?: string | undefined;
14849
+ }>>>;
14762
14850
  responses: {
14763
- 200: z.ZodObject<{
14851
+ 200: z.ZodObject<z.objectUtil.extendShape<{
14764
14852
  requestId: z.ZodString;
14765
- data: z.ZodObject<{
14853
+ }, {
14854
+ data: z.ZodObject<z.objectUtil.extendShape<{
14766
14855
  id: z.ZodString;
14767
14856
  createdAt: z.ZodDate;
14768
14857
  updatedAt: z.ZodDate;
14769
14858
  deletedAt: z.ZodNullable<z.ZodDate>;
14859
+ }, {
14770
14860
  title: z.ZodString;
14771
14861
  description: z.ZodNullable<z.ZodString>;
14772
14862
  type: z.ZodString;
@@ -15186,20 +15276,22 @@ export declare const ticketContract: {
15186
15276
  }>>>;
15187
15277
  reasonToAssign: z.ZodNullable<z.ZodString>;
15188
15278
  ticketNumber: z.ZodOptional<z.ZodNumber>;
15189
- customFields: z.ZodArray<z.ZodObject<{
15279
+ customFields: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
15190
15280
  id: z.ZodString;
15191
15281
  createdAt: z.ZodDate;
15192
15282
  updatedAt: z.ZodDate;
15193
15283
  deletedAt: z.ZodNullable<z.ZodDate>;
15284
+ }, {
15194
15285
  textValue: z.ZodNullable<z.ZodString>;
15195
15286
  booleanValue: z.ZodNullable<z.ZodBoolean>;
15196
15287
  numberValue: z.ZodNullable<z.ZodNumber>;
15197
15288
  dateValue: z.ZodNullable<z.ZodDate>;
15198
- attribute: z.ZodObject<Omit<{
15289
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
15199
15290
  id: z.ZodString;
15200
15291
  createdAt: z.ZodDate;
15201
15292
  updatedAt: z.ZodDate;
15202
15293
  deletedAt: z.ZodNullable<z.ZodDate>;
15294
+ }, {
15203
15295
  systemName: z.ZodString;
15204
15296
  displayName: z.ZodString;
15205
15297
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -15208,13 +15300,14 @@ export declare const ticketContract: {
15208
15300
  isArchived: z.ZodBoolean;
15209
15301
  isRequired: z.ZodBoolean;
15210
15302
  isUnique: z.ZodBoolean;
15211
- options: z.ZodArray<z.ZodObject<{
15212
- position: z.ZodNumber;
15213
- value: z.ZodString;
15303
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
15214
15304
  label: z.ZodString;
15305
+ value: z.ZodString;
15215
15306
  isDefault: z.ZodBoolean;
15307
+ position: z.ZodNumber;
15308
+ }, {
15216
15309
  id: z.ZodString;
15217
- }, "strip", z.ZodTypeAny, {
15310
+ }>, "strip", z.ZodTypeAny, {
15218
15311
  id: string;
15219
15312
  position: number;
15220
15313
  value: string;
@@ -15227,14 +15320,15 @@ export declare const ticketContract: {
15227
15320
  label: string;
15228
15321
  isDefault: boolean;
15229
15322
  }>, "many">;
15230
- group: z.ZodObject<{
15323
+ group: z.ZodObject<z.objectUtil.extendShape<{
15231
15324
  id: z.ZodString;
15232
15325
  createdAt: z.ZodDate;
15233
15326
  updatedAt: z.ZodDate;
15234
15327
  deletedAt: z.ZodNullable<z.ZodDate>;
15328
+ }, {
15235
15329
  systemName: z.ZodString;
15236
15330
  displayName: z.ZodString;
15237
- }, "strip", z.ZodTypeAny, {
15331
+ }>, "strip", z.ZodTypeAny, {
15238
15332
  id: string;
15239
15333
  createdAt: Date;
15240
15334
  updatedAt: Date;
@@ -15249,7 +15343,7 @@ export declare const ticketContract: {
15249
15343
  systemName: string;
15250
15344
  displayName: string;
15251
15345
  }>;
15252
- }, "options" | "group">, "strip", z.ZodTypeAny, {
15346
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
15253
15347
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
15254
15348
  id: string;
15255
15349
  position: number;
@@ -15276,18 +15370,19 @@ export declare const ticketContract: {
15276
15370
  isRequired: boolean;
15277
15371
  isUnique: boolean;
15278
15372
  }>;
15279
- uploads: z.ZodArray<z.ZodObject<{
15373
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
15280
15374
  id: z.ZodString;
15281
15375
  createdAt: z.ZodDate;
15282
15376
  updatedAt: z.ZodDate;
15283
15377
  deletedAt: z.ZodNullable<z.ZodDate>;
15378
+ }, {
15284
15379
  bucketName: z.ZodString;
15285
15380
  fileName: z.ZodString;
15286
15381
  fileSize: z.ZodNumber;
15287
15382
  fileKey: z.ZodString;
15288
15383
  fileUrl: z.ZodNullable<z.ZodString>;
15289
15384
  status: z.ZodNullable<z.ZodString>;
15290
- }, "strip", z.ZodTypeAny, {
15385
+ }>, "strip", z.ZodTypeAny, {
15291
15386
  id: string;
15292
15387
  status: string | null;
15293
15388
  createdAt: Date;
@@ -15310,7 +15405,7 @@ export declare const ticketContract: {
15310
15405
  fileSize: number;
15311
15406
  fileUrl: string | null;
15312
15407
  }>, "many">;
15313
- }, "strip", z.ZodTypeAny, {
15408
+ }>, "strip", z.ZodTypeAny, {
15314
15409
  id: string;
15315
15410
  createdAt: Date;
15316
15411
  updatedAt: Date;
@@ -15381,13 +15476,14 @@ export declare const ticketContract: {
15381
15476
  fileUrl: string | null;
15382
15477
  }[];
15383
15478
  }>, "many">;
15384
- tags: z.ZodArray<z.ZodObject<{
15479
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
15385
15480
  id: z.ZodString;
15386
15481
  createdAt: z.ZodDate;
15387
15482
  updatedAt: z.ZodDate;
15388
15483
  deletedAt: z.ZodNullable<z.ZodDate>;
15484
+ }, {
15389
15485
  name: z.ZodString;
15390
- }, "strip", z.ZodTypeAny, {
15486
+ }>, "strip", z.ZodTypeAny, {
15391
15487
  id: string;
15392
15488
  name: string;
15393
15489
  createdAt: Date;
@@ -15400,11 +15496,12 @@ export declare const ticketContract: {
15400
15496
  updatedAt: Date;
15401
15497
  deletedAt: Date | null;
15402
15498
  }>, "many">;
15403
- categories: z.ZodArray<z.ZodObject<{
15499
+ categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
15404
15500
  id: z.ZodString;
15405
15501
  createdAt: z.ZodDate;
15406
15502
  updatedAt: z.ZodDate;
15407
15503
  deletedAt: z.ZodNullable<z.ZodDate>;
15504
+ }, {
15408
15505
  value: z.ZodString;
15409
15506
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
15410
15507
  parentId: z.ZodNullable<z.ZodString>;
@@ -15457,7 +15554,7 @@ export declare const ticketContract: {
15457
15554
  childCategoryList: any[];
15458
15555
  }[];
15459
15556
  }>, "many">;
15460
- }, "strip", z.ZodTypeAny, {
15557
+ }>, "strip", z.ZodTypeAny, {
15461
15558
  id: string;
15462
15559
  value: string;
15463
15560
  createdAt: Date;
@@ -15511,13 +15608,14 @@ export declare const ticketContract: {
15511
15608
  notes: z.ZodNullable<z.ZodString>;
15512
15609
  contactProfile: z.ZodNullable<z.ZodString>;
15513
15610
  socialProfileUrl: z.ZodNullable<z.ZodString>;
15514
- tags: z.ZodArray<z.ZodObject<{
15611
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
15515
15612
  id: z.ZodString;
15516
15613
  createdAt: z.ZodDate;
15517
15614
  updatedAt: z.ZodDate;
15518
15615
  deletedAt: z.ZodNullable<z.ZodDate>;
15616
+ }, {
15519
15617
  name: z.ZodString;
15520
- }, "strip", z.ZodTypeAny, {
15618
+ }>, "strip", z.ZodTypeAny, {
15521
15619
  id: string;
15522
15620
  name: string;
15523
15621
  createdAt: Date;
@@ -15530,29 +15628,32 @@ export declare const ticketContract: {
15530
15628
  updatedAt: Date;
15531
15629
  deletedAt: Date | null;
15532
15630
  }>, "many">;
15533
- company: z.ZodNullable<z.ZodObject<Omit<{
15631
+ company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
15534
15632
  id: z.ZodString;
15535
15633
  createdAt: z.ZodDate;
15536
15634
  updatedAt: z.ZodDate;
15537
15635
  deletedAt: z.ZodNullable<z.ZodDate>;
15636
+ }, {
15538
15637
  name: z.ZodOptional<z.ZodString>;
15539
15638
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15540
15639
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15541
15640
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15542
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
15641
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
15543
15642
  id: z.ZodString;
15544
15643
  createdAt: z.ZodDate;
15545
15644
  updatedAt: z.ZodDate;
15546
15645
  deletedAt: z.ZodNullable<z.ZodDate>;
15646
+ }, {
15547
15647
  textValue: z.ZodNullable<z.ZodString>;
15548
15648
  booleanValue: z.ZodNullable<z.ZodBoolean>;
15549
15649
  numberValue: z.ZodNullable<z.ZodNumber>;
15550
15650
  dateValue: z.ZodNullable<z.ZodDate>;
15551
- attribute: z.ZodObject<Omit<{
15651
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
15552
15652
  id: z.ZodString;
15553
15653
  createdAt: z.ZodDate;
15554
15654
  updatedAt: z.ZodDate;
15555
15655
  deletedAt: z.ZodNullable<z.ZodDate>;
15656
+ }, {
15556
15657
  systemName: z.ZodString;
15557
15658
  displayName: z.ZodString;
15558
15659
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -15561,13 +15662,14 @@ export declare const ticketContract: {
15561
15662
  isArchived: z.ZodBoolean;
15562
15663
  isRequired: z.ZodBoolean;
15563
15664
  isUnique: z.ZodBoolean;
15564
- options: z.ZodArray<z.ZodObject<{
15565
- position: z.ZodNumber;
15566
- value: z.ZodString;
15665
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
15567
15666
  label: z.ZodString;
15667
+ value: z.ZodString;
15568
15668
  isDefault: z.ZodBoolean;
15669
+ position: z.ZodNumber;
15670
+ }, {
15569
15671
  id: z.ZodString;
15570
- }, "strip", z.ZodTypeAny, {
15672
+ }>, "strip", z.ZodTypeAny, {
15571
15673
  id: string;
15572
15674
  position: number;
15573
15675
  value: string;
@@ -15580,14 +15682,15 @@ export declare const ticketContract: {
15580
15682
  label: string;
15581
15683
  isDefault: boolean;
15582
15684
  }>, "many">;
15583
- group: z.ZodObject<{
15685
+ group: z.ZodObject<z.objectUtil.extendShape<{
15584
15686
  id: z.ZodString;
15585
15687
  createdAt: z.ZodDate;
15586
15688
  updatedAt: z.ZodDate;
15587
15689
  deletedAt: z.ZodNullable<z.ZodDate>;
15690
+ }, {
15588
15691
  systemName: z.ZodString;
15589
15692
  displayName: z.ZodString;
15590
- }, "strip", z.ZodTypeAny, {
15693
+ }>, "strip", z.ZodTypeAny, {
15591
15694
  id: string;
15592
15695
  createdAt: Date;
15593
15696
  updatedAt: Date;
@@ -15602,7 +15705,7 @@ export declare const ticketContract: {
15602
15705
  systemName: string;
15603
15706
  displayName: string;
15604
15707
  }>;
15605
- }, "options" | "group">, "strip", z.ZodTypeAny, {
15708
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
15606
15709
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
15607
15710
  id: string;
15608
15711
  position: number;
@@ -15629,7 +15732,7 @@ export declare const ticketContract: {
15629
15732
  isRequired: boolean;
15630
15733
  isUnique: boolean;
15631
15734
  }>;
15632
- }, "strip", z.ZodTypeAny, {
15735
+ }>, "strip", z.ZodTypeAny, {
15633
15736
  id: string;
15634
15737
  createdAt: Date;
15635
15738
  updatedAt: Date;
@@ -15676,7 +15779,7 @@ export declare const ticketContract: {
15676
15779
  numberValue: number | null;
15677
15780
  dateValue: Date | null;
15678
15781
  }>, "many">>;
15679
- }, "customFields">, "strip", z.ZodTypeAny, {
15782
+ }>, "customFields">, "strip", z.ZodTypeAny, {
15680
15783
  id: string;
15681
15784
  createdAt: Date;
15682
15785
  updatedAt: Date;
@@ -15704,11 +15807,12 @@ export declare const ticketContract: {
15704
15807
  booleanValue: z.ZodNullable<z.ZodBoolean>;
15705
15808
  numberValue: z.ZodNullable<z.ZodNumber>;
15706
15809
  dateValue: z.ZodNullable<z.ZodDate>;
15707
- attribute: z.ZodObject<Omit<{
15810
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
15708
15811
  id: z.ZodString;
15709
15812
  createdAt: z.ZodDate;
15710
15813
  updatedAt: z.ZodDate;
15711
15814
  deletedAt: z.ZodNullable<z.ZodDate>;
15815
+ }, {
15712
15816
  systemName: z.ZodString;
15713
15817
  displayName: z.ZodString;
15714
15818
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -15717,13 +15821,14 @@ export declare const ticketContract: {
15717
15821
  isArchived: z.ZodBoolean;
15718
15822
  isRequired: z.ZodBoolean;
15719
15823
  isUnique: z.ZodBoolean;
15720
- options: z.ZodArray<z.ZodObject<{
15721
- position: z.ZodNumber;
15722
- value: z.ZodString;
15824
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
15723
15825
  label: z.ZodString;
15826
+ value: z.ZodString;
15724
15827
  isDefault: z.ZodBoolean;
15828
+ position: z.ZodNumber;
15829
+ }, {
15725
15830
  id: z.ZodString;
15726
- }, "strip", z.ZodTypeAny, {
15831
+ }>, "strip", z.ZodTypeAny, {
15727
15832
  id: string;
15728
15833
  position: number;
15729
15834
  value: string;
@@ -15736,14 +15841,15 @@ export declare const ticketContract: {
15736
15841
  label: string;
15737
15842
  isDefault: boolean;
15738
15843
  }>, "many">;
15739
- group: z.ZodObject<{
15844
+ group: z.ZodObject<z.objectUtil.extendShape<{
15740
15845
  id: z.ZodString;
15741
15846
  createdAt: z.ZodDate;
15742
15847
  updatedAt: z.ZodDate;
15743
15848
  deletedAt: z.ZodNullable<z.ZodDate>;
15849
+ }, {
15744
15850
  systemName: z.ZodString;
15745
15851
  displayName: z.ZodString;
15746
- }, "strip", z.ZodTypeAny, {
15852
+ }>, "strip", z.ZodTypeAny, {
15747
15853
  id: string;
15748
15854
  createdAt: Date;
15749
15855
  updatedAt: Date;
@@ -15758,7 +15864,7 @@ export declare const ticketContract: {
15758
15864
  systemName: string;
15759
15865
  displayName: string;
15760
15866
  }>;
15761
- }, "options" | "group">, "strip", z.ZodTypeAny, {
15867
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
15762
15868
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
15763
15869
  id: string;
15764
15870
  position: number;
@@ -15785,18 +15891,19 @@ export declare const ticketContract: {
15785
15891
  isRequired: boolean;
15786
15892
  isUnique: boolean;
15787
15893
  }>;
15788
- uploads: z.ZodArray<z.ZodObject<{
15894
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
15789
15895
  id: z.ZodString;
15790
15896
  createdAt: z.ZodDate;
15791
15897
  updatedAt: z.ZodDate;
15792
15898
  deletedAt: z.ZodNullable<z.ZodDate>;
15899
+ }, {
15793
15900
  bucketName: z.ZodString;
15794
15901
  fileName: z.ZodString;
15795
15902
  fileSize: z.ZodNumber;
15796
15903
  fileKey: z.ZodString;
15797
15904
  fileUrl: z.ZodNullable<z.ZodString>;
15798
15905
  status: z.ZodNullable<z.ZodString>;
15799
- }, "strip", z.ZodTypeAny, {
15906
+ }>, "strip", z.ZodTypeAny, {
15800
15907
  id: string;
15801
15908
  status: string | null;
15802
15909
  createdAt: Date;
@@ -16539,7 +16646,7 @@ export declare const ticketContract: {
16539
16646
  entity: string;
16540
16647
  };
16541
16648
  }>, "many">;
16542
- }, "strip", z.ZodTypeAny, {
16649
+ }>, "strip", z.ZodTypeAny, {
16543
16650
  type: string;
16544
16651
  id: string;
16545
16652
  channel: string;
@@ -16776,7 +16883,7 @@ export declare const ticketContract: {
16776
16883
  assigneeId: string;
16777
16884
  creatorId: string;
16778
16885
  reasonToAssign: string | null;
16779
- creator?: {
16886
+ assignee?: {
16780
16887
  id: string;
16781
16888
  address: string | null;
16782
16889
  name: string;
@@ -16820,7 +16927,7 @@ export declare const ticketContract: {
16820
16927
  telephonySignature: string | null;
16821
16928
  };
16822
16929
  } | null | undefined;
16823
- assignee?: {
16930
+ creator?: {
16824
16931
  id: string;
16825
16932
  address: string | null;
16826
16933
  name: string;
@@ -17102,7 +17209,7 @@ export declare const ticketContract: {
17102
17209
  assigneeId: string;
17103
17210
  creatorId: string;
17104
17211
  reasonToAssign: string | null;
17105
- creator?: {
17212
+ assignee?: {
17106
17213
  id: string;
17107
17214
  address: string | null;
17108
17215
  name: string;
@@ -17146,7 +17253,7 @@ export declare const ticketContract: {
17146
17253
  telephonySignature: string | null;
17147
17254
  };
17148
17255
  } | null | undefined;
17149
- assignee?: {
17256
+ creator?: {
17150
17257
  id: string;
17151
17258
  address: string | null;
17152
17259
  name: string;
@@ -17192,7 +17299,7 @@ export declare const ticketContract: {
17192
17299
  } | null | undefined;
17193
17300
  ticketNumber?: number | undefined;
17194
17301
  }>;
17195
- }, "strip", z.ZodTypeAny, {
17302
+ }>, "strip", z.ZodTypeAny, {
17196
17303
  data: {
17197
17304
  type: string;
17198
17305
  id: string;
@@ -17430,7 +17537,7 @@ export declare const ticketContract: {
17430
17537
  assigneeId: string;
17431
17538
  creatorId: string;
17432
17539
  reasonToAssign: string | null;
17433
- creator?: {
17540
+ assignee?: {
17434
17541
  id: string;
17435
17542
  address: string | null;
17436
17543
  name: string;
@@ -17474,7 +17581,7 @@ export declare const ticketContract: {
17474
17581
  telephonySignature: string | null;
17475
17582
  };
17476
17583
  } | null | undefined;
17477
- assignee?: {
17584
+ creator?: {
17478
17585
  id: string;
17479
17586
  address: string | null;
17480
17587
  name: string;
@@ -17759,7 +17866,7 @@ export declare const ticketContract: {
17759
17866
  assigneeId: string;
17760
17867
  creatorId: string;
17761
17868
  reasonToAssign: string | null;
17762
- creator?: {
17869
+ assignee?: {
17763
17870
  id: string;
17764
17871
  address: string | null;
17765
17872
  name: string;
@@ -17803,7 +17910,7 @@ export declare const ticketContract: {
17803
17910
  telephonySignature: string | null;
17804
17911
  };
17805
17912
  } | null | undefined;
17806
- assignee?: {
17913
+ creator?: {
17807
17914
  id: string;
17808
17915
  address: string | null;
17809
17916
  name: string;
@@ -17903,7 +18010,18 @@ export declare const ticketContract: {
17903
18010
  error?: any;
17904
18011
  }>;
17905
18012
  };
17906
- path: "ticket-service/ticket/assignee/update/:id";
18013
+ };
18014
+ getTicketCountByContact: {
18015
+ summary: "Get ticket count by contact";
18016
+ method: "GET";
18017
+ pathParams: z.ZodObject<{
18018
+ id: z.ZodString;
18019
+ }, "strip", z.ZodTypeAny, {
18020
+ id: string;
18021
+ }, {
18022
+ id: string;
18023
+ }>;
18024
+ path: "ticket-service/ticket/ticket_count/contact/:id";
17907
18025
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
17908
18026
  'x-tenant': z.ZodString;
17909
18027
  authorization: z.ZodString;
@@ -17920,20 +18038,10 @@ export declare const ticketContract: {
17920
18038
  'x-code'?: string | undefined;
17921
18039
  'x-client-timezone'?: string | undefined;
17922
18040
  }>>>;
17923
- };
17924
- getTicketCountByContact: {
17925
- summary: "Get ticket count by contact";
17926
- method: "GET";
17927
- pathParams: z.ZodObject<{
17928
- id: z.ZodString;
17929
- }, "strip", z.ZodTypeAny, {
17930
- id: string;
17931
- }, {
17932
- id: string;
17933
- }>;
17934
18041
  responses: {
17935
- 200: z.ZodObject<{
18042
+ 200: z.ZodObject<z.objectUtil.extendShape<{
17936
18043
  requestId: z.ZodString;
18044
+ }, {
17937
18045
  data: z.ZodObject<{
17938
18046
  total: z.ZodNumber;
17939
18047
  open: z.ZodNumber;
@@ -17953,7 +18061,7 @@ export declare const ticketContract: {
17953
18061
  pending: number;
17954
18062
  solved: number;
17955
18063
  }>;
17956
- }, "strip", z.ZodTypeAny, {
18064
+ }>, "strip", z.ZodTypeAny, {
17957
18065
  data: {
17958
18066
  total: number;
17959
18067
  closed: number;
@@ -18000,23 +18108,6 @@ export declare const ticketContract: {
18000
18108
  error?: any;
18001
18109
  }>;
18002
18110
  };
18003
- path: "ticket-service/ticket/ticket_count/contact/:id";
18004
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18005
- 'x-tenant': z.ZodString;
18006
- authorization: z.ZodString;
18007
- 'x-code': z.ZodOptional<z.ZodString>;
18008
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
18009
- }, "strip", z.ZodTypeAny, {
18010
- 'x-tenant': string;
18011
- authorization: string;
18012
- 'x-client-timezone': string;
18013
- 'x-code'?: string | undefined;
18014
- }, {
18015
- 'x-tenant': string;
18016
- authorization: string;
18017
- 'x-code'?: string | undefined;
18018
- 'x-client-timezone'?: string | undefined;
18019
- }>>>;
18020
18111
  };
18021
18112
  createTicketAttachmentRecords: {
18022
18113
  body: z.ZodObject<{
@@ -18064,23 +18155,43 @@ export declare const ticketContract: {
18064
18155
  }>;
18065
18156
  summary: "Create a new ticket attachment";
18066
18157
  method: "POST";
18158
+ path: "ticket-service/ticket/attachment";
18159
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18160
+ 'x-tenant': z.ZodString;
18161
+ authorization: z.ZodString;
18162
+ 'x-code': z.ZodOptional<z.ZodString>;
18163
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
18164
+ }, "strip", z.ZodTypeAny, {
18165
+ 'x-tenant': string;
18166
+ authorization: string;
18167
+ 'x-client-timezone': string;
18168
+ 'x-code'?: string | undefined;
18169
+ }, {
18170
+ 'x-tenant': string;
18171
+ authorization: string;
18172
+ 'x-code'?: string | undefined;
18173
+ 'x-client-timezone'?: string | undefined;
18174
+ }>>>;
18067
18175
  responses: {
18068
- 201: z.ZodObject<{
18176
+ 201: z.ZodObject<z.objectUtil.extendShape<{
18069
18177
  requestId: z.ZodString;
18070
- data: z.ZodObject<{
18178
+ }, {
18179
+ data: z.ZodObject<z.objectUtil.extendShape<{
18071
18180
  id: z.ZodString;
18072
18181
  createdAt: z.ZodDate;
18073
18182
  updatedAt: z.ZodDate;
18074
18183
  deletedAt: z.ZodNullable<z.ZodDate>;
18184
+ }, {
18075
18185
  textValue: z.ZodNullable<z.ZodString>;
18076
18186
  booleanValue: z.ZodNullable<z.ZodBoolean>;
18077
18187
  numberValue: z.ZodNullable<z.ZodNumber>;
18078
18188
  dateValue: z.ZodNullable<z.ZodDate>;
18079
- attribute: z.ZodObject<Omit<{
18189
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
18080
18190
  id: z.ZodString;
18081
18191
  createdAt: z.ZodDate;
18082
18192
  updatedAt: z.ZodDate;
18083
18193
  deletedAt: z.ZodNullable<z.ZodDate>;
18194
+ }, {
18084
18195
  systemName: z.ZodString;
18085
18196
  displayName: z.ZodString;
18086
18197
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -18089,13 +18200,14 @@ export declare const ticketContract: {
18089
18200
  isArchived: z.ZodBoolean;
18090
18201
  isRequired: z.ZodBoolean;
18091
18202
  isUnique: z.ZodBoolean;
18092
- options: z.ZodArray<z.ZodObject<{
18093
- position: z.ZodNumber;
18094
- value: z.ZodString;
18203
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
18095
18204
  label: z.ZodString;
18205
+ value: z.ZodString;
18096
18206
  isDefault: z.ZodBoolean;
18207
+ position: z.ZodNumber;
18208
+ }, {
18097
18209
  id: z.ZodString;
18098
- }, "strip", z.ZodTypeAny, {
18210
+ }>, "strip", z.ZodTypeAny, {
18099
18211
  id: string;
18100
18212
  position: number;
18101
18213
  value: string;
@@ -18108,14 +18220,15 @@ export declare const ticketContract: {
18108
18220
  label: string;
18109
18221
  isDefault: boolean;
18110
18222
  }>, "many">;
18111
- group: z.ZodObject<{
18223
+ group: z.ZodObject<z.objectUtil.extendShape<{
18112
18224
  id: z.ZodString;
18113
18225
  createdAt: z.ZodDate;
18114
18226
  updatedAt: z.ZodDate;
18115
18227
  deletedAt: z.ZodNullable<z.ZodDate>;
18228
+ }, {
18116
18229
  systemName: z.ZodString;
18117
18230
  displayName: z.ZodString;
18118
- }, "strip", z.ZodTypeAny, {
18231
+ }>, "strip", z.ZodTypeAny, {
18119
18232
  id: string;
18120
18233
  createdAt: Date;
18121
18234
  updatedAt: Date;
@@ -18130,7 +18243,7 @@ export declare const ticketContract: {
18130
18243
  systemName: string;
18131
18244
  displayName: string;
18132
18245
  }>;
18133
- }, "options" | "group">, "strip", z.ZodTypeAny, {
18246
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
18134
18247
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
18135
18248
  id: string;
18136
18249
  position: number;
@@ -18157,18 +18270,19 @@ export declare const ticketContract: {
18157
18270
  isRequired: boolean;
18158
18271
  isUnique: boolean;
18159
18272
  }>;
18160
- uploads: z.ZodArray<z.ZodObject<{
18273
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
18161
18274
  id: z.ZodString;
18162
18275
  createdAt: z.ZodDate;
18163
18276
  updatedAt: z.ZodDate;
18164
18277
  deletedAt: z.ZodNullable<z.ZodDate>;
18278
+ }, {
18165
18279
  bucketName: z.ZodString;
18166
18280
  fileName: z.ZodString;
18167
18281
  fileSize: z.ZodNumber;
18168
18282
  fileKey: z.ZodString;
18169
18283
  fileUrl: z.ZodNullable<z.ZodString>;
18170
18284
  status: z.ZodNullable<z.ZodString>;
18171
- }, "strip", z.ZodTypeAny, {
18285
+ }>, "strip", z.ZodTypeAny, {
18172
18286
  id: string;
18173
18287
  status: string | null;
18174
18288
  createdAt: Date;
@@ -18191,7 +18305,7 @@ export declare const ticketContract: {
18191
18305
  fileSize: number;
18192
18306
  fileUrl: string | null;
18193
18307
  }>, "many">;
18194
- }, "strip", z.ZodTypeAny, {
18308
+ }>, "strip", z.ZodTypeAny, {
18195
18309
  id: string;
18196
18310
  createdAt: Date;
18197
18311
  updatedAt: Date;
@@ -18262,7 +18376,7 @@ export declare const ticketContract: {
18262
18376
  fileUrl: string | null;
18263
18377
  }[];
18264
18378
  }>;
18265
- }, "strip", z.ZodTypeAny, {
18379
+ }>, "strip", z.ZodTypeAny, {
18266
18380
  data: {
18267
18381
  id: string;
18268
18382
  createdAt: Date;
@@ -18391,23 +18505,6 @@ export declare const ticketContract: {
18391
18505
  error?: any;
18392
18506
  }>;
18393
18507
  };
18394
- path: "ticket-service/ticket/attachment";
18395
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18396
- 'x-tenant': z.ZodString;
18397
- authorization: z.ZodString;
18398
- 'x-code': z.ZodOptional<z.ZodString>;
18399
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
18400
- }, "strip", z.ZodTypeAny, {
18401
- 'x-tenant': string;
18402
- authorization: string;
18403
- 'x-client-timezone': string;
18404
- 'x-code'?: string | undefined;
18405
- }, {
18406
- 'x-tenant': string;
18407
- authorization: string;
18408
- 'x-code'?: string | undefined;
18409
- 'x-client-timezone'?: string | undefined;
18410
- }>>>;
18411
18508
  };
18412
18509
  exportTicket: {
18413
18510
  summary: "Export tickets";
@@ -18433,54 +18530,71 @@ export declare const ticketContract: {
18433
18530
  value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
18434
18531
  }, "strip", z.ZodTypeAny, {
18435
18532
  type: string;
18436
- value: (string | string[]) & (string | string[] | undefined);
18533
+ value: string | string[];
18437
18534
  attributeId: string;
18438
18535
  }, {
18439
18536
  type: string;
18440
- value: (string | string[]) & (string | string[] | undefined);
18537
+ value: string | string[];
18441
18538
  attributeId: string;
18442
18539
  }>, "many">>;
18443
18540
  }, "strip", z.ZodTypeAny, {
18444
- agent?: string[] | undefined;
18445
- selectedDate?: string | undefined;
18446
- keyword?: string | undefined;
18541
+ type?: string[] | undefined;
18542
+ channel?: string[] | undefined;
18543
+ priority?: string[] | undefined;
18447
18544
  title?: string | undefined;
18448
18545
  description?: string | undefined;
18449
18546
  status?: string[] | undefined;
18450
- priority?: string[] | undefined;
18451
- assignee?: string[] | undefined;
18452
- channel?: string[] | undefined;
18453
- type?: string[] | undefined;
18454
- ticketType?: string[] | undefined;
18455
- contact?: string[] | undefined;
18456
- tags?: string[] | undefined;
18457
18547
  categories?: string[] | undefined;
18548
+ contact?: string[] | undefined;
18458
18549
  customFields?: {
18459
18550
  type: string;
18460
- value: (string | string[]) & (string | string[] | undefined);
18551
+ value: string | string[];
18461
18552
  attributeId: string;
18462
18553
  }[] | undefined;
18463
- }, {
18554
+ tags?: string[] | undefined;
18555
+ assignee?: string[] | undefined;
18464
18556
  agent?: string[] | undefined;
18465
- selectedDate?: string | undefined;
18466
18557
  keyword?: string | undefined;
18558
+ selectedDate?: string | undefined;
18559
+ ticketType?: string[] | undefined;
18560
+ }, {
18561
+ type?: string[] | undefined;
18562
+ channel?: string[] | undefined;
18563
+ priority?: string[] | undefined;
18467
18564
  title?: string | undefined;
18468
18565
  description?: string | undefined;
18469
18566
  status?: string[] | undefined;
18470
- priority?: string[] | undefined;
18471
- assignee?: string[] | undefined;
18472
- channel?: string[] | undefined;
18473
- type?: string[] | undefined;
18474
- ticketType?: string[] | undefined;
18475
- contact?: string[] | undefined;
18476
- tags?: string[] | undefined;
18477
18567
  categories?: string[] | undefined;
18568
+ contact?: string[] | undefined;
18478
18569
  customFields?: {
18479
18570
  type: string;
18480
- value: (string | string[]) & (string | string[] | undefined);
18571
+ value: string | string[];
18481
18572
  attributeId: string;
18482
18573
  }[] | undefined;
18574
+ tags?: string[] | undefined;
18575
+ assignee?: string[] | undefined;
18576
+ agent?: string[] | undefined;
18577
+ keyword?: string | undefined;
18578
+ selectedDate?: string | undefined;
18579
+ ticketType?: string[] | undefined;
18483
18580
  }>;
18581
+ path: "ticket-service/ticket/export";
18582
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18583
+ 'x-tenant': z.ZodString;
18584
+ authorization: z.ZodString;
18585
+ 'x-code': z.ZodOptional<z.ZodString>;
18586
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
18587
+ }, "strip", z.ZodTypeAny, {
18588
+ 'x-tenant': string;
18589
+ authorization: string;
18590
+ 'x-client-timezone': string;
18591
+ 'x-code'?: string | undefined;
18592
+ }, {
18593
+ 'x-tenant': string;
18594
+ authorization: string;
18595
+ 'x-code'?: string | undefined;
18596
+ 'x-client-timezone'?: string | undefined;
18597
+ }>>>;
18484
18598
  responses: {
18485
18599
  200: null;
18486
18600
  401: z.ZodObject<{
@@ -18494,7 +18608,10 @@ export declare const ticketContract: {
18494
18608
  error?: any;
18495
18609
  }>;
18496
18610
  };
18497
- path: "ticket-service/ticket/export";
18611
+ };
18612
+ getTicketReasonRequired: {
18613
+ method: "GET";
18614
+ path: "ticket-service/ticket/gs/ticket-reason-required";
18498
18615
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18499
18616
  'x-tenant': z.ZodString;
18500
18617
  authorization: z.ZodString;
@@ -18511,14 +18628,12 @@ export declare const ticketContract: {
18511
18628
  'x-code'?: string | undefined;
18512
18629
  'x-client-timezone'?: string | undefined;
18513
18630
  }>>>;
18514
- };
18515
- getTicketReasonRequired: {
18516
- method: "GET";
18517
18631
  responses: {
18518
- 200: z.ZodObject<{
18632
+ 200: z.ZodObject<z.objectUtil.extendShape<{
18519
18633
  requestId: z.ZodString;
18634
+ }, {
18520
18635
  ticketReasonRequired: z.ZodString;
18521
- }, "strip", z.ZodTypeAny, {
18636
+ }>, "strip", z.ZodTypeAny, {
18522
18637
  requestId: string;
18523
18638
  ticketReasonRequired: string;
18524
18639
  }, {
@@ -18553,6 +18668,16 @@ export declare const ticketContract: {
18553
18668
  error?: any;
18554
18669
  }>;
18555
18670
  };
18671
+ };
18672
+ updateTicketReasonRequired: {
18673
+ body: z.ZodObject<{
18674
+ ticketReasonRequired: z.ZodString;
18675
+ }, "strip", z.ZodTypeAny, {
18676
+ ticketReasonRequired: string;
18677
+ }, {
18678
+ ticketReasonRequired: string;
18679
+ }>;
18680
+ method: "PATCH";
18556
18681
  path: "ticket-service/ticket/gs/ticket-reason-required";
18557
18682
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18558
18683
  'x-tenant': z.ZodString;
@@ -18570,21 +18695,12 @@ export declare const ticketContract: {
18570
18695
  'x-code'?: string | undefined;
18571
18696
  'x-client-timezone'?: string | undefined;
18572
18697
  }>>>;
18573
- };
18574
- updateTicketReasonRequired: {
18575
- body: z.ZodObject<{
18576
- ticketReasonRequired: z.ZodString;
18577
- }, "strip", z.ZodTypeAny, {
18578
- ticketReasonRequired: string;
18579
- }, {
18580
- ticketReasonRequired: string;
18581
- }>;
18582
- method: "PATCH";
18583
18698
  responses: {
18584
- 200: z.ZodObject<{
18699
+ 200: z.ZodObject<z.objectUtil.extendShape<{
18585
18700
  requestId: z.ZodString;
18701
+ }, {
18586
18702
  ticketReasonRequired: z.ZodString;
18587
- }, "strip", z.ZodTypeAny, {
18703
+ }>, "strip", z.ZodTypeAny, {
18588
18704
  requestId: string;
18589
18705
  ticketReasonRequired: string;
18590
18706
  }, {
@@ -18619,23 +18735,6 @@ export declare const ticketContract: {
18619
18735
  error?: any;
18620
18736
  }>;
18621
18737
  };
18622
- path: "ticket-service/ticket/gs/ticket-reason-required";
18623
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18624
- 'x-tenant': z.ZodString;
18625
- authorization: z.ZodString;
18626
- 'x-code': z.ZodOptional<z.ZodString>;
18627
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
18628
- }, "strip", z.ZodTypeAny, {
18629
- 'x-tenant': string;
18630
- authorization: string;
18631
- 'x-client-timezone': string;
18632
- 'x-code'?: string | undefined;
18633
- }, {
18634
- 'x-tenant': string;
18635
- authorization: string;
18636
- 'x-code'?: string | undefined;
18637
- 'x-client-timezone'?: string | undefined;
18638
- }>>>;
18639
18738
  };
18640
18739
  };
18641
18740
  //# sourceMappingURL=index.d.ts.map