@kl1/contracts 1.0.39 → 1.0.40
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 +702 -691
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +702 -691
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +72 -72
- package/dist/src/chat/schema.d.ts +10 -10
- package/dist/src/chat/validation.d.ts +16 -16
- package/dist/src/contract.d.ts +12263 -7817
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +1616 -46
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +1551 -233
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/dashboard/index.d.ts +4 -1
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +50 -0
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +8 -8
- package/dist/src/telephony-cdr/index.d.ts +2878 -0
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +1070 -4
- package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
- package/package.json +1 -1
@@ -2920,10 +2920,10 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2920
2920
|
updatedAt: Date;
|
2921
2921
|
deletedAt: Date | null;
|
2922
2922
|
entityId: string;
|
2923
|
+
queueId: string | null;
|
2923
2924
|
contactId: string | null;
|
2924
2925
|
caseId: number;
|
2925
2926
|
entityName: string;
|
2926
|
-
queueId: string | null;
|
2927
2927
|
agentId: string | null;
|
2928
2928
|
startedDate: Date | null;
|
2929
2929
|
handledTime: number | null;
|
@@ -2954,10 +2954,10 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2954
2954
|
updatedAt: Date;
|
2955
2955
|
deletedAt: Date | null;
|
2956
2956
|
entityId: string;
|
2957
|
+
queueId: string | null;
|
2957
2958
|
contactId: string | null;
|
2958
2959
|
caseId: number;
|
2959
2960
|
entityName: string;
|
2960
|
-
queueId: string | null;
|
2961
2961
|
agentId: string | null;
|
2962
2962
|
startedDate: Date | null;
|
2963
2963
|
handledTime: number | null;
|
@@ -3208,10 +3208,10 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3208
3208
|
updatedAt: Date;
|
3209
3209
|
deletedAt: Date | null;
|
3210
3210
|
entityId: string;
|
3211
|
+
queueId: string | null;
|
3211
3212
|
contactId: string | null;
|
3212
3213
|
caseId: number;
|
3213
3214
|
entityName: string;
|
3214
|
-
queueId: string | null;
|
3215
3215
|
agentId: string | null;
|
3216
3216
|
startedDate: Date | null;
|
3217
3217
|
handledTime: number | null;
|
@@ -3526,10 +3526,10 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3526
3526
|
updatedAt: Date;
|
3527
3527
|
deletedAt: Date | null;
|
3528
3528
|
entityId: string;
|
3529
|
+
queueId: string | null;
|
3529
3530
|
contactId: string | null;
|
3530
3531
|
caseId: number;
|
3531
3532
|
entityName: string;
|
3532
|
-
queueId: string | null;
|
3533
3533
|
agentId: string | null;
|
3534
3534
|
startedDate: Date | null;
|
3535
3535
|
handledTime: number | null;
|
@@ -5514,10 +5514,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5514
5514
|
updatedAt: Date;
|
5515
5515
|
deletedAt: Date | null;
|
5516
5516
|
entityId: string;
|
5517
|
+
queueId: string | null;
|
5517
5518
|
contactId: string | null;
|
5518
5519
|
caseId: number;
|
5519
5520
|
entityName: string;
|
5520
|
-
queueId: string | null;
|
5521
5521
|
agentId: string | null;
|
5522
5522
|
startedDate: Date | null;
|
5523
5523
|
handledTime: number | null;
|
@@ -5548,10 +5548,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5548
5548
|
updatedAt: Date;
|
5549
5549
|
deletedAt: Date | null;
|
5550
5550
|
entityId: string;
|
5551
|
+
queueId: string | null;
|
5551
5552
|
contactId: string | null;
|
5552
5553
|
caseId: number;
|
5553
5554
|
entityName: string;
|
5554
|
-
queueId: string | null;
|
5555
5555
|
agentId: string | null;
|
5556
5556
|
startedDate: Date | null;
|
5557
5557
|
handledTime: number | null;
|
@@ -5802,10 +5802,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5802
5802
|
updatedAt: Date;
|
5803
5803
|
deletedAt: Date | null;
|
5804
5804
|
entityId: string;
|
5805
|
+
queueId: string | null;
|
5805
5806
|
contactId: string | null;
|
5806
5807
|
caseId: number;
|
5807
5808
|
entityName: string;
|
5808
|
-
queueId: string | null;
|
5809
5809
|
agentId: string | null;
|
5810
5810
|
startedDate: Date | null;
|
5811
5811
|
handledTime: number | null;
|
@@ -6120,10 +6120,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6120
6120
|
updatedAt: Date;
|
6121
6121
|
deletedAt: Date | null;
|
6122
6122
|
entityId: string;
|
6123
|
+
queueId: string | null;
|
6123
6124
|
contactId: string | null;
|
6124
6125
|
caseId: number;
|
6125
6126
|
entityName: string;
|
6126
|
-
queueId: string | null;
|
6127
6127
|
agentId: string | null;
|
6128
6128
|
startedDate: Date | null;
|
6129
6129
|
handledTime: number | null;
|
@@ -7191,10 +7191,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7191
7191
|
updatedAt: Date;
|
7192
7192
|
deletedAt: Date | null;
|
7193
7193
|
entityId: string;
|
7194
|
+
queueId: string | null;
|
7194
7195
|
contactId: string | null;
|
7195
7196
|
caseId: number;
|
7196
7197
|
entityName: string;
|
7197
|
-
queueId: string | null;
|
7198
7198
|
agentId: string | null;
|
7199
7199
|
startedDate: Date | null;
|
7200
7200
|
handledTime: number | null;
|
@@ -7671,10 +7671,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7671
7671
|
updatedAt: Date;
|
7672
7672
|
deletedAt: Date | null;
|
7673
7673
|
entityId: string;
|
7674
|
+
queueId: string | null;
|
7674
7675
|
contactId: string | null;
|
7675
7676
|
caseId: number;
|
7676
7677
|
entityName: string;
|
7677
|
-
queueId: string | null;
|
7678
7678
|
agentId: string | null;
|
7679
7679
|
startedDate: Date | null;
|
7680
7680
|
handledTime: number | null;
|
@@ -3189,10 +3189,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3189
3189
|
updatedAt: Date;
|
3190
3190
|
deletedAt: Date | null;
|
3191
3191
|
entityId: string;
|
3192
|
+
queueId: string | null;
|
3192
3193
|
contactId: string | null;
|
3193
3194
|
caseId: number;
|
3194
3195
|
entityName: string;
|
3195
|
-
queueId: string | null;
|
3196
3196
|
agentId: string | null;
|
3197
3197
|
startedDate: Date | null;
|
3198
3198
|
handledTime: number | null;
|
@@ -3223,10 +3223,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3223
3223
|
updatedAt: Date;
|
3224
3224
|
deletedAt: Date | null;
|
3225
3225
|
entityId: string;
|
3226
|
+
queueId: string | null;
|
3226
3227
|
contactId: string | null;
|
3227
3228
|
caseId: number;
|
3228
3229
|
entityName: string;
|
3229
|
-
queueId: string | null;
|
3230
3230
|
agentId: string | null;
|
3231
3231
|
startedDate: Date | null;
|
3232
3232
|
handledTime: number | null;
|
@@ -3477,10 +3477,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3477
3477
|
updatedAt: Date;
|
3478
3478
|
deletedAt: Date | null;
|
3479
3479
|
entityId: string;
|
3480
|
+
queueId: string | null;
|
3480
3481
|
contactId: string | null;
|
3481
3482
|
caseId: number;
|
3482
3483
|
entityName: string;
|
3483
|
-
queueId: string | null;
|
3484
3484
|
agentId: string | null;
|
3485
3485
|
startedDate: Date | null;
|
3486
3486
|
handledTime: number | null;
|
@@ -3795,10 +3795,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3795
3795
|
updatedAt: Date;
|
3796
3796
|
deletedAt: Date | null;
|
3797
3797
|
entityId: string;
|
3798
|
+
queueId: string | null;
|
3798
3799
|
contactId: string | null;
|
3799
3800
|
caseId: number;
|
3800
3801
|
entityName: string;
|
3801
|
-
queueId: string | null;
|
3802
3802
|
agentId: string | null;
|
3803
3803
|
startedDate: Date | null;
|
3804
3804
|
handledTime: number | null;
|
@@ -4866,10 +4866,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4866
4866
|
updatedAt: Date;
|
4867
4867
|
deletedAt: Date | null;
|
4868
4868
|
entityId: string;
|
4869
|
+
queueId: string | null;
|
4869
4870
|
contactId: string | null;
|
4870
4871
|
caseId: number;
|
4871
4872
|
entityName: string;
|
4872
|
-
queueId: string | null;
|
4873
4873
|
agentId: string | null;
|
4874
4874
|
startedDate: Date | null;
|
4875
4875
|
handledTime: number | null;
|
@@ -5346,10 +5346,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5346
5346
|
updatedAt: Date;
|
5347
5347
|
deletedAt: Date | null;
|
5348
5348
|
entityId: string;
|
5349
|
+
queueId: string | null;
|
5349
5350
|
contactId: string | null;
|
5350
5351
|
caseId: number;
|
5351
5352
|
entityName: string;
|
5352
|
-
queueId: string | null;
|
5353
5353
|
agentId: string | null;
|
5354
5354
|
startedDate: Date | null;
|
5355
5355
|
handledTime: number | null;
|
@@ -5828,10 +5828,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5828
5828
|
updatedAt: Date;
|
5829
5829
|
deletedAt: Date | null;
|
5830
5830
|
entityId: string;
|
5831
|
+
queueId: string | null;
|
5831
5832
|
contactId: string | null;
|
5832
5833
|
caseId: number;
|
5833
5834
|
entityName: string;
|
5834
|
-
queueId: string | null;
|
5835
5835
|
agentId: string | null;
|
5836
5836
|
startedDate: Date | null;
|
5837
5837
|
handledTime: number | null;
|
@@ -6311,10 +6311,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6311
6311
|
updatedAt: Date;
|
6312
6312
|
deletedAt: Date | null;
|
6313
6313
|
entityId: string;
|
6314
|
+
queueId: string | null;
|
6314
6315
|
contactId: string | null;
|
6315
6316
|
caseId: number;
|
6316
6317
|
entityName: string;
|
6317
|
-
queueId: string | null;
|
6318
6318
|
agentId: string | null;
|
6319
6319
|
startedDate: Date | null;
|
6320
6320
|
handledTime: number | null;
|
@@ -8206,10 +8206,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8206
8206
|
updatedAt: Date;
|
8207
8207
|
deletedAt: Date | null;
|
8208
8208
|
entityId: string;
|
8209
|
+
queueId: string | null;
|
8209
8210
|
contactId: string | null;
|
8210
8211
|
caseId: number;
|
8211
8212
|
entityName: string;
|
8212
|
-
queueId: string | null;
|
8213
8213
|
agentId: string | null;
|
8214
8214
|
startedDate: Date | null;
|
8215
8215
|
handledTime: number | null;
|
@@ -8240,10 +8240,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8240
8240
|
updatedAt: Date;
|
8241
8241
|
deletedAt: Date | null;
|
8242
8242
|
entityId: string;
|
8243
|
+
queueId: string | null;
|
8243
8244
|
contactId: string | null;
|
8244
8245
|
caseId: number;
|
8245
8246
|
entityName: string;
|
8246
|
-
queueId: string | null;
|
8247
8247
|
agentId: string | null;
|
8248
8248
|
startedDate: Date | null;
|
8249
8249
|
handledTime: number | null;
|
@@ -8512,10 +8512,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8512
8512
|
updatedAt: Date;
|
8513
8513
|
deletedAt: Date | null;
|
8514
8514
|
entityId: string;
|
8515
|
+
queueId: string | null;
|
8515
8516
|
contactId: string | null;
|
8516
8517
|
caseId: number;
|
8517
8518
|
entityName: string;
|
8518
|
-
queueId: string | null;
|
8519
8519
|
agentId: string | null;
|
8520
8520
|
startedDate: Date | null;
|
8521
8521
|
handledTime: number | null;
|
@@ -8784,10 +8784,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8784
8784
|
updatedAt: Date;
|
8785
8785
|
deletedAt: Date | null;
|
8786
8786
|
entityId: string;
|
8787
|
+
queueId: string | null;
|
8787
8788
|
contactId: string | null;
|
8788
8789
|
caseId: number;
|
8789
8790
|
entityName: string;
|
8790
|
-
queueId: string | null;
|
8791
8791
|
agentId: string | null;
|
8792
8792
|
startedDate: Date | null;
|
8793
8793
|
handledTime: number | null;
|
@@ -9705,10 +9705,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9705
9705
|
updatedAt: Date;
|
9706
9706
|
deletedAt: Date | null;
|
9707
9707
|
entityId: string;
|
9708
|
+
queueId: string | null;
|
9708
9709
|
contactId: string | null;
|
9709
9710
|
caseId: number;
|
9710
9711
|
entityName: string;
|
9711
|
-
queueId: string | null;
|
9712
9712
|
agentId: string | null;
|
9713
9713
|
startedDate: Date | null;
|
9714
9714
|
handledTime: number | null;
|
@@ -10134,10 +10134,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10134
10134
|
updatedAt: Date;
|
10135
10135
|
deletedAt: Date | null;
|
10136
10136
|
entityId: string;
|
10137
|
+
queueId: string | null;
|
10137
10138
|
contactId: string | null;
|
10138
10139
|
caseId: number;
|
10139
10140
|
entityName: string;
|
10140
|
-
queueId: string | null;
|
10141
10141
|
agentId: string | null;
|
10142
10142
|
startedDate: Date | null;
|
10143
10143
|
handledTime: number | null;
|
@@ -10565,10 +10565,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10565
10565
|
updatedAt: Date;
|
10566
10566
|
deletedAt: Date | null;
|
10567
10567
|
entityId: string;
|
10568
|
+
queueId: string | null;
|
10568
10569
|
contactId: string | null;
|
10569
10570
|
caseId: number;
|
10570
10571
|
entityName: string;
|
10571
|
-
queueId: string | null;
|
10572
10572
|
agentId: string | null;
|
10573
10573
|
startedDate: Date | null;
|
10574
10574
|
handledTime: number | null;
|
@@ -10996,10 +10996,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10996
10996
|
updatedAt: Date;
|
10997
10997
|
deletedAt: Date | null;
|
10998
10998
|
entityId: string;
|
10999
|
+
queueId: string | null;
|
10999
11000
|
contactId: string | null;
|
11000
11001
|
caseId: number;
|
11001
11002
|
entityName: string;
|
11002
|
-
queueId: string | null;
|
11003
11003
|
agentId: string | null;
|
11004
11004
|
startedDate: Date | null;
|
11005
11005
|
handledTime: number | null;
|