@kl1/contracts 1.2.29-uat → 1.2.30-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 +1979 -1780
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +350 -350
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +417 -218
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +2062 -2062
- 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 +218 -218
- 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 +218 -218
- package/dist/api-contracts/src/line/index.d.ts +218 -218
- 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 +218 -218
- package/dist/api-contracts/src/telegram/index.d.ts +218 -218
- package/dist/api-contracts/src/viber/index.d.ts +218 -218
- package/dist/api-contracts/src/webchat/index.d.ts +218 -218
- package/dist/api-contracts/src/whatsapp/index.d.ts +218 -218
- package/dist/api-contracts/src/workflow-rule/index.d.ts +144 -144
- 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
@@ -3076,19 +3076,19 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3076
3076
|
integrationId: string;
|
3077
3077
|
} | null;
|
3078
3078
|
}>;
|
3079
|
-
cxlog: z.ZodObject<{
|
3079
|
+
cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
3080
3080
|
id: z.ZodString;
|
3081
|
-
channel: z.ZodNullable<z.ZodString>;
|
3082
|
-
direction: z.ZodNullable<z.ZodString>;
|
3083
3081
|
createdAt: z.ZodDate;
|
3084
3082
|
updatedAt: z.ZodDate;
|
3085
3083
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3086
|
-
entityId: z.ZodString;
|
3087
|
-
queueId: z.ZodNullable<z.ZodString>;
|
3088
|
-
contactId: z.ZodNullable<z.ZodString>;
|
3089
3084
|
caseId: z.ZodNumber;
|
3085
|
+
entityId: z.ZodString;
|
3090
3086
|
entityName: z.ZodString;
|
3087
|
+
contactId: z.ZodNullable<z.ZodString>;
|
3088
|
+
channel: z.ZodNullable<z.ZodString>;
|
3089
|
+
queueId: z.ZodNullable<z.ZodString>;
|
3091
3090
|
agentId: z.ZodNullable<z.ZodString>;
|
3091
|
+
direction: z.ZodNullable<z.ZodString>;
|
3092
3092
|
startedDate: z.ZodNullable<z.ZodDate>;
|
3093
3093
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
3094
3094
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
@@ -3358,7 +3358,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3358
3358
|
dateValue: Date | null;
|
3359
3359
|
}[] | null | undefined;
|
3360
3360
|
}>>;
|
3361
|
-
holdLogs: z.
|
3361
|
+
holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
3362
3362
|
id: z.ZodString;
|
3363
3363
|
createdAt: z.ZodDate;
|
3364
3364
|
updatedAt: z.ZodDate;
|
@@ -3366,7 +3366,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3366
3366
|
startedAt: z.ZodString;
|
3367
3367
|
endedAt: z.ZodNullable<z.ZodString>;
|
3368
3368
|
duration: z.ZodNullable<z.ZodNumber>;
|
3369
|
-
holdLabel: z.ZodObject<{
|
3369
|
+
holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
3370
3370
|
id: z.ZodString;
|
3371
3371
|
createdAt: z.ZodDate;
|
3372
3372
|
updatedAt: z.ZodDate;
|
@@ -3387,7 +3387,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3387
3387
|
createdAt: Date;
|
3388
3388
|
updatedAt: Date;
|
3389
3389
|
deletedAt: Date | null;
|
3390
|
-
}
|
3390
|
+
}>>>;
|
3391
3391
|
}, "strip", z.ZodTypeAny, {
|
3392
3392
|
id: string;
|
3393
3393
|
createdAt: Date;
|
@@ -3396,14 +3396,14 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3396
3396
|
startedAt: string;
|
3397
3397
|
endedAt: string | null;
|
3398
3398
|
duration: number | null;
|
3399
|
-
holdLabel
|
3399
|
+
holdLabel?: {
|
3400
3400
|
id: string;
|
3401
3401
|
name: string;
|
3402
3402
|
position: number;
|
3403
3403
|
createdAt: Date;
|
3404
3404
|
updatedAt: Date;
|
3405
3405
|
deletedAt: Date | null;
|
3406
|
-
};
|
3406
|
+
} | null | undefined;
|
3407
3407
|
}, {
|
3408
3408
|
id: string;
|
3409
3409
|
createdAt: Date;
|
@@ -3412,14 +3412,14 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3412
3412
|
startedAt: string;
|
3413
3413
|
endedAt: string | null;
|
3414
3414
|
duration: number | null;
|
3415
|
-
holdLabel
|
3415
|
+
holdLabel?: {
|
3416
3416
|
id: string;
|
3417
3417
|
name: string;
|
3418
3418
|
position: number;
|
3419
3419
|
createdAt: Date;
|
3420
3420
|
updatedAt: Date;
|
3421
3421
|
deletedAt: Date | null;
|
3422
|
-
};
|
3422
|
+
} | null | undefined;
|
3423
3423
|
}>, "many">>>;
|
3424
3424
|
}, "strip", z.ZodTypeAny, {
|
3425
3425
|
id: string;
|
@@ -3497,14 +3497,14 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3497
3497
|
startedAt: string;
|
3498
3498
|
endedAt: string | null;
|
3499
3499
|
duration: number | null;
|
3500
|
-
holdLabel
|
3500
|
+
holdLabel?: {
|
3501
3501
|
id: string;
|
3502
3502
|
name: string;
|
3503
3503
|
position: number;
|
3504
3504
|
createdAt: Date;
|
3505
3505
|
updatedAt: Date;
|
3506
3506
|
deletedAt: Date | null;
|
3507
|
-
};
|
3507
|
+
} | null | undefined;
|
3508
3508
|
}[] | null | undefined;
|
3509
3509
|
}, {
|
3510
3510
|
id: string;
|
@@ -3582,16 +3582,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3582
3582
|
startedAt: string;
|
3583
3583
|
endedAt: string | null;
|
3584
3584
|
duration: number | null;
|
3585
|
-
holdLabel
|
3585
|
+
holdLabel?: {
|
3586
3586
|
id: string;
|
3587
3587
|
name: string;
|
3588
3588
|
position: number;
|
3589
3589
|
createdAt: Date;
|
3590
3590
|
updatedAt: Date;
|
3591
3591
|
deletedAt: Date | null;
|
3592
|
-
};
|
3592
|
+
} | null | undefined;
|
3593
3593
|
}[] | null | undefined;
|
3594
|
-
}
|
3594
|
+
}>>>;
|
3595
3595
|
workflowRule: z.ZodObject<{
|
3596
3596
|
id: z.ZodString;
|
3597
3597
|
createdAt: z.ZodDate;
|
@@ -3940,7 +3940,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3940
3940
|
closedAt: Date;
|
3941
3941
|
lastMessageAt: Date | null;
|
3942
3942
|
isBotRoom: boolean;
|
3943
|
-
|
3943
|
+
workflowRule: {
|
3944
|
+
type: string;
|
3945
|
+
id: string;
|
3946
|
+
name: string;
|
3947
|
+
createdAt: Date;
|
3948
|
+
updatedAt: Date;
|
3949
|
+
deletedAt: Date | null;
|
3950
|
+
isActive: boolean;
|
3951
|
+
};
|
3952
|
+
cxlog?: {
|
3944
3953
|
id: string;
|
3945
3954
|
channel: string | null;
|
3946
3955
|
direction: string | null;
|
@@ -4016,25 +4025,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
4016
4025
|
startedAt: string;
|
4017
4026
|
endedAt: string | null;
|
4018
4027
|
duration: number | null;
|
4019
|
-
holdLabel
|
4028
|
+
holdLabel?: {
|
4020
4029
|
id: string;
|
4021
4030
|
name: string;
|
4022
4031
|
position: number;
|
4023
4032
|
createdAt: Date;
|
4024
4033
|
updatedAt: Date;
|
4025
4034
|
deletedAt: Date | null;
|
4026
|
-
};
|
4035
|
+
} | null | undefined;
|
4027
4036
|
}[] | null | undefined;
|
4028
|
-
};
|
4029
|
-
workflowRule: {
|
4030
|
-
type: string;
|
4031
|
-
id: string;
|
4032
|
-
name: string;
|
4033
|
-
createdAt: Date;
|
4034
|
-
updatedAt: Date;
|
4035
|
-
deletedAt: Date | null;
|
4036
|
-
isActive: boolean;
|
4037
|
-
};
|
4037
|
+
} | null | undefined;
|
4038
4038
|
automationQueueId?: string | null | undefined;
|
4039
4039
|
}, {
|
4040
4040
|
id: string;
|
@@ -4358,7 +4358,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
4358
4358
|
closedAt: Date;
|
4359
4359
|
lastMessageAt: Date | null;
|
4360
4360
|
isBotRoom: boolean;
|
4361
|
-
|
4361
|
+
workflowRule: {
|
4362
|
+
type: string;
|
4363
|
+
id: string;
|
4364
|
+
name: string;
|
4365
|
+
createdAt: Date;
|
4366
|
+
updatedAt: Date;
|
4367
|
+
deletedAt: Date | null;
|
4368
|
+
isActive: boolean;
|
4369
|
+
};
|
4370
|
+
cxlog?: {
|
4362
4371
|
id: string;
|
4363
4372
|
channel: string | null;
|
4364
4373
|
direction: string | null;
|
@@ -4434,25 +4443,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
4434
4443
|
startedAt: string;
|
4435
4444
|
endedAt: string | null;
|
4436
4445
|
duration: number | null;
|
4437
|
-
holdLabel
|
4446
|
+
holdLabel?: {
|
4438
4447
|
id: string;
|
4439
4448
|
name: string;
|
4440
4449
|
position: number;
|
4441
4450
|
createdAt: Date;
|
4442
4451
|
updatedAt: Date;
|
4443
4452
|
deletedAt: Date | null;
|
4444
|
-
};
|
4453
|
+
} | null | undefined;
|
4445
4454
|
}[] | null | undefined;
|
4446
|
-
};
|
4447
|
-
workflowRule: {
|
4448
|
-
type: string;
|
4449
|
-
id: string;
|
4450
|
-
name: string;
|
4451
|
-
createdAt: Date;
|
4452
|
-
updatedAt: Date;
|
4453
|
-
deletedAt: Date | null;
|
4454
|
-
isActive: boolean;
|
4455
|
-
};
|
4455
|
+
} | null | undefined;
|
4456
4456
|
automationQueueId?: string | null | undefined;
|
4457
4457
|
}>;
|
4458
4458
|
/**
|
@@ -6468,19 +6468,19 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6468
6468
|
integrationId: string;
|
6469
6469
|
} | null;
|
6470
6470
|
}>;
|
6471
|
-
cxlog: z.ZodObject<{
|
6471
|
+
cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
6472
6472
|
id: z.ZodString;
|
6473
|
-
channel: z.ZodNullable<z.ZodString>;
|
6474
|
-
direction: z.ZodNullable<z.ZodString>;
|
6475
6473
|
createdAt: z.ZodDate;
|
6476
6474
|
updatedAt: z.ZodDate;
|
6477
6475
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6478
|
-
entityId: z.ZodString;
|
6479
|
-
queueId: z.ZodNullable<z.ZodString>;
|
6480
|
-
contactId: z.ZodNullable<z.ZodString>;
|
6481
6476
|
caseId: z.ZodNumber;
|
6477
|
+
entityId: z.ZodString;
|
6482
6478
|
entityName: z.ZodString;
|
6479
|
+
contactId: z.ZodNullable<z.ZodString>;
|
6480
|
+
channel: z.ZodNullable<z.ZodString>;
|
6481
|
+
queueId: z.ZodNullable<z.ZodString>;
|
6483
6482
|
agentId: z.ZodNullable<z.ZodString>;
|
6483
|
+
direction: z.ZodNullable<z.ZodString>;
|
6484
6484
|
startedDate: z.ZodNullable<z.ZodDate>;
|
6485
6485
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
6486
6486
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
@@ -6750,7 +6750,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6750
6750
|
dateValue: Date | null;
|
6751
6751
|
}[] | null | undefined;
|
6752
6752
|
}>>;
|
6753
|
-
holdLogs: z.
|
6753
|
+
holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
6754
6754
|
id: z.ZodString;
|
6755
6755
|
createdAt: z.ZodDate;
|
6756
6756
|
updatedAt: z.ZodDate;
|
@@ -6758,7 +6758,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6758
6758
|
startedAt: z.ZodString;
|
6759
6759
|
endedAt: z.ZodNullable<z.ZodString>;
|
6760
6760
|
duration: z.ZodNullable<z.ZodNumber>;
|
6761
|
-
holdLabel: z.ZodObject<{
|
6761
|
+
holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
6762
6762
|
id: z.ZodString;
|
6763
6763
|
createdAt: z.ZodDate;
|
6764
6764
|
updatedAt: z.ZodDate;
|
@@ -6779,7 +6779,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6779
6779
|
createdAt: Date;
|
6780
6780
|
updatedAt: Date;
|
6781
6781
|
deletedAt: Date | null;
|
6782
|
-
}
|
6782
|
+
}>>>;
|
6783
6783
|
}, "strip", z.ZodTypeAny, {
|
6784
6784
|
id: string;
|
6785
6785
|
createdAt: Date;
|
@@ -6788,14 +6788,14 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6788
6788
|
startedAt: string;
|
6789
6789
|
endedAt: string | null;
|
6790
6790
|
duration: number | null;
|
6791
|
-
holdLabel
|
6791
|
+
holdLabel?: {
|
6792
6792
|
id: string;
|
6793
6793
|
name: string;
|
6794
6794
|
position: number;
|
6795
6795
|
createdAt: Date;
|
6796
6796
|
updatedAt: Date;
|
6797
6797
|
deletedAt: Date | null;
|
6798
|
-
};
|
6798
|
+
} | null | undefined;
|
6799
6799
|
}, {
|
6800
6800
|
id: string;
|
6801
6801
|
createdAt: Date;
|
@@ -6804,14 +6804,14 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6804
6804
|
startedAt: string;
|
6805
6805
|
endedAt: string | null;
|
6806
6806
|
duration: number | null;
|
6807
|
-
holdLabel
|
6807
|
+
holdLabel?: {
|
6808
6808
|
id: string;
|
6809
6809
|
name: string;
|
6810
6810
|
position: number;
|
6811
6811
|
createdAt: Date;
|
6812
6812
|
updatedAt: Date;
|
6813
6813
|
deletedAt: Date | null;
|
6814
|
-
};
|
6814
|
+
} | null | undefined;
|
6815
6815
|
}>, "many">>>;
|
6816
6816
|
}, "strip", z.ZodTypeAny, {
|
6817
6817
|
id: string;
|
@@ -6889,14 +6889,14 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6889
6889
|
startedAt: string;
|
6890
6890
|
endedAt: string | null;
|
6891
6891
|
duration: number | null;
|
6892
|
-
holdLabel
|
6892
|
+
holdLabel?: {
|
6893
6893
|
id: string;
|
6894
6894
|
name: string;
|
6895
6895
|
position: number;
|
6896
6896
|
createdAt: Date;
|
6897
6897
|
updatedAt: Date;
|
6898
6898
|
deletedAt: Date | null;
|
6899
|
-
};
|
6899
|
+
} | null | undefined;
|
6900
6900
|
}[] | null | undefined;
|
6901
6901
|
}, {
|
6902
6902
|
id: string;
|
@@ -6974,16 +6974,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6974
6974
|
startedAt: string;
|
6975
6975
|
endedAt: string | null;
|
6976
6976
|
duration: number | null;
|
6977
|
-
holdLabel
|
6977
|
+
holdLabel?: {
|
6978
6978
|
id: string;
|
6979
6979
|
name: string;
|
6980
6980
|
position: number;
|
6981
6981
|
createdAt: Date;
|
6982
6982
|
updatedAt: Date;
|
6983
6983
|
deletedAt: Date | null;
|
6984
|
-
};
|
6984
|
+
} | null | undefined;
|
6985
6985
|
}[] | null | undefined;
|
6986
|
-
}
|
6986
|
+
}>>>;
|
6987
6987
|
workflowRule: z.ZodObject<{
|
6988
6988
|
id: z.ZodString;
|
6989
6989
|
createdAt: z.ZodDate;
|
@@ -7332,7 +7332,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7332
7332
|
closedAt: Date;
|
7333
7333
|
lastMessageAt: Date | null;
|
7334
7334
|
isBotRoom: boolean;
|
7335
|
-
|
7335
|
+
workflowRule: {
|
7336
|
+
type: string;
|
7337
|
+
id: string;
|
7338
|
+
name: string;
|
7339
|
+
createdAt: Date;
|
7340
|
+
updatedAt: Date;
|
7341
|
+
deletedAt: Date | null;
|
7342
|
+
isActive: boolean;
|
7343
|
+
};
|
7344
|
+
cxlog?: {
|
7336
7345
|
id: string;
|
7337
7346
|
channel: string | null;
|
7338
7347
|
direction: string | null;
|
@@ -7408,25 +7417,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7408
7417
|
startedAt: string;
|
7409
7418
|
endedAt: string | null;
|
7410
7419
|
duration: number | null;
|
7411
|
-
holdLabel
|
7420
|
+
holdLabel?: {
|
7412
7421
|
id: string;
|
7413
7422
|
name: string;
|
7414
7423
|
position: number;
|
7415
7424
|
createdAt: Date;
|
7416
7425
|
updatedAt: Date;
|
7417
7426
|
deletedAt: Date | null;
|
7418
|
-
};
|
7427
|
+
} | null | undefined;
|
7419
7428
|
}[] | null | undefined;
|
7420
|
-
};
|
7421
|
-
workflowRule: {
|
7422
|
-
type: string;
|
7423
|
-
id: string;
|
7424
|
-
name: string;
|
7425
|
-
createdAt: Date;
|
7426
|
-
updatedAt: Date;
|
7427
|
-
deletedAt: Date | null;
|
7428
|
-
isActive: boolean;
|
7429
|
-
};
|
7429
|
+
} | null | undefined;
|
7430
7430
|
automationQueueId?: string | null | undefined;
|
7431
7431
|
}, {
|
7432
7432
|
id: string;
|
@@ -7750,7 +7750,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7750
7750
|
closedAt: Date;
|
7751
7751
|
lastMessageAt: Date | null;
|
7752
7752
|
isBotRoom: boolean;
|
7753
|
-
|
7753
|
+
workflowRule: {
|
7754
|
+
type: string;
|
7755
|
+
id: string;
|
7756
|
+
name: string;
|
7757
|
+
createdAt: Date;
|
7758
|
+
updatedAt: Date;
|
7759
|
+
deletedAt: Date | null;
|
7760
|
+
isActive: boolean;
|
7761
|
+
};
|
7762
|
+
cxlog?: {
|
7754
7763
|
id: string;
|
7755
7764
|
channel: string | null;
|
7756
7765
|
direction: string | null;
|
@@ -7826,25 +7835,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7826
7835
|
startedAt: string;
|
7827
7836
|
endedAt: string | null;
|
7828
7837
|
duration: number | null;
|
7829
|
-
holdLabel
|
7838
|
+
holdLabel?: {
|
7830
7839
|
id: string;
|
7831
7840
|
name: string;
|
7832
7841
|
position: number;
|
7833
7842
|
createdAt: Date;
|
7834
7843
|
updatedAt: Date;
|
7835
7844
|
deletedAt: Date | null;
|
7836
|
-
};
|
7845
|
+
} | null | undefined;
|
7837
7846
|
}[] | null | undefined;
|
7838
|
-
};
|
7839
|
-
workflowRule: {
|
7840
|
-
type: string;
|
7841
|
-
id: string;
|
7842
|
-
name: string;
|
7843
|
-
createdAt: Date;
|
7844
|
-
updatedAt: Date;
|
7845
|
-
deletedAt: Date | null;
|
7846
|
-
isActive: boolean;
|
7847
|
-
};
|
7847
|
+
} | null | undefined;
|
7848
7848
|
automationQueueId?: string | null | undefined;
|
7849
7849
|
}>;
|
7850
7850
|
upload: z.ZodObject<{
|
@@ -9941,7 +9941,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9941
9941
|
closedAt: Date;
|
9942
9942
|
lastMessageAt: Date | null;
|
9943
9943
|
isBotRoom: boolean;
|
9944
|
-
|
9944
|
+
workflowRule: {
|
9945
|
+
type: string;
|
9946
|
+
id: string;
|
9947
|
+
name: string;
|
9948
|
+
createdAt: Date;
|
9949
|
+
updatedAt: Date;
|
9950
|
+
deletedAt: Date | null;
|
9951
|
+
isActive: boolean;
|
9952
|
+
};
|
9953
|
+
cxlog?: {
|
9945
9954
|
id: string;
|
9946
9955
|
channel: string | null;
|
9947
9956
|
direction: string | null;
|
@@ -10017,25 +10026,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
10017
10026
|
startedAt: string;
|
10018
10027
|
endedAt: string | null;
|
10019
10028
|
duration: number | null;
|
10020
|
-
holdLabel
|
10029
|
+
holdLabel?: {
|
10021
10030
|
id: string;
|
10022
10031
|
name: string;
|
10023
10032
|
position: number;
|
10024
10033
|
createdAt: Date;
|
10025
10034
|
updatedAt: Date;
|
10026
10035
|
deletedAt: Date | null;
|
10027
|
-
};
|
10036
|
+
} | null | undefined;
|
10028
10037
|
}[] | null | undefined;
|
10029
|
-
};
|
10030
|
-
workflowRule: {
|
10031
|
-
type: string;
|
10032
|
-
id: string;
|
10033
|
-
name: string;
|
10034
|
-
createdAt: Date;
|
10035
|
-
updatedAt: Date;
|
10036
|
-
deletedAt: Date | null;
|
10037
|
-
isActive: boolean;
|
10038
|
-
};
|
10038
|
+
} | null | undefined;
|
10039
10039
|
automationQueueId?: string | null | undefined;
|
10040
10040
|
};
|
10041
10041
|
platformMessageId: string;
|
@@ -10696,7 +10696,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
10696
10696
|
closedAt: Date;
|
10697
10697
|
lastMessageAt: Date | null;
|
10698
10698
|
isBotRoom: boolean;
|
10699
|
-
|
10699
|
+
workflowRule: {
|
10700
|
+
type: string;
|
10701
|
+
id: string;
|
10702
|
+
name: string;
|
10703
|
+
createdAt: Date;
|
10704
|
+
updatedAt: Date;
|
10705
|
+
deletedAt: Date | null;
|
10706
|
+
isActive: boolean;
|
10707
|
+
};
|
10708
|
+
cxlog?: {
|
10700
10709
|
id: string;
|
10701
10710
|
channel: string | null;
|
10702
10711
|
direction: string | null;
|
@@ -10772,25 +10781,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
10772
10781
|
startedAt: string;
|
10773
10782
|
endedAt: string | null;
|
10774
10783
|
duration: number | null;
|
10775
|
-
holdLabel
|
10784
|
+
holdLabel?: {
|
10776
10785
|
id: string;
|
10777
10786
|
name: string;
|
10778
10787
|
position: number;
|
10779
10788
|
createdAt: Date;
|
10780
10789
|
updatedAt: Date;
|
10781
10790
|
deletedAt: Date | null;
|
10782
|
-
};
|
10791
|
+
} | null | undefined;
|
10783
10792
|
}[] | null | undefined;
|
10784
|
-
};
|
10785
|
-
workflowRule: {
|
10786
|
-
type: string;
|
10787
|
-
id: string;
|
10788
|
-
name: string;
|
10789
|
-
createdAt: Date;
|
10790
|
-
updatedAt: Date;
|
10791
|
-
deletedAt: Date | null;
|
10792
|
-
isActive: boolean;
|
10793
|
-
};
|
10793
|
+
} | null | undefined;
|
10794
10794
|
automationQueueId?: string | null | undefined;
|
10795
10795
|
};
|
10796
10796
|
platformMessageId: string;
|
@@ -13467,19 +13467,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13467
13467
|
integrationId: string;
|
13468
13468
|
} | null;
|
13469
13469
|
}>;
|
13470
|
-
cxlog: z.ZodObject<{
|
13470
|
+
cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
13471
13471
|
id: z.ZodString;
|
13472
|
-
channel: z.ZodNullable<z.ZodString>;
|
13473
|
-
direction: z.ZodNullable<z.ZodString>;
|
13474
13472
|
createdAt: z.ZodDate;
|
13475
13473
|
updatedAt: z.ZodDate;
|
13476
13474
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
13477
|
-
entityId: z.ZodString;
|
13478
|
-
queueId: z.ZodNullable<z.ZodString>;
|
13479
|
-
contactId: z.ZodNullable<z.ZodString>;
|
13480
13475
|
caseId: z.ZodNumber;
|
13476
|
+
entityId: z.ZodString;
|
13481
13477
|
entityName: z.ZodString;
|
13478
|
+
contactId: z.ZodNullable<z.ZodString>;
|
13479
|
+
channel: z.ZodNullable<z.ZodString>;
|
13480
|
+
queueId: z.ZodNullable<z.ZodString>;
|
13482
13481
|
agentId: z.ZodNullable<z.ZodString>;
|
13482
|
+
direction: z.ZodNullable<z.ZodString>;
|
13483
13483
|
startedDate: z.ZodNullable<z.ZodDate>;
|
13484
13484
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
13485
13485
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
@@ -13749,7 +13749,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13749
13749
|
dateValue: Date | null;
|
13750
13750
|
}[] | null | undefined;
|
13751
13751
|
}>>;
|
13752
|
-
holdLogs: z.
|
13752
|
+
holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
13753
13753
|
id: z.ZodString;
|
13754
13754
|
createdAt: z.ZodDate;
|
13755
13755
|
updatedAt: z.ZodDate;
|
@@ -13757,7 +13757,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13757
13757
|
startedAt: z.ZodString;
|
13758
13758
|
endedAt: z.ZodNullable<z.ZodString>;
|
13759
13759
|
duration: z.ZodNullable<z.ZodNumber>;
|
13760
|
-
holdLabel: z.ZodObject<{
|
13760
|
+
holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
13761
13761
|
id: z.ZodString;
|
13762
13762
|
createdAt: z.ZodDate;
|
13763
13763
|
updatedAt: z.ZodDate;
|
@@ -13778,7 +13778,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13778
13778
|
createdAt: Date;
|
13779
13779
|
updatedAt: Date;
|
13780
13780
|
deletedAt: Date | null;
|
13781
|
-
}
|
13781
|
+
}>>>;
|
13782
13782
|
}, "strip", z.ZodTypeAny, {
|
13783
13783
|
id: string;
|
13784
13784
|
createdAt: Date;
|
@@ -13787,14 +13787,14 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13787
13787
|
startedAt: string;
|
13788
13788
|
endedAt: string | null;
|
13789
13789
|
duration: number | null;
|
13790
|
-
holdLabel
|
13790
|
+
holdLabel?: {
|
13791
13791
|
id: string;
|
13792
13792
|
name: string;
|
13793
13793
|
position: number;
|
13794
13794
|
createdAt: Date;
|
13795
13795
|
updatedAt: Date;
|
13796
13796
|
deletedAt: Date | null;
|
13797
|
-
};
|
13797
|
+
} | null | undefined;
|
13798
13798
|
}, {
|
13799
13799
|
id: string;
|
13800
13800
|
createdAt: Date;
|
@@ -13803,14 +13803,14 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13803
13803
|
startedAt: string;
|
13804
13804
|
endedAt: string | null;
|
13805
13805
|
duration: number | null;
|
13806
|
-
holdLabel
|
13806
|
+
holdLabel?: {
|
13807
13807
|
id: string;
|
13808
13808
|
name: string;
|
13809
13809
|
position: number;
|
13810
13810
|
createdAt: Date;
|
13811
13811
|
updatedAt: Date;
|
13812
13812
|
deletedAt: Date | null;
|
13813
|
-
};
|
13813
|
+
} | null | undefined;
|
13814
13814
|
}>, "many">>>;
|
13815
13815
|
}, "strip", z.ZodTypeAny, {
|
13816
13816
|
id: string;
|
@@ -13888,14 +13888,14 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13888
13888
|
startedAt: string;
|
13889
13889
|
endedAt: string | null;
|
13890
13890
|
duration: number | null;
|
13891
|
-
holdLabel
|
13891
|
+
holdLabel?: {
|
13892
13892
|
id: string;
|
13893
13893
|
name: string;
|
13894
13894
|
position: number;
|
13895
13895
|
createdAt: Date;
|
13896
13896
|
updatedAt: Date;
|
13897
13897
|
deletedAt: Date | null;
|
13898
|
-
};
|
13898
|
+
} | null | undefined;
|
13899
13899
|
}[] | null | undefined;
|
13900
13900
|
}, {
|
13901
13901
|
id: string;
|
@@ -13973,16 +13973,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13973
13973
|
startedAt: string;
|
13974
13974
|
endedAt: string | null;
|
13975
13975
|
duration: number | null;
|
13976
|
-
holdLabel
|
13976
|
+
holdLabel?: {
|
13977
13977
|
id: string;
|
13978
13978
|
name: string;
|
13979
13979
|
position: number;
|
13980
13980
|
createdAt: Date;
|
13981
13981
|
updatedAt: Date;
|
13982
13982
|
deletedAt: Date | null;
|
13983
|
-
};
|
13983
|
+
} | null | undefined;
|
13984
13984
|
}[] | null | undefined;
|
13985
|
-
}
|
13985
|
+
}>>>;
|
13986
13986
|
workflowRule: z.ZodObject<{
|
13987
13987
|
id: z.ZodString;
|
13988
13988
|
createdAt: z.ZodDate;
|
@@ -14331,7 +14331,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14331
14331
|
closedAt: Date;
|
14332
14332
|
lastMessageAt: Date | null;
|
14333
14333
|
isBotRoom: boolean;
|
14334
|
-
|
14334
|
+
workflowRule: {
|
14335
|
+
type: string;
|
14336
|
+
id: string;
|
14337
|
+
name: string;
|
14338
|
+
createdAt: Date;
|
14339
|
+
updatedAt: Date;
|
14340
|
+
deletedAt: Date | null;
|
14341
|
+
isActive: boolean;
|
14342
|
+
};
|
14343
|
+
cxlog?: {
|
14335
14344
|
id: string;
|
14336
14345
|
channel: string | null;
|
14337
14346
|
direction: string | null;
|
@@ -14407,25 +14416,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14407
14416
|
startedAt: string;
|
14408
14417
|
endedAt: string | null;
|
14409
14418
|
duration: number | null;
|
14410
|
-
holdLabel
|
14419
|
+
holdLabel?: {
|
14411
14420
|
id: string;
|
14412
14421
|
name: string;
|
14413
14422
|
position: number;
|
14414
14423
|
createdAt: Date;
|
14415
14424
|
updatedAt: Date;
|
14416
14425
|
deletedAt: Date | null;
|
14417
|
-
};
|
14426
|
+
} | null | undefined;
|
14418
14427
|
}[] | null | undefined;
|
14419
|
-
};
|
14420
|
-
workflowRule: {
|
14421
|
-
type: string;
|
14422
|
-
id: string;
|
14423
|
-
name: string;
|
14424
|
-
createdAt: Date;
|
14425
|
-
updatedAt: Date;
|
14426
|
-
deletedAt: Date | null;
|
14427
|
-
isActive: boolean;
|
14428
|
-
};
|
14428
|
+
} | null | undefined;
|
14429
14429
|
automationQueueId?: string | null | undefined;
|
14430
14430
|
}, {
|
14431
14431
|
id: string;
|
@@ -14749,7 +14749,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14749
14749
|
closedAt: Date;
|
14750
14750
|
lastMessageAt: Date | null;
|
14751
14751
|
isBotRoom: boolean;
|
14752
|
-
|
14752
|
+
workflowRule: {
|
14753
|
+
type: string;
|
14754
|
+
id: string;
|
14755
|
+
name: string;
|
14756
|
+
createdAt: Date;
|
14757
|
+
updatedAt: Date;
|
14758
|
+
deletedAt: Date | null;
|
14759
|
+
isActive: boolean;
|
14760
|
+
};
|
14761
|
+
cxlog?: {
|
14753
14762
|
id: string;
|
14754
14763
|
channel: string | null;
|
14755
14764
|
direction: string | null;
|
@@ -14825,25 +14834,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14825
14834
|
startedAt: string;
|
14826
14835
|
endedAt: string | null;
|
14827
14836
|
duration: number | null;
|
14828
|
-
holdLabel
|
14837
|
+
holdLabel?: {
|
14829
14838
|
id: string;
|
14830
14839
|
name: string;
|
14831
14840
|
position: number;
|
14832
14841
|
createdAt: Date;
|
14833
14842
|
updatedAt: Date;
|
14834
14843
|
deletedAt: Date | null;
|
14835
|
-
};
|
14844
|
+
} | null | undefined;
|
14836
14845
|
}[] | null | undefined;
|
14837
|
-
};
|
14838
|
-
workflowRule: {
|
14839
|
-
type: string;
|
14840
|
-
id: string;
|
14841
|
-
name: string;
|
14842
|
-
createdAt: Date;
|
14843
|
-
updatedAt: Date;
|
14844
|
-
deletedAt: Date | null;
|
14845
|
-
isActive: boolean;
|
14846
|
-
};
|
14846
|
+
} | null | undefined;
|
14847
14847
|
automationQueueId?: string | null | undefined;
|
14848
14848
|
}>;
|
14849
14849
|
platformMessageId: z.ZodString;
|
@@ -18848,7 +18848,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18848
18848
|
closedAt: Date;
|
18849
18849
|
lastMessageAt: Date | null;
|
18850
18850
|
isBotRoom: boolean;
|
18851
|
-
|
18851
|
+
workflowRule: {
|
18852
|
+
type: string;
|
18853
|
+
id: string;
|
18854
|
+
name: string;
|
18855
|
+
createdAt: Date;
|
18856
|
+
updatedAt: Date;
|
18857
|
+
deletedAt: Date | null;
|
18858
|
+
isActive: boolean;
|
18859
|
+
};
|
18860
|
+
cxlog?: {
|
18852
18861
|
id: string;
|
18853
18862
|
channel: string | null;
|
18854
18863
|
direction: string | null;
|
@@ -18924,25 +18933,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18924
18933
|
startedAt: string;
|
18925
18934
|
endedAt: string | null;
|
18926
18935
|
duration: number | null;
|
18927
|
-
holdLabel
|
18936
|
+
holdLabel?: {
|
18928
18937
|
id: string;
|
18929
18938
|
name: string;
|
18930
18939
|
position: number;
|
18931
18940
|
createdAt: Date;
|
18932
18941
|
updatedAt: Date;
|
18933
18942
|
deletedAt: Date | null;
|
18934
|
-
};
|
18943
|
+
} | null | undefined;
|
18935
18944
|
}[] | null | undefined;
|
18936
|
-
};
|
18937
|
-
workflowRule: {
|
18938
|
-
type: string;
|
18939
|
-
id: string;
|
18940
|
-
name: string;
|
18941
|
-
createdAt: Date;
|
18942
|
-
updatedAt: Date;
|
18943
|
-
deletedAt: Date | null;
|
18944
|
-
isActive: boolean;
|
18945
|
-
};
|
18945
|
+
} | null | undefined;
|
18946
18946
|
automationQueueId?: string | null | undefined;
|
18947
18947
|
};
|
18948
18948
|
platformMessageId: string;
|
@@ -19884,7 +19884,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
19884
19884
|
closedAt: Date;
|
19885
19885
|
lastMessageAt: Date | null;
|
19886
19886
|
isBotRoom: boolean;
|
19887
|
-
|
19887
|
+
workflowRule: {
|
19888
|
+
type: string;
|
19889
|
+
id: string;
|
19890
|
+
name: string;
|
19891
|
+
createdAt: Date;
|
19892
|
+
updatedAt: Date;
|
19893
|
+
deletedAt: Date | null;
|
19894
|
+
isActive: boolean;
|
19895
|
+
};
|
19896
|
+
cxlog?: {
|
19888
19897
|
id: string;
|
19889
19898
|
channel: string | null;
|
19890
19899
|
direction: string | null;
|
@@ -19960,25 +19969,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
19960
19969
|
startedAt: string;
|
19961
19970
|
endedAt: string | null;
|
19962
19971
|
duration: number | null;
|
19963
|
-
holdLabel
|
19972
|
+
holdLabel?: {
|
19964
19973
|
id: string;
|
19965
19974
|
name: string;
|
19966
19975
|
position: number;
|
19967
19976
|
createdAt: Date;
|
19968
19977
|
updatedAt: Date;
|
19969
19978
|
deletedAt: Date | null;
|
19970
|
-
};
|
19979
|
+
} | null | undefined;
|
19971
19980
|
}[] | null | undefined;
|
19972
|
-
};
|
19973
|
-
workflowRule: {
|
19974
|
-
type: string;
|
19975
|
-
id: string;
|
19976
|
-
name: string;
|
19977
|
-
createdAt: Date;
|
19978
|
-
updatedAt: Date;
|
19979
|
-
deletedAt: Date | null;
|
19980
|
-
isActive: boolean;
|
19981
|
-
};
|
19981
|
+
} | null | undefined;
|
19982
19982
|
automationQueueId?: string | null | undefined;
|
19983
19983
|
};
|
19984
19984
|
platformMessageId: string;
|
@@ -23938,19 +23938,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
23938
23938
|
integrationId: string;
|
23939
23939
|
} | null;
|
23940
23940
|
}>;
|
23941
|
-
cxlog: z.ZodObject<{
|
23941
|
+
cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
23942
23942
|
id: z.ZodString;
|
23943
|
-
channel: z.ZodNullable<z.ZodString>;
|
23944
|
-
direction: z.ZodNullable<z.ZodString>;
|
23945
23943
|
createdAt: z.ZodDate;
|
23946
23944
|
updatedAt: z.ZodDate;
|
23947
23945
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
23948
|
-
entityId: z.ZodString;
|
23949
|
-
queueId: z.ZodNullable<z.ZodString>;
|
23950
|
-
contactId: z.ZodNullable<z.ZodString>;
|
23951
23946
|
caseId: z.ZodNumber;
|
23947
|
+
entityId: z.ZodString;
|
23952
23948
|
entityName: z.ZodString;
|
23949
|
+
contactId: z.ZodNullable<z.ZodString>;
|
23950
|
+
channel: z.ZodNullable<z.ZodString>;
|
23951
|
+
queueId: z.ZodNullable<z.ZodString>;
|
23953
23952
|
agentId: z.ZodNullable<z.ZodString>;
|
23953
|
+
direction: z.ZodNullable<z.ZodString>;
|
23954
23954
|
startedDate: z.ZodNullable<z.ZodDate>;
|
23955
23955
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
23956
23956
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
@@ -24220,7 +24220,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24220
24220
|
dateValue: Date | null;
|
24221
24221
|
}[] | null | undefined;
|
24222
24222
|
}>>;
|
24223
|
-
holdLogs: z.
|
24223
|
+
holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
24224
24224
|
id: z.ZodString;
|
24225
24225
|
createdAt: z.ZodDate;
|
24226
24226
|
updatedAt: z.ZodDate;
|
@@ -24228,7 +24228,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24228
24228
|
startedAt: z.ZodString;
|
24229
24229
|
endedAt: z.ZodNullable<z.ZodString>;
|
24230
24230
|
duration: z.ZodNullable<z.ZodNumber>;
|
24231
|
-
holdLabel: z.ZodObject<{
|
24231
|
+
holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
24232
24232
|
id: z.ZodString;
|
24233
24233
|
createdAt: z.ZodDate;
|
24234
24234
|
updatedAt: z.ZodDate;
|
@@ -24249,7 +24249,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24249
24249
|
createdAt: Date;
|
24250
24250
|
updatedAt: Date;
|
24251
24251
|
deletedAt: Date | null;
|
24252
|
-
}
|
24252
|
+
}>>>;
|
24253
24253
|
}, "strip", z.ZodTypeAny, {
|
24254
24254
|
id: string;
|
24255
24255
|
createdAt: Date;
|
@@ -24258,14 +24258,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24258
24258
|
startedAt: string;
|
24259
24259
|
endedAt: string | null;
|
24260
24260
|
duration: number | null;
|
24261
|
-
holdLabel
|
24261
|
+
holdLabel?: {
|
24262
24262
|
id: string;
|
24263
24263
|
name: string;
|
24264
24264
|
position: number;
|
24265
24265
|
createdAt: Date;
|
24266
24266
|
updatedAt: Date;
|
24267
24267
|
deletedAt: Date | null;
|
24268
|
-
};
|
24268
|
+
} | null | undefined;
|
24269
24269
|
}, {
|
24270
24270
|
id: string;
|
24271
24271
|
createdAt: Date;
|
@@ -24274,14 +24274,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24274
24274
|
startedAt: string;
|
24275
24275
|
endedAt: string | null;
|
24276
24276
|
duration: number | null;
|
24277
|
-
holdLabel
|
24277
|
+
holdLabel?: {
|
24278
24278
|
id: string;
|
24279
24279
|
name: string;
|
24280
24280
|
position: number;
|
24281
24281
|
createdAt: Date;
|
24282
24282
|
updatedAt: Date;
|
24283
24283
|
deletedAt: Date | null;
|
24284
|
-
};
|
24284
|
+
} | null | undefined;
|
24285
24285
|
}>, "many">>>;
|
24286
24286
|
}, "strip", z.ZodTypeAny, {
|
24287
24287
|
id: string;
|
@@ -24359,14 +24359,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24359
24359
|
startedAt: string;
|
24360
24360
|
endedAt: string | null;
|
24361
24361
|
duration: number | null;
|
24362
|
-
holdLabel
|
24362
|
+
holdLabel?: {
|
24363
24363
|
id: string;
|
24364
24364
|
name: string;
|
24365
24365
|
position: number;
|
24366
24366
|
createdAt: Date;
|
24367
24367
|
updatedAt: Date;
|
24368
24368
|
deletedAt: Date | null;
|
24369
|
-
};
|
24369
|
+
} | null | undefined;
|
24370
24370
|
}[] | null | undefined;
|
24371
24371
|
}, {
|
24372
24372
|
id: string;
|
@@ -24444,16 +24444,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24444
24444
|
startedAt: string;
|
24445
24445
|
endedAt: string | null;
|
24446
24446
|
duration: number | null;
|
24447
|
-
holdLabel
|
24447
|
+
holdLabel?: {
|
24448
24448
|
id: string;
|
24449
24449
|
name: string;
|
24450
24450
|
position: number;
|
24451
24451
|
createdAt: Date;
|
24452
24452
|
updatedAt: Date;
|
24453
24453
|
deletedAt: Date | null;
|
24454
|
-
};
|
24454
|
+
} | null | undefined;
|
24455
24455
|
}[] | null | undefined;
|
24456
|
-
}
|
24456
|
+
}>>>;
|
24457
24457
|
workflowRule: z.ZodObject<{
|
24458
24458
|
id: z.ZodString;
|
24459
24459
|
createdAt: z.ZodDate;
|
@@ -24802,7 +24802,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24802
24802
|
closedAt: Date;
|
24803
24803
|
lastMessageAt: Date | null;
|
24804
24804
|
isBotRoom: boolean;
|
24805
|
-
|
24805
|
+
workflowRule: {
|
24806
|
+
type: string;
|
24807
|
+
id: string;
|
24808
|
+
name: string;
|
24809
|
+
createdAt: Date;
|
24810
|
+
updatedAt: Date;
|
24811
|
+
deletedAt: Date | null;
|
24812
|
+
isActive: boolean;
|
24813
|
+
};
|
24814
|
+
cxlog?: {
|
24806
24815
|
id: string;
|
24807
24816
|
channel: string | null;
|
24808
24817
|
direction: string | null;
|
@@ -24878,25 +24887,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24878
24887
|
startedAt: string;
|
24879
24888
|
endedAt: string | null;
|
24880
24889
|
duration: number | null;
|
24881
|
-
holdLabel
|
24890
|
+
holdLabel?: {
|
24882
24891
|
id: string;
|
24883
24892
|
name: string;
|
24884
24893
|
position: number;
|
24885
24894
|
createdAt: Date;
|
24886
24895
|
updatedAt: Date;
|
24887
24896
|
deletedAt: Date | null;
|
24888
|
-
};
|
24897
|
+
} | null | undefined;
|
24889
24898
|
}[] | null | undefined;
|
24890
|
-
};
|
24891
|
-
workflowRule: {
|
24892
|
-
type: string;
|
24893
|
-
id: string;
|
24894
|
-
name: string;
|
24895
|
-
createdAt: Date;
|
24896
|
-
updatedAt: Date;
|
24897
|
-
deletedAt: Date | null;
|
24898
|
-
isActive: boolean;
|
24899
|
-
};
|
24899
|
+
} | null | undefined;
|
24900
24900
|
automationQueueId?: string | null | undefined;
|
24901
24901
|
}, {
|
24902
24902
|
id: string;
|
@@ -25220,7 +25220,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
25220
25220
|
closedAt: Date;
|
25221
25221
|
lastMessageAt: Date | null;
|
25222
25222
|
isBotRoom: boolean;
|
25223
|
-
|
25223
|
+
workflowRule: {
|
25224
|
+
type: string;
|
25225
|
+
id: string;
|
25226
|
+
name: string;
|
25227
|
+
createdAt: Date;
|
25228
|
+
updatedAt: Date;
|
25229
|
+
deletedAt: Date | null;
|
25230
|
+
isActive: boolean;
|
25231
|
+
};
|
25232
|
+
cxlog?: {
|
25224
25233
|
id: string;
|
25225
25234
|
channel: string | null;
|
25226
25235
|
direction: string | null;
|
@@ -25296,25 +25305,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
25296
25305
|
startedAt: string;
|
25297
25306
|
endedAt: string | null;
|
25298
25307
|
duration: number | null;
|
25299
|
-
holdLabel
|
25308
|
+
holdLabel?: {
|
25300
25309
|
id: string;
|
25301
25310
|
name: string;
|
25302
25311
|
position: number;
|
25303
25312
|
createdAt: Date;
|
25304
25313
|
updatedAt: Date;
|
25305
25314
|
deletedAt: Date | null;
|
25306
|
-
};
|
25315
|
+
} | null | undefined;
|
25307
25316
|
}[] | null | undefined;
|
25308
|
-
};
|
25309
|
-
workflowRule: {
|
25310
|
-
type: string;
|
25311
|
-
id: string;
|
25312
|
-
name: string;
|
25313
|
-
createdAt: Date;
|
25314
|
-
updatedAt: Date;
|
25315
|
-
deletedAt: Date | null;
|
25316
|
-
isActive: boolean;
|
25317
|
-
};
|
25317
|
+
} | null | undefined;
|
25318
25318
|
automationQueueId?: string | null | undefined;
|
25319
25319
|
}>;
|
25320
25320
|
platformMessageId: z.ZodString;
|
@@ -29599,19 +29599,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
29599
29599
|
integrationId: string;
|
29600
29600
|
} | null;
|
29601
29601
|
}>;
|
29602
|
-
cxlog: z.ZodObject<{
|
29602
|
+
cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
29603
29603
|
id: z.ZodString;
|
29604
|
-
channel: z.ZodNullable<z.ZodString>;
|
29605
|
-
direction: z.ZodNullable<z.ZodString>;
|
29606
29604
|
createdAt: z.ZodDate;
|
29607
29605
|
updatedAt: z.ZodDate;
|
29608
29606
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
29609
|
-
entityId: z.ZodString;
|
29610
|
-
queueId: z.ZodNullable<z.ZodString>;
|
29611
|
-
contactId: z.ZodNullable<z.ZodString>;
|
29612
29607
|
caseId: z.ZodNumber;
|
29608
|
+
entityId: z.ZodString;
|
29613
29609
|
entityName: z.ZodString;
|
29610
|
+
contactId: z.ZodNullable<z.ZodString>;
|
29611
|
+
channel: z.ZodNullable<z.ZodString>;
|
29612
|
+
queueId: z.ZodNullable<z.ZodString>;
|
29614
29613
|
agentId: z.ZodNullable<z.ZodString>;
|
29614
|
+
direction: z.ZodNullable<z.ZodString>;
|
29615
29615
|
startedDate: z.ZodNullable<z.ZodDate>;
|
29616
29616
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
29617
29617
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
@@ -29881,7 +29881,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
29881
29881
|
dateValue: Date | null;
|
29882
29882
|
}[] | null | undefined;
|
29883
29883
|
}>>;
|
29884
|
-
holdLogs: z.
|
29884
|
+
holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
29885
29885
|
id: z.ZodString;
|
29886
29886
|
createdAt: z.ZodDate;
|
29887
29887
|
updatedAt: z.ZodDate;
|
@@ -29889,7 +29889,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
29889
29889
|
startedAt: z.ZodString;
|
29890
29890
|
endedAt: z.ZodNullable<z.ZodString>;
|
29891
29891
|
duration: z.ZodNullable<z.ZodNumber>;
|
29892
|
-
holdLabel: z.ZodObject<{
|
29892
|
+
holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
29893
29893
|
id: z.ZodString;
|
29894
29894
|
createdAt: z.ZodDate;
|
29895
29895
|
updatedAt: z.ZodDate;
|
@@ -29910,7 +29910,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
29910
29910
|
createdAt: Date;
|
29911
29911
|
updatedAt: Date;
|
29912
29912
|
deletedAt: Date | null;
|
29913
|
-
}
|
29913
|
+
}>>>;
|
29914
29914
|
}, "strip", z.ZodTypeAny, {
|
29915
29915
|
id: string;
|
29916
29916
|
createdAt: Date;
|
@@ -29919,14 +29919,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
29919
29919
|
startedAt: string;
|
29920
29920
|
endedAt: string | null;
|
29921
29921
|
duration: number | null;
|
29922
|
-
holdLabel
|
29922
|
+
holdLabel?: {
|
29923
29923
|
id: string;
|
29924
29924
|
name: string;
|
29925
29925
|
position: number;
|
29926
29926
|
createdAt: Date;
|
29927
29927
|
updatedAt: Date;
|
29928
29928
|
deletedAt: Date | null;
|
29929
|
-
};
|
29929
|
+
} | null | undefined;
|
29930
29930
|
}, {
|
29931
29931
|
id: string;
|
29932
29932
|
createdAt: Date;
|
@@ -29935,14 +29935,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
29935
29935
|
startedAt: string;
|
29936
29936
|
endedAt: string | null;
|
29937
29937
|
duration: number | null;
|
29938
|
-
holdLabel
|
29938
|
+
holdLabel?: {
|
29939
29939
|
id: string;
|
29940
29940
|
name: string;
|
29941
29941
|
position: number;
|
29942
29942
|
createdAt: Date;
|
29943
29943
|
updatedAt: Date;
|
29944
29944
|
deletedAt: Date | null;
|
29945
|
-
};
|
29945
|
+
} | null | undefined;
|
29946
29946
|
}>, "many">>>;
|
29947
29947
|
}, "strip", z.ZodTypeAny, {
|
29948
29948
|
id: string;
|
@@ -30020,14 +30020,14 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30020
30020
|
startedAt: string;
|
30021
30021
|
endedAt: string | null;
|
30022
30022
|
duration: number | null;
|
30023
|
-
holdLabel
|
30023
|
+
holdLabel?: {
|
30024
30024
|
id: string;
|
30025
30025
|
name: string;
|
30026
30026
|
position: number;
|
30027
30027
|
createdAt: Date;
|
30028
30028
|
updatedAt: Date;
|
30029
30029
|
deletedAt: Date | null;
|
30030
|
-
};
|
30030
|
+
} | null | undefined;
|
30031
30031
|
}[] | null | undefined;
|
30032
30032
|
}, {
|
30033
30033
|
id: string;
|
@@ -30105,16 +30105,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30105
30105
|
startedAt: string;
|
30106
30106
|
endedAt: string | null;
|
30107
30107
|
duration: number | null;
|
30108
|
-
holdLabel
|
30108
|
+
holdLabel?: {
|
30109
30109
|
id: string;
|
30110
30110
|
name: string;
|
30111
30111
|
position: number;
|
30112
30112
|
createdAt: Date;
|
30113
30113
|
updatedAt: Date;
|
30114
30114
|
deletedAt: Date | null;
|
30115
|
-
};
|
30115
|
+
} | null | undefined;
|
30116
30116
|
}[] | null | undefined;
|
30117
|
-
}
|
30117
|
+
}>>>;
|
30118
30118
|
workflowRule: z.ZodObject<{
|
30119
30119
|
id: z.ZodString;
|
30120
30120
|
createdAt: z.ZodDate;
|
@@ -30463,7 +30463,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30463
30463
|
closedAt: Date;
|
30464
30464
|
lastMessageAt: Date | null;
|
30465
30465
|
isBotRoom: boolean;
|
30466
|
-
|
30466
|
+
workflowRule: {
|
30467
|
+
type: string;
|
30468
|
+
id: string;
|
30469
|
+
name: string;
|
30470
|
+
createdAt: Date;
|
30471
|
+
updatedAt: Date;
|
30472
|
+
deletedAt: Date | null;
|
30473
|
+
isActive: boolean;
|
30474
|
+
};
|
30475
|
+
cxlog?: {
|
30467
30476
|
id: string;
|
30468
30477
|
channel: string | null;
|
30469
30478
|
direction: string | null;
|
@@ -30539,25 +30548,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30539
30548
|
startedAt: string;
|
30540
30549
|
endedAt: string | null;
|
30541
30550
|
duration: number | null;
|
30542
|
-
holdLabel
|
30551
|
+
holdLabel?: {
|
30543
30552
|
id: string;
|
30544
30553
|
name: string;
|
30545
30554
|
position: number;
|
30546
30555
|
createdAt: Date;
|
30547
30556
|
updatedAt: Date;
|
30548
30557
|
deletedAt: Date | null;
|
30549
|
-
};
|
30558
|
+
} | null | undefined;
|
30550
30559
|
}[] | null | undefined;
|
30551
|
-
};
|
30552
|
-
workflowRule: {
|
30553
|
-
type: string;
|
30554
|
-
id: string;
|
30555
|
-
name: string;
|
30556
|
-
createdAt: Date;
|
30557
|
-
updatedAt: Date;
|
30558
|
-
deletedAt: Date | null;
|
30559
|
-
isActive: boolean;
|
30560
|
-
};
|
30560
|
+
} | null | undefined;
|
30561
30561
|
automationQueueId?: string | null | undefined;
|
30562
30562
|
}, {
|
30563
30563
|
id: string;
|
@@ -30881,7 +30881,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30881
30881
|
closedAt: Date;
|
30882
30882
|
lastMessageAt: Date | null;
|
30883
30883
|
isBotRoom: boolean;
|
30884
|
-
|
30884
|
+
workflowRule: {
|
30885
|
+
type: string;
|
30886
|
+
id: string;
|
30887
|
+
name: string;
|
30888
|
+
createdAt: Date;
|
30889
|
+
updatedAt: Date;
|
30890
|
+
deletedAt: Date | null;
|
30891
|
+
isActive: boolean;
|
30892
|
+
};
|
30893
|
+
cxlog?: {
|
30885
30894
|
id: string;
|
30886
30895
|
channel: string | null;
|
30887
30896
|
direction: string | null;
|
@@ -30957,25 +30966,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30957
30966
|
startedAt: string;
|
30958
30967
|
endedAt: string | null;
|
30959
30968
|
duration: number | null;
|
30960
|
-
holdLabel
|
30969
|
+
holdLabel?: {
|
30961
30970
|
id: string;
|
30962
30971
|
name: string;
|
30963
30972
|
position: number;
|
30964
30973
|
createdAt: Date;
|
30965
30974
|
updatedAt: Date;
|
30966
30975
|
deletedAt: Date | null;
|
30967
|
-
};
|
30976
|
+
} | null | undefined;
|
30968
30977
|
}[] | null | undefined;
|
30969
|
-
};
|
30970
|
-
workflowRule: {
|
30971
|
-
type: string;
|
30972
|
-
id: string;
|
30973
|
-
name: string;
|
30974
|
-
createdAt: Date;
|
30975
|
-
updatedAt: Date;
|
30976
|
-
deletedAt: Date | null;
|
30977
|
-
isActive: boolean;
|
30978
|
-
};
|
30978
|
+
} | null | undefined;
|
30979
30979
|
automationQueueId?: string | null | undefined;
|
30980
30980
|
}>;
|
30981
30981
|
upload: z.ZodObject<{
|
@@ -33072,7 +33072,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33072
33072
|
closedAt: Date;
|
33073
33073
|
lastMessageAt: Date | null;
|
33074
33074
|
isBotRoom: boolean;
|
33075
|
-
|
33075
|
+
workflowRule: {
|
33076
|
+
type: string;
|
33077
|
+
id: string;
|
33078
|
+
name: string;
|
33079
|
+
createdAt: Date;
|
33080
|
+
updatedAt: Date;
|
33081
|
+
deletedAt: Date | null;
|
33082
|
+
isActive: boolean;
|
33083
|
+
};
|
33084
|
+
cxlog?: {
|
33076
33085
|
id: string;
|
33077
33086
|
channel: string | null;
|
33078
33087
|
direction: string | null;
|
@@ -33148,25 +33157,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33148
33157
|
startedAt: string;
|
33149
33158
|
endedAt: string | null;
|
33150
33159
|
duration: number | null;
|
33151
|
-
holdLabel
|
33160
|
+
holdLabel?: {
|
33152
33161
|
id: string;
|
33153
33162
|
name: string;
|
33154
33163
|
position: number;
|
33155
33164
|
createdAt: Date;
|
33156
33165
|
updatedAt: Date;
|
33157
33166
|
deletedAt: Date | null;
|
33158
|
-
};
|
33167
|
+
} | null | undefined;
|
33159
33168
|
}[] | null | undefined;
|
33160
|
-
};
|
33161
|
-
workflowRule: {
|
33162
|
-
type: string;
|
33163
|
-
id: string;
|
33164
|
-
name: string;
|
33165
|
-
createdAt: Date;
|
33166
|
-
updatedAt: Date;
|
33167
|
-
deletedAt: Date | null;
|
33168
|
-
isActive: boolean;
|
33169
|
-
};
|
33169
|
+
} | null | undefined;
|
33170
33170
|
automationQueueId?: string | null | undefined;
|
33171
33171
|
};
|
33172
33172
|
platformMessageId: string;
|
@@ -33827,7 +33827,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33827
33827
|
closedAt: Date;
|
33828
33828
|
lastMessageAt: Date | null;
|
33829
33829
|
isBotRoom: boolean;
|
33830
|
-
|
33830
|
+
workflowRule: {
|
33831
|
+
type: string;
|
33832
|
+
id: string;
|
33833
|
+
name: string;
|
33834
|
+
createdAt: Date;
|
33835
|
+
updatedAt: Date;
|
33836
|
+
deletedAt: Date | null;
|
33837
|
+
isActive: boolean;
|
33838
|
+
};
|
33839
|
+
cxlog?: {
|
33831
33840
|
id: string;
|
33832
33841
|
channel: string | null;
|
33833
33842
|
direction: string | null;
|
@@ -33903,25 +33912,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33903
33912
|
startedAt: string;
|
33904
33913
|
endedAt: string | null;
|
33905
33914
|
duration: number | null;
|
33906
|
-
holdLabel
|
33915
|
+
holdLabel?: {
|
33907
33916
|
id: string;
|
33908
33917
|
name: string;
|
33909
33918
|
position: number;
|
33910
33919
|
createdAt: Date;
|
33911
33920
|
updatedAt: Date;
|
33912
33921
|
deletedAt: Date | null;
|
33913
|
-
};
|
33922
|
+
} | null | undefined;
|
33914
33923
|
}[] | null | undefined;
|
33915
|
-
};
|
33916
|
-
workflowRule: {
|
33917
|
-
type: string;
|
33918
|
-
id: string;
|
33919
|
-
name: string;
|
33920
|
-
createdAt: Date;
|
33921
|
-
updatedAt: Date;
|
33922
|
-
deletedAt: Date | null;
|
33923
|
-
isActive: boolean;
|
33924
|
-
};
|
33924
|
+
} | null | undefined;
|
33925
33925
|
automationQueueId?: string | null | undefined;
|
33926
33926
|
};
|
33927
33927
|
platformMessageId: string;
|
@@ -34589,7 +34589,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
34589
34589
|
closedAt: Date;
|
34590
34590
|
lastMessageAt: Date | null;
|
34591
34591
|
isBotRoom: boolean;
|
34592
|
-
|
34592
|
+
workflowRule: {
|
34593
|
+
type: string;
|
34594
|
+
id: string;
|
34595
|
+
name: string;
|
34596
|
+
createdAt: Date;
|
34597
|
+
updatedAt: Date;
|
34598
|
+
deletedAt: Date | null;
|
34599
|
+
isActive: boolean;
|
34600
|
+
};
|
34601
|
+
cxlog?: {
|
34593
34602
|
id: string;
|
34594
34603
|
channel: string | null;
|
34595
34604
|
direction: string | null;
|
@@ -34665,25 +34674,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
34665
34674
|
startedAt: string;
|
34666
34675
|
endedAt: string | null;
|
34667
34676
|
duration: number | null;
|
34668
|
-
holdLabel
|
34677
|
+
holdLabel?: {
|
34669
34678
|
id: string;
|
34670
34679
|
name: string;
|
34671
34680
|
position: number;
|
34672
34681
|
createdAt: Date;
|
34673
34682
|
updatedAt: Date;
|
34674
34683
|
deletedAt: Date | null;
|
34675
|
-
};
|
34684
|
+
} | null | undefined;
|
34676
34685
|
}[] | null | undefined;
|
34677
|
-
};
|
34678
|
-
workflowRule: {
|
34679
|
-
type: string;
|
34680
|
-
id: string;
|
34681
|
-
name: string;
|
34682
|
-
createdAt: Date;
|
34683
|
-
updatedAt: Date;
|
34684
|
-
deletedAt: Date | null;
|
34685
|
-
isActive: boolean;
|
34686
|
-
};
|
34686
|
+
} | null | undefined;
|
34687
34687
|
automationQueueId?: string | null | undefined;
|
34688
34688
|
};
|
34689
34689
|
platformMessageId: string;
|
@@ -35339,7 +35339,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
35339
35339
|
closedAt: Date;
|
35340
35340
|
lastMessageAt: Date | null;
|
35341
35341
|
isBotRoom: boolean;
|
35342
|
-
|
35342
|
+
workflowRule: {
|
35343
|
+
type: string;
|
35344
|
+
id: string;
|
35345
|
+
name: string;
|
35346
|
+
createdAt: Date;
|
35347
|
+
updatedAt: Date;
|
35348
|
+
deletedAt: Date | null;
|
35349
|
+
isActive: boolean;
|
35350
|
+
};
|
35351
|
+
cxlog?: {
|
35343
35352
|
id: string;
|
35344
35353
|
channel: string | null;
|
35345
35354
|
direction: string | null;
|
@@ -35415,25 +35424,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
35415
35424
|
startedAt: string;
|
35416
35425
|
endedAt: string | null;
|
35417
35426
|
duration: number | null;
|
35418
|
-
holdLabel
|
35427
|
+
holdLabel?: {
|
35419
35428
|
id: string;
|
35420
35429
|
name: string;
|
35421
35430
|
position: number;
|
35422
35431
|
createdAt: Date;
|
35423
35432
|
updatedAt: Date;
|
35424
35433
|
deletedAt: Date | null;
|
35425
|
-
};
|
35434
|
+
} | null | undefined;
|
35426
35435
|
}[] | null | undefined;
|
35427
|
-
};
|
35428
|
-
workflowRule: {
|
35429
|
-
type: string;
|
35430
|
-
id: string;
|
35431
|
-
name: string;
|
35432
|
-
createdAt: Date;
|
35433
|
-
updatedAt: Date;
|
35434
|
-
deletedAt: Date | null;
|
35435
|
-
isActive: boolean;
|
35436
|
-
};
|
35436
|
+
} | null | undefined;
|
35437
35437
|
automationQueueId?: string | null | undefined;
|
35438
35438
|
};
|
35439
35439
|
platformMessageId: string;
|
@@ -36227,7 +36227,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
36227
36227
|
closedAt: Date;
|
36228
36228
|
lastMessageAt: Date | null;
|
36229
36229
|
isBotRoom: boolean;
|
36230
|
-
|
36230
|
+
workflowRule: {
|
36231
|
+
type: string;
|
36232
|
+
id: string;
|
36233
|
+
name: string;
|
36234
|
+
createdAt: Date;
|
36235
|
+
updatedAt: Date;
|
36236
|
+
deletedAt: Date | null;
|
36237
|
+
isActive: boolean;
|
36238
|
+
};
|
36239
|
+
cxlog?: {
|
36231
36240
|
id: string;
|
36232
36241
|
channel: string | null;
|
36233
36242
|
direction: string | null;
|
@@ -36303,25 +36312,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
36303
36312
|
startedAt: string;
|
36304
36313
|
endedAt: string | null;
|
36305
36314
|
duration: number | null;
|
36306
|
-
holdLabel
|
36315
|
+
holdLabel?: {
|
36307
36316
|
id: string;
|
36308
36317
|
name: string;
|
36309
36318
|
position: number;
|
36310
36319
|
createdAt: Date;
|
36311
36320
|
updatedAt: Date;
|
36312
36321
|
deletedAt: Date | null;
|
36313
|
-
};
|
36322
|
+
} | null | undefined;
|
36314
36323
|
}[] | null | undefined;
|
36315
|
-
};
|
36316
|
-
workflowRule: {
|
36317
|
-
type: string;
|
36318
|
-
id: string;
|
36319
|
-
name: string;
|
36320
|
-
createdAt: Date;
|
36321
|
-
updatedAt: Date;
|
36322
|
-
deletedAt: Date | null;
|
36323
|
-
isActive: boolean;
|
36324
|
-
};
|
36324
|
+
} | null | undefined;
|
36325
36325
|
automationQueueId?: string | null | undefined;
|
36326
36326
|
};
|
36327
36327
|
platformMessageId: string;
|
@@ -36977,7 +36977,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
36977
36977
|
closedAt: Date;
|
36978
36978
|
lastMessageAt: Date | null;
|
36979
36979
|
isBotRoom: boolean;
|
36980
|
-
|
36980
|
+
workflowRule: {
|
36981
|
+
type: string;
|
36982
|
+
id: string;
|
36983
|
+
name: string;
|
36984
|
+
createdAt: Date;
|
36985
|
+
updatedAt: Date;
|
36986
|
+
deletedAt: Date | null;
|
36987
|
+
isActive: boolean;
|
36988
|
+
};
|
36989
|
+
cxlog?: {
|
36981
36990
|
id: string;
|
36982
36991
|
channel: string | null;
|
36983
36992
|
direction: string | null;
|
@@ -37053,25 +37062,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
37053
37062
|
startedAt: string;
|
37054
37063
|
endedAt: string | null;
|
37055
37064
|
duration: number | null;
|
37056
|
-
holdLabel
|
37065
|
+
holdLabel?: {
|
37057
37066
|
id: string;
|
37058
37067
|
name: string;
|
37059
37068
|
position: number;
|
37060
37069
|
createdAt: Date;
|
37061
37070
|
updatedAt: Date;
|
37062
37071
|
deletedAt: Date | null;
|
37063
|
-
};
|
37072
|
+
} | null | undefined;
|
37064
37073
|
}[] | null | undefined;
|
37065
|
-
};
|
37066
|
-
workflowRule: {
|
37067
|
-
type: string;
|
37068
|
-
id: string;
|
37069
|
-
name: string;
|
37070
|
-
createdAt: Date;
|
37071
|
-
updatedAt: Date;
|
37072
|
-
deletedAt: Date | null;
|
37073
|
-
isActive: boolean;
|
37074
|
-
};
|
37074
|
+
} | null | undefined;
|
37075
37075
|
automationQueueId?: string | null | undefined;
|
37076
37076
|
};
|
37077
37077
|
platformMessageId: string;
|