@kl1/contracts 0.0.0-prod-testing

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 (287) hide show
  1. package/dist/index.js +7761 -0
  2. package/dist/index.js.map +1 -0
  3. package/dist/index.mjs +7692 -0
  4. package/dist/index.mjs.map +1 -0
  5. package/dist/src/activity-log/index.d.ts +406 -0
  6. package/dist/src/activity-log/index.d.ts.map +1 -0
  7. package/dist/src/activity-log/schema.d.ts +376 -0
  8. package/dist/src/activity-log/schema.d.ts.map +1 -0
  9. package/dist/src/activity-log/validation.d.ts +2 -0
  10. package/dist/src/activity-log/validation.d.ts.map +1 -0
  11. package/dist/src/attribute/index.d.ts +973 -0
  12. package/dist/src/attribute/index.d.ts.map +1 -0
  13. package/dist/src/attribute/schema.d.ts +130 -0
  14. package/dist/src/attribute/schema.d.ts.map +1 -0
  15. package/dist/src/attribute/validation.d.ts +128 -0
  16. package/dist/src/attribute/validation.d.ts.map +1 -0
  17. package/dist/src/attribute-option/schema.d.ts +33 -0
  18. package/dist/src/attribute-option/schema.d.ts.map +1 -0
  19. package/dist/src/auth/index.d.ts +595 -0
  20. package/dist/src/auth/index.d.ts.map +1 -0
  21. package/dist/src/aws/index.d.ts +177 -0
  22. package/dist/src/aws/index.d.ts.map +1 -0
  23. package/dist/src/aws/validation.d.ts +58 -0
  24. package/dist/src/aws/validation.d.ts.map +1 -0
  25. package/dist/src/base-contract.d.ts +123 -0
  26. package/dist/src/base-contract.d.ts.map +1 -0
  27. package/dist/src/botpress/index.d.ts +547 -0
  28. package/dist/src/botpress/index.d.ts.map +1 -0
  29. package/dist/src/botpress/schema.d.ts +81 -0
  30. package/dist/src/botpress/schema.d.ts.map +1 -0
  31. package/dist/src/botpress/validation.d.ts +229 -0
  32. package/dist/src/botpress/validation.d.ts.map +1 -0
  33. package/dist/src/business-calendar/index.d.ts +820 -0
  34. package/dist/src/business-calendar/index.d.ts.map +1 -0
  35. package/dist/src/business-calendar/schema.d.ts +180 -0
  36. package/dist/src/business-calendar/schema.d.ts.map +1 -0
  37. package/dist/src/business-calendar/validation.d.ts +210 -0
  38. package/dist/src/business-calendar/validation.d.ts.map +1 -0
  39. package/dist/src/call-log/index.d.ts +4 -0
  40. package/dist/src/call-log/index.d.ts.map +1 -0
  41. package/dist/src/call-log/schema.d.ts +57 -0
  42. package/dist/src/call-log/schema.d.ts.map +1 -0
  43. package/dist/src/call-log/validation.d.ts +24 -0
  44. package/dist/src/call-log/validation.d.ts.map +1 -0
  45. package/dist/src/category/index.d.ts +797 -0
  46. package/dist/src/category/index.d.ts.map +1 -0
  47. package/dist/src/category/schema.d.ts +116 -0
  48. package/dist/src/category/schema.d.ts.map +1 -0
  49. package/dist/src/category/validation.d.ts +42 -0
  50. package/dist/src/category/validation.d.ts.map +1 -0
  51. package/dist/src/channel/index.d.ts +5751 -0
  52. package/dist/src/channel/index.d.ts.map +1 -0
  53. package/dist/src/channel/schema.d.ts +400 -0
  54. package/dist/src/channel/schema.d.ts.map +1 -0
  55. package/dist/src/channel/validation.d.ts +153 -0
  56. package/dist/src/channel/validation.d.ts.map +1 -0
  57. package/dist/src/chat/index.d.ts +52481 -0
  58. package/dist/src/chat/index.d.ts.map +1 -0
  59. package/dist/src/chat/schema.d.ts +10848 -0
  60. package/dist/src/chat/schema.d.ts.map +1 -0
  61. package/dist/src/chat/validation.d.ts +14033 -0
  62. package/dist/src/chat/validation.d.ts.map +1 -0
  63. package/dist/src/comment/index.d.ts +13617 -0
  64. package/dist/src/comment/index.d.ts.map +1 -0
  65. package/dist/src/comment/schema.d.ts +3872 -0
  66. package/dist/src/comment/schema.d.ts.map +1 -0
  67. package/dist/src/comment/validation.d.ts +38 -0
  68. package/dist/src/comment/validation.d.ts.map +1 -0
  69. package/dist/src/company/index.d.ts +1726 -0
  70. package/dist/src/company/index.d.ts.map +1 -0
  71. package/dist/src/company/schema.d.ts +352 -0
  72. package/dist/src/company/schema.d.ts.map +1 -0
  73. package/dist/src/company/validation.d.ts +812 -0
  74. package/dist/src/company/validation.d.ts.map +1 -0
  75. package/dist/src/contact/index.d.ts +8915 -0
  76. package/dist/src/contact/index.d.ts.map +1 -0
  77. package/dist/src/contact/schema.d.ts +1166 -0
  78. package/dist/src/contact/schema.d.ts.map +1 -0
  79. package/dist/src/contact/validation.d.ts +5252 -0
  80. package/dist/src/contact/validation.d.ts.map +1 -0
  81. package/dist/src/contact-email/schema.d.ts +27 -0
  82. package/dist/src/contact-email/schema.d.ts.map +1 -0
  83. package/dist/src/contact-phone/schema.d.ts +27 -0
  84. package/dist/src/contact-phone/schema.d.ts.map +1 -0
  85. package/dist/src/contract.d.ts +151960 -0
  86. package/dist/src/contract.d.ts.map +1 -0
  87. package/dist/src/contract2.d.ts +2 -0
  88. package/dist/src/contract2.d.ts.map +1 -0
  89. package/dist/src/custom-field/index.d.ts +4 -0
  90. package/dist/src/custom-field/index.d.ts.map +1 -0
  91. package/dist/src/custom-field/schema.d.ts +36 -0
  92. package/dist/src/custom-field/schema.d.ts.map +1 -0
  93. package/dist/src/custom-field/validation.d.ts +15 -0
  94. package/dist/src/custom-field/validation.d.ts.map +1 -0
  95. package/dist/src/custom-field-upload/schema.d.ts +24 -0
  96. package/dist/src/custom-field-upload/schema.d.ts.map +1 -0
  97. package/dist/src/cx-log/index.d.ts +8949 -0
  98. package/dist/src/cx-log/index.d.ts.map +1 -0
  99. package/dist/src/cx-log/schema.d.ts +7563 -0
  100. package/dist/src/cx-log/schema.d.ts.map +1 -0
  101. package/dist/src/cx-log/validation.d.ts +98 -0
  102. package/dist/src/cx-log/validation.d.ts.map +1 -0
  103. package/dist/src/dashboard/index.d.ts +1957 -0
  104. package/dist/src/dashboard/index.d.ts.map +1 -0
  105. package/dist/src/dashboard/schema.d.ts +1064 -0
  106. package/dist/src/dashboard/schema.d.ts.map +1 -0
  107. package/dist/src/dashboard/validation.d.ts +29 -0
  108. package/dist/src/dashboard/validation.d.ts.map +1 -0
  109. package/dist/src/evaluate-form/index.d.ts +47 -0
  110. package/dist/src/evaluate-form/index.d.ts.map +1 -0
  111. package/dist/src/evaluate-form/schema.d.ts +27 -0
  112. package/dist/src/evaluate-form/schema.d.ts.map +1 -0
  113. package/dist/src/evaluate-form/validation.d.ts +28 -0
  114. package/dist/src/evaluate-form/validation.d.ts.map +1 -0
  115. package/dist/src/extension/index.d.ts +900 -0
  116. package/dist/src/extension/index.d.ts.map +1 -0
  117. package/dist/src/extension/schema.d.ts +39 -0
  118. package/dist/src/extension/schema.d.ts.map +1 -0
  119. package/dist/src/extension/validation.d.ts +52 -0
  120. package/dist/src/extension/validation.d.ts.map +1 -0
  121. package/dist/src/group/schema.d.ts +24 -0
  122. package/dist/src/group/schema.d.ts.map +1 -0
  123. package/dist/src/index.d.ts +26 -0
  124. package/dist/src/index.d.ts.map +1 -0
  125. package/dist/src/instagram/index.d.ts +9318 -0
  126. package/dist/src/instagram/index.d.ts.map +1 -0
  127. package/dist/src/instagram/schema.d.ts +2 -0
  128. package/dist/src/instagram/schema.d.ts.map +1 -0
  129. package/dist/src/instagram/validation.d.ts +113 -0
  130. package/dist/src/instagram/validation.d.ts.map +1 -0
  131. package/dist/src/line/index.d.ts +9485 -0
  132. package/dist/src/line/index.d.ts.map +1 -0
  133. package/dist/src/line/schema.d.ts +54 -0
  134. package/dist/src/line/schema.d.ts.map +1 -0
  135. package/dist/src/line/validation.d.ts +583 -0
  136. package/dist/src/line/validation.d.ts.map +1 -0
  137. package/dist/src/log-form/schema.d.ts +24 -0
  138. package/dist/src/log-form/schema.d.ts.map +1 -0
  139. package/dist/src/mail/account-contract.d.ts +1615 -0
  140. package/dist/src/mail/account-contract.d.ts.map +1 -0
  141. package/dist/src/mail/email-engine-webhooks-events.contract.d.ts +22 -0
  142. package/dist/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -0
  143. package/dist/src/mail/index.d.ts +23 -0
  144. package/dist/src/mail/index.d.ts.map +1 -0
  145. package/dist/src/mail/mail-contract.d.ts +16337 -0
  146. package/dist/src/mail/mail-contract.d.ts.map +1 -0
  147. package/dist/src/mail/mail-server-contract.d.ts +675 -0
  148. package/dist/src/mail/mail-server-contract.d.ts.map +1 -0
  149. package/dist/src/mail/message-contract.d.ts +832 -0
  150. package/dist/src/mail/message-contract.d.ts.map +1 -0
  151. package/dist/src/mail/room-contract.d.ts +13222 -0
  152. package/dist/src/mail/room-contract.d.ts.map +1 -0
  153. package/dist/src/mail/schemas/account-validation.schema.d.ts +790 -0
  154. package/dist/src/mail/schemas/account-validation.schema.d.ts.map +1 -0
  155. package/dist/src/mail/schemas/account.schema.d.ts +149 -0
  156. package/dist/src/mail/schemas/account.schema.d.ts.map +1 -0
  157. package/dist/src/mail/schemas/message-validation.schema.d.ts +163 -0
  158. package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -0
  159. package/dist/src/mail/schemas/message.schema.d.ts +349 -0
  160. package/dist/src/mail/schemas/message.schema.d.ts.map +1 -0
  161. package/dist/src/mail/schemas/room-validation.schema.d.ts +4154 -0
  162. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -0
  163. package/dist/src/mail/schemas/room.schema.d.ts +3683 -0
  164. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -0
  165. package/dist/src/mail/schemas/servers-validation.schema.d.ts +33 -0
  166. package/dist/src/mail/schemas/servers-validation.schema.d.ts.map +1 -0
  167. package/dist/src/messenger/index.d.ts +9339 -0
  168. package/dist/src/messenger/index.d.ts.map +1 -0
  169. package/dist/src/messenger/schema.d.ts +2 -0
  170. package/dist/src/messenger/schema.d.ts.map +1 -0
  171. package/dist/src/messenger/validation.d.ts +1632 -0
  172. package/dist/src/messenger/validation.d.ts.map +1 -0
  173. package/dist/src/notification/index.d.ts +2217 -0
  174. package/dist/src/notification/index.d.ts.map +1 -0
  175. package/dist/src/notification/schema.d.ts +1348 -0
  176. package/dist/src/notification/schema.d.ts.map +1 -0
  177. package/dist/src/notification/validation.d.ts +766 -0
  178. package/dist/src/notification/validation.d.ts.map +1 -0
  179. package/dist/src/permission/index.d.ts +103 -0
  180. package/dist/src/permission/index.d.ts.map +1 -0
  181. package/dist/src/permission/schema.d.ts +27 -0
  182. package/dist/src/permission/schema.d.ts.map +1 -0
  183. package/dist/src/public-api/index.d.ts +5843 -0
  184. package/dist/src/public-api/index.d.ts.map +1 -0
  185. package/dist/src/public-api/schema.d.ts +1010 -0
  186. package/dist/src/public-api/schema.d.ts.map +1 -0
  187. package/dist/src/public-api/validation.d.ts +1822 -0
  188. package/dist/src/public-api/validation.d.ts.map +1 -0
  189. package/dist/src/role/index.d.ts +566 -0
  190. package/dist/src/role/index.d.ts.map +1 -0
  191. package/dist/src/role/schema.d.ts +70 -0
  192. package/dist/src/role/schema.d.ts.map +1 -0
  193. package/dist/src/role/validation.d.ts +34 -0
  194. package/dist/src/role/validation.d.ts.map +1 -0
  195. package/dist/src/snippet/index.d.ts +1188 -0
  196. package/dist/src/snippet/index.d.ts.map +1 -0
  197. package/dist/src/snippet/schema.d.ts +332 -0
  198. package/dist/src/snippet/schema.d.ts.map +1 -0
  199. package/dist/src/snippet/validation.d.ts +80 -0
  200. package/dist/src/snippet/validation.d.ts.map +1 -0
  201. package/dist/src/tag/index.d.ts +310 -0
  202. package/dist/src/tag/index.d.ts.map +1 -0
  203. package/dist/src/tag/schema.d.ts +22 -0
  204. package/dist/src/tag/schema.d.ts.map +1 -0
  205. package/dist/src/tag/validation.d.ts +29 -0
  206. package/dist/src/tag/validation.d.ts.map +1 -0
  207. package/dist/src/tag-group/schema.d.ts +24 -0
  208. package/dist/src/tag-group/schema.d.ts.map +1 -0
  209. package/dist/src/telephony-agent-presence-status/index.d.ts +1423 -0
  210. package/dist/src/telephony-agent-presence-status/index.d.ts.map +1 -0
  211. package/dist/src/telephony-agent-presence-status/schema.d.ts +373 -0
  212. package/dist/src/telephony-agent-presence-status/schema.d.ts.map +1 -0
  213. package/dist/src/telephony-agent-presence-status/validation.d.ts +18 -0
  214. package/dist/src/telephony-agent-presence-status/validation.d.ts.map +1 -0
  215. package/dist/src/telephony-cdr/call-report.schema.d.ts +1753 -0
  216. package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -0
  217. package/dist/src/telephony-cdr/index.d.ts +9144 -0
  218. package/dist/src/telephony-cdr/index.d.ts.map +1 -0
  219. package/dist/src/telephony-cdr/schema.d.ts +3021 -0
  220. package/dist/src/telephony-cdr/schema.d.ts.map +1 -0
  221. package/dist/src/telephony-cdr/validation.d.ts +236 -0
  222. package/dist/src/telephony-cdr/validation.d.ts.map +1 -0
  223. package/dist/src/telephony-extension/index.d.ts +263 -0
  224. package/dist/src/telephony-extension/index.d.ts.map +1 -0
  225. package/dist/src/telephony-extension/schema.d.ts +208 -0
  226. package/dist/src/telephony-extension/schema.d.ts.map +1 -0
  227. package/dist/src/telephony-live-queue-call/schema.d.ts +27 -0
  228. package/dist/src/telephony-live-queue-call/schema.d.ts.map +1 -0
  229. package/dist/src/telephony-queue-call-count/schema.d.ts +51 -0
  230. package/dist/src/telephony-queue-call-count/schema.d.ts.map +1 -0
  231. package/dist/src/tenant/schema.d.ts +36 -0
  232. package/dist/src/tenant/schema.d.ts.map +1 -0
  233. package/dist/src/ticket/index.d.ts +18513 -0
  234. package/dist/src/ticket/index.d.ts.map +1 -0
  235. package/dist/src/ticket/schema.d.ts +2728 -0
  236. package/dist/src/ticket/schema.d.ts.map +1 -0
  237. package/dist/src/ticket/validation.d.ts +559 -0
  238. package/dist/src/ticket/validation.d.ts.map +1 -0
  239. package/dist/src/upload/index.d.ts +197 -0
  240. package/dist/src/upload/index.d.ts.map +1 -0
  241. package/dist/src/upload/schema.d.ts +50 -0
  242. package/dist/src/upload/schema.d.ts.map +1 -0
  243. package/dist/src/upload/validation.d.ts +2 -0
  244. package/dist/src/upload/validation.d.ts.map +1 -0
  245. package/dist/src/user/index.d.ts +1767 -0
  246. package/dist/src/user/index.d.ts.map +1 -0
  247. package/dist/src/user/schema.d.ts +206 -0
  248. package/dist/src/user/schema.d.ts.map +1 -0
  249. package/dist/src/user/validation.d.ts +62 -0
  250. package/dist/src/user/validation.d.ts.map +1 -0
  251. package/dist/src/user-presence-status-log/index.d.ts +412 -0
  252. package/dist/src/user-presence-status-log/index.d.ts.map +1 -0
  253. package/dist/src/user-presence-status-log/schema.d.ts +389 -0
  254. package/dist/src/user-presence-status-log/schema.d.ts.map +1 -0
  255. package/dist/src/user-presence-status-log/validation.d.ts +22 -0
  256. package/dist/src/user-presence-status-log/validation.d.ts.map +1 -0
  257. package/dist/src/viber/index.d.ts +9832 -0
  258. package/dist/src/viber/index.d.ts.map +1 -0
  259. package/dist/src/viber/schema.d.ts +2 -0
  260. package/dist/src/viber/schema.d.ts.map +1 -0
  261. package/dist/src/viber/validation.d.ts +45 -0
  262. package/dist/src/viber/validation.d.ts.map +1 -0
  263. package/dist/src/webchat/index.d.ts +8644 -0
  264. package/dist/src/webchat/index.d.ts.map +1 -0
  265. package/dist/src/webchat/schema.d.ts +95 -0
  266. package/dist/src/webchat/schema.d.ts.map +1 -0
  267. package/dist/src/webchat/validation.d.ts +36 -0
  268. package/dist/src/webchat/validation.d.ts.map +1 -0
  269. package/dist/src/widget/index.d.ts +925 -0
  270. package/dist/src/widget/index.d.ts.map +1 -0
  271. package/dist/src/widget/schema.d.ts +44 -0
  272. package/dist/src/widget/schema.d.ts.map +1 -0
  273. package/dist/src/widget/validation.d.ts +70 -0
  274. package/dist/src/widget/validation.d.ts.map +1 -0
  275. package/dist/src/workflow-rule/index.d.ts +7305 -0
  276. package/dist/src/workflow-rule/index.d.ts.map +1 -0
  277. package/dist/src/workflow-rule/schema.d.ts +27 -0
  278. package/dist/src/workflow-rule/schema.d.ts.map +1 -0
  279. package/dist/src/wrap-up-form/index.d.ts +2088 -0
  280. package/dist/src/wrap-up-form/index.d.ts.map +1 -0
  281. package/dist/src/wrap-up-form/schema.d.ts +268 -0
  282. package/dist/src/wrap-up-form/schema.d.ts.map +1 -0
  283. package/dist/src/wrap-up-form/validation.d.ts +88 -0
  284. package/dist/src/wrap-up-form/validation.d.ts.map +1 -0
  285. package/dist/utils.d.ts +37 -0
  286. package/dist/utils.d.ts.map +1 -0
  287. package/package.json +50 -0
