@kl1/contracts 1.1.34-uat → 1.1.36-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 +51 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +51 -4
- package/dist/index.mjs.map +1 -1
- package/dist/src/business-calendar/index.d.ts +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 +701 -247
- 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
@@ -155,7 +155,7 @@ export declare const wrapUpFormContract: {
|
|
155
155
|
}>, "many">;
|
156
156
|
callFrom: z.ZodNullable<z.ZodString>;
|
157
157
|
callTo: z.ZodNullable<z.ZodString>;
|
158
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
158
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
159
159
|
id: z.ZodString;
|
160
160
|
createdAt: z.ZodDate;
|
161
161
|
updatedAt: z.ZodDate;
|
@@ -188,7 +188,7 @@ export declare const wrapUpFormContract: {
|
|
188
188
|
booleanValue: boolean | null;
|
189
189
|
numberValue: number | null;
|
190
190
|
dateValue: Date | null;
|
191
|
-
}>, "many"
|
191
|
+
}>, "many">>>;
|
192
192
|
}, "strip", z.ZodTypeAny, {
|
193
193
|
type: string;
|
194
194
|
id: string;
|
@@ -239,7 +239,7 @@ export declare const wrapUpFormContract: {
|
|
239
239
|
booleanValue: boolean | null;
|
240
240
|
numberValue: number | null;
|
241
241
|
dateValue: Date | null;
|
242
|
-
}[] | undefined;
|
242
|
+
}[] | null | undefined;
|
243
243
|
}, {
|
244
244
|
type: string;
|
245
245
|
id: string;
|
@@ -290,7 +290,7 @@ export declare const wrapUpFormContract: {
|
|
290
290
|
booleanValue: boolean | null;
|
291
291
|
numberValue: number | null;
|
292
292
|
dateValue: Date | null;
|
293
|
-
}[] | undefined;
|
293
|
+
}[] | null | undefined;
|
294
294
|
}>;
|
295
295
|
}, "strip", z.ZodTypeAny, {
|
296
296
|
requestId: string;
|
@@ -344,7 +344,7 @@ export declare const wrapUpFormContract: {
|
|
344
344
|
booleanValue: boolean | null;
|
345
345
|
numberValue: number | null;
|
346
346
|
dateValue: Date | null;
|
347
|
-
}[] | undefined;
|
347
|
+
}[] | null | undefined;
|
348
348
|
};
|
349
349
|
}, {
|
350
350
|
requestId: string;
|
@@ -398,7 +398,7 @@ export declare const wrapUpFormContract: {
|
|
398
398
|
booleanValue: boolean | null;
|
399
399
|
numberValue: number | null;
|
400
400
|
dateValue: Date | null;
|
401
|
-
}[] | undefined;
|
401
|
+
}[] | null | undefined;
|
402
402
|
};
|
403
403
|
}>;
|
404
404
|
400: z.ZodObject<{
|
@@ -597,7 +597,7 @@ export declare const wrapUpFormContract: {
|
|
597
597
|
}>, "many">;
|
598
598
|
callFrom: z.ZodNullable<z.ZodString>;
|
599
599
|
callTo: z.ZodNullable<z.ZodString>;
|
600
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
600
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
601
601
|
id: z.ZodString;
|
602
602
|
createdAt: z.ZodDate;
|
603
603
|
updatedAt: z.ZodDate;
|
@@ -630,7 +630,7 @@ export declare const wrapUpFormContract: {
|
|
630
630
|
booleanValue: boolean | null;
|
631
631
|
numberValue: number | null;
|
632
632
|
dateValue: Date | null;
|
633
|
-
}>, "many"
|
633
|
+
}>, "many">>>;
|
634
634
|
}, "strip", z.ZodTypeAny, {
|
635
635
|
type: string;
|
636
636
|
id: string;
|
@@ -681,7 +681,7 @@ export declare const wrapUpFormContract: {
|
|
681
681
|
booleanValue: boolean | null;
|
682
682
|
numberValue: number | null;
|
683
683
|
dateValue: Date | null;
|
684
|
-
}[] | undefined;
|
684
|
+
}[] | null | undefined;
|
685
685
|
}, {
|
686
686
|
type: string;
|
687
687
|
id: string;
|
@@ -732,7 +732,7 @@ export declare const wrapUpFormContract: {
|
|
732
732
|
booleanValue: boolean | null;
|
733
733
|
numberValue: number | null;
|
734
734
|
dateValue: Date | null;
|
735
|
-
}[] | undefined;
|
735
|
+
}[] | null | undefined;
|
736
736
|
}>;
|
737
737
|
}, "strip", z.ZodTypeAny, {
|
738
738
|
requestId: string;
|
@@ -786,7 +786,7 @@ export declare const wrapUpFormContract: {
|
|
786
786
|
booleanValue: boolean | null;
|
787
787
|
numberValue: number | null;
|
788
788
|
dateValue: Date | null;
|
789
|
-
}[] | undefined;
|
789
|
+
}[] | null | undefined;
|
790
790
|
};
|
791
791
|
}, {
|
792
792
|
requestId: string;
|
@@ -840,7 +840,7 @@ export declare const wrapUpFormContract: {
|
|
840
840
|
booleanValue: boolean | null;
|
841
841
|
numberValue: number | null;
|
842
842
|
dateValue: Date | null;
|
843
|
-
}[] | undefined;
|
843
|
+
}[] | null | undefined;
|
844
844
|
};
|
845
845
|
}>;
|
846
846
|
401: z.ZodObject<{
|
@@ -935,7 +935,7 @@ export declare const wrapUpFormContract: {
|
|
935
935
|
booleanValue: boolean | null;
|
936
936
|
numberValue: number | null;
|
937
937
|
dateValue: Date | null;
|
938
|
-
}[] | undefined;
|
938
|
+
}[] | null | undefined;
|
939
939
|
}, z.ZodTypeDef, {
|
940
940
|
type: string;
|
941
941
|
id: string;
|
@@ -986,7 +986,7 @@ export declare const wrapUpFormContract: {
|
|
986
986
|
booleanValue: boolean | null;
|
987
987
|
numberValue: number | null;
|
988
988
|
dateValue: Date | null;
|
989
|
-
}[] | undefined;
|
989
|
+
}[] | null | undefined;
|
990
990
|
}>, "many">;
|
991
991
|
}, "strip", z.ZodTypeAny, {
|
992
992
|
data: {
|
@@ -1039,7 +1039,7 @@ export declare const wrapUpFormContract: {
|
|
1039
1039
|
booleanValue: boolean | null;
|
1040
1040
|
numberValue: number | null;
|
1041
1041
|
dateValue: Date | null;
|
1042
|
-
}[] | undefined;
|
1042
|
+
}[] | null | undefined;
|
1043
1043
|
}[];
|
1044
1044
|
total: number;
|
1045
1045
|
page: number;
|
@@ -1096,7 +1096,7 @@ export declare const wrapUpFormContract: {
|
|
1096
1096
|
booleanValue: boolean | null;
|
1097
1097
|
numberValue: number | null;
|
1098
1098
|
dateValue: Date | null;
|
1099
|
-
}[] | undefined;
|
1099
|
+
}[] | null | undefined;
|
1100
1100
|
}[];
|
1101
1101
|
total: number;
|
1102
1102
|
page?: number | undefined;
|
@@ -1149,6 +1149,328 @@ export declare const wrapUpFormContract: {
|
|
1149
1149
|
'x-client-timezone'?: string | undefined;
|
1150
1150
|
}>>>;
|
1151
1151
|
};
|
1152
|
+
getWrapUpForm: {
|
1153
|
+
method: "GET";
|
1154
|
+
pathParams: z.ZodObject<{
|
1155
|
+
id: z.ZodString;
|
1156
|
+
}, "strip", z.ZodTypeAny, {
|
1157
|
+
id: string;
|
1158
|
+
}, {
|
1159
|
+
id: string;
|
1160
|
+
}>;
|
1161
|
+
responses: {
|
1162
|
+
200: z.ZodObject<{
|
1163
|
+
id: z.ZodString;
|
1164
|
+
createdAt: z.ZodDate;
|
1165
|
+
updatedAt: z.ZodDate;
|
1166
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1167
|
+
note: z.ZodNullable<z.ZodString>;
|
1168
|
+
disposition: z.ZodNullable<z.ZodString>;
|
1169
|
+
type: z.ZodString;
|
1170
|
+
tags: z.ZodArray<z.ZodObject<{
|
1171
|
+
id: z.ZodString;
|
1172
|
+
createdAt: z.ZodDate;
|
1173
|
+
updatedAt: z.ZodDate;
|
1174
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1175
|
+
name: z.ZodString;
|
1176
|
+
}, "strip", z.ZodTypeAny, {
|
1177
|
+
id: string;
|
1178
|
+
name: string;
|
1179
|
+
createdAt: Date;
|
1180
|
+
updatedAt: Date;
|
1181
|
+
deletedAt: Date | null;
|
1182
|
+
}, {
|
1183
|
+
id: string;
|
1184
|
+
name: string;
|
1185
|
+
createdAt: Date;
|
1186
|
+
updatedAt: Date;
|
1187
|
+
deletedAt: Date | null;
|
1188
|
+
}>, "many">;
|
1189
|
+
categories: z.ZodArray<z.ZodObject<{
|
1190
|
+
id: z.ZodString;
|
1191
|
+
createdAt: z.ZodDate;
|
1192
|
+
updatedAt: z.ZodDate;
|
1193
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1194
|
+
value: z.ZodString;
|
1195
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
1196
|
+
parentId: z.ZodNullable<z.ZodString>;
|
1197
|
+
childCategoryList: z.ZodArray<z.ZodObject<{
|
1198
|
+
id: z.ZodString;
|
1199
|
+
value: z.ZodString;
|
1200
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
1201
|
+
parentId: z.ZodNullable<z.ZodString>;
|
1202
|
+
childCategoryList: z.ZodArray<z.ZodObject<{
|
1203
|
+
id: z.ZodString;
|
1204
|
+
value: z.ZodString;
|
1205
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
1206
|
+
parentId: z.ZodNullable<z.ZodString>;
|
1207
|
+
childCategoryList: z.ZodArray<z.ZodAny, "many">;
|
1208
|
+
}, "strip", z.ZodTypeAny, {
|
1209
|
+
id: string;
|
1210
|
+
value: string;
|
1211
|
+
level: 2 | 1 | 3;
|
1212
|
+
parentId: string | null;
|
1213
|
+
childCategoryList: any[];
|
1214
|
+
}, {
|
1215
|
+
id: string;
|
1216
|
+
value: string;
|
1217
|
+
level: 2 | 1 | 3;
|
1218
|
+
parentId: string | null;
|
1219
|
+
childCategoryList: any[];
|
1220
|
+
}>, "many">;
|
1221
|
+
}, "strip", z.ZodTypeAny, {
|
1222
|
+
id: string;
|
1223
|
+
value: string;
|
1224
|
+
level: 2 | 1 | 3;
|
1225
|
+
parentId: string | null;
|
1226
|
+
childCategoryList: {
|
1227
|
+
id: string;
|
1228
|
+
value: string;
|
1229
|
+
level: 2 | 1 | 3;
|
1230
|
+
parentId: string | null;
|
1231
|
+
childCategoryList: any[];
|
1232
|
+
}[];
|
1233
|
+
}, {
|
1234
|
+
id: string;
|
1235
|
+
value: string;
|
1236
|
+
level: 2 | 1 | 3;
|
1237
|
+
parentId: string | null;
|
1238
|
+
childCategoryList: {
|
1239
|
+
id: string;
|
1240
|
+
value: string;
|
1241
|
+
level: 2 | 1 | 3;
|
1242
|
+
parentId: string | null;
|
1243
|
+
childCategoryList: any[];
|
1244
|
+
}[];
|
1245
|
+
}>, "many">;
|
1246
|
+
}, "strip", z.ZodTypeAny, {
|
1247
|
+
id: string;
|
1248
|
+
value: string;
|
1249
|
+
createdAt: Date;
|
1250
|
+
updatedAt: Date;
|
1251
|
+
deletedAt: Date | null;
|
1252
|
+
level: 2 | 1 | 3;
|
1253
|
+
parentId: string | null;
|
1254
|
+
childCategoryList: {
|
1255
|
+
id: string;
|
1256
|
+
value: string;
|
1257
|
+
level: 2 | 1 | 3;
|
1258
|
+
parentId: string | null;
|
1259
|
+
childCategoryList: {
|
1260
|
+
id: string;
|
1261
|
+
value: string;
|
1262
|
+
level: 2 | 1 | 3;
|
1263
|
+
parentId: string | null;
|
1264
|
+
childCategoryList: any[];
|
1265
|
+
}[];
|
1266
|
+
}[];
|
1267
|
+
}, {
|
1268
|
+
id: string;
|
1269
|
+
value: string;
|
1270
|
+
createdAt: Date;
|
1271
|
+
updatedAt: Date;
|
1272
|
+
deletedAt: Date | null;
|
1273
|
+
level: 2 | 1 | 3;
|
1274
|
+
parentId: string | null;
|
1275
|
+
childCategoryList: {
|
1276
|
+
id: string;
|
1277
|
+
value: string;
|
1278
|
+
level: 2 | 1 | 3;
|
1279
|
+
parentId: string | null;
|
1280
|
+
childCategoryList: {
|
1281
|
+
id: string;
|
1282
|
+
value: string;
|
1283
|
+
level: 2 | 1 | 3;
|
1284
|
+
parentId: string | null;
|
1285
|
+
childCategoryList: any[];
|
1286
|
+
}[];
|
1287
|
+
}[];
|
1288
|
+
}>, "many">;
|
1289
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
1290
|
+
callTo: z.ZodNullable<z.ZodString>;
|
1291
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1292
|
+
id: z.ZodString;
|
1293
|
+
createdAt: z.ZodDate;
|
1294
|
+
updatedAt: z.ZodDate;
|
1295
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1296
|
+
textValue: z.ZodNullable<z.ZodString>;
|
1297
|
+
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1298
|
+
numberValue: z.ZodNullable<z.ZodNumber>;
|
1299
|
+
dateValue: z.ZodNullable<z.ZodDate>;
|
1300
|
+
entityId: z.ZodString;
|
1301
|
+
attributeId: z.ZodString;
|
1302
|
+
}, "strip", z.ZodTypeAny, {
|
1303
|
+
id: string;
|
1304
|
+
createdAt: Date;
|
1305
|
+
updatedAt: Date;
|
1306
|
+
deletedAt: Date | null;
|
1307
|
+
entityId: string;
|
1308
|
+
attributeId: string;
|
1309
|
+
textValue: string | null;
|
1310
|
+
booleanValue: boolean | null;
|
1311
|
+
numberValue: number | null;
|
1312
|
+
dateValue: Date | null;
|
1313
|
+
}, {
|
1314
|
+
id: string;
|
1315
|
+
createdAt: Date;
|
1316
|
+
updatedAt: Date;
|
1317
|
+
deletedAt: Date | null;
|
1318
|
+
entityId: string;
|
1319
|
+
attributeId: string;
|
1320
|
+
textValue: string | null;
|
1321
|
+
booleanValue: boolean | null;
|
1322
|
+
numberValue: number | null;
|
1323
|
+
dateValue: Date | null;
|
1324
|
+
}>, "many">>>;
|
1325
|
+
}, "strip", z.ZodTypeAny, {
|
1326
|
+
type: string;
|
1327
|
+
id: string;
|
1328
|
+
disposition: string | null;
|
1329
|
+
createdAt: Date;
|
1330
|
+
updatedAt: Date;
|
1331
|
+
deletedAt: Date | null;
|
1332
|
+
categories: {
|
1333
|
+
id: string;
|
1334
|
+
value: string;
|
1335
|
+
createdAt: Date;
|
1336
|
+
updatedAt: Date;
|
1337
|
+
deletedAt: Date | null;
|
1338
|
+
level: 2 | 1 | 3;
|
1339
|
+
parentId: string | null;
|
1340
|
+
childCategoryList: {
|
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
|
+
}[];
|
1354
|
+
tags: {
|
1355
|
+
id: string;
|
1356
|
+
name: string;
|
1357
|
+
createdAt: Date;
|
1358
|
+
updatedAt: Date;
|
1359
|
+
deletedAt: Date | null;
|
1360
|
+
}[];
|
1361
|
+
callFrom: string | null;
|
1362
|
+
callTo: string | null;
|
1363
|
+
note: string | null;
|
1364
|
+
customFields?: {
|
1365
|
+
id: string;
|
1366
|
+
createdAt: Date;
|
1367
|
+
updatedAt: Date;
|
1368
|
+
deletedAt: Date | null;
|
1369
|
+
entityId: string;
|
1370
|
+
attributeId: string;
|
1371
|
+
textValue: string | null;
|
1372
|
+
booleanValue: boolean | null;
|
1373
|
+
numberValue: number | null;
|
1374
|
+
dateValue: Date | null;
|
1375
|
+
}[] | null | undefined;
|
1376
|
+
}, {
|
1377
|
+
type: string;
|
1378
|
+
id: string;
|
1379
|
+
disposition: string | null;
|
1380
|
+
createdAt: Date;
|
1381
|
+
updatedAt: Date;
|
1382
|
+
deletedAt: Date | null;
|
1383
|
+
categories: {
|
1384
|
+
id: string;
|
1385
|
+
value: string;
|
1386
|
+
createdAt: Date;
|
1387
|
+
updatedAt: Date;
|
1388
|
+
deletedAt: Date | null;
|
1389
|
+
level: 2 | 1 | 3;
|
1390
|
+
parentId: string | null;
|
1391
|
+
childCategoryList: {
|
1392
|
+
id: string;
|
1393
|
+
value: string;
|
1394
|
+
level: 2 | 1 | 3;
|
1395
|
+
parentId: string | null;
|
1396
|
+
childCategoryList: {
|
1397
|
+
id: string;
|
1398
|
+
value: string;
|
1399
|
+
level: 2 | 1 | 3;
|
1400
|
+
parentId: string | null;
|
1401
|
+
childCategoryList: any[];
|
1402
|
+
}[];
|
1403
|
+
}[];
|
1404
|
+
}[];
|
1405
|
+
tags: {
|
1406
|
+
id: string;
|
1407
|
+
name: string;
|
1408
|
+
createdAt: Date;
|
1409
|
+
updatedAt: Date;
|
1410
|
+
deletedAt: Date | null;
|
1411
|
+
}[];
|
1412
|
+
callFrom: string | null;
|
1413
|
+
callTo: string | null;
|
1414
|
+
note: string | null;
|
1415
|
+
customFields?: {
|
1416
|
+
id: string;
|
1417
|
+
createdAt: Date;
|
1418
|
+
updatedAt: Date;
|
1419
|
+
deletedAt: Date | null;
|
1420
|
+
entityId: string;
|
1421
|
+
attributeId: string;
|
1422
|
+
textValue: string | null;
|
1423
|
+
booleanValue: boolean | null;
|
1424
|
+
numberValue: number | null;
|
1425
|
+
dateValue: Date | null;
|
1426
|
+
}[] | null | undefined;
|
1427
|
+
}>;
|
1428
|
+
400: z.ZodObject<{
|
1429
|
+
message: z.ZodString;
|
1430
|
+
}, "strip", z.ZodTypeAny, {
|
1431
|
+
message: string;
|
1432
|
+
}, {
|
1433
|
+
message: string;
|
1434
|
+
}>;
|
1435
|
+
401: z.ZodObject<{
|
1436
|
+
message: z.ZodString;
|
1437
|
+
error: z.ZodAny;
|
1438
|
+
}, "strip", z.ZodTypeAny, {
|
1439
|
+
message: string;
|
1440
|
+
error?: any;
|
1441
|
+
}, {
|
1442
|
+
message: string;
|
1443
|
+
error?: any;
|
1444
|
+
}>;
|
1445
|
+
500: z.ZodObject<{
|
1446
|
+
message: z.ZodString;
|
1447
|
+
error: z.ZodAny;
|
1448
|
+
}, "strip", z.ZodTypeAny, {
|
1449
|
+
message: string;
|
1450
|
+
error?: any;
|
1451
|
+
}, {
|
1452
|
+
message: string;
|
1453
|
+
error?: any;
|
1454
|
+
}>;
|
1455
|
+
};
|
1456
|
+
path: "wrap-up-form/:id";
|
1457
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1458
|
+
'x-tenant': z.ZodString;
|
1459
|
+
authorization: z.ZodString;
|
1460
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
1461
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
1462
|
+
}, "strip", z.ZodTypeAny, {
|
1463
|
+
'x-tenant': string;
|
1464
|
+
authorization: string;
|
1465
|
+
'x-client-timezone': string;
|
1466
|
+
'x-code'?: string | undefined;
|
1467
|
+
}, {
|
1468
|
+
'x-tenant': string;
|
1469
|
+
authorization: string;
|
1470
|
+
'x-code'?: string | undefined;
|
1471
|
+
'x-client-timezone'?: string | undefined;
|
1472
|
+
}>>>;
|
1473
|
+
};
|
1152
1474
|
updateWrapUpForm: {
|
1153
1475
|
body: z.ZodObject<{
|
1154
1476
|
disposition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -1171,6 +1493,7 @@ export declare const wrapUpFormContract: {
|
|
1171
1493
|
id: string;
|
1172
1494
|
value: string;
|
1173
1495
|
}>, "many">>;
|
1496
|
+
durationSeconds: z.ZodOptional<z.ZodNumber>;
|
1174
1497
|
}, "strip", z.ZodTypeAny, {
|
1175
1498
|
disposition?: string | null | undefined;
|
1176
1499
|
callFrom?: string | null | undefined;
|
@@ -1184,6 +1507,7 @@ export declare const wrapUpFormContract: {
|
|
1184
1507
|
id: string;
|
1185
1508
|
value: string;
|
1186
1509
|
}[] | undefined;
|
1510
|
+
durationSeconds?: number | undefined;
|
1187
1511
|
}, {
|
1188
1512
|
disposition?: string | null | undefined;
|
1189
1513
|
callFrom?: string | null | undefined;
|
@@ -1197,6 +1521,7 @@ export declare const wrapUpFormContract: {
|
|
1197
1521
|
id: string;
|
1198
1522
|
value: string;
|
1199
1523
|
}[] | undefined;
|
1524
|
+
durationSeconds?: number | undefined;
|
1200
1525
|
}>;
|
1201
1526
|
summary: "Update a wrap up form.";
|
1202
1527
|
method: "PATCH";
|
@@ -1339,7 +1664,7 @@ export declare const wrapUpFormContract: {
|
|
1339
1664
|
}>, "many">;
|
1340
1665
|
callFrom: z.ZodNullable<z.ZodString>;
|
1341
1666
|
callTo: z.ZodNullable<z.ZodString>;
|
1342
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1667
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1343
1668
|
id: z.ZodString;
|
1344
1669
|
createdAt: z.ZodDate;
|
1345
1670
|
updatedAt: z.ZodDate;
|
@@ -1372,7 +1697,7 @@ export declare const wrapUpFormContract: {
|
|
1372
1697
|
booleanValue: boolean | null;
|
1373
1698
|
numberValue: number | null;
|
1374
1699
|
dateValue: Date | null;
|
1375
|
-
}>, "many"
|
1700
|
+
}>, "many">>>;
|
1376
1701
|
}, "strip", z.ZodTypeAny, {
|
1377
1702
|
type: string;
|
1378
1703
|
id: string;
|
@@ -1423,7 +1748,7 @@ export declare const wrapUpFormContract: {
|
|
1423
1748
|
booleanValue: boolean | null;
|
1424
1749
|
numberValue: number | null;
|
1425
1750
|
dateValue: Date | null;
|
1426
|
-
}[] | undefined;
|
1751
|
+
}[] | null | undefined;
|
1427
1752
|
}, {
|
1428
1753
|
type: string;
|
1429
1754
|
id: string;
|
@@ -1474,7 +1799,7 @@ export declare const wrapUpFormContract: {
|
|
1474
1799
|
booleanValue: boolean | null;
|
1475
1800
|
numberValue: number | null;
|
1476
1801
|
dateValue: Date | null;
|
1477
|
-
}[] | undefined;
|
1802
|
+
}[] | null | undefined;
|
1478
1803
|
}>;
|
1479
1804
|
}, "strip", z.ZodTypeAny, {
|
1480
1805
|
requestId: string;
|
@@ -1528,7 +1853,7 @@ export declare const wrapUpFormContract: {
|
|
1528
1853
|
booleanValue: boolean | null;
|
1529
1854
|
numberValue: number | null;
|
1530
1855
|
dateValue: Date | null;
|
1531
|
-
}[] | undefined;
|
1856
|
+
}[] | null | undefined;
|
1532
1857
|
};
|
1533
1858
|
}, {
|
1534
1859
|
requestId: string;
|
@@ -1582,7 +1907,7 @@ export declare const wrapUpFormContract: {
|
|
1582
1907
|
booleanValue: boolean | null;
|
1583
1908
|
numberValue: number | null;
|
1584
1909
|
dateValue: Date | null;
|
1585
|
-
}[] | undefined;
|
1910
|
+
}[] | null | undefined;
|
1586
1911
|
};
|
1587
1912
|
}>;
|
1588
1913
|
400: z.ZodObject<{
|
@@ -1631,5 +1956,124 @@ export declare const wrapUpFormContract: {
|
|
1631
1956
|
'x-client-timezone'?: string | undefined;
|
1632
1957
|
}>>>;
|
1633
1958
|
};
|
1959
|
+
getWrapUpFormTimer: {
|
1960
|
+
method: "GET";
|
1961
|
+
responses: {
|
1962
|
+
200: z.ZodObject<{
|
1963
|
+
requestId: z.ZodString;
|
1964
|
+
wrapUpFormTimer: z.ZodNumber;
|
1965
|
+
}, "strip", z.ZodTypeAny, {
|
1966
|
+
requestId: string;
|
1967
|
+
wrapUpFormTimer: number;
|
1968
|
+
}, {
|
1969
|
+
requestId: string;
|
1970
|
+
wrapUpFormTimer: number;
|
1971
|
+
}>;
|
1972
|
+
400: z.ZodObject<{
|
1973
|
+
message: z.ZodString;
|
1974
|
+
}, "strip", z.ZodTypeAny, {
|
1975
|
+
message: string;
|
1976
|
+
}, {
|
1977
|
+
message: string;
|
1978
|
+
}>;
|
1979
|
+
401: z.ZodObject<{
|
1980
|
+
message: z.ZodString;
|
1981
|
+
error: z.ZodAny;
|
1982
|
+
}, "strip", z.ZodTypeAny, {
|
1983
|
+
message: string;
|
1984
|
+
error?: any;
|
1985
|
+
}, {
|
1986
|
+
message: string;
|
1987
|
+
error?: any;
|
1988
|
+
}>;
|
1989
|
+
500: z.ZodObject<{
|
1990
|
+
message: z.ZodString;
|
1991
|
+
error: z.ZodAny;
|
1992
|
+
}, "strip", z.ZodTypeAny, {
|
1993
|
+
message: string;
|
1994
|
+
error?: any;
|
1995
|
+
}, {
|
1996
|
+
message: string;
|
1997
|
+
error?: any;
|
1998
|
+
}>;
|
1999
|
+
};
|
2000
|
+
path: "wrap-up-form/timer";
|
2001
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2002
|
+
'x-tenant': z.ZodString;
|
2003
|
+
authorization: z.ZodString;
|
2004
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
2005
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
2006
|
+
}, "strip", z.ZodTypeAny, {
|
2007
|
+
'x-tenant': string;
|
2008
|
+
authorization: string;
|
2009
|
+
'x-client-timezone': string;
|
2010
|
+
'x-code'?: string | undefined;
|
2011
|
+
}, {
|
2012
|
+
'x-tenant': string;
|
2013
|
+
authorization: string;
|
2014
|
+
'x-code'?: string | undefined;
|
2015
|
+
'x-client-timezone'?: string | undefined;
|
2016
|
+
}>>>;
|
2017
|
+
};
|
2018
|
+
updateWrapUpFormTimer: {
|
2019
|
+
body: z.ZodNumber;
|
2020
|
+
method: "PATCH";
|
2021
|
+
responses: {
|
2022
|
+
200: z.ZodObject<{
|
2023
|
+
requestId: z.ZodString;
|
2024
|
+
wrapUpFormTimer: z.ZodNumber;
|
2025
|
+
}, "strip", z.ZodTypeAny, {
|
2026
|
+
requestId: string;
|
2027
|
+
wrapUpFormTimer: number;
|
2028
|
+
}, {
|
2029
|
+
requestId: string;
|
2030
|
+
wrapUpFormTimer: number;
|
2031
|
+
}>;
|
2032
|
+
400: z.ZodObject<{
|
2033
|
+
message: z.ZodString;
|
2034
|
+
}, "strip", z.ZodTypeAny, {
|
2035
|
+
message: string;
|
2036
|
+
}, {
|
2037
|
+
message: string;
|
2038
|
+
}>;
|
2039
|
+
401: z.ZodObject<{
|
2040
|
+
message: z.ZodString;
|
2041
|
+
error: z.ZodAny;
|
2042
|
+
}, "strip", z.ZodTypeAny, {
|
2043
|
+
message: string;
|
2044
|
+
error?: any;
|
2045
|
+
}, {
|
2046
|
+
message: string;
|
2047
|
+
error?: any;
|
2048
|
+
}>;
|
2049
|
+
500: z.ZodObject<{
|
2050
|
+
message: z.ZodString;
|
2051
|
+
error: z.ZodAny;
|
2052
|
+
}, "strip", z.ZodTypeAny, {
|
2053
|
+
message: string;
|
2054
|
+
error?: any;
|
2055
|
+
}, {
|
2056
|
+
message: string;
|
2057
|
+
error?: any;
|
2058
|
+
}>;
|
2059
|
+
};
|
2060
|
+
path: "wrap-up-form/timer";
|
2061
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2062
|
+
'x-tenant': z.ZodString;
|
2063
|
+
authorization: z.ZodString;
|
2064
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
2065
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
2066
|
+
}, "strip", z.ZodTypeAny, {
|
2067
|
+
'x-tenant': string;
|
2068
|
+
authorization: string;
|
2069
|
+
'x-client-timezone': string;
|
2070
|
+
'x-code'?: string | undefined;
|
2071
|
+
}, {
|
2072
|
+
'x-tenant': string;
|
2073
|
+
authorization: string;
|
2074
|
+
'x-code'?: string | undefined;
|
2075
|
+
'x-client-timezone'?: string | undefined;
|
2076
|
+
}>>>;
|
2077
|
+
};
|
1634
2078
|
};
|
1635
2079
|
//# sourceMappingURL=index.d.ts.map
|
@@ -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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