@kl1/contracts 1.1.24-uat → 1.1.26-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/index.js +14 -3
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +14 -3
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +3341 -22
  6. package/dist/src/chat/index.d.ts.map +1 -1
  7. package/dist/src/chat/schema.d.ts +528 -4
  8. package/dist/src/chat/schema.d.ts.map +1 -1
  9. package/dist/src/chat/validation.d.ts +666 -4
  10. package/dist/src/chat/validation.d.ts.map +1 -1
  11. package/dist/src/contract.d.ts +6481 -44
  12. package/dist/src/contract.d.ts.map +1 -1
  13. package/dist/src/cx-log/index.d.ts +241 -2
  14. package/dist/src/cx-log/index.d.ts.map +1 -1
  15. package/dist/src/cx-log/schema.d.ts +390 -4
  16. package/dist/src/cx-log/schema.d.ts.map +1 -1
  17. package/dist/src/instagram/index.d.ts +333 -2
  18. package/dist/src/instagram/index.d.ts.map +1 -1
  19. package/dist/src/line/index.d.ts +333 -2
  20. package/dist/src/line/index.d.ts.map +1 -1
  21. package/dist/src/mail/mail-contract.d.ts +861 -6
  22. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  23. package/dist/src/mail/room-contract.d.ts +861 -6
  24. package/dist/src/mail/room-contract.d.ts.map +1 -1
  25. package/dist/src/mail/schemas/room-validation.schema.d.ts +287 -2
  26. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  27. package/dist/src/mail/schemas/room.schema.d.ts +241 -2
  28. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  29. package/dist/src/messenger/index.d.ts +333 -2
  30. package/dist/src/messenger/index.d.ts.map +1 -1
  31. package/dist/src/viber/index.d.ts +333 -2
  32. package/dist/src/viber/index.d.ts.map +1 -1
  33. package/dist/src/webchat/index.d.ts +333 -2
  34. package/dist/src/webchat/index.d.ts.map +1 -1
  35. package/dist/src/wrap-up-form/index.d.ts +706 -6
  36. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  37. package/dist/src/wrap-up-form/schema.d.ts +149 -2
  38. package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
  39. package/dist/src/wrap-up-form/validation.d.ts +29 -0
  40. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  41. package/package.json +1 -1
