@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
@@ -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.ZodNullable<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
+ }[] | null | 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
+ }[] | null | 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
+ }[] | null | 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
+ }[] | null | undefined;
144
419
  } | null;
145
420
  }>;
146
421
  export declare const CxLogSchemaWithRelations: z.ZodObject<{
@@ -161,6 +436,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
161
436
  firstResponseDate: z.ZodString;
162
437
  resolutionTime: z.ZodNullable<z.ZodString>;
163
438
  resolutionDate: z.ZodString;
439
+ wrapUpDuration: z.ZodString;
164
440
  slaMeet: z.ZodNullable<z.ZodString>;
165
441
  evaluateForm: z.ZodNullable<z.ZodObject<{
166
442
  id: z.ZodString;
@@ -194,8 +470,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
194
470
  deletedAt: z.ZodNullable<z.ZodDate>;
195
471
  note: z.ZodNullable<z.ZodString>;
196
472
  disposition: z.ZodNullable<z.ZodString>;
197
- callFrom: z.ZodNullable<z.ZodString>;
198
- callTo: z.ZodNullable<z.ZodString>;
473
+ type: z.ZodString;
199
474
  tags: z.ZodArray<z.ZodObject<{
200
475
  id: z.ZodString;
201
476
  createdAt: z.ZodDate;
@@ -215,12 +490,171 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
215
490
  updatedAt: Date;
216
491
  deletedAt: Date | null;
217
492
  }>, "many">;
493
+ categories: z.ZodArray<z.ZodObject<{
494
+ id: z.ZodString;
495
+ createdAt: z.ZodDate;
496
+ updatedAt: z.ZodDate;
497
+ deletedAt: z.ZodNullable<z.ZodDate>;
498
+ value: z.ZodString;
499
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
500
+ parentId: z.ZodNullable<z.ZodString>;
501
+ childCategoryList: z.ZodArray<z.ZodObject<{
502
+ id: z.ZodString;
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.ZodAny, "many">;
512
+ }, "strip", z.ZodTypeAny, {
513
+ id: string;
514
+ value: string;
515
+ level: 2 | 1 | 3;
516
+ parentId: string | null;
517
+ childCategoryList: any[];
518
+ }, {
519
+ id: string;
520
+ value: string;
521
+ level: 2 | 1 | 3;
522
+ parentId: string | null;
523
+ childCategoryList: any[];
524
+ }>, "many">;
525
+ }, "strip", z.ZodTypeAny, {
526
+ id: string;
527
+ value: string;
528
+ level: 2 | 1 | 3;
529
+ parentId: string | null;
530
+ childCategoryList: {
531
+ id: string;
532
+ value: string;
533
+ level: 2 | 1 | 3;
534
+ parentId: string | null;
535
+ childCategoryList: any[];
536
+ }[];
537
+ }, {
538
+ id: string;
539
+ value: string;
540
+ level: 2 | 1 | 3;
541
+ parentId: string | null;
542
+ childCategoryList: {
543
+ id: string;
544
+ value: string;
545
+ level: 2 | 1 | 3;
546
+ parentId: string | null;
547
+ childCategoryList: any[];
548
+ }[];
549
+ }>, "many">;
550
+ }, "strip", z.ZodTypeAny, {
551
+ id: string;
552
+ value: string;
553
+ createdAt: Date;
554
+ updatedAt: Date;
555
+ deletedAt: Date | null;
556
+ level: 2 | 1 | 3;
557
+ parentId: string | null;
558
+ childCategoryList: {
559
+ id: string;
560
+ value: string;
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: any[];
569
+ }[];
570
+ }[];
571
+ }, {
572
+ id: string;
573
+ value: string;
574
+ createdAt: Date;
575
+ updatedAt: Date;
576
+ deletedAt: Date | null;
577
+ level: 2 | 1 | 3;
578
+ parentId: string | null;
579
+ childCategoryList: {
580
+ id: string;
581
+ value: string;
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: any[];
590
+ }[];
591
+ }[];
592
+ }>, "many">;
593
+ callFrom: z.ZodNullable<z.ZodString>;
594
+ callTo: z.ZodNullable<z.ZodString>;
595
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
596
+ id: z.ZodString;
597
+ createdAt: z.ZodDate;
598
+ updatedAt: z.ZodDate;
599
+ deletedAt: z.ZodNullable<z.ZodDate>;
600
+ textValue: z.ZodNullable<z.ZodString>;
601
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
602
+ numberValue: z.ZodNullable<z.ZodNumber>;
603
+ dateValue: z.ZodNullable<z.ZodDate>;
604
+ entityId: z.ZodString;
605
+ attributeId: z.ZodString;
606
+ }, "strip", z.ZodTypeAny, {
607
+ id: string;
608
+ createdAt: Date;
609
+ updatedAt: Date;
610
+ deletedAt: Date | null;
611
+ entityId: string;
612
+ attributeId: string;
613
+ textValue: string | null;
614
+ booleanValue: boolean | null;
615
+ numberValue: number | null;
616
+ dateValue: Date | null;
617
+ }, {
618
+ id: string;
619
+ createdAt: Date;
620
+ updatedAt: Date;
621
+ deletedAt: Date | null;
622
+ entityId: string;
623
+ attributeId: string;
624
+ textValue: string | null;
625
+ booleanValue: boolean | null;
626
+ numberValue: number | null;
627
+ dateValue: Date | null;
628
+ }>, "many">>>;
218
629
  }, "strip", z.ZodTypeAny, {
630
+ type: string;
219
631
  id: string;
220
632
  disposition: string | null;
221
633
  createdAt: Date;
222
634
  updatedAt: Date;
223
635
  deletedAt: Date | null;
636
+ categories: {
637
+ id: string;
638
+ value: string;
639
+ createdAt: Date;
640
+ updatedAt: Date;
641
+ deletedAt: Date | null;
642
+ level: 2 | 1 | 3;
643
+ parentId: string | null;
644
+ childCategoryList: {
645
+ id: string;
646
+ value: string;
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: any[];
655
+ }[];
656
+ }[];
657
+ }[];
224
658
  tags: {
225
659
  id: string;
226
660
  name: string;
@@ -231,12 +665,47 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
231
665
  callFrom: string | null;
232
666
  callTo: string | null;
233
667
  note: string | null;
668
+ customFields?: {
669
+ id: string;
670
+ createdAt: Date;
671
+ updatedAt: Date;
672
+ deletedAt: Date | null;
673
+ entityId: string;
674
+ attributeId: string;
675
+ textValue: string | null;
676
+ booleanValue: boolean | null;
677
+ numberValue: number | null;
678
+ dateValue: Date | null;
679
+ }[] | null | undefined;
234
680
  }, {
681
+ type: string;
235
682
  id: string;
236
683
  disposition: string | null;
237
684
  createdAt: Date;
238
685
  updatedAt: Date;
239
686
  deletedAt: Date | null;
687
+ categories: {
688
+ id: string;
689
+ value: string;
690
+ createdAt: Date;
691
+ updatedAt: Date;
692
+ deletedAt: Date | null;
693
+ level: 2 | 1 | 3;
694
+ parentId: string | null;
695
+ childCategoryList: {
696
+ id: string;
697
+ value: string;
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: any[];
706
+ }[];
707
+ }[];
708
+ }[];
240
709
  tags: {
241
710
  id: string;
242
711
  name: string;
@@ -247,6 +716,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
247
716
  callFrom: string | null;
248
717
  callTo: string | null;
249
718
  note: string | null;
719
+ customFields?: {
720
+ id: string;
721
+ createdAt: Date;
722
+ updatedAt: Date;
723
+ deletedAt: Date | null;
724
+ entityId: string;
725
+ attributeId: string;
726
+ textValue: string | null;
727
+ booleanValue: boolean | null;
728
+ numberValue: number | null;
729
+ dateValue: Date | null;
730
+ }[] | null | undefined;
250
731
  }>>;
