@kl1/contracts 1.2.27-uat → 1.2.28-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (234) 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 +148 -164
  3. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  4. package/dist/api-contracts/src/attribute/schema.d.ts +8 -11
  5. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  6. package/dist/api-contracts/src/attribute-option/schema.d.ts +2 -3
  7. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  8. package/dist/api-contracts/src/auth/index.d.ts +47 -51
  9. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  10. package/dist/api-contracts/src/automation-queue/index.d.ts +31 -43
  11. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  12. package/dist/api-contracts/src/automation-queue/schema.d.ts +2 -3
  13. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
  14. package/dist/api-contracts/src/aws/index.d.ts +6 -8
  15. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/botpress/index.d.ts +13 -17
  17. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/business-calendar/index.d.ts +28 -40
  19. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  20. package/dist/api-contracts/src/business-calendar/schema.d.ts +10 -15
  21. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  22. package/dist/api-contracts/src/call-log/schema.d.ts +4 -5
  23. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  24. package/dist/api-contracts/src/category/index.d.ts +109 -118
  25. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/category/schema.d.ts +2 -3
  27. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/channel/index.d.ts +1216 -1062
  29. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  30. package/dist/api-contracts/src/channel/schema.d.ts +50 -38
  31. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  32. package/dist/api-contracts/src/channel/validation.d.ts +66 -52
  33. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  34. package/dist/api-contracts/src/chat/index.d.ts +14158 -10902
  35. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/chat/schema.d.ts +3223 -2468
  37. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/chat/validation.d.ts +3259 -2794
  39. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  40. package/dist/api-contracts/src/comment/index.d.ts +224 -281
  41. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/comment/schema.d.ts +50 -68
  43. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  44. package/dist/api-contracts/src/comment/validation.d.ts +1 -1
  45. package/dist/api-contracts/src/company/index.d.ts +109 -136
  46. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/company/schema.d.ts +24 -33
  48. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  49. package/dist/api-contracts/src/company/validation.d.ts +62 -78
  50. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  51. package/dist/api-contracts/src/contact/index.d.ts +559 -677
  52. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/contact/schema.d.ts +42 -56
  54. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  55. package/dist/api-contracts/src/contact/validation.d.ts +218 -299
  56. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  57. package/dist/api-contracts/src/contact-email/schema.d.ts +2 -3
  58. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  59. package/dist/api-contracts/src/contact-phone/schema.d.ts +2 -3
  60. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  61. package/dist/api-contracts/src/contract.d.ts +28558 -25032
  62. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  63. package/dist/api-contracts/src/custom-field/schema.d.ts +2 -3
  64. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  65. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  66. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +2 -3
  67. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  68. package/dist/api-contracts/src/cx-log/index.d.ts +651 -678
  69. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  70. package/dist/api-contracts/src/cx-log/schema.d.ts +425 -457
  71. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  72. package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
  73. package/dist/api-contracts/src/dashboard/index.d.ts +333 -374
  74. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  75. package/dist/api-contracts/src/dashboard/schema.d.ts +4 -5
  76. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  77. package/dist/api-contracts/src/dashboard/validation.d.ts +18 -24
  78. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  79. package/dist/api-contracts/src/evaluate-form/index.d.ts +3 -4
  80. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  81. package/dist/api-contracts/src/evaluate-form/schema.d.ts +2 -3
  82. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  83. package/dist/api-contracts/src/export/index.d.ts +3 -4
  84. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  85. package/dist/api-contracts/src/extension/index.d.ts +112 -118
  86. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  87. package/dist/api-contracts/src/facebook-feed/index.d.ts +2367 -1871
  88. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  89. package/dist/api-contracts/src/facebook-feed/schema.d.ts +74 -76
  90. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  91. package/dist/api-contracts/src/facebook-feed/validation.d.ts +86 -96
  92. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  93. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  94. package/dist/api-contracts/src/group/schema.d.ts +2 -3
  95. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  96. package/dist/api-contracts/src/hold-label/index.d.ts +160 -39
  97. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  98. package/dist/api-contracts/src/hold-label/schema.d.ts +27 -3
  99. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  100. package/dist/api-contracts/src/hold-label/validation.d.ts +10 -0
  101. package/dist/api-contracts/src/hold-label/validation.d.ts.map +1 -1
  102. package/dist/api-contracts/src/instagram/index.d.ts +2302 -1815
  103. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  104. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  105. package/dist/api-contracts/src/line/index.d.ts +3429 -2954
  106. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  107. package/dist/api-contracts/src/line/schema.d.ts +11 -12
  108. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  109. package/dist/api-contracts/src/line/validation.d.ts +114 -103
  110. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  111. package/dist/api-contracts/src/log-form/schema.d.ts +2 -3
  112. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  113. package/dist/api-contracts/src/mail/account-contract.d.ts +174 -184
  114. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  115. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +3 -4
  116. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  117. package/dist/api-contracts/src/mail/mail-contract.d.ts +416 -461
  118. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  119. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +18 -24
  120. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  121. package/dist/api-contracts/src/mail/message-contract.d.ts +107 -113
  122. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  123. package/dist/api-contracts/src/mail/room-contract.d.ts +65 -88
  124. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  125. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  126. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +18 -22
  127. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  128. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +10 -15
  129. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  130. package/dist/api-contracts/src/messenger/index.d.ts +2060 -1575
  131. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  132. package/dist/api-contracts/src/messenger/validation.d.ts +86 -96
  133. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  134. package/dist/api-contracts/src/notification/index.d.ts +12 -16
  135. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  136. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  137. package/dist/api-contracts/src/presence-status/index.d.ts +81 -84
  138. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  139. package/dist/api-contracts/src/public-api/index.d.ts +196 -260
  140. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  141. package/dist/api-contracts/src/public-api/schema.d.ts +34 -48
  142. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  143. package/dist/api-contracts/src/public-api/validation.d.ts +88 -113
  144. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  145. package/dist/api-contracts/src/role/index.d.ts +83 -88
  146. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  147. package/dist/api-contracts/src/sms/index.d.ts +174 -155
  148. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  149. package/dist/api-contracts/src/snippet/index.d.ts +54 -76
  150. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  151. package/dist/api-contracts/src/snippet/schema.d.ts +14 -21
  152. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  153. package/dist/api-contracts/src/snippet/validation.d.ts +4 -5
  154. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  155. package/dist/api-contracts/src/subscription/index.d.ts +49 -71
  156. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  157. package/dist/api-contracts/src/subscription/schema.d.ts +60 -90
  158. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  159. package/dist/api-contracts/src/tag/index.d.ts +72 -79
  160. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  161. package/dist/api-contracts/src/tag/schema.d.ts +2 -3
  162. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  163. package/dist/api-contracts/src/tag-group/schema.d.ts +2 -3
  164. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  165. package/dist/api-contracts/src/telegram/index.d.ts +2165 -1706
  166. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  167. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +54 -58
  168. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  169. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +2 -3
  170. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  171. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  172. package/dist/api-contracts/src/telephony-cdr/index.d.ts +1137 -1202
  173. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  174. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +166 -186
  175. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  176. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +45 -52
  177. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  178. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  179. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  180. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +2 -3
  181. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  182. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +2 -3
  183. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  184. package/dist/api-contracts/src/tenant/schema.d.ts +2 -3
  185. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  186. package/dist/api-contracts/src/ticket/index.d.ts +626 -725
  187. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  188. package/dist/api-contracts/src/ticket/schema.d.ts +58 -81
  189. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  190. package/dist/api-contracts/src/ticket/validation.d.ts +55 -57
  191. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  192. package/dist/api-contracts/src/upload/index.d.ts +34 -36
  193. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  194. package/dist/api-contracts/src/upload/schema.d.ts +2 -3
  195. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  196. package/dist/api-contracts/src/user/index.d.ts +108 -114
  197. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  198. package/dist/api-contracts/src/user/validation.d.ts +4 -5
  199. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  200. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +31 -32
  201. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  202. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +2 -3
  203. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  204. package/dist/api-contracts/src/viber/index.d.ts +1799 -1340
  205. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  206. package/dist/api-contracts/src/webchat/index.d.ts +8313 -6832
  207. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  208. package/dist/api-contracts/src/whatsapp/index.d.ts +1781 -1309
  209. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  210. package/dist/api-contracts/src/whatsapp/validation.d.ts +2 -3
  211. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  212. package/dist/api-contracts/src/widget/index.d.ts +128 -139
  213. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  214. package/dist/api-contracts/src/widget/schema.d.ts +2 -3
  215. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  216. package/dist/api-contracts/src/workflow-rule/index.d.ts +2013 -1696
  217. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  218. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -3
  219. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  220. package/dist/api-contracts/src/wrap-up-form/index.d.ts +147 -166
  221. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  222. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +6 -9
  223. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  224. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +20 -21
  225. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  226. package/dist/api-contracts/utils.d.ts +3 -4
  227. package/dist/api-contracts/utils.d.ts.map +1 -1
  228. package/dist/entities/src/enums/chat.d.ts +3 -0
  229. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  230. package/dist/index.js +3245 -3172
  231. package/dist/index.js.map +1 -1
  232. package/dist/index.mjs +3245 -3172
  233. package/dist/index.mjs.map +1 -1
  234. package/package.json +1 -1
@@ -22,27 +22,9 @@ export declare const commentContract: {
22
22
  }>;
23
23
  summary: "Create a comment.";
24
24
  method: "POST";
