@kl1/contracts 1.2.29-uat → 1.2.31-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/chat/index.d.ts +683 -484
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +120 -120
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +259 -60
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +528 -528
- package/dist/api-contracts/src/cx-log/schema.d.ts +97 -0
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +60 -60
- package/dist/api-contracts/src/hold-label/index.d.ts +108 -0
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +38 -0
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/index.d.ts +0 -1
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +60 -60
- package/dist/api-contracts/src/line/index.d.ts +60 -60
- package/dist/api-contracts/src/mail/mail-contract.d.ts +495 -0
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +495 -0
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +165 -0
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +131 -0
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +60 -60
- package/dist/api-contracts/src/telegram/index.d.ts +60 -60
- package/dist/api-contracts/src/viber/index.d.ts +60 -60
- package/dist/api-contracts/src/webchat/index.d.ts +60 -60
- package/dist/api-contracts/src/whatsapp/index.d.ts +60 -60
- package/dist/api-contracts/src/workflow-rule/index.d.ts +48 -48
- package/dist/index.js +326 -352
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +326 -351
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -2016,17 +2016,17 @@ export declare const chatContract: {
|
|
2016
2016
|
}>;
|
2017
2017
|
cxlog: z.ZodObject<{
|
2018
2018
|
id: z.ZodString;
|
2019
|
-
channel: z.ZodNullable<z.ZodString>;
|
2020
|
-
direction: z.ZodNullable<z.ZodString>;
|
2021
2019
|
createdAt: z.ZodDate;
|
2022
2020
|
updatedAt: z.ZodDate;
|
2023
2021
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2024
|
-
entityId: z.ZodString;
|
2025
|
-
queueId: z.ZodNullable<z.ZodString>;
|
2026
|
-
contactId: z.ZodNullable<z.ZodString>;
|
2027
2022
|
caseId: z.ZodNumber;
|
2023
|
+
entityId: z.ZodString;
|
2028
2024
|
entityName: z.ZodString;
|
2025
|
+
contactId: z.ZodNullable<z.ZodString>;
|
2026
|
+
channel: z.ZodNullable<z.ZodString>;
|
2027
|
+
queueId: z.ZodNullable<z.ZodString>;
|
2029
2028
|
agentId: z.ZodNullable<z.ZodString>;
|
2029
|
+
direction: z.ZodNullable<z.ZodString>;
|
2030
2030
|
startedDate: z.ZodNullable<z.ZodDate>;
|
2031
2031
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
2032
2032
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
@@ -2296,7 +2296,7 @@ export declare const chatContract: {
|
|
2296
2296
|
dateValue: Date | null;
|
2297
2297
|
}[] | null | undefined;
|
2298
2298
|
}>>;
|
2299
|
-
holdLogs: z.
|
2299
|
+
holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
2300
2300
|
id: z.ZodString;
|
2301
2301
|
createdAt: z.ZodDate;
|
2302
2302
|
updatedAt: z.ZodDate;
|
@@ -2304,7 +2304,7 @@ export declare const chatContract: {
|
|
2304
2304
|
startedAt: z.ZodString;
|
2305
2305
|
endedAt: z.ZodNullable<z.ZodString>;
|
2306
2306
|
duration: z.ZodNullable<z.ZodNumber>;
|
2307
|
-
holdLabel: z.ZodObject<{
|
2307
|
+
holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
2308
2308
|
id: z.ZodString;
|
2309
2309
|
createdAt: z.ZodDate;
|
2310
2310
|
updatedAt: z.ZodDate;
|
@@ -2325,7 +2325,7 @@ export declare const chatContract: {
|
|
2325
2325
|
createdAt: Date;
|
2326
2326
|
updatedAt: Date;
|
2327
2327
|
deletedAt: Date | null;
|
2328
|
-
}
|
2328
|
+
}>>>;
|
2329
2329
|
}, "strip", z.ZodTypeAny, {
|
2330
2330
|
id: string;
|
2331
2331
|
createdAt: Date;
|
@@ -2334,14 +2334,14 @@ export declare const chatContract: {
|
|
2334
2334
|
startedAt: string;
|
2335
2335
|
endedAt: string | null;
|
2336
2336
|
duration: number | null;
|
2337
|
-
holdLabel
|
2337
|
+
holdLabel?: {
|
2338
2338
|
id: string;
|
2339
2339
|
name: string;
|
2340
2340
|
position: number;
|
2341
2341
|
createdAt: Date;
|
2342
2342
|
updatedAt: Date;
|
2343
2343
|
deletedAt: Date | null;
|
2344
|
-
};
|
2344
|
+
} | null | undefined;
|
2345
2345
|
}, {
|
2346
2346
|
id: string;
|
2347
2347
|
createdAt: Date;
|
@@ -2350,14 +2350,14 @@ export declare const chatContract: {
|
|
2350
2350
|
startedAt: string;
|
2351
2351
|
endedAt: string | null;
|
2352
2352
|
duration: number | null;
|
2353
|
-
holdLabel
|
2353
|
+
holdLabel?: {
|
2354
2354
|
id: string;
|
2355
2355
|
name: string;
|
2356
2356
|
position: number;
|
2357
2357
|
createdAt: Date;
|
2358
2358
|
updatedAt: Date;
|
2359
2359
|
deletedAt: Date | null;
|
2360
|
-
};
|
2360
|
+
} | null | undefined;
|
2361
2361
|
}>, "many">>>;
|
2362
2362
|
}, "strip", z.ZodTypeAny, {
|
2363
2363
|
id: string;
|
@@ -2435,14 +2435,14 @@ export declare const chatContract: {
|
|
2435
2435
|
startedAt: string;
|
2436
2436
|
endedAt: string | null;
|
2437
2437
|
duration: number | null;
|
2438
|
-
holdLabel
|
2438
|
+
holdLabel?: {
|
2439
2439
|
id: string;
|
2440
2440
|
name: string;
|
2441
2441
|
position: number;
|
2442
2442
|
createdAt: Date;
|
2443
2443
|
updatedAt: Date;
|
2444
2444
|
deletedAt: Date | null;
|
2445
|
-
};
|
2445
|
+
} | null | undefined;
|
2446
2446
|
}[] | null | undefined;
|
2447
2447
|
}, {
|
2448
2448
|
id: string;
|
@@ -2520,14 +2520,14 @@ export declare const chatContract: {
|
|
2520
2520
|
startedAt: string;
|
2521
2521
|
endedAt: string | null;
|
2522
2522
|
duration: number | null;
|
2523
|
-
holdLabel
|
2523
|
+
holdLabel?: {
|
2524
2524
|
id: string;
|
2525
2525
|
name: string;
|
2526
2526
|
position: number;
|
2527
2527
|
createdAt: Date;
|
2528
2528
|
updatedAt: Date;
|
2529
2529
|
deletedAt: Date | null;
|
2530
|
-
};
|
2530
|
+
} | null | undefined;
|
2531
2531
|
}[] | null | undefined;
|
2532
2532
|
}>;
|
2533
2533
|
workflowRule: z.ZodObject<{
|
@@ -2954,14 +2954,14 @@ export declare const chatContract: {
|
|
2954
2954
|
startedAt: string;
|
2955
2955
|
endedAt: string | null;
|
2956
2956
|
duration: number | null;
|
2957
|
-
holdLabel
|
2957
|
+
holdLabel?: {
|
2958
2958
|
id: string;
|
2959
2959
|
name: string;
|
2960
2960
|
position: number;
|
2961
2961
|
createdAt: Date;
|
2962
2962
|
updatedAt: Date;
|
2963
2963
|
deletedAt: Date | null;
|
2964
|
-
};
|
2964
|
+
} | null | undefined;
|
2965
2965
|
}[] | null | undefined;
|
2966
2966
|
};
|
2967
2967
|
workflowRule: {
|
@@ -3372,14 +3372,14 @@ export declare const chatContract: {
|
|
3372
3372
|
startedAt: string;
|
3373
3373
|
endedAt: string | null;
|
3374
3374
|
duration: number | null;
|
3375
|
-
holdLabel
|
3375
|
+
holdLabel?: {
|
3376
3376
|
id: string;
|
3377
3377
|
name: string;
|
3378
3378
|
position: number;
|
3379
3379
|
createdAt: Date;
|
3380
3380
|
updatedAt: Date;
|
3381
3381
|
deletedAt: Date | null;
|
3382
|
-
};
|
3382
|
+
} | null | undefined;
|
3383
3383
|
}[] | null | undefined;
|
3384
3384
|
};
|
3385
3385
|
workflowRule: {
|
@@ -3792,14 +3792,14 @@ export declare const chatContract: {
|
|
3792
3792
|
startedAt: string;
|
3793
3793
|
endedAt: string | null;
|
3794
3794
|
duration: number | null;
|
3795
|
-
holdLabel
|
3795
|
+
holdLabel?: {
|
3796
3796
|
id: string;
|
3797
3797
|
name: string;
|
3798
3798
|
position: number;
|
3799
3799
|
createdAt: Date;
|
3800
3800
|
updatedAt: Date;
|
3801
3801
|
deletedAt: Date | null;
|
3802
|
-
};
|
3802
|
+
} | null | undefined;
|
3803
3803
|
}[] | null | undefined;
|
3804
3804
|
};
|
3805
3805
|
workflowRule: {
|
@@ -4213,14 +4213,14 @@ export declare const chatContract: {
|
|
4213
4213
|
startedAt: string;
|
4214
4214
|
endedAt: string | null;
|
4215
4215
|
duration: number | null;
|
4216
|
-
holdLabel
|
4216
|
+
holdLabel?: {
|
4217
4217
|
id: string;
|
4218
4218
|
name: string;
|
4219
4219
|
position: number;
|
4220
4220
|
createdAt: Date;
|
4221
4221
|
updatedAt: Date;
|
4222
4222
|
deletedAt: Date | null;
|
4223
|
-
};
|
4223
|
+
} | null | undefined;
|
4224
4224
|
}[] | null | undefined;
|
4225
4225
|
};
|
4226
4226
|
workflowRule: {
|
@@ -6272,17 +6272,17 @@ export declare const chatContract: {
|
|
6272
6272
|
isBotRoom: z.ZodBoolean;
|
6273
6273
|
cxlog: z.ZodObject<{
|
6274
6274
|
id: z.ZodString;
|
6275
|
-
channel: z.ZodNullable<z.ZodString>;
|
6276
|
-
direction: z.ZodNullable<z.ZodString>;
|
6277
6275
|
createdAt: z.ZodDate;
|
6278
6276
|
updatedAt: z.ZodDate;
|
6279
6277
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6280
|
-
entityId: z.ZodString;
|
6281
|
-
queueId: z.ZodNullable<z.ZodString>;
|
6282
|
-
contactId: z.ZodNullable<z.ZodString>;
|
6283
6278
|
caseId: z.ZodNumber;
|
6279
|
+
entityId: z.ZodString;
|
6284
6280
|
entityName: z.ZodString;
|
6281
|
+
contactId: z.ZodNullable<z.ZodString>;
|
6282
|
+
channel: z.ZodNullable<z.ZodString>;
|
6283
|
+
queueId: z.ZodNullable<z.ZodString>;
|
6285
6284
|
agentId: z.ZodNullable<z.ZodString>;
|
6285
|
+
direction: z.ZodNullable<z.ZodString>;
|
6286
6286
|
startedDate: z.ZodNullable<z.ZodDate>;
|
6287
6287
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
6288
6288
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
@@ -6552,7 +6552,7 @@ export declare const chatContract: {
|
|
6552
6552
|
dateValue: Date | null;
|
6553
6553
|
}[] | null | undefined;
|
6554
6554
|
}>>;
|
6555
|
-
holdLogs: z.
|
6555
|
+
holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
6556
6556
|
id: z.ZodString;
|
6557
6557
|
createdAt: z.ZodDate;
|
6558
6558
|
updatedAt: z.ZodDate;
|
@@ -6560,7 +6560,7 @@ export declare const chatContract: {
|
|
6560
6560
|
startedAt: z.ZodString;
|
6561
6561
|
endedAt: z.ZodNullable<z.ZodString>;
|
6562
6562
|
duration: z.ZodNullable<z.ZodNumber>;
|
6563
|
-
holdLabel: z.ZodObject<{
|
6563
|
+
holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
6564
6564
|
id: z.ZodString;
|
6565
6565
|
createdAt: z.ZodDate;
|
6566
6566
|
updatedAt: z.ZodDate;
|
@@ -6581,7 +6581,7 @@ export declare const chatContract: {
|
|
6581
6581
|
createdAt: Date;
|
6582
6582
|
updatedAt: Date;
|
6583
6583
|
deletedAt: Date | null;
|
6584
|
-
}
|
6584
|
+
}>>>;
|
6585
6585
|
}, "strip", z.ZodTypeAny, {
|
6586
6586
|
id: string;
|
6587
6587
|
createdAt: Date;
|
@@ -6590,14 +6590,14 @@ export declare const chatContract: {
|
|
6590
6590
|
startedAt: string;
|
6591
6591
|
endedAt: string | null;
|
6592
6592
|
duration: number | null;
|
6593
|
-
holdLabel
|
6593
|
+
holdLabel?: {
|
6594
6594
|
id: string;
|
6595
6595
|
name: string;
|
6596
6596
|
position: number;
|
6597
6597
|
createdAt: Date;
|
6598
6598
|
updatedAt: Date;
|
6599
6599
|
deletedAt: Date | null;
|
6600
|
-
};
|
6600
|
+
} | null | undefined;
|
6601
6601
|
}, {
|
6602
6602
|
id: string;
|
6603
6603
|
createdAt: Date;
|
@@ -6606,14 +6606,14 @@ export declare const chatContract: {
|
|
6606
6606
|
startedAt: string;
|
6607
6607
|
endedAt: string | null;
|
6608
6608
|
duration: number | null;
|
6609
|
-
holdLabel
|
6609
|
+
holdLabel?: {
|
6610
6610
|
id: string;
|
6611
6611
|
name: string;
|
6612
6612
|
position: number;
|
6613
6613
|
createdAt: Date;
|
6614
6614
|
updatedAt: Date;
|
6615
6615
|
deletedAt: Date | null;
|
6616
|
-
};
|
6616
|
+
} | null | undefined;
|
6617
6617
|
}>, "many">>>;
|
6618
6618
|
}, "strip", z.ZodTypeAny, {
|
6619
6619
|
id: string;
|
@@ -6691,14 +6691,14 @@ export declare const chatContract: {
|
|
6691
6691
|
startedAt: string;
|
6692
6692
|
endedAt: string | null;
|
6693
6693
|
duration: number | null;
|
6694
|
-
holdLabel
|
6694
|
+
holdLabel?: {
|
6695
6695
|
id: string;
|
6696
6696
|
name: string;
|
6697
6697
|
position: number;
|
6698
6698
|
createdAt: Date;
|
6699
6699
|
updatedAt: Date;
|
6700
6700
|
deletedAt: Date | null;
|
6701
|
-
};
|
6701
|
+
} | null | undefined;
|
6702
6702
|
}[] | null | undefined;
|
6703
6703
|
}, {
|
6704
6704
|
id: string;
|
@@ -6776,14 +6776,14 @@ export declare const chatContract: {
|
|
6776
6776
|
startedAt: string;
|
6777
6777
|
endedAt: string | null;
|
6778
6778
|
duration: number | null;
|
6779
|
-
holdLabel
|
6779
|
+
holdLabel?: {
|
6780
6780
|
id: string;
|
6781
6781
|
name: string;
|
6782
6782
|
position: number;
|
6783
6783
|
createdAt: Date;
|
6784
6784
|
updatedAt: Date;
|
6785
6785
|
deletedAt: Date | null;
|
6786
|
-
};
|
6786
|
+
} | null | undefined;
|
6787
6787
|
}[] | null | undefined;
|
6788
6788
|
}>;
|
6789
6789
|
workflowRule: z.ZodObject<{
|
@@ -7211,14 +7211,14 @@ export declare const chatContract: {
|
|
7211
7211
|
startedAt: string;
|
7212
7212
|
endedAt: string | null;
|
7213
7213
|
duration: number | null;
|
7214
|
-
holdLabel
|
7214
|
+
holdLabel?: {
|
7215
7215
|
id: string;
|
7216
7216
|
name: string;
|
7217
7217
|
position: number;
|
7218
7218
|
createdAt: Date;
|
7219
7219
|
updatedAt: Date;
|
7220
7220
|
deletedAt: Date | null;
|
7221
|
-
};
|
7221
|
+
} | null | undefined;
|
7222
7222
|
}[] | null | undefined;
|
7223
7223
|
};
|
7224
7224
|
workflowRule: {
|
@@ -7630,14 +7630,14 @@ export declare const chatContract: {
|
|
7630
7630
|
startedAt: string;
|
7631
7631
|
endedAt: string | null;
|
7632
7632
|
duration: number | null;
|
7633
|
-
holdLabel
|
7633
|
+
holdLabel?: {
|
7634
7634
|
id: string;
|
7635
7635
|
name: string;
|
7636
7636
|
position: number;
|
7637
7637
|
createdAt: Date;
|
7638
7638
|
updatedAt: Date;
|
7639
7639
|
deletedAt: Date | null;
|
7640
|
-
};
|
7640
|
+
} | null | undefined;
|
7641
7641
|
}[] | null | undefined;
|
7642
7642
|
};
|
7643
7643
|
workflowRule: {
|
@@ -8051,14 +8051,14 @@ export declare const chatContract: {
|
|
8051
8051
|
startedAt: string;
|
8052
8052
|
endedAt: string | null;
|
8053
8053
|
duration: number | null;
|
8054
|
-
holdLabel
|
8054
|
+
holdLabel?: {
|
8055
8055
|
id: string;
|
8056
8056
|
name: string;
|
8057
8057
|
position: number;
|
8058
8058
|
createdAt: Date;
|
8059
8059
|
updatedAt: Date;
|
8060
8060
|
deletedAt: Date | null;
|
8061
|
-
};
|
8061
|
+
} | null | undefined;
|
8062
8062
|
}[] | null | undefined;
|
8063
8063
|
};
|
8064
8064
|
workflowRule: {
|
@@ -8473,14 +8473,14 @@ export declare const chatContract: {
|
|
8473
8473
|
startedAt: string;
|
8474
8474
|
endedAt: string | null;
|
8475
8475
|
duration: number | null;
|
8476
|
-
holdLabel
|
8476
|
+
holdLabel?: {
|
8477
8477
|
id: string;
|
8478
8478
|
name: string;
|
8479
8479
|
position: number;
|
8480
8480
|
createdAt: Date;
|
8481
8481
|
updatedAt: Date;
|
8482
8482
|
deletedAt: Date | null;
|
8483
|
-
};
|
8483
|
+
} | null | undefined;
|
8484
8484
|
}[] | null | undefined;
|
8485
8485
|
};
|
8486
8486
|
workflowRule: {
|