@kl1/contracts 1.2.26-uat → 1.2.27-uat

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