@kl1/contracts 1.1.26-uat → 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 (64) hide show
  1. package/dist/index.js +2130 -1984
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +2127 -1984
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/business-calendar/index.d.ts +820 -0
  6. package/dist/src/business-calendar/index.d.ts.map +1 -0
  7. package/dist/src/business-calendar/schema.d.ts +180 -0
  8. package/dist/src/business-calendar/schema.d.ts.map +1 -0
  9. package/dist/src/business-calendar/validation.d.ts +210 -0
  10. package/dist/src/business-calendar/validation.d.ts.map +1 -0
  11. package/dist/src/chat/index.d.ts +2424 -102
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +413 -18
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +448 -0
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/contact/index.d.ts +3 -0
  18. package/dist/src/contact/index.d.ts.map +1 -1
  19. package/dist/src/contact/schema.d.ts.map +1 -1
  20. package/dist/src/contact/validation.d.ts +3 -0
  21. package/dist/src/contact/validation.d.ts.map +1 -1
  22. package/dist/src/contract.d.ts +167810 -135163
  23. package/dist/src/contract.d.ts.map +1 -1
  24. package/dist/src/cx-log/index.d.ts +111 -0
  25. package/dist/src/cx-log/index.d.ts.map +1 -1
  26. package/dist/src/cx-log/schema.d.ts +167 -0
  27. package/dist/src/cx-log/schema.d.ts.map +1 -1
  28. package/dist/src/instagram/index.d.ts +294 -0
  29. package/dist/src/instagram/index.d.ts.map +1 -1
  30. package/dist/src/line/index.d.ts +294 -0
  31. package/dist/src/line/index.d.ts.map +1 -1
  32. package/dist/src/mail/mail-contract.d.ts +22910 -2257
  33. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  34. package/dist/src/mail/message-contract.d.ts +4587 -271
  35. package/dist/src/mail/message-contract.d.ts.map +1 -1
  36. package/dist/src/mail/room-contract.d.ts +17436 -1099
  37. package/dist/src/mail/room-contract.d.ts.map +1 -1
  38. package/dist/src/mail/schemas/message-validation.schema.d.ts +4 -4
  39. package/dist/src/mail/schemas/message.schema.d.ts +756 -40
  40. package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
  41. package/dist/src/mail/schemas/room-validation.schema.d.ts +5710 -344
  42. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  43. package/dist/src/mail/schemas/room.schema.d.ts +5817 -426
  44. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  45. package/dist/src/messenger/index.d.ts +294 -0
  46. package/dist/src/messenger/index.d.ts.map +1 -1
  47. package/dist/src/telephony-cdr/call-report.schema.d.ts +62 -62
  48. package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
  49. package/dist/src/telephony-cdr/index.d.ts +1 -622
  50. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  51. package/dist/src/viber/index.d.ts +294 -0
  52. package/dist/src/viber/index.d.ts.map +1 -1
  53. package/dist/src/webchat/index.d.ts +294 -0
  54. package/dist/src/webchat/index.d.ts.map +1 -1
  55. package/dist/src/workflow-rule/index.d.ts +7305 -0
  56. package/dist/src/workflow-rule/index.d.ts.map +1 -0
  57. package/dist/src/workflow-rule/schema.d.ts +27 -0
  58. package/dist/src/workflow-rule/schema.d.ts.map +1 -0
  59. package/dist/src/wrap-up-form/index.d.ts +744 -3
  60. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  61. package/dist/src/wrap-up-form/schema.d.ts +58 -0
  62. package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
  63. package/dist/src/wrap-up-form/validation.d.ts +3 -3
  64. package/package.json +1 -1
@@ -4,6 +4,131 @@ export type CreateWrapUpFormRequest = z.infer<typeof CreateWrapUpFormSchema>;
4
4
  export type CreateCXLogWrapUpFormRequest = z.infer<typeof CreateCXLogWrapUpFormSchema>;
5
5
  export type UpdateWrapUpFormRequest = z.infer<typeof UpdateWrapUpFormSchema>;
