@kl1/contracts 1.3.8 → 1.3.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +22 -23
  2. package/dist/api-contracts/src/activity-log/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/activity-log/schema.d.ts +5 -6
  4. package/dist/api-contracts/src/activity-log/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/attribute/index.d.ts +148 -164
  6. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/attribute/schema.d.ts +8 -11
  8. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  9. package/dist/api-contracts/src/attribute-option/schema.d.ts +2 -3
  10. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/auth/index.d.ts +24 -26
  12. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/automation-queue/index.d.ts +170 -192
  14. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  15. package/dist/api-contracts/src/automation-queue/schema.d.ts +12 -15
  16. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
  17. package/dist/api-contracts/src/aws/index.d.ts +6 -8
  18. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/botpress/index.d.ts +13 -17
  20. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/business-calendar/index.d.ts +28 -40
  22. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  23. package/dist/api-contracts/src/business-calendar/schema.d.ts +10 -15
  24. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  25. package/dist/api-contracts/src/call-log/schema.d.ts +4 -5
  26. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  27. package/dist/api-contracts/src/category/index.d.ts +109 -118
  28. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/category/schema.d.ts +2 -3
  30. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  31. package/dist/api-contracts/src/channel/index.d.ts +1502 -1532
  32. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  33. package/dist/api-contracts/src/channel/schema.d.ts +54 -54
  34. package/dist/api-contracts/src/channel/validation.d.ts +72 -72
  35. package/dist/api-contracts/src/chat/index.d.ts +13141 -13645
  36. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  37. package/dist/api-contracts/src/chat/schema.d.ts +2308 -2467
  38. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  39. package/dist/api-contracts/src/chat/validation.d.ts +3331 -3414
  40. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  41. package/dist/api-contracts/src/comment/index.d.ts +299 -371
  42. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/comment/schema.d.ts +75 -98
  44. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  45. package/dist/api-contracts/src/comment/validation.d.ts +1 -1
  46. package/dist/api-contracts/src/company/index.d.ts +109 -136
  47. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  48. package/dist/api-contracts/src/company/schema.d.ts +24 -33
  49. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  50. package/dist/api-contracts/src/company/validation.d.ts +62 -78
  51. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  52. package/dist/api-contracts/src/contact/index.d.ts +559 -677
  53. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  54. package/dist/api-contracts/src/contact/schema.d.ts +42 -56
  55. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  56. package/dist/api-contracts/src/contact/validation.d.ts +218 -299
  57. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  58. package/dist/api-contracts/src/contact-email/schema.d.ts +2 -3
  59. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  60. package/dist/api-contracts/src/contact-phone/schema.d.ts +2 -3
  61. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  62. package/dist/api-contracts/src/contract.d.ts +25882 -27370
  63. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  64. package/dist/api-contracts/src/custom-field/schema.d.ts +2 -3
  65. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  66. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  67. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +2 -3
  68. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  69. package/dist/api-contracts/src/cx-intelligence/index.d.ts +47 -50
  70. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
  71. package/dist/api-contracts/src/cx-log/index.d.ts +783 -831
  72. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/cx-log/schema.d.ts +461 -514
  74. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  75. package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
  76. package/dist/api-contracts/src/dashboard/index.d.ts +361 -402
  77. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  78. package/dist/api-contracts/src/dashboard/schema.d.ts +4 -5
  79. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  80. package/dist/api-contracts/src/dashboard/validation.d.ts +18 -24
  81. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  82. package/dist/api-contracts/src/evaluate-form/index.d.ts +3 -4
  83. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  84. package/dist/api-contracts/src/evaluate-form/schema.d.ts +2 -3
  85. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  86. package/dist/api-contracts/src/export/index.d.ts +3 -4
  87. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  88. package/dist/api-contracts/src/extension/index.d.ts +112 -118
  89. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/facebook-feed/index.d.ts +2211 -2291
  91. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  92. package/dist/api-contracts/src/facebook-feed/schema.d.ts +82 -94
  93. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  94. package/dist/api-contracts/src/facebook-feed/validation.d.ts +89 -106
  95. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  96. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  97. package/dist/api-contracts/src/group/schema.d.ts +2 -3
  98. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  99. package/dist/api-contracts/src/hold-label/index.d.ts +58 -77
  100. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  101. package/dist/api-contracts/src/hold-label/schema.d.ts +14 -20
  102. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  103. package/dist/api-contracts/src/index.d.ts +1 -0
  104. package/dist/api-contracts/src/index.d.ts.map +1 -1
  105. package/dist/api-contracts/src/instagram/index.d.ts +3873 -3933
  106. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  107. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  108. package/dist/api-contracts/src/line/index.d.ts +2073 -2133
  109. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  110. package/dist/api-contracts/src/line/schema.d.ts +11 -12
  111. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  112. package/dist/api-contracts/src/line/validation.d.ts +127 -127
  113. package/dist/api-contracts/src/log-form/schema.d.ts +2 -3
  114. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  115. package/dist/api-contracts/src/mail/account-contract.d.ts +174 -184
  116. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  117. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +3 -4
  118. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  119. package/dist/api-contracts/src/mail/mail-contract.d.ts +451 -502
  120. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  121. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +18 -24
  122. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  123. package/dist/api-contracts/src/mail/message-contract.d.ts +107 -113
  124. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  125. package/dist/api-contracts/src/mail/room-contract.d.ts +101 -130
  126. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  127. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  128. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +30 -36
  129. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  130. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +20 -27
  131. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  132. package/dist/api-contracts/src/messenger/index.d.ts +3873 -3935
  133. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  134. package/dist/api-contracts/src/messenger/validation.d.ts +89 -106
  135. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  136. package/dist/api-contracts/src/notification/index.d.ts +27 -34
  137. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  138. package/dist/api-contracts/src/notification/schema.d.ts +15 -18
  139. package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
  140. package/dist/api-contracts/src/notification/validation.d.ts +5 -6
  141. package/dist/api-contracts/src/notification/validation.d.ts.map +1 -1
  142. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  143. package/dist/api-contracts/src/presence-status/index.d.ts +81 -84
  144. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  145. package/dist/api-contracts/src/public-api/index.d.ts +196 -260
  146. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  147. package/dist/api-contracts/src/public-api/schema.d.ts +34 -48
  148. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  149. package/dist/api-contracts/src/public-api/validation.d.ts +88 -113
  150. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  151. package/dist/api-contracts/src/role/index.d.ts +83 -88
  152. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  153. package/dist/api-contracts/src/sms/index.d.ts +345 -349
  154. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  155. package/dist/api-contracts/src/snippet/index.d.ts +54 -76
  156. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  157. package/dist/api-contracts/src/snippet/schema.d.ts +14 -21
  158. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  159. package/dist/api-contracts/src/snippet/validation.d.ts +4 -5
  160. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  161. package/dist/api-contracts/src/subscription/index.d.ts +51 -74
  162. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  163. package/dist/api-contracts/src/subscription/schema.d.ts +62 -93
  164. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  165. package/dist/api-contracts/src/tag/index.d.ts +72 -79
  166. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  167. package/dist/api-contracts/src/tag/schema.d.ts +2 -3
  168. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  169. package/dist/api-contracts/src/tag-group/schema.d.ts +2 -3
  170. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  171. package/dist/api-contracts/src/telegram/index.d.ts +1532 -1590
  172. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  173. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +50 -55
  174. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  175. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +7 -9
  176. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  177. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  178. package/dist/api-contracts/src/telephony-cdr/index.d.ts +1170 -1245
  179. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  180. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +196 -222
  181. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  182. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +45 -52
  183. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  184. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  185. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  186. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +2 -3
  187. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  188. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +2 -3
  189. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  190. package/dist/api-contracts/src/tenant/schema.d.ts +2 -3
  191. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  192. package/dist/api-contracts/src/ticket/index.d.ts +679 -790
  193. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  194. package/dist/api-contracts/src/ticket/schema.d.ts +73 -99
  195. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  196. package/dist/api-contracts/src/ticket/validation.d.ts +55 -57
  197. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  198. package/dist/api-contracts/src/upload/index.d.ts +34 -36
  199. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  200. package/dist/api-contracts/src/upload/schema.d.ts +2 -3
  201. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  202. package/dist/api-contracts/src/user/index.d.ts +148 -159
  203. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  204. package/dist/api-contracts/src/user/schema.d.ts +5 -6
  205. package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
  206. package/dist/api-contracts/src/user/validation.d.ts +4 -5
  207. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  208. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +31 -32
  209. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  210. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +7 -9
  211. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  212. package/dist/api-contracts/src/viber/index.d.ts +1785 -1843
  213. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  214. package/dist/api-contracts/src/webchat/index.d.ts +1551 -1609
  215. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  216. package/dist/api-contracts/src/whatsapp/index.d.ts +1920 -1982
  217. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  218. package/dist/api-contracts/src/whatsapp/validation.d.ts +6 -9
  219. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  220. package/dist/api-contracts/src/widget/index.d.ts +144 -155
  221. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  222. package/dist/api-contracts/src/widget/schema.d.ts +2 -3
  223. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  224. package/dist/api-contracts/src/widget/validation.d.ts +16 -16
  225. package/dist/api-contracts/src/workflow-rule/index.d.ts +2021 -2087
  226. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  227. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -3
  228. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  229. package/dist/api-contracts/src/wrap-up-form/index.d.ts +147 -166
  230. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  231. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +6 -9
  232. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  233. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +20 -21
  234. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  235. package/dist/api-contracts/utils.d.ts +3 -4
  236. package/dist/api-contracts/utils.d.ts.map +1 -1
  237. package/dist/index.js +53 -58
  238. package/dist/index.js.map +1 -1
  239. package/dist/index.mjs +52 -58
  240. package/dist/index.mjs.map +1 -1
  241. 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: "ts/comment";