@@ -33,8 +33,7 @@ export declare const wrapUpFormContract: {
33
33
  deletedAt: z.ZodNullable<z.ZodDate>;
34
34
  note: z.ZodNullable<z.ZodString>;
35
35
  disposition: z.ZodNullable<z.ZodString>;
36
- callFrom: z.ZodNullable<z.ZodString>;
37
- callTo: z.ZodNullable<z.ZodString>;
36
+ type: z.ZodString;
38
37
  tags: z.ZodArray<z.ZodObject<{
39
38
  id: z.ZodString;
40
39
  createdAt: z.ZodDate;
@@ -54,12 +53,137 @@ export declare const wrapUpFormContract: {
54
53
  updatedAt: Date;
55
54
  deletedAt: Date | null;
56
55
  }>, "many">;
56
+ categories: z.ZodArray<z.ZodObject<{
57
+ id: z.ZodString;
58
+ createdAt: z.ZodDate;
59
+ updatedAt: z.ZodDate;
60
+ deletedAt: z.ZodNullable<z.ZodDate>;
61
+ value: z.ZodString;
62
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
63
+ parentId: z.ZodNullable<z.ZodString>;
64
+ childCategoryList: z.ZodArray<z.ZodObject<{
65
+ id: z.ZodString;
66
+ value: z.ZodString;
67
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
68
+ parentId: z.ZodNullable<z.ZodString>;
69
+ childCategoryList: z.ZodArray<z.ZodObject<{
70
+ id: z.ZodString;
71
+ value: z.ZodString;
72
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
73
+ parentId: z.ZodNullable<z.ZodString>;
74
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
75
+ }, "strip", z.ZodTypeAny, {
76
+ id: string;
77
+ value: string;
78
+ level: 2 | 1 | 3;
79
+ parentId: string | null;
80
+ childCategoryList: any[];
81
+ }, {
82
+ id: string;
83
+ value: string;
84
+ level: 2 | 1 | 3;
85
+ parentId: string | null;
86
+ childCategoryList: any[];
87
+ }>, "many">;
88
+ }, "strip", z.ZodTypeAny, {
89
+ id: string;
90
+ value: string;
91
+ level: 2 | 1 | 3;
92
+ parentId: string | null;
93
+ childCategoryList: {
94
+ id: string;
95
+ value: string;
96
+ level: 2 | 1 | 3;
97
+ parentId: string | null;
98
+ childCategoryList: any[];
99
+ }[];
100
+ }, {
101
+ id: string;
102
+ value: string;
103
+ level: 2 | 1 | 3;
104
+ parentId: string | null;
105
+ childCategoryList: {
106
+ id: string;
107
+ value: string;
108
+ level: 2 | 1 | 3;
109
+ parentId: string | null;
110
+ childCategoryList: any[];
111
+ }[];
112
+ }>, "many">;
113
+ }, "strip", z.ZodTypeAny, {
114
+ id: string;
115
+ value: string;
116
+ createdAt: Date;
117
+ updatedAt: Date;
118
+ deletedAt: Date | null;
119
+ level: 2 | 1 | 3;
120
+ parentId: string | null;
121
+ childCategoryList: {
122
+ id: string;
123
+ value: string;
124
+ level: 2 | 1 | 3;
125
+ parentId: string | null;
126
+ childCategoryList: {
127
+ id: string;
128
+ value: string;
129
+ level: 2 | 1 | 3;
130
+ parentId: string | null;
131
+ childCategoryList: any[];
132
+ }[];
133
+ }[];
134
+ }, {
135
+ id: string;
136
+ value: string;
137
+ createdAt: Date;
138
+ updatedAt: Date;
139
+ deletedAt: Date | null;
140
+ level: 2 | 1 | 3;
141
+ parentId: string | null;
142
+ childCategoryList: {
143
+ id: string;
144
+ value: string;
145
+ level: 2 | 1 | 3;
146
+ parentId: string | null;
147
+ childCategoryList: {
148
+ id: string;
149
+ value: string;
150
+ level: 2 | 1 | 3;
151
+ parentId: string | null;
152
+ childCategoryList: any[];
153
+ }[];
154
+ }[];
155
+ }>, "many">;
156
+ callFrom: z.ZodNullable<z.ZodString>;
157
+ callTo: z.ZodNullable<z.ZodString>;
57
158
  }, "strip", z.ZodTypeAny, {
159
+ type: string;
58
160
  id: string;
59
161
  disposition: string | null;
60
162
  createdAt: Date;
61
163
  updatedAt: Date;
62
164
  deletedAt: Date | null;
165
+ categories: {
166
+ id: string;
167
+ value: string;
168
+ createdAt: Date;
169
+ updatedAt: Date;
170
+ deletedAt: Date | null;
171
+ level: 2 | 1 | 3;
172
+ parentId: string | null;
173
+ childCategoryList: {
174
+ id: string;
175
+ value: string;
176
+ level: 2 | 1 | 3;
177
+ parentId: string | null;
178
+ childCategoryList: {
179
+ id: string;
180
+ value: string;
181
+ level: 2 | 1 | 3;
182
+ parentId: string | null;
183
+ childCategoryList: any[];
184
+ }[];
185
+ }[];
186
+ }[];
63
187
  tags: {
64
188
  id: string;
65
189
  name: string;
@@ -71,11 +195,34 @@ export declare const wrapUpFormContract: {
71
195
  callTo: string | null;
72
196
  note: string | null;
73
197
  }, {
198
+ type: string;
74
199
  id: string;
75
200
  disposition: string | null;
76
201
  createdAt: Date;
77
202
  updatedAt: Date;
78
203
  deletedAt: Date | null;
204
+ categories: {
205
+ id: string;
206
+ value: string;
207
+ createdAt: Date;
208
+ updatedAt: Date;
209
+ deletedAt: Date | null;
210
+ level: 2 | 1 | 3;
211
+ parentId: string | null;
212
+ childCategoryList: {
213
+ id: string;
214
+ value: string;
215
+ level: 2 | 1 | 3;
216
+ parentId: string | null;
217
+ childCategoryList: {
218
+ id: string;
219
+ value: string;
220
+ level: 2 | 1 | 3;
221
+ parentId: string | null;
222
+ childCategoryList: any[];
223
+ }[];
224
+ }[];
225
+ }[];
79
226
  tags: {
80
227
  id: string;
81
228
  name: string;
@@ -90,11 +237,34 @@ export declare const wrapUpFormContract: {
90
237
  }, "strip", z.ZodTypeAny, {
91
238
  requestId: string;
92
239
  wrapUpForm: {
240
+ type: string;
93
241
  id: string;
94
242
  disposition: string | null;
95
243
  createdAt: Date;
96
244
  updatedAt: Date;
97
245
  deletedAt: Date | null;
246
+ categories: {
247
+ id: string;
248
+ value: string;
249
+ createdAt: Date;
250
+ updatedAt: Date;
251
+ deletedAt: Date | null;
252
+ level: 2 | 1 | 3;
253
+ parentId: string | null;
254
+ childCategoryList: {
255
+ id: string;
256
+ value: string;
257
+ level: 2 | 1 | 3;
258
+ parentId: string | null;
259
+ childCategoryList: {
260
+ id: string;
261
+ value: string;
262
+ level: 2 | 1 | 3;
263
+ parentId: string | null;
264
+ childCategoryList: any[];
265
+ }[];
266
+ }[];
267
+ }[];
98
268
  tags: {
99
269
  id: string;
100
270
  name: string;
@@ -109,11 +279,34 @@ export declare const wrapUpFormContract: {
109
279
  }, {
110
280
  requestId: string;
111
281
  wrapUpForm: {
282
+ type: string;
112
283
  id: string;
113
284
  disposition: string | null;
114
285
  createdAt: Date;
115
286
  updatedAt: Date;
116
287
  deletedAt: Date | null;
288
+ categories: {
289
+ id: string;
290
+ value: string;
291
+ createdAt: Date;
292
+ updatedAt: Date;
293
+ deletedAt: Date | null;
294
+ level: 2 | 1 | 3;
295
+ parentId: string | null;
296
+ childCategoryList: {
297
+ id: string;
298
+ value: string;
299
+ level: 2 | 1 | 3;
300
+ parentId: string | null;
301
+ childCategoryList: {
302
+ id: string;
303
+ value: string;
304
+ level: 2 | 1 | 3;
305
+ parentId: string | null;
306
+ childCategoryList: any[];
307
+ }[];
308
+ }[];
309
+ }[];
117
310
  tags: {
118
311
  id: string;
119
312
  name: string;
@@ -200,8 +393,7 @@ export declare const wrapUpFormContract: {
200
393
  deletedAt: z.ZodNullable<z.ZodDate>;
201
394
  note: z.ZodNullable<z.ZodString>;
202
395
  disposition: z.ZodNullable<z.ZodString>;
203
- callFrom: z.ZodNullable<z.ZodString>;
204
- callTo: z.ZodNullable<z.ZodString>;
396
+ type: z.ZodString;
205
397
  tags: z.ZodArray<z.ZodObject<{
206
398
  id: z.ZodString;
207
399
  createdAt: z.ZodDate;
@@ -221,12 +413,137 @@ export declare const wrapUpFormContract: {
221
413
  updatedAt: Date;
222
414
  deletedAt: Date | null;
223
415
  }>, "many">;
416
+ categories: z.ZodArray<z.ZodObject<{
417
+ id: z.ZodString;
418
+ createdAt: z.ZodDate;
419
+ updatedAt: z.ZodDate;
420
+ deletedAt: z.ZodNullable<z.ZodDate>;
421
+ value: z.ZodString;
422
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
423
+ parentId: z.ZodNullable<z.ZodString>;
424
+ childCategoryList: z.ZodArray<z.ZodObject<{
425
+ id: z.ZodString;
426
+ value: z.ZodString;
427
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
428
+ parentId: z.ZodNullable<z.ZodString>;
429
+ childCategoryList: z.ZodArray<z.ZodObject<{
430
+ id: z.ZodString;
431
+ value: z.ZodString;
432
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
433
+ parentId: z.ZodNullable<z.ZodString>;
434
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
435
+ }, "strip", z.ZodTypeAny, {
436
+ id: string;
437
+ value: string;
438
+ level: 2 | 1 | 3;
439
+ parentId: string | null;
440
+ childCategoryList: any[];
441
+ }, {
442
+ id: string;
443
+ value: string;
444
+ level: 2 | 1 | 3;
445
+ parentId: string | null;
446
+ childCategoryList: any[];
447
+ }>, "many">;
448
+ }, "strip", z.ZodTypeAny, {
449
+ id: string;
450
+ value: string;
451
+ level: 2 | 1 | 3;
452
+ parentId: string | null;
453
+ childCategoryList: {
454
+ id: string;
455
+ value: string;
456
+ level: 2 | 1 | 3;
457
+ parentId: string | null;
458
+ childCategoryList: any[];
459
+ }[];
460
+ }, {
461
+ id: string;
462
+ value: string;
463
+ level: 2 | 1 | 3;
464
+ parentId: string | null;
465
+ childCategoryList: {
466
+ id: string;
467
+ value: string;
468
+ level: 2 | 1 | 3;
469
+ parentId: string | null;
470
+ childCategoryList: any[];
471
+ }[];
472
+ }>, "many">;
473
+ }, "strip", z.ZodTypeAny, {
474
+ id: string;
475
+ value: string;
476
+ createdAt: Date;
477
+ updatedAt: Date;
478
+ deletedAt: Date | null;
479
+ level: 2 | 1 | 3;
480
+ parentId: string | null;
481
+ childCategoryList: {
482
+ id: string;
483
+ value: string;
484
+ level: 2 | 1 | 3;
485
+ parentId: string | null;
486
+ childCategoryList: {
487
+ id: string;
488
+ value: string;
489
+ level: 2 | 1 | 3;
490
+ parentId: string | null;
491
+ childCategoryList: any[];
492
+ }[];
493
+ }[];
494
+ }, {
495
+ id: string;
496
+ value: string;
497
+ createdAt: Date;
498
+ updatedAt: Date;
499
+ deletedAt: Date | null;
500
+ level: 2 | 1 | 3;
501
+ parentId: string | null;
502
+ childCategoryList: {
503
+ id: string;
504
+ value: string;
505
+ level: 2 | 1 | 3;
506
+ parentId: string | null;
507
+ childCategoryList: {
508
+ id: string;
509
+ value: string;
510
+ level: 2 | 1 | 3;
511
+ parentId: string | null;
512
+ childCategoryList: any[];
513
+ }[];
514
+ }[];
515
+ }>, "many">;
516
+ callFrom: z.ZodNullable<z.ZodString>;
517
+ callTo: z.ZodNullable<z.ZodString>;
224
518
  }, "strip", z.ZodTypeAny, {
519
+ type: string;
225
520
  id: string;
226
521
  disposition: string | null;
227
522
  createdAt: Date;
228
523
  updatedAt: Date;
229
524
  deletedAt: Date | null;
525
+ categories: {
526
+ id: string;
527
+ value: string;
528
+ createdAt: Date;
529
+ updatedAt: Date;
530
+ deletedAt: Date | null;
531
+ level: 2 | 1 | 3;
532
+ parentId: string | null;
533
+ childCategoryList: {
534
+ id: string;
535
+ value: string;
536
+ level: 2 | 1 | 3;
537
+ parentId: string | null;
538
+ childCategoryList: {
539
+ id: string;
540
+ value: string;
541
+ level: 2 | 1 | 3;
542
+ parentId: string | null;
543
+ childCategoryList: any[];
544
+ }[];
545
+ }[];
546
+ }[];
230
547
  tags: {
231
548
  id: string;
232
549
  name: string;
@@ -238,11 +555,34 @@ export declare const wrapUpFormContract: {
238
555
  callTo: string | null;
239
556
  note: string | null;
240
557
  }, {
558
+ type: string;
241
559
  id: string;
242
560
  disposition: string | null;
243
561
  createdAt: Date;
244
562
  updatedAt: Date;
245
563
  deletedAt: Date | null;
564
+ categories: {
565
+ id: string;
566
+ value: string;
567
+ createdAt: Date;
568
+ updatedAt: Date;
569
+ deletedAt: Date | null;
570
+ level: 2 | 1 | 3;
571
+ parentId: string | null;
572
+ childCategoryList: {
573
+ id: string;
574
+ value: string;
575
+ level: 2 | 1 | 3;
576
+ parentId: string | null;
577
+ childCategoryList: {
578
+ id: string;
579
+ value: string;
580
+ level: 2 | 1 | 3;
581
+ parentId: string | null;
582
+ childCategoryList: any[];
583
+ }[];
584
+ }[];
585
+ }[];
246
586
  tags: {
247
587
  id: string;
248
588
  name: string;
@@ -257,11 +597,34 @@ export declare const wrapUpFormContract: {
257
597
  }, "strip", z.ZodTypeAny, {
258
598
  requestId: string;
259
599
  wrapUpForm: {
600
+ type: string;
260
601
  id: string;
261
602
  disposition: string | null;
262
603
  createdAt: Date;
263
604
  updatedAt: Date;
264
605
  deletedAt: Date | null;
606
+ categories: {
607
+ id: string;
608
+ value: string;
609
+ createdAt: Date;
610
+ updatedAt: Date;
611
+ deletedAt: Date | null;
612
+ level: 2 | 1 | 3;
613
+ parentId: string | null;
614
+ childCategoryList: {
615
+ id: string;
616
+ value: string;
617
+ level: 2 | 1 | 3;
618
+ parentId: string | null;
619
+ childCategoryList: {
620
+ id: string;
621
+ value: string;
622
+ level: 2 | 1 | 3;
623
+ parentId: string | null;
624
+ childCategoryList: any[];
625
+ }[];
626
+ }[];
627
+ }[];
265
628
  tags: {
266
629
  id: string;
267
630
  name: string;
@@ -276,11 +639,34 @@ export declare const wrapUpFormContract: {
276
639
  }, {
277
640
  requestId: string;
278
641
  wrapUpForm: {
642
+ type: string;
279
643
  id: string;
280
644
  disposition: string | null;
281
645
  createdAt: Date;
282
646
  updatedAt: Date;
283
647
  deletedAt: Date | null;
648
+ categories: {
649
+ id: string;
650
+ value: string;
651
+ createdAt: Date;
652
+ updatedAt: Date;
653
+ deletedAt: Date | null;
654
+ level: 2 | 1 | 3;
655
+ parentId: string | null;
656
+ childCategoryList: {
657
+ id: string;
658
+ value: string;
659
+ level: 2 | 1 | 3;
660
+ parentId: string | null;
661
+ childCategoryList: {
662
+ id: string;
663
+ value: string;
664
+ level: 2 | 1 | 3;
665
+ parentId: string | null;
666
+ childCategoryList: any[];
667
+ }[];
668
+ }[];
669
+ }[];
284
670
  tags: {
285
671
  id: string;
286
672
  name: string;
@@ -336,11 +722,34 @@ export declare const wrapUpFormContract: {
336
722
  pageSize: z.ZodDefault<z.ZodNumber>;
337
723
  lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
338
724
  data: z.ZodArray<z.ZodType<{
725
+ type: string;
339
726
  id: string;
340
727
  disposition: string | null;
341
728
  createdAt: Date;
342
729
  updatedAt: Date;
343
730
  deletedAt: Date | null;
731
+ categories: {
732
+ id: string;
733
+ value: string;
734
+ createdAt: Date;
735
+ updatedAt: Date;
736
+ deletedAt: Date | null;
737
+ level: 2 | 1 | 3;
738
+ parentId: string | null;
739
+ childCategoryList: {
740
+ id: string;
741
+ value: string;
742
+ level: 2 | 1 | 3;
743
+ parentId: string | null;
744
+ childCategoryList: {
745
+ id: string;
746
+ value: string;
747
+ level: 2 | 1 | 3;
748
+ parentId: string | null;
749
+ childCategoryList: any[];
750
+ }[];
751
+ }[];
752
+ }[];
344
753
  tags: {
345
754
  id: string;
346
755
  name: string;
@@ -352,11 +761,34 @@ export declare const wrapUpFormContract: {
352
761
  callTo: string | null;
353
762
  note: string | null;
354
763
  }, z.ZodTypeDef, {
764
+ type: string;
355
765
  id: string;
356
766
  disposition: string | null;
357
767
  createdAt: Date;
358
768
  updatedAt: Date;
359
769
  deletedAt: Date | null;
770
+ categories: {
771
+ id: string;
772
+ value: string;
773
+ createdAt: Date;
774
+ updatedAt: Date;
775
+ deletedAt: Date | null;
776
+ level: 2 | 1 | 3;
777
+ parentId: string | null;
778
+ childCategoryList: {
779
+ id: string;
780
+ value: string;
781
+ level: 2 | 1 | 3;
782
+ parentId: string | null;
783
+ childCategoryList: {
784
+ id: string;
785
+ value: string;
786
+ level: 2 | 1 | 3;
787
+ parentId: string | null;
788
+ childCategoryList: any[];
789
+ }[];
790
+ }[];
791
+ }[];
360
792
  tags: {
361
793
  id: string;
362
794
  name: string;
@@ -370,11 +802,34 @@ export declare const wrapUpFormContract: {
370
802
  }>, "many">;
371
803
  }, "strip", z.ZodTypeAny, {
372
804
  data: {
805
+ type: string;
373
806
  id: string;
374
807
  disposition: string | null;
375
808
  createdAt: Date;
376
809
  updatedAt: Date;
377
810
  deletedAt: Date | null;
811
+ categories: {
812
+ id: string;
813
+ value: string;
814
+ createdAt: Date;
815
+ updatedAt: Date;
816
+ deletedAt: Date | null;
817
+ level: 2 | 1 | 3;
818
+ parentId: string | null;
819
+ childCategoryList: {
820
+ id: string;
821
+ value: string;
822
+ level: 2 | 1 | 3;
823
+ parentId: string | null;
824
+ childCategoryList: {
825
+ id: string;
826
+ value: string;
827
+ level: 2 | 1 | 3;
828
+ parentId: string | null;
829
+ childCategoryList: any[];
830
+ }[];
831
+ }[];
832
+ }[];
378
833
  tags: {
379
834
  id: string;
380
835
  name: string;
@@ -392,11 +847,34 @@ export declare const wrapUpFormContract: {
392
847
  lastPage?: number | null | undefined;
393
848
  }, {
394
849
  data: {
850
+ type: string;
395
851
  id: string;
396
852
  disposition: string | null;
397
853
  createdAt: Date;
398
854
  updatedAt: Date;
399
855
  deletedAt: Date | null;
856
+ categories: {
857
+ id: string;
858
+ value: string;
859
+ createdAt: Date;
860
+ updatedAt: Date;
861
+ deletedAt: Date | null;
862
+ level: 2 | 1 | 3;
863
+ parentId: string | null;
864
+ childCategoryList: {
865
+ id: string;
866
+ value: string;
867
+ level: 2 | 1 | 3;
868
+ parentId: string | null;
869
+ childCategoryList: {
870
+ id: string;
871
+ value: string;
872
+ level: 2 | 1 | 3;
873
+ parentId: string | null;
874
+ childCategoryList: any[];
875
+ }[];
876
+ }[];
877
+ }[];
400
878
  tags: {
401
879
  id: string;
402
880
  name: string;
@@ -465,19 +943,48 @@ export declare const wrapUpFormContract: {
465
943
  callFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
466
944
  callTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
467
945
  note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
946
+ type: z.ZodOptional<z.ZodString>;
468
947
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
948
+ categoryIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
949
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
950
+ id: z.ZodString;
951
+ type: z.ZodString;
952
+ value: z.ZodString;
953
+ }, "strip", z.ZodTypeAny, {
954
+ type: string;
955
+ id: string;
956
+ value: string;
957
+ }, {
958
+ type: string;
959
+ id: string;
960
+ value: string;
961
+ }>, "many">>;
469
962
  }, "strip", z.ZodTypeAny, {
470
963
  disposition?: string | null | undefined;
471
964
  callFrom?: string | null | undefined;
472
965
  callTo?: string | null | undefined;
473
966
  note?: string | null | undefined;
967
+ type?: string | undefined;
474
968
  tags?: string[] | undefined;
969
+ categoryIds?: string[] | undefined;
970
+ customFields?: {
971
+ type: string;
972
+ id: string;
973
+ value: string;
974
+ }[] | undefined;
475
975
  }, {
476
976
  disposition?: string | null | undefined;
477
977
  callFrom?: string | null | undefined;
478
978
  callTo?: string | null | undefined;
479
979
  note?: string | null | undefined;
980
+ type?: string | undefined;
480
981
  tags?: string[] | undefined;
982
+ categoryIds?: string[] | undefined;
983
+ customFields?: {
984
+ type: string;
985
+ id: string;
986
+ value: string;
987
+ }[] | undefined;
481
988
  }>;
482
989
  summary: "Update a wrap up form.";
483
990
  method: "PATCH";
@@ -498,8 +1005,7 @@ export declare const wrapUpFormContract: {
498
1005
  deletedAt: z.ZodNullable<z.ZodDate>;
499
1006
  note: z.ZodNullable<z.ZodString>;
500
1007
  disposition: z.ZodNullable<z.ZodString>;
501
- callFrom: z.ZodNullable<z.ZodString>;
502
- callTo: z.ZodNullable<z.ZodString>;
1008
+ type: z.ZodString;
503
1009
  tags: z.ZodArray<z.ZodObject<{
504
1010
  id: z.ZodString;
505
1011
  createdAt: z.ZodDate;
@@ -519,12 +1025,137 @@ export declare const wrapUpFormContract: {
519
1025
  updatedAt: Date;
520
1026
  deletedAt: Date | null;
521
1027
  }>, "many">;
1028
+ categories: z.ZodArray<z.ZodObject<{
1029
+ id: z.ZodString;
1030
+ createdAt: z.ZodDate;
1031
+ updatedAt: z.ZodDate;
1032
+ deletedAt: z.ZodNullable<z.ZodDate>;
1033
+ value: z.ZodString;
1034
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1035
+ parentId: z.ZodNullable<z.ZodString>;
1036
+ childCategoryList: z.ZodArray<z.ZodObject<{
1037
+ id: z.ZodString;
1038
+ value: z.ZodString;
1039
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1040
+ parentId: z.ZodNullable<z.ZodString>;
1041
+ childCategoryList: z.ZodArray<z.ZodObject<{
1042
+ id: z.ZodString;
1043
+ value: z.ZodString;
1044
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1045
+ parentId: z.ZodNullable<z.ZodString>;
1046
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ id: string;
1049
+ value: string;
1050
+ level: 2 | 1 | 3;
1051
+ parentId: string | null;
1052
+ childCategoryList: any[];
1053
+ }, {
1054
+ id: string;
1055
+ value: string;
1056
+ level: 2 | 1 | 3;
1057
+ parentId: string | null;
1058
+ childCategoryList: any[];
1059
+ }>, "many">;
1060
+ }, "strip", z.ZodTypeAny, {
1061
+ id: string;
1062
+ value: string;
1063
+ level: 2 | 1 | 3;
1064
+ parentId: string | null;
1065
+ childCategoryList: {
1066
+ id: string;
1067
+ value: string;
1068
+ level: 2 | 1 | 3;
1069
+ parentId: string | null;
1070
+ childCategoryList: any[];
1071
+ }[];
1072
+ }, {
1073
+ id: string;
1074
+ value: string;
1075
+ level: 2 | 1 | 3;
1076
+ parentId: string | null;
1077
+ childCategoryList: {
1078
+ id: string;
1079
+ value: string;
1080
+ level: 2 | 1 | 3;
1081
+ parentId: string | null;
1082
+ childCategoryList: any[];
1083
+ }[];
1084
+ }>, "many">;
1085
+ }, "strip", z.ZodTypeAny, {
1086
+ id: string;
1087
+ value: string;
1088
+ createdAt: Date;
1089
+ updatedAt: Date;
1090
+ deletedAt: Date | null;
1091
+ level: 2 | 1 | 3;
1092
+ parentId: string | null;
1093
+ childCategoryList: {
1094
+ id: string;
1095
+ value: string;
1096
+ level: 2 | 1 | 3;
1097
+ parentId: string | null;
1098
+ childCategoryList: {
1099
+ id: string;
1100
+ value: string;
1101
+ level: 2 | 1 | 3;
1102
+ parentId: string | null;
1103
+ childCategoryList: any[];
1104
+ }[];
1105
+ }[];
1106
+ }, {
1107
+ id: string;
1108
+ value: string;
1109
+ createdAt: Date;
1110
+ updatedAt: Date;
1111
+ deletedAt: Date | null;
1112
+ level: 2 | 1 | 3;
1113
+ parentId: string | null;
1114
+ childCategoryList: {
1115
+ id: string;
1116
+ value: string;
1117
+ level: 2 | 1 | 3;
1118
+ parentId: string | null;
1119
+ childCategoryList: {
1120
+ id: string;
1121
+ value: string;
1122
+ level: 2 | 1 | 3;
1123
+ parentId: string | null;
1124
+ childCategoryList: any[];
1125
+ }[];
1126
+ }[];
1127
+ }>, "many">;
1128
+ callFrom: z.ZodNullable<z.ZodString>;
1129
+ callTo: z.ZodNullable<z.ZodString>;
522
1130
  }, "strip", z.ZodTypeAny, {
1131
+ type: string;
523
1132
  id: string;
524
1133
  disposition: string | null;
525
1134
  createdAt: Date;
526
1135
  updatedAt: Date;
527
1136
  deletedAt: Date | null;
1137
+ categories: {
1138
+ id: string;
1139
+ value: string;
1140
+ createdAt: Date;
1141
+ updatedAt: Date;
1142
+ deletedAt: Date | null;
1143
+ level: 2 | 1 | 3;
1144
+ parentId: string | null;
1145
+ childCategoryList: {
1146
+ id: string;
1147
+ value: string;
1148
+ level: 2 | 1 | 3;
1149
+ parentId: string | null;
1150
+ childCategoryList: {
1151
+ id: string;
1152
+ value: string;
1153
+ level: 2 | 1 | 3;
1154
+ parentId: string | null;
1155
+ childCategoryList: any[];
1156
+ }[];
1157
+ }[];
1158
+ }[];
528
1159
  tags: {
529
1160
  id: string;
530
1161
  name: string;
@@ -536,11 +1167,34 @@ export declare const wrapUpFormContract: {
536
1167
  callTo: string | null;
537
1168
  note: string | null;
538
1169
  }, {
1170
+ type: string;
539
1171
  id: string;
540
1172
  disposition: string | null;
541
1173
  createdAt: Date;
542
1174
  updatedAt: Date;
543
1175
  deletedAt: Date | null;
1176
+ categories: {
1177
+ id: string;
1178
+ value: string;
1179
+ createdAt: Date;
1180
+ updatedAt: Date;
1181
+ deletedAt: Date | null;
1182
+ level: 2 | 1 | 3;
1183
+ parentId: string | null;
1184
+ childCategoryList: {
1185
+ id: string;
1186
+ value: string;
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: any[];
1195
+ }[];
1196
+ }[];
1197
+ }[];
544
1198
  tags: {
545
1199
  id: string;
546
1200
  name: string;
@@ -555,11 +1209,34 @@ export declare const wrapUpFormContract: {
555
1209
  }, "strip", z.ZodTypeAny, {
556
1210
  requestId: string;
557
1211
  wrapUpForm: {
1212
+ type: string;
558
1213
  id: string;
559
1214
  disposition: string | null;
560
1215
  createdAt: Date;
561
1216
  updatedAt: Date;
562
1217
  deletedAt: Date | null;
1218
+ categories: {
1219
+ id: string;
1220
+ value: string;
1221
+ createdAt: Date;
1222
+ updatedAt: Date;
1223
+ deletedAt: Date | null;
1224
+ level: 2 | 1 | 3;
1225
+ parentId: string | null;
1226
+ childCategoryList: {
1227
+ id: string;
1228
+ value: string;
1229
+ level: 2 | 1 | 3;
1230
+ parentId: string | null;
1231
+ childCategoryList: {
1232
+ id: string;
1233
+ value: string;
1234
+ level: 2 | 1 | 3;
1235
+ parentId: string | null;
1236
+ childCategoryList: any[];
1237
+ }[];
1238
+ }[];
1239
+ }[];
563
1240
  tags: {
564
1241
  id: string;
565
1242
  name: string;
@@ -574,11 +1251,34 @@ export declare const wrapUpFormContract: {
574
1251
  }, {
575
1252
  requestId: string;
576
1253
  wrapUpForm: {
1254
+ type: string;
577
1255
  id: string;
578
1256
  disposition: string | null;
579
1257
  createdAt: Date;
580
1258
  updatedAt: Date;
581
1259
  deletedAt: Date | null;
1260
+ categories: {
1261
+ id: string;
1262
+ value: string;
1263
+ createdAt: Date;
1264
+ updatedAt: Date;
1265
+ deletedAt: Date | null;
1266
+ level: 2 | 1 | 3;
1267
+ parentId: string | null;
1268
+ childCategoryList: {
1269
+ id: string;
1270
+ value: string;
1271
+ level: 2 | 1 | 3;
1272
+ parentId: string | null;
1273
+ childCategoryList: {
1274
+ id: string;
1275
+ value: string;
1276
+ level: 2 | 1 | 3;
1277
+ parentId: string | null;
1278
+ childCategoryList: any[];
1279
+ }[];
1280
+ }[];
1281
+ }[];
582
1282
  tags: {
583
1283
  id: string;
584
1284
  name: string;