6
6
  export declare const wrapUpFormContract: {
7
+ getWrapUpFormTimer: {
8
+ method: "GET";
9
+ responses: {
10
+ 200: z.ZodObject<{
11
+ requestId: z.ZodString;
12
+ wrapUpFormTimer: z.ZodNumber;
13
+ }, "strip", z.ZodTypeAny, {
14
+ requestId: string;
15
+ wrapUpFormTimer: number;
16
+ }, {
17
+ requestId: string;
18
+ wrapUpFormTimer: number;
19
+ }>;
20
+ 400: z.ZodObject<{
21
+ message: z.ZodString;
22
+ }, "strip", z.ZodTypeAny, {
23
+ message: string;
24
+ }, {
25
+ message: string;
26
+ }>;
27
+ 401: z.ZodObject<{
28
+ message: z.ZodString;
29
+ error: z.ZodAny;
30
+ }, "strip", z.ZodTypeAny, {
31
+ message: string;
32
+ error?: any;
33
+ }, {
34
+ message: string;
35
+ error?: any;
36
+ }>;
37
+ 500: z.ZodObject<{
38
+ message: z.ZodString;
39
+ error: z.ZodAny;
40
+ }, "strip", z.ZodTypeAny, {
41
+ message: string;
42
+ error?: any;
43
+ }, {
44
+ message: string;
45
+ error?: any;
46
+ }>;
47
+ };
48
+ path: "wrap-up-form/timer";
49
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
50
+ 'x-tenant': z.ZodString;
51
+ authorization: z.ZodString;
52
+ 'x-code': z.ZodOptional<z.ZodString>;
53
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
54
+ }, "strip", z.ZodTypeAny, {
55
+ 'x-tenant': string;
56
+ authorization: string;
57
+ 'x-client-timezone': string;
58
+ 'x-code'?: string | undefined;
59
+ }, {
60
+ 'x-tenant': string;
61
+ authorization: string;
62
+ 'x-code'?: string | undefined;
63
+ 'x-client-timezone'?: string | undefined;
64
+ }>>>;
65
+ };
66
+ updateWrapUpFormTimer: {
67
+ body: z.ZodObject<{
68
+ newWrapUpFormTimer: z.ZodNumber;
69
+ }, "strip", z.ZodTypeAny, {
70
+ newWrapUpFormTimer: number;
71
+ }, {
72
+ newWrapUpFormTimer: number;
73
+ }>;
74
+ method: "PATCH";
75
+ responses: {
76
+ 200: z.ZodObject<{
77
+ requestId: z.ZodString;
78
+ wrapUpFormTimer: z.ZodNumber;
79
+ }, "strip", z.ZodTypeAny, {
80
+ requestId: string;
81
+ wrapUpFormTimer: number;
82
+ }, {
83
+ requestId: string;
84
+ wrapUpFormTimer: number;
85
+ }>;
86
+ 400: z.ZodObject<{
87
+ message: z.ZodString;
88
+ }, "strip", z.ZodTypeAny, {
89
+ message: string;
90
+ }, {
91
+ message: string;
92
+ }>;
93
+ 401: z.ZodObject<{
94
+ message: z.ZodString;
95
+ error: z.ZodAny;
96
+ }, "strip", z.ZodTypeAny, {
97
+ message: string;
98
+ error?: any;
99
+ }, {
100
+ message: string;
101
+ error?: any;
102
+ }>;
103
+ 500: z.ZodObject<{
104
+ message: z.ZodString;
105
+ error: z.ZodAny;
106
+ }, "strip", z.ZodTypeAny, {
107
+ message: string;
108
+ error?: any;
109
+ }, {
110
+ message: string;
111
+ error?: any;
112
+ }>;
113
+ };
114
+ path: "wrap-up-form/timer";
115
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
116
+ 'x-tenant': z.ZodString;
117
+ authorization: z.ZodString;
118
+ 'x-code': z.ZodOptional<z.ZodString>;
119
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ 'x-tenant': string;
122
+ authorization: string;
123
+ 'x-client-timezone': string;
124
+ 'x-code'?: string | undefined;
125
+ }, {
126
+ 'x-tenant': string;
127
+ authorization: string;
128
+ 'x-code'?: string | undefined;
129
+ 'x-client-timezone'?: string | undefined;
130
+ }>>>;
131
+ };
7
132
  createWrapUpForm: {
8
133
  body: z.ZodObject<{
9
134
  note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -155,6 +280,40 @@ export declare const wrapUpFormContract: {
155
280
  }>, "many">;
156
281
  callFrom: z.ZodNullable<z.ZodString>;
157
282
  callTo: z.ZodNullable<z.ZodString>;
283
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
284
+ id: z.ZodString;
285
+ createdAt: z.ZodDate;
286
+ updatedAt: z.ZodDate;
287
+ deletedAt: z.ZodNullable<z.ZodDate>;
288
+ textValue: z.ZodNullable<z.ZodString>;
289
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
290
+ numberValue: z.ZodNullable<z.ZodNumber>;
291
+ dateValue: z.ZodNullable<z.ZodDate>;
292
+ entityId: z.ZodString;
293
+ attributeId: z.ZodString;
294
+ }, "strip", z.ZodTypeAny, {
295
+ id: string;
296
+ createdAt: Date;
297
+ updatedAt: Date;
298
+ deletedAt: Date | null;
299
+ entityId: string;
300
+ attributeId: string;
301
+ textValue: string | null;
302
+ booleanValue: boolean | null;
303
+ numberValue: number | null;
304
+ dateValue: Date | null;
305
+ }, {
306
+ id: string;
307
+ createdAt: Date;
308
+ updatedAt: Date;
309
+ deletedAt: Date | null;
310
+ entityId: string;
311
+ attributeId: string;
312
+ textValue: string | null;
313
+ booleanValue: boolean | null;
314
+ numberValue: number | null;
315
+ dateValue: Date | null;
316
+ }>, "many">>>;
158
317
  }, "strip", z.ZodTypeAny, {
159
318
  type: string;
160
319
  id: string;
@@ -194,6 +353,18 @@ export declare const wrapUpFormContract: {
194
353
  callFrom: string | null;
195
354
  callTo: string | null;
196
355
  note: string | null;
356
+ customFields?: {
357
+ id: string;
358
+ createdAt: Date;
359
+ updatedAt: Date;
360
+ deletedAt: Date | null;
361
+ entityId: string;
362
+ attributeId: string;
363
+ textValue: string | null;
364
+ booleanValue: boolean | null;
365
+ numberValue: number | null;
366
+ dateValue: Date | null;
367
+ }[] | null | undefined;
197
368
  }, {
198
369
  type: string;
199
370
  id: string;
@@ -233,6 +404,18 @@ export declare const wrapUpFormContract: {
233
404
  callFrom: string | null;
234
405
  callTo: string | null;
235
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;
236
419
  }>;
237
420
  }, "strip", z.ZodTypeAny, {
238
421
  requestId: string;
@@ -275,6 +458,18 @@ export declare const wrapUpFormContract: {
275
458
  callFrom: string | null;
276
459
  callTo: string | null;
277
460
  note: string | null;
461
+ customFields?: {
462
+ id: string;
463
+ createdAt: Date;
464
+ updatedAt: Date;
465
+ deletedAt: Date | null;
466
+ entityId: string;
467
+ attributeId: string;
468
+ textValue: string | null;
469
+ booleanValue: boolean | null;
470
+ numberValue: number | null;
471
+ dateValue: Date | null;
472
+ }[] | null | undefined;
278
473
  };
279
474
  }, {
280
475
  requestId: string;
@@ -317,6 +512,18 @@ export declare const wrapUpFormContract: {
317
512
  callFrom: string | null;
318
513
  callTo: string | null;
319
514
  note: string | null;
515
+ customFields?: {
516
+ id: string;
517
+ createdAt: Date;
518
+ updatedAt: Date;
519
+ deletedAt: Date | null;
520
+ entityId: string;
521
+ attributeId: string;
522
+ textValue: string | null;
523
+ booleanValue: boolean | null;
524
+ numberValue: number | null;
525
+ dateValue: Date | null;
526
+ }[] | null | undefined;
320
527
  };
321
528
  }>;
322
529
  400: z.ZodObject<{
@@ -515,6 +722,40 @@ export declare const wrapUpFormContract: {
515
722
  }>, "many">;
516
723
  callFrom: z.ZodNullable<z.ZodString>;
517
724
  callTo: z.ZodNullable<z.ZodString>;
725
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
726
+ id: z.ZodString;
727
+ createdAt: z.ZodDate;
728
+ updatedAt: z.ZodDate;
729
+ deletedAt: z.ZodNullable<z.ZodDate>;
730
+ textValue: z.ZodNullable<z.ZodString>;
731
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
732
+ numberValue: z.ZodNullable<z.ZodNumber>;
733
+ dateValue: z.ZodNullable<z.ZodDate>;
734
+ entityId: z.ZodString;
735
+ attributeId: z.ZodString;
736
+ }, "strip", z.ZodTypeAny, {
737
+ id: string;
738
+ createdAt: Date;
739
+ updatedAt: Date;
740
+ deletedAt: Date | null;
741
+ entityId: string;
742
+ attributeId: string;
743
+ textValue: string | null;
744
+ booleanValue: boolean | null;
745
+ numberValue: number | null;
746
+ dateValue: Date | null;
747
+ }, {
748
+ id: string;
749
+ createdAt: Date;
750
+ updatedAt: Date;
751
+ deletedAt: Date | null;
752
+ entityId: string;
753
+ attributeId: string;
754
+ textValue: string | null;
755
+ booleanValue: boolean | null;
756
+ numberValue: number | null;
757
+ dateValue: Date | null;
758
+ }>, "many">>>;
518
759
  }, "strip", z.ZodTypeAny, {
519
760
  type: string;
520
761
  id: string;
@@ -554,6 +795,18 @@ export declare const wrapUpFormContract: {
554
795
  callFrom: string | null;
555
796
  callTo: string | null;
556
797
  note: string | null;
798
+ customFields?: {
799
+ id: string;
800
+ createdAt: Date;
801
+ updatedAt: Date;
802
+ deletedAt: Date | null;
803
+ entityId: string;
804
+ attributeId: string;
805
+ textValue: string | null;
806
+ booleanValue: boolean | null;
807
+ numberValue: number | null;
808
+ dateValue: Date | null;
809
+ }[] | null | undefined;
557
810
  }, {
558
811
  type: string;
559
812
  id: string;
@@ -593,6 +846,18 @@ export declare const wrapUpFormContract: {
593
846
  callFrom: string | null;
594
847
  callTo: string | null;
595
848
  note: string | null;
849
+ customFields?: {
850
+ id: string;
851
+ createdAt: Date;
852
+ updatedAt: Date;
853
+ deletedAt: Date | null;
854
+ entityId: string;
855
+ attributeId: string;
856
+ textValue: string | null;
857
+ booleanValue: boolean | null;
858
+ numberValue: number | null;
859
+ dateValue: Date | null;
860
+ }[] | null | undefined;
596
861
  }>;
597
862
  }, "strip", z.ZodTypeAny, {
598
863
  requestId: string;
@@ -635,6 +900,18 @@ export declare const wrapUpFormContract: {
635
900
  callFrom: string | null;
636
901
  callTo: string | null;
637
902
  note: string | null;
903
+ customFields?: {
904
+ id: string;
905
+ createdAt: Date;
906
+ updatedAt: Date;
907
+ deletedAt: Date | null;
908
+ entityId: string;
909
+ attributeId: string;
910
+ textValue: string | null;
911
+ booleanValue: boolean | null;
912
+ numberValue: number | null;
913
+ dateValue: Date | null;
914
+ }[] | null | undefined;
638
915
  };
639
916
  }, {
640
917
  requestId: string;
@@ -677,6 +954,18 @@ export declare const wrapUpFormContract: {
677
954
  callFrom: string | null;
678
955
  callTo: string | null;
679
956
  note: string | null;
957
+ customFields?: {
958
+ id: string;
959
+ createdAt: Date;
960
+ updatedAt: Date;
961
+ deletedAt: Date | null;
962
+ entityId: string;
963
+ attributeId: string;
964
+ textValue: string | null;
965
+ booleanValue: boolean | null;
966
+ numberValue: number | null;
967
+ dateValue: Date | null;
968
+ }[] | null | undefined;
680
969
  };
681
970
  }>;
682
971
  401: z.ZodObject<{
@@ -760,6 +1049,18 @@ export declare const wrapUpFormContract: {
760
1049
  callFrom: string | null;
761
1050
  callTo: string | null;
762
1051
  note: string | null;
1052
+ customFields?: {
1053
+ id: string;
1054
+ createdAt: Date;
1055
+ updatedAt: Date;
1056
+ deletedAt: Date | null;
1057
+ entityId: string;
1058
+ attributeId: string;
1059
+ textValue: string | null;
1060
+ booleanValue: boolean | null;
1061
+ numberValue: number | null;
1062
+ dateValue: Date | null;
1063
+ }[] | null | undefined;
763
1064
  }, z.ZodTypeDef, {
764
1065
  type: string;
765
1066
  id: string;
@@ -799,6 +1100,18 @@ export declare const wrapUpFormContract: {
799
1100
  callFrom: string | null;
800
1101
  callTo: string | null;
801
1102
  note: string | null;
1103
+ customFields?: {
1104
+ id: string;
1105
+ createdAt: Date;
1106
+ updatedAt: Date;
1107
+ deletedAt: Date | null;
1108
+ entityId: string;
1109
+ attributeId: string;
1110
+ textValue: string | null;
1111
+ booleanValue: boolean | null;
1112
+ numberValue: number | null;
1113
+ dateValue: Date | null;
1114
+ }[] | null | undefined;
802
1115
  }>, "many">;
803
1116
  }, "strip", z.ZodTypeAny, {
804
1117
  data: {
@@ -840,6 +1153,18 @@ export declare const wrapUpFormContract: {
840
1153
  callFrom: string | null;
841
1154
  callTo: string | null;
842
1155
  note: string | null;
1156
+ customFields?: {
1157
+ id: string;
1158
+ createdAt: Date;
1159
+ updatedAt: Date;
1160
+ deletedAt: Date | null;
1161
+ entityId: string;
1162
+ attributeId: string;
1163
+ textValue: string | null;
1164
+ booleanValue: boolean | null;
1165
+ numberValue: number | null;
1166
+ dateValue: Date | null;
1167
+ }[] | null | undefined;
843
1168
  }[];
844
1169
  total: number;
845
1170
  page: number;
@@ -885,6 +1210,18 @@ export declare const wrapUpFormContract: {
885
1210
  callFrom: string | null;
886
1211
  callTo: string | null;
887
1212
  note: string | null;
1213
+ customFields?: {
1214
+ id: string;
1215
+ createdAt: Date;
1216
+ updatedAt: Date;
1217
+ deletedAt: Date | null;
1218
+ entityId: string;
1219
+ attributeId: string;
1220
+ textValue: string | null;
1221
+ booleanValue: boolean | null;
1222
+ numberValue: number | null;
1223
+ dateValue: Date | null;
1224
+ }[] | null | undefined;
888
1225
  }[];
889
1226
  total: number;
890
1227
  page?: number | undefined;
@@ -937,13 +1274,334 @@ export declare const wrapUpFormContract: {
937
1274
  'x-client-timezone'?: string | undefined;
938
1275
  }>>>;
939
1276
  };
1277
+ getWrapUpForm: {
1278
+ method: "GET";
1279
+ pathParams: z.ZodObject<{
1280
+ id: z.ZodString;
1281
+ }, "strip", z.ZodTypeAny, {
1282
+ id: string;
1283
+ }, {
1284
+ id: string;
1285
+ }>;
1286
+ responses: {
1287
+ 200: z.ZodObject<{
1288
+ id: z.ZodString;
1289
+ createdAt: z.ZodDate;
1290
+ updatedAt: z.ZodDate;
1291
+ deletedAt: z.ZodNullable<z.ZodDate>;
1292
+ note: z.ZodNullable<z.ZodString>;
1293
+ disposition: z.ZodNullable<z.ZodString>;
1294
+ type: z.ZodString;
1295
+ tags: z.ZodArray<z.ZodObject<{
1296
+ id: z.ZodString;
1297
+ createdAt: z.ZodDate;
1298
+ updatedAt: z.ZodDate;
1299
+ deletedAt: z.ZodNullable<z.ZodDate>;
1300
+ name: z.ZodString;
1301
+ }, "strip", z.ZodTypeAny, {
1302
+ id: string;
1303
+ name: string;
1304
+ createdAt: Date;
1305
+ updatedAt: Date;
1306
+ deletedAt: Date | null;
1307
+ }, {
1308
+ id: string;
1309
+ name: string;
1310
+ createdAt: Date;
1311
+ updatedAt: Date;
1312
+ deletedAt: Date | null;
1313
+ }>, "many">;
1314
+ categories: z.ZodArray<z.ZodObject<{
1315
+ id: z.ZodString;
1316
+ createdAt: z.ZodDate;
1317
+ updatedAt: z.ZodDate;
1318
+ deletedAt: z.ZodNullable<z.ZodDate>;
1319
+ value: z.ZodString;
1320
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1321
+ parentId: z.ZodNullable<z.ZodString>;
1322
+ childCategoryList: z.ZodArray<z.ZodObject<{
1323
+ id: z.ZodString;
1324
+ value: z.ZodString;
1325
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1326
+ parentId: z.ZodNullable<z.ZodString>;
1327
+ childCategoryList: z.ZodArray<z.ZodObject<{
1328
+ id: z.ZodString;
1329
+ value: z.ZodString;
1330
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1331
+ parentId: z.ZodNullable<z.ZodString>;
1332
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
1333
+ }, "strip", z.ZodTypeAny, {
1334
+ id: string;
1335
+ value: string;
1336
+ level: 2 | 1 | 3;
1337
+ parentId: string | null;
1338
+ childCategoryList: any[];
1339
+ }, {
1340
+ id: string;
1341
+ value: string;
1342
+ level: 2 | 1 | 3;
1343
+ parentId: string | null;
1344
+ childCategoryList: any[];
1345
+ }>, "many">;
1346
+ }, "strip", z.ZodTypeAny, {
1347
+ id: string;
1348
+ value: string;
1349
+ level: 2 | 1 | 3;
1350
+ parentId: string | null;
1351
+ childCategoryList: {
1352
+ id: string;
1353
+ value: string;
1354
+ level: 2 | 1 | 3;
1355
+ parentId: string | null;
1356
+ childCategoryList: any[];
1357
+ }[];
1358
+ }, {
1359
+ id: string;
1360
+ value: string;
1361
+ level: 2 | 1 | 3;
1362
+ parentId: string | null;
1363
+ childCategoryList: {
1364
+ id: string;
1365
+ value: string;
1366
+ level: 2 | 1 | 3;
1367
+ parentId: string | null;
1368
+ childCategoryList: any[];
1369
+ }[];
1370
+ }>, "many">;
1371
+ }, "strip", z.ZodTypeAny, {
1372
+ id: string;
1373
+ value: string;
1374
+ createdAt: Date;
1375
+ updatedAt: Date;
1376
+ deletedAt: Date | null;
1377
+ level: 2 | 1 | 3;
1378
+ parentId: string | null;
1379
+ childCategoryList: {
1380
+ id: string;
1381
+ value: string;
1382
+ level: 2 | 1 | 3;
1383
+ parentId: string | null;
1384
+ childCategoryList: {
1385
+ id: string;
1386
+ value: string;
1387
+ level: 2 | 1 | 3;
1388
+ parentId: string | null;
1389
+ childCategoryList: any[];
1390
+ }[];
1391
+ }[];
1392
+ }, {
1393
+ id: string;
1394
+ value: string;
1395
+ createdAt: Date;
1396
+ updatedAt: Date;
1397
+ deletedAt: Date | null;
1398
+ level: 2 | 1 | 3;
1399
+ parentId: string | null;
1400
+ childCategoryList: {
1401
+ id: string;
1402
+ value: string;
1403
+ level: 2 | 1 | 3;
1404
+ parentId: string | null;
1405
+ childCategoryList: {
1406
+ id: string;
1407
+ value: string;
1408
+ level: 2 | 1 | 3;
1409
+ parentId: string | null;
1410
+ childCategoryList: any[];
1411
+ }[];
1412
+ }[];
1413
+ }>, "many">;
1414
+ callFrom: z.ZodNullable<z.ZodString>;
1415
+ callTo: z.ZodNullable<z.ZodString>;
1416
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1417
+ id: z.ZodString;
1418
+ createdAt: z.ZodDate;
1419
+ updatedAt: z.ZodDate;
1420
+ deletedAt: z.ZodNullable<z.ZodDate>;
1421
+ textValue: z.ZodNullable<z.ZodString>;
1422
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
1423
+ numberValue: z.ZodNullable<z.ZodNumber>;
1424
+ dateValue: z.ZodNullable<z.ZodDate>;
1425
+ entityId: z.ZodString;
1426
+ attributeId: z.ZodString;
1427
+ }, "strip", z.ZodTypeAny, {
1428
+ id: string;
1429
+ createdAt: Date;
1430
+ updatedAt: Date;
1431
+ deletedAt: Date | null;
1432
+ entityId: string;
1433
+ attributeId: string;
1434
+ textValue: string | null;
1435
+ booleanValue: boolean | null;
1436
+ numberValue: number | null;
1437
+ dateValue: Date | null;
1438
+ }, {
1439
+ id: string;
1440
+ createdAt: Date;
1441
+ updatedAt: Date;
1442
+ deletedAt: Date | null;
1443
+ entityId: string;
1444
+ attributeId: string;
1445
+ textValue: string | null;
1446
+ booleanValue: boolean | null;
1447
+ numberValue: number | null;
1448
+ dateValue: Date | null;
1449
+ }>, "many">>>;
1450
+ }, "strip", z.ZodTypeAny, {
1451
+ type: string;
1452
+ id: string;
1453
+ disposition: string | null;
1454
+ createdAt: Date;
1455
+ updatedAt: Date;
1456
+ deletedAt: Date | null;
1457
+ categories: {
1458
+ id: string;
1459
+ value: string;
1460
+ createdAt: Date;
1461
+ updatedAt: Date;
1462
+ deletedAt: Date | null;
1463
+ level: 2 | 1 | 3;
1464
+ parentId: string | null;
1465
+ childCategoryList: {
1466
+ id: string;
1467
+ value: string;
1468
+ level: 2 | 1 | 3;
1469
+ parentId: string | null;
1470
+ childCategoryList: {
1471
+ id: string;
1472
+ value: string;
1473
+ level: 2 | 1 | 3;
1474
+ parentId: string | null;
1475
+ childCategoryList: any[];
1476
+ }[];
1477
+ }[];
1478
+ }[];
1479
+ tags: {
1480
+ id: string;
1481
+ name: string;
1482
+ createdAt: Date;
1483
+ updatedAt: Date;
1484
+ deletedAt: Date | null;
1485
+ }[];
1486
+ callFrom: string | null;
1487
+ callTo: string | null;
1488
+ note: string | null;
1489
+ customFields?: {
1490
+ id: string;
1491
+ createdAt: Date;
1492
+ updatedAt: Date;
1493
+ deletedAt: Date | null;
1494
+ entityId: string;
1495
+ attributeId: string;
1496
+ textValue: string | null;
1497
+ booleanValue: boolean | null;
1498
+ numberValue: number | null;
1499
+ dateValue: Date | null;
1500
+ }[] | null | undefined;
1501
+ }, {
1502
+ type: string;
1503
+ id: string;
1504
+ disposition: string | null;
1505
+ createdAt: Date;
1506
+ updatedAt: Date;
1507
+ deletedAt: Date | null;
1508
+ categories: {
1509
+ id: string;
1510
+ value: string;
1511
+ createdAt: Date;
1512
+ updatedAt: Date;
1513
+ deletedAt: Date | null;
1514
+ level: 2 | 1 | 3;
1515
+ parentId: string | null;
1516
+ childCategoryList: {
1517
+ id: string;
1518
+ value: string;
1519
+ level: 2 | 1 | 3;
1520
+ parentId: string | null;
1521
+ childCategoryList: {
1522
+ id: string;
1523
+ value: string;
1524
+ level: 2 | 1 | 3;
1525
+ parentId: string | null;
1526
+ childCategoryList: any[];
1527
+ }[];
1528
+ }[];
1529
+ }[];
1530
+ tags: {
1531
+ id: string;
1532
+ name: string;
1533
+ createdAt: Date;
1534
+ updatedAt: Date;
1535
+ deletedAt: Date | null;
1536
+ }[];
1537
+ callFrom: string | null;
1538
+ callTo: string | null;
1539
+ note: string | null;
1540
+ customFields?: {
1541
+ id: string;
1542
+ createdAt: Date;
1543
+ updatedAt: Date;
1544
+ deletedAt: Date | null;
1545
+ entityId: string;
1546
+ attributeId: string;
1547
+ textValue: string | null;
1548
+ booleanValue: boolean | null;
1549
+ numberValue: number | null;
1550
+ dateValue: Date | null;
1551
+ }[] | null | undefined;
1552
+ }>;
1553
+ 400: z.ZodObject<{
1554
+ message: z.ZodString;
1555
+ }, "strip", z.ZodTypeAny, {
1556
+ message: string;
1557
+ }, {
1558
+ message: string;
1559
+ }>;
1560
+ 401: z.ZodObject<{
1561
+ message: z.ZodString;
1562
+ error: z.ZodAny;
1563
+ }, "strip", z.ZodTypeAny, {
1564
+ message: string;
1565
+ error?: any;
1566
+ }, {
1567
+ message: string;
1568
+ error?: any;
1569
+ }>;
1570
+ 500: z.ZodObject<{
1571
+ message: z.ZodString;
1572
+ error: z.ZodAny;
1573
+ }, "strip", z.ZodTypeAny, {
1574
+ message: string;
1575
+ error?: any;
1576
+ }, {
1577
+ message: string;
1578
+ error?: any;
1579
+ }>;
1580
+ };
1581
+ path: "wrap-up-form/:id";
1582
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1583
+ 'x-tenant': z.ZodString;
1584
+ authorization: z.ZodString;
1585
+ 'x-code': z.ZodOptional<z.ZodString>;
1586
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
1587
+ }, "strip", z.ZodTypeAny, {
1588
+ 'x-tenant': string;
1589
+ authorization: string;
1590
+ 'x-client-timezone': string;
1591
+ 'x-code'?: string | undefined;
1592
+ }, {
1593
+ 'x-tenant': string;
1594
+ authorization: string;
1595
+ 'x-code'?: string | undefined;
1596
+ 'x-client-timezone'?: string | undefined;
1597
+ }>>>;
1598
+ };
940
1599
  updateWrapUpForm: {
941
1600
  body: z.ZodObject<{
942
1601
  disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
943
1602
  callFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
944
1603
  callTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
945
1604
  note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
946
- type: z.ZodOptional<z.ZodString>;
947
1605
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
948
1606
  categoryIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
949
1607
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -959,12 +1617,12 @@ export declare const wrapUpFormContract: {
959
1617
  id: string;
960
1618
  value: string;
961
1619
  }>, "many">>;
1620
+ durationSeconds: z.ZodOptional<z.ZodNumber>;
962
1621
  }, "strip", z.ZodTypeAny, {
963
1622
  disposition?: string | null | undefined;
964
1623
  callFrom?: string | null | undefined;
965
1624
  callTo?: string | null | undefined;
966
1625
  note?: string | null | undefined;
967
- type?: string | undefined;
968
1626
  tags?: string[] | undefined;
969
1627
  categoryIds?: string[] | undefined;
970
1628
  customFields?: {
@@ -972,12 +1630,12 @@ export declare const wrapUpFormContract: {
972
1630
  id: string;
973
1631
  value: string;
974
1632
  }[] | undefined;
1633
+ durationSeconds?: number | undefined;
975
1634
  }, {
976
1635
  disposition?: string | null | undefined;
977
1636
  callFrom?: string | null | undefined;
978
1637
  callTo?: string | null | undefined;
979
1638
  note?: string | null | undefined;
980
- type?: string | undefined;
981
1639
  tags?: string[] | undefined;
982
1640
  categoryIds?: string[] | undefined;
983
1641
  customFields?: {
@@ -985,6 +1643,7 @@ export declare const wrapUpFormContract: {
985
1643
  id: string;
986
1644
  value: string;
987
1645
  }[] | undefined;
1646
+ durationSeconds?: number | undefined;
988
1647
  }>;
989
1648
  summary: "Update a wrap up form.";
990
1649
  method: "PATCH";
@@ -1127,6 +1786,40 @@ export declare const wrapUpFormContract: {
1127
1786
  }>, "many">;
1128
1787
  callFrom: z.ZodNullable<z.ZodString>;
1129
1788
  callTo: z.ZodNullable<z.ZodString>;
1789
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1790
+ id: z.ZodString;
1791
+ createdAt: z.ZodDate;
1792
+ updatedAt: z.ZodDate;
1793
+ deletedAt: z.ZodNullable<z.ZodDate>;
1794
+ textValue: z.ZodNullable<z.ZodString>;
1795
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
1796
+ numberValue: z.ZodNullable<z.ZodNumber>;
1797
+ dateValue: z.ZodNullable<z.ZodDate>;
1798
+ entityId: z.ZodString;
1799
+ attributeId: z.ZodString;
1800
+ }, "strip", z.ZodTypeAny, {
1801
+ id: string;
1802
+ createdAt: Date;
1803
+ updatedAt: Date;
1804
+ deletedAt: Date | null;
1805
+ entityId: string;
1806
+ attributeId: string;
1807
+ textValue: string | null;
1808
+ booleanValue: boolean | null;
1809
+ numberValue: number | null;
1810
+ dateValue: Date | null;
1811
+ }, {
1812
+ id: string;
1813
+ createdAt: Date;
1814
+ updatedAt: Date;
1815
+ deletedAt: Date | null;
1816
+ entityId: string;
1817
+ attributeId: string;
1818
+ textValue: string | null;
1819
+ booleanValue: boolean | null;
1820
+ numberValue: number | null;
1821
+ dateValue: Date | null;
1822
+ }>, "many">>>;
1130
1823
  }, "strip", z.ZodTypeAny, {
1131
1824
  type: string;
1132
1825
  id: string;
@@ -1166,6 +1859,18 @@ export declare const wrapUpFormContract: {
1166
1859
  callFrom: string | null;
1167
1860
  callTo: string | null;
1168
1861
  note: string | null;
1862
+ customFields?: {
1863
+ id: string;
1864
+ createdAt: Date;
1865
+ updatedAt: Date;
1866
+ deletedAt: Date | null;
1867
+ entityId: string;
1868
+ attributeId: string;
1869
+ textValue: string | null;
1870
+ booleanValue: boolean | null;
1871
+ numberValue: number | null;
1872
+ dateValue: Date | null;
1873
+ }[] | null | undefined;
1169
1874
  }, {
1170
1875
  type: string;
1171
1876
  id: string;
@@ -1205,6 +1910,18 @@ export declare const wrapUpFormContract: {
1205
1910
  callFrom: string | null;
1206
1911
  callTo: string | null;
1207
1912
  note: string | null;
1913
+ customFields?: {
1914
+ id: string;
1915
+ createdAt: Date;
1916
+ updatedAt: Date;
1917
+ deletedAt: Date | null;
1918
+ entityId: string;
1919
+ attributeId: string;
1920
+ textValue: string | null;
1921
+ booleanValue: boolean | null;
1922
+ numberValue: number | null;
1923
+ dateValue: Date | null;
1924
+ }[] | null | undefined;
1208
1925
  }>;
1209
1926
  }, "strip", z.ZodTypeAny, {
1210
1927
  requestId: string;
@@ -1247,6 +1964,18 @@ export declare const wrapUpFormContract: {
1247
1964
  callFrom: string | null;
1248
1965
  callTo: string | null;
1249
1966
  note: string | null;
1967
+ customFields?: {
1968
+ id: string;
1969
+ createdAt: Date;
1970
+ updatedAt: Date;
1971
+ deletedAt: Date | null;
1972
+ entityId: string;
1973
+ attributeId: string;
1974
+ textValue: string | null;
1975
+ booleanValue: boolean | null;
1976
+ numberValue: number | null;
1977
+ dateValue: Date | null;
1978
+ }[] | null | undefined;
1250
1979
  };
1251
1980
  }, {
1252
1981
  requestId: string;
@@ -1289,6 +2018,18 @@ export declare const wrapUpFormContract: {
1289
2018
  callFrom: string | null;
1290
2019
  callTo: string | null;
1291
2020
  note: string | null;
2021
+ customFields?: {
2022
+ id: string;
2023
+ createdAt: Date;
2024
+ updatedAt: Date;
2025
+ deletedAt: Date | null;
2026
+ entityId: string;
2027
+ attributeId: string;
2028
+ textValue: string | null;
2029
+ booleanValue: boolean | null;
2030
+ numberValue: number | null;
2031
+ dateValue: Date | null;
2032
+ }[] | null | undefined;
1292
2033
  };
1293
2034
  }>;
1294
2035
  400: z.ZodObject<{