@kl1/contracts 1.1.35-uat → 1.1.37-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.
- package/dist/index.js +50 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +50 -3
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +128 -118
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +18 -18
- package/dist/src/chat/validation.d.ts +24 -24
- package/dist/src/contract.d.ts +700 -246
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +8 -8
- package/dist/src/cx-log/schema.d.ts +12 -12
- package/dist/src/instagram/index.d.ts +12 -12
- package/dist/src/line/index.d.ts +12 -12
- package/dist/src/mail/mail-contract.d.ts +30 -30
- package/dist/src/mail/room-contract.d.ts +30 -30
- package/dist/src/mail/schemas/room-validation.schema.d.ts +10 -10
- package/dist/src/mail/schemas/room.schema.d.ts +8 -8
- package/dist/src/messenger/index.d.ts +12 -12
- package/dist/src/viber/index.d.ts +12 -12
- package/dist/src/webchat/index.d.ts +12 -12
- package/dist/src/workflow-rule/index.d.ts +20 -20
- package/dist/src/wrap-up-form/index.d.ts +466 -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 +3 -0
- package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
- package/package.json +1 -1
@@ -4,6 +4,125 @@ 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.ZodNumber;
|
68
|
+
method: "PATCH";
|
69
|
+
responses: {
|
70
|
+
200: z.ZodObject<{
|
71
|
+
requestId: z.ZodString;
|
72
|
+
wrapUpFormTimer: z.ZodNumber;
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
74
|
+
requestId: string;
|
75
|
+
wrapUpFormTimer: number;
|
76
|
+
}, {
|
77
|
+
requestId: string;
|
78
|
+
wrapUpFormTimer: number;
|
79
|
+
}>;
|
80
|
+
400: z.ZodObject<{
|
81
|
+
message: z.ZodString;
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
83
|
+
message: string;
|
84
|
+
}, {
|
85
|
+
message: string;
|
86
|
+
}>;
|
87
|
+
401: z.ZodObject<{
|
88
|
+
message: z.ZodString;
|
89
|
+
error: z.ZodAny;
|
90
|
+
}, "strip", z.ZodTypeAny, {
|
91
|
+
message: string;
|
92
|
+
error?: any;
|
93
|
+
}, {
|
94
|
+
message: string;
|
95
|
+
error?: any;
|
96
|
+
}>;
|
97
|
+
500: z.ZodObject<{
|
98
|
+
message: z.ZodString;
|
99
|
+
error: z.ZodAny;
|
100
|
+
}, "strip", z.ZodTypeAny, {
|
101
|
+
message: string;
|
102
|
+
error?: any;
|
103
|
+
}, {
|
104
|
+
message: string;
|
105
|
+
error?: any;
|
106
|
+
}>;
|
107
|
+
};
|
108
|
+
path: "wrap-up-form/timer";
|
109
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
110
|
+
'x-tenant': z.ZodString;
|
111
|
+
authorization: z.ZodString;
|
112
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
113
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
115
|
+
'x-tenant': string;
|
116
|
+
authorization: string;
|
117
|
+
'x-client-timezone': string;
|
118
|
+
'x-code'?: string | undefined;
|
119
|
+
}, {
|
120
|
+
'x-tenant': string;
|
121
|
+
authorization: string;
|
122
|
+
'x-code'?: string | undefined;
|
123
|
+
'x-client-timezone'?: string | undefined;
|
124
|
+
}>>>;
|
125
|
+
};
|
7
126
|
createWrapUpForm: {
|
8
127
|
body: z.ZodObject<{
|
9
128
|
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -155,7 +274,7 @@ export declare const wrapUpFormContract: {
|
|
155
274
|
}>, "many">;
|
156
275
|
callFrom: z.ZodNullable<z.ZodString>;
|
157
276
|
callTo: z.ZodNullable<z.ZodString>;
|
158
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
277
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
159
278
|
id: z.ZodString;
|
160
279
|
createdAt: z.ZodDate;
|
161
280
|
updatedAt: z.ZodDate;
|
@@ -188,7 +307,7 @@ export declare const wrapUpFormContract: {
|
|
188
307
|
booleanValue: boolean | null;
|
189
308
|
numberValue: number | null;
|
190
309
|
dateValue: Date | null;
|
191
|
-
}>, "many"
|
310
|
+
}>, "many">>>;
|
192
311
|
}, "strip", z.ZodTypeAny, {
|
193
312
|
type: string;
|
194
313
|
id: string;
|
@@ -239,7 +358,7 @@ export declare const wrapUpFormContract: {
|
|
239
358
|
booleanValue: boolean | null;
|
240
359
|
numberValue: number | null;
|
241
360
|
dateValue: Date | null;
|
242
|
-
}[] | undefined;
|
361
|
+
}[] | null | undefined;
|
243
362
|
}, {
|
244
363
|
type: string;
|
245
364
|
id: string;
|
@@ -290,7 +409,7 @@ export declare const wrapUpFormContract: {
|
|
290
409
|
booleanValue: boolean | null;
|
291
410
|
numberValue: number | null;
|
292
411
|
dateValue: Date | null;
|
293
|
-
}[] | undefined;
|
412
|
+
}[] | null | undefined;
|
294
413
|
}>;
|
295
414
|
}, "strip", z.ZodTypeAny, {
|
296
415
|
requestId: string;
|
@@ -344,7 +463,7 @@ export declare const wrapUpFormContract: {
|
|
344
463
|
booleanValue: boolean | null;
|
345
464
|
numberValue: number | null;
|
346
465
|
dateValue: Date | null;
|
347
|
-
}[] | undefined;
|
466
|
+
}[] | null | undefined;
|
348
467
|
};
|
349
468
|
}, {
|
350
469
|
requestId: string;
|
@@ -398,7 +517,7 @@ export declare const wrapUpFormContract: {
|
|
398
517
|
booleanValue: boolean | null;
|
399
518
|
numberValue: number | null;
|
400
519
|
dateValue: Date | null;
|
401
|
-
}[] | undefined;
|
520
|
+
}[] | null | undefined;
|
402
521
|
};
|
403
522
|
}>;
|
404
523
|
400: z.ZodObject<{
|
@@ -597,7 +716,7 @@ export declare const wrapUpFormContract: {
|
|
597
716
|
}>, "many">;
|
598
717
|
callFrom: z.ZodNullable<z.ZodString>;
|
599
718
|
callTo: z.ZodNullable<z.ZodString>;
|
600
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
719
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
601
720
|
id: z.ZodString;
|
602
721
|
createdAt: z.ZodDate;
|
603
722
|
updatedAt: z.ZodDate;
|
@@ -630,7 +749,7 @@ export declare const wrapUpFormContract: {
|
|
630
749
|
booleanValue: boolean | null;
|
631
750
|
numberValue: number | null;
|
632
751
|
dateValue: Date | null;
|
633
|
-
}>, "many"
|
752
|
+
}>, "many">>>;
|
634
753
|
}, "strip", z.ZodTypeAny, {
|
635
754
|
type: string;
|
636
755
|
id: string;
|
@@ -681,7 +800,7 @@ export declare const wrapUpFormContract: {
|
|
681
800
|
booleanValue: boolean | null;
|
682
801
|
numberValue: number | null;
|
683
802
|
dateValue: Date | null;
|
684
|
-
}[] | undefined;
|
803
|
+
}[] | null | undefined;
|
685
804
|
}, {
|
686
805
|
type: string;
|
687
806
|
id: string;
|
@@ -732,7 +851,7 @@ export declare const wrapUpFormContract: {
|
|
732
851
|
booleanValue: boolean | null;
|
733
852
|
numberValue: number | null;
|
734
853
|
dateValue: Date | null;
|
735
|
-
}[] | undefined;
|
854
|
+
}[] | null | undefined;
|
736
855
|
}>;
|
737
856
|
}, "strip", z.ZodTypeAny, {
|
738
857
|
requestId: string;
|
@@ -786,7 +905,7 @@ export declare const wrapUpFormContract: {
|
|
786
905
|
booleanValue: boolean | null;
|
787
906
|
numberValue: number | null;
|
788
907
|
dateValue: Date | null;
|
789
|
-
}[] | undefined;
|
908
|
+
}[] | null | undefined;
|
790
909
|
};
|
791
910
|
}, {
|
792
911
|
requestId: string;
|
@@ -840,7 +959,7 @@ export declare const wrapUpFormContract: {
|
|
840
959
|
booleanValue: boolean | null;
|
841
960
|
numberValue: number | null;
|
842
961
|
dateValue: Date | null;
|
843
|
-
}[] | undefined;
|
962
|
+
}[] | null | undefined;
|
844
963
|
};
|
845
964
|
}>;
|
846
965
|
401: z.ZodObject<{
|
@@ -935,7 +1054,7 @@ export declare const wrapUpFormContract: {
|
|
935
1054
|
booleanValue: boolean | null;
|
936
1055
|
numberValue: number | null;
|
937
1056
|
dateValue: Date | null;
|
938
|
-
}[] | undefined;
|
1057
|
+
}[] | null | undefined;
|
939
1058
|
}, z.ZodTypeDef, {
|
940
1059
|
type: string;
|
941
1060
|
id: string;
|
@@ -986,7 +1105,7 @@ export declare const wrapUpFormContract: {
|
|
986
1105
|
booleanValue: boolean | null;
|
987
1106
|
numberValue: number | null;
|
988
1107
|
dateValue: Date | null;
|
989
|
-
}[] | undefined;
|
1108
|
+
}[] | null | undefined;
|
990
1109
|
}>, "many">;
|
991
1110
|
}, "strip", z.ZodTypeAny, {
|
992
1111
|
data: {
|
@@ -1039,7 +1158,7 @@ export declare const wrapUpFormContract: {
|
|
1039
1158
|
booleanValue: boolean | null;
|
1040
1159
|
numberValue: number | null;
|
1041
1160
|
dateValue: Date | null;
|
1042
|
-
}[] | undefined;
|
1161
|
+
}[] | null | undefined;
|
1043
1162
|
}[];
|
1044
1163
|
total: number;
|
1045
1164
|
page: number;
|
@@ -1096,7 +1215,7 @@ export declare const wrapUpFormContract: {
|
|
1096
1215
|
booleanValue: boolean | null;
|
1097
1216
|
numberValue: number | null;
|
1098
1217
|
dateValue: Date | null;
|
1099
|
-
}[] | undefined;
|
1218
|
+
}[] | null | undefined;
|
1100
1219
|
}[];
|
1101
1220
|
total: number;
|
1102
1221
|
page?: number | undefined;
|
@@ -1149,6 +1268,328 @@ export declare const wrapUpFormContract: {
|
|
1149
1268
|
'x-client-timezone'?: string | undefined;
|
1150
1269
|
}>>>;
|
1151
1270
|
};
|
1271
|
+
getWrapUpForm: {
|
1272
|
+
method: "GET";
|
1273
|
+
pathParams: z.ZodObject<{
|
1274
|
+
id: z.ZodString;
|
1275
|
+
}, "strip", z.ZodTypeAny, {
|
1276
|
+
id: string;
|
1277
|
+
}, {
|
1278
|
+
id: string;
|
1279
|
+
}>;
|
1280
|
+
responses: {
|
1281
|
+
200: z.ZodObject<{
|
1282
|
+
id: z.ZodString;
|
1283
|
+
createdAt: z.ZodDate;
|
1284
|
+
updatedAt: z.ZodDate;
|
1285
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1286
|
+
note: z.ZodNullable<z.ZodString>;
|
1287
|
+
disposition: z.ZodNullable<z.ZodString>;
|
1288
|
+
type: z.ZodString;
|
1289
|
+
tags: z.ZodArray<z.ZodObject<{
|
1290
|
+
id: z.ZodString;
|
1291
|
+
createdAt: z.ZodDate;
|
1292
|
+
updatedAt: z.ZodDate;
|
1293
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1294
|
+
name: z.ZodString;
|
1295
|
+
}, "strip", z.ZodTypeAny, {
|
1296
|
+
id: string;
|
1297
|
+
name: string;
|
1298
|
+
createdAt: Date;
|
1299
|
+
updatedAt: Date;
|
1300
|
+
deletedAt: Date | null;
|
1301
|
+
}, {
|
1302
|
+
id: string;
|
1303
|
+
name: string;
|
1304
|
+
createdAt: Date;
|
1305
|
+
updatedAt: Date;
|
1306
|
+
deletedAt: Date | null;
|
1307
|
+
}>, "many">;
|
1308
|
+
categories: z.ZodArray<z.ZodObject<{
|
1309
|
+
id: z.ZodString;
|
1310
|
+
createdAt: z.ZodDate;
|
1311
|
+
updatedAt: z.ZodDate;
|
1312
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1313
|
+
value: z.ZodString;
|
1314
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
1315
|
+
parentId: z.ZodNullable<z.ZodString>;
|
1316
|
+
childCategoryList: z.ZodArray<z.ZodObject<{
|
1317
|
+
id: z.ZodString;
|
1318
|
+
value: z.ZodString;
|
1319
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
1320
|
+
parentId: z.ZodNullable<z.ZodString>;
|
1321
|
+
childCategoryList: z.ZodArray<z.ZodObject<{
|
1322
|
+
id: z.ZodString;
|
1323
|
+
value: z.ZodString;
|
1324
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
1325
|
+
parentId: z.ZodNullable<z.ZodString>;
|
1326
|
+
childCategoryList: z.ZodArray<z.ZodAny, "many">;
|
1327
|
+
}, "strip", z.ZodTypeAny, {
|
1328
|
+
id: string;
|
1329
|
+
value: string;
|
1330
|
+
level: 2 | 1 | 3;
|
1331
|
+
parentId: string | null;
|
1332
|
+
childCategoryList: any[];
|
1333
|
+
}, {
|
1334
|
+
id: string;
|
1335
|
+
value: string;
|
1336
|
+
level: 2 | 1 | 3;
|
1337
|
+
parentId: string | null;
|
1338
|
+
childCategoryList: any[];
|
1339
|
+
}>, "many">;
|
1340
|
+
}, "strip", z.ZodTypeAny, {
|
1341
|
+
id: string;
|
1342
|
+
value: string;
|
1343
|
+
level: 2 | 1 | 3;
|
1344
|
+
parentId: string | null;
|
1345
|
+
childCategoryList: {
|
1346
|
+
id: string;
|
1347
|
+
value: string;
|
1348
|
+
level: 2 | 1 | 3;
|
1349
|
+
parentId: string | null;
|
1350
|
+
childCategoryList: any[];
|
1351
|
+
}[];
|
1352
|
+
}, {
|
1353
|
+
id: string;
|
1354
|
+
value: string;
|
1355
|
+
level: 2 | 1 | 3;
|
1356
|
+
parentId: string | null;
|
1357
|
+
childCategoryList: {
|
1358
|
+
id: string;
|
1359
|
+
value: string;
|
1360
|
+
level: 2 | 1 | 3;
|
1361
|
+
parentId: string | null;
|
1362
|
+
childCategoryList: any[];
|
1363
|
+
}[];
|
1364
|
+
}>, "many">;
|
1365
|
+
}, "strip", z.ZodTypeAny, {
|
1366
|
+
id: string;
|
1367
|
+
value: string;
|
1368
|
+
createdAt: Date;
|
1369
|
+
updatedAt: Date;
|
1370
|
+
deletedAt: Date | null;
|
1371
|
+
level: 2 | 1 | 3;
|
1372
|
+
parentId: string | null;
|
1373
|
+
childCategoryList: {
|
1374
|
+
id: string;
|
1375
|
+
value: string;
|
1376
|
+
level: 2 | 1 | 3;
|
1377
|
+
parentId: string | null;
|
1378
|
+
childCategoryList: {
|
1379
|
+
id: string;
|
1380
|
+
value: string;
|
1381
|
+
level: 2 | 1 | 3;
|
1382
|
+
parentId: string | null;
|
1383
|
+
childCategoryList: any[];
|
1384
|
+
}[];
|
1385
|
+
}[];
|
1386
|
+
}, {
|
1387
|
+
id: string;
|
1388
|
+
value: string;
|
1389
|
+
createdAt: Date;
|
1390
|
+
updatedAt: Date;
|
1391
|
+
deletedAt: Date | null;
|
1392
|
+
level: 2 | 1 | 3;
|
1393
|
+
parentId: string | null;
|
1394
|
+
childCategoryList: {
|
1395
|
+
id: string;
|
1396
|
+
value: string;
|
1397
|
+
level: 2 | 1 | 3;
|
1398
|
+
parentId: string | null;
|
1399
|
+
childCategoryList: {
|
1400
|
+
id: string;
|
1401
|
+
value: string;
|
1402
|
+
level: 2 | 1 | 3;
|
1403
|
+
parentId: string | null;
|
1404
|
+
childCategoryList: any[];
|
1405
|
+
}[];
|
1406
|
+
}[];
|
1407
|
+
}>, "many">;
|
1408
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
1409
|
+
callTo: z.ZodNullable<z.ZodString>;
|
1410
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1411
|
+
id: z.ZodString;
|
1412
|
+
createdAt: z.ZodDate;
|
1413
|
+
updatedAt: z.ZodDate;
|
1414
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1415
|
+
textValue: z.ZodNullable<z.ZodString>;
|
1416
|
+
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1417
|
+
numberValue: z.ZodNullable<z.ZodNumber>;
|
1418
|
+
dateValue: z.ZodNullable<z.ZodDate>;
|
1419
|
+
entityId: z.ZodString;
|
1420
|
+
attributeId: z.ZodString;
|
1421
|
+
}, "strip", z.ZodTypeAny, {
|
1422
|
+
id: string;
|
1423
|
+
createdAt: Date;
|
1424
|
+
updatedAt: Date;
|
1425
|
+
deletedAt: Date | null;
|
1426
|
+
entityId: string;
|
1427
|
+
attributeId: string;
|
1428
|
+
textValue: string | null;
|
1429
|
+
booleanValue: boolean | null;
|
1430
|
+
numberValue: number | null;
|
1431
|
+
dateValue: Date | null;
|
1432
|
+
}, {
|
1433
|
+
id: string;
|
1434
|
+
createdAt: Date;
|
1435
|
+
updatedAt: Date;
|
1436
|
+
deletedAt: Date | null;
|
1437
|
+
entityId: string;
|
1438
|
+
attributeId: string;
|
1439
|
+
textValue: string | null;
|
1440
|
+
booleanValue: boolean | null;
|
1441
|
+
numberValue: number | null;
|
1442
|
+
dateValue: Date | null;
|
1443
|
+
}>, "many">>>;
|
1444
|
+
}, "strip", z.ZodTypeAny, {
|
1445
|
+
type: string;
|
1446
|
+
id: string;
|
1447
|
+
disposition: string | null;
|
1448
|
+
createdAt: Date;
|
1449
|
+
updatedAt: Date;
|
1450
|
+
deletedAt: Date | null;
|
1451
|
+
categories: {
|
1452
|
+
id: string;
|
1453
|
+
value: string;
|
1454
|
+
createdAt: Date;
|
1455
|
+
updatedAt: Date;
|
1456
|
+
deletedAt: Date | null;
|
1457
|
+
level: 2 | 1 | 3;
|
1458
|
+
parentId: string | null;
|
1459
|
+
childCategoryList: {
|
1460
|
+
id: string;
|
1461
|
+
value: string;
|
1462
|
+
level: 2 | 1 | 3;
|
1463
|
+
parentId: string | null;
|
1464
|
+
childCategoryList: {
|
1465
|
+
id: string;
|
1466
|
+
value: string;
|
1467
|
+
level: 2 | 1 | 3;
|
1468
|
+
parentId: string | null;
|
1469
|
+
childCategoryList: any[];
|
1470
|
+
}[];
|
1471
|
+
}[];
|
1472
|
+
}[];
|
1473
|
+
tags: {
|
1474
|
+
id: string;
|
1475
|
+
name: string;
|
1476
|
+
createdAt: Date;
|
1477
|
+
updatedAt: Date;
|
1478
|
+
deletedAt: Date | null;
|
1479
|
+
}[];
|
1480
|
+
callFrom: string | null;
|
1481
|
+
callTo: string | null;
|
1482
|
+
note: string | null;
|
1483
|
+
customFields?: {
|
1484
|
+
id: string;
|
1485
|
+
createdAt: Date;
|
1486
|
+
updatedAt: Date;
|
1487
|
+
deletedAt: Date | null;
|
1488
|
+
entityId: string;
|
1489
|
+
attributeId: string;
|
1490
|
+
textValue: string | null;
|
1491
|
+
booleanValue: boolean | null;
|
1492
|
+
numberValue: number | null;
|
1493
|
+
dateValue: Date | null;
|
1494
|
+
}[] | null | undefined;
|
1495
|
+
}, {
|
1496
|
+
type: string;
|
1497
|
+
id: string;
|
1498
|
+
disposition: string | null;
|
1499
|
+
createdAt: Date;
|
1500
|
+
updatedAt: Date;
|
1501
|
+
deletedAt: Date | null;
|
1502
|
+
categories: {
|
1503
|
+
id: string;
|
1504
|
+
value: string;
|
1505
|
+
createdAt: Date;
|
1506
|
+
updatedAt: Date;
|
1507
|
+
deletedAt: Date | null;
|
1508
|
+
level: 2 | 1 | 3;
|
1509
|
+
parentId: string | null;
|
1510
|
+
childCategoryList: {
|
1511
|
+
id: string;
|
1512
|
+
value: string;
|
1513
|
+
level: 2 | 1 | 3;
|
1514
|
+
parentId: string | null;
|
1515
|
+
childCategoryList: {
|
1516
|
+
id: string;
|
1517
|
+
value: string;
|
1518
|
+
level: 2 | 1 | 3;
|
1519
|
+
parentId: string | null;
|
1520
|
+
childCategoryList: any[];
|
1521
|
+
}[];
|
1522
|
+
}[];
|
1523
|
+
}[];
|
1524
|
+
tags: {
|
1525
|
+
id: string;
|
1526
|
+
name: string;
|
1527
|
+
createdAt: Date;
|
1528
|
+
updatedAt: Date;
|
1529
|
+
deletedAt: Date | null;
|
1530
|
+
}[];
|
1531
|
+
callFrom: string | null;
|
1532
|
+
callTo: string | null;
|
1533
|
+
note: string | null;
|
1534
|
+
customFields?: {
|
1535
|
+
id: string;
|
1536
|
+
createdAt: Date;
|
1537
|
+
updatedAt: Date;
|
1538
|
+
deletedAt: Date | null;
|
1539
|
+
entityId: string;
|
1540
|
+
attributeId: string;
|
1541
|
+
textValue: string | null;
|
1542
|
+
booleanValue: boolean | null;
|
1543
|
+
numberValue: number | null;
|
1544
|
+
dateValue: Date | null;
|
1545
|
+
}[] | null | undefined;
|
1546
|
+
}>;
|
1547
|
+
400: z.ZodObject<{
|
1548
|
+
message: z.ZodString;
|
1549
|
+
}, "strip", z.ZodTypeAny, {
|
1550
|
+
message: string;
|
1551
|
+
}, {
|
1552
|
+
message: string;
|
1553
|
+
}>;
|
1554
|
+
401: z.ZodObject<{
|
1555
|
+
message: z.ZodString;
|
1556
|
+
error: z.ZodAny;
|
1557
|
+
}, "strip", z.ZodTypeAny, {
|
1558
|
+
message: string;
|
1559
|
+
error?: any;
|
1560
|
+
}, {
|
1561
|
+
message: string;
|
1562
|
+
error?: any;
|
1563
|
+
}>;
|
1564
|
+
500: z.ZodObject<{
|
1565
|
+
message: z.ZodString;
|
1566
|
+
error: z.ZodAny;
|
1567
|
+
}, "strip", z.ZodTypeAny, {
|
1568
|
+
message: string;
|
1569
|
+
error?: any;
|
1570
|
+
}, {
|
1571
|
+
message: string;
|
1572
|
+
error?: any;
|
1573
|
+
}>;
|
1574
|
+
};
|
1575
|
+
path: "wrap-up-form/:id";
|
1576
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1577
|
+
'x-tenant': z.ZodString;
|
1578
|
+
authorization: z.ZodString;
|
1579
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
1580
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
1581
|
+
}, "strip", z.ZodTypeAny, {
|
1582
|
+
'x-tenant': string;
|
1583
|
+
authorization: string;
|
1584
|
+
'x-client-timezone': string;
|
1585
|
+
'x-code'?: string | undefined;
|
1586
|
+
}, {
|
1587
|
+
'x-tenant': string;
|
1588
|
+
authorization: string;
|
1589
|
+
'x-code'?: string | undefined;
|
1590
|
+
'x-client-timezone'?: string | undefined;
|
1591
|
+
}>>>;
|
1592
|
+
};
|
1152
1593
|
updateWrapUpForm: {
|
1153
1594
|
body: z.ZodObject<{
|
1154
1595
|
disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -1171,6 +1612,7 @@ export declare const wrapUpFormContract: {
|
|
1171
1612
|
id: string;
|
1172
1613
|
value: string;
|
1173
1614
|
}>, "many">>;
|
1615
|
+
durationSeconds: z.ZodOptional<z.ZodNumber>;
|
1174
1616
|
}, "strip", z.ZodTypeAny, {
|
1175
1617
|
disposition?: string | null | undefined;
|
1176
1618
|
callFrom?: string | null | undefined;
|
@@ -1184,6 +1626,7 @@ export declare const wrapUpFormContract: {
|
|
1184
1626
|
id: string;
|
1185
1627
|
value: string;
|
1186
1628
|
}[] | undefined;
|
1629
|
+
durationSeconds?: number | undefined;
|
1187
1630
|
}, {
|
1188
1631
|
disposition?: string | null | undefined;
|
1189
1632
|
callFrom?: string | null | undefined;
|
@@ -1197,6 +1640,7 @@ export declare const wrapUpFormContract: {
|
|
1197
1640
|
id: string;
|
1198
1641
|
value: string;
|
1199
1642
|
}[] | undefined;
|
1643
|
+
durationSeconds?: number | undefined;
|
1200
1644
|
}>;
|
1201
1645
|
summary: "Update a wrap up form.";
|
1202
1646
|
method: "PATCH";
|
@@ -1339,7 +1783,7 @@ export declare const wrapUpFormContract: {
|
|
1339
1783
|
}>, "many">;
|
1340
1784
|
callFrom: z.ZodNullable<z.ZodString>;
|
1341
1785
|
callTo: z.ZodNullable<z.ZodString>;
|
1342
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1786
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1343
1787
|
id: z.ZodString;
|
1344
1788
|
createdAt: z.ZodDate;
|
1345
1789
|
updatedAt: z.ZodDate;
|
@@ -1372,7 +1816,7 @@ export declare const wrapUpFormContract: {
|
|
1372
1816
|
booleanValue: boolean | null;
|
1373
1817
|
numberValue: number | null;
|
1374
1818
|
dateValue: Date | null;
|
1375
|
-
}>, "many"
|
1819
|
+
}>, "many">>>;
|
1376
1820
|
}, "strip", z.ZodTypeAny, {
|
1377
1821
|
type: string;
|
1378
1822
|
id: string;
|
@@ -1423,7 +1867,7 @@ export declare const wrapUpFormContract: {
|
|
1423
1867
|
booleanValue: boolean | null;
|
1424
1868
|
numberValue: number | null;
|
1425
1869
|
dateValue: Date | null;
|
1426
|
-
}[] | undefined;
|
1870
|
+
}[] | null | undefined;
|
1427
1871
|
}, {
|
1428
1872
|
type: string;
|
1429
1873
|
id: string;
|
@@ -1474,7 +1918,7 @@ export declare const wrapUpFormContract: {
|
|
1474
1918
|
booleanValue: boolean | null;
|
1475
1919
|
numberValue: number | null;
|
1476
1920
|
dateValue: Date | null;
|
1477
|
-
}[] | undefined;
|
1921
|
+
}[] | null | undefined;
|
1478
1922
|
}>;
|
1479
1923
|
}, "strip", z.ZodTypeAny, {
|
1480
1924
|
requestId: string;
|
@@ -1528,7 +1972,7 @@ export declare const wrapUpFormContract: {
|
|
1528
1972
|
booleanValue: boolean | null;
|
1529
1973
|
numberValue: number | null;
|
1530
1974
|
dateValue: Date | null;
|
1531
|
-
}[] | undefined;
|
1975
|
+
}[] | null | undefined;
|
1532
1976
|
};
|
1533
1977
|
}, {
|
1534
1978
|
requestId: string;
|
@@ -1582,7 +2026,7 @@ export declare const wrapUpFormContract: {
|
|
1582
2026
|
booleanValue: boolean | null;
|
1583
2027
|
numberValue: number | null;
|
1584
2028
|
dateValue: Date | null;
|
1585
|
-
}[] | undefined;
|
2029
|
+
}[] | null | undefined;
|
1586
2030
|
};
|
1587
2031
|
}>;
|
1588
2032
|
400: z.ZodObject<{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/wrap-up-form/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EACL,2BAA2B,EAC3B,sBAAsB,EACtB,sBAAsB,EACvB,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC7E,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,2BAA2B,CACnC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE7E,eAAO,MAAM,kBAAkB
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/wrap-up-form/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EACL,2BAA2B,EAC3B,sBAAsB,EACtB,sBAAsB,EACvB,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC7E,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,2BAA2B,CACnC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE7E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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