@kl1/contracts 1.1.25 → 1.1.26

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 (58) hide show
  1. package/dist/index.js +935 -924
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +934 -924
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +4867 -22
  6. package/dist/src/chat/index.d.ts.map +1 -1
  7. package/dist/src/chat/schema.d.ts +773 -22
  8. package/dist/src/chat/schema.d.ts.map +1 -1
  9. package/dist/src/chat/validation.d.ts +975 -5
  10. package/dist/src/chat/validation.d.ts.map +1 -1
  11. package/dist/src/contact/index.d.ts +3 -0
  12. package/dist/src/contact/index.d.ts.map +1 -1
  13. package/dist/src/contact/schema.d.ts.map +1 -1
  14. package/dist/src/contact/validation.d.ts +3 -0
  15. package/dist/src/contact/validation.d.ts.map +1 -1
  16. package/dist/src/contract.d.ts +164160 -131652
  17. package/dist/src/contract.d.ts.map +1 -1
  18. package/dist/src/cx-log/index.d.ts +352 -2
  19. package/dist/src/cx-log/index.d.ts.map +1 -1
  20. package/dist/src/cx-log/schema.d.ts +557 -4
  21. package/dist/src/cx-log/schema.d.ts.map +1 -1
  22. package/dist/src/instagram/index.d.ts +487 -2
  23. package/dist/src/instagram/index.d.ts.map +1 -1
  24. package/dist/src/line/index.d.ts +487 -2
  25. package/dist/src/line/index.d.ts.map +1 -1
  26. package/dist/src/mail/mail-contract.d.ts +30477 -6759
  27. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  28. package/dist/src/mail/message-contract.d.ts +6424 -64
  29. package/dist/src/mail/message-contract.d.ts.map +1 -1
  30. package/dist/src/mail/room-contract.d.ts +19532 -2172
  31. package/dist/src/mail/room-contract.d.ts.map +1 -1
  32. package/dist/src/mail/schemas/message-validation.schema.d.ts +7 -4
  33. package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -1
  34. package/dist/src/mail/schemas/message.schema.d.ts +762 -40
  35. package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
  36. package/dist/src/mail/schemas/room-validation.schema.d.ts +6057 -350
  37. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  38. package/dist/src/mail/schemas/room.schema.d.ts +5984 -308
  39. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  40. package/dist/src/messenger/index.d.ts +487 -2
  41. package/dist/src/messenger/index.d.ts.map +1 -1
  42. package/dist/src/telephony-cdr/call-report.schema.d.ts +62 -62
  43. package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
  44. package/dist/src/telephony-cdr/index.d.ts +1 -622
  45. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  46. package/dist/src/viber/index.d.ts +487 -2
  47. package/dist/src/viber/index.d.ts.map +1 -1
  48. package/dist/src/webchat/index.d.ts +487 -2
  49. package/dist/src/webchat/index.d.ts.map +1 -1
  50. package/dist/src/workflow-rule/index.d.ts +834 -4
  51. package/dist/src/workflow-rule/index.d.ts.map +1 -1
  52. package/dist/src/wrap-up-form/index.d.ts +1447 -6
  53. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  54. package/dist/src/wrap-up-form/schema.d.ts +207 -2
  55. package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
  56. package/dist/src/wrap-up-form/validation.d.ts +29 -0
  57. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  58. package/package.json +1 -1
@@ -4,6 +4,131 @@ export type CreateWrapUpFormRequest = z.infer<typeof CreateWrapUpFormSchema>;
4
4
  export type CreateCXLogWrapUpFormRequest = z.infer<typeof CreateCXLogWrapUpFormSchema>;
5
5
  export type UpdateWrapUpFormRequest = z.infer<typeof UpdateWrapUpFormSchema>;
