@kl1/contracts 1.1.25-uat → 1.1.27-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 (47) hide show
  1. package/dist/index.js +349 -185
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +348 -185
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/business-calendar/index.d.ts +414 -0
  6. package/dist/src/business-calendar/index.d.ts.map +1 -0
  7. package/dist/src/business-calendar/schema.d.ts +99 -0
  8. package/dist/src/business-calendar/schema.d.ts.map +1 -0
  9. package/dist/src/business-calendar/validation.d.ts +260 -0
  10. package/dist/src/business-calendar/validation.d.ts.map +1 -0
  11. package/dist/src/chat/index.d.ts +4867 -22
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +764 -4
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +984 -14
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/contract.d.ts +9819 -44
  18. package/dist/src/contract.d.ts.map +1 -1
  19. package/dist/src/cx-log/index.d.ts +347 -2
  20. package/dist/src/cx-log/index.d.ts.map +1 -1
  21. package/dist/src/cx-log/schema.d.ts +554 -4
  22. package/dist/src/cx-log/schema.d.ts.map +1 -1
  23. package/dist/src/instagram/index.d.ts +487 -2
  24. package/dist/src/instagram/index.d.ts.map +1 -1
  25. package/dist/src/line/index.d.ts +487 -2
  26. package/dist/src/line/index.d.ts.map +1 -1
  27. package/dist/src/mail/mail-contract.d.ts +1251 -6
  28. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  29. package/dist/src/mail/room-contract.d.ts +1251 -6
  30. package/dist/src/mail/room-contract.d.ts.map +1 -1
  31. package/dist/src/mail/schemas/room-validation.schema.d.ts +417 -2
  32. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  33. package/dist/src/mail/schemas/room.schema.d.ts +347 -2
  34. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  35. package/dist/src/messenger/index.d.ts +487 -2
  36. package/dist/src/messenger/index.d.ts.map +1 -1
  37. package/dist/src/viber/index.d.ts +487 -2
  38. package/dist/src/viber/index.d.ts.map +1 -1
  39. package/dist/src/webchat/index.d.ts +487 -2
  40. package/dist/src/webchat/index.d.ts.map +1 -1
  41. package/dist/src/wrap-up-form/index.d.ts +997 -6
  42. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  43. package/dist/src/wrap-up-form/schema.d.ts +207 -2
  44. package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
  45. package/dist/src/wrap-up-form/validation.d.ts +26 -0
  46. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  47. package/package.json +1 -1