251
732
  room: z.ZodNullable<z.ZodObject<{
252
733
  id: z.ZodString;
@@ -5667,11 +6148,34 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5667
6148
  handledTime: string | null;
5668
6149
  firstResponseTime: string | null;
5669
6150
  wrapUpForm: {
6151
+ type: string;
5670
6152
  id: string;
5671
6153
  disposition: string | null;
5672
6154
  createdAt: Date;
5673
6155
  updatedAt: Date;
5674
6156
  deletedAt: Date | null;
6157
+ categories: {
6158
+ id: string;
6159
+ value: string;
6160
+ createdAt: Date;
6161
+ updatedAt: Date;
6162
+ deletedAt: Date | null;
6163
+ level: 2 | 1 | 3;
6164
+ parentId: string | null;
6165
+ childCategoryList: {
6166
+ id: string;
6167
+ value: string;
6168
+ level: 2 | 1 | 3;
6169
+ parentId: string | null;
6170
+ childCategoryList: {
6171
+ id: string;
6172
+ value: string;
6173
+ level: 2 | 1 | 3;
6174
+ parentId: string | null;
6175
+ childCategoryList: any[];
6176
+ }[];
6177
+ }[];
6178
+ }[];
5675
6179
  tags: {
5676
6180
  id: string;
5677
6181
  name: string;
@@ -5682,12 +6186,25 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5682
6186
  callFrom: string | null;
5683
6187
  callTo: string | null;
5684
6188
  note: string | null;
6189
+ customFields?: {
6190
+ id: string;
6191
+ createdAt: Date;
6192
+ updatedAt: Date;
6193
+ deletedAt: Date | null;
6194
+ entityId: string;
6195
+ attributeId: string;
6196
+ textValue: string | null;
6197
+ booleanValue: boolean | null;
6198
+ numberValue: number | null;
6199
+ dateValue: Date | null;
6200
+ }[] | null | undefined;
5685
6201
  } | null;
5686
6202
  customerPhone: string | null;
5687
6203
  channelType: string | null;
5688
6204
  firstResponseDate: string;
5689
6205
  resolutionTime: string | null;
5690
6206
  resolutionDate: string;
6207
+ wrapUpDuration: string;
5691
6208
  slaMeet: string | null;
5692
6209
  evaluateForm: {
5693
6210
  id: string;
@@ -6392,11 +6909,34 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6392
6909
  handledTime: string | null;
6393
6910
  firstResponseTime: string | null;
6394
6911
  wrapUpForm: {
6912
+ type: string;
6395
6913
  id: string;
6396
6914
  disposition: string | null;
6397
6915
  createdAt: Date;
6398
6916
  updatedAt: Date;
6399
6917
  deletedAt: Date | null;
6918
+ categories: {
6919
+ id: string;
6920
+ value: string;
6921
+ createdAt: Date;
6922
+ updatedAt: Date;
6923
+ deletedAt: Date | null;
6924
+ level: 2 | 1 | 3;
6925
+ parentId: string | null;
6926
+ childCategoryList: {
6927
+ id: string;
6928
+ value: string;
6929
+ level: 2 | 1 | 3;
6930
+ parentId: string | null;
6931
+ childCategoryList: {
6932
+ id: string;
6933
+ value: string;
6934
+ level: 2 | 1 | 3;
6935
+ parentId: string | null;
6936
+ childCategoryList: any[];
6937
+ }[];
6938
+ }[];
6939
+ }[];
6400
6940
  tags: {
6401
6941
  id: string;
6402
6942
  name: string;
@@ -6407,12 +6947,25 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6407
6947
  callFrom: string | null;
6408
6948
  callTo: string | null;
6409
6949
  note: string | null;
6950
+ customFields?: {
6951
+ id: string;
6952
+ createdAt: Date;
6953
+ updatedAt: Date;
6954
+ deletedAt: Date | null;
6955
+ entityId: string;
6956
+ attributeId: string;
6957
+ textValue: string | null;
6958
+ booleanValue: boolean | null;
6959
+ numberValue: number | null;
6960
+ dateValue: Date | null;
6961
+ }[] | null | undefined;
6410
6962
  } | null;
6411
6963
  customerPhone: string | null;
6412
6964
  channelType: string | null;
6413
6965
  firstResponseDate: string;
6414
6966
  resolutionTime: string | null;
6415
6967
  resolutionDate: string;
6968
+ wrapUpDuration: string;
6416
6969
  slaMeet: string | null;
6417
6970
  evaluateForm: {
6418
6971
  id: string;