@kl1/contracts 1.2.29-uat → 1.2.30-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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
|
@@ -6087,19 +6087,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6087
6087
|
integrationId: string;
|
|
6088
6088
|
} | null;
|
|
6089
6089
|
}>;
|
|
6090
|
-
cxlog: z.ZodObject<{
|
|
6090
|
+
cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6091
6091
|
id: z.ZodString;
|
|
6092
|
-
channel: z.ZodNullable<z.ZodString>;
|
|
6093
|
-
direction: z.ZodNullable<z.ZodString>;
|
|
6094
6092
|
createdAt: z.ZodDate;
|
|
6095
6093
|
updatedAt: z.ZodDate;
|
|
6096
6094
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6097
|
-
entityId: z.ZodString;
|
|
6098
|
-
queueId: z.ZodNullable<z.ZodString>;
|
|
6099
|
-
contactId: z.ZodNullable<z.ZodString>;
|
|
6100
6095
|
caseId: z.ZodNumber;
|
|
6096
|
+
entityId: z.ZodString;
|
|
6101
6097
|
entityName: z.ZodString;
|
|
6098
|
+
contactId: z.ZodNullable<z.ZodString>;
|
|
6099
|
+
channel: z.ZodNullable<z.ZodString>;
|
|
6100
|
+
queueId: z.ZodNullable<z.ZodString>;
|
|
6102
6101
|
agentId: z.ZodNullable<z.ZodString>;
|
|
6102
|
+
direction: z.ZodNullable<z.ZodString>;
|
|
6103
6103
|
startedDate: z.ZodNullable<z.ZodDate>;
|
|
6104
6104
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
|
6105
6105
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6369,7 +6369,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6369
6369
|
dateValue: Date | null;
|
|
6370
6370
|
}[] | null | undefined;
|
|
6371
6371
|
}>>;
|
|
6372
|
-
holdLogs: z.
|
|
6372
|
+
holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
6373
6373
|
id: z.ZodString;
|
|
6374
6374
|
createdAt: z.ZodDate;
|
|
6375
6375
|
updatedAt: z.ZodDate;
|
|
@@ -6377,7 +6377,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6377
6377
|
startedAt: z.ZodString;
|
|
6378
6378
|
endedAt: z.ZodNullable<z.ZodString>;
|
|
6379
6379
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
6380
|
-
holdLabel: z.ZodObject<{
|
|
6380
|
+
holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6381
6381
|
id: z.ZodString;
|
|
6382
6382
|
createdAt: z.ZodDate;
|
|
6383
6383
|
updatedAt: z.ZodDate;
|
|
@@ -6398,7 +6398,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6398
6398
|
createdAt: Date;
|
|
6399
6399
|
updatedAt: Date;
|
|
6400
6400
|
deletedAt: Date | null;
|
|
6401
|
-
}
|
|
6401
|
+
}>>>;
|
|
6402
6402
|
}, "strip", z.ZodTypeAny, {
|
|
6403
6403
|
id: string;
|
|
6404
6404
|
createdAt: Date;
|
|
@@ -6407,14 +6407,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6407
6407
|
startedAt: string;
|
|
6408
6408
|
endedAt: string | null;
|
|
6409
6409
|
duration: number | null;
|
|
6410
|
-
holdLabel
|
|
6410
|
+
holdLabel?: {
|
|
6411
6411
|
id: string;
|
|
6412
6412
|
name: string;
|
|
6413
6413
|
position: number;
|
|
6414
6414
|
createdAt: Date;
|
|
6415
6415
|
updatedAt: Date;
|
|
6416
6416
|
deletedAt: Date | null;
|
|
6417
|
-
};
|
|
6417
|
+
} | null | undefined;
|
|
6418
6418
|
}, {
|
|
6419
6419
|
id: string;
|
|
6420
6420
|
createdAt: Date;
|
|
@@ -6423,14 +6423,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6423
6423
|
startedAt: string;
|
|
6424
6424
|
endedAt: string | null;
|
|
6425
6425
|
duration: number | null;
|
|
6426
|
-
holdLabel
|
|
6426
|
+
holdLabel?: {
|
|
6427
6427
|
id: string;
|
|
6428
6428
|
name: string;
|
|
6429
6429
|
position: number;
|
|
6430
6430
|
createdAt: Date;
|
|
6431
6431
|
updatedAt: Date;
|
|
6432
6432
|
deletedAt: Date | null;
|
|
6433
|
-
};
|
|
6433
|
+
} | null | undefined;
|
|
6434
6434
|
}>, "many">>>;
|
|
6435
6435
|
}, "strip", z.ZodTypeAny, {
|
|
6436
6436
|
id: string;
|
|
@@ -6508,14 +6508,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6508
6508
|
startedAt: string;
|
|
6509
6509
|
endedAt: string | null;
|
|
6510
6510
|
duration: number | null;
|
|
6511
|
-
holdLabel
|
|
6511
|
+
holdLabel?: {
|
|
6512
6512
|
id: string;
|
|
6513
6513
|
name: string;
|
|
6514
6514
|
position: number;
|
|
6515
6515
|
createdAt: Date;
|
|
6516
6516
|
updatedAt: Date;
|
|
6517
6517
|
deletedAt: Date | null;
|
|
6518
|
-
};
|
|
6518
|
+
} | null | undefined;
|
|
6519
6519
|
}[] | null | undefined;
|
|
6520
6520
|
}, {
|
|
6521
6521
|
id: string;
|
|
@@ -6593,16 +6593,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6593
6593
|
startedAt: string;
|
|
6594
6594
|
endedAt: string | null;
|
|
6595
6595
|
duration: number | null;
|
|
6596
|
-
holdLabel
|
|
6596
|
+
holdLabel?: {
|
|
6597
6597
|
id: string;
|
|
6598
6598
|
name: string;
|
|
6599
6599
|
position: number;
|
|
6600
6600
|
createdAt: Date;
|
|
6601
6601
|
updatedAt: Date;
|
|
6602
6602
|
deletedAt: Date | null;
|
|
6603
|
-
};
|
|
6603
|
+
} | null | undefined;
|
|
6604
6604
|
}[] | null | undefined;
|
|
6605
|
-
}
|
|
6605
|
+
}>>>;
|
|
6606
6606
|
workflowRule: z.ZodObject<{
|
|
6607
6607
|
id: z.ZodString;
|
|
6608
6608
|
createdAt: z.ZodDate;
|
|
@@ -6951,7 +6951,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6951
6951
|
closedAt: Date;
|
|
6952
6952
|
lastMessageAt: Date | null;
|
|
6953
6953
|
isBotRoom: boolean;
|
|
6954
|
-
|
|
6954
|
+
workflowRule: {
|
|
6955
|
+
type: string;
|
|
6956
|
+
id: string;
|
|
6957
|
+
name: string;
|
|
6958
|
+
createdAt: Date;
|
|
6959
|
+
updatedAt: Date;
|
|
6960
|
+
deletedAt: Date | null;
|
|
6961
|
+
isActive: boolean;
|
|
6962
|
+
};
|
|
6963
|
+
cxlog?: {
|
|
6955
6964
|
id: string;
|
|
6956
6965
|
channel: string | null;
|
|
6957
6966
|
direction: string | null;
|
|
@@ -7027,25 +7036,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7027
7036
|
startedAt: string;
|
|
7028
7037
|
endedAt: string | null;
|
|
7029
7038
|
duration: number | null;
|
|
7030
|
-
holdLabel
|
|
7039
|
+
holdLabel?: {
|
|
7031
7040
|
id: string;
|
|
7032
7041
|
name: string;
|
|
7033
7042
|
position: number;
|
|
7034
7043
|
createdAt: Date;
|
|
7035
7044
|
updatedAt: Date;
|
|
7036
7045
|
deletedAt: Date | null;
|
|
7037
|
-
};
|
|
7046
|
+
} | null | undefined;
|
|
7038
7047
|
}[] | null | undefined;
|
|
7039
|
-
};
|
|
7040
|
-
workflowRule: {
|
|
7041
|
-
type: string;
|
|
7042
|
-
id: string;
|
|
7043
|
-
name: string;
|
|
7044
|
-
createdAt: Date;
|
|
7045
|
-
updatedAt: Date;
|
|
7046
|
-
deletedAt: Date | null;
|
|
7047
|
-
isActive: boolean;
|
|
7048
|
-
};
|
|
7048
|
+
} | null | undefined;
|
|
7049
7049
|
automationQueueId?: string | null | undefined;
|
|
7050
7050
|
}, {
|
|
7051
7051
|
id: string;
|
|
@@ -7369,7 +7369,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7369
7369
|
closedAt: Date;
|
|
7370
7370
|
lastMessageAt: Date | null;
|
|
7371
7371
|
isBotRoom: boolean;
|
|
7372
|
-
|
|
7372
|
+
workflowRule: {
|
|
7373
|
+
type: string;
|
|
7374
|
+
id: string;
|
|
7375
|
+
name: string;
|
|
7376
|
+
createdAt: Date;
|
|
7377
|
+
updatedAt: Date;
|
|
7378
|
+
deletedAt: Date | null;
|
|
7379
|
+
isActive: boolean;
|
|
7380
|
+
};
|
|
7381
|
+
cxlog?: {
|
|
7373
7382
|
id: string;
|
|
7374
7383
|
channel: string | null;
|
|
7375
7384
|
direction: string | null;
|
|
@@ -7445,25 +7454,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7445
7454
|
startedAt: string;
|
|
7446
7455
|
endedAt: string | null;
|
|
7447
7456
|
duration: number | null;
|
|
7448
|
-
holdLabel
|
|
7457
|
+
holdLabel?: {
|
|
7449
7458
|
id: string;
|
|
7450
7459
|
name: string;
|
|
7451
7460
|
position: number;
|
|
7452
7461
|
createdAt: Date;
|
|
7453
7462
|
updatedAt: Date;
|
|
7454
7463
|
deletedAt: Date | null;
|
|
7455
|
-
};
|
|
7464
|
+
} | null | undefined;
|
|
7456
7465
|
}[] | null | undefined;
|
|
7457
|
-
};
|
|
7458
|
-
workflowRule: {
|
|
7459
|
-
type: string;
|
|
7460
|
-
id: string;
|
|
7461
|
-
name: string;
|
|
7462
|
-
createdAt: Date;
|
|
7463
|
-
updatedAt: Date;
|
|
7464
|
-
deletedAt: Date | null;
|
|
7465
|
-
isActive: boolean;
|
|
7466
|
-
};
|
|
7466
|
+
} | null | undefined;
|
|
7467
7467
|
automationQueueId?: string | null | undefined;
|
|
7468
7468
|
}>;
|
|
7469
7469
|
platformMessageId: z.ZodString;
|
|
@@ -10701,19 +10701,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10701
10701
|
integrationId: string;
|
|
10702
10702
|
} | null;
|
|
10703
10703
|
}>;
|
|
10704
|
-
cxlog: z.ZodObject<{
|
|
10704
|
+
cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10705
10705
|
id: z.ZodString;
|
|
10706
|
-
channel: z.ZodNullable<z.ZodString>;
|
|
10707
|
-
direction: z.ZodNullable<z.ZodString>;
|
|
10708
10706
|
createdAt: z.ZodDate;
|
|
10709
10707
|
updatedAt: z.ZodDate;
|
|
10710
10708
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
10711
|
-
entityId: z.ZodString;
|
|
10712
|
-
queueId: z.ZodNullable<z.ZodString>;
|
|
10713
|
-
contactId: z.ZodNullable<z.ZodString>;
|
|
10714
10709
|
caseId: z.ZodNumber;
|
|
10710
|
+
entityId: z.ZodString;
|
|
10715
10711
|
entityName: z.ZodString;
|
|
10712
|
+
contactId: z.ZodNullable<z.ZodString>;
|
|
10713
|
+
channel: z.ZodNullable<z.ZodString>;
|
|
10714
|
+
queueId: z.ZodNullable<z.ZodString>;
|
|
10716
10715
|
agentId: z.ZodNullable<z.ZodString>;
|
|
10716
|
+
direction: z.ZodNullable<z.ZodString>;
|
|
10717
10717
|
startedDate: z.ZodNullable<z.ZodDate>;
|
|
10718
10718
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
|
10719
10719
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
|
@@ -10983,7 +10983,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10983
10983
|
dateValue: Date | null;
|
|
10984
10984
|
}[] | null | undefined;
|
|
10985
10985
|
}>>;
|
|
10986
|
-
holdLogs: z.
|
|
10986
|
+
holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10987
10987
|
id: z.ZodString;
|
|
10988
10988
|
createdAt: z.ZodDate;
|
|
10989
10989
|
updatedAt: z.ZodDate;
|
|
@@ -10991,7 +10991,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10991
10991
|
startedAt: z.ZodString;
|
|
10992
10992
|
endedAt: z.ZodNullable<z.ZodString>;
|
|
10993
10993
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
10994
|
-
holdLabel: z.ZodObject<{
|
|
10994
|
+
holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10995
10995
|
id: z.ZodString;
|
|
10996
10996
|
createdAt: z.ZodDate;
|
|
10997
10997
|
updatedAt: z.ZodDate;
|
|
@@ -11012,7 +11012,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11012
11012
|
createdAt: Date;
|
|
11013
11013
|
updatedAt: Date;
|
|
11014
11014
|
deletedAt: Date | null;
|
|
11015
|
-
}
|
|
11015
|
+
}>>>;
|
|
11016
11016
|
}, "strip", z.ZodTypeAny, {
|
|
11017
11017
|
id: string;
|
|
11018
11018
|
createdAt: Date;
|
|
@@ -11021,14 +11021,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11021
11021
|
startedAt: string;
|
|
11022
11022
|
endedAt: string | null;
|
|
11023
11023
|
duration: number | null;
|
|
11024
|
-
holdLabel
|
|
11024
|
+
holdLabel?: {
|
|
11025
11025
|
id: string;
|
|
11026
11026
|
name: string;
|
|
11027
11027
|
position: number;
|
|
11028
11028
|
createdAt: Date;
|
|
11029
11029
|
updatedAt: Date;
|
|
11030
11030
|
deletedAt: Date | null;
|
|
11031
|
-
};
|
|
11031
|
+
} | null | undefined;
|
|
11032
11032
|
}, {
|
|
11033
11033
|
id: string;
|
|
11034
11034
|
createdAt: Date;
|
|
@@ -11037,14 +11037,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11037
11037
|
startedAt: string;
|
|
11038
11038
|
endedAt: string | null;
|
|
11039
11039
|
duration: number | null;
|
|
11040
|
-
holdLabel
|
|
11040
|
+
holdLabel?: {
|
|
11041
11041
|
id: string;
|
|
11042
11042
|
name: string;
|
|
11043
11043
|
position: number;
|
|
11044
11044
|
createdAt: Date;
|
|
11045
11045
|
updatedAt: Date;
|
|
11046
11046
|
deletedAt: Date | null;
|
|
11047
|
-
};
|
|
11047
|
+
} | null | undefined;
|
|
11048
11048
|
}>, "many">>>;
|
|
11049
11049
|
}, "strip", z.ZodTypeAny, {
|
|
11050
11050
|
id: string;
|
|
@@ -11122,14 +11122,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11122
11122
|
startedAt: string;
|
|
11123
11123
|
endedAt: string | null;
|
|
11124
11124
|
duration: number | null;
|
|
11125
|
-
holdLabel
|
|
11125
|
+
holdLabel?: {
|
|
11126
11126
|
id: string;
|
|
11127
11127
|
name: string;
|
|
11128
11128
|
position: number;
|
|
11129
11129
|
createdAt: Date;
|
|
11130
11130
|
updatedAt: Date;
|
|
11131
11131
|
deletedAt: Date | null;
|
|
11132
|
-
};
|
|
11132
|
+
} | null | undefined;
|
|
11133
11133
|
}[] | null | undefined;
|
|
11134
11134
|
}, {
|
|
11135
11135
|
id: string;
|
|
@@ -11207,16 +11207,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11207
11207
|
startedAt: string;
|
|
11208
11208
|
endedAt: string | null;
|
|
11209
11209
|
duration: number | null;
|
|
11210
|
-
holdLabel
|
|
11210
|
+
holdLabel?: {
|
|
11211
11211
|
id: string;
|
|
11212
11212
|
name: string;
|
|
11213
11213
|
position: number;
|
|
11214
11214
|
createdAt: Date;
|
|
11215
11215
|
updatedAt: Date;
|
|
11216
11216
|
deletedAt: Date | null;
|
|
11217
|
-
};
|
|
11217
|
+
} | null | undefined;
|
|
11218
11218
|
}[] | null | undefined;
|
|
11219
|
-
}
|
|
11219
|
+
}>>>;
|
|
11220
11220
|
workflowRule: z.ZodObject<{
|
|
11221
11221
|
id: z.ZodString;
|
|
11222
11222
|
createdAt: z.ZodDate;
|
|
@@ -11565,7 +11565,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11565
11565
|
closedAt: Date;
|
|
11566
11566
|
lastMessageAt: Date | null;
|
|
11567
11567
|
isBotRoom: boolean;
|
|
11568
|
-
|
|
11568
|
+
workflowRule: {
|
|
11569
|
+
type: string;
|
|
11570
|
+
id: string;
|
|
11571
|
+
name: string;
|
|
11572
|
+
createdAt: Date;
|
|
11573
|
+
updatedAt: Date;
|
|
11574
|
+
deletedAt: Date | null;
|
|
11575
|
+
isActive: boolean;
|
|
11576
|
+
};
|
|
11577
|
+
cxlog?: {
|
|
11569
11578
|
id: string;
|
|
11570
11579
|
channel: string | null;
|
|
11571
11580
|
direction: string | null;
|
|
@@ -11641,25 +11650,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11641
11650
|
startedAt: string;
|
|
11642
11651
|
endedAt: string | null;
|
|
11643
11652
|
duration: number | null;
|
|
11644
|
-
holdLabel
|
|
11653
|
+
holdLabel?: {
|
|
11645
11654
|
id: string;
|
|
11646
11655
|
name: string;
|
|
11647
11656
|
position: number;
|
|
11648
11657
|
createdAt: Date;
|
|
11649
11658
|
updatedAt: Date;
|
|
11650
11659
|
deletedAt: Date | null;
|
|
11651
|
-
};
|
|
11660
|
+
} | null | undefined;
|
|
11652
11661
|
}[] | null | undefined;
|
|
11653
|
-
};
|
|
11654
|
-
workflowRule: {
|
|
11655
|
-
type: string;
|
|
11656
|
-
id: string;
|
|
11657
|
-
name: string;
|
|
11658
|
-
createdAt: Date;
|
|
11659
|
-
updatedAt: Date;
|
|
11660
|
-
deletedAt: Date | null;
|
|
11661
|
-
isActive: boolean;
|
|
11662
|
-
};
|
|
11662
|
+
} | null | undefined;
|
|
11663
11663
|
automationQueueId?: string | null | undefined;
|
|
11664
11664
|
}, {
|
|
11665
11665
|
id: string;
|
|
@@ -11983,7 +11983,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11983
11983
|
closedAt: Date;
|
|
11984
11984
|
lastMessageAt: Date | null;
|
|
11985
11985
|
isBotRoom: boolean;
|
|
11986
|
-
|
|
11986
|
+
workflowRule: {
|
|
11987
|
+
type: string;
|
|
11988
|
+
id: string;
|
|
11989
|
+
name: string;
|
|
11990
|
+
createdAt: Date;
|
|
11991
|
+
updatedAt: Date;
|
|
11992
|
+
deletedAt: Date | null;
|
|
11993
|
+
isActive: boolean;
|
|
11994
|
+
};
|
|
11995
|
+
cxlog?: {
|
|
11987
11996
|
id: string;
|
|
11988
11997
|
channel: string | null;
|
|
11989
11998
|
direction: string | null;
|
|
@@ -12059,25 +12068,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12059
12068
|
startedAt: string;
|
|
12060
12069
|
endedAt: string | null;
|
|
12061
12070
|
duration: number | null;
|
|
12062
|
-
holdLabel
|
|
12071
|
+
holdLabel?: {
|
|
12063
12072
|
id: string;
|
|
12064
12073
|
name: string;
|
|
12065
12074
|
position: number;
|
|
12066
12075
|
createdAt: Date;
|
|
12067
12076
|
updatedAt: Date;
|
|
12068
12077
|
deletedAt: Date | null;
|
|
12069
|
-
};
|
|
12078
|
+
} | null | undefined;
|
|
12070
12079
|
}[] | null | undefined;
|
|
12071
|
-
};
|
|
12072
|
-
workflowRule: {
|
|
12073
|
-
type: string;
|
|
12074
|
-
id: string;
|
|
12075
|
-
name: string;
|
|
12076
|
-
createdAt: Date;
|
|
12077
|
-
updatedAt: Date;
|
|
12078
|
-
deletedAt: Date | null;
|
|
12079
|
-
isActive: boolean;
|
|
12080
|
-
};
|
|
12080
|
+
} | null | undefined;
|
|
12081
12081
|
automationQueueId?: string | null | undefined;
|
|
12082
12082
|
}>;
|
|
12083
12083
|
upload: z.ZodObject<{
|
|
@@ -14174,7 +14174,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14174
14174
|
closedAt: Date;
|
|
14175
14175
|
lastMessageAt: Date | null;
|
|
14176
14176
|
isBotRoom: boolean;
|
|
14177
|
-
|
|
14177
|
+
workflowRule: {
|
|
14178
|
+
type: string;
|
|
14179
|
+
id: string;
|
|
14180
|
+
name: string;
|
|
14181
|
+
createdAt: Date;
|
|
14182
|
+
updatedAt: Date;
|
|
14183
|
+
deletedAt: Date | null;
|
|
14184
|
+
isActive: boolean;
|
|
14185
|
+
};
|
|
14186
|
+
cxlog?: {
|
|
14178
14187
|
id: string;
|
|
14179
14188
|
channel: string | null;
|
|
14180
14189
|
direction: string | null;
|
|
@@ -14250,25 +14259,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14250
14259
|
startedAt: string;
|
|
14251
14260
|
endedAt: string | null;
|
|
14252
14261
|
duration: number | null;
|
|
14253
|
-
holdLabel
|
|
14262
|
+
holdLabel?: {
|
|
14254
14263
|
id: string;
|
|
14255
14264
|
name: string;
|
|
14256
14265
|
position: number;
|
|
14257
14266
|
createdAt: Date;
|
|
14258
14267
|
updatedAt: Date;
|
|
14259
14268
|
deletedAt: Date | null;
|
|
14260
|
-
};
|
|
14269
|
+
} | null | undefined;
|
|
14261
14270
|
}[] | null | undefined;
|
|
14262
|
-
};
|
|
14263
|
-
workflowRule: {
|
|
14264
|
-
type: string;
|
|
14265
|
-
id: string;
|
|
14266
|
-
name: string;
|
|
14267
|
-
createdAt: Date;
|
|
14268
|
-
updatedAt: Date;
|
|
14269
|
-
deletedAt: Date | null;
|
|
14270
|
-
isActive: boolean;
|
|
14271
|
-
};
|
|
14271
|
+
} | null | undefined;
|
|
14272
14272
|
automationQueueId?: string | null | undefined;
|
|
14273
14273
|
};
|
|
14274
14274
|
platformMessageId: string;
|
|
@@ -14929,7 +14929,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14929
14929
|
closedAt: Date;
|
|
14930
14930
|
lastMessageAt: Date | null;
|
|
14931
14931
|
isBotRoom: boolean;
|
|
14932
|
-
|
|
14932
|
+
workflowRule: {
|
|
14933
|
+
type: string;
|
|
14934
|
+
id: string;
|
|
14935
|
+
name: string;
|
|
14936
|
+
createdAt: Date;
|
|
14937
|
+
updatedAt: Date;
|
|
14938
|
+
deletedAt: Date | null;
|
|
14939
|
+
isActive: boolean;
|
|
14940
|
+
};
|
|
14941
|
+
cxlog?: {
|
|
14933
14942
|
id: string;
|
|
14934
14943
|
channel: string | null;
|
|
14935
14944
|
direction: string | null;
|
|
@@ -15005,25 +15014,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15005
15014
|
startedAt: string;
|
|
15006
15015
|
endedAt: string | null;
|
|
15007
15016
|
duration: number | null;
|
|
15008
|
-
holdLabel
|
|
15017
|
+
holdLabel?: {
|
|
15009
15018
|
id: string;
|
|
15010
15019
|
name: string;
|
|
15011
15020
|
position: number;
|
|
15012
15021
|
createdAt: Date;
|
|
15013
15022
|
updatedAt: Date;
|
|
15014
15023
|
deletedAt: Date | null;
|
|
15015
|
-
};
|
|
15024
|
+
} | null | undefined;
|
|
15016
15025
|
}[] | null | undefined;
|
|
15017
|
-
};
|
|
15018
|
-
workflowRule: {
|
|
15019
|
-
type: string;
|
|
15020
|
-
id: string;
|
|
15021
|
-
name: string;
|
|
15022
|
-
createdAt: Date;
|
|
15023
|
-
updatedAt: Date;
|
|
15024
|
-
deletedAt: Date | null;
|
|
15025
|
-
isActive: boolean;
|
|
15026
|
-
};
|
|
15026
|
+
} | null | undefined;
|
|
15027
15027
|
automationQueueId?: string | null | undefined;
|
|
15028
15028
|
};
|
|
15029
15029
|
platformMessageId: string;
|
|
@@ -15685,7 +15685,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15685
15685
|
closedAt: Date;
|
|
15686
15686
|
lastMessageAt: Date | null;
|
|
15687
15687
|
isBotRoom: boolean;
|
|
15688
|
-
|
|
15688
|
+
workflowRule: {
|
|
15689
|
+
type: string;
|
|
15690
|
+
id: string;
|
|
15691
|
+
name: string;
|
|
15692
|
+
createdAt: Date;
|
|
15693
|
+
updatedAt: Date;
|
|
15694
|
+
deletedAt: Date | null;
|
|
15695
|
+
isActive: boolean;
|
|
15696
|
+
};
|
|
15697
|
+
cxlog?: {
|
|
15689
15698
|
id: string;
|
|
15690
15699
|
channel: string | null;
|
|
15691
15700
|
direction: string | null;
|
|
@@ -15761,25 +15770,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15761
15770
|
startedAt: string;
|
|
15762
15771
|
endedAt: string | null;
|
|
15763
15772
|
duration: number | null;
|
|
15764
|
-
holdLabel
|
|
15773
|
+
holdLabel?: {
|
|
15765
15774
|
id: string;
|
|
15766
15775
|
name: string;
|
|
15767
15776
|
position: number;
|
|
15768
15777
|
createdAt: Date;
|
|
15769
15778
|
updatedAt: Date;
|
|
15770
15779
|
deletedAt: Date | null;
|
|
15771
|
-
};
|
|
15780
|
+
} | null | undefined;
|
|
15772
15781
|
}[] | null | undefined;
|
|
15773
|
-
};
|
|
15774
|
-
workflowRule: {
|
|
15775
|
-
type: string;
|
|
15776
|
-
id: string;
|
|
15777
|
-
name: string;
|
|
15778
|
-
createdAt: Date;
|
|
15779
|
-
updatedAt: Date;
|
|
15780
|
-
deletedAt: Date | null;
|
|
15781
|
-
isActive: boolean;
|
|
15782
|
-
};
|
|
15782
|
+
} | null | undefined;
|
|
15783
15783
|
automationQueueId?: string | null | undefined;
|
|
15784
15784
|
};
|
|
15785
15785
|
platformMessageId: string;
|
|
@@ -16440,7 +16440,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16440
16440
|
closedAt: Date;
|
|
16441
16441
|
lastMessageAt: Date | null;
|
|
16442
16442
|
isBotRoom: boolean;
|
|
16443
|
-
|
|
16443
|
+
workflowRule: {
|
|
16444
|
+
type: string;
|
|
16445
|
+
id: string;
|
|
16446
|
+
name: string;
|
|
16447
|
+
createdAt: Date;
|
|
16448
|
+
updatedAt: Date;
|
|
16449
|
+
deletedAt: Date | null;
|
|
16450
|
+
isActive: boolean;
|
|
16451
|
+
};
|
|
16452
|
+
cxlog?: {
|
|
16444
16453
|
id: string;
|
|
16445
16454
|
channel: string | null;
|
|
16446
16455
|
direction: string | null;
|
|
@@ -16516,25 +16525,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16516
16525
|
startedAt: string;
|
|
16517
16526
|
endedAt: string | null;
|
|
16518
16527
|
duration: number | null;
|
|
16519
|
-
holdLabel
|
|
16528
|
+
holdLabel?: {
|
|
16520
16529
|
id: string;
|
|
16521
16530
|
name: string;
|
|
16522
16531
|
position: number;
|
|
16523
16532
|
createdAt: Date;
|
|
16524
16533
|
updatedAt: Date;
|
|
16525
16534
|
deletedAt: Date | null;
|
|
16526
|
-
};
|
|
16535
|
+
} | null | undefined;
|
|
16527
16536
|
}[] | null | undefined;
|
|
16528
|
-
};
|
|
16529
|
-
workflowRule: {
|
|
16530
|
-
type: string;
|
|
16531
|
-
id: string;
|
|
16532
|
-
name: string;
|
|
16533
|
-
createdAt: Date;
|
|
16534
|
-
updatedAt: Date;
|
|
16535
|
-
deletedAt: Date | null;
|
|
16536
|
-
isActive: boolean;
|
|
16537
|
-
};
|
|
16537
|
+
} | null | undefined;
|
|
16538
16538
|
automationQueueId?: string | null | undefined;
|
|
16539
16539
|
};
|
|
16540
16540
|
platformMessageId: string;
|
|
@@ -17196,7 +17196,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17196
17196
|
closedAt: Date;
|
|
17197
17197
|
lastMessageAt: Date | null;
|
|
17198
17198
|
isBotRoom: boolean;
|
|
17199
|
-
|
|
17199
|
+
workflowRule: {
|
|
17200
|
+
type: string;
|
|
17201
|
+
id: string;
|
|
17202
|
+
name: string;
|
|
17203
|
+
createdAt: Date;
|
|
17204
|
+
updatedAt: Date;
|
|
17205
|
+
deletedAt: Date | null;
|
|
17206
|
+
isActive: boolean;
|
|
17207
|
+
};
|
|
17208
|
+
cxlog?: {
|
|
17200
17209
|
id: string;
|
|
17201
17210
|
channel: string | null;
|
|
17202
17211
|
direction: string | null;
|
|
@@ -17272,25 +17281,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17272
17281
|
startedAt: string;
|
|
17273
17282
|
endedAt: string | null;
|
|
17274
17283
|
duration: number | null;
|
|
17275
|
-
holdLabel
|
|
17284
|
+
holdLabel?: {
|
|
17276
17285
|
id: string;
|
|
17277
17286
|
name: string;
|
|
17278
17287
|
position: number;
|
|
17279
17288
|
createdAt: Date;
|
|
17280
17289
|
updatedAt: Date;
|
|
17281
17290
|
deletedAt: Date | null;
|
|
17282
|
-
};
|
|
17291
|
+
} | null | undefined;
|
|
17283
17292
|
}[] | null | undefined;
|
|
17284
|
-
};
|
|
17285
|
-
workflowRule: {
|
|
17286
|
-
type: string;
|
|
17287
|
-
id: string;
|
|
17288
|
-
name: string;
|
|
17289
|
-
createdAt: Date;
|
|
17290
|
-
updatedAt: Date;
|
|
17291
|
-
deletedAt: Date | null;
|
|
17292
|
-
isActive: boolean;
|
|
17293
|
-
};
|
|
17293
|
+
} | null | undefined;
|
|
17294
17294
|
automationQueueId?: string | null | undefined;
|
|
17295
17295
|
};
|
|
17296
17296
|
platformMessageId: string;
|
|
@@ -17951,7 +17951,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17951
17951
|
closedAt: Date;
|
|
17952
17952
|
lastMessageAt: Date | null;
|
|
17953
17953
|
isBotRoom: boolean;
|
|
17954
|
-
|
|
17954
|
+
workflowRule: {
|
|
17955
|
+
type: string;
|
|
17956
|
+
id: string;
|
|
17957
|
+
name: string;
|
|
17958
|
+
createdAt: Date;
|
|
17959
|
+
updatedAt: Date;
|
|
17960
|
+
deletedAt: Date | null;
|
|
17961
|
+
isActive: boolean;
|
|
17962
|
+
};
|
|
17963
|
+
cxlog?: {
|
|
17955
17964
|
id: string;
|
|
17956
17965
|
channel: string | null;
|
|
17957
17966
|
direction: string | null;
|
|
@@ -18027,25 +18036,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18027
18036
|
startedAt: string;
|
|
18028
18037
|
endedAt: string | null;
|
|
18029
18038
|
duration: number | null;
|
|
18030
|
-
holdLabel
|
|
18039
|
+
holdLabel?: {
|
|
18031
18040
|
id: string;
|
|
18032
18041
|
name: string;
|
|
18033
18042
|
position: number;
|
|
18034
18043
|
createdAt: Date;
|
|
18035
18044
|
updatedAt: Date;
|
|
18036
18045
|
deletedAt: Date | null;
|
|
18037
|
-
};
|
|
18046
|
+
} | null | undefined;
|
|
18038
18047
|
}[] | null | undefined;
|
|
18039
|
-
};
|
|
18040
|
-
workflowRule: {
|
|
18041
|
-
type: string;
|
|
18042
|
-
id: string;
|
|
18043
|
-
name: string;
|
|
18044
|
-
createdAt: Date;
|
|
18045
|
-
updatedAt: Date;
|
|
18046
|
-
deletedAt: Date | null;
|
|
18047
|
-
isActive: boolean;
|
|
18048
|
-
};
|
|
18048
|
+
} | null | undefined;
|
|
18049
18049
|
automationQueueId?: string | null | undefined;
|
|
18050
18050
|
};
|
|
18051
18051
|
platformMessageId: string;
|
|
@@ -18709,7 +18709,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18709
18709
|
closedAt: Date;
|
|
18710
18710
|
lastMessageAt: Date | null;
|
|
18711
18711
|
isBotRoom: boolean;
|
|
18712
|
-
|
|
18712
|
+
workflowRule: {
|
|
18713
|
+
type: string;
|
|
18714
|
+
id: string;
|
|
18715
|
+
name: string;
|
|
18716
|
+
createdAt: Date;
|
|
18717
|
+
updatedAt: Date;
|
|
18718
|
+
deletedAt: Date | null;
|
|
18719
|
+
isActive: boolean;
|
|
18720
|
+
};
|
|
18721
|
+
cxlog?: {
|
|
18713
18722
|
id: string;
|
|
18714
18723
|
channel: string | null;
|
|
18715
18724
|
direction: string | null;
|
|
@@ -18785,25 +18794,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18785
18794
|
startedAt: string;
|
|
18786
18795
|
endedAt: string | null;
|
|
18787
18796
|
duration: number | null;
|
|
18788
|
-
holdLabel
|
|
18797
|
+
holdLabel?: {
|
|
18789
18798
|
id: string;
|
|
18790
18799
|
name: string;
|
|
18791
18800
|
position: number;
|
|
18792
18801
|
createdAt: Date;
|
|
18793
18802
|
updatedAt: Date;
|
|
18794
18803
|
deletedAt: Date | null;
|
|
18795
|
-
};
|
|
18804
|
+
} | null | undefined;
|
|
18796
18805
|
}[] | null | undefined;
|
|
18797
|
-
};
|
|
18798
|
-
workflowRule: {
|
|
18799
|
-
type: string;
|
|
18800
|
-
id: string;
|
|
18801
|
-
name: string;
|
|
18802
|
-
createdAt: Date;
|
|
18803
|
-
updatedAt: Date;
|
|
18804
|
-
deletedAt: Date | null;
|
|
18805
|
-
isActive: boolean;
|
|
18806
|
-
};
|
|
18806
|
+
} | null | undefined;
|
|
18807
18807
|
automationQueueId?: string | null | undefined;
|
|
18808
18808
|
};
|
|
18809
18809
|
platformMessageId: string;
|
|
@@ -19464,7 +19464,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19464
19464
|
closedAt: Date;
|
|
19465
19465
|
lastMessageAt: Date | null;
|
|
19466
19466
|
isBotRoom: boolean;
|
|
19467
|
-
|
|
19467
|
+
workflowRule: {
|
|
19468
|
+
type: string;
|
|
19469
|
+
id: string;
|
|
19470
|
+
name: string;
|
|
19471
|
+
createdAt: Date;
|
|
19472
|
+
updatedAt: Date;
|
|
19473
|
+
deletedAt: Date | null;
|
|
19474
|
+
isActive: boolean;
|
|
19475
|
+
};
|
|
19476
|
+
cxlog?: {
|
|
19468
19477
|
id: string;
|
|
19469
19478
|
channel: string | null;
|
|
19470
19479
|
direction: string | null;
|
|
@@ -19540,25 +19549,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19540
19549
|
startedAt: string;
|
|
19541
19550
|
endedAt: string | null;
|
|
19542
19551
|
duration: number | null;
|
|
19543
|
-
holdLabel
|
|
19552
|
+
holdLabel?: {
|
|
19544
19553
|
id: string;
|
|
19545
19554
|
name: string;
|
|
19546
19555
|
position: number;
|
|
19547
19556
|
createdAt: Date;
|
|
19548
19557
|
updatedAt: Date;
|
|
19549
19558
|
deletedAt: Date | null;
|
|
19550
|
-
};
|
|
19559
|
+
} | null | undefined;
|
|
19551
19560
|
}[] | null | undefined;
|
|
19552
|
-
};
|
|
19553
|
-
workflowRule: {
|
|
19554
|
-
type: string;
|
|
19555
|
-
id: string;
|
|
19556
|
-
name: string;
|
|
19557
|
-
createdAt: Date;
|
|
19558
|
-
updatedAt: Date;
|
|
19559
|
-
deletedAt: Date | null;
|
|
19560
|
-
isActive: boolean;
|
|
19561
|
-
};
|
|
19561
|
+
} | null | undefined;
|
|
19562
19562
|
automationQueueId?: string | null | undefined;
|
|
19563
19563
|
};
|
|
19564
19564
|
platformMessageId: string;
|
|
@@ -20223,7 +20223,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20223
20223
|
closedAt: Date;
|
|
20224
20224
|
lastMessageAt: Date | null;
|
|
20225
20225
|
isBotRoom: boolean;
|
|
20226
|
-
|
|
20226
|
+
workflowRule: {
|
|
20227
|
+
type: string;
|
|
20228
|
+
id: string;
|
|
20229
|
+
name: string;
|
|
20230
|
+
createdAt: Date;
|
|
20231
|
+
updatedAt: Date;
|
|
20232
|
+
deletedAt: Date | null;
|
|
20233
|
+
isActive: boolean;
|
|
20234
|
+
};
|
|
20235
|
+
cxlog?: {
|
|
20227
20236
|
id: string;
|
|
20228
20237
|
channel: string | null;
|
|
20229
20238
|
direction: string | null;
|
|
@@ -20299,25 +20308,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20299
20308
|
startedAt: string;
|
|
20300
20309
|
endedAt: string | null;
|
|
20301
20310
|
duration: number | null;
|
|
20302
|
-
holdLabel
|
|
20311
|
+
holdLabel?: {
|
|
20303
20312
|
id: string;
|
|
20304
20313
|
name: string;
|
|
20305
20314
|
position: number;
|
|
20306
20315
|
createdAt: Date;
|
|
20307
20316
|
updatedAt: Date;
|
|
20308
20317
|
deletedAt: Date | null;
|
|
20309
|
-
};
|
|
20318
|
+
} | null | undefined;
|
|
20310
20319
|
}[] | null | undefined;
|
|
20311
|
-
};
|
|
20312
|
-
workflowRule: {
|
|
20313
|
-
type: string;
|
|
20314
|
-
id: string;
|
|
20315
|
-
name: string;
|
|
20316
|
-
createdAt: Date;
|
|
20317
|
-
updatedAt: Date;
|
|
20318
|
-
deletedAt: Date | null;
|
|
20319
|
-
isActive: boolean;
|
|
20320
|
-
};
|
|
20320
|
+
} | null | undefined;
|
|
20321
20321
|
automationQueueId?: string | null | undefined;
|
|
20322
20322
|
};
|
|
20323
20323
|
platformMessageId: string;
|
|
@@ -20978,7 +20978,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20978
20978
|
closedAt: Date;
|
|
20979
20979
|
lastMessageAt: Date | null;
|
|
20980
20980
|
isBotRoom: boolean;
|
|
20981
|
-
|
|
20981
|
+
workflowRule: {
|
|
20982
|
+
type: string;
|
|
20983
|
+
id: string;
|
|
20984
|
+
name: string;
|
|
20985
|
+
createdAt: Date;
|
|
20986
|
+
updatedAt: Date;
|
|
20987
|
+
deletedAt: Date | null;
|
|
20988
|
+
isActive: boolean;
|
|
20989
|
+
};
|
|
20990
|
+
cxlog?: {
|
|
20982
20991
|
id: string;
|
|
20983
20992
|
channel: string | null;
|
|
20984
20993
|
direction: string | null;
|
|
@@ -21054,25 +21063,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21054
21063
|
startedAt: string;
|
|
21055
21064
|
endedAt: string | null;
|
|
21056
21065
|
duration: number | null;
|
|
21057
|
-
holdLabel
|
|
21066
|
+
holdLabel?: {
|
|
21058
21067
|
id: string;
|
|
21059
21068
|
name: string;
|
|
21060
21069
|
position: number;
|
|
21061
21070
|
createdAt: Date;
|
|
21062
21071
|
updatedAt: Date;
|
|
21063
21072
|
deletedAt: Date | null;
|
|
21064
|
-
};
|
|
21073
|
+
} | null | undefined;
|
|
21065
21074
|
}[] | null | undefined;
|
|
21066
|
-
};
|
|
21067
|
-
workflowRule: {
|
|
21068
|
-
type: string;
|
|
21069
|
-
id: string;
|
|
21070
|
-
name: string;
|
|
21071
|
-
createdAt: Date;
|
|
21072
|
-
updatedAt: Date;
|
|
21073
|
-
deletedAt: Date | null;
|
|
21074
|
-
isActive: boolean;
|
|
21075
|
-
};
|
|
21075
|
+
} | null | undefined;
|
|
21076
21076
|
automationQueueId?: string | null | undefined;
|
|
21077
21077
|
};
|
|
21078
21078
|
platformMessageId: string;
|
|
@@ -23495,6 +23495,69 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23495
23495
|
dateValue: Date | null;
|
|
23496
23496
|
}[] | null | undefined;
|
|
23497
23497
|
}>>;
|
|
23498
|
+
holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23499
|
+
id: z.ZodString;
|
|
23500
|
+
createdAt: z.ZodDate;
|
|
23501
|
+
updatedAt: z.ZodDate;
|
|
23502
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
23503
|
+
startedAt: z.ZodString;
|
|
23504
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
23505
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
|
23506
|
+
holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23507
|
+
id: z.ZodString;
|
|
23508
|
+
createdAt: z.ZodDate;
|
|
23509
|
+
updatedAt: z.ZodDate;
|
|
23510
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
23511
|
+
name: z.ZodString;
|
|
23512
|
+
position: z.ZodNumber;
|
|
23513
|
+
}, "strip", z.ZodTypeAny, {
|
|
23514
|
+
id: string;
|
|
23515
|
+
name: string;
|
|
23516
|
+
position: number;
|
|
23517
|
+
createdAt: Date;
|
|
23518
|
+
updatedAt: Date;
|
|
23519
|
+
deletedAt: Date | null;
|
|
23520
|
+
}, {
|
|
23521
|
+
id: string;
|
|
23522
|
+
name: string;
|
|
23523
|
+
position: number;
|
|
23524
|
+
createdAt: Date;
|
|
23525
|
+
updatedAt: Date;
|
|
23526
|
+
deletedAt: Date | null;
|
|
23527
|
+
}>>>;
|
|
23528
|
+
}, "strip", z.ZodTypeAny, {
|
|
23529
|
+
id: string;
|
|
23530
|
+
createdAt: Date;
|
|
23531
|
+
updatedAt: Date;
|
|
23532
|
+
deletedAt: Date | null;
|
|
23533
|
+
startedAt: string;
|
|
23534
|
+
endedAt: string | null;
|
|
23535
|
+
duration: number | null;
|
|
23536
|
+
holdLabel?: {
|
|
23537
|
+
id: string;
|
|
23538
|
+
name: string;
|
|
23539
|
+
position: number;
|
|
23540
|
+
createdAt: Date;
|
|
23541
|
+
updatedAt: Date;
|
|
23542
|
+
deletedAt: Date | null;
|
|
23543
|
+
} | null | undefined;
|
|
23544
|
+
}, {
|
|
23545
|
+
id: string;
|
|
23546
|
+
createdAt: Date;
|
|
23547
|
+
updatedAt: Date;
|
|
23548
|
+
deletedAt: Date | null;
|
|
23549
|
+
startedAt: string;
|
|
23550
|
+
endedAt: string | null;
|
|
23551
|
+
duration: number | null;
|
|
23552
|
+
holdLabel?: {
|
|
23553
|
+
id: string;
|
|
23554
|
+
name: string;
|
|
23555
|
+
position: number;
|
|
23556
|
+
createdAt: Date;
|
|
23557
|
+
updatedAt: Date;
|
|
23558
|
+
deletedAt: Date | null;
|
|
23559
|
+
} | null | undefined;
|
|
23560
|
+
}>, "many">>>;
|
|
23498
23561
|
}, "strip", z.ZodTypeAny, {
|
|
23499
23562
|
id: string;
|
|
23500
23563
|
channel: string | null;
|
|
@@ -23563,6 +23626,23 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23563
23626
|
dateValue: Date | null;
|
|
23564
23627
|
}[] | null | undefined;
|
|
23565
23628
|
} | null;
|
|
23629
|
+
holdLogs?: {
|
|
23630
|
+
id: string;
|
|
23631
|
+
createdAt: Date;
|
|
23632
|
+
updatedAt: Date;
|
|
23633
|
+
deletedAt: Date | null;
|
|
23634
|
+
startedAt: string;
|
|
23635
|
+
endedAt: string | null;
|
|
23636
|
+
duration: number | null;
|
|
23637
|
+
holdLabel?: {
|
|
23638
|
+
id: string;
|
|
23639
|
+
name: string;
|
|
23640
|
+
position: number;
|
|
23641
|
+
createdAt: Date;
|
|
23642
|
+
updatedAt: Date;
|
|
23643
|
+
deletedAt: Date | null;
|
|
23644
|
+
} | null | undefined;
|
|
23645
|
+
}[] | null | undefined;
|
|
23566
23646
|
}, {
|
|
23567
23647
|
id: string;
|
|
23568
23648
|
channel: string | null;
|
|
@@ -23631,6 +23711,23 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23631
23711
|
dateValue: Date | null;
|
|
23632
23712
|
}[] | null | undefined;
|
|
23633
23713
|
} | null;
|
|
23714
|
+
holdLogs?: {
|
|
23715
|
+
id: string;
|
|
23716
|
+
createdAt: Date;
|
|
23717
|
+
updatedAt: Date;
|
|
23718
|
+
deletedAt: Date | null;
|
|
23719
|
+
startedAt: string;
|
|
23720
|
+
endedAt: string | null;
|
|
23721
|
+
duration: number | null;
|
|
23722
|
+
holdLabel?: {
|
|
23723
|
+
id: string;
|
|
23724
|
+
name: string;
|
|
23725
|
+
position: number;
|
|
23726
|
+
createdAt: Date;
|
|
23727
|
+
updatedAt: Date;
|
|
23728
|
+
deletedAt: Date | null;
|
|
23729
|
+
} | null | undefined;
|
|
23730
|
+
}[] | null | undefined;
|
|
23634
23731
|
}>>;
|
|
23635
23732
|
}, "strip", z.ZodTypeAny, {
|
|
23636
23733
|
id?: string | undefined;
|
|
@@ -23957,6 +24054,23 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23957
24054
|
dateValue: Date | null;
|
|
23958
24055
|
}[] | null | undefined;
|
|
23959
24056
|
} | null;
|
|
24057
|
+
holdLogs?: {
|
|
24058
|
+
id: string;
|
|
24059
|
+
createdAt: Date;
|
|
24060
|
+
updatedAt: Date;
|
|
24061
|
+
deletedAt: Date | null;
|
|
24062
|
+
startedAt: string;
|
|
24063
|
+
endedAt: string | null;
|
|
24064
|
+
duration: number | null;
|
|
24065
|
+
holdLabel?: {
|
|
24066
|
+
id: string;
|
|
24067
|
+
name: string;
|
|
24068
|
+
position: number;
|
|
24069
|
+
createdAt: Date;
|
|
24070
|
+
updatedAt: Date;
|
|
24071
|
+
deletedAt: Date | null;
|
|
24072
|
+
} | null | undefined;
|
|
24073
|
+
}[] | null | undefined;
|
|
23960
24074
|
} | undefined;
|
|
23961
24075
|
}, {
|
|
23962
24076
|
id?: string | undefined;
|
|
@@ -24283,6 +24397,23 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24283
24397
|
dateValue: Date | null;
|
|
24284
24398
|
}[] | null | undefined;
|
|
24285
24399
|
} | null;
|
|
24400
|
+
holdLogs?: {
|
|
24401
|
+
id: string;
|
|
24402
|
+
createdAt: Date;
|
|
24403
|
+
updatedAt: Date;
|
|
24404
|
+
deletedAt: Date | null;
|
|
24405
|
+
startedAt: string;
|
|
24406
|
+
endedAt: string | null;
|
|
24407
|
+
duration: number | null;
|
|
24408
|
+
holdLabel?: {
|
|
24409
|
+
id: string;
|
|
24410
|
+
name: string;
|
|
24411
|
+
position: number;
|
|
24412
|
+
createdAt: Date;
|
|
24413
|
+
updatedAt: Date;
|
|
24414
|
+
deletedAt: Date | null;
|
|
24415
|
+
} | null | undefined;
|
|
24416
|
+
}[] | null | undefined;
|
|
24286
24417
|
} | undefined;
|
|
24287
24418
|
}>>;
|
|
24288
24419
|
upload: z.ZodOptional<z.ZodObject<{
|
|
@@ -25265,6 +25396,23 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25265
25396
|
dateValue: Date | null;
|
|
25266
25397
|
}[] | null | undefined;
|
|
25267
25398
|
} | null;
|
|
25399
|
+
holdLogs?: {
|
|
25400
|
+
id: string;
|
|
25401
|
+
createdAt: Date;
|
|
25402
|
+
updatedAt: Date;
|
|
25403
|
+
deletedAt: Date | null;
|
|
25404
|
+
startedAt: string;
|
|
25405
|
+
endedAt: string | null;
|
|
25406
|
+
duration: number | null;
|
|
25407
|
+
holdLabel?: {
|
|
25408
|
+
id: string;
|
|
25409
|
+
name: string;
|
|
25410
|
+
position: number;
|
|
25411
|
+
createdAt: Date;
|
|
25412
|
+
updatedAt: Date;
|
|
25413
|
+
deletedAt: Date | null;
|
|
25414
|
+
} | null | undefined;
|
|
25415
|
+
}[] | null | undefined;
|
|
25268
25416
|
} | undefined;
|
|
25269
25417
|
} | null;
|
|
25270
25418
|
platformMessageId: string;
|
|
@@ -25754,6 +25902,23 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25754
25902
|
dateValue: Date | null;
|
|
25755
25903
|
}[] | null | undefined;
|
|
25756
25904
|
} | null;
|
|
25905
|
+
holdLogs?: {
|
|
25906
|
+
id: string;
|
|
25907
|
+
createdAt: Date;
|
|
25908
|
+
updatedAt: Date;
|
|
25909
|
+
deletedAt: Date | null;
|
|
25910
|
+
startedAt: string;
|
|
25911
|
+
endedAt: string | null;
|
|
25912
|
+
duration: number | null;
|
|
25913
|
+
holdLabel?: {
|
|
25914
|
+
id: string;
|
|
25915
|
+
name: string;
|
|
25916
|
+
position: number;
|
|
25917
|
+
createdAt: Date;
|
|
25918
|
+
updatedAt: Date;
|
|
25919
|
+
deletedAt: Date | null;
|
|
25920
|
+
} | null | undefined;
|
|
25921
|
+
}[] | null | undefined;
|
|
25757
25922
|
} | undefined;
|
|
25758
25923
|
} | null;
|
|
25759
25924
|
platformMessageId: string;
|
|
@@ -26245,6 +26410,23 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26245
26410
|
dateValue: Date | null;
|
|
26246
26411
|
}[] | null | undefined;
|
|
26247
26412
|
} | null;
|
|
26413
|
+
holdLogs?: {
|
|
26414
|
+
id: string;
|
|
26415
|
+
createdAt: Date;
|
|
26416
|
+
updatedAt: Date;
|
|
26417
|
+
deletedAt: Date | null;
|
|
26418
|
+
startedAt: string;
|
|
26419
|
+
endedAt: string | null;
|
|
26420
|
+
duration: number | null;
|
|
26421
|
+
holdLabel?: {
|
|
26422
|
+
id: string;
|
|
26423
|
+
name: string;
|
|
26424
|
+
position: number;
|
|
26425
|
+
createdAt: Date;
|
|
26426
|
+
updatedAt: Date;
|
|
26427
|
+
deletedAt: Date | null;
|
|
26428
|
+
} | null | undefined;
|
|
26429
|
+
}[] | null | undefined;
|
|
26248
26430
|
} | undefined;
|
|
26249
26431
|
} | null;
|
|
26250
26432
|
platformMessageId: string;
|
|
@@ -26736,6 +26918,23 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26736
26918
|
dateValue: Date | null;
|
|
26737
26919
|
}[] | null | undefined;
|
|
26738
26920
|
} | null;
|
|
26921
|
+
holdLogs?: {
|
|
26922
|
+
id: string;
|
|
26923
|
+
createdAt: Date;
|
|
26924
|
+
updatedAt: Date;
|
|
26925
|
+
deletedAt: Date | null;
|
|
26926
|
+
startedAt: string;
|
|
26927
|
+
endedAt: string | null;
|
|
26928
|
+
duration: number | null;
|
|
26929
|
+
holdLabel?: {
|
|
26930
|
+
id: string;
|
|
26931
|
+
name: string;
|
|
26932
|
+
position: number;
|
|
26933
|
+
createdAt: Date;
|
|
26934
|
+
updatedAt: Date;
|
|
26935
|
+
deletedAt: Date | null;
|
|
26936
|
+
} | null | undefined;
|
|
26937
|
+
}[] | null | undefined;
|
|
26739
26938
|
} | undefined;
|
|
26740
26939
|
} | null;
|
|
26741
26940
|
platformMessageId: string;
|