26
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
27
- 'x-tenant': z.ZodString;
28
- 'x-service-token': 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
- 'x-service-token': string;
34
- 'x-client-timezone': string;
35
- 'x-code'?: string | undefined;
36
- }, {
37
- 'x-tenant': string;
38
- 'x-service-token': 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;
@@ -53,19 +35,18 @@ export declare const commentContract: {
53
35
  createdAt: z.ZodDate;
54
36
  updatedAt: z.ZodDate;
55
37
  deletedAt: z.ZodNullable<z.ZodDate>;
56
- actor: z.ZodObject<z.objectUtil.extendShape<{
38
+ actor: z.ZodObject<{
39
+ name: z.ZodString;
57
40
  id: z.ZodString;
41
+ address: z.ZodNullable<z.ZodString>;
42
+ email: z.ZodString;
58
43
  createdAt: z.ZodDate;
59
44
  updatedAt: z.ZodDate;
60
45
  deletedAt: z.ZodNullable<z.ZodDate>;
61
- name: z.ZodString;
62
- email: z.ZodString;
63
46
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
64
47
  password: z.ZodString;
65
- address: z.ZodNullable<z.ZodString>;
66
48
  phone: z.ZodNullable<z.ZodString>;
67
49
  notificationCount: z.ZodNullable<z.ZodNumber>;
68
- }, {
69
50
  roles: z.ZodArray<z.ZodObject<{
70
51
  id: z.ZodString;
71
52
  createdAt: z.ZodDate;
@@ -171,7 +152,7 @@ export declare const commentContract: {
171
152
  extensionName: string;
172
153
  telephonySignature: string | null;
173
154
  }>;
174
- }>, "strip", z.ZodTypeAny, {
155
+ }, "strip", z.ZodTypeAny, {
175
156
  name: string;
176
157
  id: string;
177
158
  address: string | null;
@@ -403,12 +384,11 @@ export declare const commentContract: {
403
384
  }>, "many">;
404
385
  comment: z.ZodString;
405
386
  mentions: z.ZodArray<z.ZodString, "many">;
406
- ticket: z.ZodObject<z.objectUtil.extendShape<{
387
+ ticket: z.ZodObject<{
407
388
  id: z.ZodString;
408
389
  createdAt: z.ZodDate;
409
390
  updatedAt: z.ZodDate;
410
391
  deletedAt: z.ZodNullable<z.ZodDate>;
411
- }, {
412
392
  title: z.ZodString;
413
393
  description: z.ZodNullable<z.ZodString>;
414
394
  type: z.ZodString;
@@ -417,19 +397,18 @@ export declare const commentContract: {
417
397
  status: z.ZodString;
418
398
  contactId: z.ZodString;
419
399
  creatorId: z.ZodString;
420
- creator: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
400
+ creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
401
+ name: z.ZodString;
421
402
  id: z.ZodString;
403
+ address: z.ZodNullable<z.ZodString>;
404
+ email: z.ZodString;
422
405
  createdAt: z.ZodDate;
423
406
  updatedAt: z.ZodDate;
424
407
  deletedAt: z.ZodNullable<z.ZodDate>;
425
- name: z.ZodString;
426
- email: z.ZodString;
427
408
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
428
409
  password: z.ZodString;
429
- address: z.ZodNullable<z.ZodString>;
430
410
  phone: z.ZodNullable<z.ZodString>;
431
411
  notificationCount: z.ZodNullable<z.ZodNumber>;
432
- }, {
433
412
  roles: z.ZodArray<z.ZodObject<{
434
413
  id: z.ZodString;
435
414
  createdAt: z.ZodDate;
@@ -535,7 +514,7 @@ export declare const commentContract: {
535
514
  extensionName: string;
536
515
  telephonySignature: string | null;
537
516
  }>;
538
- }>, "strip", z.ZodTypeAny, {
517
+ }, "strip", z.ZodTypeAny, {
539
518
  name: string;
540
519
  id: string;
541
520
  address: string | null;
@@ -623,19 +602,18 @@ export declare const commentContract: {
623
602
  };
624
603
  }>>>;
625
604
  assigneeId: z.ZodString;
626
- assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
605
+ assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
606
+ name: z.ZodString;
627
607
  id: z.ZodString;
608
+ address: z.ZodNullable<z.ZodString>;
609
+ email: z.ZodString;
628
610
  createdAt: z.ZodDate;
629
611
  updatedAt: z.ZodDate;
630
612
  deletedAt: z.ZodNullable<z.ZodDate>;
631
- name: z.ZodString;
632
- email: z.ZodString;
633
613
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
634
614
  password: z.ZodString;
635
- address: z.ZodNullable<z.ZodString>;
636
615
  phone: z.ZodNullable<z.ZodString>;
637
616
  notificationCount: z.ZodNullable<z.ZodNumber>;
638
- }, {
639
617
  roles: z.ZodArray<z.ZodObject<{
640
618
  id: z.ZodString;
641
619
  createdAt: z.ZodDate;
@@ -741,7 +719,7 @@ export declare const commentContract: {
741
719
  extensionName: string;
742
720
  telephonySignature: string | null;
743
721
  }>;
744
- }>, "strip", z.ZodTypeAny, {
722
+ }, "strip", z.ZodTypeAny, {
745
723
  name: string;
746
724
  id: string;
747
725
  address: string | null;
@@ -830,22 +808,20 @@ export declare const commentContract: {
830
808
  }>>>;
831
809
  reasonToAssign: z.ZodNullable<z.ZodString>;
832
810
  ticketNumber: z.ZodOptional<z.ZodNumber>;
833
- customFields: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
811
+ customFields: z.ZodArray<z.ZodObject<{
834
812
  id: z.ZodString;
835
813
  createdAt: z.ZodDate;
836
814
  updatedAt: z.ZodDate;
837
815
  deletedAt: z.ZodNullable<z.ZodDate>;
838
- }, {
839
816
  textValue: z.ZodNullable<z.ZodString>;
840
817
  booleanValue: z.ZodNullable<z.ZodBoolean>;
841
818
  numberValue: z.ZodNullable<z.ZodNumber>;
842
819
  dateValue: z.ZodNullable<z.ZodDate>;
843
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
820
+ attribute: z.ZodObject<Omit<{
844
821
  id: z.ZodString;
845
822
  createdAt: z.ZodDate;
846
823
  updatedAt: z.ZodDate;
847
824
  deletedAt: z.ZodNullable<z.ZodDate>;
848
- }, {
849
825
  systemName: z.ZodString;
850
826
  displayName: z.ZodString;
851
827
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -854,14 +830,13 @@ export declare const commentContract: {
854
830
  isArchived: z.ZodBoolean;
855
831
  isRequired: z.ZodBoolean;
856
832
  isUnique: z.ZodBoolean;
857
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
858
- label: z.ZodString;
833
+ options: z.ZodArray<z.ZodObject<{
834
+ position: z.ZodNumber;
859
835
  value: z.ZodString;
836
+ label: z.ZodString;
860
837
  isDefault: z.ZodBoolean;
861
- position: z.ZodNumber;
862
- }, {
863
838
  id: z.ZodString;
864
- }>, "strip", z.ZodTypeAny, {
839
+ }, "strip", z.ZodTypeAny, {
865
840
  id: string;
866
841
  position: number;
867
842
  value: string;
@@ -874,15 +849,14 @@ export declare const commentContract: {
874
849
  label: string;
875
850
  isDefault: boolean;
876
851
  }>, "many">;
877
- group: z.ZodObject<z.objectUtil.extendShape<{
852
+ group: z.ZodObject<{
878
853
  id: z.ZodString;
879
854
  createdAt: z.ZodDate;
880
855
  updatedAt: z.ZodDate;
881
856
  deletedAt: z.ZodNullable<z.ZodDate>;
882
- }, {
883
857
  systemName: z.ZodString;
884
858
  displayName: z.ZodString;
885
- }>, "strip", z.ZodTypeAny, {
859
+ }, "strip", z.ZodTypeAny, {
886
860
  id: string;
887
861
  createdAt: Date;
888
862
  updatedAt: Date;
@@ -897,7 +871,7 @@ export declare const commentContract: {
897
871
  systemName: string;
898
872
  displayName: string;
899
873
  }>;
900
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
874
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
901
875
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
902
876
  id: string;
903
877
  position: number;
@@ -924,19 +898,18 @@ export declare const commentContract: {
924
898
  isRequired: boolean;
925
899
  isUnique: boolean;
926
900
  }>;
927
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
901
+ uploads: z.ZodArray<z.ZodObject<{
928
902
  id: z.ZodString;
929
903
  createdAt: z.ZodDate;
930
904
  updatedAt: z.ZodDate;
931
905
  deletedAt: z.ZodNullable<z.ZodDate>;
932
- }, {
933
906
  bucketName: z.ZodString;
934
907
  fileName: z.ZodString;
935
908
  fileSize: z.ZodNumber;
936
909
  fileKey: z.ZodString;
937
910
  fileUrl: z.ZodNullable<z.ZodString>;
938
911
  status: z.ZodNullable<z.ZodString>;
939
- }>, "strip", z.ZodTypeAny, {
912
+ }, "strip", z.ZodTypeAny, {
940
913
  id: string;
941
914
  status: string | null;
942
915
  createdAt: Date;
@@ -959,7 +932,7 @@ export declare const commentContract: {
959
932
  fileSize: number;
960
933
  fileUrl: string | null;
961
934
  }>, "many">;
962
- }>, "strip", z.ZodTypeAny, {
935
+ }, "strip", z.ZodTypeAny, {
963
936
  id: string;
964
937
  createdAt: Date;
965
938
  updatedAt: Date;
@@ -1030,14 +1003,13 @@ export declare const commentContract: {
1030
1003
  fileUrl: string | null;
1031
1004
  }[];
1032
1005
  }>, "many">;
1033
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1006
+ tags: z.ZodArray<z.ZodObject<{
1034
1007
  id: z.ZodString;
1035
1008
  createdAt: z.ZodDate;
1036
1009
  updatedAt: z.ZodDate;
1037
1010
  deletedAt: z.ZodNullable<z.ZodDate>;
1038
- }, {
1039
1011
  name: z.ZodString;
1040
- }>, "strip", z.ZodTypeAny, {
1012
+ }, "strip", z.ZodTypeAny, {
1041
1013
  name: string;
1042
1014
  id: string;
1043
1015
  createdAt: Date;
@@ -1050,12 +1022,11 @@ export declare const commentContract: {
1050
1022
  updatedAt: Date;
1051
1023
  deletedAt: Date | null;
1052
1024
  }>, "many">;
1053
- categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1025
+ categories: z.ZodArray<z.ZodObject<{
1054
1026
  id: z.ZodString;
1055
1027
  createdAt: z.ZodDate;
1056
1028
  updatedAt: z.ZodDate;
1057
1029
  deletedAt: z.ZodNullable<z.ZodDate>;
1058
- }, {
1059
1030
  value: z.ZodString;
1060
1031
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1061
1032
  parentId: z.ZodNullable<z.ZodString>;
@@ -1108,7 +1079,7 @@ export declare const commentContract: {
1108
1079
  childCategoryList: any[];
1109
1080
  }[];
1110
1081
  }>, "many">;
1111
- }>, "strip", z.ZodTypeAny, {
1082
+ }, "strip", z.ZodTypeAny, {
1112
1083
  id: string;
1113
1084
  value: string;
1114
1085
  createdAt: Date;
@@ -1162,14 +1133,13 @@ export declare const commentContract: {
1162
1133
  notes: z.ZodNullable<z.ZodString>;
1163
1134
  contactProfile: z.ZodNullable<z.ZodString>;
1164
1135
  socialProfileUrl: z.ZodNullable<z.ZodString>;
1165
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1136
+ tags: z.ZodArray<z.ZodObject<{
1166
1137
  id: z.ZodString;
1167
1138
  createdAt: z.ZodDate;
1168
1139
  updatedAt: z.ZodDate;
1169
1140
  deletedAt: z.ZodNullable<z.ZodDate>;
1170
- }, {
1171
1141
  name: z.ZodString;
1172
- }>, "strip", z.ZodTypeAny, {
1142
+ }, "strip", z.ZodTypeAny, {
1173
1143
  name: string;
1174
1144
  id: string;
1175
1145
  createdAt: Date;
@@ -1182,32 +1152,29 @@ export declare const commentContract: {
1182
1152
  updatedAt: Date;
1183
1153
  deletedAt: Date | null;
1184
1154
  }>, "many">;
1185
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
1155
+ company: z.ZodNullable<z.ZodObject<Omit<{
1186
1156
  id: z.ZodString;
1187
1157
  createdAt: z.ZodDate;
1188
1158
  updatedAt: z.ZodDate;
1189
1159
  deletedAt: z.ZodNullable<z.ZodDate>;
1190
- }, {
1191
1160
  name: z.ZodOptional<z.ZodString>;
1192
1161
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1193
1162
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1194
1163
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1195
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1164
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1196
1165
  id: z.ZodString;
1197
1166
  createdAt: z.ZodDate;
1198
1167
  updatedAt: z.ZodDate;
1199
1168
  deletedAt: z.ZodNullable<z.ZodDate>;
1200
- }, {
1201
1169
  textValue: z.ZodNullable<z.ZodString>;
1202
1170
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1203
1171
  numberValue: z.ZodNullable<z.ZodNumber>;
1204
1172
  dateValue: z.ZodNullable<z.ZodDate>;
1205
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
1173
+ attribute: z.ZodObject<Omit<{
1206
1174
  id: z.ZodString;
1207
1175
  createdAt: z.ZodDate;
1208
1176
  updatedAt: z.ZodDate;
1209
1177
  deletedAt: z.ZodNullable<z.ZodDate>;
1210
- }, {
1211
1178
  systemName: z.ZodString;
1212
1179
  displayName: z.ZodString;
1213
1180
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1216,14 +1183,13 @@ export declare const commentContract: {
1216
1183
  isArchived: z.ZodBoolean;
1217
1184
  isRequired: z.ZodBoolean;
1218
1185
  isUnique: z.ZodBoolean;
1219
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1220
- label: z.ZodString;
1186
+ options: z.ZodArray<z.ZodObject<{
1187
+ position: z.ZodNumber;
1221
1188
  value: z.ZodString;
1189
+ label: z.ZodString;
1222
1190
  isDefault: z.ZodBoolean;
1223
- position: z.ZodNumber;
1224
- }, {
1225
1191
  id: z.ZodString;
1226
- }>, "strip", z.ZodTypeAny, {
1192
+ }, "strip", z.ZodTypeAny, {
1227
1193
  id: string;
1228
1194
  position: number;
1229
1195
  value: string;
@@ -1236,15 +1202,14 @@ export declare const commentContract: {
1236
1202
  label: string;
1237
1203
  isDefault: boolean;
1238
1204
  }>, "many">;
1239
- group: z.ZodObject<z.objectUtil.extendShape<{
1205
+ group: z.ZodObject<{
1240
1206
  id: z.ZodString;
1241
1207
  createdAt: z.ZodDate;
1242
1208
  updatedAt: z.ZodDate;
1243
1209
  deletedAt: z.ZodNullable<z.ZodDate>;
1244
- }, {
1245
1210
  systemName: z.ZodString;
1246
1211
  displayName: z.ZodString;
1247
- }>, "strip", z.ZodTypeAny, {
1212
+ }, "strip", z.ZodTypeAny, {
1248
1213
  id: string;
1249
1214
  createdAt: Date;
1250
1215
  updatedAt: Date;
@@ -1259,7 +1224,7 @@ export declare const commentContract: {
1259
1224
  systemName: string;
1260
1225
  displayName: string;
1261
1226
  }>;
1262
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
1227
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
1263
1228
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1264
1229
  id: string;
1265
1230
  position: number;
@@ -1286,7 +1251,7 @@ export declare const commentContract: {
1286
1251
  isRequired: boolean;
1287
1252
  isUnique: boolean;
1288
1253
  }>;
1289
- }>, "strip", z.ZodTypeAny, {
1254
+ }, "strip", z.ZodTypeAny, {
1290
1255
  id: string;
1291
1256
  createdAt: Date;
1292
1257
  updatedAt: Date;
@@ -1333,7 +1298,7 @@ export declare const commentContract: {
1333
1298
  numberValue: number | null;
1334
1299
  dateValue: Date | null;
1335
1300
  }>, "many">>;
1336
- }>, "customFields">, "strip", z.ZodTypeAny, {
1301
+ }, "customFields">, "strip", z.ZodTypeAny, {
1337
1302
  id: string;
1338
1303
  createdAt: Date;
1339
1304
  updatedAt: Date;
@@ -1414,12 +1379,11 @@ export declare const commentContract: {
1414
1379
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1415
1380
  numberValue: z.ZodNullable<z.ZodNumber>;
1416
1381
  dateValue: z.ZodNullable<z.ZodDate>;
1417
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
1382
+ attribute: z.ZodObject<Omit<{
1418
1383
  id: z.ZodString;
1419
1384
  createdAt: z.ZodDate;
1420
1385
  updatedAt: z.ZodDate;
1421
1386
  deletedAt: z.ZodNullable<z.ZodDate>;
1422
- }, {
1423
1387
  systemName: z.ZodString;
1424
1388
  displayName: z.ZodString;
1425
1389
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1428,14 +1392,13 @@ export declare const commentContract: {
1428
1392
  isArchived: z.ZodBoolean;
1429
1393
  isRequired: z.ZodBoolean;
1430
1394
  isUnique: z.ZodBoolean;
1431
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1432
- label: z.ZodString;
1395
+ options: z.ZodArray<z.ZodObject<{
1396
+ position: z.ZodNumber;
1433
1397
  value: z.ZodString;
1398
+ label: z.ZodString;
1434
1399
  isDefault: z.ZodBoolean;
1435
- position: z.ZodNumber;
1436
- }, {
1437
1400
  id: z.ZodString;
1438
- }>, "strip", z.ZodTypeAny, {
1401
+ }, "strip", z.ZodTypeAny, {
1439
1402
  id: string;
1440
1403
  position: number;
1441
1404
  value: string;
@@ -1448,15 +1411,14 @@ export declare const commentContract: {
1448
1411
  label: string;
1449
1412
  isDefault: boolean;
1450
1413
  }>, "many">;
1451
- group: z.ZodObject<z.objectUtil.extendShape<{
1414
+ group: z.ZodObject<{
1452
1415
  id: z.ZodString;
1453
1416
  createdAt: z.ZodDate;
1454
1417
  updatedAt: z.ZodDate;
1455
1418
  deletedAt: z.ZodNullable<z.ZodDate>;
1456
- }, {
1457
1419
  systemName: z.ZodString;
1458
1420
  displayName: z.ZodString;
1459
- }>, "strip", z.ZodTypeAny, {
1421
+ }, "strip", z.ZodTypeAny, {
1460
1422
  id: string;
1461
1423
  createdAt: Date;
1462
1424
  updatedAt: Date;
@@ -1471,7 +1433,7 @@ export declare const commentContract: {
1471
1433
  systemName: string;
1472
1434
  displayName: string;
1473
1435
  }>;
1474
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
1436
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
1475
1437
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1476
1438
  id: string;
1477
1439
  position: number;
@@ -1498,19 +1460,18 @@ export declare const commentContract: {
1498
1460
  isRequired: boolean;
1499
1461
  isUnique: boolean;
1500
1462
  }>;
1501
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1463
+ uploads: z.ZodArray<z.ZodObject<{
1502
1464
  id: z.ZodString;
1503
1465
  createdAt: z.ZodDate;
1504
1466
  updatedAt: z.ZodDate;
1505
1467
  deletedAt: z.ZodNullable<z.ZodDate>;
1506
- }, {
1507
1468
  bucketName: z.ZodString;
1508
1469
  fileName: z.ZodString;
1509
1470
  fileSize: z.ZodNumber;
1510
1471
  fileKey: z.ZodString;
1511
1472
  fileUrl: z.ZodNullable<z.ZodString>;
1512
1473
  status: z.ZodNullable<z.ZodString>;
1513
- }>, "strip", z.ZodTypeAny, {
1474
+ }, "strip", z.ZodTypeAny, {
1514
1475
  id: string;
1515
1476
  status: string | null;
1516
1477
  createdAt: Date;
@@ -1936,19 +1897,18 @@ export declare const commentContract: {
1936
1897
  createdAt: z.ZodDate;
1937
1898
  updatedAt: z.ZodDate;
1938
1899
  deletedAt: z.ZodNullable<z.ZodDate>;
1939
- actor: z.ZodObject<z.objectUtil.extendShape<{
1900
+ actor: z.ZodObject<{
1901
+ name: z.ZodString;
1940
1902
  id: z.ZodString;
1903
+ address: z.ZodNullable<z.ZodString>;
1904
+ email: z.ZodString;
1941
1905
  createdAt: z.ZodDate;
1942
1906
  updatedAt: z.ZodDate;
1943
1907
  deletedAt: z.ZodNullable<z.ZodDate>;
1944
- name: z.ZodString;
1945
- email: z.ZodString;
1946
1908
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1947
1909
  password: z.ZodString;
1948
- address: z.ZodNullable<z.ZodString>;
1949
1910
  phone: z.ZodNullable<z.ZodString>;
1950
1911
  notificationCount: z.ZodNullable<z.ZodNumber>;
1951
- }, {
1952
1912
  roles: z.ZodArray<z.ZodObject<{
1953
1913
  id: z.ZodString;
1954
1914
  createdAt: z.ZodDate;
@@ -2054,7 +2014,7 @@ export declare const commentContract: {
2054
2014
  extensionName: string;
2055
2015
  telephonySignature: string | null;
2056
2016
  }>;
2057
- }>, "strip", z.ZodTypeAny, {
2017
+ }, "strip", z.ZodTypeAny, {
2058
2018
  name: string;
2059
2019
  id: string;
2060
2020
  address: string | null;
@@ -2284,7 +2244,7 @@ export declare const commentContract: {
2284
2244
  entity: string;
2285
2245
  };
2286
2246
  }>, "many">;
2287
- }>, "strip", z.ZodTypeAny, {
2247
+ }, "strip", z.ZodTypeAny, {
2288
2248
  type: string;
2289
2249
  id: string;
2290
2250
  channel: string;
@@ -2536,7 +2496,7 @@ export declare const commentContract: {
2536
2496
  assigneeId: string;
2537
2497
  creatorId: string;
2538
2498
  reasonToAssign: string | null;
2539
- assignee?: {
2499
+ creator?: {
2540
2500
  name: string;
2541
2501
  id: string;
2542
2502
  address: string | null;
@@ -2580,7 +2540,7 @@ export declare const commentContract: {
2580
2540
  telephonySignature: string | null;
2581
2541
  };
2582
2542
  } | null | undefined;
2583
- creator?: {
2543
+ assignee?: {
2584
2544
  name: string;
2585
2545
  id: string;
2586
2546
  address: string | null;
@@ -2877,7 +2837,7 @@ export declare const commentContract: {
2877
2837
  assigneeId: string;
2878
2838
  creatorId: string;
2879
2839
  reasonToAssign: string | null;
2880
- assignee?: {
2840
+ creator?: {
2881
2841
  name: string;
2882
2842
  id: string;
2883
2843
  address: string | null;
@@ -2921,7 +2881,7 @@ export declare const commentContract: {
2921
2881
  telephonySignature: string | null;
2922
2882
  };
2923
2883
  } | null | undefined;
2924
- creator?: {
2884
+ assignee?: {
2925
2885
  name: string;
2926
2886
  id: string;
2927
2887
  address: string | null;
@@ -2967,19 +2927,18 @@ export declare const commentContract: {
2967
2927
  } | null | undefined;
2968
2928
  ticketNumber?: number | undefined;
2969
2929
  }>;
2970
- agent: z.ZodObject<z.objectUtil.extendShape<{
2930
+ agent: z.ZodObject<{
2931
+ name: z.ZodString;
2971
2932
  id: z.ZodString;
2933
+ address: z.ZodNullable<z.ZodString>;
2934
+ email: z.ZodString;
2972
2935
  createdAt: z.ZodDate;
2973
2936
  updatedAt: z.ZodDate;
2974
2937
  deletedAt: z.ZodNullable<z.ZodDate>;
2975
- name: z.ZodString;
2976
- email: z.ZodString;
2977
2938
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
2978
2939
  password: z.ZodString;
2979
- address: z.ZodNullable<z.ZodString>;
2980
2940
  phone: z.ZodNullable<z.ZodString>;
2981
2941
  notificationCount: z.ZodNullable<z.ZodNumber>;
2982
- }, {
2983
2942
  roles: z.ZodArray<z.ZodObject<{
2984
2943
  id: z.ZodString;
2985
2944
  createdAt: z.ZodDate;
@@ -3085,7 +3044,7 @@ export declare const commentContract: {
3085
3044
  extensionName: string;
3086
3045
  telephonySignature: string | null;
3087
3046
  }>;
3088
- }>, "strip", z.ZodTypeAny, {
3047
+ }, "strip", z.ZodTypeAny, {
3089
3048
  name: string;
3090
3049
  id: string;
3091
3050
  address: string | null;
@@ -3429,7 +3388,7 @@ export declare const commentContract: {
3429
3388
  assigneeId: string;
3430
3389
  creatorId: string;
3431
3390
  reasonToAssign: string | null;
3432
- assignee?: {
3391
+ creator?: {
3433
3392
  name: string;
3434
3393
  id: string;
3435
3394
  address: string | null;
@@ -3473,7 +3432,7 @@ export declare const commentContract: {
3473
3432
  telephonySignature: string | null;
3474
3433
  };
3475
3434
  } | null | undefined;
3476
- creator?: {
3435
+ assignee?: {
3477
3436
  name: string;
3478
3437
  id: string;
3479
3438
  address: string | null;
@@ -3882,7 +3841,7 @@ export declare const commentContract: {
3882
3841
  assigneeId: string;
3883
3842
  creatorId: string;
3884
3843
  reasonToAssign: string | null;
3885
- assignee?: {
3844
+ creator?: {
3886
3845
  name: string;
3887
3846
  id: string;
3888
3847
  address: string | null;
@@ -3926,7 +3885,7 @@ export declare const commentContract: {
3926
3885
  telephonySignature: string | null;
3927
3886
  };
3928
3887
  } | null | undefined;
3929
- creator?: {
3888
+ assignee?: {
3930
3889
  name: string;
3931
3890
  id: string;
3932
3891
  address: string | null;
@@ -4079,7 +4038,7 @@ export declare const commentContract: {
4079
4038
  mentions: string[];
4080
4039
  comment: string;
4081
4040
  }>;
4082
- }>, "strip", z.ZodTypeAny, {
4041
+ }, "strip", z.ZodTypeAny, {
4083
4042
  requestId: string;
4084
4043
  comment: {
4085
4044
  id: string;
@@ -4338,7 +4297,7 @@ export declare const commentContract: {
4338
4297
  assigneeId: string;
4339
4298
  creatorId: string;
4340
4299
  reasonToAssign: string | null;
4341
- assignee?: {
4300
+ creator?: {
4342
4301
  name: string;
4343
4302
  id: string;
4344
4303
  address: string | null;
@@ -4382,7 +4341,7 @@ export declare const commentContract: {
4382
4341
  telephonySignature: string | null;
4383
4342
  };
4384
4343
  } | null | undefined;
4385
- creator?: {
4344
+ assignee?: {
4386
4345
  name: string;
4387
4346
  id: string;
4388
4347
  address: string | null;
@@ -4794,7 +4753,7 @@ export declare const commentContract: {
4794
4753
  assigneeId: string;
4795
4754
  creatorId: string;
4796
4755
  reasonToAssign: string | null;
4797
- assignee?: {
4756
+ creator?: {
4798
4757
  name: string;
4799
4758
  id: string;
4800
4759
  address: string | null;
@@ -4838,7 +4797,7 @@ export declare const commentContract: {
4838
4797
  telephonySignature: string | null;
4839
4798
  };
4840
4799
  } | null | undefined;
4841
- creator?: {
4800
+ assignee?: {
4842
4801
  name: string;
4843
4802
  id: string;
4844
4803
  address: string | null;
@@ -5020,20 +4979,6 @@ export declare const commentContract: {
5020
4979
  error?: any;
5021
4980
  }>;
5022
4981
  };
5023
- };
5024
- getComments: {
5025
- summary: "Get all comments.";
5026
- method: "GET";
5027
- query: z.ZodOptional<z.ZodObject<{
5028
- ticketId: z.ZodOptional<z.ZodString>;
5029
- deleted: z.ZodEffects<z.ZodDefault<z.ZodEnum<["true", "false"]>>, boolean, "false" | "true" | undefined>;
5030
- }, "strip", z.ZodTypeAny, {
5031
- deleted: boolean;
5032
- ticketId?: string | undefined;
5033
- }, {
5034
- deleted?: "false" | "true" | undefined;
5035
- ticketId?: string | undefined;
5036
- }>>;
5037
4982
  path: "ts/comment";
5038
4983
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5039
4984
  'x-tenant': z.ZodString;
@@ -5051,6 +4996,20 @@ export declare const commentContract: {
5051
4996
  'x-code'?: string | undefined;
5052
4997
  'x-client-timezone'?: string | undefined;
5053
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
+ }>>;
5054
5013
  responses: {
5055
5014
  201: z.ZodArray<z.ZodObject<{
5056
5015
  id: z.ZodString;
@@ -5062,19 +5021,18 @@ export declare const commentContract: {
5062
5021
  createdAt: z.ZodDate;
5063
5022
  updatedAt: z.ZodDate;
5064
5023
  deletedAt: z.ZodNullable<z.ZodDate>;
5065
- actor: z.ZodObject<z.objectUtil.extendShape<{
5024
+ actor: z.ZodObject<{
5025
+ name: z.ZodString;
5066
5026
  id: z.ZodString;
5027
+ address: z.ZodNullable<z.ZodString>;
5028
+ email: z.ZodString;
5067
5029
  createdAt: z.ZodDate;
5068
5030
  updatedAt: z.ZodDate;
5069
5031
  deletedAt: z.ZodNullable<z.ZodDate>;
5070
- name: z.ZodString;
5071
- email: z.ZodString;
5072
5032
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
5073
5033
  password: z.ZodString;
5074
- address: z.ZodNullable<z.ZodString>;
5075
5034
  phone: z.ZodNullable<z.ZodString>;
5076
5035
  notificationCount: z.ZodNullable<z.ZodNumber>;
5077
- }, {
5078
5036
  roles: z.ZodArray<z.ZodObject<{
5079
5037
  id: z.ZodString;
5080
5038
  createdAt: z.ZodDate;
@@ -5180,7 +5138,7 @@ export declare const commentContract: {
5180
5138
  extensionName: string;
5181
5139
  telephonySignature: string | null;
5182
5140
  }>;
5183
- }>, "strip", z.ZodTypeAny, {
5141
+ }, "strip", z.ZodTypeAny, {
5184
5142
  name: string;
5185
5143
  id: string;
5186
5144
  address: string | null;
@@ -5412,12 +5370,11 @@ export declare const commentContract: {
5412
5370
  }>, "many">;
5413
5371
  comment: z.ZodString;
5414
5372
  mentions: z.ZodArray<z.ZodString, "many">;
5415
- ticket: z.ZodObject<z.objectUtil.extendShape<{
5373
+ ticket: z.ZodObject<{
5416
5374
  id: z.ZodString;
5417
5375
  createdAt: z.ZodDate;
5418
5376
  updatedAt: z.ZodDate;
5419
5377
  deletedAt: z.ZodNullable<z.ZodDate>;
5420
- }, {
5421
5378
  title: z.ZodString;
5422
5379
  description: z.ZodNullable<z.ZodString>;
5423
5380
  type: z.ZodString;
@@ -5426,19 +5383,18 @@ export declare const commentContract: {
5426
5383
  status: z.ZodString;
5427
5384
  contactId: z.ZodString;
5428
5385
  creatorId: z.ZodString;
5429
- creator: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
5386
+ creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5387
+ name: z.ZodString;
5430
5388
  id: z.ZodString;
5389
+ address: z.ZodNullable<z.ZodString>;
5390
+ email: z.ZodString;
5431
5391
  createdAt: z.ZodDate;
5432
5392
  updatedAt: z.ZodDate;
5433
5393
  deletedAt: z.ZodNullable<z.ZodDate>;
5434
- name: z.ZodString;
5435
- email: z.ZodString;
5436
5394
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
5437
5395
  password: z.ZodString;
5438
- address: z.ZodNullable<z.ZodString>;
5439
5396
  phone: z.ZodNullable<z.ZodString>;
5440
5397
  notificationCount: z.ZodNullable<z.ZodNumber>;
5441
- }, {
5442
5398
  roles: z.ZodArray<z.ZodObject<{
5443
5399
  id: z.ZodString;
5444
5400
  createdAt: z.ZodDate;
@@ -5544,7 +5500,7 @@ export declare const commentContract: {
5544
5500
  extensionName: string;
5545
5501
  telephonySignature: string | null;
5546
5502
  }>;
5547
- }>, "strip", z.ZodTypeAny, {
5503
+ }, "strip", z.ZodTypeAny, {
5548
5504
  name: string;
5549
5505
  id: string;
5550
5506
  address: string | null;
@@ -5632,19 +5588,18 @@ export declare const commentContract: {
5632
5588
  };
5633
5589
  }>>>;
5634
5590
  assigneeId: z.ZodString;
5635
- assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
5591
+ assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5592
+ name: z.ZodString;
5636
5593
  id: z.ZodString;
5594
+ address: z.ZodNullable<z.ZodString>;
5595
+ email: z.ZodString;
5637
5596
  createdAt: z.ZodDate;
5638
5597
  updatedAt: z.ZodDate;
5639
5598
  deletedAt: z.ZodNullable<z.ZodDate>;
5640
- name: z.ZodString;
5641
- email: z.ZodString;
5642
5599
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
5643
5600
  password: z.ZodString;
5644
- address: z.ZodNullable<z.ZodString>;
5645
5601
  phone: z.ZodNullable<z.ZodString>;
5646
5602
  notificationCount: z.ZodNullable<z.ZodNumber>;
5647
- }, {
5648
5603
  roles: z.ZodArray<z.ZodObject<{
5649
5604
  id: z.ZodString;
5650
5605
  createdAt: z.ZodDate;
@@ -5750,7 +5705,7 @@ export declare const commentContract: {
5750
5705
  extensionName: string;
5751
5706
  telephonySignature: string | null;
5752
5707
  }>;
5753
- }>, "strip", z.ZodTypeAny, {
5708
+ }, "strip", z.ZodTypeAny, {
5754
5709
  name: string;
5755
5710
  id: string;
5756
5711
  address: string | null;
@@ -5839,22 +5794,20 @@ export declare const commentContract: {
5839
5794
  }>>>;
5840
5795
  reasonToAssign: z.ZodNullable<z.ZodString>;
5841
5796
  ticketNumber: z.ZodOptional<z.ZodNumber>;
5842
- customFields: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5797
+ customFields: z.ZodArray<z.ZodObject<{
5843
5798
  id: z.ZodString;
5844
5799
  createdAt: z.ZodDate;
5845
5800
  updatedAt: z.ZodDate;
5846
5801
  deletedAt: z.ZodNullable<z.ZodDate>;
5847
- }, {
5848
5802
  textValue: z.ZodNullable<z.ZodString>;
5849
5803
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5850
5804
  numberValue: z.ZodNullable<z.ZodNumber>;
5851
5805
  dateValue: z.ZodNullable<z.ZodDate>;
5852
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5806
+ attribute: z.ZodObject<Omit<{
5853
5807
  id: z.ZodString;
5854
5808
  createdAt: z.ZodDate;
5855
5809
  updatedAt: z.ZodDate;
5856
5810
  deletedAt: z.ZodNullable<z.ZodDate>;
5857
- }, {
5858
5811
  systemName: z.ZodString;
5859
5812
  displayName: z.ZodString;
5860
5813
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5863,14 +5816,13 @@ export declare const commentContract: {
5863
5816
  isArchived: z.ZodBoolean;
5864
5817
  isRequired: z.ZodBoolean;
5865
5818
  isUnique: z.ZodBoolean;
5866
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5867
- label: z.ZodString;
5819
+ options: z.ZodArray<z.ZodObject<{
5820
+ position: z.ZodNumber;
5868
5821
  value: z.ZodString;
5822
+ label: z.ZodString;
5869
5823
  isDefault: z.ZodBoolean;
5870
- position: z.ZodNumber;
5871
- }, {
5872
5824
  id: z.ZodString;
5873
- }>, "strip", z.ZodTypeAny, {
5825
+ }, "strip", z.ZodTypeAny, {
5874
5826
  id: string;
5875
5827
  position: number;
5876
5828
  value: string;
@@ -5883,15 +5835,14 @@ export declare const commentContract: {
5883
5835
  label: string;
5884
5836
  isDefault: boolean;
5885
5837
  }>, "many">;
5886
- group: z.ZodObject<z.objectUtil.extendShape<{
5838
+ group: z.ZodObject<{
5887
5839
  id: z.ZodString;
5888
5840
  createdAt: z.ZodDate;
5889
5841
  updatedAt: z.ZodDate;
5890
5842
  deletedAt: z.ZodNullable<z.ZodDate>;
5891
- }, {
5892
5843
  systemName: z.ZodString;
5893
5844
  displayName: z.ZodString;
5894
- }>, "strip", z.ZodTypeAny, {
5845
+ }, "strip", z.ZodTypeAny, {
5895
5846
  id: string;
5896
5847
  createdAt: Date;
5897
5848
  updatedAt: Date;
@@ -5906,7 +5857,7 @@ export declare const commentContract: {
5906
5857
  systemName: string;
5907
5858
  displayName: string;
5908
5859
  }>;
5909
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
5860
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
5910
5861
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5911
5862
  id: string;
5912
5863
  position: number;
@@ -5933,19 +5884,18 @@ export declare const commentContract: {
5933
5884
  isRequired: boolean;
5934
5885
  isUnique: boolean;
5935
5886
  }>;
5936
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5887
+ uploads: z.ZodArray<z.ZodObject<{
5937
5888
  id: z.ZodString;
5938
5889
  createdAt: z.ZodDate;
5939
5890
  updatedAt: z.ZodDate;
5940
5891
  deletedAt: z.ZodNullable<z.ZodDate>;
5941
- }, {
5942
5892
  bucketName: z.ZodString;
5943
5893
  fileName: z.ZodString;
5944
5894
  fileSize: z.ZodNumber;
5945
5895
  fileKey: z.ZodString;
5946
5896
  fileUrl: z.ZodNullable<z.ZodString>;
5947
5897
  status: z.ZodNullable<z.ZodString>;
5948
- }>, "strip", z.ZodTypeAny, {
5898
+ }, "strip", z.ZodTypeAny, {
5949
5899
  id: string;
5950
5900
  status: string | null;
5951
5901
  createdAt: Date;
@@ -5968,7 +5918,7 @@ export declare const commentContract: {
5968
5918
  fileSize: number;
5969
5919
  fileUrl: string | null;
5970
5920
  }>, "many">;
5971
- }>, "strip", z.ZodTypeAny, {
5921
+ }, "strip", z.ZodTypeAny, {
5972
5922
  id: string;
5973
5923
  createdAt: Date;
5974
5924
  updatedAt: Date;
@@ -6039,14 +5989,13 @@ export declare const commentContract: {
6039
5989
  fileUrl: string | null;
6040
5990
  }[];
6041
5991
  }>, "many">;
6042
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5992
+ tags: z.ZodArray<z.ZodObject<{
6043
5993
  id: z.ZodString;
6044
5994
  createdAt: z.ZodDate;
6045
5995
  updatedAt: z.ZodDate;
6046
5996
  deletedAt: z.ZodNullable<z.ZodDate>;
6047
- }, {
6048
5997
  name: z.ZodString;
6049
- }>, "strip", z.ZodTypeAny, {
5998
+ }, "strip", z.ZodTypeAny, {
6050
5999
  name: string;
6051
6000
  id: string;
6052
6001
  createdAt: Date;
@@ -6059,12 +6008,11 @@ export declare const commentContract: {
6059
6008
  updatedAt: Date;
6060
6009
  deletedAt: Date | null;
6061
6010
  }>, "many">;
6062
- categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6011
+ categories: z.ZodArray<z.ZodObject<{
6063
6012
  id: z.ZodString;
6064
6013
  createdAt: z.ZodDate;
6065
6014
  updatedAt: z.ZodDate;
6066
6015
  deletedAt: z.ZodNullable<z.ZodDate>;
6067
- }, {
6068
6016
  value: z.ZodString;
6069
6017
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
6070
6018
  parentId: z.ZodNullable<z.ZodString>;
@@ -6117,7 +6065,7 @@ export declare const commentContract: {
6117
6065
  childCategoryList: any[];
6118
6066
  }[];
6119
6067
  }>, "many">;
6120
- }>, "strip", z.ZodTypeAny, {
6068
+ }, "strip", z.ZodTypeAny, {
6121
6069
  id: string;
6122
6070
  value: string;
6123
6071
  createdAt: Date;
@@ -6171,14 +6119,13 @@ export declare const commentContract: {
6171
6119
  notes: z.ZodNullable<z.ZodString>;
6172
6120
  contactProfile: z.ZodNullable<z.ZodString>;
6173
6121
  socialProfileUrl: z.ZodNullable<z.ZodString>;
6174
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6122
+ tags: z.ZodArray<z.ZodObject<{
6175
6123
  id: z.ZodString;
6176
6124
  createdAt: z.ZodDate;
6177
6125
  updatedAt: z.ZodDate;
6178
6126
  deletedAt: z.ZodNullable<z.ZodDate>;
6179
- }, {
6180
6127
  name: z.ZodString;
6181
- }>, "strip", z.ZodTypeAny, {
6128
+ }, "strip", z.ZodTypeAny, {
6182
6129
  name: string;
6183
6130
  id: string;
6184
6131
  createdAt: Date;
@@ -6191,32 +6138,29 @@ export declare const commentContract: {
6191
6138
  updatedAt: Date;
6192
6139
  deletedAt: Date | null;
6193
6140
  }>, "many">;
6194
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
6141
+ company: z.ZodNullable<z.ZodObject<Omit<{
6195
6142
  id: z.ZodString;
6196
6143
  createdAt: z.ZodDate;
6197
6144
  updatedAt: z.ZodDate;
6198
6145
  deletedAt: z.ZodNullable<z.ZodDate>;
6199
- }, {
6200
6146
  name: z.ZodOptional<z.ZodString>;
6201
6147
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6202
6148
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6203
6149
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6204
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6150
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
6205
6151
  id: z.ZodString;
6206
6152
  createdAt: z.ZodDate;
6207
6153
  updatedAt: z.ZodDate;
6208
6154
  deletedAt: z.ZodNullable<z.ZodDate>;
6209
- }, {
6210
6155
  textValue: z.ZodNullable<z.ZodString>;
6211
6156
  booleanValue: z.ZodNullable<z.ZodBoolean>;
6212
6157
  numberValue: z.ZodNullable<z.ZodNumber>;
6213
6158
  dateValue: z.ZodNullable<z.ZodDate>;
6214
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
6159
+ attribute: z.ZodObject<Omit<{
6215
6160
  id: z.ZodString;
6216
6161
  createdAt: z.ZodDate;
6217
6162
  updatedAt: z.ZodDate;
6218
6163
  deletedAt: z.ZodNullable<z.ZodDate>;
6219
- }, {
6220
6164
  systemName: z.ZodString;
6221
6165
  displayName: z.ZodString;
6222
6166
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -6225,14 +6169,13 @@ export declare const commentContract: {
6225
6169
  isArchived: z.ZodBoolean;
6226
6170
  isRequired: z.ZodBoolean;
6227
6171
  isUnique: z.ZodBoolean;
6228
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6229
- label: z.ZodString;
6172
+ options: z.ZodArray<z.ZodObject<{
6173
+ position: z.ZodNumber;
6230
6174
  value: z.ZodString;
6175
+ label: z.ZodString;
6231
6176
  isDefault: z.ZodBoolean;
6232
- position: z.ZodNumber;
6233
- }, {
6234
6177
  id: z.ZodString;
6235
- }>, "strip", z.ZodTypeAny, {
6178
+ }, "strip", z.ZodTypeAny, {
6236
6179
  id: string;
6237
6180
  position: number;
6238
6181
  value: string;
@@ -6245,15 +6188,14 @@ export declare const commentContract: {
6245
6188
  label: string;
6246
6189
  isDefault: boolean;
6247
6190
  }>, "many">;
6248
- group: z.ZodObject<z.objectUtil.extendShape<{
6191
+ group: z.ZodObject<{
6249
6192
  id: z.ZodString;
6250
6193
  createdAt: z.ZodDate;
6251
6194
  updatedAt: z.ZodDate;
6252
6195
  deletedAt: z.ZodNullable<z.ZodDate>;
6253
- }, {
6254
6196
  systemName: z.ZodString;
6255
6197
  displayName: z.ZodString;
6256
- }>, "strip", z.ZodTypeAny, {
6198
+ }, "strip", z.ZodTypeAny, {
6257
6199
  id: string;
6258
6200
  createdAt: Date;
6259
6201
  updatedAt: Date;
@@ -6268,7 +6210,7 @@ export declare const commentContract: {
6268
6210
  systemName: string;
6269
6211
  displayName: string;
6270
6212
  }>;
6271
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
6213
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
6272
6214
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6273
6215
  id: string;
6274
6216
  position: number;
@@ -6295,7 +6237,7 @@ export declare const commentContract: {
6295
6237
  isRequired: boolean;
6296
6238
  isUnique: boolean;
6297
6239
  }>;
6298
- }>, "strip", z.ZodTypeAny, {
6240
+ }, "strip", z.ZodTypeAny, {
6299
6241
  id: string;
6300
6242
  createdAt: Date;
6301
6243
  updatedAt: Date;
@@ -6342,7 +6284,7 @@ export declare const commentContract: {
6342
6284
  numberValue: number | null;
6343
6285
  dateValue: Date | null;
6344
6286
  }>, "many">>;
6345
- }>, "customFields">, "strip", z.ZodTypeAny, {
6287
+ }, "customFields">, "strip", z.ZodTypeAny, {
6346
6288
  id: string;
6347
6289
  createdAt: Date;
6348
6290
  updatedAt: Date;
@@ -6423,12 +6365,11 @@ export declare const commentContract: {
6423
6365
  booleanValue: z.ZodNullable<z.ZodBoolean>;
6424
6366
  numberValue: z.ZodNullable<z.ZodNumber>;
6425
6367
  dateValue: z.ZodNullable<z.ZodDate>;
6426
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
6368
+ attribute: z.ZodObject<Omit<{
6427
6369
  id: z.ZodString;
6428
6370
  createdAt: z.ZodDate;
6429
6371
  updatedAt: z.ZodDate;
6430
6372
  deletedAt: z.ZodNullable<z.ZodDate>;
6431
- }, {
6432
6373
  systemName: z.ZodString;
6433
6374
  displayName: z.ZodString;
6434
6375
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -6437,14 +6378,13 @@ export declare const commentContract: {
6437
6378
  isArchived: z.ZodBoolean;
6438
6379
  isRequired: z.ZodBoolean;
6439
6380
  isUnique: z.ZodBoolean;
6440
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6441
- label: z.ZodString;
6381
+ options: z.ZodArray<z.ZodObject<{
6382
+ position: z.ZodNumber;
6442
6383
  value: z.ZodString;
6384
+ label: z.ZodString;
6443
6385
  isDefault: z.ZodBoolean;
6444
- position: z.ZodNumber;
6445
- }, {
6446
6386
  id: z.ZodString;
6447
- }>, "strip", z.ZodTypeAny, {
6387
+ }, "strip", z.ZodTypeAny, {
6448
6388
  id: string;
6449
6389
  position: number;
6450
6390
  value: string;
@@ -6457,15 +6397,14 @@ export declare const commentContract: {
6457
6397
  label: string;
6458
6398
  isDefault: boolean;
6459
6399
  }>, "many">;
6460
- group: z.ZodObject<z.objectUtil.extendShape<{
6400
+ group: z.ZodObject<{
6461
6401
  id: z.ZodString;
6462
6402
  createdAt: z.ZodDate;
6463
6403
  updatedAt: z.ZodDate;
6464
6404
  deletedAt: z.ZodNullable<z.ZodDate>;
6465
- }, {
6466
6405
  systemName: z.ZodString;
6467
6406
  displayName: z.ZodString;
6468
- }>, "strip", z.ZodTypeAny, {
6407
+ }, "strip", z.ZodTypeAny, {
6469
6408
  id: string;
6470
6409
  createdAt: Date;
6471
6410
  updatedAt: Date;
@@ -6480,7 +6419,7 @@ export declare const commentContract: {
6480
6419
  systemName: string;
6481
6420
  displayName: string;
6482
6421
  }>;
6483
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
6422
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
6484
6423
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6485
6424
  id: string;
6486
6425
  position: number;
@@ -6507,19 +6446,18 @@ export declare const commentContract: {
6507
6446
  isRequired: boolean;
6508
6447
  isUnique: boolean;
6509
6448
  }>;
6510
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6449
+ uploads: z.ZodArray<z.ZodObject<{
6511
6450
  id: z.ZodString;
6512
6451
  createdAt: z.ZodDate;
6513
6452
  updatedAt: z.ZodDate;
6514
6453
  deletedAt: z.ZodNullable<z.ZodDate>;
6515
- }, {
6516
6454
  bucketName: z.ZodString;
6517
6455
  fileName: z.ZodString;
6518
6456
  fileSize: z.ZodNumber;
6519
6457
  fileKey: z.ZodString;
6520
6458
  fileUrl: z.ZodNullable<z.ZodString>;
6521
6459
  status: z.ZodNullable<z.ZodString>;
6522
- }>, "strip", z.ZodTypeAny, {
6460
+ }, "strip", z.ZodTypeAny, {
6523
6461
  id: string;
6524
6462
  status: string | null;
6525
6463
  createdAt: Date;
@@ -6945,19 +6883,18 @@ export declare const commentContract: {
6945
6883
  createdAt: z.ZodDate;
6946
6884
  updatedAt: z.ZodDate;
6947
6885
  deletedAt: z.ZodNullable<z.ZodDate>;
6948
- actor: z.ZodObject<z.objectUtil.extendShape<{
6886
+ actor: z.ZodObject<{
6887
+ name: z.ZodString;
6949
6888
  id: z.ZodString;
6889
+ address: z.ZodNullable<z.ZodString>;
6890
+ email: z.ZodString;
6950
6891
  createdAt: z.ZodDate;
6951
6892
  updatedAt: z.ZodDate;
6952
6893
  deletedAt: z.ZodNullable<z.ZodDate>;
6953
- name: z.ZodString;
6954
- email: z.ZodString;
6955
6894
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6956
6895
  password: z.ZodString;
6957
- address: z.ZodNullable<z.ZodString>;
6958
6896
  phone: z.ZodNullable<z.ZodString>;
6959
6897
  notificationCount: z.ZodNullable<z.ZodNumber>;
6960
- }, {
6961
6898
  roles: z.ZodArray<z.ZodObject<{
6962
6899
  id: z.ZodString;
6963
6900
  createdAt: z.ZodDate;
@@ -7063,7 +7000,7 @@ export declare const commentContract: {
7063
7000
  extensionName: string;
7064
7001
  telephonySignature: string | null;
7065
7002
  }>;
7066
- }>, "strip", z.ZodTypeAny, {
7003
+ }, "strip", z.ZodTypeAny, {
7067
7004
  name: string;
7068
7005
  id: string;
7069
7006
  address: string | null;
@@ -7293,7 +7230,7 @@ export declare const commentContract: {
7293
7230
  entity: string;
7294
7231
  };
7295
7232
  }>, "many">;
7296
- }>, "strip", z.ZodTypeAny, {
7233
+ }, "strip", z.ZodTypeAny, {
7297
7234
  type: string;
7298
7235
  id: string;
7299
7236
  channel: string;
@@ -7545,7 +7482,7 @@ export declare const commentContract: {
7545
7482
  assigneeId: string;
7546
7483
  creatorId: string;
7547
7484
  reasonToAssign: string | null;
7548
- assignee?: {
7485
+ creator?: {
7549
7486
  name: string;
7550
7487
  id: string;
7551
7488
  address: string | null;
@@ -7589,7 +7526,7 @@ export declare const commentContract: {
7589
7526
  telephonySignature: string | null;
7590
7527
  };
7591
7528
  } | null | undefined;
7592
- creator?: {
7529
+ assignee?: {
7593
7530
  name: string;
7594
7531
  id: string;
7595
7532
  address: string | null;
@@ -7886,7 +7823,7 @@ export declare const commentContract: {
7886
7823
  assigneeId: string;
7887
7824
  creatorId: string;
7888
7825
  reasonToAssign: string | null;
7889
- assignee?: {
7826
+ creator?: {
7890
7827
  name: string;
7891
7828
  id: string;
7892
7829
  address: string | null;
@@ -7930,7 +7867,7 @@ export declare const commentContract: {
7930
7867
  telephonySignature: string | null;
7931
7868
  };
7932
7869
  } | null | undefined;
7933
- creator?: {
7870
+ assignee?: {
7934
7871
  name: string;
7935
7872
  id: string;
7936
7873
  address: string | null;
@@ -7976,19 +7913,18 @@ export declare const commentContract: {
7976
7913
  } | null | undefined;
7977
7914
  ticketNumber?: number | undefined;
7978
7915
  }>;
7979
- agent: z.ZodObject<z.objectUtil.extendShape<{
7916
+ agent: z.ZodObject<{
7917
+ name: z.ZodString;
7980
7918
  id: z.ZodString;
7919
+ address: z.ZodNullable<z.ZodString>;
7920
+ email: z.ZodString;
7981
7921
  createdAt: z.ZodDate;
7982
7922
  updatedAt: z.ZodDate;
7983
7923
  deletedAt: z.ZodNullable<z.ZodDate>;
7984
- name: z.ZodString;
7985
- email: z.ZodString;
7986
7924
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
7987
7925
  password: z.ZodString;
7988
- address: z.ZodNullable<z.ZodString>;
7989
7926
  phone: z.ZodNullable<z.ZodString>;
7990
7927
  notificationCount: z.ZodNullable<z.ZodNumber>;
7991
- }, {
7992
7928
  roles: z.ZodArray<z.ZodObject<{
7993
7929
  id: z.ZodString;
7994
7930
  createdAt: z.ZodDate;
@@ -8094,7 +8030,7 @@ export declare const commentContract: {
8094
8030
  extensionName: string;
8095
8031
  telephonySignature: string | null;
8096
8032
  }>;
8097
- }>, "strip", z.ZodTypeAny, {
8033
+ }, "strip", z.ZodTypeAny, {
8098
8034
  name: string;
8099
8035
  id: string;
8100
8036
  address: string | null;
@@ -8438,7 +8374,7 @@ export declare const commentContract: {
8438
8374
  assigneeId: string;
8439
8375
  creatorId: string;
8440
8376
  reasonToAssign: string | null;
8441
- assignee?: {
8377
+ creator?: {
8442
8378
  name: string;
8443
8379
  id: string;
8444
8380
  address: string | null;
@@ -8482,7 +8418,7 @@ export declare const commentContract: {
8482
8418
  telephonySignature: string | null;
8483
8419
  };
8484
8420
  } | null | undefined;
8485
- creator?: {
8421
+ assignee?: {
8486
8422
  name: string;
8487
8423
  id: string;
8488
8424
  address: string | null;
@@ -8891,7 +8827,7 @@ export declare const commentContract: {
8891
8827
  assigneeId: string;
8892
8828
  creatorId: string;
8893
8829
  reasonToAssign: string | null;
8894
- assignee?: {
8830
+ creator?: {
8895
8831
  name: string;
8896
8832
  id: string;
8897
8833
  address: string | null;
@@ -8935,7 +8871,7 @@ export declare const commentContract: {
8935
8871
  telephonySignature: string | null;
8936
8872
  };
8937
8873
  } | null | undefined;
8938
- creator?: {
8874
+ assignee?: {
8939
8875
  name: string;
8940
8876
  id: string;
8941
8877
  address: string | null;
@@ -9116,6 +9052,23 @@ export declare const commentContract: {
9116
9052
  error?: any;
9117
9053
  }>;
9118
9054
  };
9055
+ path: "ts/comment";
9056
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9057
+ 'x-tenant': z.ZodString;
9058
+ 'x-service-token': 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
+ 'x-service-token': string;
9064
+ 'x-client-timezone': string;
9065
+ 'x-code'?: string | undefined;
9066
+ }, {
9067
+ 'x-tenant': string;
9068
+ 'x-service-token': string;
9069
+ 'x-code'?: string | undefined;
9070
+ 'x-client-timezone'?: string | undefined;
9071
+ }>>>;
9119
9072
  };
9120
9073
  updateComment: {
9121
9074
  body: z.ZodObject<{
@@ -9140,27 +9093,9 @@ export declare const commentContract: {
9140
9093
  }, {
9141
9094
  id: string;
9142
9095
  }>;
9143
- path: "ts/comment/:id";
9144
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9145
- 'x-tenant': z.ZodString;
9146
- 'x-service-token': z.ZodString;
9147
- 'x-code': z.ZodOptional<z.ZodString>;
9148
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
9149
- }, "strip", z.ZodTypeAny, {
9150
- 'x-tenant': string;
9151
- 'x-service-token': string;
9152
- 'x-client-timezone': string;
9153
- 'x-code'?: string | undefined;
9154
- }, {
9155
- 'x-tenant': string;
9156
- 'x-service-token': string;
9157
- 'x-code'?: string | undefined;
9158
- 'x-client-timezone'?: string | undefined;
9159
- }>>>;
9160
9096
  responses: {
9161
- 200: z.ZodObject<z.objectUtil.extendShape<{
9097
+ 200: z.ZodObject<{
9162
9098
  requestId: z.ZodString;
9163
- }, {
9164
9099
  comment: z.ZodObject<{
9165
9100
  id: z.ZodString;
9166
9101
  createdAt: z.ZodDate;
@@ -9171,19 +9106,18 @@ export declare const commentContract: {
9171
9106
  createdAt: z.ZodDate;
9172
9107
  updatedAt: z.ZodDate;
9173
9108
  deletedAt: z.ZodNullable<z.ZodDate>;
9174
- actor: z.ZodObject<z.objectUtil.extendShape<{
9109
+ actor: z.ZodObject<{
9110
+ name: z.ZodString;
9175
9111
  id: z.ZodString;
9112
+ address: z.ZodNullable<z.ZodString>;
9113
+ email: z.ZodString;
9176
9114
  createdAt: z.ZodDate;
9177
9115
  updatedAt: z.ZodDate;
9178
9116
  deletedAt: z.ZodNullable<z.ZodDate>;
9179
- name: z.ZodString;
9180
- email: z.ZodString;
9181
9117
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
9182
9118
  password: z.ZodString;
9183
- address: z.ZodNullable<z.ZodString>;
9184
9119
  phone: z.ZodNullable<z.ZodString>;
9185
9120
  notificationCount: z.ZodNullable<z.ZodNumber>;
9186
- }, {
9187
9121
  roles: z.ZodArray<z.ZodObject<{
9188
9122
  id: z.ZodString;
9189
9123
  createdAt: z.ZodDate;
@@ -9289,7 +9223,7 @@ export declare const commentContract: {
9289
9223
  extensionName: string;
9290
9224
  telephonySignature: string | null;
9291
9225
  }>;
9292
- }>, "strip", z.ZodTypeAny, {
9226
+ }, "strip", z.ZodTypeAny, {
9293
9227
  name: string;
9294
9228
  id: string;
9295
9229
  address: string | null;
@@ -9521,12 +9455,11 @@ export declare const commentContract: {
9521
9455
  }>, "many">;
9522
9456
  comment: z.ZodString;
9523
9457
  mentions: z.ZodArray<z.ZodString, "many">;
9524
- ticket: z.ZodObject<z.objectUtil.extendShape<{
9458
+ ticket: z.ZodObject<{
9525
9459
  id: z.ZodString;
9526
9460
  createdAt: z.ZodDate;
9527
9461
  updatedAt: z.ZodDate;
9528
9462
  deletedAt: z.ZodNullable<z.ZodDate>;
9529
- }, {
9530
9463
  title: z.ZodString;
9531
9464
  description: z.ZodNullable<z.ZodString>;
9532
9465
  type: z.ZodString;
@@ -9535,19 +9468,18 @@ export declare const commentContract: {
9535
9468
  status: z.ZodString;
9536
9469
  contactId: z.ZodString;
9537
9470
  creatorId: z.ZodString;
9538
- creator: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
9471
+ creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9472
+ name: z.ZodString;
9539
9473
  id: z.ZodString;
9474
+ address: z.ZodNullable<z.ZodString>;
9475
+ email: z.ZodString;
9540
9476
  createdAt: z.ZodDate;
9541
9477
  updatedAt: z.ZodDate;
9542
9478
  deletedAt: z.ZodNullable<z.ZodDate>;
9543
- name: z.ZodString;
9544
- email: z.ZodString;
9545
9479
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
9546
9480
  password: z.ZodString;
9547
- address: z.ZodNullable<z.ZodString>;
9548
9481
  phone: z.ZodNullable<z.ZodString>;
9549
9482
  notificationCount: z.ZodNullable<z.ZodNumber>;
9550
- }, {
9551
9483
  roles: z.ZodArray<z.ZodObject<{
9552
9484
  id: z.ZodString;
9553
9485
  createdAt: z.ZodDate;
@@ -9653,7 +9585,7 @@ export declare const commentContract: {
9653
9585
  extensionName: string;
9654
9586
  telephonySignature: string | null;
9655
9587
  }>;
9656
- }>, "strip", z.ZodTypeAny, {
9588
+ }, "strip", z.ZodTypeAny, {
9657
9589
  name: string;
9658
9590
  id: string;
9659
9591
  address: string | null;
@@ -9741,19 +9673,18 @@ export declare const commentContract: {
9741
9673
  };
9742
9674
  }>>>;
9743
9675
  assigneeId: z.ZodString;
9744
- assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
9676
+ assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9677
+ name: z.ZodString;
9745
9678
  id: z.ZodString;
9679
+ address: z.ZodNullable<z.ZodString>;
9680
+ email: z.ZodString;
9746
9681
  createdAt: z.ZodDate;
9747
9682
  updatedAt: z.ZodDate;
9748
9683
  deletedAt: z.ZodNullable<z.ZodDate>;
9749
- name: z.ZodString;
9750
- email: z.ZodString;
9751
9684
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
9752
9685
  password: z.ZodString;
9753
- address: z.ZodNullable<z.ZodString>;
9754
9686
  phone: z.ZodNullable<z.ZodString>;
9755
9687
  notificationCount: z.ZodNullable<z.ZodNumber>;
9756
- }, {
9757
9688
  roles: z.ZodArray<z.ZodObject<{
9758
9689
  id: z.ZodString;
9759
9690
  createdAt: z.ZodDate;
@@ -9859,7 +9790,7 @@ export declare const commentContract: {
9859
9790
  extensionName: string;
9860
9791
  telephonySignature: string | null;
9861
9792
  }>;
9862
- }>, "strip", z.ZodTypeAny, {
9793
+ }, "strip", z.ZodTypeAny, {
9863
9794
  name: string;
9864
9795
  id: string;
9865
9796
  address: string | null;
@@ -9948,22 +9879,20 @@ export declare const commentContract: {
9948
9879
  }>>>;
9949
9880
  reasonToAssign: z.ZodNullable<z.ZodString>;
9950
9881
  ticketNumber: z.ZodOptional<z.ZodNumber>;
9951
- customFields: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
9882
+ customFields: z.ZodArray<z.ZodObject<{
9952
9883
  id: z.ZodString;
9953
9884
  createdAt: z.ZodDate;
9954
9885
  updatedAt: z.ZodDate;
9955
9886
  deletedAt: z.ZodNullable<z.ZodDate>;
9956
- }, {
9957
9887
  textValue: z.ZodNullable<z.ZodString>;
9958
9888
  booleanValue: z.ZodNullable<z.ZodBoolean>;
9959
9889
  numberValue: z.ZodNullable<z.ZodNumber>;
9960
9890
  dateValue: z.ZodNullable<z.ZodDate>;
9961
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
9891
+ attribute: z.ZodObject<Omit<{
9962
9892
  id: z.ZodString;
9963
9893
  createdAt: z.ZodDate;
9964
9894
  updatedAt: z.ZodDate;
9965
9895
  deletedAt: z.ZodNullable<z.ZodDate>;
9966
- }, {
9967
9896
  systemName: z.ZodString;
9968
9897
  displayName: z.ZodString;
9969
9898
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -9972,14 +9901,13 @@ export declare const commentContract: {
9972
9901
  isArchived: z.ZodBoolean;
9973
9902
  isRequired: z.ZodBoolean;
9974
9903
  isUnique: z.ZodBoolean;
9975
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
9976
- label: z.ZodString;
9904
+ options: z.ZodArray<z.ZodObject<{
9905
+ position: z.ZodNumber;
9977
9906
  value: z.ZodString;
9907
+ label: z.ZodString;
9978
9908
  isDefault: z.ZodBoolean;
9979
- position: z.ZodNumber;
9980
- }, {
9981
9909
  id: z.ZodString;
9982
- }>, "strip", z.ZodTypeAny, {
9910
+ }, "strip", z.ZodTypeAny, {
9983
9911
  id: string;
9984
9912
  position: number;
9985
9913
  value: string;
@@ -9992,15 +9920,14 @@ export declare const commentContract: {
9992
9920
  label: string;
9993
9921
  isDefault: boolean;
9994
9922
  }>, "many">;
9995
- group: z.ZodObject<z.objectUtil.extendShape<{
9923
+ group: z.ZodObject<{
9996
9924
  id: z.ZodString;
9997
9925
  createdAt: z.ZodDate;
9998
9926
  updatedAt: z.ZodDate;
9999
9927
  deletedAt: z.ZodNullable<z.ZodDate>;
10000
- }, {
10001
9928
  systemName: z.ZodString;
10002
9929
  displayName: z.ZodString;
10003
- }>, "strip", z.ZodTypeAny, {
9930
+ }, "strip", z.ZodTypeAny, {
10004
9931
  id: string;
10005
9932
  createdAt: Date;
10006
9933
  updatedAt: Date;
@@ -10015,7 +9942,7 @@ export declare const commentContract: {
10015
9942
  systemName: string;
10016
9943
  displayName: string;
10017
9944
  }>;
10018
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
9945
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
10019
9946
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
10020
9947
  id: string;
10021
9948
  position: number;
@@ -10042,19 +9969,18 @@ export declare const commentContract: {
10042
9969
  isRequired: boolean;
10043
9970
  isUnique: boolean;
10044
9971
  }>;
10045
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
9972
+ uploads: z.ZodArray<z.ZodObject<{
10046
9973
  id: z.ZodString;
10047
9974
  createdAt: z.ZodDate;
10048
9975
  updatedAt: z.ZodDate;
10049
9976
  deletedAt: z.ZodNullable<z.ZodDate>;
10050
- }, {
10051
9977
  bucketName: z.ZodString;
10052
9978
  fileName: z.ZodString;
10053
9979
  fileSize: z.ZodNumber;
10054
9980
  fileKey: z.ZodString;
10055
9981
  fileUrl: z.ZodNullable<z.ZodString>;
10056
9982
  status: z.ZodNullable<z.ZodString>;
10057
- }>, "strip", z.ZodTypeAny, {
9983
+ }, "strip", z.ZodTypeAny, {
10058
9984
  id: string;
10059
9985
  status: string | null;
10060
9986
  createdAt: Date;
@@ -10077,7 +10003,7 @@ export declare const commentContract: {
10077
10003
  fileSize: number;
10078
10004
  fileUrl: string | null;
10079
10005
  }>, "many">;
10080
- }>, "strip", z.ZodTypeAny, {
10006
+ }, "strip", z.ZodTypeAny, {
10081
10007
  id: string;
10082
10008
  createdAt: Date;
10083
10009
  updatedAt: Date;
@@ -10148,14 +10074,13 @@ export declare const commentContract: {
10148
10074
  fileUrl: string | null;
10149
10075
  }[];
10150
10076
  }>, "many">;
10151
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
10077
+ tags: z.ZodArray<z.ZodObject<{
10152
10078
  id: z.ZodString;
10153
10079
  createdAt: z.ZodDate;
10154
10080
  updatedAt: z.ZodDate;
10155
10081
  deletedAt: z.ZodNullable<z.ZodDate>;
10156
- }, {
10157
10082
  name: z.ZodString;
10158
- }>, "strip", z.ZodTypeAny, {
10083
+ }, "strip", z.ZodTypeAny, {
10159
10084
  name: string;
10160
10085
  id: string;
10161
10086
  createdAt: Date;
@@ -10168,12 +10093,11 @@ export declare const commentContract: {
10168
10093
  updatedAt: Date;
10169
10094
  deletedAt: Date | null;
10170
10095
  }>, "many">;
10171
- categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
10096
+ categories: z.ZodArray<z.ZodObject<{
10172
10097
  id: z.ZodString;
10173
10098
  createdAt: z.ZodDate;
10174
10099
  updatedAt: z.ZodDate;
10175
10100
  deletedAt: z.ZodNullable<z.ZodDate>;
10176
- }, {
10177
10101
  value: z.ZodString;
10178
10102
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
10179
10103
  parentId: z.ZodNullable<z.ZodString>;
@@ -10226,7 +10150,7 @@ export declare const commentContract: {
10226
10150
  childCategoryList: any[];
10227
10151
  }[];
10228
10152
  }>, "many">;
10229
- }>, "strip", z.ZodTypeAny, {
10153
+ }, "strip", z.ZodTypeAny, {
10230
10154
  id: string;
10231
10155
  value: string;
10232
10156
  createdAt: Date;
@@ -10280,14 +10204,13 @@ export declare const commentContract: {
10280
10204
  notes: z.ZodNullable<z.ZodString>;
10281
10205
  contactProfile: z.ZodNullable<z.ZodString>;
10282
10206
  socialProfileUrl: z.ZodNullable<z.ZodString>;
10283
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
10207
+ tags: z.ZodArray<z.ZodObject<{
10284
10208
  id: z.ZodString;
10285
10209
  createdAt: z.ZodDate;
10286
10210
  updatedAt: z.ZodDate;
10287
10211
  deletedAt: z.ZodNullable<z.ZodDate>;
10288
- }, {
10289
10212
  name: z.ZodString;
10290
- }>, "strip", z.ZodTypeAny, {
10213
+ }, "strip", z.ZodTypeAny, {
10291
10214
  name: string;
10292
10215
  id: string;
10293
10216
  createdAt: Date;
@@ -10300,32 +10223,29 @@ export declare const commentContract: {
10300
10223
  updatedAt: Date;
10301
10224
  deletedAt: Date | null;
10302
10225
  }>, "many">;
10303
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
10226
+ company: z.ZodNullable<z.ZodObject<Omit<{
10304
10227
  id: z.ZodString;
10305
10228
  createdAt: z.ZodDate;
10306
10229
  updatedAt: z.ZodDate;
10307
10230
  deletedAt: z.ZodNullable<z.ZodDate>;
10308
- }, {
10309
10231
  name: z.ZodOptional<z.ZodString>;
10310
10232
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10311
10233
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10312
10234
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10313
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
10235
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
10314
10236
  id: z.ZodString;
10315
10237
  createdAt: z.ZodDate;
10316
10238
  updatedAt: z.ZodDate;
10317
10239
  deletedAt: z.ZodNullable<z.ZodDate>;
10318
- }, {
10319
10240
  textValue: z.ZodNullable<z.ZodString>;
10320
10241
  booleanValue: z.ZodNullable<z.ZodBoolean>;
10321
10242
  numberValue: z.ZodNullable<z.ZodNumber>;
10322
10243
  dateValue: z.ZodNullable<z.ZodDate>;
10323
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
10244
+ attribute: z.ZodObject<Omit<{
10324
10245
  id: z.ZodString;
10325
10246
  createdAt: z.ZodDate;
10326
10247
  updatedAt: z.ZodDate;
10327
10248
  deletedAt: z.ZodNullable<z.ZodDate>;
10328
- }, {
10329
10249
  systemName: z.ZodString;
10330
10250
  displayName: z.ZodString;
10331
10251
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -10334,14 +10254,13 @@ export declare const commentContract: {
10334
10254
  isArchived: z.ZodBoolean;
10335
10255
  isRequired: z.ZodBoolean;
10336
10256
  isUnique: z.ZodBoolean;
10337
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
10338
- label: z.ZodString;
10257
+ options: z.ZodArray<z.ZodObject<{
10258
+ position: z.ZodNumber;
10339
10259
  value: z.ZodString;
10260
+ label: z.ZodString;
10340
10261
  isDefault: z.ZodBoolean;
10341
- position: z.ZodNumber;
10342
- }, {
10343
10262
  id: z.ZodString;
10344
- }>, "strip", z.ZodTypeAny, {
10263
+ }, "strip", z.ZodTypeAny, {
10345
10264
  id: string;
10346
10265
  position: number;
10347
10266
  value: string;
@@ -10354,15 +10273,14 @@ export declare const commentContract: {
10354
10273
  label: string;
10355
10274
  isDefault: boolean;
10356
10275
  }>, "many">;
10357
- group: z.ZodObject<z.objectUtil.extendShape<{
10276
+ group: z.ZodObject<{
10358
10277
  id: z.ZodString;
10359
10278
  createdAt: z.ZodDate;
10360
10279
  updatedAt: z.ZodDate;
10361
10280
  deletedAt: z.ZodNullable<z.ZodDate>;
10362
- }, {
10363
10281
  systemName: z.ZodString;
10364
10282
  displayName: z.ZodString;
10365
- }>, "strip", z.ZodTypeAny, {
10283
+ }, "strip", z.ZodTypeAny, {
10366
10284
  id: string;
10367
10285
  createdAt: Date;
10368
10286
  updatedAt: Date;
@@ -10377,7 +10295,7 @@ export declare const commentContract: {
10377
10295
  systemName: string;
10378
10296
  displayName: string;
10379
10297
  }>;
10380
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
10298
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
10381
10299
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
10382
10300
  id: string;
10383
10301
  position: number;
@@ -10404,7 +10322,7 @@ export declare const commentContract: {
10404
10322
  isRequired: boolean;
10405
10323
  isUnique: boolean;
10406
10324
  }>;
10407
- }>, "strip", z.ZodTypeAny, {
10325
+ }, "strip", z.ZodTypeAny, {
10408
10326
  id: string;
10409
10327
  createdAt: Date;
10410
10328
  updatedAt: Date;
@@ -10451,7 +10369,7 @@ export declare const commentContract: {
10451
10369
  numberValue: number | null;
10452
10370
  dateValue: Date | null;
10453
10371
  }>, "many">>;
10454
- }>, "customFields">, "strip", z.ZodTypeAny, {
10372
+ }, "customFields">, "strip", z.ZodTypeAny, {
10455
10373
  id: string;
10456
10374
  createdAt: Date;
10457
10375
  updatedAt: Date;
@@ -10532,12 +10450,11 @@ export declare const commentContract: {
10532
10450
  booleanValue: z.ZodNullable<z.ZodBoolean>;
10533
10451
  numberValue: z.ZodNullable<z.ZodNumber>;
10534
10452
  dateValue: z.ZodNullable<z.ZodDate>;
10535
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
10453
+ attribute: z.ZodObject<Omit<{
10536
10454
  id: z.ZodString;
10537
10455
  createdAt: z.ZodDate;
10538
10456
  updatedAt: z.ZodDate;
10539
10457
  deletedAt: z.ZodNullable<z.ZodDate>;
10540
- }, {
10541
10458
  systemName: z.ZodString;
10542
10459
  displayName: z.ZodString;
10543
10460
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -10546,14 +10463,13 @@ export declare const commentContract: {
10546
10463
  isArchived: z.ZodBoolean;
10547
10464
  isRequired: z.ZodBoolean;
10548
10465
  isUnique: z.ZodBoolean;
10549
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
10550
- label: z.ZodString;
10466
+ options: z.ZodArray<z.ZodObject<{
10467
+ position: z.ZodNumber;
10551
10468
  value: z.ZodString;
10469
+ label: z.ZodString;
10552
10470
  isDefault: z.ZodBoolean;
10553
- position: z.ZodNumber;
10554
- }, {
10555
10471
  id: z.ZodString;
10556
- }>, "strip", z.ZodTypeAny, {
10472
+ }, "strip", z.ZodTypeAny, {
10557
10473
  id: string;
10558
10474
  position: number;
10559
10475
  value: string;
@@ -10566,15 +10482,14 @@ export declare const commentContract: {
10566
10482
  label: string;
10567
10483
  isDefault: boolean;
10568
10484
  }>, "many">;
10569
- group: z.ZodObject<z.objectUtil.extendShape<{
10485
+ group: z.ZodObject<{
10570
10486
  id: z.ZodString;
10571
10487
  createdAt: z.ZodDate;
10572
10488
  updatedAt: z.ZodDate;
10573
10489
  deletedAt: z.ZodNullable<z.ZodDate>;
10574
- }, {
10575
10490
  systemName: z.ZodString;
10576
10491
  displayName: z.ZodString;
10577
- }>, "strip", z.ZodTypeAny, {
10492
+ }, "strip", z.ZodTypeAny, {
10578
10493
  id: string;
10579
10494
  createdAt: Date;
10580
10495
  updatedAt: Date;
@@ -10589,7 +10504,7 @@ export declare const commentContract: {
10589
10504
  systemName: string;
10590
10505
  displayName: string;
10591
10506
  }>;
10592
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
10507
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
10593
10508
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
10594
10509
  id: string;
10595
10510
  position: number;
@@ -10616,19 +10531,18 @@ export declare const commentContract: {
10616
10531
  isRequired: boolean;
10617
10532
  isUnique: boolean;
10618
10533
  }>;
10619
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
10534
+ uploads: z.ZodArray<z.ZodObject<{
10620
10535
  id: z.ZodString;
10621
10536
  createdAt: z.ZodDate;
10622
10537
  updatedAt: z.ZodDate;
10623
10538
  deletedAt: z.ZodNullable<z.ZodDate>;
10624
- }, {
10625
10539
  bucketName: z.ZodString;
10626
10540
  fileName: z.ZodString;
10627
10541
  fileSize: z.ZodNumber;
10628
10542
  fileKey: z.ZodString;
10629
10543
  fileUrl: z.ZodNullable<z.ZodString>;
10630
10544
  status: z.ZodNullable<z.ZodString>;
10631
- }>, "strip", z.ZodTypeAny, {
10545
+ }, "strip", z.ZodTypeAny, {
10632
10546
  id: string;
10633
10547
  status: string | null;
10634
10548
  createdAt: Date;
@@ -11054,19 +10968,18 @@ export declare const commentContract: {
11054
10968
  createdAt: z.ZodDate;
11055
10969
  updatedAt: z.ZodDate;
11056
10970
  deletedAt: z.ZodNullable<z.ZodDate>;
11057
- actor: z.ZodObject<z.objectUtil.extendShape<{
10971
+ actor: z.ZodObject<{
10972
+ name: z.ZodString;
11058
10973
  id: z.ZodString;
10974
+ address: z.ZodNullable<z.ZodString>;
10975
+ email: z.ZodString;
11059
10976
  createdAt: z.ZodDate;
11060
10977
  updatedAt: z.ZodDate;
11061
10978
  deletedAt: z.ZodNullable<z.ZodDate>;
11062
- name: z.ZodString;
11063
- email: z.ZodString;
11064
10979
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
11065
10980
  password: z.ZodString;
11066
- address: z.ZodNullable<z.ZodString>;
11067
10981
  phone: z.ZodNullable<z.ZodString>;
11068
10982
  notificationCount: z.ZodNullable<z.ZodNumber>;
11069
- }, {
11070
10983
  roles: z.ZodArray<z.ZodObject<{
11071
10984
  id: z.ZodString;
11072
10985
  createdAt: z.ZodDate;
@@ -11172,7 +11085,7 @@ export declare const commentContract: {
11172
11085
  extensionName: string;
11173
11086
  telephonySignature: string | null;
11174
11087
  }>;
11175
- }>, "strip", z.ZodTypeAny, {
11088
+ }, "strip", z.ZodTypeAny, {
11176
11089
  name: string;
11177
11090
  id: string;
11178
11091
  address: string | null;
@@ -11402,7 +11315,7 @@ export declare const commentContract: {
11402
11315
  entity: string;
11403
11316
  };
11404
11317
  }>, "many">;
11405
- }>, "strip", z.ZodTypeAny, {
11318
+ }, "strip", z.ZodTypeAny, {
11406
11319
  type: string;
11407
11320
  id: string;
11408
11321
  channel: string;
@@ -11654,7 +11567,7 @@ export declare const commentContract: {
11654
11567
  assigneeId: string;
11655
11568
  creatorId: string;
11656
11569
  reasonToAssign: string | null;
11657
- assignee?: {
11570
+ creator?: {
11658
11571
  name: string;
11659
11572
  id: string;
11660
11573
  address: string | null;
@@ -11698,7 +11611,7 @@ export declare const commentContract: {
11698
11611
  telephonySignature: string | null;
11699
11612
  };
11700
11613
  } | null | undefined;
11701
- creator?: {
11614
+ assignee?: {
11702
11615
  name: string;
11703
11616
  id: string;
11704
11617
  address: string | null;
@@ -11995,7 +11908,7 @@ export declare const commentContract: {
11995
11908
  assigneeId: string;
11996
11909
  creatorId: string;
11997
11910
  reasonToAssign: string | null;
11998
- assignee?: {
11911
+ creator?: {
11999
11912
  name: string;
12000
11913
  id: string;
12001
11914
  address: string | null;
@@ -12039,7 +11952,7 @@ export declare const commentContract: {
12039
11952
  telephonySignature: string | null;
12040
11953
  };
12041
11954
  } | null | undefined;
12042
- creator?: {
11955
+ assignee?: {
12043
11956
  name: string;
12044
11957
  id: string;
12045
11958
  address: string | null;
@@ -12085,19 +11998,18 @@ export declare const commentContract: {
12085
11998
  } | null | undefined;
12086
11999
  ticketNumber?: number | undefined;
12087
12000
  }>;
12088
- agent: z.ZodObject<z.objectUtil.extendShape<{
12001
+ agent: z.ZodObject<{
12002
+ name: z.ZodString;
12089
12003
  id: z.ZodString;
12004
+ address: z.ZodNullable<z.ZodString>;
12005
+ email: z.ZodString;
12090
12006
  createdAt: z.ZodDate;
12091
12007
  updatedAt: z.ZodDate;
12092
12008
  deletedAt: z.ZodNullable<z.ZodDate>;
12093
- name: z.ZodString;
12094
- email: z.ZodString;
12095
12009
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
12096
12010
  password: z.ZodString;
12097
- address: z.ZodNullable<z.ZodString>;
12098
12011
  phone: z.ZodNullable<z.ZodString>;
12099
12012
  notificationCount: z.ZodNullable<z.ZodNumber>;
12100
- }, {
12101
12013
  roles: z.ZodArray<z.ZodObject<{
12102
12014
  id: z.ZodString;
12103
12015
  createdAt: z.ZodDate;
@@ -12203,7 +12115,7 @@ export declare const commentContract: {
12203
12115
  extensionName: string;
12204
12116
  telephonySignature: string | null;
12205
12117
  }>;
12206
- }>, "strip", z.ZodTypeAny, {
12118
+ }, "strip", z.ZodTypeAny, {
12207
12119
  name: string;
12208
12120
  id: string;
12209
12121
  address: string | null;
@@ -12547,7 +12459,7 @@ export declare const commentContract: {
12547
12459
  assigneeId: string;
12548
12460
  creatorId: string;
12549
12461
  reasonToAssign: string | null;
12550
- assignee?: {
12462
+ creator?: {
12551
12463
  name: string;
12552
12464
  id: string;
12553
12465
  address: string | null;
@@ -12591,7 +12503,7 @@ export declare const commentContract: {
12591
12503
  telephonySignature: string | null;
12592
12504
  };
12593
12505
  } | null | undefined;
12594
- creator?: {
12506
+ assignee?: {
12595
12507
  name: string;
12596
12508
  id: string;
12597
12509
  address: string | null;
@@ -13000,7 +12912,7 @@ export declare const commentContract: {
13000
12912
  assigneeId: string;
13001
12913
  creatorId: string;
13002
12914
  reasonToAssign: string | null;
13003
- assignee?: {
12915
+ creator?: {
13004
12916
  name: string;
13005
12917
  id: string;
13006
12918
  address: string | null;
@@ -13044,7 +12956,7 @@ export declare const commentContract: {
13044
12956
  telephonySignature: string | null;
13045
12957
  };
13046
12958
  } | null | undefined;
13047
- creator?: {
12959
+ assignee?: {
13048
12960
  name: string;
13049
12961
  id: string;
13050
12962
  address: string | null;
@@ -13197,7 +13109,7 @@ export declare const commentContract: {
13197
13109
  mentions: string[];
13198
13110
  comment: string;
13199
13111
  }>;
13200
- }>, "strip", z.ZodTypeAny, {
13112
+ }, "strip", z.ZodTypeAny, {
13201
13113
  requestId: string;
13202
13114
  comment: {
13203
13115
  id: string;
@@ -13456,7 +13368,7 @@ export declare const commentContract: {
13456
13368
  assigneeId: string;
13457
13369
  creatorId: string;
13458
13370
  reasonToAssign: string | null;
13459
- assignee?: {
13371
+ creator?: {
13460
13372
  name: string;
13461
13373
  id: string;
13462
13374
  address: string | null;
@@ -13500,7 +13412,7 @@ export declare const commentContract: {
13500
13412
  telephonySignature: string | null;
13501
13413
  };
13502
13414
  } | null | undefined;
13503
- creator?: {
13415
+ assignee?: {
13504
13416
  name: string;
13505
13417
  id: string;
13506
13418
  address: string | null;
@@ -13912,7 +13824,7 @@ export declare const commentContract: {
13912
13824
  assigneeId: string;
13913
13825
  creatorId: string;
13914
13826
  reasonToAssign: string | null;
13915
- assignee?: {
13827
+ creator?: {
13916
13828
  name: string;
13917
13829
  id: string;
13918
13830
  address: string | null;
@@ -13956,7 +13868,7 @@ export declare const commentContract: {
13956
13868
  telephonySignature: string | null;
13957
13869
  };
13958
13870
  } | null | undefined;
13959
- creator?: {
13871
+ assignee?: {
13960
13872
  name: string;
13961
13873
  id: string;
13962
13874
  address: string | null;
@@ -14121,18 +14033,6 @@ export declare const commentContract: {
14121
14033
  error?: any;
14122
14034
  }>;
14123
14035
  };
14124
- };
14125
- deleteComment: {
14126
- body: null;
14127
- summary: "Delete a comment.";
14128
- method: "DELETE";
14129
- pathParams: z.ZodObject<{
14130
- id: z.ZodString;
14131
- }, "strip", z.ZodTypeAny, {
14132
- id: string;
14133
- }, {
14134
- id: string;
14135
- }>;
14136
14036
  path: "ts/comment/:id";
14137
14037
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14138
14038
  'x-tenant': z.ZodString;
@@ -14150,12 +14050,23 @@ export declare const commentContract: {
14150
14050
  'x-code'?: string | undefined;
14151
14051
  'x-client-timezone'?: string | undefined;
14152
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
+ }>;
14153
14065
  responses: {
14154
- 200: z.ZodObject<z.objectUtil.extendShape<{
14066
+ 200: z.ZodObject<{
14155
14067
  requestId: z.ZodString;
14156
- }, {
14157
14068
  message: z.ZodString;
14158
- }>, "strip", z.ZodTypeAny, {
14069
+ }, "strip", z.ZodTypeAny, {
14159
14070
  message: string;
14160
14071
  requestId: string;
14161
14072
  }, {
@@ -14173,6 +14084,23 @@ export declare const commentContract: {
14173
14084
  error?: any;
14174
14085
  }>;
14175
14086
  };
14087
+ path: "ts/comment/:id";
14088
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14089
+ 'x-tenant': z.ZodString;
14090
+ 'x-service-token': 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
+ 'x-service-token': string;
14096
+ 'x-client-timezone': string;
14097
+ 'x-code'?: string | undefined;
14098
+ }, {
14099
+ 'x-tenant': string;
14100
+ 'x-service-token': string;
14101
+ 'x-code'?: string | undefined;
14102
+ 'x-client-timezone'?: string | undefined;
14103
+ }>>>;
14176
14104
  };
14177
14105
  };
14178
14106
  //# sourceMappingURL=index.d.ts.map