@kl1/contracts 1.1.40-uat → 1.1.42-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/index.js +3293 -3105
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3290 -3105
- package/dist/index.mjs.map +1 -1
- package/dist/src/botpress/index.d.ts +538 -0
- package/dist/src/botpress/index.d.ts.map +1 -0
- package/dist/src/botpress/schema.d.ts +81 -0
- package/dist/src/botpress/schema.d.ts.map +1 -0
- package/dist/src/botpress/validation.d.ts +220 -0
- package/dist/src/botpress/validation.d.ts.map +1 -0
- package/dist/src/channel/index.d.ts +1692 -73
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +36 -0
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +7 -0
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +33647 -32937
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +186 -70
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +199 -107
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/comment/index.d.ts +68 -68
- package/dist/src/comment/schema.d.ts +20 -20
- package/dist/src/contact/index.d.ts +79 -79
- package/dist/src/contact/schema.d.ts +12 -12
- package/dist/src/contact/validation.d.ts +49 -49
- package/dist/src/contract.d.ts +15114 -68269
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/contract2.d.ts +2 -0
- package/dist/src/contract2.d.ts.map +1 -0
- package/dist/src/cx-log/index.d.ts +123 -54
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +101 -40
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +176 -84
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +181 -89
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/line/validation.d.ts +5 -5
- package/dist/src/mail/mail-contract.d.ts +7 -7
- package/dist/src/mail/room-contract.d.ts +7 -7
- package/dist/src/mail/schemas/room.schema.d.ts +5 -5
- package/dist/src/messenger/index.d.ts +211 -85
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +54 -11
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/public-api/index.d.ts +59 -59
- package/dist/src/public-api/schema.d.ts +12 -12
- package/dist/src/public-api/validation.d.ts +19 -19
- package/dist/src/snippet/index.d.ts +105 -105
- package/dist/src/snippet/schema.d.ts +40 -40
- package/dist/src/telephony-cdr/index.d.ts +54 -54
- package/dist/src/telephony-cdr/schema.d.ts +14 -14
- package/dist/src/ticket/index.d.ts +111 -111
- package/dist/src/ticket/schema.d.ts +21 -21
- package/dist/src/upload/schema.d.ts +3 -3
- package/dist/src/viber/index.d.ts +317 -84
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/webchat/index.d.ts +224 -87
- package/dist/src/webchat/index.d.ts.map +1 -1
- package/dist/src/workflow-rule/index.d.ts +158 -26
- package/dist/src/workflow-rule/index.d.ts.map +1 -1
- package/package.json +1 -1
@@ -247,7 +247,7 @@ export declare const StickerSchema: z.ZodObject<{
|
|
247
247
|
}>;
|
248
248
|
export declare const SendMessageSchema: z.ZodObject<{
|
249
249
|
roomId: z.ZodString;
|
250
|
-
messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
250
|
+
messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
251
251
|
message: z.ZodOptional<z.ZodString>;
|
252
252
|
messageAttachments: z.ZodOptional<z.ZodObject<{
|
253
253
|
bucketName: z.ZodString;
|
@@ -491,7 +491,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
491
491
|
file: z.ZodOptional<z.ZodType<File, z.ZodTypeDef, File>>;
|
492
492
|
messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
|
493
493
|
}, "strip", z.ZodTypeAny, {
|
494
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
494
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
495
495
|
roomId: string;
|
496
496
|
message?: string | undefined;
|
497
497
|
messageAttachments?: {
|
@@ -554,7 +554,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
554
554
|
file?: File | undefined;
|
555
555
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
556
556
|
}, {
|
557
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
557
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
558
558
|
roomId: string;
|
559
559
|
message?: string | undefined;
|
560
560
|
messageAttachments?: {
|
@@ -854,6 +854,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
854
854
|
connectedUserId?: string | null | undefined;
|
855
855
|
}>;
|
856
856
|
export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
857
|
+
isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
857
858
|
room: z.ZodObject<{
|
858
859
|
id: z.ZodString;
|
859
860
|
lastMessage: z.ZodOptional<z.ZodString>;
|
@@ -1208,7 +1209,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1208
1209
|
message: z.ZodObject<{
|
1209
1210
|
message: z.ZodOptional<z.ZodString>;
|
1210
1211
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1211
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
1212
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
1212
1213
|
readAt: z.ZodOptional<z.ZodDate>;
|
1213
1214
|
metadata: z.ZodOptional<z.ZodAny>;
|
1214
1215
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -1224,18 +1225,21 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1224
1225
|
fileName: z.ZodString;
|
1225
1226
|
fileSize: z.ZodNumber;
|
1226
1227
|
fileKey: z.ZodString;
|
1228
|
+
originalUrl: z.ZodOptional<z.ZodString>;
|
1227
1229
|
}, "strip", z.ZodTypeAny, {
|
1228
1230
|
fileName: string;
|
1229
1231
|
fileKey: string;
|
1230
1232
|
bucketName: string;
|
1231
1233
|
fileSize: number;
|
1234
|
+
originalUrl?: string | undefined;
|
1232
1235
|
}, {
|
1233
1236
|
fileName: string;
|
1234
1237
|
fileKey: string;
|
1235
1238
|
bucketName: string;
|
1236
1239
|
fileSize: number;
|
1240
|
+
originalUrl?: string | undefined;
|
1237
1241
|
}>>;
|
1238
|
-
sender: z.ZodObject<{
|
1242
|
+
sender: z.ZodOptional<z.ZodObject<{
|
1239
1243
|
id: z.ZodString;
|
1240
1244
|
name: z.ZodString;
|
1241
1245
|
email: z.ZodString;
|
@@ -1253,17 +1257,10 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1253
1257
|
name: string;
|
1254
1258
|
email: string;
|
1255
1259
|
phone: string | null;
|
1256
|
-
}
|
1260
|
+
}>>;
|
1257
1261
|
}, "strip", z.ZodTypeAny, {
|
1258
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1262
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1259
1263
|
direction: "incoming" | "outgoing" | "system";
|
1260
|
-
sender: {
|
1261
|
-
id: string;
|
1262
|
-
address: string | null;
|
1263
|
-
name: string;
|
1264
|
-
email: string;
|
1265
|
-
phone: string | null;
|
1266
|
-
};
|
1267
1264
|
message?: string | undefined;
|
1268
1265
|
readAt?: Date | undefined;
|
1269
1266
|
metadata?: any;
|
@@ -1280,17 +1277,18 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1280
1277
|
fileKey: string;
|
1281
1278
|
bucketName: string;
|
1282
1279
|
fileSize: number;
|
1280
|
+
originalUrl?: string | undefined;
|
1283
1281
|
} | undefined;
|
1284
|
-
|
1285
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1286
|
-
direction: "incoming" | "outgoing" | "system";
|
1287
|
-
sender: {
|
1282
|
+
sender?: {
|
1288
1283
|
id: string;
|
1289
1284
|
address: string | null;
|
1290
1285
|
name: string;
|
1291
1286
|
email: string;
|
1292
1287
|
phone: string | null;
|
1293
|
-
};
|
1288
|
+
} | undefined;
|
1289
|
+
}, {
|
1290
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1291
|
+
direction: "incoming" | "outgoing" | "system";
|
1294
1292
|
message?: string | undefined;
|
1295
1293
|
readAt?: Date | undefined;
|
1296
1294
|
metadata?: any;
|
@@ -1307,19 +1305,20 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1307
1305
|
fileKey: string;
|
1308
1306
|
bucketName: string;
|
1309
1307
|
fileSize: number;
|
1308
|
+
originalUrl?: string | undefined;
|
1310
1309
|
} | undefined;
|
1311
|
-
|
1312
|
-
}, "strip", z.ZodTypeAny, {
|
1313
|
-
message: {
|
1314
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1315
|
-
direction: "incoming" | "outgoing" | "system";
|
1316
|
-
sender: {
|
1310
|
+
sender?: {
|
1317
1311
|
id: string;
|
1318
1312
|
address: string | null;
|
1319
1313
|
name: string;
|
1320
1314
|
email: string;
|
1321
1315
|
phone: string | null;
|
1322
|
-
};
|
1316
|
+
} | undefined;
|
1317
|
+
}>;
|
1318
|
+
}, "strip", z.ZodTypeAny, {
|
1319
|
+
message: {
|
1320
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1321
|
+
direction: "incoming" | "outgoing" | "system";
|
1323
1322
|
message?: string | undefined;
|
1324
1323
|
readAt?: Date | undefined;
|
1325
1324
|
metadata?: any;
|
@@ -1336,6 +1335,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1336
1335
|
fileKey: string;
|
1337
1336
|
bucketName: string;
|
1338
1337
|
fileSize: number;
|
1338
|
+
originalUrl?: string | undefined;
|
1339
|
+
} | undefined;
|
1340
|
+
sender?: {
|
1341
|
+
id: string;
|
1342
|
+
address: string | null;
|
1343
|
+
name: string;
|
1344
|
+
email: string;
|
1345
|
+
phone: string | null;
|
1339
1346
|
} | undefined;
|
1340
1347
|
};
|
1341
1348
|
room: {
|
@@ -1405,17 +1412,11 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1405
1412
|
metadata?: any;
|
1406
1413
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1407
1414
|
};
|
1415
|
+
isBot: boolean | null;
|
1408
1416
|
}, {
|
1409
1417
|
message: {
|
1410
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1418
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1411
1419
|
direction: "incoming" | "outgoing" | "system";
|
1412
|
-
sender: {
|
1413
|
-
id: string;
|
1414
|
-
address: string | null;
|
1415
|
-
name: string;
|
1416
|
-
email: string;
|
1417
|
-
phone: string | null;
|
1418
|
-
};
|
1419
1420
|
message?: string | undefined;
|
1420
1421
|
readAt?: Date | undefined;
|
1421
1422
|
metadata?: any;
|
@@ -1432,6 +1433,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1432
1433
|
fileKey: string;
|
1433
1434
|
bucketName: string;
|
1434
1435
|
fileSize: number;
|
1436
|
+
originalUrl?: string | undefined;
|
1437
|
+
} | undefined;
|
1438
|
+
sender?: {
|
1439
|
+
id: string;
|
1440
|
+
address: string | null;
|
1441
|
+
name: string;
|
1442
|
+
email: string;
|
1443
|
+
phone: string | null;
|
1435
1444
|
} | undefined;
|
1436
1445
|
};
|
1437
1446
|
room: {
|
@@ -1501,6 +1510,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1501
1510
|
metadata?: any;
|
1502
1511
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1503
1512
|
};
|
1513
|
+
isBot?: boolean | null | undefined;
|
1504
1514
|
}>;
|
1505
1515
|
export declare const SendMessageResponseSchema: z.ZodObject<{
|
1506
1516
|
requestId: z.ZodString;
|
@@ -1511,7 +1521,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1511
1521
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1512
1522
|
message: z.ZodString;
|
1513
1523
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1514
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
1524
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
1515
1525
|
readAt: z.ZodDate;
|
1516
1526
|
metadata: z.ZodAny;
|
1517
1527
|
platformId: z.ZodString;
|
@@ -1536,6 +1546,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1536
1546
|
firstResponseAt: z.ZodDate;
|
1537
1547
|
firstResponseTime: z.ZodNumber;
|
1538
1548
|
isLatest: z.ZodBoolean;
|
1549
|
+
isBotRoom: z.ZodBoolean;
|
1539
1550
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1540
1551
|
platformContact: z.ZodObject<{
|
1541
1552
|
id: z.ZodString;
|
@@ -1856,9 +1867,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1856
1867
|
fileSize: z.ZodNumber;
|
1857
1868
|
fileKey: z.ZodString;
|
1858
1869
|
fileUrl: z.ZodNullable<z.ZodString>;
|
1859
|
-
status: z.
|
1870
|
+
status: z.ZodNullable<z.ZodString>;
|
1860
1871
|
}, "strip", z.ZodTypeAny, {
|
1861
1872
|
id: string;
|
1873
|
+
status: string | null;
|
1862
1874
|
createdAt: Date;
|
1863
1875
|
updatedAt: Date;
|
1864
1876
|
deletedAt: Date | null;
|
@@ -1867,9 +1879,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1867
1879
|
bucketName: string;
|
1868
1880
|
fileSize: number;
|
1869
1881
|
fileUrl: string | null;
|
1870
|
-
status?: string | undefined;
|
1871
1882
|
}, {
|
1872
1883
|
id: string;
|
1884
|
+
status: string | null;
|
1873
1885
|
createdAt: Date;
|
1874
1886
|
updatedAt: Date;
|
1875
1887
|
deletedAt: Date | null;
|
@@ -1878,7 +1890,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1878
1890
|
bucketName: string;
|
1879
1891
|
fileSize: number;
|
1880
1892
|
fileUrl: string | null;
|
1881
|
-
status?: string | undefined;
|
1882
1893
|
}>, "many">;
|
1883
1894
|
}, "strip", z.ZodTypeAny, {
|
1884
1895
|
id: string;
|
@@ -1905,6 +1916,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1905
1916
|
dateValue: Date | null;
|
1906
1917
|
uploads: {
|
1907
1918
|
id: string;
|
1919
|
+
status: string | null;
|
1908
1920
|
createdAt: Date;
|
1909
1921
|
updatedAt: Date;
|
1910
1922
|
deletedAt: Date | null;
|
@@ -1913,7 +1925,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1913
1925
|
bucketName: string;
|
1914
1926
|
fileSize: number;
|
1915
1927
|
fileUrl: string | null;
|
1916
|
-
status?: string | undefined;
|
1917
1928
|
}[];
|
1918
1929
|
}, {
|
1919
1930
|
id: string;
|
@@ -1940,6 +1951,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1940
1951
|
dateValue: Date | null;
|
1941
1952
|
uploads: {
|
1942
1953
|
id: string;
|
1954
|
+
status: string | null;
|
1943
1955
|
createdAt: Date;
|
1944
1956
|
updatedAt: Date;
|
1945
1957
|
deletedAt: Date | null;
|
@@ -1948,7 +1960,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1948
1960
|
bucketName: string;
|
1949
1961
|
fileSize: number;
|
1950
1962
|
fileUrl: string | null;
|
1951
|
-
status?: string | undefined;
|
1952
1963
|
}[];
|
1953
1964
|
}>, "many">;
|
1954
1965
|
contactEmails: z.ZodArray<z.ZodObject<{
|
@@ -2088,6 +2099,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2088
2099
|
dateValue: Date | null;
|
2089
2100
|
uploads: {
|
2090
2101
|
id: string;
|
2102
|
+
status: string | null;
|
2091
2103
|
createdAt: Date;
|
2092
2104
|
updatedAt: Date;
|
2093
2105
|
deletedAt: Date | null;
|
@@ -2096,7 +2108,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2096
2108
|
bucketName: string;
|
2097
2109
|
fileSize: number;
|
2098
2110
|
fileUrl: string | null;
|
2099
|
-
status?: string | undefined;
|
2100
2111
|
}[];
|
2101
2112
|
}[];
|
2102
2113
|
company: {
|
@@ -2184,6 +2195,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2184
2195
|
dateValue: Date | null;
|
2185
2196
|
uploads: {
|
2186
2197
|
id: string;
|
2198
|
+
status: string | null;
|
2187
2199
|
createdAt: Date;
|
2188
2200
|
updatedAt: Date;
|
2189
2201
|
deletedAt: Date | null;
|
@@ -2192,7 +2204,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2192
2204
|
bucketName: string;
|
2193
2205
|
fileSize: number;
|
2194
2206
|
fileUrl: string | null;
|
2195
|
-
status?: string | undefined;
|
2196
2207
|
}[];
|
2197
2208
|
}[];
|
2198
2209
|
company: {
|
@@ -2293,6 +2304,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2293
2304
|
dateValue: Date | null;
|
2294
2305
|
uploads: {
|
2295
2306
|
id: string;
|
2307
|
+
status: string | null;
|
2296
2308
|
createdAt: Date;
|
2297
2309
|
updatedAt: Date;
|
2298
2310
|
deletedAt: Date | null;
|
@@ -2301,7 +2313,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2301
2313
|
bucketName: string;
|
2302
2314
|
fileSize: number;
|
2303
2315
|
fileUrl: string | null;
|
2304
|
-
status?: string | undefined;
|
2305
2316
|
}[];
|
2306
2317
|
}[];
|
2307
2318
|
company: {
|
@@ -2404,6 +2415,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2404
2415
|
dateValue: Date | null;
|
2405
2416
|
uploads: {
|
2406
2417
|
id: string;
|
2418
|
+
status: string | null;
|
2407
2419
|
createdAt: Date;
|
2408
2420
|
updatedAt: Date;
|
2409
2421
|
deletedAt: Date | null;
|
@@ -2412,7 +2424,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2412
2424
|
bucketName: string;
|
2413
2425
|
fileSize: number;
|
2414
2426
|
fileUrl: string | null;
|
2415
|
-
status?: string | undefined;
|
2416
2427
|
}[];
|
2417
2428
|
}[];
|
2418
2429
|
company: {
|
@@ -2911,6 +2922,25 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2911
2922
|
isReloginRequired: z.ZodBoolean;
|
2912
2923
|
connectedUserName: z.ZodString;
|
2913
2924
|
connectedUserId: z.ZodString;
|
2925
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
2926
|
+
id: z.ZodString;
|
2927
|
+
name: z.ZodString;
|
2928
|
+
botId: z.ZodString;
|
2929
|
+
integrationId: z.ZodString;
|
2930
|
+
accessToken: z.ZodString;
|
2931
|
+
}, "strip", z.ZodTypeAny, {
|
2932
|
+
id: string;
|
2933
|
+
name: string;
|
2934
|
+
accessToken: string;
|
2935
|
+
botId: string;
|
2936
|
+
integrationId: string;
|
2937
|
+
}, {
|
2938
|
+
id: string;
|
2939
|
+
name: string;
|
2940
|
+
accessToken: string;
|
2941
|
+
botId: string;
|
2942
|
+
integrationId: string;
|
2943
|
+
}>>;
|
2914
2944
|
actor: z.ZodObject<{
|
2915
2945
|
id: z.ZodString;
|
2916
2946
|
createdAt: z.ZodDate;
|
@@ -3179,6 +3209,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3179
3209
|
isReloginRequired: boolean;
|
3180
3210
|
connectedUserName: string;
|
3181
3211
|
connectedUserId: string;
|
3212
|
+
botpressBot: {
|
3213
|
+
id: string;
|
3214
|
+
name: string;
|
3215
|
+
accessToken: string;
|
3216
|
+
botId: string;
|
3217
|
+
integrationId: string;
|
3218
|
+
} | null;
|
3182
3219
|
}, {
|
3183
3220
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
3184
3221
|
id: string;
|
@@ -3243,6 +3280,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3243
3280
|
isReloginRequired: boolean;
|
3244
3281
|
connectedUserName: string;
|
3245
3282
|
connectedUserId: string;
|
3283
|
+
botpressBot: {
|
3284
|
+
id: string;
|
3285
|
+
name: string;
|
3286
|
+
accessToken: string;
|
3287
|
+
botId: string;
|
3288
|
+
integrationId: string;
|
3289
|
+
} | null;
|
3246
3290
|
}>;
|
3247
3291
|
cxlog: z.ZodObject<{
|
3248
3292
|
id: z.ZodString;
|
@@ -3754,6 +3798,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3754
3798
|
isReloginRequired: boolean;
|
3755
3799
|
connectedUserName: string;
|
3756
3800
|
connectedUserId: string;
|
3801
|
+
botpressBot: {
|
3802
|
+
id: string;
|
3803
|
+
name: string;
|
3804
|
+
accessToken: string;
|
3805
|
+
botId: string;
|
3806
|
+
integrationId: string;
|
3807
|
+
} | null;
|
3757
3808
|
};
|
3758
3809
|
direction: "incoming" | "outgoing" | "system";
|
3759
3810
|
status: number;
|
@@ -3855,6 +3906,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3855
3906
|
dateValue: Date | null;
|
3856
3907
|
uploads: {
|
3857
3908
|
id: string;
|
3909
|
+
status: string | null;
|
3858
3910
|
createdAt: Date;
|
3859
3911
|
updatedAt: Date;
|
3860
3912
|
deletedAt: Date | null;
|
@@ -3863,7 +3915,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3863
3915
|
bucketName: string;
|
3864
3916
|
fileSize: number;
|
3865
3917
|
fileUrl: string | null;
|
3866
|
-
status?: string | undefined;
|
3867
3918
|
}[];
|
3868
3919
|
}[];
|
3869
3920
|
company: {
|
@@ -3968,6 +4019,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3968
4019
|
};
|
3969
4020
|
closedAt: Date;
|
3970
4021
|
lastMessageAt: Date | null;
|
4022
|
+
isBotRoom: boolean;
|
3971
4023
|
cxlog: {
|
3972
4024
|
id: string;
|
3973
4025
|
channel: string | null;
|
@@ -4112,6 +4164,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4112
4164
|
isReloginRequired: boolean;
|
4113
4165
|
connectedUserName: string;
|
4114
4166
|
connectedUserId: string;
|
4167
|
+
botpressBot: {
|
4168
|
+
id: string;
|
4169
|
+
name: string;
|
4170
|
+
accessToken: string;
|
4171
|
+
botId: string;
|
4172
|
+
integrationId: string;
|
4173
|
+
} | null;
|
4115
4174
|
};
|
4116
4175
|
direction: "incoming" | "outgoing" | "system";
|
4117
4176
|
status: number;
|
@@ -4213,6 +4272,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4213
4272
|
dateValue: Date | null;
|
4214
4273
|
uploads: {
|
4215
4274
|
id: string;
|
4275
|
+
status: string | null;
|
4216
4276
|
createdAt: Date;
|
4217
4277
|
updatedAt: Date;
|
4218
4278
|
deletedAt: Date | null;
|
@@ -4221,7 +4281,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4221
4281
|
bucketName: string;
|
4222
4282
|
fileSize: number;
|
4223
4283
|
fileUrl: string | null;
|
4224
|
-
status?: string | undefined;
|
4225
4284
|
}[];
|
4226
4285
|
}[];
|
4227
4286
|
company: {
|
@@ -4326,6 +4385,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4326
4385
|
};
|
4327
4386
|
closedAt: Date;
|
4328
4387
|
lastMessageAt: Date | null;
|
4388
|
+
isBotRoom: boolean;
|
4329
4389
|
cxlog: {
|
4330
4390
|
id: string;
|
4331
4391
|
channel: string | null;
|
@@ -4415,9 +4475,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4415
4475
|
fileSize: z.ZodNumber;
|
4416
4476
|
fileKey: z.ZodString;
|
4417
4477
|
fileUrl: z.ZodNullable<z.ZodString>;
|
4418
|
-
status: z.
|
4478
|
+
status: z.ZodNullable<z.ZodString>;
|
4419
4479
|
}, "strip", z.ZodTypeAny, {
|
4420
4480
|
id: string;
|
4481
|
+
status: string | null;
|
4421
4482
|
createdAt: Date;
|
4422
4483
|
updatedAt: Date;
|
4423
4484
|
deletedAt: Date | null;
|
@@ -4426,9 +4487,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4426
4487
|
bucketName: string;
|
4427
4488
|
fileSize: number;
|
4428
4489
|
fileUrl: string | null;
|
4429
|
-
status?: string | undefined;
|
4430
4490
|
}, {
|
4431
4491
|
id: string;
|
4492
|
+
status: string | null;
|
4432
4493
|
createdAt: Date;
|
4433
4494
|
updatedAt: Date;
|
4434
4495
|
deletedAt: Date | null;
|
@@ -4437,7 +4498,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4437
4498
|
bucketName: string;
|
4438
4499
|
fileSize: number;
|
4439
4500
|
fileUrl: string | null;
|
4440
|
-
status?: string | undefined;
|
4441
4501
|
}>;
|
4442
4502
|
repliedMessage: z.ZodLazy<z.ZodObject<{
|
4443
4503
|
id: z.ZodString;
|
@@ -4446,7 +4506,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4446
4506
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4447
4507
|
message: z.ZodString;
|
4448
4508
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4449
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
4509
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
4450
4510
|
readAt: z.ZodDate;
|
4451
4511
|
metadata: z.ZodAny;
|
4452
4512
|
platformId: z.ZodString;
|
@@ -4467,9 +4527,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4467
4527
|
fileSize: z.ZodNumber;
|
4468
4528
|
fileKey: z.ZodString;
|
4469
4529
|
fileUrl: z.ZodNullable<z.ZodString>;
|
4470
|
-
status: z.
|
4530
|
+
status: z.ZodNullable<z.ZodString>;
|
4471
4531
|
}, "strip", z.ZodTypeAny, {
|
4472
4532
|
id: string;
|
4533
|
+
status: string | null;
|
4473
4534
|
createdAt: Date;
|
4474
4535
|
updatedAt: Date;
|
4475
4536
|
deletedAt: Date | null;
|
@@ -4478,9 +4539,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4478
4539
|
bucketName: string;
|
4479
4540
|
fileSize: number;
|
4480
4541
|
fileUrl: string | null;
|
4481
|
-
status?: string | undefined;
|
4482
4542
|
}, {
|
4483
4543
|
id: string;
|
4544
|
+
status: string | null;
|
4484
4545
|
createdAt: Date;
|
4485
4546
|
updatedAt: Date;
|
4486
4547
|
deletedAt: Date | null;
|
@@ -4489,7 +4550,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4489
4550
|
bucketName: string;
|
4490
4551
|
fileSize: number;
|
4491
4552
|
fileUrl: string | null;
|
4492
|
-
status?: string | undefined;
|
4493
4553
|
}>;
|
4494
4554
|
actor: z.ZodObject<{
|
4495
4555
|
id: z.ZodString;
|
@@ -5104,7 +5164,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5104
5164
|
};
|
5105
5165
|
}>;
|
5106
5166
|
}, "strip", z.ZodTypeAny, {
|
5107
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5167
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5108
5168
|
message: string;
|
5109
5169
|
id: string;
|
5110
5170
|
url: string;
|
@@ -5156,9 +5216,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5156
5216
|
telephonySignature: string | null;
|
5157
5217
|
};
|
5158
5218
|
};
|
5159
|
-
platformId: string;
|
5160
5219
|
upload: {
|
5161
5220
|
id: string;
|
5221
|
+
status: string | null;
|
5162
5222
|
createdAt: Date;
|
5163
5223
|
updatedAt: Date;
|
5164
5224
|
deletedAt: Date | null;
|
@@ -5167,7 +5227,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5167
5227
|
bucketName: string;
|
5168
5228
|
fileSize: number;
|
5169
5229
|
fileUrl: string | null;
|
5170
|
-
status?: string | undefined;
|
5171
5230
|
};
|
5172
5231
|
assignee: {
|
5173
5232
|
id: string;
|
@@ -5213,6 +5272,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5213
5272
|
telephonySignature: string | null;
|
5214
5273
|
};
|
5215
5274
|
};
|
5275
|
+
platformId: string;
|
5216
5276
|
readAt: Date;
|
5217
5277
|
platformMessageId: string;
|
5218
5278
|
replyPlatformMessageId: string;
|
@@ -5266,7 +5326,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5266
5326
|
metadata?: any;
|
5267
5327
|
template?: any;
|
5268
5328
|
}, {
|
5269
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5329
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5270
5330
|
message: string;
|
5271
5331
|
id: string;
|
5272
5332
|
url: string;
|
@@ -5318,9 +5378,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5318
5378
|
telephonySignature: string | null;
|
5319
5379
|
};
|
5320
5380
|
};
|
5321
|
-
platformId: string;
|
5322
5381
|
upload: {
|
5323
5382
|
id: string;
|
5383
|
+
status: string | null;
|
5324
5384
|
createdAt: Date;
|
5325
5385
|
updatedAt: Date;
|
5326
5386
|
deletedAt: Date | null;
|
@@ -5329,7 +5389,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5329
5389
|
bucketName: string;
|
5330
5390
|
fileSize: number;
|
5331
5391
|
fileUrl: string | null;
|
5332
|
-
status?: string | undefined;
|
5333
5392
|
};
|
5334
5393
|
assignee: {
|
5335
5394
|
id: string;
|
@@ -5375,6 +5434,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5375
5434
|
telephonySignature: string | null;
|
5376
5435
|
};
|
5377
5436
|
};
|
5437
|
+
platformId: string;
|
5378
5438
|
readAt: Date;
|
5379
5439
|
platformMessageId: string;
|
5380
5440
|
replyPlatformMessageId: string;
|
@@ -6066,7 +6126,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6066
6126
|
isActive: boolean;
|
6067
6127
|
}>;
|
6068
6128
|
}, "strip", z.ZodTypeAny, {
|
6069
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6129
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6070
6130
|
message: string;
|
6071
6131
|
id: string;
|
6072
6132
|
url: string;
|
@@ -6118,9 +6178,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6118
6178
|
telephonySignature: string | null;
|
6119
6179
|
};
|
6120
6180
|
};
|
6121
|
-
platformId: string;
|
6122
6181
|
upload: {
|
6123
6182
|
id: string;
|
6183
|
+
status: string | null;
|
6124
6184
|
createdAt: Date;
|
6125
6185
|
updatedAt: Date;
|
6126
6186
|
deletedAt: Date | null;
|
@@ -6129,7 +6189,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6129
6189
|
bucketName: string;
|
6130
6190
|
fileSize: number;
|
6131
6191
|
fileUrl: string | null;
|
6132
|
-
status?: string | undefined;
|
6133
6192
|
};
|
6134
6193
|
assignee: {
|
6135
6194
|
id: string;
|
@@ -6175,6 +6234,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6175
6234
|
telephonySignature: string | null;
|
6176
6235
|
};
|
6177
6236
|
};
|
6237
|
+
platformId: string;
|
6178
6238
|
room: {
|
6179
6239
|
id: string;
|
6180
6240
|
channel: {
|
@@ -6241,6 +6301,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6241
6301
|
isReloginRequired: boolean;
|
6242
6302
|
connectedUserName: string;
|
6243
6303
|
connectedUserId: string;
|
6304
|
+
botpressBot: {
|
6305
|
+
id: string;
|
6306
|
+
name: string;
|
6307
|
+
accessToken: string;
|
6308
|
+
botId: string;
|
6309
|
+
integrationId: string;
|
6310
|
+
} | null;
|
6244
6311
|
};
|
6245
6312
|
direction: "incoming" | "outgoing" | "system";
|
6246
6313
|
status: number;
|
@@ -6342,6 +6409,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6342
6409
|
dateValue: Date | null;
|
6343
6410
|
uploads: {
|
6344
6411
|
id: string;
|
6412
|
+
status: string | null;
|
6345
6413
|
createdAt: Date;
|
6346
6414
|
updatedAt: Date;
|
6347
6415
|
deletedAt: Date | null;
|
@@ -6350,7 +6418,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6350
6418
|
bucketName: string;
|
6351
6419
|
fileSize: number;
|
6352
6420
|
fileUrl: string | null;
|
6353
|
-
status?: string | undefined;
|
6354
6421
|
}[];
|
6355
6422
|
}[];
|
6356
6423
|
company: {
|
@@ -6455,6 +6522,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6455
6522
|
};
|
6456
6523
|
closedAt: Date;
|
6457
6524
|
lastMessageAt: Date | null;
|
6525
|
+
isBotRoom: boolean;
|
6458
6526
|
cxlog: {
|
6459
6527
|
id: string;
|
6460
6528
|
channel: string | null;
|
@@ -6550,7 +6618,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6550
6618
|
previewUrl: string;
|
6551
6619
|
imageSetId: string;
|
6552
6620
|
repliedMessage: {
|
6553
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6621
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6554
6622
|
message: string;
|
6555
6623
|
id: string;
|
6556
6624
|
url: string;
|
@@ -6602,9 +6670,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6602
6670
|
telephonySignature: string | null;
|
6603
6671
|
};
|
6604
6672
|
};
|
6605
|
-
platformId: string;
|
6606
6673
|
upload: {
|
6607
6674
|
id: string;
|
6675
|
+
status: string | null;
|
6608
6676
|
createdAt: Date;
|
6609
6677
|
updatedAt: Date;
|
6610
6678
|
deletedAt: Date | null;
|
@@ -6613,7 +6681,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6613
6681
|
bucketName: string;
|
6614
6682
|
fileSize: number;
|
6615
6683
|
fileUrl: string | null;
|
6616
|
-
status?: string | undefined;
|
6617
6684
|
};
|
6618
6685
|
assignee: {
|
6619
6686
|
id: string;
|
@@ -6659,6 +6726,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6659
6726
|
telephonySignature: string | null;
|
6660
6727
|
};
|
6661
6728
|
};
|
6729
|
+
platformId: string;
|
6662
6730
|
readAt: Date;
|
6663
6731
|
platformMessageId: string;
|
6664
6732
|
replyPlatformMessageId: string;
|
@@ -6759,7 +6827,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6759
6827
|
metadata?: any;
|
6760
6828
|
template?: any;
|
6761
6829
|
}, {
|
6762
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6830
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6763
6831
|
message: string;
|
6764
6832
|
id: string;
|
6765
6833
|
url: string;
|
@@ -6811,9 +6879,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6811
6879
|
telephonySignature: string | null;
|
6812
6880
|
};
|
6813
6881
|
};
|
6814
|
-
platformId: string;
|
6815
6882
|
upload: {
|
6816
6883
|
id: string;
|
6884
|
+
status: string | null;
|
6817
6885
|
createdAt: Date;
|
6818
6886
|
updatedAt: Date;
|
6819
6887
|
deletedAt: Date | null;
|
@@ -6822,7 +6890,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6822
6890
|
bucketName: string;
|
6823
6891
|
fileSize: number;
|
6824
6892
|
fileUrl: string | null;
|
6825
|
-
status?: string | undefined;
|
6826
6893
|
};
|
6827
6894
|
assignee: {
|
6828
6895
|
id: string;
|
@@ -6868,6 +6935,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6868
6935
|
telephonySignature: string | null;
|
6869
6936
|
};
|
6870
6937
|
};
|
6938
|
+
platformId: string;
|
6871
6939
|
room: {
|
6872
6940
|
id: string;
|
6873
6941
|
channel: {
|
@@ -6934,6 +7002,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6934
7002
|
isReloginRequired: boolean;
|
6935
7003
|
connectedUserName: string;
|
6936
7004
|
connectedUserId: string;
|
7005
|
+
botpressBot: {
|
7006
|
+
id: string;
|
7007
|
+
name: string;
|
7008
|
+
accessToken: string;
|
7009
|
+
botId: string;
|
7010
|
+
integrationId: string;
|
7011
|
+
} | null;
|
6937
7012
|
};
|
6938
7013
|
direction: "incoming" | "outgoing" | "system";
|
6939
7014
|
status: number;
|
@@ -7035,6 +7110,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7035
7110
|
dateValue: Date | null;
|
7036
7111
|
uploads: {
|
7037
7112
|
id: string;
|
7113
|
+
status: string | null;
|
7038
7114
|
createdAt: Date;
|
7039
7115
|
updatedAt: Date;
|
7040
7116
|
deletedAt: Date | null;
|
@@ -7043,7 +7119,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7043
7119
|
bucketName: string;
|
7044
7120
|
fileSize: number;
|
7045
7121
|
fileUrl: string | null;
|
7046
|
-
status?: string | undefined;
|
7047
7122
|
}[];
|
7048
7123
|
}[];
|
7049
7124
|
company: {
|
@@ -7148,6 +7223,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7148
7223
|
};
|
7149
7224
|
closedAt: Date;
|
7150
7225
|
lastMessageAt: Date | null;
|
7226
|
+
isBotRoom: boolean;
|
7151
7227
|
cxlog: {
|
7152
7228
|
id: string;
|
7153
7229
|
channel: string | null;
|
@@ -7243,7 +7319,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7243
7319
|
previewUrl: string;
|
7244
7320
|
imageSetId: string;
|
7245
7321
|
repliedMessage: {
|
7246
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7322
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7247
7323
|
message: string;
|
7248
7324
|
id: string;
|
7249
7325
|
url: string;
|
@@ -7295,9 +7371,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7295
7371
|
telephonySignature: string | null;
|
7296
7372
|
};
|
7297
7373
|
};
|
7298
|
-
platformId: string;
|
7299
7374
|
upload: {
|
7300
7375
|
id: string;
|
7376
|
+
status: string | null;
|
7301
7377
|
createdAt: Date;
|
7302
7378
|
updatedAt: Date;
|
7303
7379
|
deletedAt: Date | null;
|
@@ -7306,7 +7382,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7306
7382
|
bucketName: string;
|
7307
7383
|
fileSize: number;
|
7308
7384
|
fileUrl: string | null;
|
7309
|
-
status?: string | undefined;
|
7310
7385
|
};
|
7311
7386
|
assignee: {
|
7312
7387
|
id: string;
|
@@ -7352,6 +7427,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7352
7427
|
telephonySignature: string | null;
|
7353
7428
|
};
|
7354
7429
|
};
|
7430
|
+
platformId: string;
|
7355
7431
|
readAt: Date;
|
7356
7432
|
platformMessageId: string;
|
7357
7433
|
replyPlatformMessageId: string;
|
@@ -7454,7 +7530,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7454
7530
|
}>;
|
7455
7531
|
}, "strip", z.ZodTypeAny, {
|
7456
7532
|
data: {
|
7457
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7533
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7458
7534
|
message: string;
|
7459
7535
|
id: string;
|
7460
7536
|
url: string;
|
@@ -7506,9 +7582,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7506
7582
|
telephonySignature: string | null;
|
7507
7583
|
};
|
7508
7584
|
};
|
7509
|
-
platformId: string;
|
7510
7585
|
upload: {
|
7511
7586
|
id: string;
|
7587
|
+
status: string | null;
|
7512
7588
|
createdAt: Date;
|
7513
7589
|
updatedAt: Date;
|
7514
7590
|
deletedAt: Date | null;
|
@@ -7517,7 +7593,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7517
7593
|
bucketName: string;
|
7518
7594
|
fileSize: number;
|
7519
7595
|
fileUrl: string | null;
|
7520
|
-
status?: string | undefined;
|
7521
7596
|
};
|
7522
7597
|
assignee: {
|
7523
7598
|
id: string;
|
@@ -7563,6 +7638,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7563
7638
|
telephonySignature: string | null;
|
7564
7639
|
};
|
7565
7640
|
};
|
7641
|
+
platformId: string;
|
7566
7642
|
room: {
|
7567
7643
|
id: string;
|
7568
7644
|
channel: {
|
@@ -7629,6 +7705,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7629
7705
|
isReloginRequired: boolean;
|
7630
7706
|
connectedUserName: string;
|
7631
7707
|
connectedUserId: string;
|
7708
|
+
botpressBot: {
|
7709
|
+
id: string;
|
7710
|
+
name: string;
|
7711
|
+
accessToken: string;
|
7712
|
+
botId: string;
|
7713
|
+
integrationId: string;
|
7714
|
+
} | null;
|
7632
7715
|
};
|
7633
7716
|
direction: "incoming" | "outgoing" | "system";
|
7634
7717
|
status: number;
|
@@ -7730,6 +7813,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7730
7813
|
dateValue: Date | null;
|
7731
7814
|
uploads: {
|
7732
7815
|
id: string;
|
7816
|
+
status: string | null;
|
7733
7817
|
createdAt: Date;
|
7734
7818
|
updatedAt: Date;
|
7735
7819
|
deletedAt: Date | null;
|
@@ -7738,7 +7822,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7738
7822
|
bucketName: string;
|
7739
7823
|
fileSize: number;
|
7740
7824
|
fileUrl: string | null;
|
7741
|
-
status?: string | undefined;
|
7742
7825
|
}[];
|
7743
7826
|
}[];
|
7744
7827
|
company: {
|
@@ -7843,6 +7926,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7843
7926
|
};
|
7844
7927
|
closedAt: Date;
|
7845
7928
|
lastMessageAt: Date | null;
|
7929
|
+
isBotRoom: boolean;
|
7846
7930
|
cxlog: {
|
7847
7931
|
id: string;
|
7848
7932
|
channel: string | null;
|
@@ -7938,7 +8022,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7938
8022
|
previewUrl: string;
|
7939
8023
|
imageSetId: string;
|
7940
8024
|
repliedMessage: {
|
7941
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
8025
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7942
8026
|
message: string;
|
7943
8027
|
id: string;
|
7944
8028
|
url: string;
|
@@ -7990,9 +8074,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7990
8074
|
telephonySignature: string | null;
|
7991
8075
|
};
|
7992
8076
|
};
|
7993
|
-
platformId: string;
|
7994
8077
|
upload: {
|
7995
8078
|
id: string;
|
8079
|
+
status: string | null;
|
7996
8080
|
createdAt: Date;
|
7997
8081
|
updatedAt: Date;
|
7998
8082
|
deletedAt: Date | null;
|
@@ -8001,7 +8085,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8001
8085
|
bucketName: string;
|
8002
8086
|
fileSize: number;
|
8003
8087
|
fileUrl: string | null;
|
8004
|
-
status?: string | undefined;
|
8005
8088
|
};
|
8006
8089
|
assignee: {
|
8007
8090
|
id: string;
|
@@ -8047,6 +8130,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8047
8130
|
telephonySignature: string | null;
|
8048
8131
|
};
|
8049
8132
|
};
|
8133
|
+
platformId: string;
|
8050
8134
|
readAt: Date;
|
8051
8135
|
platformMessageId: string;
|
8052
8136
|
replyPlatformMessageId: string;
|
@@ -8150,7 +8234,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8150
8234
|
requestId: string;
|
8151
8235
|
}, {
|
8152
8236
|
data: {
|
8153
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
8237
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
8154
8238
|
message: string;
|
8155
8239
|
id: string;
|
8156
8240
|
url: string;
|
@@ -8202,9 +8286,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8202
8286
|
telephonySignature: string | null;
|
8203
8287
|
};
|
8204
8288
|
};
|
8205
|
-
platformId: string;
|
8206
8289
|
upload: {
|
8207
8290
|
id: string;
|
8291
|
+
status: string | null;
|
8208
8292
|
createdAt: Date;
|
8209
8293
|
updatedAt: Date;
|
8210
8294
|
deletedAt: Date | null;
|
@@ -8213,7 +8297,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8213
8297
|
bucketName: string;
|
8214
8298
|
fileSize: number;
|
8215
8299
|
fileUrl: string | null;
|
8216
|
-
status?: string | undefined;
|
8217
8300
|
};
|
8218
8301
|
assignee: {
|
8219
8302
|
id: string;
|
@@ -8259,6 +8342,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8259
8342
|
telephonySignature: string | null;
|
8260
8343
|
};
|
8261
8344
|
};
|
8345
|
+
platformId: string;
|
8262
8346
|
room: {
|
8263
8347
|
id: string;
|
8264
8348
|
channel: {
|
@@ -8325,6 +8409,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8325
8409
|
isReloginRequired: boolean;
|
8326
8410
|
connectedUserName: string;
|
8327
8411
|
connectedUserId: string;
|
8412
|
+
botpressBot: {
|
8413
|
+
id: string;
|
8414
|
+
name: string;
|
8415
|
+
accessToken: string;
|
8416
|
+
botId: string;
|
8417
|
+
integrationId: string;
|
8418
|
+
} | null;
|
8328
8419
|
};
|
8329
8420
|
direction: "incoming" | "outgoing" | "system";
|
8330
8421
|
status: number;
|
@@ -8426,6 +8517,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8426
8517
|
dateValue: Date | null;
|
8427
8518
|
uploads: {
|
8428
8519
|
id: string;
|
8520
|
+
status: string | null;
|
8429
8521
|
createdAt: Date;
|
8430
8522
|
updatedAt: Date;
|
8431
8523
|
deletedAt: Date | null;
|
@@ -8434,7 +8526,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8434
8526
|
bucketName: string;
|
8435
8527
|
fileSize: number;
|
8436
8528
|
fileUrl: string | null;
|
8437
|
-
status?: string | undefined;
|
8438
8529
|
}[];
|
8439
8530
|
}[];
|
8440
8531
|
company: {
|
@@ -8539,6 +8630,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8539
8630
|
};
|
8540
8631
|
closedAt: Date;
|
8541
8632
|
lastMessageAt: Date | null;
|
8633
|
+
isBotRoom: boolean;
|
8542
8634
|
cxlog: {
|
8543
8635
|
id: string;
|
8544
8636
|
channel: string | null;
|
@@ -8634,7 +8726,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8634
8726
|
previewUrl: string;
|
8635
8727
|
imageSetId: string;
|
8636
8728
|
repliedMessage: {
|
8637
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
8729
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
8638
8730
|
message: string;
|
8639
8731
|
id: string;
|
8640
8732
|
url: string;
|
@@ -8686,9 +8778,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8686
8778
|
telephonySignature: string | null;
|
8687
8779
|
};
|
8688
8780
|
};
|
8689
|
-
platformId: string;
|
8690
8781
|
upload: {
|
8691
8782
|
id: string;
|
8783
|
+
status: string | null;
|
8692
8784
|
createdAt: Date;
|
8693
8785
|
updatedAt: Date;
|
8694
8786
|
deletedAt: Date | null;
|
@@ -8697,7 +8789,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8697
8789
|
bucketName: string;
|
8698
8790
|
fileSize: number;
|
8699
8791
|
fileUrl: string | null;
|
8700
|
-
status?: string | undefined;
|
8701
8792
|
};
|
8702
8793
|
assignee: {
|
8703
8794
|
id: string;
|
@@ -8743,6 +8834,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8743
8834
|
telephonySignature: string | null;
|
8744
8835
|
};
|
8745
8836
|
};
|
8837
|
+
platformId: string;
|
8746
8838
|
readAt: Date;
|
8747
8839
|
platformMessageId: string;
|
8748
8840
|
replyPlatformMessageId: string;
|
@@ -9002,7 +9094,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9002
9094
|
deletedAt: z.ZodNullable<z.ZodString>;
|
9003
9095
|
message: z.ZodOptional<z.ZodString>;
|
9004
9096
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
9005
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
9097
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
9006
9098
|
metadata: z.ZodAny;
|
9007
9099
|
platformId: z.ZodString;
|
9008
9100
|
platformMessageId: z.ZodString;
|
@@ -9344,9 +9436,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9344
9436
|
fileSize: z.ZodNumber;
|
9345
9437
|
fileKey: z.ZodString;
|
9346
9438
|
fileUrl: z.ZodNullable<z.ZodString>;
|
9347
|
-
status: z.
|
9439
|
+
status: z.ZodNullable<z.ZodString>;
|
9348
9440
|
}, "strip", z.ZodTypeAny, {
|
9349
9441
|
id: string;
|
9442
|
+
status: string | null;
|
9350
9443
|
createdAt: Date;
|
9351
9444
|
updatedAt: Date;
|
9352
9445
|
deletedAt: Date | null;
|
@@ -9355,9 +9448,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9355
9448
|
bucketName: string;
|
9356
9449
|
fileSize: number;
|
9357
9450
|
fileUrl: string | null;
|
9358
|
-
status?: string | undefined;
|
9359
9451
|
}, {
|
9360
9452
|
id: string;
|
9453
|
+
status: string | null;
|
9361
9454
|
createdAt: Date;
|
9362
9455
|
updatedAt: Date;
|
9363
9456
|
deletedAt: Date | null;
|
@@ -9366,7 +9459,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9366
9459
|
bucketName: string;
|
9367
9460
|
fileSize: number;
|
9368
9461
|
fileUrl: string | null;
|
9369
|
-
status?: string | undefined;
|
9370
9462
|
}>, "many">;
|
9371
9463
|
}, "strip", z.ZodTypeAny, {
|
9372
9464
|
id: string;
|
@@ -9393,6 +9485,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9393
9485
|
dateValue: Date | null;
|
9394
9486
|
uploads: {
|
9395
9487
|
id: string;
|
9488
|
+
status: string | null;
|
9396
9489
|
createdAt: Date;
|
9397
9490
|
updatedAt: Date;
|
9398
9491
|
deletedAt: Date | null;
|
@@ -9401,7 +9494,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9401
9494
|
bucketName: string;
|
9402
9495
|
fileSize: number;
|
9403
9496
|
fileUrl: string | null;
|
9404
|
-
status?: string | undefined;
|
9405
9497
|
}[];
|
9406
9498
|
}, {
|
9407
9499
|
id: string;
|
@@ -9428,6 +9520,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9428
9520
|
dateValue: Date | null;
|
9429
9521
|
uploads: {
|
9430
9522
|
id: string;
|
9523
|
+
status: string | null;
|
9431
9524
|
createdAt: Date;
|
9432
9525
|
updatedAt: Date;
|
9433
9526
|
deletedAt: Date | null;
|
@@ -9436,7 +9529,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9436
9529
|
bucketName: string;
|
9437
9530
|
fileSize: number;
|
9438
9531
|
fileUrl: string | null;
|
9439
|
-
status?: string | undefined;
|
9440
9532
|
}[];
|
9441
9533
|
}>, "many">>;
|
9442
9534
|
contactEmails: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
@@ -9596,6 +9688,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9596
9688
|
dateValue: Date | null;
|
9597
9689
|
uploads: {
|
9598
9690
|
id: string;
|
9691
|
+
status: string | null;
|
9599
9692
|
createdAt: Date;
|
9600
9693
|
updatedAt: Date;
|
9601
9694
|
deletedAt: Date | null;
|
@@ -9604,7 +9697,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9604
9697
|
bucketName: string;
|
9605
9698
|
fileSize: number;
|
9606
9699
|
fileUrl: string | null;
|
9607
|
-
status?: string | undefined;
|
9608
9700
|
}[];
|
9609
9701
|
}[] | undefined;
|
9610
9702
|
contactEmails?: {
|
@@ -9692,6 +9784,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9692
9784
|
dateValue: Date | null;
|
9693
9785
|
uploads: {
|
9694
9786
|
id: string;
|
9787
|
+
status: string | null;
|
9695
9788
|
createdAt: Date;
|
9696
9789
|
updatedAt: Date;
|
9697
9790
|
deletedAt: Date | null;
|
@@ -9700,7 +9793,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9700
9793
|
bucketName: string;
|
9701
9794
|
fileSize: number;
|
9702
9795
|
fileUrl: string | null;
|
9703
|
-
status?: string | undefined;
|
9704
9796
|
}[];
|
9705
9797
|
}[] | undefined;
|
9706
9798
|
contactEmails?: {
|
@@ -9801,6 +9893,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9801
9893
|
dateValue: Date | null;
|
9802
9894
|
uploads: {
|
9803
9895
|
id: string;
|
9896
|
+
status: string | null;
|
9804
9897
|
createdAt: Date;
|
9805
9898
|
updatedAt: Date;
|
9806
9899
|
deletedAt: Date | null;
|
@@ -9809,7 +9902,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9809
9902
|
bucketName: string;
|
9810
9903
|
fileSize: number;
|
9811
9904
|
fileUrl: string | null;
|
9812
|
-
status?: string | undefined;
|
9813
9905
|
}[];
|
9814
9906
|
}[] | undefined;
|
9815
9907
|
contactEmails?: {
|
@@ -9912,6 +10004,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9912
10004
|
dateValue: Date | null;
|
9913
10005
|
uploads: {
|
9914
10006
|
id: string;
|
10007
|
+
status: string | null;
|
9915
10008
|
createdAt: Date;
|
9916
10009
|
updatedAt: Date;
|
9917
10010
|
deletedAt: Date | null;
|
@@ -9920,7 +10013,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9920
10013
|
bucketName: string;
|
9921
10014
|
fileSize: number;
|
9922
10015
|
fileUrl: string | null;
|
9923
|
-
status?: string | undefined;
|
9924
10016
|
}[];
|
9925
10017
|
}[] | undefined;
|
9926
10018
|
contactEmails?: {
|
@@ -10958,6 +11050,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10958
11050
|
dateValue: Date | null;
|
10959
11051
|
uploads: {
|
10960
11052
|
id: string;
|
11053
|
+
status: string | null;
|
10961
11054
|
createdAt: Date;
|
10962
11055
|
updatedAt: Date;
|
10963
11056
|
deletedAt: Date | null;
|
@@ -10966,7 +11059,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10966
11059
|
bucketName: string;
|
10967
11060
|
fileSize: number;
|
10968
11061
|
fileUrl: string | null;
|
10969
|
-
status?: string | undefined;
|
10970
11062
|
}[];
|
10971
11063
|
}[] | undefined;
|
10972
11064
|
contactEmails?: {
|
@@ -11264,6 +11356,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11264
11356
|
dateValue: Date | null;
|
11265
11357
|
uploads: {
|
11266
11358
|
id: string;
|
11359
|
+
status: string | null;
|
11267
11360
|
createdAt: Date;
|
11268
11361
|
updatedAt: Date;
|
11269
11362
|
deletedAt: Date | null;
|
@@ -11272,7 +11365,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11272
11365
|
bucketName: string;
|
11273
11366
|
fileSize: number;
|
11274
11367
|
fileUrl: string | null;
|
11275
|
-
status?: string | undefined;
|
11276
11368
|
}[];
|
11277
11369
|
}[] | undefined;
|
11278
11370
|
contactEmails?: {
|
@@ -12140,7 +12232,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
12140
12232
|
};
|
12141
12233
|
}>>>;
|
12142
12234
|
}, "strip", z.ZodTypeAny, {
|
12143
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
12235
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
12144
12236
|
id: string;
|
12145
12237
|
direction: "incoming" | "outgoing" | "system";
|
12146
12238
|
createdAt: string;
|
@@ -12225,6 +12317,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
12225
12317
|
dateValue: Date | null;
|
12226
12318
|
uploads: {
|
12227
12319
|
id: string;
|
12320
|
+
status: string | null;
|
12228
12321
|
createdAt: Date;
|
12229
12322
|
updatedAt: Date;
|
12230
12323
|
deletedAt: Date | null;
|
@@ -12233,7 +12326,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
12233
12326
|
bucketName: string;
|
12234
12327
|
fileSize: number;
|
12235
12328
|
fileUrl: string | null;
|
12236
|
-
status?: string | undefined;
|
12237
12329
|
}[];
|
12238
12330
|
}[] | undefined;
|
12239
12331
|
contactEmails?: {
|
@@ -12608,7 +12700,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
12608
12700
|
};
|
12609
12701
|
} | null | undefined;
|
12610
12702
|
}, {
|
12611
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
12703
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
12612
12704
|
id: string;
|
12613
12705
|
direction: "incoming" | "outgoing" | "system";
|
12614
12706
|
createdAt: string;
|
@@ -12693,6 +12785,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
12693
12785
|
dateValue: Date | null;
|
12694
12786
|
uploads: {
|
12695
12787
|
id: string;
|
12788
|
+
status: string | null;
|
12696
12789
|
createdAt: Date;
|
12697
12790
|
updatedAt: Date;
|
12698
12791
|
deletedAt: Date | null;
|
@@ -12701,7 +12794,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
12701
12794
|
bucketName: string;
|
12702
12795
|
fileSize: number;
|
12703
12796
|
fileUrl: string | null;
|
12704
|
-
status?: string | undefined;
|
12705
12797
|
}[];
|
12706
12798
|
}[] | undefined;
|
12707
12799
|
contactEmails?: {
|
@@ -13078,7 +13170,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
13078
13170
|
}>;
|
13079
13171
|
}, "strip", z.ZodTypeAny, {
|
13080
13172
|
message: {
|
13081
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
13173
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
13082
13174
|
id: string;
|
13083
13175
|
direction: "incoming" | "outgoing" | "system";
|
13084
13176
|
createdAt: string;
|
@@ -13163,6 +13255,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
13163
13255
|
dateValue: Date | null;
|
13164
13256
|
uploads: {
|
13165
13257
|
id: string;
|
13258
|
+
status: string | null;
|
13166
13259
|
createdAt: Date;
|
13167
13260
|
updatedAt: Date;
|
13168
13261
|
deletedAt: Date | null;
|
@@ -13171,7 +13264,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
13171
13264
|
bucketName: string;
|
13172
13265
|
fileSize: number;
|
13173
13266
|
fileUrl: string | null;
|
13174
|
-
status?: string | undefined;
|
13175
13267
|
}[];
|
13176
13268
|
}[] | undefined;
|
13177
13269
|
contactEmails?: {
|
@@ -13548,7 +13640,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
13548
13640
|
};
|
13549
13641
|
}, {
|
13550
13642
|
message: {
|
13551
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
13643
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
13552
13644
|
id: string;
|
13553
13645
|
direction: "incoming" | "outgoing" | "system";
|
13554
13646
|
createdAt: string;
|
@@ -13633,6 +13725,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
13633
13725
|
dateValue: Date | null;
|
13634
13726
|
uploads: {
|
13635
13727
|
id: string;
|
13728
|
+
status: string | null;
|
13636
13729
|
createdAt: Date;
|
13637
13730
|
updatedAt: Date;
|
13638
13731
|
deletedAt: Date | null;
|
@@ -13641,7 +13734,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
13641
13734
|
bucketName: string;
|
13642
13735
|
fileSize: number;
|
13643
13736
|
fileUrl: string | null;
|
13644
|
-
status?: string | undefined;
|
13645
13737
|
}[];
|
13646
13738
|
}[] | undefined;
|
13647
13739
|
contactEmails?: {
|