@@ -22,8 +22,7 @@ export declare const CxLogSchema: z.ZodObject<{
22
22
  deletedAt: z.ZodNullable<z.ZodDate>;
23
23
  note: z.ZodNullable<z.ZodString>;
24
24
  disposition: z.ZodNullable<z.ZodString>;
25
- callFrom: z.ZodNullable<z.ZodString>;
26
- callTo: z.ZodNullable<z.ZodString>;
25
+ type: z.ZodString;
27
26
  tags: z.ZodArray<z.ZodObject<{
28
27
  id: z.ZodString;
29
28
  createdAt: z.ZodDate;
@@ -43,12 +42,171 @@ export declare const CxLogSchema: z.ZodObject<{
43
42
  updatedAt: Date;
44
43
  deletedAt: Date | null;
45
44
  }>, "many">;
45
+ categories: z.ZodArray<z.ZodObject<{
46
+ id: z.ZodString;
47
+ createdAt: z.ZodDate;
48
+ updatedAt: z.ZodDate;
49
+ deletedAt: z.ZodNullable<z.ZodDate>;
50
+ value: z.ZodString;
51
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
52
+ parentId: z.ZodNullable<z.ZodString>;
53
+ childCategoryList: z.ZodArray<z.ZodObject<{
54
+ id: z.ZodString;
55
+ value: z.ZodString;
56
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
57
+ parentId: z.ZodNullable<z.ZodString>;
58
+ childCategoryList: z.ZodArray<z.ZodObject<{
59
+ id: z.ZodString;
60
+ value: z.ZodString;
61
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
62
+ parentId: z.ZodNullable<z.ZodString>;
63
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
64
+ }, "strip", z.ZodTypeAny, {
65
+ id: string;
66
+ value: string;
67
+ level: 2 | 1 | 3;
68
+ parentId: string | null;
69
+ childCategoryList: any[];
70
+ }, {
71
+ id: string;
72
+ value: string;
73
+ level: 2 | 1 | 3;
74
+ parentId: string | null;
75
+ childCategoryList: any[];
76
+ }>, "many">;
77
+ }, "strip", z.ZodTypeAny, {
78
+ id: string;
79
+ value: string;
80
+ level: 2 | 1 | 3;
81
+ parentId: string | null;
82
+ childCategoryList: {
83
+ id: string;
84
+ value: string;
85
+ level: 2 | 1 | 3;
86
+ parentId: string | null;
87
+ childCategoryList: any[];
88
+ }[];
89
+ }, {
90
+ id: string;
91
+ value: string;
92
+ level: 2 | 1 | 3;
93
+ parentId: string | null;
94
+ childCategoryList: {
95
+ id: string;
96
+ value: string;
97
+ level: 2 | 1 | 3;
98
+ parentId: string | null;
99
+ childCategoryList: any[];
100
+ }[];
101
+ }>, "many">;
102
+ }, "strip", z.ZodTypeAny, {
103
+ id: string;
104
+ value: string;
105
+ createdAt: Date;
106
+ updatedAt: Date;
107
+ deletedAt: Date | null;
108
+ level: 2 | 1 | 3;
109
+ parentId: string | null;
110
+ childCategoryList: {
111
+ id: string;
112
+ value: string;
113
+ level: 2 | 1 | 3;
114
+ parentId: string | null;
115
+ childCategoryList: {
116
+ id: string;
117
+ value: string;
118
+ level: 2 | 1 | 3;
119
+ parentId: string | null;
120
+ childCategoryList: any[];
121
+ }[];
122
+ }[];
123
+ }, {
124
+ id: string;
125
+ value: string;
126
+ createdAt: Date;
127
+ updatedAt: Date;
128
+ deletedAt: Date | null;
129
+ level: 2 | 1 | 3;
130
+ parentId: string | null;
131
+ childCategoryList: {
132
+ id: string;
133
+ value: string;
134
+ level: 2 | 1 | 3;
135
+ parentId: string | null;
136
+ childCategoryList: {
137
+ id: string;
138
+ value: string;
139
+ level: 2 | 1 | 3;
140
+ parentId: string | null;
141
+ childCategoryList: any[];
142
+ }[];
143
+ }[];
144
+ }>, "many">;
145
+ callFrom: z.ZodNullable<z.ZodString>;
146
+ callTo: z.ZodNullable<z.ZodString>;
147
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
148
+ id: z.ZodString;
149
+ createdAt: z.ZodDate;
150
+ updatedAt: z.ZodDate;
151
+ deletedAt: z.ZodNullable<z.ZodDate>;
152
+ textValue: z.ZodNullable<z.ZodString>;
153
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
154
+ numberValue: z.ZodNullable<z.ZodNumber>;
155
+ dateValue: z.ZodNullable<z.ZodDate>;
156
+ entityId: z.ZodString;
157
+ attributeId: z.ZodString;
158
+ }, "strip", z.ZodTypeAny, {
159
+ id: string;
160
+ createdAt: Date;
161
+ updatedAt: Date;
162
+ deletedAt: Date | null;
163
+ entityId: string;
164
+ attributeId: string;
165
+ textValue: string | null;
166
+ booleanValue: boolean | null;
167
+ numberValue: number | null;
168
+ dateValue: Date | null;
169
+ }, {
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
+ }>, "many">>;
46
181
  }, "strip", z.ZodTypeAny, {
182
+ type: string;
47
183
  id: string;
48
184
  disposition: string | null;
49
185
  createdAt: Date;
50
186
  updatedAt: Date;
51
187
  deletedAt: Date | null;
188
+ categories: {
189
+ id: string;
190
+ value: string;
191
+ createdAt: Date;
192
+ updatedAt: Date;
193
+ deletedAt: Date | null;
194
+ level: 2 | 1 | 3;
195
+ parentId: string | null;
196
+ childCategoryList: {
197
+ id: string;
198
+ value: string;
199
+ level: 2 | 1 | 3;
200
+ parentId: string | null;
201
+ childCategoryList: {
202
+ id: string;
203
+ value: string;
204
+ level: 2 | 1 | 3;
205
+ parentId: string | null;
206
+ childCategoryList: any[];
207
+ }[];
208
+ }[];
209
+ }[];
52
210
  tags: {
53
211
  id: string;
54
212
  name: string;
@@ -59,12 +217,47 @@ export declare const CxLogSchema: z.ZodObject<{
59
217
  callFrom: string | null;
60
218
  callTo: string | null;
61
219
  note: string | null;
220
+ customFields?: {
221
+ id: string;
222
+ createdAt: Date;
223
+ updatedAt: Date;
224
+ deletedAt: Date | null;
225
+ entityId: string;
226
+ attributeId: string;
227
+ textValue: string | null;
228
+ booleanValue: boolean | null;
229
+ numberValue: number | null;
230
+ dateValue: Date | null;
231
+ }[] | undefined;
62
232
  }, {
233
+ type: string;
63
234
  id: string;
64
235
  disposition: string | null;
65
236
  createdAt: Date;
66
237
  updatedAt: Date;
67
238
  deletedAt: Date | null;
239
+ categories: {
240
+ id: string;
241
+ value: string;
242
+ createdAt: Date;
243
+ updatedAt: Date;
244
+ deletedAt: Date | null;
245
+ level: 2 | 1 | 3;
246
+ parentId: string | null;
247
+ childCategoryList: {
248
+ id: string;
249
+ value: string;
250
+ level: 2 | 1 | 3;
251
+ parentId: string | null;
252
+ childCategoryList: {
253
+ id: string;
254
+ value: string;
255
+ level: 2 | 1 | 3;
256
+ parentId: string | null;
257
+ childCategoryList: any[];
258
+ }[];
259
+ }[];
260
+ }[];
68
261
  tags: {
69
262
  id: string;
70
263
  name: string;
@@ -75,6 +268,18 @@ export declare const CxLogSchema: z.ZodObject<{
75
268
  callFrom: string | null;
76
269
  callTo: string | null;
77
270
  note: string | null;
271
+ customFields?: {
272
+ id: string;
273
+ createdAt: Date;
274
+ updatedAt: Date;
275
+ deletedAt: Date | null;
276
+ entityId: string;
277
+ attributeId: string;
278
+ textValue: string | null;
279
+ booleanValue: boolean | null;
280
+ numberValue: number | null;
281
+ dateValue: Date | null;
282
+ }[] | undefined;
78
283
  }>>;
79
284
  }, "strip", z.ZodTypeAny, {
80
285
  id: string;
@@ -93,11 +298,34 @@ export declare const CxLogSchema: z.ZodObject<{
93
298
  handledTime: number | null;
94
299
  firstResponseTime: number | null;
95
300
  wrapUpForm: {
301
+ type: string;
96
302
  id: string;
97
303
  disposition: string | null;
98
304
  createdAt: Date;
99
305
  updatedAt: Date;
100
306
  deletedAt: Date | null;
307
+ categories: {
308
+ id: string;
309
+ value: string;
310
+ createdAt: Date;
311
+ updatedAt: Date;
312
+ deletedAt: Date | null;
313
+ level: 2 | 1 | 3;
314
+ parentId: string | null;
315
+ childCategoryList: {
316
+ id: string;
317
+ value: string;
318
+ level: 2 | 1 | 3;
319
+ parentId: string | null;
320
+ childCategoryList: {
321
+ id: string;
322
+ value: string;
323
+ level: 2 | 1 | 3;
324
+ parentId: string | null;
325
+ childCategoryList: any[];
326
+ }[];
327
+ }[];
328
+ }[];
101
329
  tags: {
102
330
  id: string;
103
331
  name: string;
@@ -108,6 +336,18 @@ export declare const CxLogSchema: z.ZodObject<{
108
336
  callFrom: string | null;
109
337
  callTo: string | null;
110
338
  note: string | null;
339
+ customFields?: {
340
+ id: string;
341
+ createdAt: Date;
342
+ updatedAt: Date;
343
+ deletedAt: Date | null;
344
+ entityId: string;
345
+ attributeId: string;
346
+ textValue: string | null;
347
+ booleanValue: boolean | null;
348
+ numberValue: number | null;
349
+ dateValue: Date | null;
350
+ }[] | undefined;
111
351
  } | null;
112
352
  }, {
113
353
  id: string;
@@ -126,11 +366,34 @@ export declare const CxLogSchema: z.ZodObject<{
126
366
  handledTime: number | null;
127
367
  firstResponseTime: number | null;
128
368
  wrapUpForm: {
369
+ type: string;
129
370
  id: string;
130
371
  disposition: string | null;
131
372
  createdAt: Date;
132
373
  updatedAt: Date;
133
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
+ }[];
134
397
  tags: {
135
398
  id: string;
136
399
  name: string;
@@ -141,6 +404,18 @@ export declare const CxLogSchema: z.ZodObject<{
141
404
  callFrom: string | null;
142
405
  callTo: string | null;
143
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
+ }[] | undefined;
144
419
  } | null;
145
420
  }>;
146
421
  export declare const CxLogSchemaWithRelations: z.ZodObject<{
@@ -194,8 +469,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
194
469
  deletedAt: z.ZodNullable<z.ZodDate>;
195
470
  note: z.ZodNullable<z.ZodString>;
196
471
  disposition: z.ZodNullable<z.ZodString>;
197
- callFrom: z.ZodNullable<z.ZodString>;
198
- callTo: z.ZodNullable<z.ZodString>;
472
+ type: z.ZodString;
199
473
  tags: z.ZodArray<z.ZodObject<{
200
474
  id: z.ZodString;
201
475
  createdAt: z.ZodDate;
@@ -215,12 +489,171 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
215
489
  updatedAt: Date;
216
490
  deletedAt: Date | null;
217
491
  }>, "many">;
492
+ categories: z.ZodArray<z.ZodObject<{
493
+ id: z.ZodString;
494
+ createdAt: z.ZodDate;
495
+ updatedAt: z.ZodDate;
496
+ deletedAt: z.ZodNullable<z.ZodDate>;
497
+ value: z.ZodString;
498
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
499
+ parentId: z.ZodNullable<z.ZodString>;
500
+ childCategoryList: z.ZodArray<z.ZodObject<{
501
+ id: z.ZodString;
502
+ value: z.ZodString;
503
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
504
+ parentId: z.ZodNullable<z.ZodString>;
505
+ childCategoryList: z.ZodArray<z.ZodObject<{
506
+ id: z.ZodString;
507
+ value: z.ZodString;
508
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
509
+ parentId: z.ZodNullable<z.ZodString>;
510
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
511
+ }, "strip", z.ZodTypeAny, {
512
+ id: string;
513
+ value: string;
514
+ level: 2 | 1 | 3;
515
+ parentId: string | null;
516
+ childCategoryList: any[];
517
+ }, {
518
+ id: string;
519
+ value: string;
520
+ level: 2 | 1 | 3;
521
+ parentId: string | null;
522
+ childCategoryList: any[];
523
+ }>, "many">;
524
+ }, "strip", z.ZodTypeAny, {
525
+ id: string;
526
+ value: string;
527
+ level: 2 | 1 | 3;
528
+ parentId: string | null;
529
+ childCategoryList: {
530
+ id: string;
531
+ value: string;
532
+ level: 2 | 1 | 3;
533
+ parentId: string | null;
534
+ childCategoryList: any[];
535
+ }[];
536
+ }, {
537
+ id: string;
538
+ value: string;
539
+ level: 2 | 1 | 3;
540
+ parentId: string | null;
541
+ childCategoryList: {
542
+ id: string;
543
+ value: string;
544
+ level: 2 | 1 | 3;
545
+ parentId: string | null;
546
+ childCategoryList: any[];
547
+ }[];
548
+ }>, "many">;
549
+ }, "strip", z.ZodTypeAny, {
550
+ id: string;
551
+ value: string;
552
+ createdAt: Date;
553
+ updatedAt: Date;
554
+ deletedAt: Date | null;
555
+ level: 2 | 1 | 3;
556
+ parentId: string | null;
557
+ childCategoryList: {
558
+ id: string;
559
+ value: string;
560
+ level: 2 | 1 | 3;
561
+ parentId: string | null;
562
+ childCategoryList: {
563
+ id: string;
564
+ value: string;
565
+ level: 2 | 1 | 3;
566
+ parentId: string | null;
567
+ childCategoryList: any[];
568
+ }[];
569
+ }[];
570
+ }, {
571
+ id: string;
572
+ value: string;
573
+ createdAt: Date;
574
+ updatedAt: Date;
575
+ deletedAt: Date | null;
576
+ level: 2 | 1 | 3;
577
+ parentId: string | null;
578
+ childCategoryList: {
579
+ id: string;
580
+ value: string;
581
+ level: 2 | 1 | 3;
582
+ parentId: string | null;
583
+ childCategoryList: {
584
+ id: string;
585
+ value: string;
586
+ level: 2 | 1 | 3;
587
+ parentId: string | null;
588
+ childCategoryList: any[];
589
+ }[];
590
+ }[];
591
+ }>, "many">;
592
+ callFrom: z.ZodNullable<z.ZodString>;
593
+ callTo: z.ZodNullable<z.ZodString>;
594
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
595
+ id: z.ZodString;
596
+ createdAt: z.ZodDate;
597
+ updatedAt: z.ZodDate;
598
+ deletedAt: z.ZodNullable<z.ZodDate>;
599
+ textValue: z.ZodNullable<z.ZodString>;
600
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
601
+ numberValue: z.ZodNullable<z.ZodNumber>;
602
+ dateValue: z.ZodNullable<z.ZodDate>;
603
+ entityId: z.ZodString;
604
+ attributeId: z.ZodString;
605
+ }, "strip", z.ZodTypeAny, {
606
+ id: string;
607
+ createdAt: Date;
608
+ updatedAt: Date;
609
+ deletedAt: Date | null;
610
+ entityId: string;
611
+ attributeId: string;
612
+ textValue: string | null;
613
+ booleanValue: boolean | null;
614
+ numberValue: number | null;
615
+ dateValue: Date | null;
616
+ }, {
617
+ id: string;
618
+ createdAt: Date;
619
+ updatedAt: Date;
620
+ deletedAt: Date | null;
621
+ entityId: string;
622
+ attributeId: string;
623
+ textValue: string | null;
624
+ booleanValue: boolean | null;
625
+ numberValue: number | null;
626
+ dateValue: Date | null;
627
+ }>, "many">>;
218
628
  }, "strip", z.ZodTypeAny, {
629
+ type: string;
219
630
  id: string;
220
631
  disposition: string | null;
221
632
  createdAt: Date;
222
633
  updatedAt: Date;
223
634
  deletedAt: Date | null;
635
+ categories: {
636
+ id: string;
637
+ value: string;
638
+ createdAt: Date;
639
+ updatedAt: Date;
640
+ deletedAt: Date | null;
641
+ level: 2 | 1 | 3;
642
+ parentId: string | null;
643
+ childCategoryList: {
644
+ id: string;
645
+ value: string;
646
+ level: 2 | 1 | 3;
647
+ parentId: string | null;
648
+ childCategoryList: {
649
+ id: string;
650
+ value: string;
651
+ level: 2 | 1 | 3;
652
+ parentId: string | null;
653
+ childCategoryList: any[];
654
+ }[];
655
+ }[];
656
+ }[];
224
657
  tags: {
225
658
  id: string;
226
659
  name: string;
@@ -231,12 +664,47 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
231
664
  callFrom: string | null;
232
665
  callTo: string | null;
233
666
  note: string | null;
667
+ customFields?: {
668
+ id: string;
669
+ createdAt: Date;
670
+ updatedAt: Date;
671
+ deletedAt: Date | null;
672
+ entityId: string;
673
+ attributeId: string;
674
+ textValue: string | null;
675
+ booleanValue: boolean | null;
676
+ numberValue: number | null;
677
+ dateValue: Date | null;
678
+ }[] | undefined;
234
679
  }, {
680
+ type: string;
235
681
  id: string;
236
682
  disposition: string | null;
237
683
  createdAt: Date;
238
684
  updatedAt: Date;
239
685
  deletedAt: Date | null;
686
+ categories: {
687
+ id: string;
688
+ value: string;
689
+ createdAt: Date;
690
+ updatedAt: Date;
691
+ deletedAt: Date | null;
692
+ level: 2 | 1 | 3;
693
+ parentId: string | null;
694
+ childCategoryList: {
695
+ id: string;
696
+ value: string;
697
+ level: 2 | 1 | 3;
698
+ parentId: string | null;
699
+ childCategoryList: {
700
+ id: string;
701
+ value: string;
702
+ level: 2 | 1 | 3;
703
+ parentId: string | null;
704
+ childCategoryList: any[];
705
+ }[];
706
+ }[];
707
+ }[];
240
708
  tags: {
241
709
  id: string;
242
710
  name: string;
@@ -247,6 +715,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
247
715
  callFrom: string | null;
248
716
  callTo: string | null;
249
717
  note: string | null;
718
+ customFields?: {
719
+ id: string;
720
+ createdAt: Date;
721
+ updatedAt: Date;
722
+ deletedAt: Date | null;
723
+ entityId: string;
724
+ attributeId: string;
725
+ textValue: string | null;
726
+ booleanValue: boolean | null;
727
+ numberValue: number | null;
728
+ dateValue: Date | null;
729
+ }[] | undefined;
250
730
  }>>;
251
731
  room: z.ZodNullable<z.ZodObject<{
252
732
  id: z.ZodString;
@@ -5667,11 +6147,34 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5667
6147
  handledTime: string | null;
5668
6148
  firstResponseTime: string | null;
5669
6149
  wrapUpForm: {
6150
+ type: string;
5670
6151
  id: string;
5671
6152
  disposition: string | null;
5672
6153
  createdAt: Date;
5673
6154
  updatedAt: Date;
5674
6155
  deletedAt: Date | null;
6156
+ categories: {
6157
+ id: string;
6158
+ value: string;
6159
+ createdAt: Date;
6160
+ updatedAt: Date;
6161
+ deletedAt: Date | null;
6162
+ level: 2 | 1 | 3;
6163
+ parentId: string | null;
6164
+ childCategoryList: {
6165
+ id: string;
6166
+ value: string;
6167
+ level: 2 | 1 | 3;
6168
+ parentId: string | null;
6169
+ childCategoryList: {
6170
+ id: string;
6171
+ value: string;
6172
+ level: 2 | 1 | 3;
6173
+ parentId: string | null;
6174
+ childCategoryList: any[];
6175
+ }[];
6176
+ }[];
6177
+ }[];
5675
6178
  tags: {
5676
6179
  id: string;
5677
6180
  name: string;
@@ -5682,6 +6185,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5682
6185
  callFrom: string | null;
5683
6186
  callTo: string | null;
5684
6187
  note: string | null;
6188
+ customFields?: {
6189
+ id: string;
6190
+ createdAt: Date;
6191
+ updatedAt: Date;
6192
+ deletedAt: Date | null;
6193
+ entityId: string;
6194
+ attributeId: string;
6195
+ textValue: string | null;
6196
+ booleanValue: boolean | null;
6197
+ numberValue: number | null;
6198
+ dateValue: Date | null;
6199
+ }[] | undefined;
5685
6200
  } | null;
5686
6201
  customerPhone: string | null;
5687
6202
  channelType: string | null;
@@ -6392,11 +6907,34 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6392
6907
  handledTime: string | null;
6393
6908
  firstResponseTime: string | null;
6394
6909
  wrapUpForm: {
6910
+ type: string;
6395
6911
  id: string;
6396
6912
  disposition: string | null;
6397
6913
  createdAt: Date;
6398
6914
  updatedAt: Date;
6399
6915
  deletedAt: Date | null;
6916
+ categories: {
6917
+ id: string;
6918
+ value: string;
6919
+ createdAt: Date;
6920
+ updatedAt: Date;
6921
+ deletedAt: Date | null;
6922
+ level: 2 | 1 | 3;
6923
+ parentId: string | null;
6924
+ childCategoryList: {
6925
+ id: string;
6926
+ value: string;
6927
+ level: 2 | 1 | 3;
6928
+ parentId: string | null;
6929
+ childCategoryList: {
6930
+ id: string;
6931
+ value: string;
6932
+ level: 2 | 1 | 3;
6933
+ parentId: string | null;
6934
+ childCategoryList: any[];
6935
+ }[];
6936
+ }[];
6937
+ }[];
6400
6938
  tags: {
6401
6939
  id: string;
6402
6940
  name: string;
@@ -6407,6 +6945,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6407
6945
  callFrom: string | null;
6408
6946
  callTo: string | null;
6409
6947
  note: string | null;
6948
+ customFields?: {
6949
+ id: string;
6950
+ createdAt: Date;
6951
+ updatedAt: Date;
6952
+ deletedAt: Date | null;
6953
+ entityId: string;
6954
+ attributeId: string;
6955
+ textValue: string | null;
6956
+ booleanValue: boolean | null;
6957
+ numberValue: number | null;
6958
+ dateValue: Date | null;
6959
+ }[] | undefined;
6410
6960
  } | null;
6411
6961
  customerPhone: string | null;
6412
6962
  channelType: string | null;