@kl1/contracts 1.2.26-uat → 1.2.28-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/channel/index.d.ts +179 -0
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +12 -0
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +14 -0
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +3987 -298
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +1020 -129
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +608 -76
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +5414 -586
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +13 -0
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +11 -0
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +4 -4
- package/dist/api-contracts/src/dashboard/schema.d.ts +2 -2
- package/dist/api-contracts/src/facebook-feed/index.d.ts +624 -58
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +12 -3
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +7 -0
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +133 -2
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +25 -0
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/validation.d.ts +10 -0
- package/dist/api-contracts/src/hold-label/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/index.d.ts +1 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +585 -48
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +578 -53
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +16 -5
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +585 -48
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +7 -0
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +85 -11
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +22 -0
- package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +555 -48
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +555 -48
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +1582 -56
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +569 -48
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +362 -10
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +3 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +4383 -4287
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4382 -4287
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -1516,6 +1516,7 @@ export declare const chatContract: {
|
|
1516
1516
|
channelId: z.ZodOptional<z.ZodString>;
|
1517
1517
|
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
1518
1518
|
apiKey: z.ZodOptional<z.ZodString>;
|
1519
|
+
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
1519
1520
|
}, "strip", z.ZodTypeAny, {
|
1520
1521
|
email: string;
|
1521
1522
|
wabaExternalId: string;
|
@@ -1525,6 +1526,7 @@ export declare const chatContract: {
|
|
1525
1526
|
channelId?: string | undefined;
|
1526
1527
|
status?: "active" | "pending" | undefined;
|
1527
1528
|
apiKey?: string | undefined;
|
1529
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
1528
1530
|
}, {
|
1529
1531
|
email: string;
|
1530
1532
|
wabaExternalId: string;
|
@@ -1534,6 +1536,7 @@ export declare const chatContract: {
|
|
1534
1536
|
channelId?: string | undefined;
|
1535
1537
|
status?: "active" | "pending" | undefined;
|
1536
1538
|
apiKey?: string | undefined;
|
1539
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
1537
1540
|
}>>;
|
1538
1541
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
1539
1542
|
mobileNumber: z.ZodString;
|
@@ -1566,6 +1569,7 @@ export declare const chatContract: {
|
|
1566
1569
|
channelId?: string | undefined;
|
1567
1570
|
status?: "active" | "pending" | undefined;
|
1568
1571
|
apiKey?: string | undefined;
|
1572
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
1569
1573
|
} | undefined;
|
1570
1574
|
vonageCredentials?: {
|
1571
1575
|
apiKey: string;
|
@@ -1590,6 +1594,7 @@ export declare const chatContract: {
|
|
1590
1594
|
channelId?: string | undefined;
|
1591
1595
|
status?: "active" | "pending" | undefined;
|
1592
1596
|
apiKey?: string | undefined;
|
1597
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
1593
1598
|
} | undefined;
|
1594
1599
|
vonageCredentials?: {
|
1595
1600
|
apiKey: string;
|
@@ -1848,6 +1853,7 @@ export declare const chatContract: {
|
|
1848
1853
|
channelId?: string | undefined;
|
1849
1854
|
status?: "active" | "pending" | undefined;
|
1850
1855
|
apiKey?: string | undefined;
|
1856
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
1851
1857
|
} | undefined;
|
1852
1858
|
vonageCredentials?: {
|
1853
1859
|
apiKey: string;
|
@@ -1937,6 +1943,7 @@ export declare const chatContract: {
|
|
1937
1943
|
channelId?: string | undefined;
|
1938
1944
|
status?: "active" | "pending" | undefined;
|
1939
1945
|
apiKey?: string | undefined;
|
1946
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
1940
1947
|
} | undefined;
|
1941
1948
|
vonageCredentials?: {
|
1942
1949
|
apiKey: string;
|
@@ -2009,17 +2016,17 @@ export declare const chatContract: {
|
|
2009
2016
|
}>;
|
2010
2017
|
cxlog: z.ZodObject<{
|
2011
2018
|
id: z.ZodString;
|
2019
|
+
channel: z.ZodNullable<z.ZodString>;
|
2020
|
+
direction: z.ZodNullable<z.ZodString>;
|
2012
2021
|
createdAt: z.ZodDate;
|
2013
2022
|
updatedAt: z.ZodDate;
|
2014
2023
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2015
|
-
caseId: z.ZodNumber;
|
2016
2024
|
entityId: z.ZodString;
|
2017
|
-
entityName: z.ZodString;
|
2018
|
-
contactId: z.ZodNullable<z.ZodString>;
|
2019
|
-
channel: z.ZodNullable<z.ZodString>;
|
2020
2025
|
queueId: z.ZodNullable<z.ZodString>;
|
2026
|
+
contactId: z.ZodNullable<z.ZodString>;
|
2027
|
+
caseId: z.ZodNumber;
|
2028
|
+
entityName: z.ZodString;
|
2021
2029
|
agentId: z.ZodNullable<z.ZodString>;
|
2022
|
-
direction: z.ZodNullable<z.ZodString>;
|
2023
2030
|
startedDate: z.ZodNullable<z.ZodDate>;
|
2024
2031
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
2025
2032
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
@@ -2289,6 +2296,69 @@ export declare const chatContract: {
|
|
2289
2296
|
dateValue: Date | null;
|
2290
2297
|
}[] | null | undefined;
|
2291
2298
|
}>>;
|
2299
|
+
holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
2300
|
+
id: z.ZodString;
|
2301
|
+
createdAt: z.ZodDate;
|
2302
|
+
updatedAt: z.ZodDate;
|
2303
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2304
|
+
startedAt: z.ZodString;
|
2305
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
2306
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
2307
|
+
holdLabel: z.ZodObject<{
|
2308
|
+
id: z.ZodString;
|
2309
|
+
createdAt: z.ZodDate;
|
2310
|
+
updatedAt: z.ZodDate;
|
2311
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2312
|
+
name: z.ZodString;
|
2313
|
+
position: z.ZodNumber;
|
2314
|
+
}, "strip", z.ZodTypeAny, {
|
2315
|
+
name: string;
|
2316
|
+
id: string;
|
2317
|
+
position: number;
|
2318
|
+
createdAt: Date;
|
2319
|
+
updatedAt: Date;
|
2320
|
+
deletedAt: Date | null;
|
2321
|
+
}, {
|
2322
|
+
name: string;
|
2323
|
+
id: string;
|
2324
|
+
position: number;
|
2325
|
+
createdAt: Date;
|
2326
|
+
updatedAt: Date;
|
2327
|
+
deletedAt: Date | null;
|
2328
|
+
}>;
|
2329
|
+
}, "strip", z.ZodTypeAny, {
|
2330
|
+
id: string;
|
2331
|
+
createdAt: Date;
|
2332
|
+
updatedAt: Date;
|
2333
|
+
deletedAt: Date | null;
|
2334
|
+
startedAt: string;
|
2335
|
+
endedAt: string | null;
|
2336
|
+
duration: number | null;
|
2337
|
+
holdLabel: {
|
2338
|
+
name: string;
|
2339
|
+
id: string;
|
2340
|
+
position: number;
|
2341
|
+
createdAt: Date;
|
2342
|
+
updatedAt: Date;
|
2343
|
+
deletedAt: Date | null;
|
2344
|
+
};
|
2345
|
+
}, {
|
2346
|
+
id: string;
|
2347
|
+
createdAt: Date;
|
2348
|
+
updatedAt: Date;
|
2349
|
+
deletedAt: Date | null;
|
2350
|
+
startedAt: string;
|
2351
|
+
endedAt: string | null;
|
2352
|
+
duration: number | null;
|
2353
|
+
holdLabel: {
|
2354
|
+
name: string;
|
2355
|
+
id: string;
|
2356
|
+
position: number;
|
2357
|
+
createdAt: Date;
|
2358
|
+
updatedAt: Date;
|
2359
|
+
deletedAt: Date | null;
|
2360
|
+
};
|
2361
|
+
}>, "many">>>;
|
2292
2362
|
}, "strip", z.ZodTypeAny, {
|
2293
2363
|
id: string;
|
2294
2364
|
channel: string | null;
|
@@ -2357,6 +2427,23 @@ export declare const chatContract: {
|
|
2357
2427
|
dateValue: Date | null;
|
2358
2428
|
}[] | null | undefined;
|
2359
2429
|
} | null;
|
2430
|
+
holdLogs?: {
|
2431
|
+
id: string;
|
2432
|
+
createdAt: Date;
|
2433
|
+
updatedAt: Date;
|
2434
|
+
deletedAt: Date | null;
|
2435
|
+
startedAt: string;
|
2436
|
+
endedAt: string | null;
|
2437
|
+
duration: number | null;
|
2438
|
+
holdLabel: {
|
2439
|
+
name: string;
|
2440
|
+
id: string;
|
2441
|
+
position: number;
|
2442
|
+
createdAt: Date;
|
2443
|
+
updatedAt: Date;
|
2444
|
+
deletedAt: Date | null;
|
2445
|
+
};
|
2446
|
+
}[] | null | undefined;
|
2360
2447
|
}, {
|
2361
2448
|
id: string;
|
2362
2449
|
channel: string | null;
|
@@ -2425,6 +2512,23 @@ export declare const chatContract: {
|
|
2425
2512
|
dateValue: Date | null;
|
2426
2513
|
}[] | null | undefined;
|
2427
2514
|
} | null;
|
2515
|
+
holdLogs?: {
|
2516
|
+
id: string;
|
2517
|
+
createdAt: Date;
|
2518
|
+
updatedAt: Date;
|
2519
|
+
deletedAt: Date | null;
|
2520
|
+
startedAt: string;
|
2521
|
+
endedAt: string | null;
|
2522
|
+
duration: number | null;
|
2523
|
+
holdLabel: {
|
2524
|
+
name: string;
|
2525
|
+
id: string;
|
2526
|
+
position: number;
|
2527
|
+
createdAt: Date;
|
2528
|
+
updatedAt: Date;
|
2529
|
+
deletedAt: Date | null;
|
2530
|
+
};
|
2531
|
+
}[] | null | undefined;
|
2428
2532
|
}>;
|
2429
2533
|
workflowRule: z.ZodObject<{
|
2430
2534
|
id: z.ZodString;
|
@@ -2474,6 +2578,7 @@ export declare const chatContract: {
|
|
2474
2578
|
channelId?: string | undefined;
|
2475
2579
|
status?: "active" | "pending" | undefined;
|
2476
2580
|
apiKey?: string | undefined;
|
2581
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
2477
2582
|
} | undefined;
|
2478
2583
|
vonageCredentials?: {
|
2479
2584
|
apiKey: string;
|
@@ -2841,6 +2946,23 @@ export declare const chatContract: {
|
|
2841
2946
|
dateValue: Date | null;
|
2842
2947
|
}[] | null | undefined;
|
2843
2948
|
} | null;
|
2949
|
+
holdLogs?: {
|
2950
|
+
id: string;
|
2951
|
+
createdAt: Date;
|
2952
|
+
updatedAt: Date;
|
2953
|
+
deletedAt: Date | null;
|
2954
|
+
startedAt: string;
|
2955
|
+
endedAt: string | null;
|
2956
|
+
duration: number | null;
|
2957
|
+
holdLabel: {
|
2958
|
+
name: string;
|
2959
|
+
id: string;
|
2960
|
+
position: number;
|
2961
|
+
createdAt: Date;
|
2962
|
+
updatedAt: Date;
|
2963
|
+
deletedAt: Date | null;
|
2964
|
+
};
|
2965
|
+
}[] | null | undefined;
|
2844
2966
|
};
|
2845
2967
|
workflowRule: {
|
2846
2968
|
name: string;
|
@@ -2874,6 +2996,7 @@ export declare const chatContract: {
|
|
2874
2996
|
channelId?: string | undefined;
|
2875
2997
|
status?: "active" | "pending" | undefined;
|
2876
2998
|
apiKey?: string | undefined;
|
2999
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
2877
3000
|
} | undefined;
|
2878
3001
|
vonageCredentials?: {
|
2879
3002
|
apiKey: string;
|
@@ -3241,6 +3364,23 @@ export declare const chatContract: {
|
|
3241
3364
|
dateValue: Date | null;
|
3242
3365
|
}[] | null | undefined;
|
3243
3366
|
} | null;
|
3367
|
+
holdLogs?: {
|
3368
|
+
id: string;
|
3369
|
+
createdAt: Date;
|
3370
|
+
updatedAt: Date;
|
3371
|
+
deletedAt: Date | null;
|
3372
|
+
startedAt: string;
|
3373
|
+
endedAt: string | null;
|
3374
|
+
duration: number | null;
|
3375
|
+
holdLabel: {
|
3376
|
+
name: string;
|
3377
|
+
id: string;
|
3378
|
+
position: number;
|
3379
|
+
createdAt: Date;
|
3380
|
+
updatedAt: Date;
|
3381
|
+
deletedAt: Date | null;
|
3382
|
+
};
|
3383
|
+
}[] | null | undefined;
|
3244
3384
|
};
|
3245
3385
|
workflowRule: {
|
3246
3386
|
name: string;
|
@@ -3276,6 +3416,7 @@ export declare const chatContract: {
|
|
3276
3416
|
channelId?: string | undefined;
|
3277
3417
|
status?: "active" | "pending" | undefined;
|
3278
3418
|
apiKey?: string | undefined;
|
3419
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
3279
3420
|
} | undefined;
|
3280
3421
|
vonageCredentials?: {
|
3281
3422
|
apiKey: string;
|
@@ -3643,6 +3784,23 @@ export declare const chatContract: {
|
|
3643
3784
|
dateValue: Date | null;
|
3644
3785
|
}[] | null | undefined;
|
3645
3786
|
} | null;
|
3787
|
+
holdLogs?: {
|
3788
|
+
id: string;
|
3789
|
+
createdAt: Date;
|
3790
|
+
updatedAt: Date;
|
3791
|
+
deletedAt: Date | null;
|
3792
|
+
startedAt: string;
|
3793
|
+
endedAt: string | null;
|
3794
|
+
duration: number | null;
|
3795
|
+
holdLabel: {
|
3796
|
+
name: string;
|
3797
|
+
id: string;
|
3798
|
+
position: number;
|
3799
|
+
createdAt: Date;
|
3800
|
+
updatedAt: Date;
|
3801
|
+
deletedAt: Date | null;
|
3802
|
+
};
|
3803
|
+
}[] | null | undefined;
|
3646
3804
|
};
|
3647
3805
|
workflowRule: {
|
3648
3806
|
name: string;
|
@@ -3679,6 +3837,7 @@ export declare const chatContract: {
|
|
3679
3837
|
channelId?: string | undefined;
|
3680
3838
|
status?: "active" | "pending" | undefined;
|
3681
3839
|
apiKey?: string | undefined;
|
3840
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
3682
3841
|
} | undefined;
|
3683
3842
|
vonageCredentials?: {
|
3684
3843
|
apiKey: string;
|
@@ -4046,6 +4205,23 @@ export declare const chatContract: {
|
|
4046
4205
|
dateValue: Date | null;
|
4047
4206
|
}[] | null | undefined;
|
4048
4207
|
} | null;
|
4208
|
+
holdLogs?: {
|
4209
|
+
id: string;
|
4210
|
+
createdAt: Date;
|
4211
|
+
updatedAt: Date;
|
4212
|
+
deletedAt: Date | null;
|
4213
|
+
startedAt: string;
|
4214
|
+
endedAt: string | null;
|
4215
|
+
duration: number | null;
|
4216
|
+
holdLabel: {
|
4217
|
+
name: string;
|
4218
|
+
id: string;
|
4219
|
+
position: number;
|
4220
|
+
createdAt: Date;
|
4221
|
+
updatedAt: Date;
|
4222
|
+
deletedAt: Date | null;
|
4223
|
+
};
|
4224
|
+
}[] | null | undefined;
|
4049
4225
|
};
|
4050
4226
|
workflowRule: {
|
4051
4227
|
name: string;
|
@@ -4127,6 +4303,7 @@ export declare const chatContract: {
|
|
4127
4303
|
channelId: z.ZodOptional<z.ZodString>;
|
4128
4304
|
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
4129
4305
|
apiKey: z.ZodOptional<z.ZodString>;
|
4306
|
+
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
4130
4307
|
}, "strip", z.ZodTypeAny, {
|
4131
4308
|
email: string;
|
4132
4309
|
wabaExternalId: string;
|
@@ -4136,6 +4313,7 @@ export declare const chatContract: {
|
|
4136
4313
|
channelId?: string | undefined;
|
4137
4314
|
status?: "active" | "pending" | undefined;
|
4138
4315
|
apiKey?: string | undefined;
|
4316
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
4139
4317
|
}, {
|
4140
4318
|
email: string;
|
4141
4319
|
wabaExternalId: string;
|
@@ -4145,6 +4323,7 @@ export declare const chatContract: {
|
|
4145
4323
|
channelId?: string | undefined;
|
4146
4324
|
status?: "active" | "pending" | undefined;
|
4147
4325
|
apiKey?: string | undefined;
|
4326
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
4148
4327
|
}>>;
|
4149
4328
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
4150
4329
|
mobileNumber: z.ZodString;
|
@@ -4177,6 +4356,7 @@ export declare const chatContract: {
|
|
4177
4356
|
channelId?: string | undefined;
|
4178
4357
|
status?: "active" | "pending" | undefined;
|
4179
4358
|
apiKey?: string | undefined;
|
4359
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
4180
4360
|
} | undefined;
|
4181
4361
|
vonageCredentials?: {
|
4182
4362
|
apiKey: string;
|
@@ -4201,6 +4381,7 @@ export declare const chatContract: {
|
|
4201
4381
|
channelId?: string | undefined;
|
4202
4382
|
status?: "active" | "pending" | undefined;
|
4203
4383
|
apiKey?: string | undefined;
|
4384
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
4204
4385
|
} | undefined;
|
4205
4386
|
vonageCredentials?: {
|
4206
4387
|
apiKey: string;
|
@@ -4459,6 +4640,7 @@ export declare const chatContract: {
|
|
4459
4640
|
channelId?: string | undefined;
|
4460
4641
|
status?: "active" | "pending" | undefined;
|
4461
4642
|
apiKey?: string | undefined;
|
4643
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
4462
4644
|
} | undefined;
|
4463
4645
|
vonageCredentials?: {
|
4464
4646
|
apiKey: string;
|
@@ -4548,6 +4730,7 @@ export declare const chatContract: {
|
|
4548
4730
|
channelId?: string | undefined;
|
4549
4731
|
status?: "active" | "pending" | undefined;
|
4550
4732
|
apiKey?: string | undefined;
|
4733
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
4551
4734
|
} | undefined;
|
4552
4735
|
vonageCredentials?: {
|
4553
4736
|
apiKey: string;
|
@@ -6089,17 +6272,17 @@ export declare const chatContract: {
|
|
6089
6272
|
isBotRoom: z.ZodBoolean;
|
6090
6273
|
cxlog: z.ZodObject<{
|
6091
6274
|
id: z.ZodString;
|
6275
|
+
channel: z.ZodNullable<z.ZodString>;
|
6276
|
+
direction: z.ZodNullable<z.ZodString>;
|
6092
6277
|
createdAt: z.ZodDate;
|
6093
6278
|
updatedAt: z.ZodDate;
|
6094
6279
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6095
|
-
caseId: z.ZodNumber;
|
6096
6280
|
entityId: z.ZodString;
|
6097
|
-
entityName: z.ZodString;
|
6098
|
-
contactId: z.ZodNullable<z.ZodString>;
|
6099
|
-
channel: z.ZodNullable<z.ZodString>;
|
6100
6281
|
queueId: z.ZodNullable<z.ZodString>;
|
6282
|
+
contactId: z.ZodNullable<z.ZodString>;
|
6283
|
+
caseId: z.ZodNumber;
|
6284
|
+
entityName: z.ZodString;
|
6101
6285
|
agentId: z.ZodNullable<z.ZodString>;
|
6102
|
-
direction: z.ZodNullable<z.ZodString>;
|
6103
6286
|
startedDate: z.ZodNullable<z.ZodDate>;
|
6104
6287
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
6105
6288
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
@@ -6369,6 +6552,69 @@ export declare const chatContract: {
|
|
6369
6552
|
dateValue: Date | null;
|
6370
6553
|
}[] | null | undefined;
|
6371
6554
|
}>>;
|
6555
|
+
holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
6556
|
+
id: z.ZodString;
|
6557
|
+
createdAt: z.ZodDate;
|
6558
|
+
updatedAt: z.ZodDate;
|
6559
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6560
|
+
startedAt: z.ZodString;
|
6561
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
6562
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
6563
|
+
holdLabel: z.ZodObject<{
|
6564
|
+
id: z.ZodString;
|
6565
|
+
createdAt: z.ZodDate;
|
6566
|
+
updatedAt: z.ZodDate;
|
6567
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6568
|
+
name: z.ZodString;
|
6569
|
+
position: z.ZodNumber;
|
6570
|
+
}, "strip", z.ZodTypeAny, {
|
6571
|
+
name: string;
|
6572
|
+
id: string;
|
6573
|
+
position: number;
|
6574
|
+
createdAt: Date;
|
6575
|
+
updatedAt: Date;
|
6576
|
+
deletedAt: Date | null;
|
6577
|
+
}, {
|
6578
|
+
name: string;
|
6579
|
+
id: string;
|
6580
|
+
position: number;
|
6581
|
+
createdAt: Date;
|
6582
|
+
updatedAt: Date;
|
6583
|
+
deletedAt: Date | null;
|
6584
|
+
}>;
|
6585
|
+
}, "strip", z.ZodTypeAny, {
|
6586
|
+
id: string;
|
6587
|
+
createdAt: Date;
|
6588
|
+
updatedAt: Date;
|
6589
|
+
deletedAt: Date | null;
|
6590
|
+
startedAt: string;
|
6591
|
+
endedAt: string | null;
|
6592
|
+
duration: number | null;
|
6593
|
+
holdLabel: {
|
6594
|
+
name: string;
|
6595
|
+
id: string;
|
6596
|
+
position: number;
|
6597
|
+
createdAt: Date;
|
6598
|
+
updatedAt: Date;
|
6599
|
+
deletedAt: Date | null;
|
6600
|
+
};
|
6601
|
+
}, {
|
6602
|
+
id: string;
|
6603
|
+
createdAt: Date;
|
6604
|
+
updatedAt: Date;
|
6605
|
+
deletedAt: Date | null;
|
6606
|
+
startedAt: string;
|
6607
|
+
endedAt: string | null;
|
6608
|
+
duration: number | null;
|
6609
|
+
holdLabel: {
|
6610
|
+
name: string;
|
6611
|
+
id: string;
|
6612
|
+
position: number;
|
6613
|
+
createdAt: Date;
|
6614
|
+
updatedAt: Date;
|
6615
|
+
deletedAt: Date | null;
|
6616
|
+
};
|
6617
|
+
}>, "many">>>;
|
6372
6618
|
}, "strip", z.ZodTypeAny, {
|
6373
6619
|
id: string;
|
6374
6620
|
channel: string | null;
|
@@ -6437,6 +6683,23 @@ export declare const chatContract: {
|
|
6437
6683
|
dateValue: Date | null;
|
6438
6684
|
}[] | null | undefined;
|
6439
6685
|
} | null;
|
6686
|
+
holdLogs?: {
|
6687
|
+
id: string;
|
6688
|
+
createdAt: Date;
|
6689
|
+
updatedAt: Date;
|
6690
|
+
deletedAt: Date | null;
|
6691
|
+
startedAt: string;
|
6692
|
+
endedAt: string | null;
|
6693
|
+
duration: number | null;
|
6694
|
+
holdLabel: {
|
6695
|
+
name: string;
|
6696
|
+
id: string;
|
6697
|
+
position: number;
|
6698
|
+
createdAt: Date;
|
6699
|
+
updatedAt: Date;
|
6700
|
+
deletedAt: Date | null;
|
6701
|
+
};
|
6702
|
+
}[] | null | undefined;
|
6440
6703
|
}, {
|
6441
6704
|
id: string;
|
6442
6705
|
channel: string | null;
|
@@ -6505,6 +6768,23 @@ export declare const chatContract: {
|
|
6505
6768
|
dateValue: Date | null;
|
6506
6769
|
}[] | null | undefined;
|
6507
6770
|
} | null;
|
6771
|
+
holdLogs?: {
|
6772
|
+
id: string;
|
6773
|
+
createdAt: Date;
|
6774
|
+
updatedAt: Date;
|
6775
|
+
deletedAt: Date | null;
|
6776
|
+
startedAt: string;
|
6777
|
+
endedAt: string | null;
|
6778
|
+
duration: number | null;
|
6779
|
+
holdLabel: {
|
6780
|
+
name: string;
|
6781
|
+
id: string;
|
6782
|
+
position: number;
|
6783
|
+
createdAt: Date;
|
6784
|
+
updatedAt: Date;
|
6785
|
+
deletedAt: Date | null;
|
6786
|
+
};
|
6787
|
+
}[] | null | undefined;
|
6508
6788
|
}>;
|
6509
6789
|
workflowRule: z.ZodObject<{
|
6510
6790
|
id: z.ZodString;
|
@@ -6555,6 +6835,7 @@ export declare const chatContract: {
|
|
6555
6835
|
channelId?: string | undefined;
|
6556
6836
|
status?: "active" | "pending" | undefined;
|
6557
6837
|
apiKey?: string | undefined;
|
6838
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
6558
6839
|
} | undefined;
|
6559
6840
|
vonageCredentials?: {
|
6560
6841
|
apiKey: string;
|
@@ -6922,6 +7203,23 @@ export declare const chatContract: {
|
|
6922
7203
|
dateValue: Date | null;
|
6923
7204
|
}[] | null | undefined;
|
6924
7205
|
} | null;
|
7206
|
+
holdLogs?: {
|
7207
|
+
id: string;
|
7208
|
+
createdAt: Date;
|
7209
|
+
updatedAt: Date;
|
7210
|
+
deletedAt: Date | null;
|
7211
|
+
startedAt: string;
|
7212
|
+
endedAt: string | null;
|
7213
|
+
duration: number | null;
|
7214
|
+
holdLabel: {
|
7215
|
+
name: string;
|
7216
|
+
id: string;
|
7217
|
+
position: number;
|
7218
|
+
createdAt: Date;
|
7219
|
+
updatedAt: Date;
|
7220
|
+
deletedAt: Date | null;
|
7221
|
+
};
|
7222
|
+
}[] | null | undefined;
|
6925
7223
|
};
|
6926
7224
|
workflowRule: {
|
6927
7225
|
name: string;
|
@@ -6956,6 +7254,7 @@ export declare const chatContract: {
|
|
6956
7254
|
channelId?: string | undefined;
|
6957
7255
|
status?: "active" | "pending" | undefined;
|
6958
7256
|
apiKey?: string | undefined;
|
7257
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
6959
7258
|
} | undefined;
|
6960
7259
|
vonageCredentials?: {
|
6961
7260
|
apiKey: string;
|
@@ -7323,6 +7622,23 @@ export declare const chatContract: {
|
|
7323
7622
|
dateValue: Date | null;
|
7324
7623
|
}[] | null | undefined;
|
7325
7624
|
} | null;
|
7625
|
+
holdLogs?: {
|
7626
|
+
id: string;
|
7627
|
+
createdAt: Date;
|
7628
|
+
updatedAt: Date;
|
7629
|
+
deletedAt: Date | null;
|
7630
|
+
startedAt: string;
|
7631
|
+
endedAt: string | null;
|
7632
|
+
duration: number | null;
|
7633
|
+
holdLabel: {
|
7634
|
+
name: string;
|
7635
|
+
id: string;
|
7636
|
+
position: number;
|
7637
|
+
createdAt: Date;
|
7638
|
+
updatedAt: Date;
|
7639
|
+
deletedAt: Date | null;
|
7640
|
+
};
|
7641
|
+
}[] | null | undefined;
|
7326
7642
|
};
|
7327
7643
|
workflowRule: {
|
7328
7644
|
name: string;
|
@@ -7359,6 +7675,7 @@ export declare const chatContract: {
|
|
7359
7675
|
channelId?: string | undefined;
|
7360
7676
|
status?: "active" | "pending" | undefined;
|
7361
7677
|
apiKey?: string | undefined;
|
7678
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
7362
7679
|
} | undefined;
|
7363
7680
|
vonageCredentials?: {
|
7364
7681
|
apiKey: string;
|
@@ -7726,6 +8043,23 @@ export declare const chatContract: {
|
|
7726
8043
|
dateValue: Date | null;
|
7727
8044
|
}[] | null | undefined;
|
7728
8045
|
} | null;
|
8046
|
+
holdLogs?: {
|
8047
|
+
id: string;
|
8048
|
+
createdAt: Date;
|
8049
|
+
updatedAt: Date;
|
8050
|
+
deletedAt: Date | null;
|
8051
|
+
startedAt: string;
|
8052
|
+
endedAt: string | null;
|
8053
|
+
duration: number | null;
|
8054
|
+
holdLabel: {
|
8055
|
+
name: string;
|
8056
|
+
id: string;
|
8057
|
+
position: number;
|
8058
|
+
createdAt: Date;
|
8059
|
+
updatedAt: Date;
|
8060
|
+
deletedAt: Date | null;
|
8061
|
+
};
|
8062
|
+
}[] | null | undefined;
|
7729
8063
|
};
|
7730
8064
|
workflowRule: {
|
7731
8065
|
name: string;
|
@@ -7763,6 +8097,7 @@ export declare const chatContract: {
|
|
7763
8097
|
channelId?: string | undefined;
|
7764
8098
|
status?: "active" | "pending" | undefined;
|
7765
8099
|
apiKey?: string | undefined;
|
8100
|
+
tier?: "basic" | "regular" | "premium" | undefined;
|
7766
8101
|
} | undefined;
|
7767
8102
|
vonageCredentials?: {
|
7768
8103
|
apiKey: string;
|
@@ -8130,6 +8465,23 @@ export declare const chatContract: {
|
|
8130
8465
|
dateValue: Date | null;
|
8131
8466
|
}[] | null | undefined;
|
8132
8467
|
} | null;
|
8468
|
+
holdLogs?: {
|
8469
|
+
id: string;
|
8470
|
+
createdAt: Date;
|
8471
|
+
updatedAt: Date;
|
8472
|
+
deletedAt: Date | null;
|
8473
|
+
startedAt: string;
|
8474
|
+
endedAt: string | null;
|
8475
|
+
duration: number | null;
|
8476
|
+
holdLabel: {
|
8477
|
+
name: string;
|
8478
|
+
id: string;
|
8479
|
+
position: number;
|
8480
|
+
createdAt: Date;
|
8481
|
+
updatedAt: Date;
|
8482
|
+
deletedAt: Date | null;
|
8483
|
+
};
|
8484
|
+
}[] | null | undefined;
|
8133
8485
|
};
|
8134
8486
|
workflowRule: {
|
8135
8487
|
name: string;
|