25
- path: "ticket-service/comment";
26
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
27
- 'x-tenant': z.ZodString;
28
- authorization: z.ZodString;
29
- 'x-code': z.ZodOptional<z.ZodString>;
30
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
31
- }, "strip", z.ZodTypeAny, {
32
- 'x-tenant': string;
33
- authorization: string;
34
- 'x-client-timezone': string;
35
- 'x-code'?: string | undefined;
36
- }, {
37
- 'x-tenant': string;
38
- authorization: string;
39
- 'x-code'?: string | undefined;
40
- 'x-client-timezone'?: string | undefined;
41
- }>>>;
42
25
  responses: {
43
- 201: z.ZodObject<z.objectUtil.extendShape<{
26
+ 201: z.ZodObject<{
44
27
  requestId: z.ZodString;
45
- }, {
46
28
  comment: z.ZodObject<{
47
29
  id: z.ZodString;
48
30
  createdAt: z.ZodDate;
@@ -402,12 +384,11 @@ export declare const commentContract: {
402
384
  }>, "many">;
403
385
  comment: z.ZodString;
404
386
  mentions: z.ZodArray<z.ZodString, "many">;
405
- ticket: z.ZodObject<z.objectUtil.extendShape<{
387
+ ticket: z.ZodObject<{
406
388
  id: z.ZodString;
407
389
  createdAt: z.ZodDate;
408
390
  updatedAt: z.ZodDate;
409
391
  deletedAt: z.ZodNullable<z.ZodDate>;
410
- }, {
411
392
  title: z.ZodString;
412
393
  description: z.ZodNullable<z.ZodString>;
413
394
  type: z.ZodString;
@@ -827,22 +808,20 @@ export declare const commentContract: {
827
808
  }>>>;
828
809
  reasonToAssign: z.ZodNullable<z.ZodString>;
829
810
  ticketNumber: z.ZodOptional<z.ZodNumber>;
830
- customFields: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
811
+ customFields: z.ZodArray<z.ZodObject<{
831
812
  id: z.ZodString;
832
813
  createdAt: z.ZodDate;
833
814
  updatedAt: z.ZodDate;
834
815
  deletedAt: z.ZodNullable<z.ZodDate>;
835
- }, {
836
816
  textValue: z.ZodNullable<z.ZodString>;
837
817
  booleanValue: z.ZodNullable<z.ZodBoolean>;
838
818
  numberValue: z.ZodNullable<z.ZodNumber>;
839
819
  dateValue: z.ZodNullable<z.ZodDate>;
840
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
820
+ attribute: z.ZodObject<Omit<{
841
821
  id: z.ZodString;
842
822
  createdAt: z.ZodDate;
843
823
  updatedAt: z.ZodDate;
844
824
  deletedAt: z.ZodNullable<z.ZodDate>;
845
- }, {
846
825
  systemName: z.ZodString;
847
826
  displayName: z.ZodString;
848
827
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -851,14 +830,13 @@ export declare const commentContract: {
851
830
  isArchived: z.ZodBoolean;
852
831
  isRequired: z.ZodBoolean;
853
832
  isUnique: z.ZodBoolean;
854
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
855
- label: z.ZodString;
833
+ options: z.ZodArray<z.ZodObject<{
834
+ position: z.ZodNumber;
856
835
  value: z.ZodString;
836
+ label: z.ZodString;
857
837
  isDefault: z.ZodBoolean;
858
- position: z.ZodNumber;
859
- }, {
860
838
  id: z.ZodString;
861
- }>, "strip", z.ZodTypeAny, {
839
+ }, "strip", z.ZodTypeAny, {
862
840
  id: string;
863
841
  position: number;
864
842
  value: string;
@@ -871,15 +849,14 @@ export declare const commentContract: {
871
849
  label: string;
872
850
  isDefault: boolean;
873
851
  }>, "many">;
874
- group: z.ZodObject<z.objectUtil.extendShape<{
852
+ group: z.ZodObject<{
875
853
  id: z.ZodString;
876
854
  createdAt: z.ZodDate;
877
855
  updatedAt: z.ZodDate;
878
856
  deletedAt: z.ZodNullable<z.ZodDate>;
879
- }, {
880
857
  systemName: z.ZodString;
881
858
  displayName: z.ZodString;
882
- }>, "strip", z.ZodTypeAny, {
859
+ }, "strip", z.ZodTypeAny, {
883
860
  id: string;
884
861
  createdAt: Date;
885
862
  updatedAt: Date;
@@ -894,7 +871,7 @@ export declare const commentContract: {
894
871
  systemName: string;
895
872
  displayName: string;
896
873
  }>;
897
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
874
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
898
875
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
899
876
  id: string;
900
877
  position: number;
@@ -921,19 +898,18 @@ export declare const commentContract: {
921
898
  isRequired: boolean;
922
899
  isUnique: boolean;
923
900
  }>;
924
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
901
+ uploads: z.ZodArray<z.ZodObject<{
925
902
  id: z.ZodString;
926
903
  createdAt: z.ZodDate;
927
904
  updatedAt: z.ZodDate;
928
905
  deletedAt: z.ZodNullable<z.ZodDate>;
929
- }, {
930
906
  bucketName: z.ZodString;
931
907
  fileName: z.ZodString;
932
908
  fileSize: z.ZodNumber;
933
909
  fileKey: z.ZodString;
934
910
  fileUrl: z.ZodNullable<z.ZodString>;
935
911
  status: z.ZodNullable<z.ZodString>;
936
- }>, "strip", z.ZodTypeAny, {
912
+ }, "strip", z.ZodTypeAny, {
937
913
  id: string;
938
914
  status: string | null;
939
915
  createdAt: Date;
@@ -956,7 +932,7 @@ export declare const commentContract: {
956
932
  fileSize: number;
957
933
  fileUrl: string | null;
958
934
  }>, "many">;
959
- }>, "strip", z.ZodTypeAny, {
935
+ }, "strip", z.ZodTypeAny, {
960
936
  id: string;
961
937
  createdAt: Date;
962
938
  updatedAt: Date;
@@ -1027,14 +1003,13 @@ export declare const commentContract: {
1027
1003
  fileUrl: string | null;
1028
1004
  }[];
1029
1005
  }>, "many">;
1030
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1006
+ tags: z.ZodArray<z.ZodObject<{
1031
1007
  id: z.ZodString;
1032
1008
  createdAt: z.ZodDate;
1033
1009
  updatedAt: z.ZodDate;
1034
1010
  deletedAt: z.ZodNullable<z.ZodDate>;
1035
- }, {
1036
1011
  name: z.ZodString;
1037
- }>, "strip", z.ZodTypeAny, {
1012
+ }, "strip", z.ZodTypeAny, {
1038
1013
  name: string;
1039
1014
  id: string;
1040
1015
  createdAt: Date;
@@ -1047,12 +1022,11 @@ export declare const commentContract: {
1047
1022
  updatedAt: Date;
1048
1023
  deletedAt: Date | null;
1049
1024
  }>, "many">;
1050
- categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1025
+ categories: z.ZodArray<z.ZodObject<{
1051
1026
  id: z.ZodString;
1052
1027
  createdAt: z.ZodDate;
1053
1028
  updatedAt: z.ZodDate;
1054
1029
  deletedAt: z.ZodNullable<z.ZodDate>;
1055
- }, {
1056
1030
  value: z.ZodString;
1057
1031
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1058
1032
  parentId: z.ZodNullable<z.ZodString>;
@@ -1105,7 +1079,7 @@ export declare const commentContract: {
1105
1079
  childCategoryList: any[];
1106
1080
  }[];
1107
1081
  }>, "many">;
1108
- }>, "strip", z.ZodTypeAny, {
1082
+ }, "strip", z.ZodTypeAny, {
1109
1083
  id: string;
1110
1084
  value: string;
1111
1085
  createdAt: Date;
@@ -1159,14 +1133,13 @@ export declare const commentContract: {
1159
1133
  notes: z.ZodNullable<z.ZodString>;
1160
1134
  contactProfile: z.ZodNullable<z.ZodString>;
1161
1135
  socialProfileUrl: z.ZodNullable<z.ZodString>;
1162
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1136
+ tags: z.ZodArray<z.ZodObject<{
1163
1137
  id: z.ZodString;
1164
1138
  createdAt: z.ZodDate;
1165
1139
  updatedAt: z.ZodDate;
1166
1140
  deletedAt: z.ZodNullable<z.ZodDate>;
1167
- }, {
1168
1141
  name: z.ZodString;
1169
- }>, "strip", z.ZodTypeAny, {
1142
+ }, "strip", z.ZodTypeAny, {
1170
1143
  name: string;
1171
1144
  id: string;
1172
1145
  createdAt: Date;
@@ -1179,32 +1152,29 @@ export declare const commentContract: {
1179
1152
  updatedAt: Date;
1180
1153
  deletedAt: Date | null;
1181
1154
  }>, "many">;
1182
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
1155
+ company: z.ZodNullable<z.ZodObject<Omit<{
1183
1156
  id: z.ZodString;
1184
1157
  createdAt: z.ZodDate;
1185
1158
  updatedAt: z.ZodDate;
1186
1159
  deletedAt: z.ZodNullable<z.ZodDate>;
1187
- }, {
1188
1160
  name: z.ZodOptional<z.ZodString>;
1189
1161
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1190
1162
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1191
1163
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1192
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1164
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1193
1165
  id: z.ZodString;
1194
1166
  createdAt: z.ZodDate;
1195
1167
  updatedAt: z.ZodDate;
1196
1168
  deletedAt: z.ZodNullable<z.ZodDate>;
1197
- }, {
1198
1169
  textValue: z.ZodNullable<z.ZodString>;
1199
1170
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1200
1171
  numberValue: z.ZodNullable<z.ZodNumber>;
1201
1172
  dateValue: z.ZodNullable<z.ZodDate>;
1202
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
1173
+ attribute: z.ZodObject<Omit<{
1203
1174
  id: z.ZodString;
1204
1175
  createdAt: z.ZodDate;
1205
1176
  updatedAt: z.ZodDate;
1206
1177
  deletedAt: z.ZodNullable<z.ZodDate>;
1207
- }, {
1208
1178
  systemName: z.ZodString;
1209
1179
  displayName: z.ZodString;
1210
1180
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1213,14 +1183,13 @@ export declare const commentContract: {
1213
1183
  isArchived: z.ZodBoolean;
1214
1184
  isRequired: z.ZodBoolean;
1215
1185
  isUnique: z.ZodBoolean;
1216
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1217
- label: z.ZodString;
1186
+ options: z.ZodArray<z.ZodObject<{
1187
+ position: z.ZodNumber;
1218
1188
  value: z.ZodString;
1189
+ label: z.ZodString;
1219
1190
  isDefault: z.ZodBoolean;
1220
- position: z.ZodNumber;
1221
- }, {
1222
1191
  id: z.ZodString;
1223
- }>, "strip", z.ZodTypeAny, {
1192
+ }, "strip", z.ZodTypeAny, {
1224
1193
  id: string;
1225
1194
  position: number;
1226
1195
  value: string;
@@ -1233,15 +1202,14 @@ export declare const commentContract: {
1233
1202
  label: string;
1234
1203
  isDefault: boolean;
1235
1204
  }>, "many">;
1236
- group: z.ZodObject<z.objectUtil.extendShape<{
1205
+ group: z.ZodObject<{
1237
1206
  id: z.ZodString;
1238
1207
  createdAt: z.ZodDate;
1239
1208
  updatedAt: z.ZodDate;
1240
1209
  deletedAt: z.ZodNullable<z.ZodDate>;
1241
- }, {
1242
1210
  systemName: z.ZodString;
1243
1211
  displayName: z.ZodString;
1244
- }>, "strip", z.ZodTypeAny, {
1212
+ }, "strip", z.ZodTypeAny, {
1245
1213
  id: string;
1246
1214
  createdAt: Date;
1247
1215
  updatedAt: Date;
@@ -1256,7 +1224,7 @@ export declare const commentContract: {
1256
1224
  systemName: string;
1257
1225
  displayName: string;
1258
1226
  }>;
1259
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
1227
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
1260
1228
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1261
1229
  id: string;
1262
1230
  position: number;
@@ -1283,7 +1251,7 @@ export declare const commentContract: {
1283
1251
  isRequired: boolean;
1284
1252
  isUnique: boolean;
1285
1253
  }>;
1286
- }>, "strip", z.ZodTypeAny, {
1254
+ }, "strip", z.ZodTypeAny, {
1287
1255
  id: string;
1288
1256
  createdAt: Date;
1289
1257
  updatedAt: Date;
@@ -1330,7 +1298,7 @@ export declare const commentContract: {
1330
1298
  numberValue: number | null;
1331
1299
  dateValue: Date | null;
1332
1300
  }>, "many">>;
1333
- }>, "customFields">, "strip", z.ZodTypeAny, {
1301
+ }, "customFields">, "strip", z.ZodTypeAny, {
1334
1302
  id: string;
1335
1303
  createdAt: Date;
1336
1304
  updatedAt: Date;
@@ -1411,12 +1379,11 @@ export declare const commentContract: {
1411
1379
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1412
1380
  numberValue: z.ZodNullable<z.ZodNumber>;
1413
1381
  dateValue: z.ZodNullable<z.ZodDate>;
1414
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
1382
+ attribute: z.ZodObject<Omit<{
1415
1383
  id: z.ZodString;
1416
1384
  createdAt: z.ZodDate;
1417
1385
  updatedAt: z.ZodDate;
1418
1386
  deletedAt: z.ZodNullable<z.ZodDate>;
1419
- }, {
1420
1387
  systemName: z.ZodString;
1421
1388
  displayName: z.ZodString;
1422
1389
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1425,14 +1392,13 @@ export declare const commentContract: {
1425
1392
  isArchived: z.ZodBoolean;
1426
1393
  isRequired: z.ZodBoolean;
1427
1394
  isUnique: z.ZodBoolean;
1428
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1429
- label: z.ZodString;
1395
+ options: z.ZodArray<z.ZodObject<{
1396
+ position: z.ZodNumber;
1430
1397
  value: z.ZodString;
1398
+ label: z.ZodString;
1431
1399
  isDefault: z.ZodBoolean;
1432
- position: z.ZodNumber;
1433
- }, {
1434
1400
  id: z.ZodString;
1435
- }>, "strip", z.ZodTypeAny, {
1401
+ }, "strip", z.ZodTypeAny, {
1436
1402
  id: string;
1437
1403
  position: number;
1438
1404
  value: string;
@@ -1445,15 +1411,14 @@ export declare const commentContract: {
1445
1411
  label: string;
1446
1412
  isDefault: boolean;
1447
1413
  }>, "many">;
1448
- group: z.ZodObject<z.objectUtil.extendShape<{
1414
+ group: z.ZodObject<{
1449
1415
  id: z.ZodString;
1450
1416
  createdAt: z.ZodDate;
1451
1417
  updatedAt: z.ZodDate;
1452
1418
  deletedAt: z.ZodNullable<z.ZodDate>;
1453
- }, {
1454
1419
  systemName: z.ZodString;
1455
1420
  displayName: z.ZodString;
1456
- }>, "strip", z.ZodTypeAny, {
1421
+ }, "strip", z.ZodTypeAny, {
1457
1422
  id: string;
1458
1423
  createdAt: Date;
1459
1424
  updatedAt: Date;
@@ -1468,7 +1433,7 @@ export declare const commentContract: {
1468
1433
  systemName: string;
1469
1434
  displayName: string;
1470
1435
  }>;
1471
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
1436
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
1472
1437
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1473
1438
  id: string;
1474
1439
  position: number;
@@ -1495,19 +1460,18 @@ export declare const commentContract: {
1495
1460
  isRequired: boolean;
1496
1461
  isUnique: boolean;
1497
1462
  }>;
1498
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1463
+ uploads: z.ZodArray<z.ZodObject<{
1499
1464
  id: z.ZodString;
1500
1465
  createdAt: z.ZodDate;
1501
1466
  updatedAt: z.ZodDate;
1502
1467
  deletedAt: z.ZodNullable<z.ZodDate>;
1503
- }, {
1504
1468
  bucketName: z.ZodString;
1505
1469
  fileName: z.ZodString;
1506
1470
  fileSize: z.ZodNumber;
1507
1471
  fileKey: z.ZodString;
1508
1472
  fileUrl: z.ZodNullable<z.ZodString>;
1509
1473
  status: z.ZodNullable<z.ZodString>;
1510
- }>, "strip", z.ZodTypeAny, {
1474
+ }, "strip", z.ZodTypeAny, {
1511
1475
  id: string;
1512
1476
  status: string | null;
1513
1477
  createdAt: Date;
@@ -2280,7 +2244,7 @@ export declare const commentContract: {
2280
2244
  entity: string;
2281
2245
  };
2282
2246
  }>, "many">;
2283
- }>, "strip", z.ZodTypeAny, {
2247
+ }, "strip", z.ZodTypeAny, {
2284
2248
  type: string;
2285
2249
  id: string;
2286
2250
  channel: string;
@@ -2532,7 +2496,7 @@ export declare const commentContract: {
2532
2496
  assigneeId: string;
2533
2497
  creatorId: string;
2534
2498
  reasonToAssign: string | null;
2535
- assignee?: {
2499
+ creator?: {
2536
2500
  name: string;
2537
2501
  id: string;
2538
2502
  address: string | null;
@@ -2576,7 +2540,7 @@ export declare const commentContract: {
2576
2540
  telephonySignature: string | null;
2577
2541
  };
2578
2542
  } | null | undefined;
2579
- creator?: {
2543
+ assignee?: {
2580
2544
  name: string;
2581
2545
  id: string;
2582
2546
  address: string | null;
@@ -2873,7 +2837,7 @@ export declare const commentContract: {
2873
2837
  assigneeId: string;
2874
2838
  creatorId: string;
2875
2839
  reasonToAssign: string | null;
2876
- assignee?: {
2840
+ creator?: {
2877
2841
  name: string;
2878
2842
  id: string;
2879
2843
  address: string | null;
@@ -2917,7 +2881,7 @@ export declare const commentContract: {
2917
2881
  telephonySignature: string | null;
2918
2882
  };
2919
2883
  } | null | undefined;
2920
- creator?: {
2884
+ assignee?: {
2921
2885
  name: string;
2922
2886
  id: string;
2923
2887
  address: string | null;
@@ -3424,7 +3388,7 @@ export declare const commentContract: {
3424
3388
  assigneeId: string;
3425
3389
  creatorId: string;
3426
3390
  reasonToAssign: string | null;
3427
- assignee?: {
3391
+ creator?: {
3428
3392
  name: string;
3429
3393
  id: string;
3430
3394
  address: string | null;
@@ -3468,7 +3432,7 @@ export declare const commentContract: {
3468
3432
  telephonySignature: string | null;
3469
3433
  };
3470
3434
  } | null | undefined;
3471
- creator?: {
3435
+ assignee?: {
3472
3436
  name: string;
3473
3437
  id: string;
3474
3438
  address: string | null;
@@ -3877,7 +3841,7 @@ export declare const commentContract: {
3877
3841
  assigneeId: string;
3878
3842
  creatorId: string;
3879
3843
  reasonToAssign: string | null;
3880
- assignee?: {
3844
+ creator?: {
3881
3845
  name: string;
3882
3846
  id: string;
3883
3847
  address: string | null;
@@ -3921,7 +3885,7 @@ export declare const commentContract: {
3921
3885
  telephonySignature: string | null;
3922
3886
  };
3923
3887
  } | null | undefined;
3924
- creator?: {
3888
+ assignee?: {
3925
3889
  name: string;
3926
3890
  id: string;
3927
3891
  address: string | null;
@@ -4074,7 +4038,7 @@ export declare const commentContract: {
4074
4038
  mentions: string[];
4075
4039
  comment: string;
4076
4040
  }>;
4077
- }>, "strip", z.ZodTypeAny, {
4041
+ }, "strip", z.ZodTypeAny, {
4078
4042
  requestId: string;
4079
4043
  comment: {
4080
4044
  id: string;
@@ -4333,7 +4297,7 @@ export declare const commentContract: {
4333
4297
  assigneeId: string;
4334
4298
  creatorId: string;
4335
4299
  reasonToAssign: string | null;
4336
- assignee?: {
4300
+ creator?: {
4337
4301
  name: string;
4338
4302
  id: string;
4339
4303
  address: string | null;
@@ -4377,7 +4341,7 @@ export declare const commentContract: {
4377
4341
  telephonySignature: string | null;
4378
4342
  };
4379
4343
  } | null | undefined;
4380
- creator?: {
4344
+ assignee?: {
4381
4345
  name: string;
4382
4346
  id: string;
4383
4347
  address: string | null;
@@ -4789,7 +4753,7 @@ export declare const commentContract: {
4789
4753
  assigneeId: string;
4790
4754
  creatorId: string;
4791
4755
  reasonToAssign: string | null;
4792
- assignee?: {
4756
+ creator?: {
4793
4757
  name: string;
4794
4758
  id: string;
4795
4759
  address: string | null;
@@ -4833,7 +4797,7 @@ export declare const commentContract: {
4833
4797
  telephonySignature: string | null;
4834
4798
  };
4835
4799
  } | null | undefined;
4836
- creator?: {
4800
+ assignee?: {
4837
4801
  name: string;
4838
4802
  id: string;
4839
4803
  address: string | null;
@@ -5015,20 +4979,6 @@ export declare const commentContract: {
5015
4979
  error?: any;
5016
4980
  }>;
5017
4981
  };
5018
- };
5019
- getComments: {
5020
- summary: "Get all comments.";
5021
- method: "GET";
5022
- query: z.ZodOptional<z.ZodObject<{
5023
- ticketId: z.ZodOptional<z.ZodString>;
5024
- deleted: z.ZodEffects<z.ZodDefault<z.ZodEnum<["true", "false"]>>, boolean, "false" | "true" | undefined>;
5025
- }, "strip", z.ZodTypeAny, {
5026
- deleted: boolean;
5027
- ticketId?: string | undefined;
5028
- }, {
5029
- deleted?: "false" | "true" | undefined;
5030
- ticketId?: string | undefined;
5031
- }>>;
5032
4982
  path: "ticket-service/comment";
5033
4983
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5034
4984
  'x-tenant': z.ZodString;
@@ -5046,6 +4996,20 @@ export declare const commentContract: {
5046
4996
  'x-code'?: string | undefined;
5047
4997
  'x-client-timezone'?: string | undefined;
5048
4998
  }>>>;
4999
+ };
5000
+ getComments: {
5001
+ summary: "Get all comments.";
5002
+ method: "GET";
5003
+ query: z.ZodOptional<z.ZodObject<{
5004
+ ticketId: z.ZodOptional<z.ZodString>;
5005
+ deleted: z.ZodEffects<z.ZodDefault<z.ZodEnum<["true", "false"]>>, boolean, "false" | "true" | undefined>;
5006
+ }, "strip", z.ZodTypeAny, {
5007
+ deleted: boolean;
5008
+ ticketId?: string | undefined;
5009
+ }, {
5010
+ ticketId?: string | undefined;
5011
+ deleted?: "false" | "true" | undefined;
5012
+ }>>;
5049
5013
  responses: {
5050
5014
  201: z.ZodArray<z.ZodObject<{
5051
5015
  id: z.ZodString;
@@ -5406,12 +5370,11 @@ export declare const commentContract: {
5406
5370
  }>, "many">;
5407
5371
  comment: z.ZodString;
5408
5372
  mentions: z.ZodArray<z.ZodString, "many">;
5409
- ticket: z.ZodObject<z.objectUtil.extendShape<{
5373
+ ticket: z.ZodObject<{
5410
5374
  id: z.ZodString;
5411
5375
  createdAt: z.ZodDate;
5412
5376
  updatedAt: z.ZodDate;
5413
5377
  deletedAt: z.ZodNullable<z.ZodDate>;
5414
- }, {
5415
5378
  title: z.ZodString;
5416
5379
  description: z.ZodNullable<z.ZodString>;
5417
5380
  type: z.ZodString;
@@ -5831,22 +5794,20 @@ export declare const commentContract: {
5831
5794
  }>>>;
5832
5795
  reasonToAssign: z.ZodNullable<z.ZodString>;
5833
5796
  ticketNumber: z.ZodOptional<z.ZodNumber>;
5834
- customFields: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5797
+ customFields: z.ZodArray<z.ZodObject<{
5835
5798
  id: z.ZodString;
5836
5799
  createdAt: z.ZodDate;
5837
5800
  updatedAt: z.ZodDate;
5838
5801
  deletedAt: z.ZodNullable<z.ZodDate>;
5839
- }, {
5840
5802
  textValue: z.ZodNullable<z.ZodString>;
5841
5803
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5842
5804
  numberValue: z.ZodNullable<z.ZodNumber>;
5843
5805
  dateValue: z.ZodNullable<z.ZodDate>;
5844
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5806
+ attribute: z.ZodObject<Omit<{
5845
5807
  id: z.ZodString;
5846
5808
  createdAt: z.ZodDate;
5847
5809
  updatedAt: z.ZodDate;
5848
5810
  deletedAt: z.ZodNullable<z.ZodDate>;
5849
- }, {
5850
5811
  systemName: z.ZodString;
5851
5812
  displayName: z.ZodString;
5852
5813
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5855,14 +5816,13 @@ export declare const commentContract: {
5855
5816
  isArchived: z.ZodBoolean;
5856
5817
  isRequired: z.ZodBoolean;
5857
5818
  isUnique: z.ZodBoolean;
5858
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5859
- label: z.ZodString;
5819
+ options: z.ZodArray<z.ZodObject<{
5820
+ position: z.ZodNumber;
5860
5821
  value: z.ZodString;
5822
+ label: z.ZodString;
5861
5823
  isDefault: z.ZodBoolean;
5862
- position: z.ZodNumber;
5863
- }, {
5864
5824
  id: z.ZodString;
5865
- }>, "strip", z.ZodTypeAny, {
5825
+ }, "strip", z.ZodTypeAny, {
5866
5826
  id: string;
5867
5827
  position: number;
5868
5828
  value: string;
@@ -5875,15 +5835,14 @@ export declare const commentContract: {
5875
5835
  label: string;
5876
5836
  isDefault: boolean;
5877
5837
  }>, "many">;
5878
- group: z.ZodObject<z.objectUtil.extendShape<{
5838
+ group: z.ZodObject<{
5879
5839
  id: z.ZodString;
5880
5840
  createdAt: z.ZodDate;
5881
5841
  updatedAt: z.ZodDate;
5882
5842
  deletedAt: z.ZodNullable<z.ZodDate>;
5883
- }, {
5884
5843
  systemName: z.ZodString;
5885
5844
  displayName: z.ZodString;
5886
- }>, "strip", z.ZodTypeAny, {
5845
+ }, "strip", z.ZodTypeAny, {
5887
5846
  id: string;
5888
5847
  createdAt: Date;
5889
5848
  updatedAt: Date;
@@ -5898,7 +5857,7 @@ export declare const commentContract: {
5898
5857
  systemName: string;
5899
5858
  displayName: string;
5900
5859
  }>;
5901
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
5860
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
5902
5861
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5903
5862
  id: string;
5904
5863
  position: number;
@@ -5925,19 +5884,18 @@ export declare const commentContract: {
5925
5884
  isRequired: boolean;
5926
5885
  isUnique: boolean;
5927
5886
  }>;
5928
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5887
+ uploads: z.ZodArray<z.ZodObject<{
5929
5888
  id: z.ZodString;
5930
5889
  createdAt: z.ZodDate;
5931
5890
  updatedAt: z.ZodDate;
5932
5891
  deletedAt: z.ZodNullable<z.ZodDate>;
5933
- }, {
5934
5892
  bucketName: z.ZodString;
5935
5893
  fileName: z.ZodString;
5936
5894
  fileSize: z.ZodNumber;
5937
5895
  fileKey: z.ZodString;
5938
5896
  fileUrl: z.ZodNullable<z.ZodString>;
5939
5897
  status: z.ZodNullable<z.ZodString>;
5940
- }>, "strip", z.ZodTypeAny, {
5898
+ }, "strip", z.ZodTypeAny, {
5941
5899
  id: string;
5942
5900
  status: string | null;
5943
5901
  createdAt: Date;
@@ -5960,7 +5918,7 @@ export declare const commentContract: {
5960
5918
  fileSize: number;
5961
5919
  fileUrl: string | null;
5962
5920
  }>, "many">;
5963
- }>, "strip", z.ZodTypeAny, {
5921
+ }, "strip", z.ZodTypeAny, {
5964
5922
  id: string;
5965
5923
  createdAt: Date;
5966
5924
  updatedAt: Date;
@@ -6031,14 +5989,13 @@ export declare const commentContract: {
6031
5989
  fileUrl: string | null;
6032
5990
  }[];
6033
5991
  }>, "many">;
6034
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5992
+ tags: z.ZodArray<z.ZodObject<{
6035
5993
  id: z.ZodString;
6036
5994
  createdAt: z.ZodDate;
6037
5995
  updatedAt: z.ZodDate;
6038
5996
  deletedAt: z.ZodNullable<z.ZodDate>;
6039
- }, {
6040
5997
  name: z.ZodString;
6041
- }>, "strip", z.ZodTypeAny, {
5998
+ }, "strip", z.ZodTypeAny, {
6042
5999
  name: string;
6043
6000
  id: string;
6044
6001
  createdAt: Date;
@@ -6051,12 +6008,11 @@ export declare const commentContract: {
6051
6008
  updatedAt: Date;
6052
6009
  deletedAt: Date | null;
6053
6010
  }>, "many">;
6054
- categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6011
+ categories: z.ZodArray<z.ZodObject<{
6055
6012
  id: z.ZodString;
6056
6013
  createdAt: z.ZodDate;
6057
6014
  updatedAt: z.ZodDate;
6058
6015
  deletedAt: z.ZodNullable<z.ZodDate>;
6059
- }, {
6060
6016
  value: z.ZodString;
6061
6017
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
6062
6018
  parentId: z.ZodNullable<z.ZodString>;
@@ -6109,7 +6065,7 @@ export declare const commentContract: {
6109
6065
  childCategoryList: any[];
6110
6066
  }[];
6111
6067
  }>, "many">;
6112
- }>, "strip", z.ZodTypeAny, {
6068
+ }, "strip", z.ZodTypeAny, {
6113
6069
  id: string;
6114
6070
  value: string;
6115
6071
  createdAt: Date;
@@ -6163,14 +6119,13 @@ export declare const commentContract: {
6163
6119
  notes: z.ZodNullable<z.ZodString>;
6164
6120
  contactProfile: z.ZodNullable<z.ZodString>;
6165
6121
  socialProfileUrl: z.ZodNullable<z.ZodString>;
6166
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6122
+ tags: z.ZodArray<z.ZodObject<{
6167
6123
  id: z.ZodString;
6168
6124
  createdAt: z.ZodDate;
6169
6125
  updatedAt: z.ZodDate;
6170
6126
  deletedAt: z.ZodNullable<z.ZodDate>;
6171
- }, {
6172
6127
  name: z.ZodString;
6173
- }>, "strip", z.ZodTypeAny, {
6128
+ }, "strip", z.ZodTypeAny, {
6174
6129
  name: string;
6175
6130
  id: string;
6176
6131
  createdAt: Date;
@@ -6183,32 +6138,29 @@ export declare const commentContract: {
6183
6138
  updatedAt: Date;
6184
6139
  deletedAt: Date | null;
6185
6140
  }>, "many">;
6186
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
6141
+ company: z.ZodNullable<z.ZodObject<Omit<{
6187
6142
  id: z.ZodString;
6188
6143
  createdAt: z.ZodDate;
6189
6144
  updatedAt: z.ZodDate;
6190
6145
  deletedAt: z.ZodNullable<z.ZodDate>;
6191
- }, {
6192
6146
  name: z.ZodOptional<z.ZodString>;
6193
6147
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6194
6148
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6195
6149
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6196
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6150
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
6197
6151
  id: z.ZodString;
6198
6152
  createdAt: z.ZodDate;
6199
6153
  updatedAt: z.ZodDate;
6200
6154
  deletedAt: z.ZodNullable<z.ZodDate>;
6201
- }, {
6202
6155
  textValue: z.ZodNullable<z.ZodString>;
6203
6156
  booleanValue: z.ZodNullable<z.ZodBoolean>;
6204
6157
  numberValue: z.ZodNullable<z.ZodNumber>;
6205
6158
  dateValue: z.ZodNullable<z.ZodDate>;
6206
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
6159
+ attribute: z.ZodObject<Omit<{
6207
6160
  id: z.ZodString;
6208
6161
  createdAt: z.ZodDate;
6209
6162
  updatedAt: z.ZodDate;
6210
6163
  deletedAt: z.ZodNullable<z.ZodDate>;
6211
- }, {
6212
6164
  systemName: z.ZodString;
6213
6165
  displayName: z.ZodString;
6214
6166
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -6217,14 +6169,13 @@ export declare const commentContract: {
6217
6169
  isArchived: z.ZodBoolean;
6218
6170
  isRequired: z.ZodBoolean;
6219
6171
  isUnique: z.ZodBoolean;
6220
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6221
- label: z.ZodString;
6172
+ options: z.ZodArray<z.ZodObject<{
6173
+ position: z.ZodNumber;
6222
6174
  value: z.ZodString;
6175
+ label: z.ZodString;
6223
6176
  isDefault: z.ZodBoolean;
6224
- position: z.ZodNumber;
6225
- }, {
6226
6177
  id: z.ZodString;
6227
- }>, "strip", z.ZodTypeAny, {
6178
+ }, "strip", z.ZodTypeAny, {
6228
6179
  id: string;
6229
6180
  position: number;
6230
6181
  value: string;
@@ -6237,15 +6188,14 @@ export declare const commentContract: {
6237
6188
  label: string;
6238
6189
  isDefault: boolean;
6239
6190
  }>, "many">;
6240
- group: z.ZodObject<z.objectUtil.extendShape<{
6191
+ group: z.ZodObject<{
6241
6192
  id: z.ZodString;
6242
6193
  createdAt: z.ZodDate;
6243
6194
  updatedAt: z.ZodDate;
6244
6195
  deletedAt: z.ZodNullable<z.ZodDate>;
6245
- }, {
6246
6196
  systemName: z.ZodString;
6247
6197
  displayName: z.ZodString;
6248
- }>, "strip", z.ZodTypeAny, {
6198
+ }, "strip", z.ZodTypeAny, {
6249
6199
  id: string;
6250
6200
  createdAt: Date;
6251
6201
  updatedAt: Date;
@@ -6260,7 +6210,7 @@ export declare const commentContract: {
6260
6210
  systemName: string;
6261
6211
  displayName: string;
6262
6212
  }>;
6263
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
6213
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
6264
6214
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6265
6215
  id: string;
6266
6216
  position: number;
@@ -6287,7 +6237,7 @@ export declare const commentContract: {
6287
6237
  isRequired: boolean;
6288
6238
  isUnique: boolean;
6289
6239
  }>;
6290
- }>, "strip", z.ZodTypeAny, {
6240
+ }, "strip", z.ZodTypeAny, {
6291
6241
  id: string;
6292
6242
  createdAt: Date;
6293
6243
  updatedAt: Date;
@@ -6334,7 +6284,7 @@ export declare const commentContract: {
6334
6284
  numberValue: number | null;
6335
6285
  dateValue: Date | null;
6336
6286
  }>, "many">>;
6337
- }>, "customFields">, "strip", z.ZodTypeAny, {
6287
+ }, "customFields">, "strip", z.ZodTypeAny, {
6338
6288
  id: string;
6339
6289
  createdAt: Date;
6340
6290
  updatedAt: Date;
@@ -6415,12 +6365,11 @@ export declare const commentContract: {
6415
6365
  booleanValue: z.ZodNullable<z.ZodBoolean>;
6416
6366
  numberValue: z.ZodNullable<z.ZodNumber>;
6417
6367
  dateValue: z.ZodNullable<z.ZodDate>;
6418
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
6368
+ attribute: z.ZodObject<Omit<{
6419
6369
  id: z.ZodString;
6420
6370
  createdAt: z.ZodDate;
6421
6371
  updatedAt: z.ZodDate;
6422
6372
  deletedAt: z.ZodNullable<z.ZodDate>;
6423
- }, {
6424
6373
  systemName: z.ZodString;
6425
6374
  displayName: z.ZodString;
6426
6375
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -6429,14 +6378,13 @@ export declare const commentContract: {
6429
6378
  isArchived: z.ZodBoolean;
6430
6379
  isRequired: z.ZodBoolean;
6431
6380
  isUnique: z.ZodBoolean;
6432
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6433
- label: z.ZodString;
6381
+ options: z.ZodArray<z.ZodObject<{
6382
+ position: z.ZodNumber;
6434
6383
  value: z.ZodString;
6384
+ label: z.ZodString;
6435
6385
  isDefault: z.ZodBoolean;
6436
- position: z.ZodNumber;
6437
- }, {
6438
6386
  id: z.ZodString;
6439
- }>, "strip", z.ZodTypeAny, {
6387
+ }, "strip", z.ZodTypeAny, {
6440
6388
  id: string;
6441
6389
  position: number;
6442
6390
  value: string;
@@ -6449,15 +6397,14 @@ export declare const commentContract: {
6449
6397
  label: string;
6450
6398
  isDefault: boolean;
6451
6399
  }>, "many">;
6452
- group: z.ZodObject<z.objectUtil.extendShape<{
6400
+ group: z.ZodObject<{
6453
6401
  id: z.ZodString;
6454
6402
  createdAt: z.ZodDate;
6455
6403
  updatedAt: z.ZodDate;
6456
6404
  deletedAt: z.ZodNullable<z.ZodDate>;
6457
- }, {
6458
6405
  systemName: z.ZodString;
6459
6406
  displayName: z.ZodString;
6460
- }>, "strip", z.ZodTypeAny, {
6407
+ }, "strip", z.ZodTypeAny, {
6461
6408
  id: string;
6462
6409
  createdAt: Date;
6463
6410
  updatedAt: Date;
@@ -6472,7 +6419,7 @@ export declare const commentContract: {
6472
6419
  systemName: string;
6473
6420
  displayName: string;
6474
6421
  }>;
6475
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
6422
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
6476
6423
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6477
6424
  id: string;
6478
6425
  position: number;
@@ -6499,19 +6446,18 @@ export declare const commentContract: {
6499
6446
  isRequired: boolean;
6500
6447
  isUnique: boolean;
6501
6448
  }>;
6502
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6449
+ uploads: z.ZodArray<z.ZodObject<{
6503
6450
  id: z.ZodString;
6504
6451
  createdAt: z.ZodDate;
6505
6452
  updatedAt: z.ZodDate;
6506
6453
  deletedAt: z.ZodNullable<z.ZodDate>;
6507
- }, {
6508
6454
  bucketName: z.ZodString;
6509
6455
  fileName: z.ZodString;
6510
6456
  fileSize: z.ZodNumber;
6511
6457
  fileKey: z.ZodString;
6512
6458
  fileUrl: z.ZodNullable<z.ZodString>;
6513
6459
  status: z.ZodNullable<z.ZodString>;
6514
- }>, "strip", z.ZodTypeAny, {
6460
+ }, "strip", z.ZodTypeAny, {
6515
6461
  id: string;
6516
6462
  status: string | null;
6517
6463
  createdAt: Date;
@@ -7284,7 +7230,7 @@ export declare const commentContract: {
7284
7230
  entity: string;
7285
7231
  };
7286
7232
  }>, "many">;
7287
- }>, "strip", z.ZodTypeAny, {
7233
+ }, "strip", z.ZodTypeAny, {
7288
7234
  type: string;
7289
7235
  id: string;
7290
7236
  channel: string;
@@ -7536,7 +7482,7 @@ export declare const commentContract: {
7536
7482
  assigneeId: string;
7537
7483
  creatorId: string;
7538
7484
  reasonToAssign: string | null;
7539
- assignee?: {
7485
+ creator?: {
7540
7486
  name: string;
7541
7487
  id: string;
7542
7488
  address: string | null;
@@ -7580,7 +7526,7 @@ export declare const commentContract: {
7580
7526
  telephonySignature: string | null;
7581
7527
  };
7582
7528
  } | null | undefined;
7583
- creator?: {
7529
+ assignee?: {
7584
7530
  name: string;
7585
7531
  id: string;
7586
7532
  address: string | null;
@@ -7877,7 +7823,7 @@ export declare const commentContract: {
7877
7823
  assigneeId: string;
7878
7824
  creatorId: string;
7879
7825
  reasonToAssign: string | null;
7880
- assignee?: {
7826
+ creator?: {
7881
7827
  name: string;
7882
7828
  id: string;
7883
7829
  address: string | null;
@@ -7921,7 +7867,7 @@ export declare const commentContract: {
7921
7867
  telephonySignature: string | null;
7922
7868
  };
7923
7869
  } | null | undefined;
7924
- creator?: {
7870
+ assignee?: {
7925
7871
  name: string;
7926
7872
  id: string;
7927
7873
  address: string | null;
@@ -8428,7 +8374,7 @@ export declare const commentContract: {
8428
8374
  assigneeId: string;
8429
8375
  creatorId: string;
8430
8376
  reasonToAssign: string | null;
8431
- assignee?: {
8377
+ creator?: {
8432
8378
  name: string;
8433
8379
  id: string;
8434
8380
  address: string | null;
@@ -8472,7 +8418,7 @@ export declare const commentContract: {
8472
8418
  telephonySignature: string | null;
8473
8419
  };
8474
8420
  } | null | undefined;
8475
- creator?: {
8421
+ assignee?: {
8476
8422
  name: string;
8477
8423
  id: string;
8478
8424
  address: string | null;
@@ -8881,7 +8827,7 @@ export declare const commentContract: {
8881
8827
  assigneeId: string;
8882
8828
  creatorId: string;
8883
8829
  reasonToAssign: string | null;
8884
- assignee?: {
8830
+ creator?: {
8885
8831
  name: string;
8886
8832
  id: string;
8887
8833
  address: string | null;
@@ -8925,7 +8871,7 @@ export declare const commentContract: {
8925
8871
  telephonySignature: string | null;
8926
8872
  };
8927
8873
  } | null | undefined;
8928
- creator?: {
8874
+ assignee?: {
8929
8875
  name: string;
8930
8876
  id: string;
8931
8877
  address: string | null;
@@ -9106,6 +9052,23 @@ export declare const commentContract: {
9106
9052
  error?: any;
9107
9053
  }>;
9108
9054
  };
9055
+ path: "ticket-service/comment";
9056
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9057
+ 'x-tenant': z.ZodString;
9058
+ authorization: z.ZodString;
9059
+ 'x-code': z.ZodOptional<z.ZodString>;
9060
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
9061
+ }, "strip", z.ZodTypeAny, {
9062
+ 'x-tenant': string;
9063
+ authorization: string;
9064
+ 'x-client-timezone': string;
9065
+ 'x-code'?: string | undefined;
9066
+ }, {
9067
+ 'x-tenant': string;
9068
+ authorization: string;
9069
+ 'x-code'?: string | undefined;
9070
+ 'x-client-timezone'?: string | undefined;
9071
+ }>>>;
9109
9072
  };
9110
9073
  updateComment: {
9111
9074
  body: z.ZodObject<{
@@ -9130,27 +9093,9 @@ export declare const commentContract: {
9130
9093
  }, {
9131
9094
  id: string;
9132
9095
  }>;
9133
- path: "ticket-service/comment/:id";
9134
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9135
- 'x-tenant': z.ZodString;
9136
- authorization: z.ZodString;
9137
- 'x-code': z.ZodOptional<z.ZodString>;
9138
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
9139
- }, "strip", z.ZodTypeAny, {
9140
- 'x-tenant': string;
9141
- authorization: string;
9142
- 'x-client-timezone': string;
9143
- 'x-code'?: string | undefined;
9144
- }, {
9145
- 'x-tenant': string;
9146
- authorization: string;
9147
- 'x-code'?: string | undefined;
9148
- 'x-client-timezone'?: string | undefined;
9149
- }>>>;
9150
9096
  responses: {
9151
- 200: z.ZodObject<z.objectUtil.extendShape<{
9097
+ 200: z.ZodObject<{
9152
9098
  requestId: z.ZodString;
9153
- }, {
9154
9099
  comment: z.ZodObject<{
9155
9100
  id: z.ZodString;
9156
9101
  createdAt: z.ZodDate;
@@ -9510,12 +9455,11 @@ export declare const commentContract: {
9510
9455
  }>, "many">;
9511
9456
  comment: z.ZodString;
9512
9457
  mentions: z.ZodArray<z.ZodString, "many">;
9513
- ticket: z.ZodObject<z.objectUtil.extendShape<{
9458
+ ticket: z.ZodObject<{
9514
9459
  id: z.ZodString;
9515
9460
  createdAt: z.ZodDate;
9516
9461
  updatedAt: z.ZodDate;
9517
9462
  deletedAt: z.ZodNullable<z.ZodDate>;
9518
- }, {
9519
9463
  title: z.ZodString;
9520
9464
  description: z.ZodNullable<z.ZodString>;
9521
9465
  type: z.ZodString;
@@ -9935,22 +9879,20 @@ export declare const commentContract: {
9935
9879
  }>>>;
9936
9880
  reasonToAssign: z.ZodNullable<z.ZodString>;
9937
9881
  ticketNumber: z.ZodOptional<z.ZodNumber>;
9938
- customFields: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
9882
+ customFields: z.ZodArray<z.ZodObject<{
9939
9883
  id: z.ZodString;
9940
9884
  createdAt: z.ZodDate;
9941
9885
  updatedAt: z.ZodDate;
9942
9886
  deletedAt: z.ZodNullable<z.ZodDate>;
9943
- }, {
9944
9887
  textValue: z.ZodNullable<z.ZodString>;
9945
9888
  booleanValue: z.ZodNullable<z.ZodBoolean>;
9946
9889
  numberValue: z.ZodNullable<z.ZodNumber>;
9947
9890
  dateValue: z.ZodNullable<z.ZodDate>;
9948
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
9891
+ attribute: z.ZodObject<Omit<{
9949
9892
  id: z.ZodString;
9950
9893
  createdAt: z.ZodDate;
9951
9894
  updatedAt: z.ZodDate;
9952
9895
  deletedAt: z.ZodNullable<z.ZodDate>;
9953
- }, {
9954
9896
  systemName: z.ZodString;
9955
9897
  displayName: z.ZodString;
9956
9898
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -9959,14 +9901,13 @@ export declare const commentContract: {
9959
9901
  isArchived: z.ZodBoolean;
9960
9902
  isRequired: z.ZodBoolean;
9961
9903
  isUnique: z.ZodBoolean;
9962
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
9963
- label: z.ZodString;
9904
+ options: z.ZodArray<z.ZodObject<{
9905
+ position: z.ZodNumber;
9964
9906
  value: z.ZodString;
9907
+ label: z.ZodString;
9965
9908
  isDefault: z.ZodBoolean;
9966
- position: z.ZodNumber;
9967
- }, {
9968
9909
  id: z.ZodString;
9969
- }>, "strip", z.ZodTypeAny, {
9910
+ }, "strip", z.ZodTypeAny, {
9970
9911
  id: string;
9971
9912
  position: number;
9972
9913
  value: string;
@@ -9979,15 +9920,14 @@ export declare const commentContract: {
9979
9920
  label: string;
9980
9921
  isDefault: boolean;
9981
9922
  }>, "many">;
9982
- group: z.ZodObject<z.objectUtil.extendShape<{
9923
+ group: z.ZodObject<{
9983
9924
  id: z.ZodString;
9984
9925
  createdAt: z.ZodDate;
9985
9926
  updatedAt: z.ZodDate;
9986
9927
  deletedAt: z.ZodNullable<z.ZodDate>;
9987
- }, {
9988
9928
  systemName: z.ZodString;
9989
9929
  displayName: z.ZodString;
9990
- }>, "strip", z.ZodTypeAny, {
9930
+ }, "strip", z.ZodTypeAny, {
9991
9931
  id: string;
9992
9932
  createdAt: Date;
9993
9933
  updatedAt: Date;
@@ -10002,7 +9942,7 @@ export declare const commentContract: {
10002
9942
  systemName: string;
10003
9943
  displayName: string;
10004
9944
  }>;
10005
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
9945
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
10006
9946
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
10007
9947
  id: string;
10008
9948
  position: number;
@@ -10029,19 +9969,18 @@ export declare const commentContract: {
10029
9969
  isRequired: boolean;
10030
9970
  isUnique: boolean;
10031
9971
  }>;
10032
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
9972
+ uploads: z.ZodArray<z.ZodObject<{
10033
9973
  id: z.ZodString;
10034
9974
  createdAt: z.ZodDate;
10035
9975
  updatedAt: z.ZodDate;
10036
9976
  deletedAt: z.ZodNullable<z.ZodDate>;
10037
- }, {
10038
9977
  bucketName: z.ZodString;
10039
9978
  fileName: z.ZodString;
10040
9979
  fileSize: z.ZodNumber;
10041
9980
  fileKey: z.ZodString;
10042
9981
  fileUrl: z.ZodNullable<z.ZodString>;
10043
9982
  status: z.ZodNullable<z.ZodString>;
10044
- }>, "strip", z.ZodTypeAny, {
9983
+ }, "strip", z.ZodTypeAny, {
10045
9984
  id: string;
10046
9985
  status: string | null;
10047
9986
  createdAt: Date;
@@ -10064,7 +10003,7 @@ export declare const commentContract: {
10064
10003
  fileSize: number;
10065
10004
  fileUrl: string | null;
10066
10005
  }>, "many">;
10067
- }>, "strip", z.ZodTypeAny, {
10006
+ }, "strip", z.ZodTypeAny, {
10068
10007
  id: string;
10069
10008
  createdAt: Date;
10070
10009
  updatedAt: Date;
@@ -10135,14 +10074,13 @@ export declare const commentContract: {
10135
10074
  fileUrl: string | null;
10136
10075
  }[];
10137
10076
  }>, "many">;
10138
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
10077
+ tags: z.ZodArray<z.ZodObject<{
10139
10078
  id: z.ZodString;
10140
10079
  createdAt: z.ZodDate;
10141
10080
  updatedAt: z.ZodDate;
10142
10081
  deletedAt: z.ZodNullable<z.ZodDate>;
10143
- }, {
10144
10082
  name: z.ZodString;
10145
- }>, "strip", z.ZodTypeAny, {
10083
+ }, "strip", z.ZodTypeAny, {
10146
10084
  name: string;
10147
10085
  id: string;
10148
10086
  createdAt: Date;
@@ -10155,12 +10093,11 @@ export declare const commentContract: {
10155
10093
  updatedAt: Date;
10156
10094
  deletedAt: Date | null;
10157
10095
  }>, "many">;
10158
- categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
10096
+ categories: z.ZodArray<z.ZodObject<{
10159
10097
  id: z.ZodString;
10160
10098
  createdAt: z.ZodDate;
10161
10099
  updatedAt: z.ZodDate;
10162
10100
  deletedAt: z.ZodNullable<z.ZodDate>;
10163
- }, {
10164
10101
  value: z.ZodString;
10165
10102
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
10166
10103
  parentId: z.ZodNullable<z.ZodString>;
@@ -10213,7 +10150,7 @@ export declare const commentContract: {
10213
10150
  childCategoryList: any[];
10214
10151
  }[];
10215
10152
  }>, "many">;
10216
- }>, "strip", z.ZodTypeAny, {
10153
+ }, "strip", z.ZodTypeAny, {
10217
10154
  id: string;
10218
10155
  value: string;
10219
10156
  createdAt: Date;
@@ -10267,14 +10204,13 @@ export declare const commentContract: {
10267
10204
  notes: z.ZodNullable<z.ZodString>;
10268
10205
  contactProfile: z.ZodNullable<z.ZodString>;
10269
10206
  socialProfileUrl: z.ZodNullable<z.ZodString>;
10270
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
10207
+ tags: z.ZodArray<z.ZodObject<{
10271
10208
  id: z.ZodString;
10272
10209
  createdAt: z.ZodDate;
10273
10210
  updatedAt: z.ZodDate;
10274
10211
  deletedAt: z.ZodNullable<z.ZodDate>;
10275
- }, {
10276
10212
  name: z.ZodString;
10277
- }>, "strip", z.ZodTypeAny, {
10213
+ }, "strip", z.ZodTypeAny, {
10278
10214
  name: string;
10279
10215
  id: string;
10280
10216
  createdAt: Date;
@@ -10287,32 +10223,29 @@ export declare const commentContract: {
10287
10223
  updatedAt: Date;
10288
10224
  deletedAt: Date | null;
10289
10225
  }>, "many">;
10290
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
10226
+ company: z.ZodNullable<z.ZodObject<Omit<{
10291
10227
  id: z.ZodString;
10292
10228
  createdAt: z.ZodDate;
10293
10229
  updatedAt: z.ZodDate;
10294
10230
  deletedAt: z.ZodNullable<z.ZodDate>;
10295
- }, {
10296
10231
  name: z.ZodOptional<z.ZodString>;
10297
10232
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10298
10233
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10299
10234
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10300
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
10235
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
10301
10236
  id: z.ZodString;
10302
10237
  createdAt: z.ZodDate;
10303
10238
  updatedAt: z.ZodDate;
10304
10239
  deletedAt: z.ZodNullable<z.ZodDate>;
10305
- }, {
10306
10240
  textValue: z.ZodNullable<z.ZodString>;
10307
10241
  booleanValue: z.ZodNullable<z.ZodBoolean>;
10308
10242
  numberValue: z.ZodNullable<z.ZodNumber>;
10309
10243
  dateValue: z.ZodNullable<z.ZodDate>;
10310
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
10244
+ attribute: z.ZodObject<Omit<{
10311
10245
  id: z.ZodString;
10312
10246
  createdAt: z.ZodDate;
10313
10247
  updatedAt: z.ZodDate;
10314
10248
  deletedAt: z.ZodNullable<z.ZodDate>;
10315
- }, {
10316
10249
  systemName: z.ZodString;
10317
10250
  displayName: z.ZodString;
10318
10251
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -10321,14 +10254,13 @@ export declare const commentContract: {
10321
10254
  isArchived: z.ZodBoolean;
10322
10255
  isRequired: z.ZodBoolean;
10323
10256
  isUnique: z.ZodBoolean;
10324
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
10325
- label: z.ZodString;
10257
+ options: z.ZodArray<z.ZodObject<{
10258
+ position: z.ZodNumber;
10326
10259
  value: z.ZodString;
10260
+ label: z.ZodString;
10327
10261
  isDefault: z.ZodBoolean;
10328
- position: z.ZodNumber;
10329
- }, {
10330
10262
  id: z.ZodString;
10331
- }>, "strip", z.ZodTypeAny, {
10263
+ }, "strip", z.ZodTypeAny, {
10332
10264
  id: string;
10333
10265
  position: number;
10334
10266
  value: string;
@@ -10341,15 +10273,14 @@ export declare const commentContract: {
10341
10273
  label: string;
10342
10274
  isDefault: boolean;
10343
10275
  }>, "many">;
10344
- group: z.ZodObject<z.objectUtil.extendShape<{
10276
+ group: z.ZodObject<{
10345
10277
  id: z.ZodString;
10346
10278
  createdAt: z.ZodDate;
10347
10279
  updatedAt: z.ZodDate;
10348
10280
  deletedAt: z.ZodNullable<z.ZodDate>;
10349
- }, {
10350
10281
  systemName: z.ZodString;
10351
10282
  displayName: z.ZodString;
10352
- }>, "strip", z.ZodTypeAny, {
10283
+ }, "strip", z.ZodTypeAny, {
10353
10284
  id: string;
10354
10285
  createdAt: Date;
10355
10286
  updatedAt: Date;
@@ -10364,7 +10295,7 @@ export declare const commentContract: {
10364
10295
  systemName: string;
10365
10296
  displayName: string;
10366
10297
  }>;
10367
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
10298
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
10368
10299
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
10369
10300
  id: string;
10370
10301
  position: number;
@@ -10391,7 +10322,7 @@ export declare const commentContract: {
10391
10322
  isRequired: boolean;
10392
10323
  isUnique: boolean;
10393
10324
  }>;
10394
- }>, "strip", z.ZodTypeAny, {
10325
+ }, "strip", z.ZodTypeAny, {
10395
10326
  id: string;
10396
10327
  createdAt: Date;
10397
10328
  updatedAt: Date;
@@ -10438,7 +10369,7 @@ export declare const commentContract: {
10438
10369
  numberValue: number | null;
10439
10370
  dateValue: Date | null;
10440
10371
  }>, "many">>;
10441
- }>, "customFields">, "strip", z.ZodTypeAny, {
10372
+ }, "customFields">, "strip", z.ZodTypeAny, {
10442
10373
  id: string;
10443
10374
  createdAt: Date;
10444
10375
  updatedAt: Date;
@@ -10519,12 +10450,11 @@ export declare const commentContract: {
10519
10450
  booleanValue: z.ZodNullable<z.ZodBoolean>;
10520
10451
  numberValue: z.ZodNullable<z.ZodNumber>;
10521
10452
  dateValue: z.ZodNullable<z.ZodDate>;
10522
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
10453
+ attribute: z.ZodObject<Omit<{
10523
10454
  id: z.ZodString;
10524
10455
  createdAt: z.ZodDate;
10525
10456
  updatedAt: z.ZodDate;
10526
10457
  deletedAt: z.ZodNullable<z.ZodDate>;
10527
- }, {
10528
10458
  systemName: z.ZodString;
10529
10459
  displayName: z.ZodString;
10530
10460
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -10533,14 +10463,13 @@ export declare const commentContract: {
10533
10463
  isArchived: z.ZodBoolean;
10534
10464
  isRequired: z.ZodBoolean;
10535
10465
  isUnique: z.ZodBoolean;
10536
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
10537
- label: z.ZodString;
10466
+ options: z.ZodArray<z.ZodObject<{
10467
+ position: z.ZodNumber;
10538
10468
  value: z.ZodString;
10469
+ label: z.ZodString;
10539
10470
  isDefault: z.ZodBoolean;
10540
- position: z.ZodNumber;
10541
- }, {
10542
10471
  id: z.ZodString;
10543
- }>, "strip", z.ZodTypeAny, {
10472
+ }, "strip", z.ZodTypeAny, {
10544
10473
  id: string;
10545
10474
  position: number;
10546
10475
  value: string;
@@ -10553,15 +10482,14 @@ export declare const commentContract: {
10553
10482
  label: string;
10554
10483
  isDefault: boolean;
10555
10484
  }>, "many">;
10556
- group: z.ZodObject<z.objectUtil.extendShape<{
10485
+ group: z.ZodObject<{
10557
10486
  id: z.ZodString;
10558
10487
  createdAt: z.ZodDate;
10559
10488
  updatedAt: z.ZodDate;
10560
10489
  deletedAt: z.ZodNullable<z.ZodDate>;
10561
- }, {
10562
10490
  systemName: z.ZodString;
10563
10491
  displayName: z.ZodString;
10564
- }>, "strip", z.ZodTypeAny, {
10492
+ }, "strip", z.ZodTypeAny, {
10565
10493
  id: string;
10566
10494
  createdAt: Date;
10567
10495
  updatedAt: Date;
@@ -10576,7 +10504,7 @@ export declare const commentContract: {
10576
10504
  systemName: string;
10577
10505
  displayName: string;
10578
10506
  }>;
10579
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
10507
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
10580
10508
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
10581
10509
  id: string;
10582
10510
  position: number;
@@ -10603,19 +10531,18 @@ export declare const commentContract: {
10603
10531
  isRequired: boolean;
10604
10532
  isUnique: boolean;
10605
10533
  }>;
10606
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
10534
+ uploads: z.ZodArray<z.ZodObject<{
10607
10535
  id: z.ZodString;
10608
10536
  createdAt: z.ZodDate;
10609
10537
  updatedAt: z.ZodDate;
10610
10538
  deletedAt: z.ZodNullable<z.ZodDate>;
10611
- }, {
10612
10539
  bucketName: z.ZodString;
10613
10540
  fileName: z.ZodString;
10614
10541
  fileSize: z.ZodNumber;
10615
10542
  fileKey: z.ZodString;
10616
10543
  fileUrl: z.ZodNullable<z.ZodString>;
10617
10544
  status: z.ZodNullable<z.ZodString>;
10618
- }>, "strip", z.ZodTypeAny, {
10545
+ }, "strip", z.ZodTypeAny, {
10619
10546
  id: string;
10620
10547
  status: string | null;
10621
10548
  createdAt: Date;
@@ -11388,7 +11315,7 @@ export declare const commentContract: {
11388
11315
  entity: string;
11389
11316
  };
11390
11317
  }>, "many">;
11391
- }>, "strip", z.ZodTypeAny, {
11318
+ }, "strip", z.ZodTypeAny, {
11392
11319
  type: string;
11393
11320
  id: string;
11394
11321
  channel: string;
@@ -11640,7 +11567,7 @@ export declare const commentContract: {
11640
11567
  assigneeId: string;
11641
11568
  creatorId: string;
11642
11569
  reasonToAssign: string | null;
11643
- assignee?: {
11570
+ creator?: {
11644
11571
  name: string;
11645
11572
  id: string;
11646
11573
  address: string | null;
@@ -11684,7 +11611,7 @@ export declare const commentContract: {
11684
11611
  telephonySignature: string | null;
11685
11612
  };
11686
11613
  } | null | undefined;
11687
- creator?: {
11614
+ assignee?: {
11688
11615
  name: string;
11689
11616
  id: string;
11690
11617
  address: string | null;
@@ -11981,7 +11908,7 @@ export declare const commentContract: {
11981
11908
  assigneeId: string;
11982
11909
  creatorId: string;
11983
11910
  reasonToAssign: string | null;
11984
- assignee?: {
11911
+ creator?: {
11985
11912
  name: string;
11986
11913
  id: string;
11987
11914
  address: string | null;
@@ -12025,7 +11952,7 @@ export declare const commentContract: {
12025
11952
  telephonySignature: string | null;
12026
11953
  };
12027
11954
  } | null | undefined;
12028
- creator?: {
11955
+ assignee?: {
12029
11956
  name: string;
12030
11957
  id: string;
12031
11958
  address: string | null;
@@ -12532,7 +12459,7 @@ export declare const commentContract: {
12532
12459
  assigneeId: string;
12533
12460
  creatorId: string;
12534
12461
  reasonToAssign: string | null;
12535
- assignee?: {
12462
+ creator?: {
12536
12463
  name: string;
12537
12464
  id: string;
12538
12465
  address: string | null;
@@ -12576,7 +12503,7 @@ export declare const commentContract: {
12576
12503
  telephonySignature: string | null;
12577
12504
  };
12578
12505
  } | null | undefined;
12579
- creator?: {
12506
+ assignee?: {
12580
12507
  name: string;
12581
12508
  id: string;
12582
12509
  address: string | null;
@@ -12985,7 +12912,7 @@ export declare const commentContract: {
12985
12912
  assigneeId: string;
12986
12913
  creatorId: string;
12987
12914
  reasonToAssign: string | null;
12988
- assignee?: {
12915
+ creator?: {
12989
12916
  name: string;
12990
12917
  id: string;
12991
12918
  address: string | null;
@@ -13029,7 +12956,7 @@ export declare const commentContract: {
13029
12956
  telephonySignature: string | null;
13030
12957
  };
13031
12958
  } | null | undefined;
13032
- creator?: {
12959
+ assignee?: {
13033
12960
  name: string;
13034
12961
  id: string;
13035
12962
  address: string | null;
@@ -13182,7 +13109,7 @@ export declare const commentContract: {
13182
13109
  mentions: string[];
13183
13110
  comment: string;
13184
13111
  }>;
13185
- }>, "strip", z.ZodTypeAny, {
13112
+ }, "strip", z.ZodTypeAny, {
13186
13113
  requestId: string;
13187
13114
  comment: {
13188
13115
  id: string;
@@ -13441,7 +13368,7 @@ export declare const commentContract: {
13441
13368
  assigneeId: string;
13442
13369
  creatorId: string;
13443
13370
  reasonToAssign: string | null;
13444
- assignee?: {
13371
+ creator?: {
13445
13372
  name: string;
13446
13373
  id: string;
13447
13374
  address: string | null;
@@ -13485,7 +13412,7 @@ export declare const commentContract: {
13485
13412
  telephonySignature: string | null;
13486
13413
  };
13487
13414
  } | null | undefined;
13488
- creator?: {
13415
+ assignee?: {
13489
13416
  name: string;
13490
13417
  id: string;
13491
13418
  address: string | null;
@@ -13897,7 +13824,7 @@ export declare const commentContract: {
13897
13824
  assigneeId: string;
13898
13825
  creatorId: string;
13899
13826
  reasonToAssign: string | null;
13900
- assignee?: {
13827
+ creator?: {
13901
13828
  name: string;
13902
13829
  id: string;
13903
13830
  address: string | null;
@@ -13941,7 +13868,7 @@ export declare const commentContract: {
13941
13868
  telephonySignature: string | null;
13942
13869
  };
13943
13870
  } | null | undefined;
13944
- creator?: {
13871
+ assignee?: {
13945
13872
  name: string;
13946
13873
  id: string;
13947
13874
  address: string | null;
@@ -14106,18 +14033,6 @@ export declare const commentContract: {
14106
14033
  error?: any;
14107
14034
  }>;
14108
14035
  };
14109
- };
14110
- deleteComment: {
14111
- body: null;
14112
- summary: "Delete a comment.";
14113
- method: "DELETE";
14114
- pathParams: z.ZodObject<{
14115
- id: z.ZodString;
14116
- }, "strip", z.ZodTypeAny, {
14117
- id: string;
14118
- }, {
14119
- id: string;
14120
- }>;
14121
14036
  path: "ticket-service/comment/:id";
14122
14037
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14123
14038
  'x-tenant': z.ZodString;
@@ -14135,12 +14050,23 @@ export declare const commentContract: {
14135
14050
  'x-code'?: string | undefined;
14136
14051
  'x-client-timezone'?: string | undefined;
14137
14052
  }>>>;
14053
+ };
14054
+ deleteComment: {
14055
+ body: null;
14056
+ summary: "Delete a comment.";
14057
+ method: "DELETE";
14058
+ pathParams: z.ZodObject<{
14059
+ id: z.ZodString;
14060
+ }, "strip", z.ZodTypeAny, {
14061
+ id: string;
14062
+ }, {
14063
+ id: string;
14064
+ }>;
14138
14065
  responses: {
14139
- 200: z.ZodObject<z.objectUtil.extendShape<{
14066
+ 200: z.ZodObject<{
14140
14067
  requestId: z.ZodString;
14141
- }, {
14142
14068
  message: z.ZodString;
14143
- }>, "strip", z.ZodTypeAny, {
14069
+ }, "strip", z.ZodTypeAny, {
14144
14070
  message: string;
14145
14071
  requestId: string;
14146
14072
  }, {
@@ -14158,6 +14084,23 @@ export declare const commentContract: {
14158
14084
  error?: any;
14159
14085
  }>;
14160
14086
  };
14087
+ path: "ticket-service/comment/:id";
14088
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14089
+ 'x-tenant': z.ZodString;
14090
+ authorization: z.ZodString;
14091
+ 'x-code': z.ZodOptional<z.ZodString>;
14092
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
14093
+ }, "strip", z.ZodTypeAny, {
14094
+ 'x-tenant': string;
14095
+ authorization: string;
14096
+ 'x-client-timezone': string;
14097
+ 'x-code'?: string | undefined;
14098
+ }, {
14099
+ 'x-tenant': string;
14100
+ authorization: string;
14101
+ 'x-code'?: string | undefined;
14102
+ 'x-client-timezone'?: string | undefined;
14103
+ }>>>;
14161
14104
  };
14162
14105
  };
14163
14106
  //# sourceMappingURL=index.d.ts.map