@kl1/contracts 1.1.23 → 1.1.24

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 +6 -30
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +6 -30
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +22 -4867
  6. package/dist/src/chat/index.d.ts.map +1 -1
  7. package/dist/src/chat/schema.d.ts +4 -764
  8. package/dist/src/chat/schema.d.ts.map +1 -1
  9. package/dist/src/chat/validation.d.ts +4 -974
  10. package/dist/src/chat/validation.d.ts.map +1 -1
  11. package/dist/src/contract.d.ts +44 -9413
  12. package/dist/src/contract.d.ts.map +1 -1
  13. package/dist/src/cx-log/index.d.ts +2 -347
  14. package/dist/src/cx-log/index.d.ts.map +1 -1
  15. package/dist/src/cx-log/schema.d.ts +4 -554
  16. package/dist/src/cx-log/schema.d.ts.map +1 -1
  17. package/dist/src/instagram/index.d.ts +2 -487
  18. package/dist/src/instagram/index.d.ts.map +1 -1
  19. package/dist/src/line/index.d.ts +2 -487
  20. package/dist/src/line/index.d.ts.map +1 -1
  21. package/dist/src/mail/mail-contract.d.ts +6 -1251
  22. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  23. package/dist/src/mail/room-contract.d.ts +6 -1251
  24. package/dist/src/mail/room-contract.d.ts.map +1 -1
  25. package/dist/src/mail/schemas/room-validation.schema.d.ts +2 -417
  26. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  27. package/dist/src/mail/schemas/room.schema.d.ts +2 -347
  28. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  29. package/dist/src/messenger/index.d.ts +2 -487
  30. package/dist/src/messenger/index.d.ts.map +1 -1
  31. package/dist/src/viber/index.d.ts +2 -487
  32. package/dist/src/viber/index.d.ts.map +1 -1
  33. package/dist/src/webchat/index.d.ts +2 -487
  34. package/dist/src/webchat/index.d.ts.map +1 -1
  35. package/dist/src/wrap-up-form/index.d.ts +6 -1000
  36. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  37. package/dist/src/wrap-up-form/schema.d.ts +2 -207
  38. package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
  39. package/dist/src/wrap-up-form/validation.d.ts +0 -29
  40. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  41. package/package.json +1 -1