@@ -0,0 +1,2088 @@
1
+ import z from 'zod';
2
+ import { CreateCXLogWrapUpFormSchema, CreateWrapUpFormSchema, UpdateWrapUpFormSchema } from './validation';
3
+ export type CreateWrapUpFormRequest = z.infer<typeof CreateWrapUpFormSchema>;
4
+ export type CreateCXLogWrapUpFormRequest = z.infer<typeof CreateCXLogWrapUpFormSchema>;
5
+ export type UpdateWrapUpFormRequest = z.infer<typeof UpdateWrapUpFormSchema>;
6
+ export declare const wrapUpFormContract: {
7
+ getWrapUpFormTimer: {
8
+ method: "GET";
9
+ responses: {
10
+ 200: z.ZodObject<{
11
+ requestId: z.ZodString;
12
+ wrapUpFormTimer: z.ZodNumber;
13
+ }, "strip", z.ZodTypeAny, {
14
+ requestId: string;
15
+ wrapUpFormTimer: number;
16
+ }, {
17
+ requestId: string;
18
+ wrapUpFormTimer: number;
19
+ }>;
20
+ 400: z.ZodObject<{
21
+ message: z.ZodString;
22
+ }, "strip", z.ZodTypeAny, {
23
+ message: string;
24
+ }, {
25
+ message: string;
26
+ }>;
27
+ 401: z.ZodObject<{
28
+ message: z.ZodString;
29
+ error: z.ZodAny;
30
+ }, "strip", z.ZodTypeAny, {
31
+ message: string;
32
+ error?: any;
33
+ }, {
34
+ message: string;
35
+ error?: any;
36
+ }>;
37
+ 500: z.ZodObject<{
38
+ message: z.ZodString;
39
+ error: z.ZodAny;
40
+ }, "strip", z.ZodTypeAny, {
41
+ message: string;
42
+ error?: any;
43
+ }, {
44
+ message: string;
45
+ error?: any;
46
+ }>;
47
+ };
48
+ path: "wrap-up-form/timer";
49
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
50
+ 'x-tenant': z.ZodString;
51
+ authorization: z.ZodString;
52
+ 'x-code': z.ZodOptional<z.ZodString>;
53
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
54
+ }, "strip", z.ZodTypeAny, {
55
+ 'x-tenant': string;
56
+ authorization: string;
57
+ 'x-client-timezone': string;
58
+ 'x-code'?: string | undefined;
59
+ }, {
60
+ 'x-tenant': string;
61
+ authorization: string;
62
+ 'x-code'?: string | undefined;
63
+ 'x-client-timezone'?: string | undefined;
64
+ }>>>;
65
+ };
66
+ updateWrapUpFormTimer: {
67
+ body: z.ZodObject<{
68
+ newWrapUpFormTimer: z.ZodNumber;
69
+ }, "strip", z.ZodTypeAny, {
70
+ newWrapUpFormTimer: number;
71
+ }, {
72
+ newWrapUpFormTimer: number;
73
+ }>;
74
+ method: "PATCH";
75
+ responses: {
76
+ 200: z.ZodObject<{
77
+ requestId: z.ZodString;
78
+ wrapUpFormTimer: z.ZodNumber;
79
+ }, "strip", z.ZodTypeAny, {
80
+ requestId: string;
81
+ wrapUpFormTimer: number;
82
+ }, {
83
+ requestId: string;
84
+ wrapUpFormTimer: number;
85
+ }>;
86
+ 400: z.ZodObject<{
87
+ message: z.ZodString;
88
+ }, "strip", z.ZodTypeAny, {
89
+ message: string;
90
+ }, {
91
+ message: string;
92
+ }>;
93
+ 401: z.ZodObject<{
94
+ message: z.ZodString;
95
+ error: z.ZodAny;
96
+ }, "strip", z.ZodTypeAny, {
97
+ message: string;
98
+ error?: any;
99
+ }, {
100
+ message: string;
101
+ error?: any;
102
+ }>;
103
+ 500: z.ZodObject<{
104
+ message: z.ZodString;
105
+ error: z.ZodAny;
106
+ }, "strip", z.ZodTypeAny, {
107
+ message: string;
108
+ error?: any;
109
+ }, {
110
+ message: string;
111
+ error?: any;
112
+ }>;
113
+ };
114
+ path: "wrap-up-form/timer";
115
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
116
+ 'x-tenant': z.ZodString;
117
+ authorization: z.ZodString;
118
+ 'x-code': z.ZodOptional<z.ZodString>;
119
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ 'x-tenant': string;
122
+ authorization: string;
123
+ 'x-client-timezone': string;
124
+ 'x-code'?: string | undefined;
125
+ }, {
126
+ 'x-tenant': string;
127
+ authorization: string;
128
+ 'x-code'?: string | undefined;
129
+ 'x-client-timezone'?: string | undefined;
130
+ }>>>;
131
+ };
132
+ createWrapUpForm: {
133
+ body: z.ZodObject<{
134
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
135
+ disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
+ callFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
137
+ callTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
138
+ }, "strip", z.ZodTypeAny, {
139
+ note?: string | null | undefined;
140
+ disposition?: string | null | undefined;
141
+ callFrom?: string | null | undefined;
142
+ callTo?: string | null | undefined;
143
+ }, {
144
+ note?: string | null | undefined;
145
+ disposition?: string | null | undefined;
146
+ callFrom?: string | null | undefined;
147
+ callTo?: string | null | undefined;
148
+ }>;
149
+ summary: "Create a wrap up form.";
150
+ method: "POST";
151
+ responses: {
152
+ 201: z.ZodObject<{
153
+ requestId: z.ZodString;
154
+ wrapUpForm: z.ZodObject<{
155
+ id: z.ZodString;
156
+ createdAt: z.ZodDate;
157
+ updatedAt: z.ZodDate;
158
+ deletedAt: z.ZodNullable<z.ZodDate>;
159
+ note: z.ZodNullable<z.ZodString>;
160
+ disposition: z.ZodNullable<z.ZodString>;
161
+ type: z.ZodString;
162
+ tags: z.ZodArray<z.ZodObject<{
163
+ id: z.ZodString;
164
+ createdAt: z.ZodDate;
165
+ updatedAt: z.ZodDate;
166
+ deletedAt: z.ZodNullable<z.ZodDate>;
167
+ name: z.ZodString;
168
+ }, "strip", z.ZodTypeAny, {
169
+ id: string;
170
+ name: string;
171
+ createdAt: Date;
172
+ updatedAt: Date;
173
+ deletedAt: Date | null;
174
+ }, {
175
+ id: string;
176
+ name: string;
177
+ createdAt: Date;
178
+ updatedAt: Date;
179
+ deletedAt: Date | null;
180
+ }>, "many">;
181
+ categories: z.ZodArray<z.ZodObject<{
182
+ id: z.ZodString;
183
+ createdAt: z.ZodDate;
184
+ updatedAt: z.ZodDate;
185
+ deletedAt: z.ZodNullable<z.ZodDate>;
186
+ value: z.ZodString;
187
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
188
+ parentId: z.ZodNullable<z.ZodString>;
189
+ childCategoryList: z.ZodArray<z.ZodObject<{
190
+ id: z.ZodString;
191
+ value: z.ZodString;
192
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
193
+ parentId: z.ZodNullable<z.ZodString>;
194
+ childCategoryList: z.ZodArray<z.ZodObject<{
195
+ id: z.ZodString;
196
+ value: z.ZodString;
197
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
198
+ parentId: z.ZodNullable<z.ZodString>;
199
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
200
+ }, "strip", z.ZodTypeAny, {
201
+ id: string;
202
+ value: string;
203
+ level: 2 | 1 | 3;
204
+ parentId: string | null;
205
+ childCategoryList: any[];
206
+ }, {
207
+ id: string;
208
+ value: string;
209
+ level: 2 | 1 | 3;
210
+ parentId: string | null;
211
+ childCategoryList: any[];
212
+ }>, "many">;
213
+ }, "strip", z.ZodTypeAny, {
214
+ id: string;
215
+ value: string;
216
+ level: 2 | 1 | 3;
217
+ parentId: string | null;
218
+ childCategoryList: {
219
+ id: string;
220
+ value: string;
221
+ level: 2 | 1 | 3;
222
+ parentId: string | null;
223
+ childCategoryList: any[];
224
+ }[];
225
+ }, {
226
+ id: string;
227
+ value: string;
228
+ level: 2 | 1 | 3;
229
+ parentId: string | null;
230
+ childCategoryList: {
231
+ id: string;
232
+ value: string;
233
+ level: 2 | 1 | 3;
234
+ parentId: string | null;
235
+ childCategoryList: any[];
236
+ }[];
237
+ }>, "many">;
238
+ }, "strip", z.ZodTypeAny, {
239
+ id: string;
240
+ value: string;
241
+ createdAt: Date;
242
+ updatedAt: Date;
243
+ deletedAt: Date | null;
244
+ level: 2 | 1 | 3;
245
+ parentId: string | null;
246
+ childCategoryList: {
247
+ id: string;
248
+ value: string;
249
+ level: 2 | 1 | 3;
250
+ parentId: string | null;
251
+ childCategoryList: {
252
+ id: string;
253
+ value: string;
254
+ level: 2 | 1 | 3;
255
+ parentId: string | null;
256
+ childCategoryList: any[];
257
+ }[];
258
+ }[];
259
+ }, {
260
+ id: string;
261
+ value: string;
262
+ createdAt: Date;
263
+ updatedAt: Date;
264
+ deletedAt: Date | null;
265
+ level: 2 | 1 | 3;
266
+ parentId: string | null;
267
+ childCategoryList: {
268
+ id: string;
269
+ value: string;
270
+ level: 2 | 1 | 3;
271
+ parentId: string | null;
272
+ childCategoryList: {
273
+ id: string;
274
+ value: string;
275
+ level: 2 | 1 | 3;
276
+ parentId: string | null;
277
+ childCategoryList: any[];
278
+ }[];
279
+ }[];
280
+ }>, "many">;
281
+ callFrom: z.ZodNullable<z.ZodString>;
282
+ callTo: z.ZodNullable<z.ZodString>;
283
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
284
+ id: z.ZodString;
285
+ createdAt: z.ZodDate;
286
+ updatedAt: z.ZodDate;
287
+ deletedAt: z.ZodNullable<z.ZodDate>;
288
+ textValue: z.ZodNullable<z.ZodString>;
289
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
290
+ numberValue: z.ZodNullable<z.ZodNumber>;
291
+ dateValue: z.ZodNullable<z.ZodDate>;
292
+ entityId: z.ZodString;
293
+ attributeId: z.ZodString;
294
+ }, "strip", z.ZodTypeAny, {
295
+ id: string;
296
+ createdAt: Date;
297
+ updatedAt: Date;
298
+ deletedAt: Date | null;
299
+ entityId: string;
300
+ attributeId: string;
301
+ textValue: string | null;
302
+ booleanValue: boolean | null;
303
+ numberValue: number | null;
304
+ dateValue: Date | null;
305
+ }, {
306
+ id: string;
307
+ createdAt: Date;
308
+ updatedAt: Date;
309
+ deletedAt: Date | null;
310
+ entityId: string;
311
+ attributeId: string;
312
+ textValue: string | null;
313
+ booleanValue: boolean | null;
314
+ numberValue: number | null;
315
+ dateValue: Date | null;
316
+ }>, "many">>>;
317
+ }, "strip", z.ZodTypeAny, {
318
+ type: string;
319
+ id: string;
320
+ disposition: string | null;
321
+ createdAt: Date;
322
+ updatedAt: Date;
323
+ deletedAt: Date | null;
324
+ categories: {
325
+ id: string;
326
+ value: string;
327
+ createdAt: Date;
328
+ updatedAt: Date;
329
+ deletedAt: Date | null;
330
+ level: 2 | 1 | 3;
331
+ parentId: string | null;
332
+ childCategoryList: {
333
+ id: string;
334
+ value: string;
335
+ level: 2 | 1 | 3;
336
+ parentId: string | null;
337
+ childCategoryList: {
338
+ id: string;
339
+ value: string;
340
+ level: 2 | 1 | 3;
341
+ parentId: string | null;
342
+ childCategoryList: any[];
343
+ }[];
344
+ }[];
345
+ }[];
346
+ tags: {
347
+ id: string;
348
+ name: string;
349
+ createdAt: Date;
350
+ updatedAt: Date;
351
+ deletedAt: Date | null;
352
+ }[];
353
+ callFrom: string | null;
354
+ callTo: string | null;
355
+ note: string | null;
356
+ customFields?: {
357
+ id: string;
358
+ createdAt: Date;
359
+ updatedAt: Date;
360
+ deletedAt: Date | null;
361
+ entityId: string;
362
+ attributeId: string;
363
+ textValue: string | null;
364
+ booleanValue: boolean | null;
365
+ numberValue: number | null;
366
+ dateValue: Date | null;
367
+ }[] | null | undefined;
368
+ }, {
369
+ type: string;
370
+ id: string;
371
+ disposition: string | null;
372
+ createdAt: Date;
373
+ updatedAt: Date;
374
+ deletedAt: Date | null;
375
+ categories: {
376
+ id: string;
377
+ value: string;
378
+ createdAt: Date;
379
+ updatedAt: Date;
380
+ deletedAt: Date | null;
381
+ level: 2 | 1 | 3;
382
+ parentId: string | null;
383
+ childCategoryList: {
384
+ id: string;
385
+ value: string;
386
+ level: 2 | 1 | 3;
387
+ parentId: string | null;
388
+ childCategoryList: {
389
+ id: string;
390
+ value: string;
391
+ level: 2 | 1 | 3;
392
+ parentId: string | null;
393
+ childCategoryList: any[];
394
+ }[];
395
+ }[];
396
+ }[];
397
+ tags: {
398
+ id: string;
399
+ name: string;
400
+ createdAt: Date;
401
+ updatedAt: Date;
402
+ deletedAt: Date | null;
403
+ }[];
404
+ callFrom: string | null;
405
+ callTo: string | null;
406
+ note: string | null;
407
+ customFields?: {
408
+ id: string;
409
+ createdAt: Date;
410
+ updatedAt: Date;
411
+ deletedAt: Date | null;
412
+ entityId: string;
413
+ attributeId: string;
414
+ textValue: string | null;
415
+ booleanValue: boolean | null;
416
+ numberValue: number | null;
417
+ dateValue: Date | null;
418
+ }[] | null | undefined;
419
+ }>;
420
+ }, "strip", z.ZodTypeAny, {
421
+ requestId: string;
422
+ wrapUpForm: {
423
+ type: string;
424
+ id: string;
425
+ disposition: string | null;
426
+ createdAt: Date;
427
+ updatedAt: Date;
428
+ deletedAt: Date | null;
429
+ categories: {
430
+ id: string;
431
+ value: string;
432
+ createdAt: Date;
433
+ updatedAt: Date;
434
+ deletedAt: Date | null;
435
+ level: 2 | 1 | 3;
436
+ parentId: string | null;
437
+ childCategoryList: {
438
+ id: string;
439
+ value: string;
440
+ level: 2 | 1 | 3;
441
+ parentId: string | null;
442
+ childCategoryList: {
443
+ id: string;
444
+ value: string;
445
+ level: 2 | 1 | 3;
446
+ parentId: string | null;
447
+ childCategoryList: any[];
448
+ }[];
449
+ }[];
450
+ }[];
451
+ tags: {
452
+ id: string;
453
+ name: string;
454
+ createdAt: Date;
455
+ updatedAt: Date;
456
+ deletedAt: Date | null;
457
+ }[];
458
+ callFrom: string | null;
459
+ callTo: string | null;
460
+ note: string | null;
461
+ customFields?: {
462
+ id: string;
463
+ createdAt: Date;
464
+ updatedAt: Date;
465
+ deletedAt: Date | null;
466
+ entityId: string;
467
+ attributeId: string;
468
+ textValue: string | null;
469
+ booleanValue: boolean | null;
470
+ numberValue: number | null;
471
+ dateValue: Date | null;
472
+ }[] | null | undefined;
473
+ };
474
+ }, {
475
+ requestId: string;
476
+ wrapUpForm: {
477
+ type: string;
478
+ id: string;
479
+ disposition: string | null;
480
+ createdAt: Date;
481
+ updatedAt: Date;
482
+ deletedAt: Date | null;
483
+ categories: {
484
+ id: string;
485
+ value: string;
486
+ createdAt: Date;
487
+ updatedAt: Date;
488
+ deletedAt: Date | null;
489
+ level: 2 | 1 | 3;
490
+ parentId: string | null;
491
+ childCategoryList: {
492
+ id: string;
493
+ value: string;
494
+ level: 2 | 1 | 3;
495
+ parentId: string | null;
496
+ childCategoryList: {
497
+ id: string;
498
+ value: string;
499
+ level: 2 | 1 | 3;
500
+ parentId: string | null;
501
+ childCategoryList: any[];
502
+ }[];
503
+ }[];
504
+ }[];
505
+ tags: {
506
+ id: string;
507
+ name: string;
508
+ createdAt: Date;
509
+ updatedAt: Date;
510
+ deletedAt: Date | null;
511
+ }[];
512
+ callFrom: string | null;
513
+ callTo: string | null;
514
+ note: string | null;
515
+ customFields?: {
516
+ id: string;
517
+ createdAt: Date;
518
+ updatedAt: Date;
519
+ deletedAt: Date | null;
520
+ entityId: string;
521
+ attributeId: string;
522
+ textValue: string | null;
523
+ booleanValue: boolean | null;
524
+ numberValue: number | null;
525
+ dateValue: Date | null;
526
+ }[] | null | undefined;
527
+ };
528
+ }>;
529
+ 400: z.ZodObject<{
530
+ message: z.ZodString;
531
+ }, "strip", z.ZodTypeAny, {
532
+ message: string;
533
+ }, {
534
+ message: string;
535
+ }>;
536
+ 401: z.ZodObject<{
537
+ message: z.ZodString;
538
+ error: z.ZodAny;
539
+ }, "strip", z.ZodTypeAny, {
540
+ message: string;
541
+ error?: any;
542
+ }, {
543
+ message: string;
544
+ error?: any;
545
+ }>;
546
+ 500: z.ZodObject<{
547
+ message: z.ZodString;
548
+ error: z.ZodAny;
549
+ }, "strip", z.ZodTypeAny, {
550
+ message: string;
551
+ error?: any;
552
+ }, {
553
+ message: string;
554
+ error?: any;
555
+ }>;
556
+ };
557
+ path: "wrap-up-form";
558
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
559
+ 'x-tenant': z.ZodString;
560
+ authorization: z.ZodString;
561
+ 'x-code': z.ZodOptional<z.ZodString>;
562
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
563
+ }, "strip", z.ZodTypeAny, {
564
+ 'x-tenant': string;
565
+ authorization: string;
566
+ 'x-client-timezone': string;
567
+ 'x-code'?: string | undefined;
568
+ }, {
569
+ 'x-tenant': string;
570
+ authorization: string;
571
+ 'x-code'?: string | undefined;
572
+ 'x-client-timezone'?: string | undefined;
573
+ }>>>;
574
+ };
575
+ createCXLogWrapUpForm: {
576
+ body: z.ZodObject<{
577
+ cxLogId: z.ZodString;
578
+ disposition: z.ZodOptional<z.ZodString>;
579
+ tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
580
+ note: z.ZodOptional<z.ZodString>;
581
+ }, "strip", z.ZodTypeAny, {
582
+ cxLogId: string;
583
+ disposition?: string | undefined;
584
+ tagIds?: string[] | undefined;
585
+ note?: string | undefined;
586
+ }, {
587
+ cxLogId: string;
588
+ disposition?: string | undefined;
589
+ tagIds?: string[] | undefined;
590
+ note?: string | undefined;
591
+ }>;
592
+ method: "POST";
593
+ responses: {
594
+ 201: z.ZodObject<{
595
+ requestId: z.ZodString;
596
+ wrapUpForm: z.ZodObject<{
597
+ id: z.ZodString;
598
+ createdAt: z.ZodDate;
599
+ updatedAt: z.ZodDate;
600
+ deletedAt: z.ZodNullable<z.ZodDate>;
601
+ note: z.ZodNullable<z.ZodString>;
602
+ disposition: z.ZodNullable<z.ZodString>;
603
+ type: z.ZodString;
604
+ tags: z.ZodArray<z.ZodObject<{
605
+ id: z.ZodString;
606
+ createdAt: z.ZodDate;
607
+ updatedAt: z.ZodDate;
608
+ deletedAt: z.ZodNullable<z.ZodDate>;
609
+ name: z.ZodString;
610
+ }, "strip", z.ZodTypeAny, {
611
+ id: string;
612
+ name: string;
613
+ createdAt: Date;
614
+ updatedAt: Date;
615
+ deletedAt: Date | null;
616
+ }, {
617
+ id: string;
618
+ name: string;
619
+ createdAt: Date;
620
+ updatedAt: Date;
621
+ deletedAt: Date | null;
622
+ }>, "many">;
623
+ categories: z.ZodArray<z.ZodObject<{
624
+ id: z.ZodString;
625
+ createdAt: z.ZodDate;
626
+ updatedAt: z.ZodDate;
627
+ deletedAt: z.ZodNullable<z.ZodDate>;
628
+ value: z.ZodString;
629
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
630
+ parentId: z.ZodNullable<z.ZodString>;
631
+ childCategoryList: z.ZodArray<z.ZodObject<{
632
+ id: z.ZodString;
633
+ value: z.ZodString;
634
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
635
+ parentId: z.ZodNullable<z.ZodString>;
636
+ childCategoryList: z.ZodArray<z.ZodObject<{
637
+ id: z.ZodString;
638
+ value: z.ZodString;
639
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
640
+ parentId: z.ZodNullable<z.ZodString>;
641
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
642
+ }, "strip", z.ZodTypeAny, {
643
+ id: string;
644
+ value: string;
645
+ level: 2 | 1 | 3;
646
+ parentId: string | null;
647
+ childCategoryList: any[];
648
+ }, {
649
+ id: string;
650
+ value: string;
651
+ level: 2 | 1 | 3;
652
+ parentId: string | null;
653
+ childCategoryList: any[];
654
+ }>, "many">;
655
+ }, "strip", z.ZodTypeAny, {
656
+ id: string;
657
+ value: string;
658
+ level: 2 | 1 | 3;
659
+ parentId: string | null;
660
+ childCategoryList: {
661
+ id: string;
662
+ value: string;
663
+ level: 2 | 1 | 3;
664
+ parentId: string | null;
665
+ childCategoryList: any[];
666
+ }[];
667
+ }, {
668
+ id: string;
669
+ value: string;
670
+ level: 2 | 1 | 3;
671
+ parentId: string | null;
672
+ childCategoryList: {
673
+ id: string;
674
+ value: string;
675
+ level: 2 | 1 | 3;
676
+ parentId: string | null;
677
+ childCategoryList: any[];
678
+ }[];
679
+ }>, "many">;
680
+ }, "strip", z.ZodTypeAny, {
681
+ id: string;
682
+ value: string;
683
+ createdAt: Date;
684
+ updatedAt: Date;
685
+ deletedAt: Date | null;
686
+ level: 2 | 1 | 3;
687
+ parentId: string | null;
688
+ childCategoryList: {
689
+ id: string;
690
+ value: string;
691
+ level: 2 | 1 | 3;
692
+ parentId: string | null;
693
+ childCategoryList: {
694
+ id: string;
695
+ value: string;
696
+ level: 2 | 1 | 3;
697
+ parentId: string | null;
698
+ childCategoryList: any[];
699
+ }[];
700
+ }[];
701
+ }, {
702
+ id: string;
703
+ value: string;
704
+ createdAt: Date;
705
+ updatedAt: Date;
706
+ deletedAt: Date | null;
707
+ level: 2 | 1 | 3;
708
+ parentId: string | null;
709
+ childCategoryList: {
710
+ id: string;
711
+ value: string;
712
+ level: 2 | 1 | 3;
713
+ parentId: string | null;
714
+ childCategoryList: {
715
+ id: string;
716
+ value: string;
717
+ level: 2 | 1 | 3;
718
+ parentId: string | null;
719
+ childCategoryList: any[];
720
+ }[];
721
+ }[];
722
+ }>, "many">;
723
+ callFrom: z.ZodNullable<z.ZodString>;
724
+ callTo: z.ZodNullable<z.ZodString>;
725
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
726
+ id: z.ZodString;
727
+ createdAt: z.ZodDate;
728
+ updatedAt: z.ZodDate;
729
+ deletedAt: z.ZodNullable<z.ZodDate>;
730
+ textValue: z.ZodNullable<z.ZodString>;
731
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
732
+ numberValue: z.ZodNullable<z.ZodNumber>;
733
+ dateValue: z.ZodNullable<z.ZodDate>;
734
+ entityId: z.ZodString;
735
+ attributeId: z.ZodString;
736
+ }, "strip", z.ZodTypeAny, {
737
+ id: string;
738
+ createdAt: Date;
739
+ updatedAt: Date;
740
+ deletedAt: Date | null;
741
+ entityId: string;
742
+ attributeId: string;
743
+ textValue: string | null;
744
+ booleanValue: boolean | null;
745
+ numberValue: number | null;
746
+ dateValue: Date | null;
747
+ }, {
748
+ id: string;
749
+ createdAt: Date;
750
+ updatedAt: Date;
751
+ deletedAt: Date | null;
752
+ entityId: string;
753
+ attributeId: string;
754
+ textValue: string | null;
755
+ booleanValue: boolean | null;
756
+ numberValue: number | null;
757
+ dateValue: Date | null;
758
+ }>, "many">>>;
759
+ }, "strip", z.ZodTypeAny, {
760
+ type: string;
761
+ id: string;
762
+ disposition: string | null;
763
+ createdAt: Date;
764
+ updatedAt: Date;
765
+ deletedAt: Date | null;
766
+ categories: {
767
+ id: string;
768
+ value: string;
769
+ createdAt: Date;
770
+ updatedAt: Date;
771
+ deletedAt: Date | null;
772
+ level: 2 | 1 | 3;
773
+ parentId: string | null;
774
+ childCategoryList: {
775
+ id: string;
776
+ value: string;
777
+ level: 2 | 1 | 3;
778
+ parentId: string | null;
779
+ childCategoryList: {
780
+ id: string;
781
+ value: string;
782
+ level: 2 | 1 | 3;
783
+ parentId: string | null;
784
+ childCategoryList: any[];
785
+ }[];
786
+ }[];
787
+ }[];
788
+ tags: {
789
+ id: string;
790
+ name: string;
791
+ createdAt: Date;
792
+ updatedAt: Date;
793
+ deletedAt: Date | null;
794
+ }[];
795
+ callFrom: string | null;
796
+ callTo: string | null;
797
+ note: string | null;
798
+ customFields?: {
799
+ id: string;
800
+ createdAt: Date;
801
+ updatedAt: Date;
802
+ deletedAt: Date | null;
803
+ entityId: string;
804
+ attributeId: string;
805
+ textValue: string | null;
806
+ booleanValue: boolean | null;
807
+ numberValue: number | null;
808
+ dateValue: Date | null;
809
+ }[] | null | undefined;
810
+ }, {
811
+ type: string;
812
+ id: string;
813
+ disposition: string | null;
814
+ createdAt: Date;
815
+ updatedAt: Date;
816
+ deletedAt: Date | null;
817
+ categories: {
818
+ id: string;
819
+ value: string;
820
+ createdAt: Date;
821
+ updatedAt: Date;
822
+ deletedAt: Date | null;
823
+ level: 2 | 1 | 3;
824
+ parentId: string | null;
825
+ childCategoryList: {
826
+ id: string;
827
+ value: string;
828
+ level: 2 | 1 | 3;
829
+ parentId: string | null;
830
+ childCategoryList: {
831
+ id: string;
832
+ value: string;
833
+ level: 2 | 1 | 3;
834
+ parentId: string | null;
835
+ childCategoryList: any[];
836
+ }[];
837
+ }[];
838
+ }[];
839
+ tags: {
840
+ id: string;
841
+ name: string;
842
+ createdAt: Date;
843
+ updatedAt: Date;
844
+ deletedAt: Date | null;
845
+ }[];
846
+ callFrom: string | null;
847
+ callTo: string | null;
848
+ note: string | null;
849
+ customFields?: {
850
+ id: string;
851
+ createdAt: Date;
852
+ updatedAt: Date;
853
+ deletedAt: Date | null;
854
+ entityId: string;
855
+ attributeId: string;
856
+ textValue: string | null;
857
+ booleanValue: boolean | null;
858
+ numberValue: number | null;
859
+ dateValue: Date | null;
860
+ }[] | null | undefined;
861
+ }>;
862
+ }, "strip", z.ZodTypeAny, {
863
+ requestId: string;
864
+ wrapUpForm: {
865
+ type: string;
866
+ id: string;
867
+ disposition: string | null;
868
+ createdAt: Date;
869
+ updatedAt: Date;
870
+ deletedAt: Date | null;
871
+ categories: {
872
+ id: string;
873
+ value: string;
874
+ createdAt: Date;
875
+ updatedAt: Date;
876
+ deletedAt: Date | null;
877
+ level: 2 | 1 | 3;
878
+ parentId: string | null;
879
+ childCategoryList: {
880
+ id: string;
881
+ value: string;
882
+ level: 2 | 1 | 3;
883
+ parentId: string | null;
884
+ childCategoryList: {
885
+ id: string;
886
+ value: string;
887
+ level: 2 | 1 | 3;
888
+ parentId: string | null;
889
+ childCategoryList: any[];
890
+ }[];
891
+ }[];
892
+ }[];
893
+ tags: {
894
+ id: string;
895
+ name: string;
896
+ createdAt: Date;
897
+ updatedAt: Date;
898
+ deletedAt: Date | null;
899
+ }[];
900
+ callFrom: string | null;
901
+ callTo: string | null;
902
+ note: string | null;
903
+ customFields?: {
904
+ id: string;
905
+ createdAt: Date;
906
+ updatedAt: Date;
907
+ deletedAt: Date | null;
908
+ entityId: string;
909
+ attributeId: string;
910
+ textValue: string | null;
911
+ booleanValue: boolean | null;
912
+ numberValue: number | null;
913
+ dateValue: Date | null;
914
+ }[] | null | undefined;
915
+ };
916
+ }, {
917
+ requestId: string;
918
+ wrapUpForm: {
919
+ type: string;
920
+ id: string;
921
+ disposition: string | null;
922
+ createdAt: Date;
923
+ updatedAt: Date;
924
+ deletedAt: Date | null;
925
+ categories: {
926
+ id: string;
927
+ value: string;
928
+ createdAt: Date;
929
+ updatedAt: Date;
930
+ deletedAt: Date | null;
931
+ level: 2 | 1 | 3;
932
+ parentId: string | null;
933
+ childCategoryList: {
934
+ id: string;
935
+ value: string;
936
+ level: 2 | 1 | 3;
937
+ parentId: string | null;
938
+ childCategoryList: {
939
+ id: string;
940
+ value: string;
941
+ level: 2 | 1 | 3;
942
+ parentId: string | null;
943
+ childCategoryList: any[];
944
+ }[];
945
+ }[];
946
+ }[];
947
+ tags: {
948
+ id: string;
949
+ name: string;
950
+ createdAt: Date;
951
+ updatedAt: Date;
952
+ deletedAt: Date | null;
953
+ }[];
954
+ callFrom: string | null;
955
+ callTo: string | null;
956
+ note: string | null;
957
+ customFields?: {
958
+ id: string;
959
+ createdAt: Date;
960
+ updatedAt: Date;
961
+ deletedAt: Date | null;
962
+ entityId: string;
963
+ attributeId: string;
964
+ textValue: string | null;
965
+ booleanValue: boolean | null;
966
+ numberValue: number | null;
967
+ dateValue: Date | null;
968
+ }[] | null | undefined;
969
+ };
970
+ }>;
971
+ 401: z.ZodObject<{
972
+ message: z.ZodString;
973
+ error: z.ZodAny;
974
+ }, "strip", z.ZodTypeAny, {
975
+ message: string;
976
+ error?: any;
977
+ }, {
978
+ message: string;
979
+ error?: any;
980
+ }>;
981
+ 500: z.ZodObject<{
982
+ message: z.ZodString;
983
+ error: z.ZodAny;
984
+ }, "strip", z.ZodTypeAny, {
985
+ message: string;
986
+ error?: any;
987
+ }, {
988
+ message: string;
989
+ error?: any;
990
+ }>;
991
+ };
992
+ path: "wrap-up-form/cx-log";
993
+ };
994
+ getWrapUpForms: {
995
+ summary: "Get all wrap up form";
996
+ method: "GET";
997
+ query: z.ZodOptional<z.ZodObject<{
998
+ page: z.ZodDefault<z.ZodNumber>;
999
+ pageSize: z.ZodDefault<z.ZodNumber>;
1000
+ }, "strip", z.ZodTypeAny, {
1001
+ page: number;
1002
+ pageSize: number;
1003
+ }, {
1004
+ page?: number | undefined;
1005
+ pageSize?: number | undefined;
1006
+ }>>;
1007
+ responses: {
1008
+ 200: z.ZodObject<{
1009
+ total: z.ZodNumber;
1010
+ page: z.ZodDefault<z.ZodNumber>;
1011
+ pageSize: z.ZodDefault<z.ZodNumber>;
1012
+ lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1013
+ data: z.ZodArray<z.ZodType<{
1014
+ type: string;
1015
+ id: string;
1016
+ disposition: string | null;
1017
+ createdAt: Date;
1018
+ updatedAt: Date;
1019
+ deletedAt: Date | null;
1020
+ categories: {
1021
+ id: string;
1022
+ value: string;
1023
+ createdAt: Date;
1024
+ updatedAt: Date;
1025
+ deletedAt: Date | null;
1026
+ level: 2 | 1 | 3;
1027
+ parentId: string | null;
1028
+ childCategoryList: {
1029
+ id: string;
1030
+ value: string;
1031
+ level: 2 | 1 | 3;
1032
+ parentId: string | null;
1033
+ childCategoryList: {
1034
+ id: string;
1035
+ value: string;
1036
+ level: 2 | 1 | 3;
1037
+ parentId: string | null;
1038
+ childCategoryList: any[];
1039
+ }[];
1040
+ }[];
1041
+ }[];
1042
+ tags: {
1043
+ id: string;
1044
+ name: string;
1045
+ createdAt: Date;
1046
+ updatedAt: Date;
1047
+ deletedAt: Date | null;
1048
+ }[];
1049
+ callFrom: string | null;
1050
+ callTo: string | null;
1051
+ note: string | null;
1052
+ customFields?: {
1053
+ id: string;
1054
+ createdAt: Date;
1055
+ updatedAt: Date;
1056
+ deletedAt: Date | null;
1057
+ entityId: string;
1058
+ attributeId: string;
1059
+ textValue: string | null;
1060
+ booleanValue: boolean | null;
1061
+ numberValue: number | null;
1062
+ dateValue: Date | null;
1063
+ }[] | null | undefined;
1064
+ }, z.ZodTypeDef, {
1065
+ type: string;
1066
+ id: string;
1067
+ disposition: string | null;
1068
+ createdAt: Date;
1069
+ updatedAt: Date;
1070
+ deletedAt: Date | null;
1071
+ categories: {
1072
+ id: string;
1073
+ value: string;
1074
+ createdAt: Date;
1075
+ updatedAt: Date;
1076
+ deletedAt: Date | null;
1077
+ level: 2 | 1 | 3;
1078
+ parentId: string | null;
1079
+ childCategoryList: {
1080
+ id: string;
1081
+ value: string;
1082
+ level: 2 | 1 | 3;
1083
+ parentId: string | null;
1084
+ childCategoryList: {
1085
+ id: string;
1086
+ value: string;
1087
+ level: 2 | 1 | 3;
1088
+ parentId: string | null;
1089
+ childCategoryList: any[];
1090
+ }[];
1091
+ }[];
1092
+ }[];
1093
+ tags: {
1094
+ id: string;
1095
+ name: string;
1096
+ createdAt: Date;
1097
+ updatedAt: Date;
1098
+ deletedAt: Date | null;
1099
+ }[];
1100
+ callFrom: string | null;
1101
+ callTo: string | null;
1102
+ note: string | null;
1103
+ customFields?: {
1104
+ id: string;
1105
+ createdAt: Date;
1106
+ updatedAt: Date;
1107
+ deletedAt: Date | null;
1108
+ entityId: string;
1109
+ attributeId: string;
1110
+ textValue: string | null;
1111
+ booleanValue: boolean | null;
1112
+ numberValue: number | null;
1113
+ dateValue: Date | null;
1114
+ }[] | null | undefined;
1115
+ }>, "many">;
1116
+ }, "strip", z.ZodTypeAny, {
1117
+ data: {
1118
+ type: string;
1119
+ id: string;
1120
+ disposition: string | null;
1121
+ createdAt: Date;
1122
+ updatedAt: Date;
1123
+ deletedAt: Date | null;
1124
+ categories: {
1125
+ id: string;
1126
+ value: string;
1127
+ createdAt: Date;
1128
+ updatedAt: Date;
1129
+ deletedAt: Date | null;
1130
+ level: 2 | 1 | 3;
1131
+ parentId: string | null;
1132
+ childCategoryList: {
1133
+ id: string;
1134
+ value: string;
1135
+ level: 2 | 1 | 3;
1136
+ parentId: string | null;
1137
+ childCategoryList: {
1138
+ id: string;
1139
+ value: string;
1140
+ level: 2 | 1 | 3;
1141
+ parentId: string | null;
1142
+ childCategoryList: any[];
1143
+ }[];
1144
+ }[];
1145
+ }[];
1146
+ tags: {
1147
+ id: string;
1148
+ name: string;
1149
+ createdAt: Date;
1150
+ updatedAt: Date;
1151
+ deletedAt: Date | null;
1152
+ }[];
1153
+ callFrom: string | null;
1154
+ callTo: string | null;
1155
+ note: string | null;
1156
+ customFields?: {
1157
+ id: string;
1158
+ createdAt: Date;
1159
+ updatedAt: Date;
1160
+ deletedAt: Date | null;
1161
+ entityId: string;
1162
+ attributeId: string;
1163
+ textValue: string | null;
1164
+ booleanValue: boolean | null;
1165
+ numberValue: number | null;
1166
+ dateValue: Date | null;
1167
+ }[] | null | undefined;
1168
+ }[];
1169
+ total: number;
1170
+ page: number;
1171
+ pageSize: number;
1172
+ lastPage?: number | null | undefined;
1173
+ }, {
1174
+ data: {
1175
+ type: string;
1176
+ id: string;
1177
+ disposition: string | null;
1178
+ createdAt: Date;
1179
+ updatedAt: Date;
1180
+ deletedAt: Date | null;
1181
+ categories: {
1182
+ id: string;
1183
+ value: string;
1184
+ createdAt: Date;
1185
+ updatedAt: Date;
1186
+ deletedAt: Date | null;
1187
+ level: 2 | 1 | 3;
1188
+ parentId: string | null;
1189
+ childCategoryList: {
1190
+ id: string;
1191
+ value: string;
1192
+ level: 2 | 1 | 3;
1193
+ parentId: string | null;
1194
+ childCategoryList: {
1195
+ id: string;
1196
+ value: string;
1197
+ level: 2 | 1 | 3;
1198
+ parentId: string | null;
1199
+ childCategoryList: any[];
1200
+ }[];
1201
+ }[];
1202
+ }[];
1203
+ tags: {
1204
+ id: string;
1205
+ name: string;
1206
+ createdAt: Date;
1207
+ updatedAt: Date;
1208
+ deletedAt: Date | null;
1209
+ }[];
1210
+ callFrom: string | null;
1211
+ callTo: string | null;
1212
+ note: string | null;
1213
+ customFields?: {
1214
+ id: string;
1215
+ createdAt: Date;
1216
+ updatedAt: Date;
1217
+ deletedAt: Date | null;
1218
+ entityId: string;
1219
+ attributeId: string;
1220
+ textValue: string | null;
1221
+ booleanValue: boolean | null;
1222
+ numberValue: number | null;
1223
+ dateValue: Date | null;
1224
+ }[] | null | undefined;
1225
+ }[];
1226
+ total: number;
1227
+ page?: number | undefined;
1228
+ pageSize?: number | undefined;
1229
+ lastPage?: number | null | undefined;
1230
+ }>;
1231
+ 400: z.ZodObject<{
1232
+ message: z.ZodString;
1233
+ }, "strip", z.ZodTypeAny, {
1234
+ message: string;
1235
+ }, {
1236
+ message: string;
1237
+ }>;
1238
+ 401: z.ZodObject<{
1239
+ message: z.ZodString;
1240
+ error: z.ZodAny;
1241
+ }, "strip", z.ZodTypeAny, {
1242
+ message: string;
1243
+ error?: any;
1244
+ }, {
1245
+ message: string;
1246
+ error?: any;
1247
+ }>;
1248
+ 500: z.ZodObject<{
1249
+ message: z.ZodString;
1250
+ error: z.ZodAny;
1251
+ }, "strip", z.ZodTypeAny, {
1252
+ message: string;
1253
+ error?: any;
1254
+ }, {
1255
+ message: string;
1256
+ error?: any;
1257
+ }>;
1258
+ };
1259
+ path: "wrap-up-form";
1260
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1261
+ 'x-tenant': z.ZodString;
1262
+ authorization: z.ZodString;
1263
+ 'x-code': z.ZodOptional<z.ZodString>;
1264
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
1265
+ }, "strip", z.ZodTypeAny, {
1266
+ 'x-tenant': string;
1267
+ authorization: string;
1268
+ 'x-client-timezone': string;
1269
+ 'x-code'?: string | undefined;
1270
+ }, {
1271
+ 'x-tenant': string;
1272
+ authorization: string;
1273
+ 'x-code'?: string | undefined;
1274
+ 'x-client-timezone'?: string | undefined;
1275
+ }>>>;
1276
+ };
1277
+ getWrapUpForm: {
1278
+ method: "GET";
1279
+ pathParams: z.ZodObject<{
1280
+ id: z.ZodString;
1281
+ }, "strip", z.ZodTypeAny, {
1282
+ id: string;
1283
+ }, {
1284
+ id: string;
1285
+ }>;
1286
+ responses: {
1287
+ 200: z.ZodObject<{
1288
+ id: z.ZodString;
1289
+ createdAt: z.ZodDate;
1290
+ updatedAt: z.ZodDate;
1291
+ deletedAt: z.ZodNullable<z.ZodDate>;
1292
+ note: z.ZodNullable<z.ZodString>;
1293
+ disposition: z.ZodNullable<z.ZodString>;
1294
+ type: z.ZodString;
1295
+ tags: z.ZodArray<z.ZodObject<{
1296
+ id: z.ZodString;
1297
+ createdAt: z.ZodDate;
1298
+ updatedAt: z.ZodDate;
1299
+ deletedAt: z.ZodNullable<z.ZodDate>;
1300
+ name: z.ZodString;
1301
+ }, "strip", z.ZodTypeAny, {
1302
+ id: string;
1303
+ name: string;
1304
+ createdAt: Date;
1305
+ updatedAt: Date;
1306
+ deletedAt: Date | null;
1307
+ }, {
1308
+ id: string;
1309
+ name: string;
1310
+ createdAt: Date;
1311
+ updatedAt: Date;
1312
+ deletedAt: Date | null;
1313
+ }>, "many">;
1314
+ categories: z.ZodArray<z.ZodObject<{
1315
+ id: z.ZodString;
1316
+ createdAt: z.ZodDate;
1317
+ updatedAt: z.ZodDate;
1318
+ deletedAt: z.ZodNullable<z.ZodDate>;
1319
+ value: z.ZodString;
1320
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1321
+ parentId: z.ZodNullable<z.ZodString>;
1322
+ childCategoryList: z.ZodArray<z.ZodObject<{
1323
+ id: z.ZodString;
1324
+ value: z.ZodString;
1325
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1326
+ parentId: z.ZodNullable<z.ZodString>;
1327
+ childCategoryList: z.ZodArray<z.ZodObject<{
1328
+ id: z.ZodString;
1329
+ value: z.ZodString;
1330
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1331
+ parentId: z.ZodNullable<z.ZodString>;
1332
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
1333
+ }, "strip", z.ZodTypeAny, {
1334
+ id: string;
1335
+ value: string;
1336
+ level: 2 | 1 | 3;
1337
+ parentId: string | null;
1338
+ childCategoryList: any[];
1339
+ }, {
1340
+ id: string;
1341
+ value: string;
1342
+ level: 2 | 1 | 3;
1343
+ parentId: string | null;
1344
+ childCategoryList: any[];
1345
+ }>, "many">;
1346
+ }, "strip", z.ZodTypeAny, {
1347
+ id: string;
1348
+ value: string;
1349
+ level: 2 | 1 | 3;
1350
+ parentId: string | null;
1351
+ childCategoryList: {
1352
+ id: string;
1353
+ value: string;
1354
+ level: 2 | 1 | 3;
1355
+ parentId: string | null;
1356
+ childCategoryList: any[];
1357
+ }[];
1358
+ }, {
1359
+ id: string;
1360
+ value: string;
1361
+ level: 2 | 1 | 3;
1362
+ parentId: string | null;
1363
+ childCategoryList: {
1364
+ id: string;
1365
+ value: string;
1366
+ level: 2 | 1 | 3;
1367
+ parentId: string | null;
1368
+ childCategoryList: any[];
1369
+ }[];
1370
+ }>, "many">;
1371
+ }, "strip", z.ZodTypeAny, {
1372
+ id: string;
1373
+ value: string;
1374
+ createdAt: Date;
1375
+ updatedAt: Date;
1376
+ deletedAt: Date | null;
1377
+ level: 2 | 1 | 3;
1378
+ parentId: string | null;
1379
+ childCategoryList: {
1380
+ id: string;
1381
+ value: string;
1382
+ level: 2 | 1 | 3;
1383
+ parentId: string | null;
1384
+ childCategoryList: {
1385
+ id: string;
1386
+ value: string;
1387
+ level: 2 | 1 | 3;
1388
+ parentId: string | null;
1389
+ childCategoryList: any[];
1390
+ }[];
1391
+ }[];
1392
+ }, {
1393
+ id: string;
1394
+ value: string;
1395
+ createdAt: Date;
1396
+ updatedAt: Date;
1397
+ deletedAt: Date | null;
1398
+ level: 2 | 1 | 3;
1399
+ parentId: string | null;
1400
+ childCategoryList: {
1401
+ id: string;
1402
+ value: string;
1403
+ level: 2 | 1 | 3;
1404
+ parentId: string | null;
1405
+ childCategoryList: {
1406
+ id: string;
1407
+ value: string;
1408
+ level: 2 | 1 | 3;
1409
+ parentId: string | null;
1410
+ childCategoryList: any[];
1411
+ }[];
1412
+ }[];
1413
+ }>, "many">;
1414
+ callFrom: z.ZodNullable<z.ZodString>;
1415
+ callTo: z.ZodNullable<z.ZodString>;
1416
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1417
+ id: z.ZodString;
1418
+ createdAt: z.ZodDate;
1419
+ updatedAt: z.ZodDate;
1420
+ deletedAt: z.ZodNullable<z.ZodDate>;
1421
+ textValue: z.ZodNullable<z.ZodString>;
1422
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
1423
+ numberValue: z.ZodNullable<z.ZodNumber>;
1424
+ dateValue: z.ZodNullable<z.ZodDate>;
1425
+ entityId: z.ZodString;
1426
+ attributeId: z.ZodString;
1427
+ }, "strip", z.ZodTypeAny, {
1428
+ id: string;
1429
+ createdAt: Date;
1430
+ updatedAt: Date;
1431
+ deletedAt: Date | null;
1432
+ entityId: string;
1433
+ attributeId: string;
1434
+ textValue: string | null;
1435
+ booleanValue: boolean | null;
1436
+ numberValue: number | null;
1437
+ dateValue: Date | null;
1438
+ }, {
1439
+ id: string;
1440
+ createdAt: Date;
1441
+ updatedAt: Date;
1442
+ deletedAt: Date | null;
1443
+ entityId: string;
1444
+ attributeId: string;
1445
+ textValue: string | null;
1446
+ booleanValue: boolean | null;
1447
+ numberValue: number | null;
1448
+ dateValue: Date | null;
1449
+ }>, "many">>>;
1450
+ }, "strip", z.ZodTypeAny, {
1451
+ type: string;
1452
+ id: string;
1453
+ disposition: string | null;
1454
+ createdAt: Date;
1455
+ updatedAt: Date;
1456
+ deletedAt: Date | null;
1457
+ categories: {
1458
+ id: string;
1459
+ value: string;
1460
+ createdAt: Date;
1461
+ updatedAt: Date;
1462
+ deletedAt: Date | null;
1463
+ level: 2 | 1 | 3;
1464
+ parentId: string | null;
1465
+ childCategoryList: {
1466
+ id: string;
1467
+ value: string;
1468
+ level: 2 | 1 | 3;
1469
+ parentId: string | null;
1470
+ childCategoryList: {
1471
+ id: string;
1472
+ value: string;
1473
+ level: 2 | 1 | 3;
1474
+ parentId: string | null;
1475
+ childCategoryList: any[];
1476
+ }[];
1477
+ }[];
1478
+ }[];
1479
+ tags: {
1480
+ id: string;
1481
+ name: string;
1482
+ createdAt: Date;
1483
+ updatedAt: Date;
1484
+ deletedAt: Date | null;
1485
+ }[];
1486
+ callFrom: string | null;
1487
+ callTo: string | null;
1488
+ note: string | null;
1489
+ customFields?: {
1490
+ id: string;
1491
+ createdAt: Date;
1492
+ updatedAt: Date;
1493
+ deletedAt: Date | null;
1494
+ entityId: string;
1495
+ attributeId: string;
1496
+ textValue: string | null;
1497
+ booleanValue: boolean | null;
1498
+ numberValue: number | null;
1499
+ dateValue: Date | null;
1500
+ }[] | null | undefined;
1501
+ }, {
1502
+ type: string;
1503
+ id: string;
1504
+ disposition: string | null;
1505
+ createdAt: Date;
1506
+ updatedAt: Date;
1507
+ deletedAt: Date | null;
1508
+ categories: {
1509
+ id: string;
1510
+ value: string;
1511
+ createdAt: Date;
1512
+ updatedAt: Date;
1513
+ deletedAt: Date | null;
1514
+ level: 2 | 1 | 3;
1515
+ parentId: string | null;
1516
+ childCategoryList: {
1517
+ id: string;
1518
+ value: string;
1519
+ level: 2 | 1 | 3;
1520
+ parentId: string | null;
1521
+ childCategoryList: {
1522
+ id: string;
1523
+ value: string;
1524
+ level: 2 | 1 | 3;
1525
+ parentId: string | null;
1526
+ childCategoryList: any[];
1527
+ }[];
1528
+ }[];
1529
+ }[];
1530
+ tags: {
1531
+ id: string;
1532
+ name: string;
1533
+ createdAt: Date;
1534
+ updatedAt: Date;
1535
+ deletedAt: Date | null;
1536
+ }[];
1537
+ callFrom: string | null;
1538
+ callTo: string | null;
1539
+ note: string | null;
1540
+ customFields?: {
1541
+ id: string;
1542
+ createdAt: Date;
1543
+ updatedAt: Date;
1544
+ deletedAt: Date | null;
1545
+ entityId: string;
1546
+ attributeId: string;
1547
+ textValue: string | null;
1548
+ booleanValue: boolean | null;
1549
+ numberValue: number | null;
1550
+ dateValue: Date | null;
1551
+ }[] | null | undefined;
1552
+ }>;
1553
+ 400: z.ZodObject<{
1554
+ message: z.ZodString;
1555
+ }, "strip", z.ZodTypeAny, {
1556
+ message: string;
1557
+ }, {
1558
+ message: string;
1559
+ }>;
1560
+ 401: z.ZodObject<{
1561
+ message: z.ZodString;
1562
+ error: z.ZodAny;
1563
+ }, "strip", z.ZodTypeAny, {
1564
+ message: string;
1565
+ error?: any;
1566
+ }, {
1567
+ message: string;
1568
+ error?: any;
1569
+ }>;
1570
+ 500: z.ZodObject<{
1571
+ message: z.ZodString;
1572
+ error: z.ZodAny;
1573
+ }, "strip", z.ZodTypeAny, {
1574
+ message: string;
1575
+ error?: any;
1576
+ }, {
1577
+ message: string;
1578
+ error?: any;
1579
+ }>;
1580
+ };
1581
+ path: "wrap-up-form/:id";
1582
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1583
+ 'x-tenant': z.ZodString;
1584
+ authorization: z.ZodString;
1585
+ 'x-code': z.ZodOptional<z.ZodString>;
1586
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
1587
+ }, "strip", z.ZodTypeAny, {
1588
+ 'x-tenant': string;
1589
+ authorization: string;
1590
+ 'x-client-timezone': string;
1591
+ 'x-code'?: string | undefined;
1592
+ }, {
1593
+ 'x-tenant': string;
1594
+ authorization: string;
1595
+ 'x-code'?: string | undefined;
1596
+ 'x-client-timezone'?: string | undefined;
1597
+ }>>>;
1598
+ };
1599
+ updateWrapUpForm: {
1600
+ body: z.ZodObject<{
1601
+ disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1602
+ callFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1603
+ callTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1604
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1605
+ cxLogId: z.ZodOptional<z.ZodString>;
1606
+ type: z.ZodOptional<z.ZodString>;
1607
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1608
+ categoryIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1609
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1610
+ id: z.ZodString;
1611
+ type: z.ZodString;
1612
+ value: z.ZodString;
1613
+ }, "strip", z.ZodTypeAny, {
1614
+ type: string;
1615
+ id: string;
1616
+ value: string;
1617
+ }, {
1618
+ type: string;
1619
+ id: string;
1620
+ value: string;
1621
+ }>, "many">>;
1622
+ durationSeconds: z.ZodOptional<z.ZodNumber>;
1623
+ }, "strip", z.ZodTypeAny, {
1624
+ disposition?: string | null | undefined;
1625
+ callFrom?: string | null | undefined;
1626
+ callTo?: string | null | undefined;
1627
+ note?: string | null | undefined;
1628
+ cxLogId?: string | undefined;
1629
+ type?: string | undefined;
1630
+ tags?: string[] | undefined;
1631
+ categoryIds?: string[] | undefined;
1632
+ customFields?: {
1633
+ type: string;
1634
+ id: string;
1635
+ value: string;
1636
+ }[] | undefined;
1637
+ durationSeconds?: number | undefined;
1638
+ }, {
1639
+ disposition?: string | null | undefined;
1640
+ callFrom?: string | null | undefined;
1641
+ callTo?: string | null | undefined;
1642
+ note?: string | null | undefined;
1643
+ cxLogId?: string | undefined;
1644
+ type?: string | undefined;
1645
+ tags?: string[] | undefined;
1646
+ categoryIds?: string[] | undefined;
1647
+ customFields?: {
1648
+ type: string;
1649
+ id: string;
1650
+ value: string;
1651
+ }[] | undefined;
1652
+ durationSeconds?: number | undefined;
1653
+ }>;
1654
+ summary: "Update a wrap up form.";
1655
+ method: "PATCH";
1656
+ pathParams: z.ZodObject<{
1657
+ id: z.ZodString;
1658
+ }, "strip", z.ZodTypeAny, {
1659
+ id: string;
1660
+ }, {
1661
+ id: string;
1662
+ }>;
1663
+ responses: {
1664
+ 201: z.ZodObject<{
1665
+ requestId: z.ZodString;
1666
+ wrapUpForm: z.ZodObject<{
1667
+ id: z.ZodString;
1668
+ createdAt: z.ZodDate;
1669
+ updatedAt: z.ZodDate;
1670
+ deletedAt: z.ZodNullable<z.ZodDate>;
1671
+ note: z.ZodNullable<z.ZodString>;
1672
+ disposition: z.ZodNullable<z.ZodString>;
1673
+ type: z.ZodString;
1674
+ tags: z.ZodArray<z.ZodObject<{
1675
+ id: z.ZodString;
1676
+ createdAt: z.ZodDate;
1677
+ updatedAt: z.ZodDate;
1678
+ deletedAt: z.ZodNullable<z.ZodDate>;
1679
+ name: z.ZodString;
1680
+ }, "strip", z.ZodTypeAny, {
1681
+ id: string;
1682
+ name: string;
1683
+ createdAt: Date;
1684
+ updatedAt: Date;
1685
+ deletedAt: Date | null;
1686
+ }, {
1687
+ id: string;
1688
+ name: string;
1689
+ createdAt: Date;
1690
+ updatedAt: Date;
1691
+ deletedAt: Date | null;
1692
+ }>, "many">;
1693
+ categories: z.ZodArray<z.ZodObject<{
1694
+ id: z.ZodString;
1695
+ createdAt: z.ZodDate;
1696
+ updatedAt: z.ZodDate;
1697
+ deletedAt: z.ZodNullable<z.ZodDate>;
1698
+ value: z.ZodString;
1699
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1700
+ parentId: z.ZodNullable<z.ZodString>;
1701
+ childCategoryList: z.ZodArray<z.ZodObject<{
1702
+ id: z.ZodString;
1703
+ value: z.ZodString;
1704
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1705
+ parentId: z.ZodNullable<z.ZodString>;
1706
+ childCategoryList: z.ZodArray<z.ZodObject<{
1707
+ id: z.ZodString;
1708
+ value: z.ZodString;
1709
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1710
+ parentId: z.ZodNullable<z.ZodString>;
1711
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
1712
+ }, "strip", z.ZodTypeAny, {
1713
+ id: string;
1714
+ value: string;
1715
+ level: 2 | 1 | 3;
1716
+ parentId: string | null;
1717
+ childCategoryList: any[];
1718
+ }, {
1719
+ id: string;
1720
+ value: string;
1721
+ level: 2 | 1 | 3;
1722
+ parentId: string | null;
1723
+ childCategoryList: any[];
1724
+ }>, "many">;
1725
+ }, "strip", z.ZodTypeAny, {
1726
+ id: string;
1727
+ value: string;
1728
+ level: 2 | 1 | 3;
1729
+ parentId: string | null;
1730
+ childCategoryList: {
1731
+ id: string;
1732
+ value: string;
1733
+ level: 2 | 1 | 3;
1734
+ parentId: string | null;
1735
+ childCategoryList: any[];
1736
+ }[];
1737
+ }, {
1738
+ id: string;
1739
+ value: string;
1740
+ level: 2 | 1 | 3;
1741
+ parentId: string | null;
1742
+ childCategoryList: {
1743
+ id: string;
1744
+ value: string;
1745
+ level: 2 | 1 | 3;
1746
+ parentId: string | null;
1747
+ childCategoryList: any[];
1748
+ }[];
1749
+ }>, "many">;
1750
+ }, "strip", z.ZodTypeAny, {
1751
+ id: string;
1752
+ value: string;
1753
+ createdAt: Date;
1754
+ updatedAt: Date;
1755
+ deletedAt: Date | null;
1756
+ level: 2 | 1 | 3;
1757
+ parentId: string | null;
1758
+ childCategoryList: {
1759
+ id: string;
1760
+ value: string;
1761
+ level: 2 | 1 | 3;
1762
+ parentId: string | null;
1763
+ childCategoryList: {
1764
+ id: string;
1765
+ value: string;
1766
+ level: 2 | 1 | 3;
1767
+ parentId: string | null;
1768
+ childCategoryList: any[];
1769
+ }[];
1770
+ }[];
1771
+ }, {
1772
+ id: string;
1773
+ value: string;
1774
+ createdAt: Date;
1775
+ updatedAt: Date;
1776
+ deletedAt: Date | null;
1777
+ level: 2 | 1 | 3;
1778
+ parentId: string | null;
1779
+ childCategoryList: {
1780
+ id: string;
1781
+ value: string;
1782
+ level: 2 | 1 | 3;
1783
+ parentId: string | null;
1784
+ childCategoryList: {
1785
+ id: string;
1786
+ value: string;
1787
+ level: 2 | 1 | 3;
1788
+ parentId: string | null;
1789
+ childCategoryList: any[];
1790
+ }[];
1791
+ }[];
1792
+ }>, "many">;
1793
+ callFrom: z.ZodNullable<z.ZodString>;
1794
+ callTo: z.ZodNullable<z.ZodString>;
1795
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1796
+ id: z.ZodString;
1797
+ createdAt: z.ZodDate;
1798
+ updatedAt: z.ZodDate;
1799
+ deletedAt: z.ZodNullable<z.ZodDate>;
1800
+ textValue: z.ZodNullable<z.ZodString>;
1801
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
1802
+ numberValue: z.ZodNullable<z.ZodNumber>;
1803
+ dateValue: z.ZodNullable<z.ZodDate>;
1804
+ entityId: z.ZodString;
1805
+ attributeId: z.ZodString;
1806
+ }, "strip", z.ZodTypeAny, {
1807
+ id: string;
1808
+ createdAt: Date;
1809
+ updatedAt: Date;
1810
+ deletedAt: Date | null;
1811
+ entityId: string;
1812
+ attributeId: string;
1813
+ textValue: string | null;
1814
+ booleanValue: boolean | null;
1815
+ numberValue: number | null;
1816
+ dateValue: Date | null;
1817
+ }, {
1818
+ id: string;
1819
+ createdAt: Date;
1820
+ updatedAt: Date;
1821
+ deletedAt: Date | null;
1822
+ entityId: string;
1823
+ attributeId: string;
1824
+ textValue: string | null;
1825
+ booleanValue: boolean | null;
1826
+ numberValue: number | null;
1827
+ dateValue: Date | null;
1828
+ }>, "many">>>;
1829
+ }, "strip", z.ZodTypeAny, {
1830
+ type: string;
1831
+ id: string;
1832
+ disposition: string | null;
1833
+ createdAt: Date;
1834
+ updatedAt: Date;
1835
+ deletedAt: Date | null;
1836
+ categories: {
1837
+ id: string;
1838
+ value: string;
1839
+ createdAt: Date;
1840
+ updatedAt: Date;
1841
+ deletedAt: Date | null;
1842
+ level: 2 | 1 | 3;
1843
+ parentId: string | null;
1844
+ childCategoryList: {
1845
+ id: string;
1846
+ value: string;
1847
+ level: 2 | 1 | 3;
1848
+ parentId: string | null;
1849
+ childCategoryList: {
1850
+ id: string;
1851
+ value: string;
1852
+ level: 2 | 1 | 3;
1853
+ parentId: string | null;
1854
+ childCategoryList: any[];
1855
+ }[];
1856
+ }[];
1857
+ }[];
1858
+ tags: {
1859
+ id: string;
1860
+ name: string;
1861
+ createdAt: Date;
1862
+ updatedAt: Date;
1863
+ deletedAt: Date | null;
1864
+ }[];
1865
+ callFrom: string | null;
1866
+ callTo: string | null;
1867
+ note: string | null;
1868
+ customFields?: {
1869
+ id: string;
1870
+ createdAt: Date;
1871
+ updatedAt: Date;
1872
+ deletedAt: Date | null;
1873
+ entityId: string;
1874
+ attributeId: string;
1875
+ textValue: string | null;
1876
+ booleanValue: boolean | null;
1877
+ numberValue: number | null;
1878
+ dateValue: Date | null;
1879
+ }[] | null | undefined;
1880
+ }, {
1881
+ type: string;
1882
+ id: string;
1883
+ disposition: string | null;
1884
+ createdAt: Date;
1885
+ updatedAt: Date;
1886
+ deletedAt: Date | null;
1887
+ categories: {
1888
+ id: string;
1889
+ value: string;
1890
+ createdAt: Date;
1891
+ updatedAt: Date;
1892
+ deletedAt: Date | null;
1893
+ level: 2 | 1 | 3;
1894
+ parentId: string | null;
1895
+ childCategoryList: {
1896
+ id: string;
1897
+ value: string;
1898
+ level: 2 | 1 | 3;
1899
+ parentId: string | null;
1900
+ childCategoryList: {
1901
+ id: string;
1902
+ value: string;
1903
+ level: 2 | 1 | 3;
1904
+ parentId: string | null;
1905
+ childCategoryList: any[];
1906
+ }[];
1907
+ }[];
1908
+ }[];
1909
+ tags: {
1910
+ id: string;
1911
+ name: string;
1912
+ createdAt: Date;
1913
+ updatedAt: Date;
1914
+ deletedAt: Date | null;
1915
+ }[];
1916
+ callFrom: string | null;
1917
+ callTo: string | null;
1918
+ note: string | null;
1919
+ customFields?: {
1920
+ id: string;
1921
+ createdAt: Date;
1922
+ updatedAt: Date;
1923
+ deletedAt: Date | null;
1924
+ entityId: string;
1925
+ attributeId: string;
1926
+ textValue: string | null;
1927
+ booleanValue: boolean | null;
1928
+ numberValue: number | null;
1929
+ dateValue: Date | null;
1930
+ }[] | null | undefined;
1931
+ }>;
1932
+ }, "strip", z.ZodTypeAny, {
1933
+ requestId: string;
1934
+ wrapUpForm: {
1935
+ type: string;
1936
+ id: string;
1937
+ disposition: string | null;
1938
+ createdAt: Date;
1939
+ updatedAt: Date;
1940
+ deletedAt: Date | null;
1941
+ categories: {
1942
+ id: string;
1943
+ value: string;
1944
+ createdAt: Date;
1945
+ updatedAt: Date;
1946
+ deletedAt: Date | null;
1947
+ level: 2 | 1 | 3;
1948
+ parentId: string | null;
1949
+ childCategoryList: {
1950
+ id: string;
1951
+ value: string;
1952
+ level: 2 | 1 | 3;
1953
+ parentId: string | null;
1954
+ childCategoryList: {
1955
+ id: string;
1956
+ value: string;
1957
+ level: 2 | 1 | 3;
1958
+ parentId: string | null;
1959
+ childCategoryList: any[];
1960
+ }[];
1961
+ }[];
1962
+ }[];
1963
+ tags: {
1964
+ id: string;
1965
+ name: string;
1966
+ createdAt: Date;
1967
+ updatedAt: Date;
1968
+ deletedAt: Date | null;
1969
+ }[];
1970
+ callFrom: string | null;
1971
+ callTo: string | null;
1972
+ note: string | null;
1973
+ customFields?: {
1974
+ id: string;
1975
+ createdAt: Date;
1976
+ updatedAt: Date;
1977
+ deletedAt: Date | null;
1978
+ entityId: string;
1979
+ attributeId: string;
1980
+ textValue: string | null;
1981
+ booleanValue: boolean | null;
1982
+ numberValue: number | null;
1983
+ dateValue: Date | null;
1984
+ }[] | null | undefined;
1985
+ };
1986
+ }, {
1987
+ requestId: string;
1988
+ wrapUpForm: {
1989
+ type: string;
1990
+ id: string;
1991
+ disposition: string | null;
1992
+ createdAt: Date;
1993
+ updatedAt: Date;
1994
+ deletedAt: Date | null;
1995
+ categories: {
1996
+ id: string;
1997
+ value: string;
1998
+ createdAt: Date;
1999
+ updatedAt: Date;
2000
+ deletedAt: Date | null;
2001
+ level: 2 | 1 | 3;
2002
+ parentId: string | null;
2003
+ childCategoryList: {
2004
+ id: string;
2005
+ value: string;
2006
+ level: 2 | 1 | 3;
2007
+ parentId: string | null;
2008
+ childCategoryList: {
2009
+ id: string;
2010
+ value: string;
2011
+ level: 2 | 1 | 3;
2012
+ parentId: string | null;
2013
+ childCategoryList: any[];
2014
+ }[];
2015
+ }[];
2016
+ }[];
2017
+ tags: {
2018
+ id: string;
2019
+ name: string;
2020
+ createdAt: Date;
2021
+ updatedAt: Date;
2022
+ deletedAt: Date | null;
2023
+ }[];
2024
+ callFrom: string | null;
2025
+ callTo: string | null;
2026
+ note: string | null;
2027
+ customFields?: {
2028
+ id: string;
2029
+ createdAt: Date;
2030
+ updatedAt: Date;
2031
+ deletedAt: Date | null;
2032
+ entityId: string;
2033
+ attributeId: string;
2034
+ textValue: string | null;
2035
+ booleanValue: boolean | null;
2036
+ numberValue: number | null;
2037
+ dateValue: Date | null;
2038
+ }[] | null | undefined;
2039
+ };
2040
+ }>;
2041
+ 400: z.ZodObject<{
2042
+ message: z.ZodString;
2043
+ }, "strip", z.ZodTypeAny, {
2044
+ message: string;
2045
+ }, {
2046
+ message: string;
2047
+ }>;
2048
+ 401: z.ZodObject<{
2049
+ message: z.ZodString;
2050
+ error: z.ZodAny;
2051
+ }, "strip", z.ZodTypeAny, {
2052
+ message: string;
2053
+ error?: any;
2054
+ }, {
2055
+ message: string;
2056
+ error?: any;
2057
+ }>;
2058
+ 500: z.ZodObject<{
2059
+ message: z.ZodString;
2060
+ error: z.ZodAny;
2061
+ }, "strip", z.ZodTypeAny, {
2062
+ message: string;
2063
+ error?: any;
2064
+ }, {
2065
+ message: string;
2066
+ error?: any;
2067
+ }>;
2068
+ };
2069
+ path: "wrap-up-form/:id";
2070
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2071
+ 'x-tenant': z.ZodString;
2072
+ authorization: z.ZodString;
2073
+ 'x-code': z.ZodOptional<z.ZodString>;
2074
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
2075
+ }, "strip", z.ZodTypeAny, {
2076
+ 'x-tenant': string;
2077
+ authorization: string;
2078
+ 'x-client-timezone': string;
2079
+ 'x-code'?: string | undefined;
2080
+ }, {
2081
+ 'x-tenant': string;
2082
+ authorization: string;
2083
+ 'x-code'?: string | undefined;
2084
+ 'x-client-timezone'?: string | undefined;
2085
+ }>>>;
2086
+ };
2087
+ };
2088
+ //# sourceMappingURL=index.d.ts.map