6
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
+ };
7
132
  createWrapUpForm: {
8
133
  body: z.ZodObject<{
9
134
  note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -33,8 +158,7 @@ export declare const wrapUpFormContract: {
33
158
  deletedAt: z.ZodNullable<z.ZodDate>;
34
159
  note: z.ZodNullable<z.ZodString>;
35
160
  disposition: z.ZodNullable<z.ZodString>;
36
- callFrom: z.ZodNullable<z.ZodString>;
37
- callTo: z.ZodNullable<z.ZodString>;
161
+ type: z.ZodString;
38
162
  tags: z.ZodArray<z.ZodObject<{
39
163
  id: z.ZodString;
40
164
  createdAt: z.ZodDate;
@@ -54,12 +178,171 @@ export declare const wrapUpFormContract: {
54
178
  updatedAt: Date;
55
179
  deletedAt: Date | null;
56
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">>>;
57
317
  }, "strip", z.ZodTypeAny, {
318
+ type: string;
58
319
  id: string;
59
320
  disposition: string | null;
60
321
  createdAt: Date;
61
322
  updatedAt: Date;
62
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
+ }[];
63
346
  tags: {
64
347
  id: string;
65
348
  name: string;
@@ -70,12 +353,47 @@ export declare const wrapUpFormContract: {
70
353
  callFrom: string | null;
71
354
  callTo: string | null;
72
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;
73
368
  }, {
369
+ type: string;
74
370
  id: string;
75
371
  disposition: string | null;
76
372
  createdAt: Date;
77
373
  updatedAt: Date;
78
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
+ }[];
79
397
  tags: {
80
398
  id: string;
81
399
  name: string;
@@ -86,15 +404,50 @@ export declare const wrapUpFormContract: {
86
404
  callFrom: string | null;
87
405
  callTo: string | null;
88
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;
89
419
  }>;
90
420
  }, "strip", z.ZodTypeAny, {
91
421
  requestId: string;
92
422
  wrapUpForm: {
423
+ type: string;
93
424
  id: string;
94
425
  disposition: string | null;
95
426
  createdAt: Date;
96
427
  updatedAt: Date;
97
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
+ }[];
98
451
  tags: {
99
452
  id: string;
100
453
  name: string;
@@ -105,15 +458,50 @@ export declare const wrapUpFormContract: {
105
458
  callFrom: string | null;
106
459
  callTo: string | null;
107
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;
108
473
  };
109
474
  }, {
110
475
  requestId: string;
111
476
  wrapUpForm: {
477
+ type: string;
112
478
  id: string;
113
479
  disposition: string | null;
114
480
  createdAt: Date;
115
481
  updatedAt: Date;
116
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
+ }[];
117
505
  tags: {
118
506
  id: string;
119
507
  name: string;
@@ -124,6 +512,18 @@ export declare const wrapUpFormContract: {
124
512
  callFrom: string | null;
125
513
  callTo: string | null;
126
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;
127
527
  };
128
528
  }>;
129
529
  400: z.ZodObject<{
@@ -200,8 +600,7 @@ export declare const wrapUpFormContract: {
200
600
  deletedAt: z.ZodNullable<z.ZodDate>;
201
601
  note: z.ZodNullable<z.ZodString>;
202
602
  disposition: z.ZodNullable<z.ZodString>;
203
- callFrom: z.ZodNullable<z.ZodString>;
204
- callTo: z.ZodNullable<z.ZodString>;
603
+ type: z.ZodString;
205
604
  tags: z.ZodArray<z.ZodObject<{
206
605
  id: z.ZodString;
207
606
  createdAt: z.ZodDate;
@@ -221,12 +620,171 @@ export declare const wrapUpFormContract: {
221
620
  updatedAt: Date;
222
621
  deletedAt: Date | null;
223
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">>>;
224
759
  }, "strip", z.ZodTypeAny, {
760
+ type: string;
225
761
  id: string;
226
762
  disposition: string | null;
227
763
  createdAt: Date;
228
764
  updatedAt: Date;
229
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
+ }[];
230
788
  tags: {
231
789
  id: string;
232
790
  name: string;
@@ -237,12 +795,47 @@ export declare const wrapUpFormContract: {
237
795
  callFrom: string | null;
238
796
  callTo: string | null;
239
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;
240
810
  }, {
811
+ type: string;
241
812
  id: string;
242
813
  disposition: string | null;
243
814
  createdAt: Date;
244
815
  updatedAt: Date;
245
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
+ }[];
246
839
  tags: {
247
840
  id: string;
248
841
  name: string;
@@ -253,15 +846,50 @@ export declare const wrapUpFormContract: {
253
846
  callFrom: string | null;
254
847
  callTo: string | null;
255
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;
256
861
  }>;
257
862
  }, "strip", z.ZodTypeAny, {
258
863
  requestId: string;
259
864
  wrapUpForm: {
865
+ type: string;
260
866
  id: string;
261
867
  disposition: string | null;
262
868
  createdAt: Date;
263
869
  updatedAt: Date;
264
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
+ }[];
265
893
  tags: {
266
894
  id: string;
267
895
  name: string;
@@ -272,15 +900,50 @@ export declare const wrapUpFormContract: {
272
900
  callFrom: string | null;
273
901
  callTo: string | null;
274
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;
275
915
  };
276
916
  }, {
277
917
  requestId: string;
278
918
  wrapUpForm: {
919
+ type: string;
279
920
  id: string;
280
921
  disposition: string | null;
281
922
  createdAt: Date;
282
923
  updatedAt: Date;
283
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
+ }[];
284
947
  tags: {
285
948
  id: string;
286
949
  name: string;
@@ -291,6 +954,18 @@ export declare const wrapUpFormContract: {
291
954
  callFrom: string | null;
292
955
  callTo: string | null;
293
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;
294
969
  };
295
970
  }>;
296
971
  401: z.ZodObject<{
@@ -336,11 +1011,34 @@ export declare const wrapUpFormContract: {
336
1011
  pageSize: z.ZodDefault<z.ZodNumber>;
337
1012
  lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
338
1013
  data: z.ZodArray<z.ZodType<{
1014
+ type: string;
339
1015
  id: string;
340
1016
  disposition: string | null;
341
1017
  createdAt: Date;
342
1018
  updatedAt: Date;
343
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
+ }[];
344
1042
  tags: {
345
1043
  id: string;
346
1044
  name: string;
@@ -351,12 +1049,47 @@ export declare const wrapUpFormContract: {
351
1049
  callFrom: string | null;
352
1050
  callTo: string | null;
353
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;
354
1064
  }, z.ZodTypeDef, {
1065
+ type: string;
355
1066
  id: string;
356
1067
  disposition: string | null;
357
1068
  createdAt: Date;
358
1069
  updatedAt: Date;
359
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
+ }[];
360
1093
  tags: {
361
1094
  id: string;
362
1095
  name: string;
@@ -367,14 +1100,49 @@ export declare const wrapUpFormContract: {
367
1100
  callFrom: string | null;
368
1101
  callTo: string | null;
369
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;
370
1115
  }>, "many">;
371
1116
  }, "strip", z.ZodTypeAny, {
372
1117
  data: {
1118
+ type: string;
373
1119
  id: string;
374
1120
  disposition: string | null;
375
1121
  createdAt: Date;
376
1122
  updatedAt: Date;
377
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
+ }[];
378
1146
  tags: {
379
1147
  id: string;
380
1148
  name: string;
@@ -385,6 +1153,18 @@ export declare const wrapUpFormContract: {
385
1153
  callFrom: string | null;
386
1154
  callTo: string | null;
387
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;
388
1168
  }[];
389
1169
  total: number;
390
1170
  page: number;
@@ -392,11 +1172,34 @@ export declare const wrapUpFormContract: {
392
1172
  lastPage?: number | null | undefined;
393
1173
  }, {
394
1174
  data: {
1175
+ type: string;
395
1176
  id: string;
396
1177
  disposition: string | null;
397
1178
  createdAt: Date;
398
1179
  updatedAt: Date;
399
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
+ }[];
400
1203
  tags: {
401
1204
  id: string;
402
1205
  name: string;
@@ -407,6 +1210,18 @@ export declare const wrapUpFormContract: {
407
1210
  callFrom: string | null;
408
1211
  callTo: string | null;
409
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;
410
1225
  }[];
411
1226
  total: number;
412
1227
  page?: number | undefined;
@@ -459,6 +1274,328 @@ export declare const wrapUpFormContract: {
459
1274
  'x-client-timezone'?: string | undefined;
460
1275
  }>>>;
461
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
+ };
462
1599
  updateWrapUpForm: {
463
1600
  body: z.ZodObject<{
464
1601
  disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -466,18 +1603,47 @@ export declare const wrapUpFormContract: {
466
1603
  callTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
467
1604
  note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
468
1605
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1606
+ categoryIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1607
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1608
+ id: z.ZodString;
1609
+ type: z.ZodString;
1610
+ value: z.ZodString;
1611
+ }, "strip", z.ZodTypeAny, {
1612
+ type: string;
1613
+ id: string;
1614
+ value: string;
1615
+ }, {
1616
+ type: string;
1617
+ id: string;
1618
+ value: string;
1619
+ }>, "many">>;
1620
+ durationSeconds: z.ZodOptional<z.ZodNumber>;
469
1621
  }, "strip", z.ZodTypeAny, {
470
1622
  disposition?: string | null | undefined;
471
1623
  callFrom?: string | null | undefined;
472
1624
  callTo?: string | null | undefined;
473
1625
  note?: string | null | undefined;
474
1626
  tags?: string[] | undefined;
1627
+ categoryIds?: string[] | undefined;
1628
+ customFields?: {
1629
+ type: string;
1630
+ id: string;
1631
+ value: string;
1632
+ }[] | undefined;
1633
+ durationSeconds?: number | undefined;
475
1634
  }, {
476
1635
  disposition?: string | null | undefined;
477
1636
  callFrom?: string | null | undefined;
478
1637
  callTo?: string | null | undefined;
479
1638
  note?: string | null | undefined;
480
1639
  tags?: string[] | undefined;
1640
+ categoryIds?: string[] | undefined;
1641
+ customFields?: {
1642
+ type: string;
1643
+ id: string;
1644
+ value: string;
1645
+ }[] | undefined;
1646
+ durationSeconds?: number | undefined;
481
1647
  }>;
482
1648
  summary: "Update a wrap up form.";
483
1649
  method: "PATCH";
@@ -498,8 +1664,7 @@ export declare const wrapUpFormContract: {
498
1664
  deletedAt: z.ZodNullable<z.ZodDate>;
499
1665
  note: z.ZodNullable<z.ZodString>;
500
1666
  disposition: z.ZodNullable<z.ZodString>;
501
- callFrom: z.ZodNullable<z.ZodString>;
502
- callTo: z.ZodNullable<z.ZodString>;
1667
+ type: z.ZodString;
503
1668
  tags: z.ZodArray<z.ZodObject<{
504
1669
  id: z.ZodString;
505
1670
  createdAt: z.ZodDate;
@@ -519,12 +1684,171 @@ export declare const wrapUpFormContract: {
519
1684
  updatedAt: Date;
520
1685
  deletedAt: Date | null;
521
1686
  }>, "many">;
1687
+ categories: z.ZodArray<z.ZodObject<{
1688
+ id: z.ZodString;
1689
+ createdAt: z.ZodDate;
1690
+ updatedAt: z.ZodDate;
1691
+ deletedAt: z.ZodNullable<z.ZodDate>;
1692
+ value: z.ZodString;
1693
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1694
+ parentId: z.ZodNullable<z.ZodString>;
1695
+ childCategoryList: z.ZodArray<z.ZodObject<{
1696
+ id: z.ZodString;
1697
+ value: z.ZodString;
1698
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1699
+ parentId: z.ZodNullable<z.ZodString>;
1700
+ childCategoryList: z.ZodArray<z.ZodObject<{
1701
+ id: z.ZodString;
1702
+ value: z.ZodString;
1703
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1704
+ parentId: z.ZodNullable<z.ZodString>;
1705
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
1706
+ }, "strip", z.ZodTypeAny, {
1707
+ id: string;
1708
+ value: string;
1709
+ level: 2 | 1 | 3;
1710
+ parentId: string | null;
1711
+ childCategoryList: any[];
1712
+ }, {
1713
+ id: string;
1714
+ value: string;
1715
+ level: 2 | 1 | 3;
1716
+ parentId: string | null;
1717
+ childCategoryList: any[];
1718
+ }>, "many">;
1719
+ }, "strip", z.ZodTypeAny, {
1720
+ id: string;
1721
+ value: string;
1722
+ level: 2 | 1 | 3;
1723
+ parentId: string | null;
1724
+ childCategoryList: {
1725
+ id: string;
1726
+ value: string;
1727
+ level: 2 | 1 | 3;
1728
+ parentId: string | null;
1729
+ childCategoryList: any[];
1730
+ }[];
1731
+ }, {
1732
+ id: string;
1733
+ value: string;
1734
+ level: 2 | 1 | 3;
1735
+ parentId: string | null;
1736
+ childCategoryList: {
1737
+ id: string;
1738
+ value: string;
1739
+ level: 2 | 1 | 3;
1740
+ parentId: string | null;
1741
+ childCategoryList: any[];
1742
+ }[];
1743
+ }>, "many">;
1744
+ }, "strip", z.ZodTypeAny, {
1745
+ id: string;
1746
+ value: string;
1747
+ createdAt: Date;
1748
+ updatedAt: Date;
1749
+ deletedAt: Date | null;
1750
+ level: 2 | 1 | 3;
1751
+ parentId: string | null;
1752
+ childCategoryList: {
1753
+ id: string;
1754
+ value: string;
1755
+ level: 2 | 1 | 3;
1756
+ parentId: string | null;
1757
+ childCategoryList: {
1758
+ id: string;
1759
+ value: string;
1760
+ level: 2 | 1 | 3;
1761
+ parentId: string | null;
1762
+ childCategoryList: any[];
1763
+ }[];
1764
+ }[];
1765
+ }, {
1766
+ id: string;
1767
+ value: string;
1768
+ createdAt: Date;
1769
+ updatedAt: Date;
1770
+ deletedAt: Date | null;
1771
+ level: 2 | 1 | 3;
1772
+ parentId: string | null;
1773
+ childCategoryList: {
1774
+ id: string;
1775
+ value: string;
1776
+ level: 2 | 1 | 3;
1777
+ parentId: string | null;
1778
+ childCategoryList: {
1779
+ id: string;
1780
+ value: string;
1781
+ level: 2 | 1 | 3;
1782
+ parentId: string | null;
1783
+ childCategoryList: any[];
1784
+ }[];
1785
+ }[];
1786
+ }>, "many">;
1787
+ callFrom: z.ZodNullable<z.ZodString>;
1788
+ callTo: z.ZodNullable<z.ZodString>;
1789
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1790
+ id: z.ZodString;
1791
+ createdAt: z.ZodDate;
1792
+ updatedAt: z.ZodDate;
1793
+ deletedAt: z.ZodNullable<z.ZodDate>;
1794
+ textValue: z.ZodNullable<z.ZodString>;
1795
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
1796
+ numberValue: z.ZodNullable<z.ZodNumber>;
1797
+ dateValue: z.ZodNullable<z.ZodDate>;
1798
+ entityId: z.ZodString;
1799
+ attributeId: z.ZodString;
1800
+ }, "strip", z.ZodTypeAny, {
1801
+ id: string;
1802
+ createdAt: Date;
1803
+ updatedAt: Date;
1804
+ deletedAt: Date | null;
1805
+ entityId: string;
1806
+ attributeId: string;
1807
+ textValue: string | null;
1808
+ booleanValue: boolean | null;
1809
+ numberValue: number | null;
1810
+ dateValue: Date | null;
1811
+ }, {
1812
+ id: string;
1813
+ createdAt: Date;
1814
+ updatedAt: Date;
1815
+ deletedAt: Date | null;
1816
+ entityId: string;
1817
+ attributeId: string;
1818
+ textValue: string | null;
1819
+ booleanValue: boolean | null;
1820
+ numberValue: number | null;
1821
+ dateValue: Date | null;
1822
+ }>, "many">>>;
522
1823
  }, "strip", z.ZodTypeAny, {
1824
+ type: string;
523
1825
  id: string;
524
1826
  disposition: string | null;
525
1827
  createdAt: Date;
526
1828
  updatedAt: Date;
527
1829
  deletedAt: Date | null;
1830
+ categories: {
1831
+ id: string;
1832
+ value: string;
1833
+ createdAt: Date;
1834
+ updatedAt: Date;
1835
+ deletedAt: Date | null;
1836
+ level: 2 | 1 | 3;
1837
+ parentId: string | null;
1838
+ childCategoryList: {
1839
+ id: string;
1840
+ value: string;
1841
+ level: 2 | 1 | 3;
1842
+ parentId: string | null;
1843
+ childCategoryList: {
1844
+ id: string;
1845
+ value: string;
1846
+ level: 2 | 1 | 3;
1847
+ parentId: string | null;
1848
+ childCategoryList: any[];
1849
+ }[];
1850
+ }[];
1851
+ }[];
528
1852
  tags: {
529
1853
  id: string;
530
1854
  name: string;
@@ -535,12 +1859,47 @@ export declare const wrapUpFormContract: {
535
1859
  callFrom: string | null;
536
1860
  callTo: string | null;
537
1861
  note: string | null;
1862
+ customFields?: {
1863
+ id: string;
1864
+ createdAt: Date;
1865
+ updatedAt: Date;
1866
+ deletedAt: Date | null;
1867
+ entityId: string;
1868
+ attributeId: string;
1869
+ textValue: string | null;
1870
+ booleanValue: boolean | null;
1871
+ numberValue: number | null;
1872
+ dateValue: Date | null;
1873
+ }[] | null | undefined;
538
1874
  }, {
1875
+ type: string;
539
1876
  id: string;
540
1877
  disposition: string | null;
541
1878
  createdAt: Date;
542
1879
  updatedAt: Date;
543
1880
  deletedAt: Date | null;
1881
+ categories: {
1882
+ id: string;
1883
+ value: string;
1884
+ createdAt: Date;
1885
+ updatedAt: Date;
1886
+ deletedAt: Date | null;
1887
+ level: 2 | 1 | 3;
1888
+ parentId: string | null;
1889
+ childCategoryList: {
1890
+ id: string;
1891
+ value: string;
1892
+ level: 2 | 1 | 3;
1893
+ parentId: string | null;
1894
+ childCategoryList: {
1895
+ id: string;
1896
+ value: string;
1897
+ level: 2 | 1 | 3;
1898
+ parentId: string | null;
1899
+ childCategoryList: any[];
1900
+ }[];
1901
+ }[];
1902
+ }[];
544
1903
  tags: {
545
1904
  id: string;
546
1905
  name: string;
@@ -551,15 +1910,50 @@ export declare const wrapUpFormContract: {
551
1910
  callFrom: string | null;
552
1911
  callTo: string | null;
553
1912
  note: string | null;
1913
+ customFields?: {
1914
+ id: string;
1915
+ createdAt: Date;
1916
+ updatedAt: Date;
1917
+ deletedAt: Date | null;
1918
+ entityId: string;
1919
+ attributeId: string;
1920
+ textValue: string | null;
1921
+ booleanValue: boolean | null;
1922
+ numberValue: number | null;
1923
+ dateValue: Date | null;
1924
+ }[] | null | undefined;
554
1925
  }>;
555
1926
  }, "strip", z.ZodTypeAny, {
556
1927
  requestId: string;
557
1928
  wrapUpForm: {
1929
+ type: string;
558
1930
  id: string;
559
1931
  disposition: string | null;
560
1932
  createdAt: Date;
561
1933
  updatedAt: Date;
562
1934
  deletedAt: Date | null;
1935
+ categories: {
1936
+ id: string;
1937
+ value: string;
1938
+ createdAt: Date;
1939
+ updatedAt: Date;
1940
+ deletedAt: Date | null;
1941
+ level: 2 | 1 | 3;
1942
+ parentId: string | null;
1943
+ childCategoryList: {
1944
+ id: string;
1945
+ value: string;
1946
+ level: 2 | 1 | 3;
1947
+ parentId: string | null;
1948
+ childCategoryList: {
1949
+ id: string;
1950
+ value: string;
1951
+ level: 2 | 1 | 3;
1952
+ parentId: string | null;
1953
+ childCategoryList: any[];
1954
+ }[];
1955
+ }[];
1956
+ }[];
563
1957
  tags: {
564
1958
  id: string;
565
1959
  name: string;
@@ -570,15 +1964,50 @@ export declare const wrapUpFormContract: {
570
1964
  callFrom: string | null;
571
1965
  callTo: string | null;
572
1966
  note: string | null;
1967
+ customFields?: {
1968
+ id: string;
1969
+ createdAt: Date;
1970
+ updatedAt: Date;
1971
+ deletedAt: Date | null;
1972
+ entityId: string;
1973
+ attributeId: string;
1974
+ textValue: string | null;
1975
+ booleanValue: boolean | null;
1976
+ numberValue: number | null;
1977
+ dateValue: Date | null;
1978
+ }[] | null | undefined;
573
1979
  };
574
1980
  }, {
575
1981
  requestId: string;
576
1982
  wrapUpForm: {
1983
+ type: string;
577
1984
  id: string;
578
1985
  disposition: string | null;
579
1986
  createdAt: Date;
580
1987
  updatedAt: Date;
581
1988
  deletedAt: Date | null;
1989
+ categories: {
1990
+ id: string;
1991
+ value: string;
1992
+ createdAt: Date;
1993
+ updatedAt: Date;
1994
+ deletedAt: Date | null;
1995
+ level: 2 | 1 | 3;
1996
+ parentId: string | null;
1997
+ childCategoryList: {
1998
+ id: string;
1999
+ value: string;
2000
+ level: 2 | 1 | 3;
2001
+ parentId: string | null;
2002
+ childCategoryList: {
2003
+ id: string;
2004
+ value: string;
2005
+ level: 2 | 1 | 3;
2006
+ parentId: string | null;
2007
+ childCategoryList: any[];
2008
+ }[];
2009
+ }[];
2010
+ }[];
582
2011
  tags: {
583
2012
  id: string;
584
2013
  name: string;
@@ -589,6 +2018,18 @@ export declare const wrapUpFormContract: {
589
2018
  callFrom: string | null;
590
2019
  callTo: string | null;
591
2020
  note: string | null;
2021
+ customFields?: {
2022
+ id: string;
2023
+ createdAt: Date;
2024
+ updatedAt: Date;
2025
+ deletedAt: Date | null;
2026
+ entityId: string;
2027
+ attributeId: string;
2028
+ textValue: string | null;
2029
+ booleanValue: boolean | null;
2030
+ numberValue: number | null;
2031
+ dateValue: Date | null;
2032
+ }[] | null | undefined;
592
2033
  };
593
2034
  }>;
594
2035
  400: z.ZodObject<{