@kl1/contracts 1.1.28-uat → 1.1.28
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.
- package/dist/index.js +1724 -1818
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1722 -1817
- package/dist/index.mjs.map +1 -1
- package/dist/src/botpress/index.d.ts +547 -0
- package/dist/src/botpress/index.d.ts.map +1 -0
- package/dist/src/botpress/schema.d.ts +81 -0
- package/dist/src/botpress/schema.d.ts.map +1 -0
- package/dist/src/botpress/validation.d.ts +229 -0
- package/dist/src/botpress/validation.d.ts.map +1 -0
- package/dist/src/business-calendar/index.d.ts +41 -5
- package/dist/src/business-calendar/index.d.ts.map +1 -1
- package/dist/src/business-calendar/schema.d.ts +11 -0
- package/dist/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/src/business-calendar/validation.d.ts +8 -8
- package/dist/src/chat/index.d.ts +32786 -31988
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +213 -39
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +164 -24
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +21624 -71209
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/contract2.d.ts +2 -0
- package/dist/src/contract2.d.ts.map +1 -0
- package/dist/src/cx-log/index.d.ts +13 -8
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +15 -12
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +152 -12
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +152 -12
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +33 -2243
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +1 -2045
- package/dist/src/mail/message-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +32 -200
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/message-validation.schema.d.ts +0 -3
- package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/message.schema.d.ts +0 -6
- package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +12 -68
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +8 -54
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +152 -12
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/call-report.schema.d.ts +62 -62
- package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
- package/dist/src/telephony-cdr/index.d.ts +1 -622
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +152 -12
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/webchat/index.d.ts +153 -15
- package/dist/src/webchat/index.d.ts.map +1 -1
- package/dist/src/workflow-rule/index.d.ts +7305 -0
- package/dist/src/workflow-rule/index.d.ts.map +1 -0
- package/dist/src/workflow-rule/schema.d.ts +27 -0
- package/dist/src/workflow-rule/schema.d.ts.map +1 -0
- package/dist/src/wrap-up-form/index.d.ts +475 -22
- package/dist/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/src/wrap-up-form/schema.d.ts +4 -4
- package/dist/src/wrap-up-form/validation.d.ts +6 -0
- package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
- 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,7 +280,7 @@ export declare const wrapUpFormContract: {
|
|
155
280
|
}>, "many">;
|
156
281
|
callFrom: z.ZodNullable<z.ZodString>;
|
157
282
|
callTo: z.ZodNullable<z.ZodString>;
|
158
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
283
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
159
284
|
id: z.ZodString;
|
160
285
|
createdAt: z.ZodDate;
|
161
286
|
updatedAt: z.ZodDate;
|
@@ -188,7 +313,7 @@ export declare const wrapUpFormContract: {
|
|
188
313
|
booleanValue: boolean | null;
|
189
314
|
numberValue: number | null;
|
190
315
|
dateValue: Date | null;
|
191
|
-
}>, "many"
|
316
|
+
}>, "many">>>;
|
192
317
|
}, "strip", z.ZodTypeAny, {
|
193
318
|
type: string;
|
194
319
|
id: string;
|
@@ -239,7 +364,7 @@ export declare const wrapUpFormContract: {
|
|
239
364
|
booleanValue: boolean | null;
|
240
365
|
numberValue: number | null;
|
241
366
|
dateValue: Date | null;
|
242
|
-
}[] | undefined;
|
367
|
+
}[] | null | undefined;
|
243
368
|
}, {
|
244
369
|
type: string;
|
245
370
|
id: string;
|
@@ -290,7 +415,7 @@ export declare const wrapUpFormContract: {
|
|
290
415
|
booleanValue: boolean | null;
|
291
416
|
numberValue: number | null;
|
292
417
|
dateValue: Date | null;
|
293
|
-
}[] | undefined;
|
418
|
+
}[] | null | undefined;
|
294
419
|
}>;
|
295
420
|
}, "strip", z.ZodTypeAny, {
|
296
421
|
requestId: string;
|
@@ -344,7 +469,7 @@ export declare const wrapUpFormContract: {
|
|
344
469
|
booleanValue: boolean | null;
|
345
470
|
numberValue: number | null;
|
346
471
|
dateValue: Date | null;
|
347
|
-
}[] | undefined;
|
472
|
+
}[] | null | undefined;
|
348
473
|
};
|
349
474
|
}, {
|
350
475
|
requestId: string;
|
@@ -398,7 +523,7 @@ export declare const wrapUpFormContract: {
|
|
398
523
|
booleanValue: boolean | null;
|
399
524
|
numberValue: number | null;
|
400
525
|
dateValue: Date | null;
|
401
|
-
}[] | undefined;
|
526
|
+
}[] | null | undefined;
|
402
527
|
};
|
403
528
|
}>;
|
404
529
|
400: z.ZodObject<{
|
@@ -597,7 +722,7 @@ export declare const wrapUpFormContract: {
|
|
597
722
|
}>, "many">;
|
598
723
|
callFrom: z.ZodNullable<z.ZodString>;
|
599
724
|
callTo: z.ZodNullable<z.ZodString>;
|
600
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
725
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
601
726
|
id: z.ZodString;
|
602
727
|
createdAt: z.ZodDate;
|
603
728
|
updatedAt: z.ZodDate;
|
@@ -630,7 +755,7 @@ export declare const wrapUpFormContract: {
|
|
630
755
|
booleanValue: boolean | null;
|
631
756
|
numberValue: number | null;
|
632
757
|
dateValue: Date | null;
|
633
|
-
}>, "many"
|
758
|
+
}>, "many">>>;
|
634
759
|
}, "strip", z.ZodTypeAny, {
|
635
760
|
type: string;
|
636
761
|
id: string;
|
@@ -681,7 +806,7 @@ export declare const wrapUpFormContract: {
|
|
681
806
|
booleanValue: boolean | null;
|
682
807
|
numberValue: number | null;
|
683
808
|
dateValue: Date | null;
|
684
|
-
}[] | undefined;
|
809
|
+
}[] | null | undefined;
|
685
810
|
}, {
|
686
811
|
type: string;
|
687
812
|
id: string;
|
@@ -732,7 +857,7 @@ export declare const wrapUpFormContract: {
|
|
732
857
|
booleanValue: boolean | null;
|
733
858
|
numberValue: number | null;
|
734
859
|
dateValue: Date | null;
|
735
|
-
}[] | undefined;
|
860
|
+
}[] | null | undefined;
|
736
861
|
}>;
|
737
862
|
}, "strip", z.ZodTypeAny, {
|
738
863
|
requestId: string;
|
@@ -786,7 +911,7 @@ export declare const wrapUpFormContract: {
|
|
786
911
|
booleanValue: boolean | null;
|
787
912
|
numberValue: number | null;
|
788
913
|
dateValue: Date | null;
|
789
|
-
}[] | undefined;
|
914
|
+
}[] | null | undefined;
|
790
915
|
};
|
791
916
|
}, {
|
792
917
|
requestId: string;
|
@@ -840,7 +965,7 @@ export declare const wrapUpFormContract: {
|
|
840
965
|
booleanValue: boolean | null;
|
841
966
|
numberValue: number | null;
|
842
967
|
dateValue: Date | null;
|
843
|
-
}[] | undefined;
|
968
|
+
}[] | null | undefined;
|
844
969
|
};
|
845
970
|
}>;
|
846
971
|
401: z.ZodObject<{
|
@@ -935,7 +1060,7 @@ export declare const wrapUpFormContract: {
|
|
935
1060
|
booleanValue: boolean | null;
|
936
1061
|
numberValue: number | null;
|
937
1062
|
dateValue: Date | null;
|
938
|
-
}[] | undefined;
|
1063
|
+
}[] | null | undefined;
|
939
1064
|
}, z.ZodTypeDef, {
|
940
1065
|
type: string;
|
941
1066
|
id: string;
|
@@ -986,7 +1111,7 @@ export declare const wrapUpFormContract: {
|
|
986
1111
|
booleanValue: boolean | null;
|
987
1112
|
numberValue: number | null;
|
988
1113
|
dateValue: Date | null;
|
989
|
-
}[] | undefined;
|
1114
|
+
}[] | null | undefined;
|
990
1115
|
}>, "many">;
|
991
1116
|
}, "strip", z.ZodTypeAny, {
|
992
1117
|
data: {
|
@@ -1039,7 +1164,7 @@ export declare const wrapUpFormContract: {
|
|
1039
1164
|
booleanValue: boolean | null;
|
1040
1165
|
numberValue: number | null;
|
1041
1166
|
dateValue: Date | null;
|
1042
|
-
}[] | undefined;
|
1167
|
+
}[] | null | undefined;
|
1043
1168
|
}[];
|
1044
1169
|
total: number;
|
1045
1170
|
page: number;
|
@@ -1096,7 +1221,7 @@ export declare const wrapUpFormContract: {
|
|
1096
1221
|
booleanValue: boolean | null;
|
1097
1222
|
numberValue: number | null;
|
1098
1223
|
dateValue: Date | null;
|
1099
|
-
}[] | undefined;
|
1224
|
+
}[] | null | undefined;
|
1100
1225
|
}[];
|
1101
1226
|
total: number;
|
1102
1227
|
page?: number | undefined;
|
@@ -1149,12 +1274,335 @@ export declare const wrapUpFormContract: {
|
|
1149
1274
|
'x-client-timezone'?: string | undefined;
|
1150
1275
|
}>>>;
|
1151
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
|
+
};
|
1152
1599
|
updateWrapUpForm: {
|
1153
1600
|
body: z.ZodObject<{
|
1154
1601
|
disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1155
1602
|
callFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1156
1603
|
callTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1157
1604
|
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1605
|
+
cxLogId: z.ZodOptional<z.ZodString>;
|
1158
1606
|
type: z.ZodOptional<z.ZodString>;
|
1159
1607
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1160
1608
|
categoryIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -1171,11 +1619,13 @@ export declare const wrapUpFormContract: {
|
|
1171
1619
|
id: string;
|
1172
1620
|
value: string;
|
1173
1621
|
}>, "many">>;
|
1622
|
+
durationSeconds: z.ZodOptional<z.ZodNumber>;
|
1174
1623
|
}, "strip", z.ZodTypeAny, {
|
1175
1624
|
disposition?: string | null | undefined;
|
1176
1625
|
callFrom?: string | null | undefined;
|
1177
1626
|
callTo?: string | null | undefined;
|
1178
1627
|
note?: string | null | undefined;
|
1628
|
+
cxLogId?: string | undefined;
|
1179
1629
|
type?: string | undefined;
|
1180
1630
|
tags?: string[] | undefined;
|
1181
1631
|
categoryIds?: string[] | undefined;
|
@@ -1184,11 +1634,13 @@ export declare const wrapUpFormContract: {
|
|
1184
1634
|
id: string;
|
1185
1635
|
value: string;
|
1186
1636
|
}[] | undefined;
|
1637
|
+
durationSeconds?: number | undefined;
|
1187
1638
|
}, {
|
1188
1639
|
disposition?: string | null | undefined;
|
1189
1640
|
callFrom?: string | null | undefined;
|
1190
1641
|
callTo?: string | null | undefined;
|
1191
1642
|
note?: string | null | undefined;
|
1643
|
+
cxLogId?: string | undefined;
|
1192
1644
|
type?: string | undefined;
|
1193
1645
|
tags?: string[] | undefined;
|
1194
1646
|
categoryIds?: string[] | undefined;
|
@@ -1197,6 +1649,7 @@ export declare const wrapUpFormContract: {
|
|
1197
1649
|
id: string;
|
1198
1650
|
value: string;
|
1199
1651
|
}[] | undefined;
|
1652
|
+
durationSeconds?: number | undefined;
|
1200
1653
|
}>;
|
1201
1654
|
summary: "Update a wrap up form.";
|
1202
1655
|
method: "PATCH";
|
@@ -1339,7 +1792,7 @@ export declare const wrapUpFormContract: {
|
|
1339
1792
|
}>, "many">;
|
1340
1793
|
callFrom: z.ZodNullable<z.ZodString>;
|
1341
1794
|
callTo: z.ZodNullable<z.ZodString>;
|
1342
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1795
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1343
1796
|
id: z.ZodString;
|
1344
1797
|
createdAt: z.ZodDate;
|
1345
1798
|
updatedAt: z.ZodDate;
|
@@ -1372,7 +1825,7 @@ export declare const wrapUpFormContract: {
|
|
1372
1825
|
booleanValue: boolean | null;
|
1373
1826
|
numberValue: number | null;
|
1374
1827
|
dateValue: Date | null;
|
1375
|
-
}>, "many"
|
1828
|
+
}>, "many">>>;
|
1376
1829
|
}, "strip", z.ZodTypeAny, {
|
1377
1830
|
type: string;
|
1378
1831
|
id: string;
|
@@ -1423,7 +1876,7 @@ export declare const wrapUpFormContract: {
|
|
1423
1876
|
booleanValue: boolean | null;
|
1424
1877
|
numberValue: number | null;
|
1425
1878
|
dateValue: Date | null;
|
1426
|
-
}[] | undefined;
|
1879
|
+
}[] | null | undefined;
|
1427
1880
|
}, {
|
1428
1881
|
type: string;
|
1429
1882
|
id: string;
|
@@ -1474,7 +1927,7 @@ export declare const wrapUpFormContract: {
|
|
1474
1927
|
booleanValue: boolean | null;
|
1475
1928
|
numberValue: number | null;
|
1476
1929
|
dateValue: Date | null;
|
1477
|
-
}[] | undefined;
|
1930
|
+
}[] | null | undefined;
|
1478
1931
|
}>;
|
1479
1932
|
}, "strip", z.ZodTypeAny, {
|
1480
1933
|
requestId: string;
|
@@ -1528,7 +1981,7 @@ export declare const wrapUpFormContract: {
|
|
1528
1981
|
booleanValue: boolean | null;
|
1529
1982
|
numberValue: number | null;
|
1530
1983
|
dateValue: Date | null;
|
1531
|
-
}[] | undefined;
|
1984
|
+
}[] | null | undefined;
|
1532
1985
|
};
|
1533
1986
|
}, {
|
1534
1987
|
requestId: string;
|
@@ -1582,7 +2035,7 @@ export declare const wrapUpFormContract: {
|
|
1582
2035
|
booleanValue: boolean | null;
|
1583
2036
|
numberValue: number | null;
|
1584
2037
|
dateValue: Date | null;
|
1585
|
-
}[] | undefined;
|
2038
|
+
}[] | null | undefined;
|
1586
2039
|
};
|
1587
2040
|
}>;
|
1588
2041
|
400: z.ZodObject<{
|