@kl1/contracts 1.4.65 → 1.4.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +20 -21
  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 +3 -4
  4. package/dist/api-contracts/src/activity-log/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/attribute/index.d.ts +116 -132
  6. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/attribute/schema.d.ts +2 -5
  8. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  9. package/dist/api-contracts/src/attribute-option/schema.d.ts +0 -1
  10. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/auth/index.d.ts +20 -22
  12. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/automation-queue/index.d.ts +126 -148
  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 +6 -9
  16. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
  17. package/dist/api-contracts/src/aws/index.d.ts +2 -4
  18. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/botpress/index.d.ts +22 -29
  20. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/botpress/validation.d.ts +17 -20
  22. package/dist/api-contracts/src/botpress/validation.d.ts.map +1 -1
  23. package/dist/api-contracts/src/business-calendar/index.d.ts +4 -16
  24. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  25. package/dist/api-contracts/src/business-calendar/schema.d.ts +0 -5
  26. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  27. package/dist/api-contracts/src/call-log/schema.d.ts +2 -3
  28. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  29. package/dist/api-contracts/src/category/index.d.ts +91 -100
  30. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  31. package/dist/api-contracts/src/category/schema.d.ts +0 -1
  32. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  33. package/dist/api-contracts/src/channel/index.d.ts +2156 -2256
  34. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  35. package/dist/api-contracts/src/channel/schema.d.ts +82 -82
  36. package/dist/api-contracts/src/channel/validation.d.ts +104 -168
  37. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/chat/index.d.ts +11622 -12224
  39. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/chat/schema.d.ts +2567 -2743
  41. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  42. package/dist/api-contracts/src/chat/validation.d.ts +4875 -4988
  43. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  44. package/dist/api-contracts/src/comment/index.d.ts +155 -227
  45. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/comment/schema.d.ts +29 -52
  47. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  48. package/dist/api-contracts/src/company/index.d.ts +55 -162
  49. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  50. package/dist/api-contracts/src/company/schema.d.ts +6 -15
  51. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  52. package/dist/api-contracts/src/company/validation.d.ts +30 -86
  53. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  54. package/dist/api-contracts/src/contact/index.d.ts +314 -433
  55. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  56. package/dist/api-contracts/src/contact/schema.d.ts +14 -28
  57. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  58. package/dist/api-contracts/src/contact/validation.d.ts +56 -137
  59. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  60. package/dist/api-contracts/src/contact-email/schema.d.ts +0 -1
  61. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  62. package/dist/api-contracts/src/contact-phone/schema.d.ts +0 -1
  63. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  64. package/dist/api-contracts/src/contract.d.ts +24290 -30200
  65. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  66. package/dist/api-contracts/src/custom-field/schema.d.ts +0 -1
  67. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  68. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  69. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +0 -1
  70. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  71. package/dist/api-contracts/src/cx-intelligence/index.d.ts +41 -44
  72. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/cx-log/index.d.ts +674 -722
  74. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  75. package/dist/api-contracts/src/cx-log/schema.d.ts +382 -435
  76. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  77. package/dist/api-contracts/src/cx-log/validation.d.ts +40 -40
  78. package/dist/api-contracts/src/dashboard/index.d.ts +304 -347
  79. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  80. package/dist/api-contracts/src/dashboard/schema.d.ts +2 -3
  81. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  82. package/dist/api-contracts/src/dashboard/validation.d.ts +10 -14
  83. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  84. package/dist/api-contracts/src/evaluate-form/index.d.ts +1 -2
  85. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  86. package/dist/api-contracts/src/evaluate-form/schema.d.ts +0 -1
  87. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  88. package/dist/api-contracts/src/export/index.d.ts +1 -2
  89. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/extension/index.d.ts +100 -106
  91. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  92. package/dist/api-contracts/src/facebook-feed/index.d.ts +4525 -4615
  93. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  94. package/dist/api-contracts/src/facebook-feed/schema.d.ts +81 -93
  95. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  96. package/dist/api-contracts/src/facebook-feed/validation.d.ts +83 -94
  97. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  98. package/dist/api-contracts/src/general-setting/index.d.ts +2 -246
  99. package/dist/api-contracts/src/general-setting/index.d.ts.map +1 -1
  100. package/dist/api-contracts/src/group/schema.d.ts +0 -1
  101. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  102. package/dist/api-contracts/src/hold-label/index.d.ts +30 -49
  103. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  104. package/dist/api-contracts/src/hold-label/schema.d.ts +4 -10
  105. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  106. package/dist/api-contracts/src/hold-label/validation.d.ts +2 -2
  107. package/dist/api-contracts/src/index.d.ts +0 -1
  108. package/dist/api-contracts/src/index.d.ts.map +1 -1
  109. package/dist/api-contracts/src/instagram/index.d.ts +2020 -2097
  110. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  111. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  112. package/dist/api-contracts/src/invoice/index.d.ts +1 -3
  113. package/dist/api-contracts/src/invoice/index.d.ts.map +1 -1
  114. package/dist/api-contracts/src/invoice/schema.d.ts +0 -1
  115. package/dist/api-contracts/src/invoice/schema.d.ts.map +1 -1
  116. package/dist/api-contracts/src/klink-chat/index.d.ts +2748 -2824
  117. package/dist/api-contracts/src/klink-chat/index.d.ts.map +1 -1
  118. package/dist/api-contracts/src/line/index.d.ts +2257 -2334
  119. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  120. package/dist/api-contracts/src/line/schema.d.ts +9 -10
  121. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  122. package/dist/api-contracts/src/line/validation.d.ts +148 -148
  123. package/dist/api-contracts/src/log-form/schema.d.ts +0 -1
  124. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  125. package/dist/api-contracts/src/mail/account-contract.d.ts +174 -223
  126. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  127. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +1 -2
  128. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  129. package/dist/api-contracts/src/mail/mail-contract.d.ts +303 -423
  130. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  131. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -12
  132. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  133. package/dist/api-contracts/src/mail/message-contract.d.ts +80 -86
  134. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  135. package/dist/api-contracts/src/mail/room-contract.d.ts +43 -102
  136. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  137. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +0 -27
  138. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
  139. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +0 -3
  140. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts.map +1 -1
  141. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  142. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +18 -31
  143. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  144. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +6 -18
  145. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  146. package/dist/api-contracts/src/messenger/index.d.ts +2020 -2098
  147. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  148. package/dist/api-contracts/src/messenger/validation.d.ts +83 -94
  149. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  150. package/dist/api-contracts/src/notification/index.d.ts +13 -20
  151. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  152. package/dist/api-contracts/src/notification/schema.d.ts +9 -12
  153. package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
  154. package/dist/api-contracts/src/notification/validation.d.ts +3 -4
  155. package/dist/api-contracts/src/notification/validation.d.ts.map +1 -1
  156. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  157. package/dist/api-contracts/src/presence-status/index.d.ts +83 -87
  158. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  159. package/dist/api-contracts/src/presence-status/schema.d.ts +3 -4
  160. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  161. package/dist/api-contracts/src/public-api/index.d.ts +194 -4606
  162. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  163. package/dist/api-contracts/src/public-api/schema.d.ts +6 -20
  164. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  165. package/dist/api-contracts/src/public-api/validation.d.ts +38 -63
  166. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  167. package/dist/api-contracts/src/role/index.d.ts +75 -80
  168. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  169. package/dist/api-contracts/src/sms/index.d.ts +540 -549
  170. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  171. package/dist/api-contracts/src/snippet/index.d.ts +10 -32
  172. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  173. package/dist/api-contracts/src/snippet/schema.d.ts +0 -7
  174. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  175. package/dist/api-contracts/src/snippet/validation.d.ts +2 -3
  176. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  177. package/dist/api-contracts/src/subscription/index.d.ts +6 -474
  178. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  179. package/dist/api-contracts/src/subscription/schema.d.ts +0 -31
  180. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  181. package/dist/api-contracts/src/tag/index.d.ts +58 -65
  182. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  183. package/dist/api-contracts/src/tag/schema.d.ts +0 -1
  184. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  185. package/dist/api-contracts/src/tag-group/schema.d.ts +0 -1
  186. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  187. package/dist/api-contracts/src/telegram/index.d.ts +3579 -3654
  188. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  189. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +463 -38
  190. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  191. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +6 -5
  192. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  193. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  194. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  195. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  196. package/dist/api-contracts/src/telephony-cdr/index.d.ts +694 -748
  197. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  198. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +144 -170
  199. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  200. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +39 -43
  201. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  202. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  203. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  204. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +0 -1
  205. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  206. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +0 -1
  207. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  208. package/dist/api-contracts/src/tenant/schema.d.ts +0 -1
  209. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  210. package/dist/api-contracts/src/ticket/index.d.ts +452 -564
  211. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  212. package/dist/api-contracts/src/ticket/schema.d.ts +21 -47
  213. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  214. package/dist/api-contracts/src/ticket/validation.d.ts +51 -53
  215. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  216. package/dist/api-contracts/src/upload/index.d.ts +30 -32
  217. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  218. package/dist/api-contracts/src/upload/schema.d.ts +0 -1
  219. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  220. package/dist/api-contracts/src/user/index.d.ts +126 -137
  221. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  222. package/dist/api-contracts/src/user/schema.d.ts +3 -4
  223. package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
  224. package/dist/api-contracts/src/user/validation.d.ts +2 -3
  225. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  226. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -34
  227. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  228. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +3 -5
  229. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  230. package/dist/api-contracts/src/viber/index.d.ts +2473 -2548
  231. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  232. package/dist/api-contracts/src/webchat/index.d.ts +2569 -2644
  233. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  234. package/dist/api-contracts/src/whatsapp/index.d.ts +1778 -1862
  235. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  236. package/dist/api-contracts/src/whatsapp/validation.d.ts +4 -15
  237. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  238. package/dist/api-contracts/src/widget/index.d.ts +132 -145
  239. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  240. package/dist/api-contracts/src/widget/schema.d.ts +0 -1
  241. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  242. package/dist/api-contracts/src/widget/validation.d.ts +16 -16
  243. package/dist/api-contracts/src/workflow-rule/index.d.ts +1919 -2050
  244. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  245. package/dist/api-contracts/src/workflow-rule/schema.d.ts +0 -1
  246. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  247. package/dist/api-contracts/src/wrap-up-form/index.d.ts +109 -128
  248. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  249. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +0 -3
  250. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  251. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +18 -19
  252. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  253. package/dist/api-contracts/utils.d.ts +1 -2
  254. package/dist/api-contracts/utils.d.ts.map +1 -1
  255. package/dist/entities/src/enums/chat.d.ts +0 -2
  256. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  257. package/dist/index.js +1683 -1853
  258. package/dist/index.js.map +1 -1
  259. package/dist/index.mjs +1683 -1852
  260. package/dist/index.mjs.map +1 -1
  261. package/package.json +2 -2
  262. package/dist/api-contracts/src/general-setting/schema.d.ts +0 -30
  263. package/dist/api-contracts/src/general-setting/schema.d.ts.map +0 -1
  264. package/dist/api-contracts/src/general-setting/validation.d.ts +0 -30
  265. package/dist/api-contracts/src/general-setting/validation.d.ts.map +0 -1