@@ -33,7 +33,8 @@ 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
- type: z.ZodString;
36
+ callFrom: z.ZodNullable<z.ZodString>;
37
+ callTo: z.ZodNullable<z.ZodString>;
37
38
  tags: z.ZodArray<z.ZodObject<{
38
39
  id: z.ZodString;
39
40
  createdAt: z.ZodDate;
@@ -53,171 +54,12 @@ export declare const wrapUpFormContract: {
53
54
  updatedAt: Date;
54
55
  deletedAt: Date | null;
55
56
  }>, "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>;
158
- customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
159
- id: z.ZodString;
160
- createdAt: z.ZodDate;
161
- updatedAt: z.ZodDate;
162
- deletedAt: z.ZodNullable<z.ZodDate>;
163
- textValue: z.ZodNullable<z.ZodString>;
164
- booleanValue: z.ZodNullable<z.ZodBoolean>;
165
- numberValue: z.ZodNullable<z.ZodNumber>;
166
- dateValue: z.ZodNullable<z.ZodDate>;
167
- entityId: z.ZodString;
168
- attributeId: z.ZodString;
169
- }, "strip", z.ZodTypeAny, {
170
- id: string;
171
- createdAt: Date;
172
- updatedAt: Date;
173
- deletedAt: Date | null;
174
- entityId: string;
175
- attributeId: string;
176
- textValue: string | null;
177
- booleanValue: boolean | null;
178
- numberValue: number | null;
179
- dateValue: Date | null;
180
- }, {
181
- id: string;
182
- createdAt: Date;
183
- updatedAt: Date;
184
- deletedAt: Date | null;
185
- entityId: string;
186
- attributeId: string;
187
- textValue: string | null;
188
- booleanValue: boolean | null;
189
- numberValue: number | null;
190
- dateValue: Date | null;
191
- }>, "many">>>;
192
57
  }, "strip", z.ZodTypeAny, {
193
- type: string;
194
58
  id: string;
195
59
  disposition: string | null;
196
60
  createdAt: Date;
197
61
  updatedAt: Date;
198
62
  deletedAt: Date | null;
199
- categories: {
200
- id: string;
201
- value: string;
202
- createdAt: Date;
203
- updatedAt: Date;
204
- deletedAt: Date | null;
205
- level: 2 | 1 | 3;
206
- parentId: string | null;
207
- childCategoryList: {
208
- id: string;
209
- value: string;
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: any[];
218
- }[];
219
- }[];
220
- }[];
221
63
  tags: {
222
64
  id: string;
223
65
  name: string;
@@ -228,47 +70,12 @@ export declare const wrapUpFormContract: {
228
70
  callFrom: string | null;
229
71
  callTo: string | null;
230
72
  note: string | null;
231
- customFields?: {
232
- id: string;
233
- createdAt: Date;
234
- updatedAt: Date;
235
- deletedAt: Date | null;
236
- entityId: string;
237
- attributeId: string;
238
- textValue: string | null;
239
- booleanValue: boolean | null;
240
- numberValue: number | null;
241
- dateValue: Date | null;
242
- }[] | null | undefined;
243
73
  }, {
244
- type: string;
245
74
  id: string;
246
75
  disposition: string | null;
247
76
  createdAt: Date;
248
77
  updatedAt: Date;
249
78
  deletedAt: Date | null;
250
- categories: {
251
- id: string;
252
- value: string;
253
- createdAt: Date;
254
- updatedAt: Date;
255
- deletedAt: Date | null;
256
- level: 2 | 1 | 3;
257
- parentId: string | null;
258
- childCategoryList: {
259
- id: string;
260
- value: string;
261
- level: 2 | 1 | 3;
262
- parentId: string | null;
263
- childCategoryList: {
264
- id: string;
265
- value: string;
266
- level: 2 | 1 | 3;
267
- parentId: string | null;
268
- childCategoryList: any[];
269
- }[];
270
- }[];
271
- }[];
272
79
  tags: {
273
80
  id: string;
274
81
  name: string;
@@ -279,50 +86,15 @@ export declare const wrapUpFormContract: {
279
86
  callFrom: string | null;
280
87
  callTo: string | null;
281
88
  note: string | null;
282
- customFields?: {
283
- id: string;
284
- createdAt: Date;
285
- updatedAt: Date;
286
- deletedAt: Date | null;
287
- entityId: string;
288
- attributeId: string;
289
- textValue: string | null;
290
- booleanValue: boolean | null;
291
- numberValue: number | null;
292
- dateValue: Date | null;
293
- }[] | null | undefined;
294
89
  }>;
295
90
  }, "strip", z.ZodTypeAny, {
296
91
  requestId: string;
297
92
  wrapUpForm: {
298
- type: string;
299
93
  id: string;
300
94
  disposition: string | null;
301
95
  createdAt: Date;
302
96
  updatedAt: Date;
303
97
  deletedAt: Date | null;
304
- categories: {
305
- id: string;
306
- value: string;
307
- createdAt: Date;
308
- updatedAt: Date;
309
- deletedAt: Date | null;
310
- level: 2 | 1 | 3;
311
- parentId: string | null;
312
- childCategoryList: {
313
- id: string;
314
- value: string;
315
- level: 2 | 1 | 3;
316
- parentId: string | null;
317
- childCategoryList: {
318
- id: string;
319
- value: string;
320
- level: 2 | 1 | 3;
321
- parentId: string | null;
322
- childCategoryList: any[];
323
- }[];
324
- }[];
325
- }[];
326
98
  tags: {
327
99
  id: string;
328
100
  name: string;
@@ -333,50 +105,15 @@ export declare const wrapUpFormContract: {
333
105
  callFrom: string | null;
334
106
  callTo: string | null;
335
107
  note: string | null;
336
- customFields?: {
337
- id: string;
338
- createdAt: Date;
339
- updatedAt: Date;
340
- deletedAt: Date | null;
341
- entityId: string;
342
- attributeId: string;
343
- textValue: string | null;
344
- booleanValue: boolean | null;
345
- numberValue: number | null;
346
- dateValue: Date | null;
347
- }[] | null | undefined;
348
108
  };
349
109
  }, {
350
110
  requestId: string;
351
111
  wrapUpForm: {
352
- type: string;
353
112
  id: string;
354
113
  disposition: string | null;
355
114
  createdAt: Date;
356
115
  updatedAt: Date;
357
116
  deletedAt: Date | null;
358
- categories: {
359
- id: string;
360
- value: string;
361
- createdAt: Date;
362
- updatedAt: Date;
363
- deletedAt: Date | null;
364
- level: 2 | 1 | 3;
365
- parentId: string | null;
366
- childCategoryList: {
367
- id: string;
368
- value: string;
369
- level: 2 | 1 | 3;
370
- parentId: string | null;
371
- childCategoryList: {
372
- id: string;
373
- value: string;
374
- level: 2 | 1 | 3;
375
- parentId: string | null;
376
- childCategoryList: any[];
377
- }[];
378
- }[];
379
- }[];
380
117
  tags: {
381
118
  id: string;
382
119
  name: string;
@@ -387,18 +124,6 @@ export declare const wrapUpFormContract: {
387
124
  callFrom: string | null;
388
125
  callTo: string | null;
389
126
  note: string | null;
390
- customFields?: {
391
- id: string;
392
- createdAt: Date;
393
- updatedAt: Date;
394
- deletedAt: Date | null;
395
- entityId: string;
396
- attributeId: string;
397
- textValue: string | null;
398
- booleanValue: boolean | null;
399
- numberValue: number | null;
400
- dateValue: Date | null;
401
- }[] | null | undefined;
402
127
  };
403
128
  }>;
404
129
  400: z.ZodObject<{
@@ -475,7 +200,8 @@ export declare const wrapUpFormContract: {
475
200
  deletedAt: z.ZodNullable<z.ZodDate>;
476
201
  note: z.ZodNullable<z.ZodString>;
477
202
  disposition: z.ZodNullable<z.ZodString>;
478
- type: z.ZodString;
203
+ callFrom: z.ZodNullable<z.ZodString>;
204
+ callTo: z.ZodNullable<z.ZodString>;
479
205
  tags: z.ZodArray<z.ZodObject<{
480
206
  id: z.ZodString;
481
207
  createdAt: z.ZodDate;
@@ -495,171 +221,12 @@ export declare const wrapUpFormContract: {
495
221
  updatedAt: Date;
496
222
  deletedAt: Date | null;
497
223
  }>, "many">;
498
- categories: z.ZodArray<z.ZodObject<{
499
- id: z.ZodString;
500
- createdAt: z.ZodDate;
501
- updatedAt: z.ZodDate;
502
- deletedAt: z.ZodNullable<z.ZodDate>;
503
- value: z.ZodString;
504
- level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
505
- parentId: z.ZodNullable<z.ZodString>;
506
- childCategoryList: z.ZodArray<z.ZodObject<{
507
- id: z.ZodString;
508
- value: z.ZodString;
509
- level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
510
- parentId: z.ZodNullable<z.ZodString>;
511
- childCategoryList: z.ZodArray<z.ZodObject<{
512
- id: z.ZodString;
513
- value: z.ZodString;
514
- level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
515
- parentId: z.ZodNullable<z.ZodString>;
516
- childCategoryList: z.ZodArray<z.ZodAny, "many">;
517
- }, "strip", z.ZodTypeAny, {
518
- id: string;
519
- value: string;
520
- level: 2 | 1 | 3;
521
- parentId: string | null;
522
- childCategoryList: any[];
523
- }, {
524
- id: string;
525
- value: string;
526
- level: 2 | 1 | 3;
527
- parentId: string | null;
528
- childCategoryList: any[];
529
- }>, "many">;
530
- }, "strip", z.ZodTypeAny, {
531
- id: string;
532
- value: string;
533
- level: 2 | 1 | 3;
534
- parentId: string | null;
535
- childCategoryList: {
536
- id: string;
537
- value: string;
538
- level: 2 | 1 | 3;
539
- parentId: string | null;
540
- childCategoryList: any[];
541
- }[];
542
- }, {
543
- id: string;
544
- value: string;
545
- level: 2 | 1 | 3;
546
- parentId: string | null;
547
- childCategoryList: {
548
- id: string;
549
- value: string;
550
- level: 2 | 1 | 3;
551
- parentId: string | null;
552
- childCategoryList: any[];
553
- }[];
554
- }>, "many">;
555
- }, "strip", z.ZodTypeAny, {
556
- id: string;
557
- value: string;
558
- createdAt: Date;
559
- updatedAt: Date;
560
- deletedAt: Date | null;
561
- level: 2 | 1 | 3;
562
- parentId: string | null;
563
- childCategoryList: {
564
- id: string;
565
- value: string;
566
- level: 2 | 1 | 3;
567
- parentId: string | null;
568
- childCategoryList: {
569
- id: string;
570
- value: string;
571
- level: 2 | 1 | 3;
572
- parentId: string | null;
573
- childCategoryList: any[];
574
- }[];
575
- }[];
576
- }, {
577
- id: string;
578
- value: string;
579
- createdAt: Date;
580
- updatedAt: Date;
581
- deletedAt: Date | null;
582
- level: 2 | 1 | 3;
583
- parentId: string | null;
584
- childCategoryList: {
585
- id: string;
586
- value: string;
587
- level: 2 | 1 | 3;
588
- parentId: string | null;
589
- childCategoryList: {
590
- id: string;
591
- value: string;
592
- level: 2 | 1 | 3;
593
- parentId: string | null;
594
- childCategoryList: any[];
595
- }[];
596
- }[];
597
- }>, "many">;
598
- callFrom: z.ZodNullable<z.ZodString>;
599
- callTo: z.ZodNullable<z.ZodString>;
600
- customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
601
- id: z.ZodString;
602
- createdAt: z.ZodDate;
603
- updatedAt: z.ZodDate;
604
- deletedAt: z.ZodNullable<z.ZodDate>;
605
- textValue: z.ZodNullable<z.ZodString>;
606
- booleanValue: z.ZodNullable<z.ZodBoolean>;
607
- numberValue: z.ZodNullable<z.ZodNumber>;
608
- dateValue: z.ZodNullable<z.ZodDate>;
609
- entityId: z.ZodString;
610
- attributeId: z.ZodString;
611
- }, "strip", z.ZodTypeAny, {
612
- id: string;
613
- createdAt: Date;
614
- updatedAt: Date;
615
- deletedAt: Date | null;
616
- entityId: string;
617
- attributeId: string;
618
- textValue: string | null;
619
- booleanValue: boolean | null;
620
- numberValue: number | null;
621
- dateValue: Date | null;
622
- }, {
623
- id: string;
624
- createdAt: Date;
625
- updatedAt: Date;
626
- deletedAt: Date | null;
627
- entityId: string;
628
- attributeId: string;
629
- textValue: string | null;
630
- booleanValue: boolean | null;
631
- numberValue: number | null;
632
- dateValue: Date | null;
633
- }>, "many">>>;
634
224
  }, "strip", z.ZodTypeAny, {
635
- type: string;
636
225
  id: string;
637
226
  disposition: string | null;
638
227
  createdAt: Date;
639
228
  updatedAt: Date;
640
229
  deletedAt: Date | null;
641
- categories: {
642
- id: string;
643
- value: string;
644
- createdAt: Date;
645
- updatedAt: Date;
646
- deletedAt: Date | null;
647
- level: 2 | 1 | 3;
648
- parentId: string | null;
649
- childCategoryList: {
650
- id: string;
651
- value: string;
652
- level: 2 | 1 | 3;
653
- parentId: string | null;
654
- childCategoryList: {
655
- id: string;
656
- value: string;
657
- level: 2 | 1 | 3;
658
- parentId: string | null;
659
- childCategoryList: any[];
660
- }[];
661
- }[];
662
- }[];
663
230
  tags: {
664
231
  id: string;
665
232
  name: string;
@@ -670,47 +237,12 @@ export declare const wrapUpFormContract: {
670
237
  callFrom: string | null;
671
238
  callTo: string | null;
672
239
  note: string | null;
673
- customFields?: {
674
- id: string;
675
- createdAt: Date;
676
- updatedAt: Date;
677
- deletedAt: Date | null;
678
- entityId: string;
679
- attributeId: string;
680
- textValue: string | null;
681
- booleanValue: boolean | null;
682
- numberValue: number | null;
683
- dateValue: Date | null;
684
- }[] | null | undefined;
685
240
  }, {
686
- type: string;
687
241
  id: string;
688
242
  disposition: string | null;
689
243
  createdAt: Date;
690
244
  updatedAt: Date;
691
245
  deletedAt: Date | null;
692
- categories: {
693
- id: string;
694
- value: string;
695
- createdAt: Date;
696
- updatedAt: Date;
697
- deletedAt: Date | null;
698
- level: 2 | 1 | 3;
699
- parentId: string | null;
700
- childCategoryList: {
701
- id: string;
702
- value: string;
703
- level: 2 | 1 | 3;
704
- parentId: string | null;
705
- childCategoryList: {
706
- id: string;
707
- value: string;
708
- level: 2 | 1 | 3;
709
- parentId: string | null;
710
- childCategoryList: any[];
711
- }[];
712
- }[];
713
- }[];
714
246
  tags: {
715
247
  id: string;
716
248
  name: string;
@@ -721,50 +253,15 @@ export declare const wrapUpFormContract: {
721
253
  callFrom: string | null;
722
254
  callTo: string | null;
723
255
  note: string | null;
724
- customFields?: {
725
- id: string;
726
- createdAt: Date;
727
- updatedAt: Date;
728
- deletedAt: Date | null;
729
- entityId: string;
730
- attributeId: string;
731
- textValue: string | null;
732
- booleanValue: boolean | null;
733
- numberValue: number | null;
734
- dateValue: Date | null;
735
- }[] | null | undefined;
736
256
  }>;
737
257
  }, "strip", z.ZodTypeAny, {
738
258
  requestId: string;
739
259
  wrapUpForm: {
740
- type: string;
741
260
  id: string;
742
261
  disposition: string | null;
743
262
  createdAt: Date;
744
263
  updatedAt: Date;
745
264
  deletedAt: Date | null;
746
- categories: {
747
- id: string;
748
- value: string;
749
- createdAt: Date;
750
- updatedAt: Date;
751
- deletedAt: Date | null;
752
- level: 2 | 1 | 3;
753
- parentId: string | null;
754
- childCategoryList: {
755
- id: string;
756
- value: string;
757
- level: 2 | 1 | 3;
758
- parentId: string | null;
759
- childCategoryList: {
760
- id: string;
761
- value: string;
762
- level: 2 | 1 | 3;
763
- parentId: string | null;
764
- childCategoryList: any[];
765
- }[];
766
- }[];
767
- }[];
768
265
  tags: {
769
266
  id: string;
770
267
  name: string;
@@ -775,50 +272,15 @@ export declare const wrapUpFormContract: {
775
272
  callFrom: string | null;
776
273
  callTo: string | null;
777
274
  note: string | null;
778
- customFields?: {
779
- id: string;
780
- createdAt: Date;
781
- updatedAt: Date;
782
- deletedAt: Date | null;
783
- entityId: string;
784
- attributeId: string;
785
- textValue: string | null;
786
- booleanValue: boolean | null;
787
- numberValue: number | null;
788
- dateValue: Date | null;
789
- }[] | null | undefined;
790
275
  };
791
276
  }, {
792
277
  requestId: string;
793
278
  wrapUpForm: {
794
- type: string;
795
279
  id: string;
796
280
  disposition: string | null;
797
281
  createdAt: Date;
798
282
  updatedAt: Date;
799
283
  deletedAt: Date | null;
800
- categories: {
801
- id: string;
802
- value: string;
803
- createdAt: Date;
804
- updatedAt: Date;
805
- deletedAt: Date | null;
806
- level: 2 | 1 | 3;
807
- parentId: string | null;
808
- childCategoryList: {
809
- id: string;
810
- value: string;
811
- level: 2 | 1 | 3;
812
- parentId: string | null;
813
- childCategoryList: {
814
- id: string;
815
- value: string;
816
- level: 2 | 1 | 3;
817
- parentId: string | null;
818
- childCategoryList: any[];
819
- }[];
820
- }[];
821
- }[];
822
284
  tags: {
823
285
  id: string;
824
286
  name: string;
@@ -829,18 +291,6 @@ export declare const wrapUpFormContract: {
829
291
  callFrom: string | null;
830
292
  callTo: string | null;
831
293
  note: string | null;
832
- customFields?: {
833
- id: string;
834
- createdAt: Date;
835
- updatedAt: Date;
836
- deletedAt: Date | null;
837
- entityId: string;
838
- attributeId: string;
839
- textValue: string | null;
840
- booleanValue: boolean | null;
841
- numberValue: number | null;
842
- dateValue: Date | null;
843
- }[] | null | undefined;
844
294
  };
845
295
  }>;
846
296
  401: z.ZodObject<{
@@ -886,34 +336,11 @@ export declare const wrapUpFormContract: {
886
336
  pageSize: z.ZodDefault<z.ZodNumber>;
887
337
  lastPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
888
338
  data: z.ZodArray<z.ZodType<{
889
- type: string;
890
339
  id: string;
891
340
  disposition: string | null;
892
341
  createdAt: Date;
893
342
  updatedAt: Date;
894
343
  deletedAt: Date | null;
895
- categories: {
896
- id: string;
897
- value: string;
898
- createdAt: Date;
899
- updatedAt: Date;
900
- deletedAt: Date | null;
901
- level: 2 | 1 | 3;
902
- parentId: string | null;
903
- childCategoryList: {
904
- id: string;
905
- value: string;
906
- level: 2 | 1 | 3;
907
- parentId: string | null;
908
- childCategoryList: {
909
- id: string;
910
- value: string;
911
- level: 2 | 1 | 3;
912
- parentId: string | null;
913
- childCategoryList: any[];
914
- }[];
915
- }[];
916
- }[];
917
344
  tags: {
918
345
  id: string;
919
346
  name: string;
@@ -924,47 +351,12 @@ export declare const wrapUpFormContract: {
924
351
  callFrom: string | null;
925
352
  callTo: string | null;
926
353
  note: string | null;
927
- customFields?: {
928
- id: string;
929
- createdAt: Date;
930
- updatedAt: Date;
931
- deletedAt: Date | null;
932
- entityId: string;
933
- attributeId: string;
934
- textValue: string | null;
935
- booleanValue: boolean | null;
936
- numberValue: number | null;
937
- dateValue: Date | null;
938
- }[] | null | undefined;
939
354
  }, z.ZodTypeDef, {
940
- type: string;
941
355
  id: string;
942
356
  disposition: string | null;
943
357
  createdAt: Date;
944
358
  updatedAt: Date;
945
359
  deletedAt: Date | null;
946
- categories: {
947
- id: string;
948
- value: string;
949
- createdAt: Date;
950
- updatedAt: Date;
951
- deletedAt: Date | null;
952
- level: 2 | 1 | 3;
953
- parentId: string | null;
954
- childCategoryList: {
955
- id: string;
956
- value: string;
957
- level: 2 | 1 | 3;
958
- parentId: string | null;
959
- childCategoryList: {
960
- id: string;
961
- value: string;
962
- level: 2 | 1 | 3;
963
- parentId: string | null;
964
- childCategoryList: any[];
965
- }[];
966
- }[];
967
- }[];
968
360
  tags: {
969
361
  id: string;
970
362
  name: string;
@@ -975,49 +367,14 @@ export declare const wrapUpFormContract: {
975
367
  callFrom: string | null;
976
368
  callTo: string | null;
977
369
  note: string | null;
978
- customFields?: {
979
- id: string;
980
- createdAt: Date;
981
- updatedAt: Date;
982
- deletedAt: Date | null;
983
- entityId: string;
984
- attributeId: string;
985
- textValue: string | null;
986
- booleanValue: boolean | null;
987
- numberValue: number | null;
988
- dateValue: Date | null;
989
- }[] | null | undefined;
990
370
  }>, "many">;
991
371
  }, "strip", z.ZodTypeAny, {
992
372
  data: {
993
- type: string;
994
373
  id: string;
995
374
  disposition: string | null;
996
375
  createdAt: Date;
997
376
  updatedAt: Date;
998
377
  deletedAt: Date | null;
999
- categories: {
1000
- id: string;
1001
- value: string;
1002
- createdAt: Date;
1003
- updatedAt: Date;
1004
- deletedAt: Date | null;
1005
- level: 2 | 1 | 3;
1006
- parentId: string | null;
1007
- childCategoryList: {
1008
- id: string;
1009
- value: string;
1010
- level: 2 | 1 | 3;
1011
- parentId: string | null;
1012
- childCategoryList: {
1013
- id: string;
1014
- value: string;
1015
- level: 2 | 1 | 3;
1016
- parentId: string | null;
1017
- childCategoryList: any[];
1018
- }[];
1019
- }[];
1020
- }[];
1021
378
  tags: {
1022
379
  id: string;
1023
380
  name: string;
@@ -1028,18 +385,6 @@ export declare const wrapUpFormContract: {
1028
385
  callFrom: string | null;
1029
386
  callTo: string | null;
1030
387
  note: string | null;
1031
- customFields?: {
1032
- id: string;
1033
- createdAt: Date;
1034
- updatedAt: Date;
1035
- deletedAt: Date | null;
1036
- entityId: string;
1037
- attributeId: string;
1038
- textValue: string | null;
1039
- booleanValue: boolean | null;
1040
- numberValue: number | null;
1041
- dateValue: Date | null;
1042
- }[] | null | undefined;
1043
388
  }[];
1044
389
  total: number;
1045
390
  page: number;
@@ -1047,34 +392,11 @@ export declare const wrapUpFormContract: {
1047
392
  lastPage?: number | null | undefined;
1048
393
  }, {
1049
394
  data: {
1050
- type: string;
1051
395
  id: string;
1052
396
  disposition: string | null;
1053
397
  createdAt: Date;
1054
398
  updatedAt: Date;
1055
399
  deletedAt: Date | null;
1056
- categories: {
1057
- id: string;
1058
- value: string;
1059
- createdAt: Date;
1060
- updatedAt: Date;
1061
- deletedAt: Date | null;
1062
- level: 2 | 1 | 3;
1063
- parentId: string | null;
1064
- childCategoryList: {
1065
- id: string;
1066
- value: string;
1067
- level: 2 | 1 | 3;
1068
- parentId: string | null;
1069
- childCategoryList: {
1070
- id: string;
1071
- value: string;
1072
- level: 2 | 1 | 3;
1073
- parentId: string | null;
1074
- childCategoryList: any[];
1075
- }[];
1076
- }[];
1077
- }[];
1078
400
  tags: {
1079
401
  id: string;
1080
402
  name: string;
@@ -1085,18 +407,6 @@ export declare const wrapUpFormContract: {
1085
407
  callFrom: string | null;
1086
408
  callTo: string | null;
1087
409
  note: string | null;
1088
- customFields?: {
1089
- id: string;
1090
- createdAt: Date;
1091
- updatedAt: Date;
1092
- deletedAt: Date | null;
1093
- entityId: string;
1094
- attributeId: string;
1095
- textValue: string | null;
1096
- booleanValue: boolean | null;
1097
- numberValue: number | null;
1098
- dateValue: Date | null;
1099
- }[] | null | undefined;
1100
410
  }[];
1101
411
  total: number;
1102
412
  page?: number | undefined;
@@ -1155,48 +465,19 @@ export declare const wrapUpFormContract: {
1155
465
  callFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1156
466
  callTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1157
467
  note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1158
- type: z.ZodOptional<z.ZodString>;
1159
468
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1160
- categoryIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1161
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1162
- id: z.ZodString;
1163
- type: z.ZodString;
1164
- value: z.ZodString;
1165
- }, "strip", z.ZodTypeAny, {
1166
- type: string;
1167
- id: string;
1168
- value: string;
1169
- }, {
1170
- type: string;
1171
- id: string;
1172
- value: string;
1173
- }>, "many">>;
1174
469
  }, "strip", z.ZodTypeAny, {
1175
470
  disposition?: string | null | undefined;
1176
471
  callFrom?: string | null | undefined;
1177
472
  callTo?: string | null | undefined;
1178
473
  note?: string | null | undefined;
1179
- type?: string | undefined;
1180
474
  tags?: string[] | undefined;
1181
- categoryIds?: string[] | undefined;
1182
- customFields?: {
1183
- type: string;
1184
- id: string;
1185
- value: string;
1186
- }[] | undefined;
1187
475
  }, {
1188
476
  disposition?: string | null | undefined;
1189
477
  callFrom?: string | null | undefined;
1190
478
  callTo?: string | null | undefined;
1191
479
  note?: string | null | undefined;
1192
- type?: string | undefined;
1193
480
  tags?: string[] | undefined;
1194
- categoryIds?: string[] | undefined;
1195
- customFields?: {
1196
- type: string;
1197
- id: string;
1198
- value: string;
1199
- }[] | undefined;
1200
481
  }>;
1201
482
  summary: "Update a wrap up form.";
1202
483
  method: "PATCH";
@@ -1217,7 +498,8 @@ export declare const wrapUpFormContract: {
1217
498
  deletedAt: z.ZodNullable<z.ZodDate>;
1218
499
  note: z.ZodNullable<z.ZodString>;
1219
500
  disposition: z.ZodNullable<z.ZodString>;
1220
- type: z.ZodString;
501
+ callFrom: z.ZodNullable<z.ZodString>;
502
+ callTo: z.ZodNullable<z.ZodString>;
1221
503
  tags: z.ZodArray<z.ZodObject<{
1222
504
  id: z.ZodString;
1223
505
  createdAt: z.ZodDate;
@@ -1237,171 +519,12 @@ export declare const wrapUpFormContract: {
1237
519
  updatedAt: Date;
1238
520
  deletedAt: Date | null;
1239
521
  }>, "many">;
1240
- categories: z.ZodArray<z.ZodObject<{
1241
- id: z.ZodString;
1242
- createdAt: z.ZodDate;
1243
- updatedAt: z.ZodDate;
1244
- deletedAt: z.ZodNullable<z.ZodDate>;
1245
- value: z.ZodString;
1246
- level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1247
- parentId: z.ZodNullable<z.ZodString>;
1248
- childCategoryList: z.ZodArray<z.ZodObject<{
1249
- id: z.ZodString;
1250
- value: z.ZodString;
1251
- level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1252
- parentId: z.ZodNullable<z.ZodString>;
1253
- childCategoryList: z.ZodArray<z.ZodObject<{
1254
- id: z.ZodString;
1255
- value: z.ZodString;
1256
- level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1257
- parentId: z.ZodNullable<z.ZodString>;
1258
- childCategoryList: z.ZodArray<z.ZodAny, "many">;
1259
- }, "strip", z.ZodTypeAny, {
1260
- id: string;
1261
- value: string;
1262
- level: 2 | 1 | 3;
1263
- parentId: string | null;
1264
- childCategoryList: any[];
1265
- }, {
1266
- id: string;
1267
- value: string;
1268
- level: 2 | 1 | 3;
1269
- parentId: string | null;
1270
- childCategoryList: any[];
1271
- }>, "many">;
1272
- }, "strip", z.ZodTypeAny, {
1273
- id: string;
1274
- value: string;
1275
- level: 2 | 1 | 3;
1276
- parentId: string | null;
1277
- childCategoryList: {
1278
- id: string;
1279
- value: string;
1280
- level: 2 | 1 | 3;
1281
- parentId: string | null;
1282
- childCategoryList: any[];
1283
- }[];
1284
- }, {
1285
- id: string;
1286
- value: string;
1287
- level: 2 | 1 | 3;
1288
- parentId: string | null;
1289
- childCategoryList: {
1290
- id: string;
1291
- value: string;
1292
- level: 2 | 1 | 3;
1293
- parentId: string | null;
1294
- childCategoryList: any[];
1295
- }[];
1296
- }>, "many">;
1297
- }, "strip", z.ZodTypeAny, {
1298
- id: string;
1299
- value: string;
1300
- createdAt: Date;
1301
- updatedAt: Date;
1302
- deletedAt: Date | null;
1303
- level: 2 | 1 | 3;
1304
- parentId: string | null;
1305
- childCategoryList: {
1306
- id: string;
1307
- value: string;
1308
- level: 2 | 1 | 3;
1309
- parentId: string | null;
1310
- childCategoryList: {
1311
- id: string;
1312
- value: string;
1313
- level: 2 | 1 | 3;
1314
- parentId: string | null;
1315
- childCategoryList: any[];
1316
- }[];
1317
- }[];
1318
- }, {
1319
- id: string;
1320
- value: string;
1321
- createdAt: Date;
1322
- updatedAt: Date;
1323
- deletedAt: Date | null;
1324
- level: 2 | 1 | 3;
1325
- parentId: string | null;
1326
- childCategoryList: {
1327
- id: string;
1328
- value: string;
1329
- level: 2 | 1 | 3;
1330
- parentId: string | null;
1331
- childCategoryList: {
1332
- id: string;
1333
- value: string;
1334
- level: 2 | 1 | 3;
1335
- parentId: string | null;
1336
- childCategoryList: any[];
1337
- }[];
1338
- }[];
1339
- }>, "many">;
1340
- callFrom: z.ZodNullable<z.ZodString>;
1341
- callTo: z.ZodNullable<z.ZodString>;
1342
- customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1343
- id: z.ZodString;
1344
- createdAt: z.ZodDate;
1345
- updatedAt: z.ZodDate;
1346
- deletedAt: z.ZodNullable<z.ZodDate>;
1347
- textValue: z.ZodNullable<z.ZodString>;
1348
- booleanValue: z.ZodNullable<z.ZodBoolean>;
1349
- numberValue: z.ZodNullable<z.ZodNumber>;
1350
- dateValue: z.ZodNullable<z.ZodDate>;
1351
- entityId: z.ZodString;
1352
- attributeId: z.ZodString;
1353
- }, "strip", z.ZodTypeAny, {
1354
- id: string;
1355
- createdAt: Date;
1356
- updatedAt: Date;
1357
- deletedAt: Date | null;
1358
- entityId: string;
1359
- attributeId: string;
1360
- textValue: string | null;
1361
- booleanValue: boolean | null;
1362
- numberValue: number | null;
1363
- dateValue: Date | null;
1364
- }, {
1365
- id: string;
1366
- createdAt: Date;
1367
- updatedAt: Date;
1368
- deletedAt: Date | null;
1369
- entityId: string;
1370
- attributeId: string;
1371
- textValue: string | null;
1372
- booleanValue: boolean | null;
1373
- numberValue: number | null;
1374
- dateValue: Date | null;
1375
- }>, "many">>>;
1376
522
  }, "strip", z.ZodTypeAny, {
1377
- type: string;
1378
523
  id: string;
1379
524
  disposition: string | null;
1380
525
  createdAt: Date;
1381
526
  updatedAt: Date;
1382
527
  deletedAt: Date | null;
1383
- categories: {
1384
- id: string;
1385
- value: string;
1386
- createdAt: Date;
1387
- updatedAt: Date;
1388
- deletedAt: Date | null;
1389
- level: 2 | 1 | 3;
1390
- parentId: string | null;
1391
- childCategoryList: {
1392
- id: string;
1393
- value: string;
1394
- level: 2 | 1 | 3;
1395
- parentId: string | null;
1396
- childCategoryList: {
1397
- id: string;
1398
- value: string;
1399
- level: 2 | 1 | 3;
1400
- parentId: string | null;
1401
- childCategoryList: any[];
1402
- }[];
1403
- }[];
1404
- }[];
1405
528
  tags: {
1406
529
  id: string;
1407
530
  name: string;
@@ -1412,47 +535,12 @@ export declare const wrapUpFormContract: {
1412
535
  callFrom: string | null;
1413
536
  callTo: string | null;
1414
537
  note: string | null;
1415
- customFields?: {
1416
- id: string;
1417
- createdAt: Date;
1418
- updatedAt: Date;
1419
- deletedAt: Date | null;
1420
- entityId: string;
1421
- attributeId: string;
1422
- textValue: string | null;
1423
- booleanValue: boolean | null;
1424
- numberValue: number | null;
1425
- dateValue: Date | null;
1426
- }[] | null | undefined;
1427
538
  }, {
1428
- type: string;
1429
539
  id: string;
1430
540
  disposition: string | null;
1431
541
  createdAt: Date;
1432
542
  updatedAt: Date;
1433
543
  deletedAt: Date | null;
1434
- categories: {
1435
- id: string;
1436
- value: string;
1437
- createdAt: Date;
1438
- updatedAt: Date;
1439
- deletedAt: Date | null;
1440
- level: 2 | 1 | 3;
1441
- parentId: string | null;
1442
- childCategoryList: {
1443
- id: string;
1444
- value: string;
1445
- level: 2 | 1 | 3;
1446
- parentId: string | null;
1447
- childCategoryList: {
1448
- id: string;
1449
- value: string;
1450
- level: 2 | 1 | 3;
1451
- parentId: string | null;
1452
- childCategoryList: any[];
1453
- }[];
1454
- }[];
1455
- }[];
1456
544
  tags: {
1457
545
  id: string;
1458
546
  name: string;
@@ -1463,50 +551,15 @@ export declare const wrapUpFormContract: {
1463
551
  callFrom: string | null;
1464
552
  callTo: string | null;
1465
553
  note: string | null;
1466
- customFields?: {
1467
- id: string;
1468
- createdAt: Date;
1469
- updatedAt: Date;
1470
- deletedAt: Date | null;
1471
- entityId: string;
1472
- attributeId: string;
1473
- textValue: string | null;
1474
- booleanValue: boolean | null;
1475
- numberValue: number | null;
1476
- dateValue: Date | null;
1477
- }[] | null | undefined;
1478
554
  }>;
1479
555
  }, "strip", z.ZodTypeAny, {
1480
556
  requestId: string;
1481
557
  wrapUpForm: {
1482
- type: string;
1483
558
  id: string;
1484
559
  disposition: string | null;
1485
560
  createdAt: Date;
1486
561
  updatedAt: Date;
1487
562
  deletedAt: Date | null;
1488
- categories: {
1489
- id: string;
1490
- value: string;
1491
- createdAt: Date;
1492
- updatedAt: Date;
1493
- deletedAt: Date | null;
1494
- level: 2 | 1 | 3;
1495
- parentId: string | null;
1496
- childCategoryList: {
1497
- id: string;
1498
- value: string;
1499
- level: 2 | 1 | 3;
1500
- parentId: string | null;
1501
- childCategoryList: {
1502
- id: string;
1503
- value: string;
1504
- level: 2 | 1 | 3;
1505
- parentId: string | null;
1506
- childCategoryList: any[];
1507
- }[];
1508
- }[];
1509
- }[];
1510
563
  tags: {
1511
564
  id: string;
1512
565
  name: string;
@@ -1517,50 +570,15 @@ export declare const wrapUpFormContract: {
1517
570
  callFrom: string | null;
1518
571
  callTo: string | null;
1519
572
  note: string | null;
1520
- customFields?: {
1521
- id: string;
1522
- createdAt: Date;
1523
- updatedAt: Date;
1524
- deletedAt: Date | null;
1525
- entityId: string;
1526
- attributeId: string;
1527
- textValue: string | null;
1528
- booleanValue: boolean | null;
1529
- numberValue: number | null;
1530
- dateValue: Date | null;
1531
- }[] | null | undefined;
1532
573
  };
1533
574
  }, {
1534
575
  requestId: string;
1535
576
  wrapUpForm: {
1536
- type: string;
1537
577
  id: string;
1538
578
  disposition: string | null;
1539
579
  createdAt: Date;
1540
580
  updatedAt: Date;
1541
581
  deletedAt: Date | null;
1542
- categories: {
1543
- id: string;
1544
- value: string;
1545
- createdAt: Date;
1546
- updatedAt: Date;
1547
- deletedAt: Date | null;
1548
- level: 2 | 1 | 3;
1549
- parentId: string | null;
1550
- childCategoryList: {
1551
- id: string;
1552
- value: string;
1553
- level: 2 | 1 | 3;
1554
- parentId: string | null;
1555
- childCategoryList: {
1556
- id: string;
1557
- value: string;
1558
- level: 2 | 1 | 3;
1559
- parentId: string | null;
1560
- childCategoryList: any[];
1561
- }[];
1562
- }[];
1563
- }[];
1564
582
  tags: {
1565
583
  id: string;
1566
584
  name: string;
@@ -1571,18 +589,6 @@ export declare const wrapUpFormContract: {
1571
589
  callFrom: string | null;
1572
590
  callTo: string | null;
1573
591
  note: string | null;
1574
- customFields?: {
1575
- id: string;
1576
- createdAt: Date;
1577
- updatedAt: Date;
1578
- deletedAt: Date | null;
1579
- entityId: string;
1580
- attributeId: string;
1581
- textValue: string | null;
1582
- booleanValue: boolean | null;
1583
- numberValue: number | null;
1584
- dateValue: Date | null;
1585
- }[] | null | undefined;
1586
592
  };
1587
593
  }>;
1588
594
  400: z.ZodObject<{