@@ -67,7 +67,6 @@ export declare const ticketContract: {
67
67
  categories: z.ZodObject<{
68
68
  isRequired: z.ZodBoolean;
69
69
  attributeId: z.ZodString;
70
- } & {
71
70
  value: z.ZodArray<z.ZodString, "many">;
72
71
  }, "strip", z.ZodTypeAny, {
73
72
  value: string[];
@@ -175,33 +174,14 @@ export declare const ticketContract: {
175
174
  }>;
176
175
  summary: "Create a new ticket";
177
176
  method: "POST";
178
- path: "tcs/api/v1/ticket";
179
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
180
- 'x-tenant': z.ZodString;
181
- 'x-service-token': z.ZodString;
182
- 'x-code': z.ZodOptional<z.ZodString>;
183
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
184
- }, "strip", z.ZodTypeAny, {
185
- 'x-tenant': string;
186
- 'x-service-token': string;
187
- 'x-client-timezone': string;
188
- 'x-code'?: string | undefined;
189
- }, {
190
- 'x-tenant': string;
191
- 'x-service-token': string;
192
- 'x-code'?: string | undefined;
193
- 'x-client-timezone'?: string | undefined;
194
- }>>>;
195
177
  responses: {
196
178
  201: z.ZodObject<{
197
179
  requestId: z.ZodString;
198
- } & {
199
180
  data: z.ZodObject<{
200
181
  id: z.ZodString;
201
182
  createdAt: z.ZodDate;
202
183
  updatedAt: z.ZodDate;
203
184
  deletedAt: z.ZodNullable<z.ZodDate>;
204
- } & {
205
185
  title: z.ZodString;
206
186
  description: z.ZodNullable<z.ZodString>;
207
187
  type: z.ZodString;
@@ -211,18 +191,17 @@ export declare const ticketContract: {
211
191
  contactId: z.ZodString;
212
192
  creatorId: z.ZodString;
213
193
  creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
194
+ name: z.ZodString;
214
195
  id: z.ZodString;
196
+ address: z.ZodNullable<z.ZodString>;
197
+ email: z.ZodString;
215
198
  createdAt: z.ZodDate;
216
199
  updatedAt: z.ZodDate;
217
200
  deletedAt: z.ZodNullable<z.ZodDate>;
218
- name: z.ZodString;
219
- email: z.ZodString;
220
201
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
221
202
  password: z.ZodString;
222
- address: z.ZodNullable<z.ZodString>;
223
203
  phone: z.ZodNullable<z.ZodString>;
224
204
  notificationCount: z.ZodNullable<z.ZodNumber>;
225
- } & {
226
205
  roles: z.ZodArray<z.ZodObject<{
227
206
  id: z.ZodString;
228
207
  createdAt: z.ZodDate;
@@ -417,18 +396,17 @@ export declare const ticketContract: {
417
396
  }>>>;
418
397
  assigneeId: z.ZodString;
419
398
  assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
399
+ name: z.ZodString;
420
400
  id: z.ZodString;
401
+ address: z.ZodNullable<z.ZodString>;
402
+ email: z.ZodString;
421
403
  createdAt: z.ZodDate;
422
404
  updatedAt: z.ZodDate;
423
405
  deletedAt: z.ZodNullable<z.ZodDate>;
424
- name: z.ZodString;
425
- email: z.ZodString;
426
406
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
427
407
  password: z.ZodString;
428
- address: z.ZodNullable<z.ZodString>;
429
408
  phone: z.ZodNullable<z.ZodString>;
430
409
  notificationCount: z.ZodNullable<z.ZodNumber>;
431
- } & {
432
410
  roles: z.ZodArray<z.ZodObject<{
433
411
  id: z.ZodString;
434
412
  createdAt: z.ZodDate;
@@ -628,7 +606,6 @@ export declare const ticketContract: {
628
606
  createdAt: z.ZodDate;
629
607
  updatedAt: z.ZodDate;
630
608
  deletedAt: z.ZodNullable<z.ZodDate>;
631
- } & {
632
609
  textValue: z.ZodNullable<z.ZodString>;
633
610
  booleanValue: z.ZodNullable<z.ZodBoolean>;
634
611
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -638,7 +615,6 @@ export declare const ticketContract: {
638
615
  createdAt: z.ZodDate;
639
616
  updatedAt: z.ZodDate;
640
617
  deletedAt: z.ZodNullable<z.ZodDate>;
641
- } & {
642
618
  systemName: z.ZodString;
643
619
  displayName: z.ZodString;
644
620
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -648,11 +624,10 @@ export declare const ticketContract: {
648
624
  isRequired: z.ZodBoolean;
649
625
  isUnique: z.ZodBoolean;
650
626
  options: z.ZodArray<z.ZodObject<{
651
- label: z.ZodString;
627
+ position: z.ZodNumber;
652
628
  value: z.ZodString;
629
+ label: z.ZodString;
653
630
  isDefault: z.ZodBoolean;
654
- position: z.ZodNumber;
655
- } & {
656
631
  id: z.ZodString;
657
632
  }, "strip", z.ZodTypeAny, {
658
633
  id: string;
@@ -672,7 +647,6 @@ export declare const ticketContract: {
672
647
  createdAt: z.ZodDate;
673
648
  updatedAt: z.ZodDate;
674
649
  deletedAt: z.ZodNullable<z.ZodDate>;
675
- } & {
676
650
  systemName: z.ZodString;
677
651
  displayName: z.ZodString;
678
652
  }, "strip", z.ZodTypeAny, {
@@ -722,7 +696,6 @@ export declare const ticketContract: {
722
696
  createdAt: z.ZodDate;
723
697
  updatedAt: z.ZodDate;
724
698
  deletedAt: z.ZodNullable<z.ZodDate>;
725
- } & {
726
699
  bucketName: z.ZodString;
727
700
  fileName: z.ZodString;
728
701
  fileSize: z.ZodNumber;
@@ -828,7 +801,6 @@ export declare const ticketContract: {
828
801
  createdAt: z.ZodDate;
829
802
  updatedAt: z.ZodDate;
830
803
  deletedAt: z.ZodNullable<z.ZodDate>;
831
- } & {
832
804
  name: z.ZodString;
833
805
  }, "strip", z.ZodTypeAny, {
834
806
  name: string;
@@ -848,7 +820,6 @@ export declare const ticketContract: {
848
820
  createdAt: z.ZodDate;
849
821
  updatedAt: z.ZodDate;
850
822
  deletedAt: z.ZodNullable<z.ZodDate>;
851
- } & {
852
823
  value: z.ZodString;
853
824
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
854
825
  parentId: z.ZodNullable<z.ZodString>;
@@ -960,7 +931,6 @@ export declare const ticketContract: {
960
931
  createdAt: z.ZodDate;
961
932
  updatedAt: z.ZodDate;
962
933
  deletedAt: z.ZodNullable<z.ZodDate>;
963
- } & {
964
934
  name: z.ZodString;
965
935
  }, "strip", z.ZodTypeAny, {
966
936
  name: string;
@@ -980,7 +950,6 @@ export declare const ticketContract: {
980
950
  createdAt: z.ZodDate;
981
951
  updatedAt: z.ZodDate;
982
952
  deletedAt: z.ZodNullable<z.ZodDate>;
983
- } & {
984
953
  name: z.ZodOptional<z.ZodString>;
985
954
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
986
955
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -990,7 +959,6 @@ export declare const ticketContract: {
990
959
  createdAt: z.ZodDate;
991
960
  updatedAt: z.ZodDate;
992
961
  deletedAt: z.ZodNullable<z.ZodDate>;
993
- } & {
994
962
  textValue: z.ZodNullable<z.ZodString>;
995
963
  booleanValue: z.ZodNullable<z.ZodBoolean>;
996
964
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -1000,7 +968,6 @@ export declare const ticketContract: {
1000
968
  createdAt: z.ZodDate;
1001
969
  updatedAt: z.ZodDate;
1002
970
  deletedAt: z.ZodNullable<z.ZodDate>;
1003
- } & {
1004
971
  systemName: z.ZodString;
1005
972
  displayName: z.ZodString;
1006
973
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1010,11 +977,10 @@ export declare const ticketContract: {
1010
977
  isRequired: z.ZodBoolean;
1011
978
  isUnique: z.ZodBoolean;
1012
979
  options: z.ZodArray<z.ZodObject<{
1013
- label: z.ZodString;
980
+ position: z.ZodNumber;
1014
981
  value: z.ZodString;
982
+ label: z.ZodString;
1015
983
  isDefault: z.ZodBoolean;
1016
- position: z.ZodNumber;
1017
- } & {
1018
984
  id: z.ZodString;
1019
985
  }, "strip", z.ZodTypeAny, {
1020
986
  id: string;
@@ -1034,7 +1000,6 @@ export declare const ticketContract: {
1034
1000
  createdAt: z.ZodDate;
1035
1001
  updatedAt: z.ZodDate;
1036
1002
  deletedAt: z.ZodNullable<z.ZodDate>;
1037
- } & {
1038
1003
  systemName: z.ZodString;
1039
1004
  displayName: z.ZodString;
1040
1005
  }, "strip", z.ZodTypeAny, {
@@ -1212,7 +1177,6 @@ export declare const ticketContract: {
1212
1177
  createdAt: z.ZodDate;
1213
1178
  updatedAt: z.ZodDate;
1214
1179
  deletedAt: z.ZodNullable<z.ZodDate>;
1215
- } & {
1216
1180
  systemName: z.ZodString;
1217
1181
  displayName: z.ZodString;
1218
1182
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1222,11 +1186,10 @@ export declare const ticketContract: {
1222
1186
  isRequired: z.ZodBoolean;
1223
1187
  isUnique: z.ZodBoolean;
1224
1188
  options: z.ZodArray<z.ZodObject<{
1225
- label: z.ZodString;
1189
+ position: z.ZodNumber;
1226
1190
  value: z.ZodString;
1191
+ label: z.ZodString;
1227
1192
  isDefault: z.ZodBoolean;
1228
- position: z.ZodNumber;
1229
- } & {
1230
1193
  id: z.ZodString;
1231
1194
  }, "strip", z.ZodTypeAny, {
1232
1195
  id: string;
@@ -1246,7 +1209,6 @@ export declare const ticketContract: {
1246
1209
  createdAt: z.ZodDate;
1247
1210
  updatedAt: z.ZodDate;
1248
1211
  deletedAt: z.ZodNullable<z.ZodDate>;
1249
- } & {
1250
1212
  systemName: z.ZodString;
1251
1213
  displayName: z.ZodString;
1252
1214
  }, "strip", z.ZodTypeAny, {
@@ -1296,7 +1258,6 @@ export declare const ticketContract: {
1296
1258
  createdAt: z.ZodDate;
1297
1259
  updatedAt: z.ZodDate;
1298
1260
  deletedAt: z.ZodNullable<z.ZodDate>;
1299
- } & {
1300
1261
  bucketName: z.ZodString;
1301
1262
  fileName: z.ZodString;
1302
1263
  fileSize: z.ZodNumber;
@@ -1730,18 +1691,17 @@ export declare const ticketContract: {
1730
1691
  updatedAt: z.ZodDate;
1731
1692
  deletedAt: z.ZodNullable<z.ZodDate>;
1732
1693
  actor: z.ZodObject<{
1694
+ name: z.ZodString;
1733
1695
  id: z.ZodString;
1696
+ address: z.ZodNullable<z.ZodString>;
1697
+ email: z.ZodString;
1734
1698
  createdAt: z.ZodDate;
1735
1699
  updatedAt: z.ZodDate;
1736
1700
  deletedAt: z.ZodNullable<z.ZodDate>;
1737
- name: z.ZodString;
1738
- email: z.ZodString;
1739
1701
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1740
1702
  password: z.ZodString;
1741
- address: z.ZodNullable<z.ZodString>;
1742
1703
  phone: z.ZodNullable<z.ZodString>;
1743
1704
  notificationCount: z.ZodNullable<z.ZodNumber>;
1744
- } & {
1745
1705
  roles: z.ZodArray<z.ZodObject<{
1746
1706
  id: z.ZodString;
1747
1707
  createdAt: z.ZodDate;
@@ -2329,7 +2289,7 @@ export declare const ticketContract: {
2329
2289
  assigneeId: string;
2330
2290
  creatorId: string;
2331
2291
  reasonToAssign: string | null;
2332
- assignee?: {
2292
+ creator?: {
2333
2293
  name: string;
2334
2294
  id: string;
2335
2295
  address: string | null;
@@ -2373,7 +2333,7 @@ export declare const ticketContract: {
2373
2333
  telephonySignature: string | null;
2374
2334
  };
2375
2335
  } | null | undefined;
2376
- creator?: {
2336
+ assignee?: {
2377
2337
  name: string;
2378
2338
  id: string;
2379
2339
  address: string | null;
@@ -2670,7 +2630,7 @@ export declare const ticketContract: {
2670
2630
  assigneeId: string;
2671
2631
  creatorId: string;
2672
2632
  reasonToAssign: string | null;
2673
- assignee?: {
2633
+ creator?: {
2674
2634
  name: string;
2675
2635
  id: string;
2676
2636
  address: string | null;
@@ -2714,7 +2674,7 @@ export declare const ticketContract: {
2714
2674
  telephonySignature: string | null;
2715
2675
  };
2716
2676
  } | null | undefined;
2717
- creator?: {
2677
+ assignee?: {
2718
2678
  name: string;
2719
2679
  id: string;
2720
2680
  address: string | null;
@@ -3013,7 +2973,7 @@ export declare const ticketContract: {
3013
2973
  assigneeId: string;
3014
2974
  creatorId: string;
3015
2975
  reasonToAssign: string | null;
3016
- assignee?: {
2976
+ creator?: {
3017
2977
  name: string;
3018
2978
  id: string;
3019
2979
  address: string | null;
@@ -3057,7 +3017,7 @@ export declare const ticketContract: {
3057
3017
  telephonySignature: string | null;
3058
3018
  };
3059
3019
  } | null | undefined;
3060
- creator?: {
3020
+ assignee?: {
3061
3021
  name: string;
3062
3022
  id: string;
3063
3023
  address: string | null;
@@ -3357,7 +3317,7 @@ export declare const ticketContract: {
3357
3317
  assigneeId: string;
3358
3318
  creatorId: string;
3359
3319
  reasonToAssign: string | null;
3360
- assignee?: {
3320
+ creator?: {
3361
3321
  name: string;
3362
3322
  id: string;
3363
3323
  address: string | null;
@@ -3401,7 +3361,7 @@ export declare const ticketContract: {
3401
3361
  telephonySignature: string | null;
3402
3362
  };
3403
3363
  } | null | undefined;
3404
- creator?: {
3364
+ assignee?: {
3405
3365
  name: string;
3406
3366
  id: string;
3407
3367
  address: string | null;
@@ -3501,6 +3461,23 @@ export declare const ticketContract: {
3501
3461
  error?: any;
3502
3462
  }>;
3503
3463
  };
3464
+ path: "tcs/api/v1/ticket";
3465
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3466
+ 'x-tenant': z.ZodString;
3467
+ 'x-service-token': z.ZodString;
3468
+ 'x-code': z.ZodOptional<z.ZodString>;
3469
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
3470
+ }, "strip", z.ZodTypeAny, {
3471
+ 'x-tenant': string;
3472
+ 'x-service-token': string;
3473
+ 'x-client-timezone': string;
3474
+ 'x-code'?: string | undefined;
3475
+ }, {
3476
+ 'x-tenant': string;
3477
+ 'x-service-token': string;
3478
+ 'x-code'?: string | undefined;
3479
+ 'x-client-timezone'?: string | undefined;
3480
+ }>>>;
3504
3481
  };
3505
3482
  getAllTickets: {
3506
3483
  summary: "Get all tickets";
@@ -3528,85 +3505,66 @@ export declare const ticketContract: {
3528
3505
  value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
3529
3506
  }, "strip", z.ZodTypeAny, {
3530
3507
  type: string;
3531
- value: string | string[];
3508
+ value: (string | string[]) & (string | string[] | undefined);
3532
3509
  attributeId: string;
3533
3510
  }, {
3534
3511
  type: string;
3535
- value: string | string[];
3512
+ value: (string | string[]) & (string | string[] | undefined);
3536
3513
  attributeId: string;
3537
3514
  }>, "many">>;
3538
3515
  }, "strip", z.ZodTypeAny, {
3539
- type?: string[] | undefined;
3540
- channel?: string[] | undefined;
3541
- priority?: string[] | undefined;
3542
3516
  page?: number | undefined;
3517
+ pageSize?: number | undefined;
3518
+ selectedDate?: string | undefined;
3519
+ ticketNumber?: string | undefined;
3520
+ keyword?: string | undefined;
3543
3521
  title?: string | undefined;
3544
3522
  description?: string | undefined;
3545
3523
  status?: string[] | undefined;
3546
- pageSize?: number | undefined;
3524
+ priority?: string[] | undefined;
3525
+ channel?: string[] | undefined;
3526
+ type?: string[] | undefined;
3527
+ ticketType?: string[] | undefined;
3547
3528
  contact?: string[] | undefined;
3529
+ tags?: string[] | undefined;
3530
+ categories?: string[] | undefined;
3531
+ assignee?: string[] | undefined;
3548
3532
  customFields?: {
3549
3533
  type: string;
3550
- value: string | string[];
3534
+ value: (string | string[]) & (string | string[] | undefined);
3551
3535
  attributeId: string;
3552
3536
  }[] | undefined;
3553
- tags?: string[] | undefined;
3554
- categories?: string[] | undefined;
3555
- assignee?: string[] | undefined;
3556
- keyword?: string | undefined;
3557
- selectedDate?: string | undefined;
3558
- ticketNumber?: string | undefined;
3559
- ticketType?: string[] | undefined;
3560
3537
  }, {
3561
- type?: string[] | undefined;
3562
- channel?: string[] | undefined;
3563
- priority?: string[] | undefined;
3564
3538
  page?: string | undefined;
3539
+ pageSize?: string | undefined;
3540
+ selectedDate?: string | undefined;
3541
+ ticketNumber?: string | undefined;
3542
+ keyword?: string | undefined;
3565
3543
  title?: string | undefined;
3566
3544
  description?: string | undefined;
3567
3545
  status?: string[] | undefined;
3568
- pageSize?: string | undefined;
3546
+ priority?: string[] | undefined;
3547
+ channel?: string[] | undefined;
3548
+ type?: string[] | undefined;
3549
+ ticketType?: string[] | undefined;
3569
3550
  contact?: string[] | undefined;
3551
+ tags?: string[] | undefined;
3552
+ categories?: string[] | undefined;
3553
+ assignee?: string[] | undefined;
3570
3554
  customFields?: {
3571
3555
  type: string;
3572
- value: string | string[];
3556
+ value: (string | string[]) & (string | string[] | undefined);
3573
3557
  attributeId: string;
3574
3558
  }[] | undefined;
3575
- tags?: string[] | undefined;
3576
- categories?: string[] | undefined;
3577
- assignee?: string[] | undefined;
3578
- keyword?: string | undefined;
3579
- selectedDate?: string | undefined;
3580
- ticketNumber?: string | undefined;
3581
- ticketType?: string[] | undefined;
3582
3559
  }>;
3583
- path: "tcs/api/v1/ticket";
3584
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3585
- 'x-tenant': z.ZodString;
3586
- 'x-service-token': z.ZodString;
3587
- 'x-code': z.ZodOptional<z.ZodString>;
3588
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
3589
- }, "strip", z.ZodTypeAny, {
3590
- 'x-tenant': string;
3591
- 'x-service-token': string;
3592
- 'x-client-timezone': string;
3593
- 'x-code'?: string | undefined;
3594
- }, {
3595
- 'x-tenant': string;
3596
- 'x-service-token': string;
3597
- 'x-code'?: string | undefined;
3598
- 'x-client-timezone'?: string | undefined;
3599
- }>>>;
3600
3560
  responses: {
3601
3561
  200: z.ZodObject<{
3602
3562
  requestId: z.ZodString;
3603
- } & {
3604
3563
  data: z.ZodObject<{
3564
+ total: z.ZodNumber;
3605
3565
  page: z.ZodDefault<z.ZodNumber>;
3606
3566
  pageSize: z.ZodDefault<z.ZodNumber>;
3607
- total: z.ZodNumber;
3608
3567
  lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
3609
- } & {
3610
3568
  data: z.ZodArray<z.ZodType<{
3611
3569
  type: string;
3612
3570
  id: string;
@@ -3859,7 +3817,7 @@ export declare const ticketContract: {
3859
3817
  assigneeId: string;
3860
3818
  creatorId: string;
3861
3819
  reasonToAssign: string | null;
3862
- assignee?: {
3820
+ creator?: {
3863
3821
  name: string;
3864
3822
  id: string;
3865
3823
  address: string | null;
@@ -3903,7 +3861,7 @@ export declare const ticketContract: {
3903
3861
  telephonySignature: string | null;
3904
3862
  };
3905
3863
  } | null | undefined;
3906
- creator?: {
3864
+ assignee?: {
3907
3865
  name: string;
3908
3866
  id: string;
3909
3867
  address: string | null;
@@ -4200,7 +4158,7 @@ export declare const ticketContract: {
4200
4158
  assigneeId: string;
4201
4159
  creatorId: string;
4202
4160
  reasonToAssign: string | null;
4203
- assignee?: {
4161
+ creator?: {
4204
4162
  name: string;
4205
4163
  id: string;
4206
4164
  address: string | null;
@@ -4244,7 +4202,7 @@ export declare const ticketContract: {
4244
4202
  telephonySignature: string | null;
4245
4203
  };
4246
4204
  } | null | undefined;
4247
- creator?: {
4205
+ assignee?: {
4248
4206
  name: string;
4249
4207
  id: string;
4250
4208
  address: string | null;
@@ -4543,7 +4501,7 @@ export declare const ticketContract: {
4543
4501
  assigneeId: string;
4544
4502
  creatorId: string;
4545
4503
  reasonToAssign: string | null;
4546
- assignee?: {
4504
+ creator?: {
4547
4505
  name: string;
4548
4506
  id: string;
4549
4507
  address: string | null;
@@ -4587,7 +4545,7 @@ export declare const ticketContract: {
4587
4545
  telephonySignature: string | null;
4588
4546
  };
4589
4547
  } | null | undefined;
4590
- creator?: {
4548
+ assignee?: {
4591
4549
  name: string;
4592
4550
  id: string;
4593
4551
  address: string | null;
@@ -4890,7 +4848,7 @@ export declare const ticketContract: {
4890
4848
  assigneeId: string;
4891
4849
  creatorId: string;
4892
4850
  reasonToAssign: string | null;
4893
- assignee?: {
4851
+ creator?: {
4894
4852
  name: string;
4895
4853
  id: string;
4896
4854
  address: string | null;
@@ -4934,7 +4892,7 @@ export declare const ticketContract: {
4934
4892
  telephonySignature: string | null;
4935
4893
  };
4936
4894
  } | null | undefined;
4937
- creator?: {
4895
+ assignee?: {
4938
4896
  name: string;
4939
4897
  id: string;
4940
4898
  address: string | null;
@@ -5239,7 +5197,7 @@ export declare const ticketContract: {
5239
5197
  assigneeId: string;
5240
5198
  creatorId: string;
5241
5199
  reasonToAssign: string | null;
5242
- assignee?: {
5200
+ creator?: {
5243
5201
  name: string;
5244
5202
  id: string;
5245
5203
  address: string | null;
@@ -5283,7 +5241,7 @@ export declare const ticketContract: {
5283
5241
  telephonySignature: string | null;
5284
5242
  };
5285
5243
  } | null | undefined;
5286
- creator?: {
5244
+ assignee?: {
5287
5245
  name: string;
5288
5246
  id: string;
5289
5247
  address: string | null;
@@ -5589,7 +5547,7 @@ export declare const ticketContract: {
5589
5547
  assigneeId: string;
5590
5548
  creatorId: string;
5591
5549
  reasonToAssign: string | null;
5592
- assignee?: {
5550
+ creator?: {
5593
5551
  name: string;
5594
5552
  id: string;
5595
5553
  address: string | null;
@@ -5633,7 +5591,7 @@ export declare const ticketContract: {
5633
5591
  telephonySignature: string | null;
5634
5592
  };
5635
5593
  } | null | undefined;
5636
- creator?: {
5594
+ assignee?: {
5637
5595
  name: string;
5638
5596
  id: string;
5639
5597
  address: string | null;
@@ -5714,18 +5672,7 @@ export declare const ticketContract: {
5714
5672
  error?: any;
5715
5673
  }>;
5716
5674
  };
5717
- };
5718
- getTicketById: {
5719
- summary: "Get ticket by id";
5720
- method: "GET";
5721
- pathParams: z.ZodObject<{
5722
- id: z.ZodString;
5723
- }, "strip", z.ZodTypeAny, {
5724
- id: string;
5725
- }, {
5726
- id: string;
5727
- }>;
5728
- path: "tcs/api/v1/ticket/:id";
5675
+ path: "tcs/api/v1/ticket";
5729
5676
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5730
5677
  'x-tenant': z.ZodString;
5731
5678
  'x-service-token': z.ZodString;
@@ -5742,16 +5689,25 @@ export declare const ticketContract: {
5742
5689
  'x-code'?: string | undefined;
5743
5690
  'x-client-timezone'?: string | undefined;
5744
5691
  }>>>;
5692
+ };
5693
+ getTicketById: {
5694
+ summary: "Get ticket by id";
5695
+ method: "GET";
5696
+ pathParams: z.ZodObject<{
5697
+ id: z.ZodString;
5698
+ }, "strip", z.ZodTypeAny, {
5699
+ id: string;
5700
+ }, {
5701
+ id: string;
5702
+ }>;
5745
5703
  responses: {
5746
5704
  200: z.ZodObject<{
5747
5705
  requestId: z.ZodString;
5748
- } & {
5749
5706
  data: z.ZodObject<{
5750
5707
  id: z.ZodString;
5751
5708
  createdAt: z.ZodDate;
5752
5709
  updatedAt: z.ZodDate;
5753
5710
  deletedAt: z.ZodNullable<z.ZodDate>;
5754
- } & {
5755
5711
  title: z.ZodString;
5756
5712
  description: z.ZodNullable<z.ZodString>;
5757
5713
  type: z.ZodString;
@@ -5761,18 +5717,17 @@ export declare const ticketContract: {
5761
5717
  contactId: z.ZodString;
5762
5718
  creatorId: z.ZodString;
5763
5719
  creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5720
+ name: z.ZodString;
5764
5721
  id: z.ZodString;
5722
+ address: z.ZodNullable<z.ZodString>;
5723
+ email: z.ZodString;
5765
5724
  createdAt: z.ZodDate;
5766
5725
  updatedAt: z.ZodDate;
5767
5726
  deletedAt: z.ZodNullable<z.ZodDate>;
5768
- name: z.ZodString;
5769
- email: z.ZodString;
5770
5727
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
5771
5728
  password: z.ZodString;
5772
- address: z.ZodNullable<z.ZodString>;
5773
5729
  phone: z.ZodNullable<z.ZodString>;
5774
5730
  notificationCount: z.ZodNullable<z.ZodNumber>;
5775
- } & {
5776
5731
  roles: z.ZodArray<z.ZodObject<{
5777
5732
  id: z.ZodString;
5778
5733
  createdAt: z.ZodDate;
@@ -5967,18 +5922,17 @@ export declare const ticketContract: {
5967
5922
  }>>>;
5968
5923
  assigneeId: z.ZodString;
5969
5924
  assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5925
+ name: z.ZodString;
5970
5926
  id: z.ZodString;
5927
+ address: z.ZodNullable<z.ZodString>;
5928
+ email: z.ZodString;
5971
5929
  createdAt: z.ZodDate;
5972
5930
  updatedAt: z.ZodDate;
5973
5931
  deletedAt: z.ZodNullable<z.ZodDate>;
5974
- name: z.ZodString;
5975
- email: z.ZodString;
5976
5932
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
5977
5933
  password: z.ZodString;
5978
- address: z.ZodNullable<z.ZodString>;
5979
5934
  phone: z.ZodNullable<z.ZodString>;
5980
5935
  notificationCount: z.ZodNullable<z.ZodNumber>;
5981
- } & {
5982
5936
  roles: z.ZodArray<z.ZodObject<{
5983
5937
  id: z.ZodString;
5984
5938
  createdAt: z.ZodDate;
@@ -6178,7 +6132,6 @@ export declare const ticketContract: {
6178
6132
  createdAt: z.ZodDate;
6179
6133
  updatedAt: z.ZodDate;
6180
6134
  deletedAt: z.ZodNullable<z.ZodDate>;
6181
- } & {
6182
6135
  textValue: z.ZodNullable<z.ZodString>;
6183
6136
  booleanValue: z.ZodNullable<z.ZodBoolean>;
6184
6137
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -6188,7 +6141,6 @@ export declare const ticketContract: {
6188
6141
  createdAt: z.ZodDate;
6189
6142
  updatedAt: z.ZodDate;
6190
6143
  deletedAt: z.ZodNullable<z.ZodDate>;
6191
- } & {
6192
6144
  systemName: z.ZodString;
6193
6145
  displayName: z.ZodString;
6194
6146
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -6198,11 +6150,10 @@ export declare const ticketContract: {
6198
6150
  isRequired: z.ZodBoolean;
6199
6151
  isUnique: z.ZodBoolean;
6200
6152
  options: z.ZodArray<z.ZodObject<{
6201
- label: z.ZodString;
6153
+ position: z.ZodNumber;
6202
6154
  value: z.ZodString;
6155
+ label: z.ZodString;
6203
6156
  isDefault: z.ZodBoolean;
6204
- position: z.ZodNumber;
6205
- } & {
6206
6157
  id: z.ZodString;
6207
6158
  }, "strip", z.ZodTypeAny, {
6208
6159
  id: string;
@@ -6222,7 +6173,6 @@ export declare const ticketContract: {
6222
6173
  createdAt: z.ZodDate;
6223
6174
  updatedAt: z.ZodDate;
6224
6175
  deletedAt: z.ZodNullable<z.ZodDate>;
6225
- } & {
6226
6176
  systemName: z.ZodString;
6227
6177
  displayName: z.ZodString;
6228
6178
  }, "strip", z.ZodTypeAny, {
@@ -6272,7 +6222,6 @@ export declare const ticketContract: {
6272
6222
  createdAt: z.ZodDate;
6273
6223
  updatedAt: z.ZodDate;
6274
6224
  deletedAt: z.ZodNullable<z.ZodDate>;
6275
- } & {
6276
6225
  bucketName: z.ZodString;
6277
6226
  fileName: z.ZodString;
6278
6227
  fileSize: z.ZodNumber;
@@ -6378,7 +6327,6 @@ export declare const ticketContract: {
6378
6327
  createdAt: z.ZodDate;
6379
6328
  updatedAt: z.ZodDate;
6380
6329
  deletedAt: z.ZodNullable<z.ZodDate>;
6381
- } & {
6382
6330
  name: z.ZodString;
6383
6331
  }, "strip", z.ZodTypeAny, {
6384
6332
  name: string;
@@ -6398,7 +6346,6 @@ export declare const ticketContract: {
6398
6346
  createdAt: z.ZodDate;
6399
6347
  updatedAt: z.ZodDate;
6400
6348
  deletedAt: z.ZodNullable<z.ZodDate>;
6401
- } & {
6402
6349
  value: z.ZodString;
6403
6350
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
6404
6351
  parentId: z.ZodNullable<z.ZodString>;
@@ -6510,7 +6457,6 @@ export declare const ticketContract: {
6510
6457
  createdAt: z.ZodDate;
6511
6458
  updatedAt: z.ZodDate;
6512
6459
  deletedAt: z.ZodNullable<z.ZodDate>;
6513
- } & {
6514
6460
  name: z.ZodString;
6515
6461
  }, "strip", z.ZodTypeAny, {
6516
6462
  name: string;
@@ -6530,7 +6476,6 @@ export declare const ticketContract: {
6530
6476
  createdAt: z.ZodDate;
6531
6477
  updatedAt: z.ZodDate;
6532
6478
  deletedAt: z.ZodNullable<z.ZodDate>;
6533
- } & {
6534
6479
  name: z.ZodOptional<z.ZodString>;
6535
6480
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6536
6481
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6540,7 +6485,6 @@ export declare const ticketContract: {
6540
6485
  createdAt: z.ZodDate;
6541
6486
  updatedAt: z.ZodDate;
6542
6487
  deletedAt: z.ZodNullable<z.ZodDate>;
6543
- } & {
6544
6488
  textValue: z.ZodNullable<z.ZodString>;
6545
6489
  booleanValue: z.ZodNullable<z.ZodBoolean>;
6546
6490
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -6550,7 +6494,6 @@ export declare const ticketContract: {
6550
6494
  createdAt: z.ZodDate;
6551
6495
  updatedAt: z.ZodDate;
6552
6496
  deletedAt: z.ZodNullable<z.ZodDate>;
6553
- } & {
6554
6497
  systemName: z.ZodString;
6555
6498
  displayName: z.ZodString;
6556
6499
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -6560,11 +6503,10 @@ export declare const ticketContract: {
6560
6503
  isRequired: z.ZodBoolean;
6561
6504
  isUnique: z.ZodBoolean;
6562
6505
  options: z.ZodArray<z.ZodObject<{
6563
- label: z.ZodString;
6506
+ position: z.ZodNumber;
6564
6507
  value: z.ZodString;
6508
+ label: z.ZodString;
6565
6509
  isDefault: z.ZodBoolean;
6566
- position: z.ZodNumber;
6567
- } & {
6568
6510
  id: z.ZodString;
6569
6511
  }, "strip", z.ZodTypeAny, {
6570
6512
  id: string;
@@ -6584,7 +6526,6 @@ export declare const ticketContract: {
6584
6526
  createdAt: z.ZodDate;
6585
6527
  updatedAt: z.ZodDate;
6586
6528
  deletedAt: z.ZodNullable<z.ZodDate>;
6587
- } & {
6588
6529
  systemName: z.ZodString;
6589
6530
  displayName: z.ZodString;
6590
6531
  }, "strip", z.ZodTypeAny, {
@@ -6762,7 +6703,6 @@ export declare const ticketContract: {
6762
6703
  createdAt: z.ZodDate;
6763
6704
  updatedAt: z.ZodDate;
6764
6705
  deletedAt: z.ZodNullable<z.ZodDate>;
6765
- } & {
6766
6706
  systemName: z.ZodString;
6767
6707
  displayName: z.ZodString;
6768
6708
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -6772,11 +6712,10 @@ export declare const ticketContract: {
6772
6712
  isRequired: z.ZodBoolean;
6773
6713
  isUnique: z.ZodBoolean;
6774
6714
  options: z.ZodArray<z.ZodObject<{
6775
- label: z.ZodString;
6715
+ position: z.ZodNumber;
6776
6716
  value: z.ZodString;
6717
+ label: z.ZodString;
6777
6718
  isDefault: z.ZodBoolean;
6778
- position: z.ZodNumber;
6779
- } & {
6780
6719
  id: z.ZodString;
6781
6720
  }, "strip", z.ZodTypeAny, {
6782
6721
  id: string;
@@ -6796,7 +6735,6 @@ export declare const ticketContract: {
6796
6735
  createdAt: z.ZodDate;
6797
6736
  updatedAt: z.ZodDate;
6798
6737
  deletedAt: z.ZodNullable<z.ZodDate>;
6799
- } & {
6800
6738
  systemName: z.ZodString;
6801
6739
  displayName: z.ZodString;
6802
6740
  }, "strip", z.ZodTypeAny, {
@@ -6846,7 +6784,6 @@ export declare const ticketContract: {
6846
6784
  createdAt: z.ZodDate;
6847
6785
  updatedAt: z.ZodDate;
6848
6786
  deletedAt: z.ZodNullable<z.ZodDate>;
6849
- } & {
6850
6787
  bucketName: z.ZodString;
6851
6788
  fileName: z.ZodString;
6852
6789
  fileSize: z.ZodNumber;
@@ -7280,18 +7217,17 @@ export declare const ticketContract: {
7280
7217
  updatedAt: z.ZodDate;
7281
7218
  deletedAt: z.ZodNullable<z.ZodDate>;
7282
7219
  actor: z.ZodObject<{
7220
+ name: z.ZodString;
7283
7221
  id: z.ZodString;
7222
+ address: z.ZodNullable<z.ZodString>;
7223
+ email: z.ZodString;
7284
7224
  createdAt: z.ZodDate;
7285
7225
  updatedAt: z.ZodDate;
7286
7226
  deletedAt: z.ZodNullable<z.ZodDate>;
7287
- name: z.ZodString;
7288
- email: z.ZodString;
7289
7227
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
7290
7228
  password: z.ZodString;
7291
- address: z.ZodNullable<z.ZodString>;
7292
7229
  phone: z.ZodNullable<z.ZodString>;
7293
7230
  notificationCount: z.ZodNullable<z.ZodNumber>;
7294
- } & {
7295
7231
  roles: z.ZodArray<z.ZodObject<{
7296
7232
  id: z.ZodString;
7297
7233
  createdAt: z.ZodDate;
@@ -7879,7 +7815,7 @@ export declare const ticketContract: {
7879
7815
  assigneeId: string;
7880
7816
  creatorId: string;
7881
7817
  reasonToAssign: string | null;
7882
- assignee?: {
7818
+ creator?: {
7883
7819
  name: string;
7884
7820
  id: string;
7885
7821
  address: string | null;
@@ -7923,7 +7859,7 @@ export declare const ticketContract: {
7923
7859
  telephonySignature: string | null;
7924
7860
  };
7925
7861
  } | null | undefined;
7926
- creator?: {
7862
+ assignee?: {
7927
7863
  name: string;
7928
7864
  id: string;
7929
7865
  address: string | null;
@@ -8220,7 +8156,7 @@ export declare const ticketContract: {
8220
8156
  assigneeId: string;
8221
8157
  creatorId: string;
8222
8158
  reasonToAssign: string | null;
8223
- assignee?: {
8159
+ creator?: {
8224
8160
  name: string;
8225
8161
  id: string;
8226
8162
  address: string | null;
@@ -8264,7 +8200,7 @@ export declare const ticketContract: {
8264
8200
  telephonySignature: string | null;
8265
8201
  };
8266
8202
  } | null | undefined;
8267
- creator?: {
8203
+ assignee?: {
8268
8204
  name: string;
8269
8205
  id: string;
8270
8206
  address: string | null;
@@ -8563,7 +8499,7 @@ export declare const ticketContract: {
8563
8499
  assigneeId: string;
8564
8500
  creatorId: string;
8565
8501
  reasonToAssign: string | null;
8566
- assignee?: {
8502
+ creator?: {
8567
8503
  name: string;
8568
8504
  id: string;
8569
8505
  address: string | null;
@@ -8607,7 +8543,7 @@ export declare const ticketContract: {
8607
8543
  telephonySignature: string | null;
8608
8544
  };
8609
8545
  } | null | undefined;
8610
- creator?: {
8546
+ assignee?: {
8611
8547
  name: string;
8612
8548
  id: string;
8613
8549
  address: string | null;
@@ -8907,7 +8843,7 @@ export declare const ticketContract: {
8907
8843
  assigneeId: string;
8908
8844
  creatorId: string;
8909
8845
  reasonToAssign: string | null;
8910
- assignee?: {
8846
+ creator?: {
8911
8847
  name: string;
8912
8848
  id: string;
8913
8849
  address: string | null;
@@ -8951,7 +8887,7 @@ export declare const ticketContract: {
8951
8887
  telephonySignature: string | null;
8952
8888
  };
8953
8889
  } | null | undefined;
8954
- creator?: {
8890
+ assignee?: {
8955
8891
  name: string;
8956
8892
  id: string;
8957
8893
  address: string | null;
@@ -9027,6 +8963,23 @@ export declare const ticketContract: {
9027
8963
  error?: any;
9028
8964
  }>;
9029
8965
  };
8966
+ path: "tcs/api/v1/ticket/:id";
8967
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8968
+ 'x-tenant': z.ZodString;
8969
+ 'x-service-token': z.ZodString;
8970
+ 'x-code': z.ZodOptional<z.ZodString>;
8971
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
8972
+ }, "strip", z.ZodTypeAny, {
8973
+ 'x-tenant': string;
8974
+ 'x-service-token': string;
8975
+ 'x-client-timezone': string;
8976
+ 'x-code'?: string | undefined;
8977
+ }, {
8978
+ 'x-tenant': string;
8979
+ 'x-service-token': string;
8980
+ 'x-code'?: string | undefined;
8981
+ 'x-client-timezone'?: string | undefined;
8982
+ }>>>;
9030
8983
  };
9031
8984
  getTicketByContactId: {
9032
8985
  summary: "Get ticket by contact id.";
@@ -9048,33 +9001,14 @@ export declare const ticketContract: {
9048
9001
  page?: number | undefined;
9049
9002
  pageSize?: number | undefined;
9050
9003
  }>;
9051
- path: "tcs/api/v1/ticket/contact/:id";
9052
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9053
- 'x-tenant': z.ZodString;
9054
- 'x-service-token': z.ZodString;
9055
- 'x-code': z.ZodOptional<z.ZodString>;
9056
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
9057
- }, "strip", z.ZodTypeAny, {
9058
- 'x-tenant': string;
9059
- 'x-service-token': string;
9060
- 'x-client-timezone': string;
9061
- 'x-code'?: string | undefined;
9062
- }, {
9063
- 'x-tenant': string;
9064
- 'x-service-token': string;
9065
- 'x-code'?: string | undefined;
9066
- 'x-client-timezone'?: string | undefined;
9067
- }>>>;
9068
9004
  responses: {
9069
9005
  200: z.ZodObject<{
9070
9006
  requestId: z.ZodString;
9071
- } & {
9072
9007
  data: z.ZodObject<{
9008
+ total: z.ZodNumber;
9073
9009
  page: z.ZodDefault<z.ZodNumber>;
9074
9010
  pageSize: z.ZodDefault<z.ZodNumber>;
9075
- total: z.ZodNumber;
9076
9011
  lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
9077
- } & {
9078
9012
  data: z.ZodArray<z.ZodType<{
9079
9013
  type: string;
9080
9014
  id: string;
@@ -9327,7 +9261,7 @@ export declare const ticketContract: {
9327
9261
  assigneeId: string;
9328
9262
  creatorId: string;
9329
9263
  reasonToAssign: string | null;
9330
- assignee?: {
9264
+ creator?: {
9331
9265
  name: string;
9332
9266
  id: string;
9333
9267
  address: string | null;
@@ -9371,7 +9305,7 @@ export declare const ticketContract: {
9371
9305
  telephonySignature: string | null;
9372
9306
  };
9373
9307
  } | null | undefined;
9374
- creator?: {
9308
+ assignee?: {
9375
9309
  name: string;
9376
9310
  id: string;
9377
9311
  address: string | null;
@@ -9668,7 +9602,7 @@ export declare const ticketContract: {
9668
9602
  assigneeId: string;
9669
9603
  creatorId: string;
9670
9604
  reasonToAssign: string | null;
9671
- assignee?: {
9605
+ creator?: {
9672
9606
  name: string;
9673
9607
  id: string;
9674
9608
  address: string | null;
@@ -9712,7 +9646,7 @@ export declare const ticketContract: {
9712
9646
  telephonySignature: string | null;
9713
9647
  };
9714
9648
  } | null | undefined;
9715
- creator?: {
9649
+ assignee?: {
9716
9650
  name: string;
9717
9651
  id: string;
9718
9652
  address: string | null;
@@ -10011,7 +9945,7 @@ export declare const ticketContract: {
10011
9945
  assigneeId: string;
10012
9946
  creatorId: string;
10013
9947
  reasonToAssign: string | null;
10014
- assignee?: {
9948
+ creator?: {
10015
9949
  name: string;
10016
9950
  id: string;
10017
9951
  address: string | null;
@@ -10055,7 +9989,7 @@ export declare const ticketContract: {
10055
9989
  telephonySignature: string | null;
10056
9990
  };
10057
9991
  } | null | undefined;
10058
- creator?: {
9992
+ assignee?: {
10059
9993
  name: string;
10060
9994
  id: string;
10061
9995
  address: string | null;
@@ -10358,7 +10292,7 @@ export declare const ticketContract: {
10358
10292
  assigneeId: string;
10359
10293
  creatorId: string;
10360
10294
  reasonToAssign: string | null;
10361
- assignee?: {
10295
+ creator?: {
10362
10296
  name: string;
10363
10297
  id: string;
10364
10298
  address: string | null;
@@ -10402,7 +10336,7 @@ export declare const ticketContract: {
10402
10336
  telephonySignature: string | null;
10403
10337
  };
10404
10338
  } | null | undefined;
10405
- creator?: {
10339
+ assignee?: {
10406
10340
  name: string;
10407
10341
  id: string;
10408
10342
  address: string | null;
@@ -10707,7 +10641,7 @@ export declare const ticketContract: {
10707
10641
  assigneeId: string;
10708
10642
  creatorId: string;
10709
10643
  reasonToAssign: string | null;
10710
- assignee?: {
10644
+ creator?: {
10711
10645
  name: string;
10712
10646
  id: string;
10713
10647
  address: string | null;
@@ -10751,7 +10685,7 @@ export declare const ticketContract: {
10751
10685
  telephonySignature: string | null;
10752
10686
  };
10753
10687
  } | null | undefined;
10754
- creator?: {
10688
+ assignee?: {
10755
10689
  name: string;
10756
10690
  id: string;
10757
10691
  address: string | null;
@@ -11057,7 +10991,7 @@ export declare const ticketContract: {
11057
10991
  assigneeId: string;
11058
10992
  creatorId: string;
11059
10993
  reasonToAssign: string | null;
11060
- assignee?: {
10994
+ creator?: {
11061
10995
  name: string;
11062
10996
  id: string;
11063
10997
  address: string | null;
@@ -11101,7 +11035,7 @@ export declare const ticketContract: {
11101
11035
  telephonySignature: string | null;
11102
11036
  };
11103
11037
  } | null | undefined;
11104
- creator?: {
11038
+ assignee?: {
11105
11039
  name: string;
11106
11040
  id: string;
11107
11041
  address: string | null;
@@ -11182,6 +11116,23 @@ export declare const ticketContract: {
11182
11116
  error?: any;
11183
11117
  }>;
11184
11118
  };
11119
+ path: "tcs/api/v1/ticket/contact/:id";
11120
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11121
+ 'x-tenant': z.ZodString;
11122
+ 'x-service-token': z.ZodString;
11123
+ 'x-code': z.ZodOptional<z.ZodString>;
11124
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
11125
+ }, "strip", z.ZodTypeAny, {
11126
+ 'x-tenant': string;
11127
+ 'x-service-token': string;
11128
+ 'x-client-timezone': string;
11129
+ 'x-code'?: string | undefined;
11130
+ }, {
11131
+ 'x-tenant': string;
11132
+ 'x-service-token': string;
11133
+ 'x-code'?: string | undefined;
11134
+ 'x-client-timezone'?: string | undefined;
11135
+ }>>>;
11185
11136
  };
11186
11137
  updateTicket: {
11187
11138
  body: z.ZodObject<{
@@ -11241,7 +11192,6 @@ export declare const ticketContract: {
11241
11192
  categories: z.ZodObject<{
11242
11193
  isRequired: z.ZodBoolean;
11243
11194
  attributeId: z.ZodString;
11244
- } & {
11245
11195
  value: z.ZodArray<z.ZodString, "many">;
11246
11196
  }, "strip", z.ZodTypeAny, {
11247
11197
  value: string[];
@@ -11356,33 +11306,14 @@ export declare const ticketContract: {
11356
11306
  }, {
11357
11307
  id: string;
11358
11308
  }>;
11359
- path: "tcs/api/v1/ticket/:id";
11360
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11361
- 'x-tenant': z.ZodString;
11362
- 'x-service-token': z.ZodString;
11363
- 'x-code': z.ZodOptional<z.ZodString>;
11364
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
11365
- }, "strip", z.ZodTypeAny, {
11366
- 'x-tenant': string;
11367
- 'x-service-token': string;
11368
- 'x-client-timezone': string;
11369
- 'x-code'?: string | undefined;
11370
- }, {
11371
- 'x-tenant': string;
11372
- 'x-service-token': string;
11373
- 'x-code'?: string | undefined;
11374
- 'x-client-timezone'?: string | undefined;
11375
- }>>>;
11376
11309
  responses: {
11377
11310
  200: z.ZodObject<{
11378
11311
  requestId: z.ZodString;
11379
- } & {
11380
11312
  data: z.ZodObject<{
11381
11313
  id: z.ZodString;
11382
11314
  createdAt: z.ZodDate;
11383
11315
  updatedAt: z.ZodDate;
11384
11316
  deletedAt: z.ZodNullable<z.ZodDate>;
11385
- } & {
11386
11317
  title: z.ZodString;
11387
11318
  description: z.ZodNullable<z.ZodString>;
11388
11319
  type: z.ZodString;
@@ -11392,18 +11323,17 @@ export declare const ticketContract: {
11392
11323
  contactId: z.ZodString;
11393
11324
  creatorId: z.ZodString;
11394
11325
  creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11326
+ name: z.ZodString;
11395
11327
  id: z.ZodString;
11328
+ address: z.ZodNullable<z.ZodString>;
11329
+ email: z.ZodString;
11396
11330
  createdAt: z.ZodDate;
11397
11331
  updatedAt: z.ZodDate;
11398
11332
  deletedAt: z.ZodNullable<z.ZodDate>;
11399
- name: z.ZodString;
11400
- email: z.ZodString;
11401
11333
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
11402
11334
  password: z.ZodString;
11403
- address: z.ZodNullable<z.ZodString>;
11404
11335
  phone: z.ZodNullable<z.ZodString>;
11405
11336
  notificationCount: z.ZodNullable<z.ZodNumber>;
11406
- } & {
11407
11337
  roles: z.ZodArray<z.ZodObject<{
11408
11338
  id: z.ZodString;
11409
11339
  createdAt: z.ZodDate;
@@ -11598,18 +11528,17 @@ export declare const ticketContract: {
11598
11528
  }>>>;
11599
11529
  assigneeId: z.ZodString;
11600
11530
  assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11531
+ name: z.ZodString;
11601
11532
  id: z.ZodString;
11533
+ address: z.ZodNullable<z.ZodString>;
11534
+ email: z.ZodString;
11602
11535
  createdAt: z.ZodDate;
11603
11536
  updatedAt: z.ZodDate;
11604
11537
  deletedAt: z.ZodNullable<z.ZodDate>;
11605
- name: z.ZodString;
11606
- email: z.ZodString;
11607
11538
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
11608
11539
  password: z.ZodString;
11609
- address: z.ZodNullable<z.ZodString>;
11610
11540
  phone: z.ZodNullable<z.ZodString>;
11611
11541
  notificationCount: z.ZodNullable<z.ZodNumber>;
11612
- } & {
11613
11542
  roles: z.ZodArray<z.ZodObject<{
11614
11543
  id: z.ZodString;
11615
11544
  createdAt: z.ZodDate;
@@ -11809,7 +11738,6 @@ export declare const ticketContract: {
11809
11738
  createdAt: z.ZodDate;
11810
11739
  updatedAt: z.ZodDate;
11811
11740
  deletedAt: z.ZodNullable<z.ZodDate>;
11812
- } & {
11813
11741
  textValue: z.ZodNullable<z.ZodString>;
11814
11742
  booleanValue: z.ZodNullable<z.ZodBoolean>;
11815
11743
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -11819,7 +11747,6 @@ export declare const ticketContract: {
11819
11747
  createdAt: z.ZodDate;
11820
11748
  updatedAt: z.ZodDate;
11821
11749
  deletedAt: z.ZodNullable<z.ZodDate>;
11822
- } & {
11823
11750
  systemName: z.ZodString;
11824
11751
  displayName: z.ZodString;
11825
11752
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -11829,11 +11756,10 @@ export declare const ticketContract: {
11829
11756
  isRequired: z.ZodBoolean;
11830
11757
  isUnique: z.ZodBoolean;
11831
11758
  options: z.ZodArray<z.ZodObject<{
11832
- label: z.ZodString;
11759
+ position: z.ZodNumber;
11833
11760
  value: z.ZodString;
11761
+ label: z.ZodString;
11834
11762
  isDefault: z.ZodBoolean;
11835
- position: z.ZodNumber;
11836
- } & {
11837
11763
  id: z.ZodString;
11838
11764
  }, "strip", z.ZodTypeAny, {
11839
11765
  id: string;
@@ -11853,7 +11779,6 @@ export declare const ticketContract: {
11853
11779
  createdAt: z.ZodDate;
11854
11780
  updatedAt: z.ZodDate;
11855
11781
  deletedAt: z.ZodNullable<z.ZodDate>;
11856
- } & {
11857
11782
  systemName: z.ZodString;
11858
11783
  displayName: z.ZodString;
11859
11784
  }, "strip", z.ZodTypeAny, {
@@ -11903,7 +11828,6 @@ export declare const ticketContract: {
11903
11828
  createdAt: z.ZodDate;
11904
11829
  updatedAt: z.ZodDate;
11905
11830
  deletedAt: z.ZodNullable<z.ZodDate>;
11906
- } & {
11907
11831
  bucketName: z.ZodString;
11908
11832
  fileName: z.ZodString;
11909
11833
  fileSize: z.ZodNumber;
@@ -12009,7 +11933,6 @@ export declare const ticketContract: {
12009
11933
  createdAt: z.ZodDate;
12010
11934
  updatedAt: z.ZodDate;
12011
11935
  deletedAt: z.ZodNullable<z.ZodDate>;
12012
- } & {
12013
11936
  name: z.ZodString;
12014
11937
  }, "strip", z.ZodTypeAny, {
12015
11938
  name: string;
@@ -12029,7 +11952,6 @@ export declare const ticketContract: {
12029
11952
  createdAt: z.ZodDate;
12030
11953
  updatedAt: z.ZodDate;
12031
11954
  deletedAt: z.ZodNullable<z.ZodDate>;
12032
- } & {
12033
11955
  value: z.ZodString;
12034
11956
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
12035
11957
  parentId: z.ZodNullable<z.ZodString>;
@@ -12141,7 +12063,6 @@ export declare const ticketContract: {
12141
12063
  createdAt: z.ZodDate;
12142
12064
  updatedAt: z.ZodDate;
12143
12065
  deletedAt: z.ZodNullable<z.ZodDate>;
12144
- } & {
12145
12066
  name: z.ZodString;
12146
12067
  }, "strip", z.ZodTypeAny, {
12147
12068
  name: string;
@@ -12161,7 +12082,6 @@ export declare const ticketContract: {
12161
12082
  createdAt: z.ZodDate;
12162
12083
  updatedAt: z.ZodDate;
12163
12084
  deletedAt: z.ZodNullable<z.ZodDate>;
12164
- } & {
12165
12085
  name: z.ZodOptional<z.ZodString>;
12166
12086
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12167
12087
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -12171,7 +12091,6 @@ export declare const ticketContract: {
12171
12091
  createdAt: z.ZodDate;
12172
12092
  updatedAt: z.ZodDate;
12173
12093
  deletedAt: z.ZodNullable<z.ZodDate>;
12174
- } & {
12175
12094
  textValue: z.ZodNullable<z.ZodString>;
12176
12095
  booleanValue: z.ZodNullable<z.ZodBoolean>;
12177
12096
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -12181,7 +12100,6 @@ export declare const ticketContract: {
12181
12100
  createdAt: z.ZodDate;
12182
12101
  updatedAt: z.ZodDate;
12183
12102
  deletedAt: z.ZodNullable<z.ZodDate>;
12184
- } & {
12185
12103
  systemName: z.ZodString;
12186
12104
  displayName: z.ZodString;
12187
12105
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -12191,11 +12109,10 @@ export declare const ticketContract: {
12191
12109
  isRequired: z.ZodBoolean;
12192
12110
  isUnique: z.ZodBoolean;
12193
12111
  options: z.ZodArray<z.ZodObject<{
12194
- label: z.ZodString;
12112
+ position: z.ZodNumber;
12195
12113
  value: z.ZodString;
12114
+ label: z.ZodString;
12196
12115
  isDefault: z.ZodBoolean;
12197
- position: z.ZodNumber;
12198
- } & {
12199
12116
  id: z.ZodString;
12200
12117
  }, "strip", z.ZodTypeAny, {
12201
12118
  id: string;
@@ -12215,7 +12132,6 @@ export declare const ticketContract: {
12215
12132
  createdAt: z.ZodDate;
12216
12133
  updatedAt: z.ZodDate;
12217
12134
  deletedAt: z.ZodNullable<z.ZodDate>;
12218
- } & {
12219
12135
  systemName: z.ZodString;
12220
12136
  displayName: z.ZodString;
12221
12137
  }, "strip", z.ZodTypeAny, {
@@ -12393,7 +12309,6 @@ export declare const ticketContract: {
12393
12309
  createdAt: z.ZodDate;
12394
12310
  updatedAt: z.ZodDate;
12395
12311
  deletedAt: z.ZodNullable<z.ZodDate>;
12396
- } & {
12397
12312
  systemName: z.ZodString;
12398
12313
  displayName: z.ZodString;
12399
12314
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -12403,11 +12318,10 @@ export declare const ticketContract: {
12403
12318
  isRequired: z.ZodBoolean;
12404
12319
  isUnique: z.ZodBoolean;
12405
12320
  options: z.ZodArray<z.ZodObject<{
12406
- label: z.ZodString;
12321
+ position: z.ZodNumber;
12407
12322
  value: z.ZodString;
12323
+ label: z.ZodString;
12408
12324
  isDefault: z.ZodBoolean;
12409
- position: z.ZodNumber;
12410
- } & {
12411
12325
  id: z.ZodString;
12412
12326
  }, "strip", z.ZodTypeAny, {
12413
12327
  id: string;
@@ -12427,7 +12341,6 @@ export declare const ticketContract: {
12427
12341
  createdAt: z.ZodDate;
12428
12342
  updatedAt: z.ZodDate;
12429
12343
  deletedAt: z.ZodNullable<z.ZodDate>;
12430
- } & {
12431
12344
  systemName: z.ZodString;
12432
12345
  displayName: z.ZodString;
12433
12346
  }, "strip", z.ZodTypeAny, {
@@ -12477,7 +12390,6 @@ export declare const ticketContract: {
12477
12390
  createdAt: z.ZodDate;
12478
12391
  updatedAt: z.ZodDate;
12479
12392
  deletedAt: z.ZodNullable<z.ZodDate>;
12480
- } & {
12481
12393
  bucketName: z.ZodString;
12482
12394
  fileName: z.ZodString;
12483
12395
  fileSize: z.ZodNumber;
@@ -12911,18 +12823,17 @@ export declare const ticketContract: {
12911
12823
  updatedAt: z.ZodDate;
12912
12824
  deletedAt: z.ZodNullable<z.ZodDate>;
12913
12825
  actor: z.ZodObject<{
12826
+ name: z.ZodString;
12914
12827
  id: z.ZodString;
12828
+ address: z.ZodNullable<z.ZodString>;
12829
+ email: z.ZodString;
12915
12830
  createdAt: z.ZodDate;
12916
12831
  updatedAt: z.ZodDate;
12917
12832
  deletedAt: z.ZodNullable<z.ZodDate>;
12918
- name: z.ZodString;
12919
- email: z.ZodString;
12920
12833
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
12921
12834
  password: z.ZodString;
12922
- address: z.ZodNullable<z.ZodString>;
12923
12835
  phone: z.ZodNullable<z.ZodString>;
12924
12836
  notificationCount: z.ZodNullable<z.ZodNumber>;
12925
- } & {
12926
12837
  roles: z.ZodArray<z.ZodObject<{
12927
12838
  id: z.ZodString;
12928
12839
  createdAt: z.ZodDate;
@@ -13510,7 +13421,7 @@ export declare const ticketContract: {
13510
13421
  assigneeId: string;
13511
13422
  creatorId: string;
13512
13423
  reasonToAssign: string | null;
13513
- assignee?: {
13424
+ creator?: {
13514
13425
  name: string;
13515
13426
  id: string;
13516
13427
  address: string | null;
@@ -13554,7 +13465,7 @@ export declare const ticketContract: {
13554
13465
  telephonySignature: string | null;
13555
13466
  };
13556
13467
  } | null | undefined;
13557
- creator?: {
13468
+ assignee?: {
13558
13469
  name: string;
13559
13470
  id: string;
13560
13471
  address: string | null;
@@ -13851,7 +13762,7 @@ export declare const ticketContract: {
13851
13762
  assigneeId: string;
13852
13763
  creatorId: string;
13853
13764
  reasonToAssign: string | null;
13854
- assignee?: {
13765
+ creator?: {
13855
13766
  name: string;
13856
13767
  id: string;
13857
13768
  address: string | null;
@@ -13895,7 +13806,7 @@ export declare const ticketContract: {
13895
13806
  telephonySignature: string | null;
13896
13807
  };
13897
13808
  } | null | undefined;
13898
- creator?: {
13809
+ assignee?: {
13899
13810
  name: string;
13900
13811
  id: string;
13901
13812
  address: string | null;
@@ -14194,7 +14105,7 @@ export declare const ticketContract: {
14194
14105
  assigneeId: string;
14195
14106
  creatorId: string;
14196
14107
  reasonToAssign: string | null;
14197
- assignee?: {
14108
+ creator?: {
14198
14109
  name: string;
14199
14110
  id: string;
14200
14111
  address: string | null;
@@ -14238,7 +14149,7 @@ export declare const ticketContract: {
14238
14149
  telephonySignature: string | null;
14239
14150
  };
14240
14151
  } | null | undefined;
14241
- creator?: {
14152
+ assignee?: {
14242
14153
  name: string;
14243
14154
  id: string;
14244
14155
  address: string | null;
@@ -14538,7 +14449,7 @@ export declare const ticketContract: {
14538
14449
  assigneeId: string;
14539
14450
  creatorId: string;
14540
14451
  reasonToAssign: string | null;
14541
- assignee?: {
14452
+ creator?: {
14542
14453
  name: string;
14543
14454
  id: string;
14544
14455
  address: string | null;
@@ -14582,7 +14493,7 @@ export declare const ticketContract: {
14582
14493
  telephonySignature: string | null;
14583
14494
  };
14584
14495
  } | null | undefined;
14585
- creator?: {
14496
+ assignee?: {
14586
14497
  name: string;
14587
14498
  id: string;
14588
14499
  address: string | null;
@@ -14682,18 +14593,6 @@ export declare const ticketContract: {
14682
14593
  error?: any;
14683
14594
  }>;
14684
14595
  };
14685
- };
14686
- deleteTicket: {
14687
- body: null;
14688
- summary: "Delete a extension.";
14689
- method: "DELETE";
14690
- pathParams: z.ZodObject<{
14691
- id: z.ZodString;
14692
- }, "strip", z.ZodTypeAny, {
14693
- id: string;
14694
- }, {
14695
- id: string;
14696
- }>;
14697
14596
  path: "tcs/api/v1/ticket/:id";
14698
14597
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14699
14598
  'x-tenant': z.ZodString;
@@ -14711,10 +14610,21 @@ export declare const ticketContract: {
14711
14610
  'x-code'?: string | undefined;
14712
14611
  'x-client-timezone'?: string | undefined;
14713
14612
  }>>>;
14613
+ };
14614
+ deleteTicket: {
14615
+ body: null;
14616
+ summary: "Delete a extension.";
14617
+ method: "DELETE";
14618
+ pathParams: z.ZodObject<{
14619
+ id: z.ZodString;
14620
+ }, "strip", z.ZodTypeAny, {
14621
+ id: string;
14622
+ }, {
14623
+ id: string;
14624
+ }>;
14714
14625
  responses: {
14715
14626
  200: z.ZodObject<{
14716
14627
  requestId: z.ZodString;
14717
- } & {
14718
14628
  message: z.ZodString;
14719
14629
  }, "strip", z.ZodTypeAny, {
14720
14630
  message: string;
@@ -14734,6 +14644,23 @@ export declare const ticketContract: {
14734
14644
  error?: any;
14735
14645
  }>;
14736
14646
  };
14647
+ path: "tcs/api/v1/ticket/:id";
14648
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14649
+ 'x-tenant': z.ZodString;
14650
+ 'x-service-token': z.ZodString;
14651
+ 'x-code': z.ZodOptional<z.ZodString>;
14652
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
14653
+ }, "strip", z.ZodTypeAny, {
14654
+ 'x-tenant': string;
14655
+ 'x-service-token': string;
14656
+ 'x-client-timezone': string;
14657
+ 'x-code'?: string | undefined;
14658
+ }, {
14659
+ 'x-tenant': string;
14660
+ 'x-service-token': string;
14661
+ 'x-code'?: string | undefined;
14662
+ 'x-client-timezone'?: string | undefined;
14663
+ }>>>;
14737
14664
  };
14738
14665
  updateDescription: {
14739
14666
  body: z.ZodObject<{
@@ -14752,27 +14679,9 @@ export declare const ticketContract: {
14752
14679
  }, {
14753
14680
  id: string;
14754
14681
  }>;
14755
- path: "tcs/api/v1/ticket/:id/description";
14756
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14757
- 'x-tenant': z.ZodString;
14758
- 'x-service-token': z.ZodString;
14759
- 'x-code': z.ZodOptional<z.ZodString>;
14760
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
14761
- }, "strip", z.ZodTypeAny, {
14762
- 'x-tenant': string;
14763
- 'x-service-token': string;
14764
- 'x-client-timezone': string;
14765
- 'x-code'?: string | undefined;
14766
- }, {
14767
- 'x-tenant': string;
14768
- 'x-service-token': string;
14769
- 'x-code'?: string | undefined;
14770
- 'x-client-timezone'?: string | undefined;
14771
- }>>>;
14772
14682
  responses: {
14773
14683
  201: z.ZodObject<{
14774
14684
  requestId: z.ZodString;
14775
- } & {
14776
14685
  message: z.ZodString;
14777
14686
  }, "strip", z.ZodTypeAny, {
14778
14687
  message: string;
@@ -14833,6 +14742,23 @@ export declare const ticketContract: {
14833
14742
  error?: any;
14834
14743
  }>;
14835
14744
  };
14745
+ path: "tcs/api/v1/ticket/:id/description";
14746
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14747
+ 'x-tenant': z.ZodString;
14748
+ 'x-service-token': z.ZodString;
14749
+ 'x-code': z.ZodOptional<z.ZodString>;
14750
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
14751
+ }, "strip", z.ZodTypeAny, {
14752
+ 'x-tenant': string;
14753
+ 'x-service-token': string;
14754
+ 'x-client-timezone': string;
14755
+ 'x-code'?: string | undefined;
14756
+ }, {
14757
+ 'x-tenant': string;
14758
+ 'x-service-token': string;
14759
+ 'x-code'?: string | undefined;
14760
+ 'x-client-timezone'?: string | undefined;
14761
+ }>>>;
14836
14762
  };
14837
14763
  updateTitle: {
14838
14764
  body: z.ZodObject<{
@@ -14851,27 +14777,9 @@ export declare const ticketContract: {
14851
14777
  }, {
14852
14778
  id: string;
14853
14779
  }>;
14854
- path: "tcs/api/v1/ticket/:id/title";
14855
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14856
- 'x-tenant': z.ZodString;
14857
- 'x-service-token': z.ZodString;
14858
- 'x-code': z.ZodOptional<z.ZodString>;
14859
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
14860
- }, "strip", z.ZodTypeAny, {
14861
- 'x-tenant': string;
14862
- 'x-service-token': string;
14863
- 'x-client-timezone': string;
14864
- 'x-code'?: string | undefined;
14865
- }, {
14866
- 'x-tenant': string;
14867
- 'x-service-token': string;
14868
- 'x-code'?: string | undefined;
14869
- 'x-client-timezone'?: string | undefined;
14870
- }>>>;
14871
14780
  responses: {
14872
14781
  200: z.ZodObject<{
14873
14782
  requestId: z.ZodString;
14874
- } & {
14875
14783
  message: z.ZodString;
14876
14784
  }, "strip", z.ZodTypeAny, {
14877
14785
  message: string;
@@ -14932,6 +14840,23 @@ export declare const ticketContract: {
14932
14840
  error?: any;
14933
14841
  }>;
14934
14842
  };
14843
+ path: "tcs/api/v1/ticket/:id/title";
14844
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14845
+ 'x-tenant': z.ZodString;
14846
+ 'x-service-token': z.ZodString;
14847
+ 'x-code': z.ZodOptional<z.ZodString>;
14848
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
14849
+ }, "strip", z.ZodTypeAny, {
14850
+ 'x-tenant': string;
14851
+ 'x-service-token': string;
14852
+ 'x-client-timezone': string;
14853
+ 'x-code'?: string | undefined;
14854
+ }, {
14855
+ 'x-tenant': string;
14856
+ 'x-service-token': string;
14857
+ 'x-code'?: string | undefined;
14858
+ 'x-client-timezone'?: string | undefined;
14859
+ }>>>;
14935
14860
  };
14936
14861
  updateType: {
14937
14862
  body: z.ZodObject<{
@@ -14950,27 +14875,9 @@ export declare const ticketContract: {
14950
14875
  }, {
14951
14876
  id: string;
14952
14877
  }>;
14953
- path: "tcs/api/v1/ticket/:id/type";
14954
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14955
- 'x-tenant': z.ZodString;
14956
- 'x-service-token': z.ZodString;
14957
- 'x-code': z.ZodOptional<z.ZodString>;
14958
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
14959
- }, "strip", z.ZodTypeAny, {
14960
- 'x-tenant': string;
14961
- 'x-service-token': string;
14962
- 'x-client-timezone': string;
14963
- 'x-code'?: string | undefined;
14964
- }, {
14965
- 'x-tenant': string;
14966
- 'x-service-token': string;
14967
- 'x-code'?: string | undefined;
14968
- 'x-client-timezone'?: string | undefined;
14969
- }>>>;
14970
14878
  responses: {
14971
14879
  200: z.ZodObject<{
14972
14880
  requestId: z.ZodString;
14973
- } & {
14974
14881
  message: z.ZodString;
14975
14882
  }, "strip", z.ZodTypeAny, {
14976
14883
  message: string;
@@ -15031,25 +14938,7 @@ export declare const ticketContract: {
15031
14938
  error?: any;
15032
14939
  }>;
15033
14940
  };
15034
- };
15035
- updateStatus: {
15036
- body: z.ZodObject<{
15037
- status: z.ZodString;
15038
- }, "strip", z.ZodTypeAny, {
15039
- status: string;
15040
- }, {
15041
- status: string;
15042
- }>;
15043
- summary: "Update a status from a ticket";
15044
- method: "PUT";
15045
- pathParams: z.ZodObject<{
15046
- id: z.ZodString;
15047
- }, "strip", z.ZodTypeAny, {
15048
- id: string;
15049
- }, {
15050
- id: string;
15051
- }>;
15052
- path: "tcs/api/v1/ticket/:id/status";
14941
+ path: "tcs/api/v1/ticket/:id/type";
15053
14942
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
15054
14943
  'x-tenant': z.ZodString;
15055
14944
  'x-service-token': z.ZodString;
@@ -15066,10 +14955,27 @@ export declare const ticketContract: {
15066
14955
  'x-code'?: string | undefined;
15067
14956
  'x-client-timezone'?: string | undefined;
15068
14957
  }>>>;
14958
+ };
14959
+ updateStatus: {
14960
+ body: z.ZodObject<{
14961
+ status: z.ZodString;
14962
+ }, "strip", z.ZodTypeAny, {
14963
+ status: string;
14964
+ }, {
14965
+ status: string;
14966
+ }>;
14967
+ summary: "Update a status from a ticket";
14968
+ method: "PUT";
14969
+ pathParams: z.ZodObject<{
14970
+ id: z.ZodString;
14971
+ }, "strip", z.ZodTypeAny, {
14972
+ id: string;
14973
+ }, {
14974
+ id: string;
14975
+ }>;
15069
14976
  responses: {
15070
14977
  200: z.ZodObject<{
15071
14978
  requestId: z.ZodString;
15072
- } & {
15073
14979
  message: z.ZodString;
15074
14980
  }, "strip", z.ZodTypeAny, {
15075
14981
  message: string;
@@ -15130,6 +15036,23 @@ export declare const ticketContract: {
15130
15036
  error?: any;
15131
15037
  }>;
15132
15038
  };
15039
+ path: "tcs/api/v1/ticket/:id/status";
15040
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
15041
+ 'x-tenant': z.ZodString;
15042
+ 'x-service-token': z.ZodString;
15043
+ 'x-code': z.ZodOptional<z.ZodString>;
15044
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
15045
+ }, "strip", z.ZodTypeAny, {
15046
+ 'x-tenant': string;
15047
+ 'x-service-token': string;
15048
+ 'x-client-timezone': string;
15049
+ 'x-code'?: string | undefined;
15050
+ }, {
15051
+ 'x-tenant': string;
15052
+ 'x-service-token': string;
15053
+ 'x-code'?: string | undefined;
15054
+ 'x-client-timezone'?: string | undefined;
15055
+ }>>>;
15133
15056
  };
15134
15057
  updatePriority: {
15135
15058
  body: z.ZodObject<{
@@ -15148,27 +15071,9 @@ export declare const ticketContract: {
15148
15071
  }, {
15149
15072
  id: string;
15150
15073
  }>;
15151
- path: "tcs/api/v1/ticket/:id/priority";
15152
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
15153
- 'x-tenant': z.ZodString;
15154
- 'x-service-token': z.ZodString;
15155
- 'x-code': z.ZodOptional<z.ZodString>;
15156
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
15157
- }, "strip", z.ZodTypeAny, {
15158
- 'x-tenant': string;
15159
- 'x-service-token': string;
15160
- 'x-client-timezone': string;
15161
- 'x-code'?: string | undefined;
15162
- }, {
15163
- 'x-tenant': string;
15164
- 'x-service-token': string;
15165
- 'x-code'?: string | undefined;
15166
- 'x-client-timezone'?: string | undefined;
15167
- }>>>;
15168
15074
  responses: {
15169
15075
  200: z.ZodObject<{
15170
15076
  requestId: z.ZodString;
15171
- } & {
15172
15077
  message: z.ZodString;
15173
15078
  }, "strip", z.ZodTypeAny, {
15174
15079
  message: string;
@@ -15229,6 +15134,23 @@ export declare const ticketContract: {
15229
15134
  error?: any;
15230
15135
  }>;
15231
15136
  };
15137
+ path: "tcs/api/v1/ticket/:id/priority";
15138
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
15139
+ 'x-tenant': z.ZodString;
15140
+ 'x-service-token': z.ZodString;
15141
+ 'x-code': z.ZodOptional<z.ZodString>;
15142
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
15143
+ }, "strip", z.ZodTypeAny, {
15144
+ 'x-tenant': string;
15145
+ 'x-service-token': string;
15146
+ 'x-client-timezone': string;
15147
+ 'x-code'?: string | undefined;
15148
+ }, {
15149
+ 'x-tenant': string;
15150
+ 'x-service-token': string;
15151
+ 'x-code'?: string | undefined;
15152
+ 'x-client-timezone'?: string | undefined;
15153
+ }>>>;
15232
15154
  };
15233
15155
  updateChannel: {
15234
15156
  body: z.ZodObject<{
@@ -15247,27 +15169,9 @@ export declare const ticketContract: {
15247
15169
  }, {
15248
15170
  id: string;
15249
15171
  }>;
15250
- path: "tcs/api/v1/ticket/:id/channel";
15251
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
15252
- 'x-tenant': z.ZodString;
15253
- 'x-service-token': z.ZodString;
15254
- 'x-code': z.ZodOptional<z.ZodString>;
15255
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
15256
- }, "strip", z.ZodTypeAny, {
15257
- 'x-tenant': string;
15258
- 'x-service-token': string;
15259
- 'x-client-timezone': string;
15260
- 'x-code'?: string | undefined;
15261
- }, {
15262
- 'x-tenant': string;
15263
- 'x-service-token': string;
15264
- 'x-code'?: string | undefined;
15265
- 'x-client-timezone'?: string | undefined;
15266
- }>>>;
15267
15172
  responses: {
15268
15173
  200: z.ZodObject<{
15269
15174
  requestId: z.ZodString;
15270
- } & {
15271
15175
  message: z.ZodString;
15272
15176
  }, "strip", z.ZodTypeAny, {
15273
15177
  message: string;
@@ -15328,6 +15232,23 @@ export declare const ticketContract: {
15328
15232
  error?: any;
15329
15233
  }>;
15330
15234
  };
15235
+ path: "tcs/api/v1/ticket/:id/channel";
15236
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
15237
+ 'x-tenant': z.ZodString;
15238
+ 'x-service-token': z.ZodString;
15239
+ 'x-code': z.ZodOptional<z.ZodString>;
15240
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
15241
+ }, "strip", z.ZodTypeAny, {
15242
+ 'x-tenant': string;
15243
+ 'x-service-token': string;
15244
+ 'x-client-timezone': string;
15245
+ 'x-code'?: string | undefined;
15246
+ }, {
15247
+ 'x-tenant': string;
15248
+ 'x-service-token': string;
15249
+ 'x-code'?: string | undefined;
15250
+ 'x-client-timezone'?: string | undefined;
15251
+ }>>>;
15331
15252
  };
15332
15253
  updateTags: {
15333
15254
  body: z.ZodObject<{
@@ -15346,27 +15267,9 @@ export declare const ticketContract: {
15346
15267
  }, {
15347
15268
  id: string;
15348
15269
  }>;
15349
- path: "tcs/api/v1/ticket/:id/tags";
15350
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
15351
- 'x-tenant': z.ZodString;
15352
- 'x-service-token': z.ZodString;
15353
- 'x-code': z.ZodOptional<z.ZodString>;
15354
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
15355
- }, "strip", z.ZodTypeAny, {
15356
- 'x-tenant': string;
15357
- 'x-service-token': string;
15358
- 'x-client-timezone': string;
15359
- 'x-code'?: string | undefined;
15360
- }, {
15361
- 'x-tenant': string;
15362
- 'x-service-token': string;
15363
- 'x-code'?: string | undefined;
15364
- 'x-client-timezone'?: string | undefined;
15365
- }>>>;
15366
15270
  responses: {
15367
15271
  200: z.ZodObject<{
15368
15272
  requestId: z.ZodString;
15369
- } & {
15370
15273
  message: z.ZodString;
15371
15274
  }, "strip", z.ZodTypeAny, {
15372
15275
  message: string;
@@ -15427,6 +15330,23 @@ export declare const ticketContract: {
15427
15330
  error?: any;
15428
15331
  }>;
15429
15332
  };
15333
+ path: "tcs/api/v1/ticket/:id/tags";
15334
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
15335
+ 'x-tenant': z.ZodString;
15336
+ 'x-service-token': z.ZodString;
15337
+ 'x-code': z.ZodOptional<z.ZodString>;
15338
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
15339
+ }, "strip", z.ZodTypeAny, {
15340
+ 'x-tenant': string;
15341
+ 'x-service-token': string;
15342
+ 'x-client-timezone': string;
15343
+ 'x-code'?: string | undefined;
15344
+ }, {
15345
+ 'x-tenant': string;
15346
+ 'x-service-token': string;
15347
+ 'x-code'?: string | undefined;
15348
+ 'x-client-timezone'?: string | undefined;
15349
+ }>>>;
15430
15350
  };
15431
15351
  changeAssignee: {
15432
15352
  body: z.ZodObject<{
@@ -15448,33 +15368,14 @@ export declare const ticketContract: {
15448
15368
  }, {
15449
15369
  id: string;
15450
15370
  }>;
15451
- path: "tcs/api/v1/ticket/:id/assignee";
15452
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
15453
- 'x-tenant': z.ZodString;
15454
- 'x-service-token': z.ZodString;
15455
- 'x-code': z.ZodOptional<z.ZodString>;
15456
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
15457
- }, "strip", z.ZodTypeAny, {
15458
- 'x-tenant': string;
15459
- 'x-service-token': string;
15460
- 'x-client-timezone': string;
15461
- 'x-code'?: string | undefined;
15462
- }, {
15463
- 'x-tenant': string;
15464
- 'x-service-token': string;
15465
- 'x-code'?: string | undefined;
15466
- 'x-client-timezone'?: string | undefined;
15467
- }>>>;
15468
15371
  responses: {
15469
15372
  200: z.ZodObject<{
15470
15373
  requestId: z.ZodString;
15471
- } & {
15472
15374
  data: z.ZodObject<{
15473
15375
  id: z.ZodString;
15474
15376
  createdAt: z.ZodDate;
15475
15377
  updatedAt: z.ZodDate;
15476
15378
  deletedAt: z.ZodNullable<z.ZodDate>;
15477
- } & {
15478
15379
  title: z.ZodString;
15479
15380
  description: z.ZodNullable<z.ZodString>;
15480
15381
  type: z.ZodString;
@@ -15484,18 +15385,17 @@ export declare const ticketContract: {
15484
15385
  contactId: z.ZodString;
15485
15386
  creatorId: z.ZodString;
15486
15387
  creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
15388
+ name: z.ZodString;
15487
15389
  id: z.ZodString;
15390
+ address: z.ZodNullable<z.ZodString>;
15391
+ email: z.ZodString;
15488
15392
  createdAt: z.ZodDate;
15489
15393
  updatedAt: z.ZodDate;
15490
15394
  deletedAt: z.ZodNullable<z.ZodDate>;
15491
- name: z.ZodString;
15492
- email: z.ZodString;
15493
15395
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
15494
15396
  password: z.ZodString;
15495
- address: z.ZodNullable<z.ZodString>;
15496
15397
  phone: z.ZodNullable<z.ZodString>;
15497
15398
  notificationCount: z.ZodNullable<z.ZodNumber>;
15498
- } & {
15499
15399
  roles: z.ZodArray<z.ZodObject<{
15500
15400
  id: z.ZodString;
15501
15401
  createdAt: z.ZodDate;
@@ -15690,18 +15590,17 @@ export declare const ticketContract: {
15690
15590
  }>>>;
15691
15591
  assigneeId: z.ZodString;
15692
15592
  assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
15593
+ name: z.ZodString;
15693
15594
  id: z.ZodString;
15595
+ address: z.ZodNullable<z.ZodString>;
15596
+ email: z.ZodString;
15694
15597
  createdAt: z.ZodDate;
15695
15598
  updatedAt: z.ZodDate;
15696
15599
  deletedAt: z.ZodNullable<z.ZodDate>;
15697
- name: z.ZodString;
15698
- email: z.ZodString;
15699
15600
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
15700
15601
  password: z.ZodString;
15701
- address: z.ZodNullable<z.ZodString>;
15702
15602
  phone: z.ZodNullable<z.ZodString>;
15703
15603
  notificationCount: z.ZodNullable<z.ZodNumber>;
15704
- } & {
15705
15604
  roles: z.ZodArray<z.ZodObject<{
15706
15605
  id: z.ZodString;
15707
15606
  createdAt: z.ZodDate;
@@ -15901,7 +15800,6 @@ export declare const ticketContract: {
15901
15800
  createdAt: z.ZodDate;
15902
15801
  updatedAt: z.ZodDate;
15903
15802
  deletedAt: z.ZodNullable<z.ZodDate>;
15904
- } & {
15905
15803
  textValue: z.ZodNullable<z.ZodString>;
15906
15804
  booleanValue: z.ZodNullable<z.ZodBoolean>;
15907
15805
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -15911,7 +15809,6 @@ export declare const ticketContract: {
15911
15809
  createdAt: z.ZodDate;
15912
15810
  updatedAt: z.ZodDate;
15913
15811
  deletedAt: z.ZodNullable<z.ZodDate>;
15914
- } & {
15915
15812
  systemName: z.ZodString;
15916
15813
  displayName: z.ZodString;
15917
15814
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -15921,11 +15818,10 @@ export declare const ticketContract: {
15921
15818
  isRequired: z.ZodBoolean;
15922
15819
  isUnique: z.ZodBoolean;
15923
15820
  options: z.ZodArray<z.ZodObject<{
15924
- label: z.ZodString;
15821
+ position: z.ZodNumber;
15925
15822
  value: z.ZodString;
15823
+ label: z.ZodString;
15926
15824
  isDefault: z.ZodBoolean;
15927
- position: z.ZodNumber;
15928
- } & {
15929
15825
  id: z.ZodString;
15930
15826
  }, "strip", z.ZodTypeAny, {
15931
15827
  id: string;
@@ -15945,7 +15841,6 @@ export declare const ticketContract: {
15945
15841
  createdAt: z.ZodDate;
15946
15842
  updatedAt: z.ZodDate;
15947
15843
  deletedAt: z.ZodNullable<z.ZodDate>;
15948
- } & {
15949
15844
  systemName: z.ZodString;
15950
15845
  displayName: z.ZodString;
15951
15846
  }, "strip", z.ZodTypeAny, {
@@ -15995,7 +15890,6 @@ export declare const ticketContract: {
15995
15890
  createdAt: z.ZodDate;
15996
15891
  updatedAt: z.ZodDate;
15997
15892
  deletedAt: z.ZodNullable<z.ZodDate>;
15998
- } & {
15999
15893
  bucketName: z.ZodString;
16000
15894
  fileName: z.ZodString;
16001
15895
  fileSize: z.ZodNumber;
@@ -16101,7 +15995,6 @@ export declare const ticketContract: {
16101
15995
  createdAt: z.ZodDate;
16102
15996
  updatedAt: z.ZodDate;
16103
15997
  deletedAt: z.ZodNullable<z.ZodDate>;
16104
- } & {
16105
15998
  name: z.ZodString;
16106
15999
  }, "strip", z.ZodTypeAny, {
16107
16000
  name: string;
@@ -16121,7 +16014,6 @@ export declare const ticketContract: {
16121
16014
  createdAt: z.ZodDate;
16122
16015
  updatedAt: z.ZodDate;
16123
16016
  deletedAt: z.ZodNullable<z.ZodDate>;
16124
- } & {
16125
16017
  value: z.ZodString;
16126
16018
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
16127
16019
  parentId: z.ZodNullable<z.ZodString>;
@@ -16233,7 +16125,6 @@ export declare const ticketContract: {
16233
16125
  createdAt: z.ZodDate;
16234
16126
  updatedAt: z.ZodDate;
16235
16127
  deletedAt: z.ZodNullable<z.ZodDate>;
16236
- } & {
16237
16128
  name: z.ZodString;
16238
16129
  }, "strip", z.ZodTypeAny, {
16239
16130
  name: string;
@@ -16253,7 +16144,6 @@ export declare const ticketContract: {
16253
16144
  createdAt: z.ZodDate;
16254
16145
  updatedAt: z.ZodDate;
16255
16146
  deletedAt: z.ZodNullable<z.ZodDate>;
16256
- } & {
16257
16147
  name: z.ZodOptional<z.ZodString>;
16258
16148
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16259
16149
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -16263,7 +16153,6 @@ export declare const ticketContract: {
16263
16153
  createdAt: z.ZodDate;
16264
16154
  updatedAt: z.ZodDate;
16265
16155
  deletedAt: z.ZodNullable<z.ZodDate>;
16266
- } & {
16267
16156
  textValue: z.ZodNullable<z.ZodString>;
16268
16157
  booleanValue: z.ZodNullable<z.ZodBoolean>;
16269
16158
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -16273,7 +16162,6 @@ export declare const ticketContract: {
16273
16162
  createdAt: z.ZodDate;
16274
16163
  updatedAt: z.ZodDate;
16275
16164
  deletedAt: z.ZodNullable<z.ZodDate>;
16276
- } & {
16277
16165
  systemName: z.ZodString;
16278
16166
  displayName: z.ZodString;
16279
16167
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -16283,11 +16171,10 @@ export declare const ticketContract: {
16283
16171
  isRequired: z.ZodBoolean;
16284
16172
  isUnique: z.ZodBoolean;
16285
16173
  options: z.ZodArray<z.ZodObject<{
16286
- label: z.ZodString;
16174
+ position: z.ZodNumber;
16287
16175
  value: z.ZodString;
16176
+ label: z.ZodString;
16288
16177
  isDefault: z.ZodBoolean;
16289
- position: z.ZodNumber;
16290
- } & {
16291
16178
  id: z.ZodString;
16292
16179
  }, "strip", z.ZodTypeAny, {
16293
16180
  id: string;
@@ -16307,7 +16194,6 @@ export declare const ticketContract: {
16307
16194
  createdAt: z.ZodDate;
16308
16195
  updatedAt: z.ZodDate;
16309
16196
  deletedAt: z.ZodNullable<z.ZodDate>;
16310
- } & {
16311
16197
  systemName: z.ZodString;
16312
16198
  displayName: z.ZodString;
16313
16199
  }, "strip", z.ZodTypeAny, {
@@ -16485,7 +16371,6 @@ export declare const ticketContract: {
16485
16371
  createdAt: z.ZodDate;
16486
16372
  updatedAt: z.ZodDate;
16487
16373
  deletedAt: z.ZodNullable<z.ZodDate>;
16488
- } & {
16489
16374
  systemName: z.ZodString;
16490
16375
  displayName: z.ZodString;
16491
16376
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -16495,11 +16380,10 @@ export declare const ticketContract: {
16495
16380
  isRequired: z.ZodBoolean;
16496
16381
  isUnique: z.ZodBoolean;
16497
16382
  options: z.ZodArray<z.ZodObject<{
16498
- label: z.ZodString;
16383
+ position: z.ZodNumber;
16499
16384
  value: z.ZodString;
16385
+ label: z.ZodString;
16500
16386
  isDefault: z.ZodBoolean;
16501
- position: z.ZodNumber;
16502
- } & {
16503
16387
  id: z.ZodString;
16504
16388
  }, "strip", z.ZodTypeAny, {
16505
16389
  id: string;
@@ -16519,7 +16403,6 @@ export declare const ticketContract: {
16519
16403
  createdAt: z.ZodDate;
16520
16404
  updatedAt: z.ZodDate;
16521
16405
  deletedAt: z.ZodNullable<z.ZodDate>;
16522
- } & {
16523
16406
  systemName: z.ZodString;
16524
16407
  displayName: z.ZodString;
16525
16408
  }, "strip", z.ZodTypeAny, {
@@ -16569,7 +16452,6 @@ export declare const ticketContract: {
16569
16452
  createdAt: z.ZodDate;
16570
16453
  updatedAt: z.ZodDate;
16571
16454
  deletedAt: z.ZodNullable<z.ZodDate>;
16572
- } & {
16573
16455
  bucketName: z.ZodString;
16574
16456
  fileName: z.ZodString;
16575
16457
  fileSize: z.ZodNumber;
@@ -17003,18 +16885,17 @@ export declare const ticketContract: {
17003
16885
  updatedAt: z.ZodDate;
17004
16886
  deletedAt: z.ZodNullable<z.ZodDate>;
17005
16887
  actor: z.ZodObject<{
16888
+ name: z.ZodString;
17006
16889
  id: z.ZodString;
16890
+ address: z.ZodNullable<z.ZodString>;
16891
+ email: z.ZodString;
17007
16892
  createdAt: z.ZodDate;
17008
16893
  updatedAt: z.ZodDate;
17009
16894
  deletedAt: z.ZodNullable<z.ZodDate>;
17010
- name: z.ZodString;
17011
- email: z.ZodString;
17012
16895
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
17013
16896
  password: z.ZodString;
17014
- address: z.ZodNullable<z.ZodString>;
17015
16897
  phone: z.ZodNullable<z.ZodString>;
17016
16898
  notificationCount: z.ZodNullable<z.ZodNumber>;
17017
- } & {
17018
16899
  roles: z.ZodArray<z.ZodObject<{
17019
16900
  id: z.ZodString;
17020
16901
  createdAt: z.ZodDate;
@@ -17602,7 +17483,7 @@ export declare const ticketContract: {
17602
17483
  assigneeId: string;
17603
17484
  creatorId: string;
17604
17485
  reasonToAssign: string | null;
17605
- assignee?: {
17486
+ creator?: {
17606
17487
  name: string;
17607
17488
  id: string;
17608
17489
  address: string | null;
@@ -17646,7 +17527,7 @@ export declare const ticketContract: {
17646
17527
  telephonySignature: string | null;
17647
17528
  };
17648
17529
  } | null | undefined;
17649
- creator?: {
17530
+ assignee?: {
17650
17531
  name: string;
17651
17532
  id: string;
17652
17533
  address: string | null;
@@ -17943,7 +17824,7 @@ export declare const ticketContract: {
17943
17824
  assigneeId: string;
17944
17825
  creatorId: string;
17945
17826
  reasonToAssign: string | null;
17946
- assignee?: {
17827
+ creator?: {
17947
17828
  name: string;
17948
17829
  id: string;
17949
17830
  address: string | null;
@@ -17987,7 +17868,7 @@ export declare const ticketContract: {
17987
17868
  telephonySignature: string | null;
17988
17869
  };
17989
17870
  } | null | undefined;
17990
- creator?: {
17871
+ assignee?: {
17991
17872
  name: string;
17992
17873
  id: string;
17993
17874
  address: string | null;
@@ -18286,7 +18167,7 @@ export declare const ticketContract: {
18286
18167
  assigneeId: string;
18287
18168
  creatorId: string;
18288
18169
  reasonToAssign: string | null;
18289
- assignee?: {
18170
+ creator?: {
18290
18171
  name: string;
18291
18172
  id: string;
18292
18173
  address: string | null;
@@ -18330,7 +18211,7 @@ export declare const ticketContract: {
18330
18211
  telephonySignature: string | null;
18331
18212
  };
18332
18213
  } | null | undefined;
18333
- creator?: {
18214
+ assignee?: {
18334
18215
  name: string;
18335
18216
  id: string;
18336
18217
  address: string | null;
@@ -18630,7 +18511,7 @@ export declare const ticketContract: {
18630
18511
  assigneeId: string;
18631
18512
  creatorId: string;
18632
18513
  reasonToAssign: string | null;
18633
- assignee?: {
18514
+ creator?: {
18634
18515
  name: string;
18635
18516
  id: string;
18636
18517
  address: string | null;
@@ -18674,7 +18555,7 @@ export declare const ticketContract: {
18674
18555
  telephonySignature: string | null;
18675
18556
  };
18676
18557
  } | null | undefined;
18677
- creator?: {
18558
+ assignee?: {
18678
18559
  name: string;
18679
18560
  id: string;
18680
18561
  address: string | null;
@@ -18774,18 +18655,7 @@ export declare const ticketContract: {
18774
18655
  error?: any;
18775
18656
  }>;
18776
18657
  };
18777
- };
18778
- getTicketCountByContact: {
18779
- summary: "Get ticket count by contact";
18780
- method: "GET";
18781
- pathParams: z.ZodObject<{
18782
- contactId: z.ZodString;
18783
- }, "strip", z.ZodTypeAny, {
18784
- contactId: string;
18785
- }, {
18786
- contactId: string;
18787
- }>;
18788
- path: "tcs/api/v1/ticket/count/contact/:contactId";
18658
+ path: "tcs/api/v1/ticket/:id/assignee";
18789
18659
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18790
18660
  'x-tenant': z.ZodString;
18791
18661
  'x-service-token': z.ZodString;
@@ -18802,10 +18672,20 @@ export declare const ticketContract: {
18802
18672
  'x-code'?: string | undefined;
18803
18673
  'x-client-timezone'?: string | undefined;
18804
18674
  }>>>;
18675
+ };
18676
+ getTicketCountByContact: {
18677
+ summary: "Get ticket count by contact";
18678
+ method: "GET";
18679
+ pathParams: z.ZodObject<{
18680
+ contactId: z.ZodString;
18681
+ }, "strip", z.ZodTypeAny, {
18682
+ contactId: string;
18683
+ }, {
18684
+ contactId: string;
18685
+ }>;
18805
18686
  responses: {
18806
18687
  200: z.ZodObject<{
18807
18688
  requestId: z.ZodString;
18808
- } & {
18809
18689
  data: z.ZodObject<{
18810
18690
  total: z.ZodNumber;
18811
18691
  open: z.ZodNumber;
@@ -18872,6 +18752,23 @@ export declare const ticketContract: {
18872
18752
  error?: any;
18873
18753
  }>;
18874
18754
  };
18755
+ path: "tcs/api/v1/ticket/count/contact/:contactId";
18756
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18757
+ 'x-tenant': z.ZodString;
18758
+ 'x-service-token': z.ZodString;
18759
+ 'x-code': z.ZodOptional<z.ZodString>;
18760
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
18761
+ }, "strip", z.ZodTypeAny, {
18762
+ 'x-tenant': string;
18763
+ 'x-service-token': string;
18764
+ 'x-client-timezone': string;
18765
+ 'x-code'?: string | undefined;
18766
+ }, {
18767
+ 'x-tenant': string;
18768
+ 'x-service-token': string;
18769
+ 'x-code'?: string | undefined;
18770
+ 'x-client-timezone'?: string | undefined;
18771
+ }>>>;
18875
18772
  };
18876
18773
  addTicketAttachments: {
18877
18774
  body: z.ZodObject<{
@@ -18923,33 +18820,14 @@ export declare const ticketContract: {
18923
18820
  }, {
18924
18821
  id: string;
18925
18822
  }>;
18926
- path: "tcs/api/v1/ticket/:id/attachment";
18927
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18928
- 'x-tenant': z.ZodString;
18929
- 'x-service-token': z.ZodString;
18930
- 'x-code': z.ZodOptional<z.ZodString>;
18931
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
18932
- }, "strip", z.ZodTypeAny, {
18933
- 'x-tenant': string;
18934
- 'x-service-token': string;
18935
- 'x-client-timezone': string;
18936
- 'x-code'?: string | undefined;
18937
- }, {
18938
- 'x-tenant': string;
18939
- 'x-service-token': string;
18940
- 'x-code'?: string | undefined;
18941
- 'x-client-timezone'?: string | undefined;
18942
- }>>>;
18943
18823
  responses: {
18944
18824
  201: z.ZodObject<{
18945
18825
  requestId: z.ZodString;
18946
- } & {
18947
18826
  data: z.ZodObject<{
18948
18827
  id: z.ZodString;
18949
18828
  createdAt: z.ZodDate;
18950
18829
  updatedAt: z.ZodDate;
18951
18830
  deletedAt: z.ZodNullable<z.ZodDate>;
18952
- } & {
18953
18831
  textValue: z.ZodNullable<z.ZodString>;
18954
18832
  booleanValue: z.ZodNullable<z.ZodBoolean>;
18955
18833
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -18959,7 +18837,6 @@ export declare const ticketContract: {
18959
18837
  createdAt: z.ZodDate;
18960
18838
  updatedAt: z.ZodDate;
18961
18839
  deletedAt: z.ZodNullable<z.ZodDate>;
18962
- } & {
18963
18840
  systemName: z.ZodString;
18964
18841
  displayName: z.ZodString;
18965
18842
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -18969,11 +18846,10 @@ export declare const ticketContract: {
18969
18846
  isRequired: z.ZodBoolean;
18970
18847
  isUnique: z.ZodBoolean;
18971
18848
  options: z.ZodArray<z.ZodObject<{
18972
- label: z.ZodString;
18849
+ position: z.ZodNumber;
18973
18850
  value: z.ZodString;
18851
+ label: z.ZodString;
18974
18852
  isDefault: z.ZodBoolean;
18975
- position: z.ZodNumber;
18976
- } & {
18977
18853
  id: z.ZodString;
18978
18854
  }, "strip", z.ZodTypeAny, {
18979
18855
  id: string;
@@ -18993,7 +18869,6 @@ export declare const ticketContract: {
18993
18869
  createdAt: z.ZodDate;
18994
18870
  updatedAt: z.ZodDate;
18995
18871
  deletedAt: z.ZodNullable<z.ZodDate>;
18996
- } & {
18997
18872
  systemName: z.ZodString;
18998
18873
  displayName: z.ZodString;
18999
18874
  }, "strip", z.ZodTypeAny, {
@@ -19043,7 +18918,6 @@ export declare const ticketContract: {
19043
18918
  createdAt: z.ZodDate;
19044
18919
  updatedAt: z.ZodDate;
19045
18920
  deletedAt: z.ZodNullable<z.ZodDate>;
19046
- } & {
19047
18921
  bucketName: z.ZodString;
19048
18922
  fileName: z.ZodString;
19049
18923
  fileSize: z.ZodNumber;
@@ -19273,39 +19147,55 @@ export declare const ticketContract: {
19273
19147
  error?: any;
19274
19148
  }>;
19275
19149
  };
19150
+ path: "tcs/api/v1/ticket/:id/attachment";
19151
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
19152
+ 'x-tenant': z.ZodString;
19153
+ 'x-service-token': z.ZodString;
19154
+ 'x-code': z.ZodOptional<z.ZodString>;
19155
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
19156
+ }, "strip", z.ZodTypeAny, {
19157
+ 'x-tenant': string;
19158
+ 'x-service-token': string;
19159
+ 'x-client-timezone': string;
19160
+ 'x-code'?: string | undefined;
19161
+ }, {
19162
+ 'x-tenant': string;
19163
+ 'x-service-token': string;
19164
+ 'x-code'?: string | undefined;
19165
+ 'x-client-timezone'?: string | undefined;
19166
+ }>>>;
19276
19167
  };
19277
19168
  exportTicket: {
19278
19169
  summary: "Export tickets";
19279
19170
  method: "GET";
19280
19171
  query: z.ZodObject<{
19281
- agent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19282
- selectedDate: z.ZodOptional<z.ZodString>;
19283
- keyword: z.ZodOptional<z.ZodString>;
19172
+ type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19173
+ channel: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19174
+ priority: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19284
19175
  title: z.ZodOptional<z.ZodString>;
19285
19176
  description: z.ZodOptional<z.ZodString>;
19286
19177
  status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19287
- priority: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19288
- assignee: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19289
- channel: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19290
- type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19291
- ticketType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19292
19178
  contact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19293
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19294
- categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19295
19179
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
19296
19180
  attributeId: z.ZodString;
19297
19181
  type: z.ZodString;
19298
19182
  value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
19299
19183
  }, "strip", z.ZodTypeAny, {
19300
19184
  type: string;
19301
- value: string | string[];
19185
+ value: (string | string[]) & (string | string[] | undefined);
19302
19186
  attributeId: string;
19303
19187
  }, {
19304
19188
  type: string;
19305
- value: string | string[];
19189
+ value: (string | string[]) & (string | string[] | undefined);
19306
19190
  attributeId: string;
19307
19191
  }>, "many">>;
19308
- } & {
19192
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19193
+ categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19194
+ assignee: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19195
+ agent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19196
+ keyword: z.ZodOptional<z.ZodString>;
19197
+ selectedDate: z.ZodOptional<z.ZodString>;
19198
+ ticketType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19309
19199
  fileExtension: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>>>;
19310
19200
  }, "strip", z.ZodTypeAny, {
19311
19201
  type?: string[] | undefined;
@@ -19317,7 +19207,7 @@ export declare const ticketContract: {
19317
19207
  contact?: string[] | undefined;
19318
19208
  customFields?: {
19319
19209
  type: string;
19320
- value: string | string[];
19210
+ value: (string | string[]) & (string | string[] | undefined);
19321
19211
  attributeId: string;
19322
19212
  }[] | undefined;
19323
19213
  tags?: string[] | undefined;
@@ -19326,8 +19216,8 @@ export declare const ticketContract: {
19326
19216
  agent?: string[] | undefined;
19327
19217
  keyword?: string | undefined;
19328
19218
  selectedDate?: string | undefined;
19329
- fileExtension?: "csv" | "xlsx" | undefined;
19330
19219
  ticketType?: string[] | undefined;
19220
+ fileExtension?: "csv" | "xlsx" | undefined;
19331
19221
  }, {
19332
19222
  type?: string[] | undefined;
19333
19223
  channel?: string[] | undefined;
@@ -19338,7 +19228,7 @@ export declare const ticketContract: {
19338
19228
  contact?: string[] | undefined;
19339
19229
  customFields?: {
19340
19230
  type: string;
19341
- value: string | string[];
19231
+ value: (string | string[]) & (string | string[] | undefined);
19342
19232
  attributeId: string;
19343
19233
  }[] | undefined;
19344
19234
  tags?: string[] | undefined;
@@ -19347,26 +19237,9 @@ export declare const ticketContract: {
19347
19237
  agent?: string[] | undefined;
19348
19238
  keyword?: string | undefined;
19349
19239
  selectedDate?: string | undefined;
19350
- fileExtension?: "csv" | "xlsx" | undefined;
19351
19240
  ticketType?: string[] | undefined;
19241
+ fileExtension?: "csv" | "xlsx" | undefined;
19352
19242
  }>;
19353
- path: "ts/ticket/export";
19354
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
19355
- 'x-tenant': z.ZodString;
19356
- 'x-service-token': z.ZodString;
19357
- 'x-code': z.ZodOptional<z.ZodString>;
19358
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
19359
- }, "strip", z.ZodTypeAny, {
19360
- 'x-tenant': string;
19361
- 'x-service-token': string;
19362
- 'x-client-timezone': string;
19363
- 'x-code'?: string | undefined;
19364
- }, {
19365
- 'x-tenant': string;
19366
- 'x-service-token': string;
19367
- 'x-code'?: string | undefined;
19368
- 'x-client-timezone'?: string | undefined;
19369
- }>>>;
19370
19243
  responses: {
19371
19244
  200: null;
19372
19245
  401: z.ZodObject<{
@@ -19380,10 +19253,7 @@ export declare const ticketContract: {
19380
19253
  error?: any;
19381
19254
  }>;
19382
19255
  };
19383
- };
19384
- getTicketReasonRequired: {
19385
- method: "GET";
19386
- path: "tcs/api/v1/ticket/gs/ticket-reason-required";
19256
+ path: "ts/ticket/export";
19387
19257
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
19388
19258
  'x-tenant': z.ZodString;
19389
19259
  'x-service-token': z.ZodString;
@@ -19400,10 +19270,12 @@ export declare const ticketContract: {
19400
19270
  'x-code'?: string | undefined;
19401
19271
  'x-client-timezone'?: string | undefined;
19402
19272
  }>>>;
19273
+ };
19274
+ getTicketReasonRequired: {
19275
+ method: "GET";
19403
19276
  responses: {
19404
19277
  200: z.ZodObject<{
19405
19278
  requestId: z.ZodString;
19406
- } & {
19407
19279
  ticketReasonRequired: z.ZodString;
19408
19280
  }, "strip", z.ZodTypeAny, {
19409
19281
  requestId: string;
@@ -19440,16 +19312,6 @@ export declare const ticketContract: {
19440
19312
  error?: any;
19441
19313
  }>;
19442
19314
  };
19443
- };
19444
- updateTicketReasonRequired: {
19445
- body: z.ZodObject<{
19446
- ticketReasonRequired: z.ZodString;
19447
- }, "strip", z.ZodTypeAny, {
19448
- ticketReasonRequired: string;
19449
- }, {
19450
- ticketReasonRequired: string;
19451
- }>;
19452
- method: "PUT";
19453
19315
  path: "tcs/api/v1/ticket/gs/ticket-reason-required";
19454
19316
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
19455
19317
  'x-tenant': z.ZodString;
@@ -19467,10 +19329,19 @@ export declare const ticketContract: {
19467
19329
  'x-code'?: string | undefined;
19468
19330
  'x-client-timezone'?: string | undefined;
19469
19331
  }>>>;
19332
+ };
19333
+ updateTicketReasonRequired: {
19334
+ body: z.ZodObject<{
19335
+ ticketReasonRequired: z.ZodString;
19336
+ }, "strip", z.ZodTypeAny, {
19337
+ ticketReasonRequired: string;
19338
+ }, {
19339
+ ticketReasonRequired: string;
19340
+ }>;
19341
+ method: "PUT";
19470
19342
  responses: {
19471
19343
  200: z.ZodObject<{
19472
19344
  requestId: z.ZodString;
19473
- } & {
19474
19345
  ticketReasonRequired: z.ZodString;
19475
19346
  }, "strip", z.ZodTypeAny, {
19476
19347
  requestId: string;
@@ -19507,6 +19378,23 @@ export declare const ticketContract: {
19507
19378
  error?: any;
19508
19379
  }>;
19509
19380
  };
19381
+ path: "tcs/api/v1/ticket/gs/ticket-reason-required";
19382
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
19383
+ 'x-tenant': z.ZodString;
19384
+ 'x-service-token': z.ZodString;
19385
+ 'x-code': z.ZodOptional<z.ZodString>;
19386
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
19387
+ }, "strip", z.ZodTypeAny, {
19388
+ 'x-tenant': string;
19389
+ 'x-service-token': string;
19390
+ 'x-client-timezone': string;
19391
+ 'x-code'?: string | undefined;
19392
+ }, {
19393
+ 'x-tenant': string;
19394
+ 'x-service-token': string;
19395
+ 'x-code'?: string | undefined;
19396
+ 'x-client-timezone'?: string | undefined;
19397
+ }>>>;
19510
19398
  };
19511
19399
  };
19512
19400
  //# sourceMappingURL=index.d.ts.map