@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
@@ -1,13 +1,15 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
import { ChannelSchema } from '../chat/validation';
|
3
|
-
import { GetFacebookPagesQuerySchema, GetFacebookPagesSchema, ReconnectMessengerSchema } from './validation';
|
3
|
+
import { GetFacebookPagesQuerySchema, GetFacebookPagesSchema, ReconnectMessengerSchema, SetBotPersistentMenuSchema } from './validation';
|
4
4
|
export type GetFacebookPagesResponse = z.infer<typeof GetFacebookPagesSchema>;
|
5
5
|
export type GetFacebookPagesQuery = z.infer<typeof GetFacebookPagesQuerySchema>;
|
6
6
|
export type ReconnectChannelRequest = z.infer<typeof ChannelSchema>;
|
7
7
|
export type ReconnectMessengerRequest = z.infer<typeof ReconnectMessengerSchema>;
|
8
|
+
export type SetBotPersistentMenuRequest = z.infer<typeof SetBotPersistentMenuSchema>;
|
8
9
|
export declare const messengerContract: {
|
9
10
|
sendMessage: {
|
10
11
|
body: z.ZodObject<{
|
12
|
+
isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
11
13
|
room: z.ZodObject<{
|
12
14
|
id: z.ZodString;
|
13
15
|
lastMessage: z.ZodOptional<z.ZodString>;
|
@@ -362,7 +364,7 @@ export declare const messengerContract: {
|
|
362
364
|
message: z.ZodObject<{
|
363
365
|
message: z.ZodOptional<z.ZodString>;
|
364
366
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
365
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
367
|
+
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"]>;
|
366
368
|
readAt: z.ZodOptional<z.ZodDate>;
|
367
369
|
metadata: z.ZodOptional<z.ZodAny>;
|
368
370
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -378,18 +380,21 @@ export declare const messengerContract: {
|
|
378
380
|
fileName: z.ZodString;
|
379
381
|
fileSize: z.ZodNumber;
|
380
382
|
fileKey: z.ZodString;
|
383
|
+
originalUrl: z.ZodOptional<z.ZodString>;
|
381
384
|
}, "strip", z.ZodTypeAny, {
|
382
385
|
fileName: string;
|
383
386
|
fileKey: string;
|
384
387
|
bucketName: string;
|
385
388
|
fileSize: number;
|
389
|
+
originalUrl?: string | undefined;
|
386
390
|
}, {
|
387
391
|
fileName: string;
|
388
392
|
fileKey: string;
|
389
393
|
bucketName: string;
|
390
394
|
fileSize: number;
|
395
|
+
originalUrl?: string | undefined;
|
391
396
|
}>>;
|
392
|
-
sender: z.ZodObject<{
|
397
|
+
sender: z.ZodOptional<z.ZodObject<{
|
393
398
|
id: z.ZodString;
|
394
399
|
name: z.ZodString;
|
395
400
|
email: z.ZodString;
|
@@ -407,17 +412,10 @@ export declare const messengerContract: {
|
|
407
412
|
name: string;
|
408
413
|
email: string;
|
409
414
|
phone: string | null;
|
410
|
-
}
|
415
|
+
}>>;
|
411
416
|
}, "strip", z.ZodTypeAny, {
|
412
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
417
|
+
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";
|
413
418
|
direction: "incoming" | "outgoing" | "system";
|
414
|
-
sender: {
|
415
|
-
id: string;
|
416
|
-
address: string | null;
|
417
|
-
name: string;
|
418
|
-
email: string;
|
419
|
-
phone: string | null;
|
420
|
-
};
|
421
419
|
message?: string | undefined;
|
422
420
|
readAt?: Date | undefined;
|
423
421
|
metadata?: any;
|
@@ -434,17 +432,18 @@ export declare const messengerContract: {
|
|
434
432
|
fileKey: string;
|
435
433
|
bucketName: string;
|
436
434
|
fileSize: number;
|
435
|
+
originalUrl?: string | undefined;
|
437
436
|
} | undefined;
|
438
|
-
|
439
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
440
|
-
direction: "incoming" | "outgoing" | "system";
|
441
|
-
sender: {
|
437
|
+
sender?: {
|
442
438
|
id: string;
|
443
439
|
address: string | null;
|
444
440
|
name: string;
|
445
441
|
email: string;
|
446
442
|
phone: string | null;
|
447
|
-
};
|
443
|
+
} | undefined;
|
444
|
+
}, {
|
445
|
+
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";
|
446
|
+
direction: "incoming" | "outgoing" | "system";
|
448
447
|
message?: string | undefined;
|
449
448
|
readAt?: Date | undefined;
|
450
449
|
metadata?: any;
|
@@ -461,19 +460,20 @@ export declare const messengerContract: {
|
|
461
460
|
fileKey: string;
|
462
461
|
bucketName: string;
|
463
462
|
fileSize: number;
|
463
|
+
originalUrl?: string | undefined;
|
464
464
|
} | undefined;
|
465
|
-
|
466
|
-
}, "strip", z.ZodTypeAny, {
|
467
|
-
message: {
|
468
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
469
|
-
direction: "incoming" | "outgoing" | "system";
|
470
|
-
sender: {
|
465
|
+
sender?: {
|
471
466
|
id: string;
|
472
467
|
address: string | null;
|
473
468
|
name: string;
|
474
469
|
email: string;
|
475
470
|
phone: string | null;
|
476
|
-
};
|
471
|
+
} | undefined;
|
472
|
+
}>;
|
473
|
+
}, "strip", z.ZodTypeAny, {
|
474
|
+
message: {
|
475
|
+
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";
|
476
|
+
direction: "incoming" | "outgoing" | "system";
|
477
477
|
message?: string | undefined;
|
478
478
|
readAt?: Date | undefined;
|
479
479
|
metadata?: any;
|
@@ -490,6 +490,14 @@ export declare const messengerContract: {
|
|
490
490
|
fileKey: string;
|
491
491
|
bucketName: string;
|
492
492
|
fileSize: number;
|
493
|
+
originalUrl?: string | undefined;
|
494
|
+
} | undefined;
|
495
|
+
sender?: {
|
496
|
+
id: string;
|
497
|
+
address: string | null;
|
498
|
+
name: string;
|
499
|
+
email: string;
|
500
|
+
phone: string | null;
|
493
501
|
} | undefined;
|
494
502
|
};
|
495
503
|
room: {
|
@@ -559,17 +567,11 @@ export declare const messengerContract: {
|
|
559
567
|
metadata?: any;
|
560
568
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
561
569
|
};
|
570
|
+
isBot: boolean | null;
|
562
571
|
}, {
|
563
572
|
message: {
|
564
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
573
|
+
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";
|
565
574
|
direction: "incoming" | "outgoing" | "system";
|
566
|
-
sender: {
|
567
|
-
id: string;
|
568
|
-
address: string | null;
|
569
|
-
name: string;
|
570
|
-
email: string;
|
571
|
-
phone: string | null;
|
572
|
-
};
|
573
575
|
message?: string | undefined;
|
574
576
|
readAt?: Date | undefined;
|
575
577
|
metadata?: any;
|
@@ -586,6 +588,14 @@ export declare const messengerContract: {
|
|
586
588
|
fileKey: string;
|
587
589
|
bucketName: string;
|
588
590
|
fileSize: number;
|
591
|
+
originalUrl?: string | undefined;
|
592
|
+
} | undefined;
|
593
|
+
sender?: {
|
594
|
+
id: string;
|
595
|
+
address: string | null;
|
596
|
+
name: string;
|
597
|
+
email: string;
|
598
|
+
phone: string | null;
|
589
599
|
} | undefined;
|
590
600
|
};
|
591
601
|
room: {
|
@@ -655,6 +665,7 @@ export declare const messengerContract: {
|
|
655
665
|
metadata?: any;
|
656
666
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
657
667
|
};
|
668
|
+
isBot?: boolean | null | undefined;
|
658
669
|
}>;
|
659
670
|
method: "POST";
|
660
671
|
responses: {
|
@@ -667,7 +678,7 @@ export declare const messengerContract: {
|
|
667
678
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
668
679
|
message: z.ZodString;
|
669
680
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
670
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
681
|
+
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"]>;
|
671
682
|
readAt: z.ZodDate;
|
672
683
|
metadata: z.ZodAny;
|
673
684
|
platformId: z.ZodString;
|
@@ -692,6 +703,7 @@ export declare const messengerContract: {
|
|
692
703
|
firstResponseAt: z.ZodDate;
|
693
704
|
firstResponseTime: z.ZodNumber;
|
694
705
|
isLatest: z.ZodBoolean;
|
706
|
+
isBotRoom: z.ZodBoolean;
|
695
707
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
696
708
|
platformContact: z.ZodObject<{
|
697
709
|
id: z.ZodString;
|
@@ -1012,9 +1024,10 @@ export declare const messengerContract: {
|
|
1012
1024
|
fileSize: z.ZodNumber;
|
1013
1025
|
fileKey: z.ZodString;
|
1014
1026
|
fileUrl: z.ZodNullable<z.ZodString>;
|
1015
|
-
status: z.
|
1027
|
+
status: z.ZodNullable<z.ZodString>;
|
1016
1028
|
}, "strip", z.ZodTypeAny, {
|
1017
1029
|
id: string;
|
1030
|
+
status: string | null;
|
1018
1031
|
createdAt: Date;
|
1019
1032
|
updatedAt: Date;
|
1020
1033
|
deletedAt: Date | null;
|
@@ -1023,9 +1036,9 @@ export declare const messengerContract: {
|
|
1023
1036
|
bucketName: string;
|
1024
1037
|
fileSize: number;
|
1025
1038
|
fileUrl: string | null;
|
1026
|
-
status?: string | undefined;
|
1027
1039
|
}, {
|
1028
1040
|
id: string;
|
1041
|
+
status: string | null;
|
1029
1042
|
createdAt: Date;
|
1030
1043
|
updatedAt: Date;
|
1031
1044
|
deletedAt: Date | null;
|
@@ -1034,7 +1047,6 @@ export declare const messengerContract: {
|
|
1034
1047
|
bucketName: string;
|
1035
1048
|
fileSize: number;
|
1036
1049
|
fileUrl: string | null;
|
1037
|
-
status?: string | undefined;
|
1038
1050
|
}>, "many">;
|
1039
1051
|
}, "strip", z.ZodTypeAny, {
|
1040
1052
|
id: string;
|
@@ -1061,6 +1073,7 @@ export declare const messengerContract: {
|
|
1061
1073
|
dateValue: Date | null;
|
1062
1074
|
uploads: {
|
1063
1075
|
id: string;
|
1076
|
+
status: string | null;
|
1064
1077
|
createdAt: Date;
|
1065
1078
|
updatedAt: Date;
|
1066
1079
|
deletedAt: Date | null;
|
@@ -1069,7 +1082,6 @@ export declare const messengerContract: {
|
|
1069
1082
|
bucketName: string;
|
1070
1083
|
fileSize: number;
|
1071
1084
|
fileUrl: string | null;
|
1072
|
-
status?: string | undefined;
|
1073
1085
|
}[];
|
1074
1086
|
}, {
|
1075
1087
|
id: string;
|
@@ -1096,6 +1108,7 @@ export declare const messengerContract: {
|
|
1096
1108
|
dateValue: Date | null;
|
1097
1109
|
uploads: {
|
1098
1110
|
id: string;
|
1111
|
+
status: string | null;
|
1099
1112
|
createdAt: Date;
|
1100
1113
|
updatedAt: Date;
|
1101
1114
|
deletedAt: Date | null;
|
@@ -1104,7 +1117,6 @@ export declare const messengerContract: {
|
|
1104
1117
|
bucketName: string;
|
1105
1118
|
fileSize: number;
|
1106
1119
|
fileUrl: string | null;
|
1107
|
-
status?: string | undefined;
|
1108
1120
|
}[];
|
1109
1121
|
}>, "many">;
|
1110
1122
|
contactEmails: z.ZodArray<z.ZodObject<{
|
@@ -1244,6 +1256,7 @@ export declare const messengerContract: {
|
|
1244
1256
|
dateValue: Date | null;
|
1245
1257
|
uploads: {
|
1246
1258
|
id: string;
|
1259
|
+
status: string | null;
|
1247
1260
|
createdAt: Date;
|
1248
1261
|
updatedAt: Date;
|
1249
1262
|
deletedAt: Date | null;
|
@@ -1252,7 +1265,6 @@ export declare const messengerContract: {
|
|
1252
1265
|
bucketName: string;
|
1253
1266
|
fileSize: number;
|
1254
1267
|
fileUrl: string | null;
|
1255
|
-
status?: string | undefined;
|
1256
1268
|
}[];
|
1257
1269
|
}[];
|
1258
1270
|
company: {
|
@@ -1340,6 +1352,7 @@ export declare const messengerContract: {
|
|
1340
1352
|
dateValue: Date | null;
|
1341
1353
|
uploads: {
|
1342
1354
|
id: string;
|
1355
|
+
status: string | null;
|
1343
1356
|
createdAt: Date;
|
1344
1357
|
updatedAt: Date;
|
1345
1358
|
deletedAt: Date | null;
|
@@ -1348,7 +1361,6 @@ export declare const messengerContract: {
|
|
1348
1361
|
bucketName: string;
|
1349
1362
|
fileSize: number;
|
1350
1363
|
fileUrl: string | null;
|
1351
|
-
status?: string | undefined;
|
1352
1364
|
}[];
|
1353
1365
|
}[];
|
1354
1366
|
company: {
|
@@ -1449,6 +1461,7 @@ export declare const messengerContract: {
|
|
1449
1461
|
dateValue: Date | null;
|
1450
1462
|
uploads: {
|
1451
1463
|
id: string;
|
1464
|
+
status: string | null;
|
1452
1465
|
createdAt: Date;
|
1453
1466
|
updatedAt: Date;
|
1454
1467
|
deletedAt: Date | null;
|
@@ -1457,7 +1470,6 @@ export declare const messengerContract: {
|
|
1457
1470
|
bucketName: string;
|
1458
1471
|
fileSize: number;
|
1459
1472
|
fileUrl: string | null;
|
1460
|
-
status?: string | undefined;
|
1461
1473
|
}[];
|
1462
1474
|
}[];
|
1463
1475
|
company: {
|
@@ -1560,6 +1572,7 @@ export declare const messengerContract: {
|
|
1560
1572
|
dateValue: Date | null;
|
1561
1573
|
uploads: {
|
1562
1574
|
id: string;
|
1575
|
+
status: string | null;
|
1563
1576
|
createdAt: Date;
|
1564
1577
|
updatedAt: Date;
|
1565
1578
|
deletedAt: Date | null;
|
@@ -1568,7 +1581,6 @@ export declare const messengerContract: {
|
|
1568
1581
|
bucketName: string;
|
1569
1582
|
fileSize: number;
|
1570
1583
|
fileUrl: string | null;
|
1571
|
-
status?: string | undefined;
|
1572
1584
|
}[];
|
1573
1585
|
}[];
|
1574
1586
|
company: {
|
@@ -2067,6 +2079,25 @@ export declare const messengerContract: {
|
|
2067
2079
|
isReloginRequired: z.ZodBoolean;
|
2068
2080
|
connectedUserName: z.ZodString;
|
2069
2081
|
connectedUserId: z.ZodString;
|
2082
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
2083
|
+
id: z.ZodString;
|
2084
|
+
name: z.ZodString;
|
2085
|
+
botId: z.ZodString;
|
2086
|
+
integrationId: z.ZodString;
|
2087
|
+
accessToken: z.ZodString;
|
2088
|
+
}, "strip", z.ZodTypeAny, {
|
2089
|
+
id: string;
|
2090
|
+
name: string;
|
2091
|
+
accessToken: string;
|
2092
|
+
botId: string;
|
2093
|
+
integrationId: string;
|
2094
|
+
}, {
|
2095
|
+
id: string;
|
2096
|
+
name: string;
|
2097
|
+
accessToken: string;
|
2098
|
+
botId: string;
|
2099
|
+
integrationId: string;
|
2100
|
+
}>>;
|
2070
2101
|
actor: z.ZodObject<{
|
2071
2102
|
id: z.ZodString;
|
2072
2103
|
createdAt: z.ZodDate;
|
@@ -2335,6 +2366,13 @@ export declare const messengerContract: {
|
|
2335
2366
|
isReloginRequired: boolean;
|
2336
2367
|
connectedUserName: string;
|
2337
2368
|
connectedUserId: string;
|
2369
|
+
botpressBot: {
|
2370
|
+
id: string;
|
2371
|
+
name: string;
|
2372
|
+
accessToken: string;
|
2373
|
+
botId: string;
|
2374
|
+
integrationId: string;
|
2375
|
+
} | null;
|
2338
2376
|
}, {
|
2339
2377
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2340
2378
|
id: string;
|
@@ -2399,6 +2437,13 @@ export declare const messengerContract: {
|
|
2399
2437
|
isReloginRequired: boolean;
|
2400
2438
|
connectedUserName: string;
|
2401
2439
|
connectedUserId: string;
|
2440
|
+
botpressBot: {
|
2441
|
+
id: string;
|
2442
|
+
name: string;
|
2443
|
+
accessToken: string;
|
2444
|
+
botId: string;
|
2445
|
+
integrationId: string;
|
2446
|
+
} | null;
|
2402
2447
|
}>;
|
2403
2448
|
cxlog: z.ZodObject<{
|
2404
2449
|
id: z.ZodString;
|
@@ -2910,6 +2955,13 @@ export declare const messengerContract: {
|
|
2910
2955
|
isReloginRequired: boolean;
|
2911
2956
|
connectedUserName: string;
|
2912
2957
|
connectedUserId: string;
|
2958
|
+
botpressBot: {
|
2959
|
+
id: string;
|
2960
|
+
name: string;
|
2961
|
+
accessToken: string;
|
2962
|
+
botId: string;
|
2963
|
+
integrationId: string;
|
2964
|
+
} | null;
|
2913
2965
|
};
|
2914
2966
|
direction: "incoming" | "outgoing" | "system";
|
2915
2967
|
status: number;
|
@@ -3011,6 +3063,7 @@ export declare const messengerContract: {
|
|
3011
3063
|
dateValue: Date | null;
|
3012
3064
|
uploads: {
|
3013
3065
|
id: string;
|
3066
|
+
status: string | null;
|
3014
3067
|
createdAt: Date;
|
3015
3068
|
updatedAt: Date;
|
3016
3069
|
deletedAt: Date | null;
|
@@ -3019,7 +3072,6 @@ export declare const messengerContract: {
|
|
3019
3072
|
bucketName: string;
|
3020
3073
|
fileSize: number;
|
3021
3074
|
fileUrl: string | null;
|
3022
|
-
status?: string | undefined;
|
3023
3075
|
}[];
|
3024
3076
|
}[];
|
3025
3077
|
company: {
|
@@ -3124,6 +3176,7 @@ export declare const messengerContract: {
|
|
3124
3176
|
};
|
3125
3177
|
closedAt: Date;
|
3126
3178
|
lastMessageAt: Date | null;
|
3179
|
+
isBotRoom: boolean;
|
3127
3180
|
cxlog: {
|
3128
3181
|
id: string;
|
3129
3182
|
channel: string | null;
|
@@ -3268,6 +3321,13 @@ export declare const messengerContract: {
|
|
3268
3321
|
isReloginRequired: boolean;
|
3269
3322
|
connectedUserName: string;
|
3270
3323
|
connectedUserId: string;
|
3324
|
+
botpressBot: {
|
3325
|
+
id: string;
|
3326
|
+
name: string;
|
3327
|
+
accessToken: string;
|
3328
|
+
botId: string;
|
3329
|
+
integrationId: string;
|
3330
|
+
} | null;
|
3271
3331
|
};
|
3272
3332
|
direction: "incoming" | "outgoing" | "system";
|
3273
3333
|
status: number;
|
@@ -3369,6 +3429,7 @@ export declare const messengerContract: {
|
|
3369
3429
|
dateValue: Date | null;
|
3370
3430
|
uploads: {
|
3371
3431
|
id: string;
|
3432
|
+
status: string | null;
|
3372
3433
|
createdAt: Date;
|
3373
3434
|
updatedAt: Date;
|
3374
3435
|
deletedAt: Date | null;
|
@@ -3377,7 +3438,6 @@ export declare const messengerContract: {
|
|
3377
3438
|
bucketName: string;
|
3378
3439
|
fileSize: number;
|
3379
3440
|
fileUrl: string | null;
|
3380
|
-
status?: string | undefined;
|
3381
3441
|
}[];
|
3382
3442
|
}[];
|
3383
3443
|
company: {
|
@@ -3482,6 +3542,7 @@ export declare const messengerContract: {
|
|
3482
3542
|
};
|
3483
3543
|
closedAt: Date;
|
3484
3544
|
lastMessageAt: Date | null;
|
3545
|
+
isBotRoom: boolean;
|
3485
3546
|
cxlog: {
|
3486
3547
|
id: string;
|
3487
3548
|
channel: string | null;
|
@@ -3571,9 +3632,10 @@ export declare const messengerContract: {
|
|
3571
3632
|
fileSize: z.ZodNumber;
|
3572
3633
|
fileKey: z.ZodString;
|
3573
3634
|
fileUrl: z.ZodNullable<z.ZodString>;
|
3574
|
-
status: z.
|
3635
|
+
status: z.ZodNullable<z.ZodString>;
|
3575
3636
|
}, "strip", z.ZodTypeAny, {
|
3576
3637
|
id: string;
|
3638
|
+
status: string | null;
|
3577
3639
|
createdAt: Date;
|
3578
3640
|
updatedAt: Date;
|
3579
3641
|
deletedAt: Date | null;
|
@@ -3582,9 +3644,9 @@ export declare const messengerContract: {
|
|
3582
3644
|
bucketName: string;
|
3583
3645
|
fileSize: number;
|
3584
3646
|
fileUrl: string | null;
|
3585
|
-
status?: string | undefined;
|
3586
3647
|
}, {
|
3587
3648
|
id: string;
|
3649
|
+
status: string | null;
|
3588
3650
|
createdAt: Date;
|
3589
3651
|
updatedAt: Date;
|
3590
3652
|
deletedAt: Date | null;
|
@@ -3593,7 +3655,6 @@ export declare const messengerContract: {
|
|
3593
3655
|
bucketName: string;
|
3594
3656
|
fileSize: number;
|
3595
3657
|
fileUrl: string | null;
|
3596
|
-
status?: string | undefined;
|
3597
3658
|
}>;
|
3598
3659
|
repliedMessage: z.ZodLazy<z.ZodObject<{
|
3599
3660
|
id: z.ZodString;
|
@@ -3602,7 +3663,7 @@ export declare const messengerContract: {
|
|
3602
3663
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3603
3664
|
message: z.ZodString;
|
3604
3665
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3605
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
3666
|
+
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"]>;
|
3606
3667
|
readAt: z.ZodDate;
|
3607
3668
|
metadata: z.ZodAny;
|
3608
3669
|
platformId: z.ZodString;
|
@@ -3623,9 +3684,10 @@ export declare const messengerContract: {
|
|
3623
3684
|
fileSize: z.ZodNumber;
|
3624
3685
|
fileKey: z.ZodString;
|
3625
3686
|
fileUrl: z.ZodNullable<z.ZodString>;
|
3626
|
-
status: z.
|
3687
|
+
status: z.ZodNullable<z.ZodString>;
|
3627
3688
|
}, "strip", z.ZodTypeAny, {
|
3628
3689
|
id: string;
|
3690
|
+
status: string | null;
|
3629
3691
|
createdAt: Date;
|
3630
3692
|
updatedAt: Date;
|
3631
3693
|
deletedAt: Date | null;
|
@@ -3634,9 +3696,9 @@ export declare const messengerContract: {
|
|
3634
3696
|
bucketName: string;
|
3635
3697
|
fileSize: number;
|
3636
3698
|
fileUrl: string | null;
|
3637
|
-
status?: string | undefined;
|
3638
3699
|
}, {
|
3639
3700
|
id: string;
|
3701
|
+
status: string | null;
|
3640
3702
|
createdAt: Date;
|
3641
3703
|
updatedAt: Date;
|
3642
3704
|
deletedAt: Date | null;
|
@@ -3645,7 +3707,6 @@ export declare const messengerContract: {
|
|
3645
3707
|
bucketName: string;
|
3646
3708
|
fileSize: number;
|
3647
3709
|
fileUrl: string | null;
|
3648
|
-
status?: string | undefined;
|
3649
3710
|
}>;
|
3650
3711
|
actor: z.ZodObject<{
|
3651
3712
|
id: z.ZodString;
|
@@ -4260,7 +4321,7 @@ export declare const messengerContract: {
|
|
4260
4321
|
};
|
4261
4322
|
}>;
|
4262
4323
|
}, "strip", z.ZodTypeAny, {
|
4263
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
4324
|
+
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";
|
4264
4325
|
message: string;
|
4265
4326
|
id: string;
|
4266
4327
|
url: string;
|
@@ -4312,9 +4373,9 @@ export declare const messengerContract: {
|
|
4312
4373
|
telephonySignature: string | null;
|
4313
4374
|
};
|
4314
4375
|
};
|
4315
|
-
platformId: string;
|
4316
4376
|
upload: {
|
4317
4377
|
id: string;
|
4378
|
+
status: string | null;
|
4318
4379
|
createdAt: Date;
|
4319
4380
|
updatedAt: Date;
|
4320
4381
|
deletedAt: Date | null;
|
@@ -4323,7 +4384,6 @@ export declare const messengerContract: {
|
|
4323
4384
|
bucketName: string;
|
4324
4385
|
fileSize: number;
|
4325
4386
|
fileUrl: string | null;
|
4326
|
-
status?: string | undefined;
|
4327
4387
|
};
|
4328
4388
|
assignee: {
|
4329
4389
|
id: string;
|
@@ -4369,6 +4429,7 @@ export declare const messengerContract: {
|
|
4369
4429
|
telephonySignature: string | null;
|
4370
4430
|
};
|
4371
4431
|
};
|
4432
|
+
platformId: string;
|
4372
4433
|
readAt: Date;
|
4373
4434
|
platformMessageId: string;
|
4374
4435
|
replyPlatformMessageId: string;
|
@@ -4422,7 +4483,7 @@ export declare const messengerContract: {
|
|
4422
4483
|
metadata?: any;
|
4423
4484
|
template?: any;
|
4424
4485
|
}, {
|
4425
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
4486
|
+
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";
|
4426
4487
|
message: string;
|
4427
4488
|
id: string;
|
4428
4489
|
url: string;
|
@@ -4474,9 +4535,9 @@ export declare const messengerContract: {
|
|
4474
4535
|
telephonySignature: string | null;
|
4475
4536
|
};
|
4476
4537
|
};
|
4477
|
-
platformId: string;
|
4478
4538
|
upload: {
|
4479
4539
|
id: string;
|
4540
|
+
status: string | null;
|
4480
4541
|
createdAt: Date;
|
4481
4542
|
updatedAt: Date;
|
4482
4543
|
deletedAt: Date | null;
|
@@ -4485,7 +4546,6 @@ export declare const messengerContract: {
|
|
4485
4546
|
bucketName: string;
|
4486
4547
|
fileSize: number;
|
4487
4548
|
fileUrl: string | null;
|
4488
|
-
status?: string | undefined;
|
4489
4549
|
};
|
4490
4550
|
assignee: {
|
4491
4551
|
id: string;
|
@@ -4531,6 +4591,7 @@ export declare const messengerContract: {
|
|
4531
4591
|
telephonySignature: string | null;
|
4532
4592
|
};
|
4533
4593
|
};
|
4594
|
+
platformId: string;
|
4534
4595
|
readAt: Date;
|
4535
4596
|
platformMessageId: string;
|
4536
4597
|
replyPlatformMessageId: string;
|
@@ -5222,7 +5283,7 @@ export declare const messengerContract: {
|
|
5222
5283
|
isActive: boolean;
|
5223
5284
|
}>;
|
5224
5285
|
}, "strip", z.ZodTypeAny, {
|
5225
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5286
|
+
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";
|
5226
5287
|
message: string;
|
5227
5288
|
id: string;
|
5228
5289
|
url: string;
|
@@ -5274,9 +5335,9 @@ export declare const messengerContract: {
|
|
5274
5335
|
telephonySignature: string | null;
|
5275
5336
|
};
|
5276
5337
|
};
|
5277
|
-
platformId: string;
|
5278
5338
|
upload: {
|
5279
5339
|
id: string;
|
5340
|
+
status: string | null;
|
5280
5341
|
createdAt: Date;
|
5281
5342
|
updatedAt: Date;
|
5282
5343
|
deletedAt: Date | null;
|
@@ -5285,7 +5346,6 @@ export declare const messengerContract: {
|
|
5285
5346
|
bucketName: string;
|
5286
5347
|
fileSize: number;
|
5287
5348
|
fileUrl: string | null;
|
5288
|
-
status?: string | undefined;
|
5289
5349
|
};
|
5290
5350
|
assignee: {
|
5291
5351
|
id: string;
|
@@ -5331,6 +5391,7 @@ export declare const messengerContract: {
|
|
5331
5391
|
telephonySignature: string | null;
|
5332
5392
|
};
|
5333
5393
|
};
|
5394
|
+
platformId: string;
|
5334
5395
|
room: {
|
5335
5396
|
id: string;
|
5336
5397
|
channel: {
|
@@ -5397,6 +5458,13 @@ export declare const messengerContract: {
|
|
5397
5458
|
isReloginRequired: boolean;
|
5398
5459
|
connectedUserName: string;
|
5399
5460
|
connectedUserId: string;
|
5461
|
+
botpressBot: {
|
5462
|
+
id: string;
|
5463
|
+
name: string;
|
5464
|
+
accessToken: string;
|
5465
|
+
botId: string;
|
5466
|
+
integrationId: string;
|
5467
|
+
} | null;
|
5400
5468
|
};
|
5401
5469
|
direction: "incoming" | "outgoing" | "system";
|
5402
5470
|
status: number;
|
@@ -5498,6 +5566,7 @@ export declare const messengerContract: {
|
|
5498
5566
|
dateValue: Date | null;
|
5499
5567
|
uploads: {
|
5500
5568
|
id: string;
|
5569
|
+
status: string | null;
|
5501
5570
|
createdAt: Date;
|
5502
5571
|
updatedAt: Date;
|
5503
5572
|
deletedAt: Date | null;
|
@@ -5506,7 +5575,6 @@ export declare const messengerContract: {
|
|
5506
5575
|
bucketName: string;
|
5507
5576
|
fileSize: number;
|
5508
5577
|
fileUrl: string | null;
|
5509
|
-
status?: string | undefined;
|
5510
5578
|
}[];
|
5511
5579
|
}[];
|
5512
5580
|
company: {
|
@@ -5611,6 +5679,7 @@ export declare const messengerContract: {
|
|
5611
5679
|
};
|
5612
5680
|
closedAt: Date;
|
5613
5681
|
lastMessageAt: Date | null;
|
5682
|
+
isBotRoom: boolean;
|
5614
5683
|
cxlog: {
|
5615
5684
|
id: string;
|
5616
5685
|
channel: string | null;
|
@@ -5706,7 +5775,7 @@ export declare const messengerContract: {
|
|
5706
5775
|
previewUrl: string;
|
5707
5776
|
imageSetId: string;
|
5708
5777
|
repliedMessage: {
|
5709
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5778
|
+
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";
|
5710
5779
|
message: string;
|
5711
5780
|
id: string;
|
5712
5781
|
url: string;
|
@@ -5758,9 +5827,9 @@ export declare const messengerContract: {
|
|
5758
5827
|
telephonySignature: string | null;
|
5759
5828
|
};
|
5760
5829
|
};
|
5761
|
-
platformId: string;
|
5762
5830
|
upload: {
|
5763
5831
|
id: string;
|
5832
|
+
status: string | null;
|
5764
5833
|
createdAt: Date;
|
5765
5834
|
updatedAt: Date;
|
5766
5835
|
deletedAt: Date | null;
|
@@ -5769,7 +5838,6 @@ export declare const messengerContract: {
|
|
5769
5838
|
bucketName: string;
|
5770
5839
|
fileSize: number;
|
5771
5840
|
fileUrl: string | null;
|
5772
|
-
status?: string | undefined;
|
5773
5841
|
};
|
5774
5842
|
assignee: {
|
5775
5843
|
id: string;
|
@@ -5815,6 +5883,7 @@ export declare const messengerContract: {
|
|
5815
5883
|
telephonySignature: string | null;
|
5816
5884
|
};
|
5817
5885
|
};
|
5886
|
+
platformId: string;
|
5818
5887
|
readAt: Date;
|
5819
5888
|
platformMessageId: string;
|
5820
5889
|
replyPlatformMessageId: string;
|
@@ -5915,7 +5984,7 @@ export declare const messengerContract: {
|
|
5915
5984
|
metadata?: any;
|
5916
5985
|
template?: any;
|
5917
5986
|
}, {
|
5918
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5987
|
+
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";
|
5919
5988
|
message: string;
|
5920
5989
|
id: string;
|
5921
5990
|
url: string;
|
@@ -5967,9 +6036,9 @@ export declare const messengerContract: {
|
|
5967
6036
|
telephonySignature: string | null;
|
5968
6037
|
};
|
5969
6038
|
};
|
5970
|
-
platformId: string;
|
5971
6039
|
upload: {
|
5972
6040
|
id: string;
|
6041
|
+
status: string | null;
|
5973
6042
|
createdAt: Date;
|
5974
6043
|
updatedAt: Date;
|
5975
6044
|
deletedAt: Date | null;
|
@@ -5978,7 +6047,6 @@ export declare const messengerContract: {
|
|
5978
6047
|
bucketName: string;
|
5979
6048
|
fileSize: number;
|
5980
6049
|
fileUrl: string | null;
|
5981
|
-
status?: string | undefined;
|
5982
6050
|
};
|
5983
6051
|
assignee: {
|
5984
6052
|
id: string;
|
@@ -6024,6 +6092,7 @@ export declare const messengerContract: {
|
|
6024
6092
|
telephonySignature: string | null;
|
6025
6093
|
};
|
6026
6094
|
};
|
6095
|
+
platformId: string;
|
6027
6096
|
room: {
|
6028
6097
|
id: string;
|
6029
6098
|
channel: {
|
@@ -6090,6 +6159,13 @@ export declare const messengerContract: {
|
|
6090
6159
|
isReloginRequired: boolean;
|
6091
6160
|
connectedUserName: string;
|
6092
6161
|
connectedUserId: string;
|
6162
|
+
botpressBot: {
|
6163
|
+
id: string;
|
6164
|
+
name: string;
|
6165
|
+
accessToken: string;
|
6166
|
+
botId: string;
|
6167
|
+
integrationId: string;
|
6168
|
+
} | null;
|
6093
6169
|
};
|
6094
6170
|
direction: "incoming" | "outgoing" | "system";
|
6095
6171
|
status: number;
|
@@ -6191,6 +6267,7 @@ export declare const messengerContract: {
|
|
6191
6267
|
dateValue: Date | null;
|
6192
6268
|
uploads: {
|
6193
6269
|
id: string;
|
6270
|
+
status: string | null;
|
6194
6271
|
createdAt: Date;
|
6195
6272
|
updatedAt: Date;
|
6196
6273
|
deletedAt: Date | null;
|
@@ -6199,7 +6276,6 @@ export declare const messengerContract: {
|
|
6199
6276
|
bucketName: string;
|
6200
6277
|
fileSize: number;
|
6201
6278
|
fileUrl: string | null;
|
6202
|
-
status?: string | undefined;
|
6203
6279
|
}[];
|
6204
6280
|
}[];
|
6205
6281
|
company: {
|
@@ -6304,6 +6380,7 @@ export declare const messengerContract: {
|
|
6304
6380
|
};
|
6305
6381
|
closedAt: Date;
|
6306
6382
|
lastMessageAt: Date | null;
|
6383
|
+
isBotRoom: boolean;
|
6307
6384
|
cxlog: {
|
6308
6385
|
id: string;
|
6309
6386
|
channel: string | null;
|
@@ -6399,7 +6476,7 @@ export declare const messengerContract: {
|
|
6399
6476
|
previewUrl: string;
|
6400
6477
|
imageSetId: string;
|
6401
6478
|
repliedMessage: {
|
6402
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6479
|
+
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";
|
6403
6480
|
message: string;
|
6404
6481
|
id: string;
|
6405
6482
|
url: string;
|
@@ -6451,9 +6528,9 @@ export declare const messengerContract: {
|
|
6451
6528
|
telephonySignature: string | null;
|
6452
6529
|
};
|
6453
6530
|
};
|
6454
|
-
platformId: string;
|
6455
6531
|
upload: {
|
6456
6532
|
id: string;
|
6533
|
+
status: string | null;
|
6457
6534
|
createdAt: Date;
|
6458
6535
|
updatedAt: Date;
|
6459
6536
|
deletedAt: Date | null;
|
@@ -6462,7 +6539,6 @@ export declare const messengerContract: {
|
|
6462
6539
|
bucketName: string;
|
6463
6540
|
fileSize: number;
|
6464
6541
|
fileUrl: string | null;
|
6465
|
-
status?: string | undefined;
|
6466
6542
|
};
|
6467
6543
|
assignee: {
|
6468
6544
|
id: string;
|
@@ -6508,6 +6584,7 @@ export declare const messengerContract: {
|
|
6508
6584
|
telephonySignature: string | null;
|
6509
6585
|
};
|
6510
6586
|
};
|
6587
|
+
platformId: string;
|
6511
6588
|
readAt: Date;
|
6512
6589
|
platformMessageId: string;
|
6513
6590
|
replyPlatformMessageId: string;
|
@@ -6610,7 +6687,7 @@ export declare const messengerContract: {
|
|
6610
6687
|
}>;
|
6611
6688
|
}, "strip", z.ZodTypeAny, {
|
6612
6689
|
data: {
|
6613
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6690
|
+
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";
|
6614
6691
|
message: string;
|
6615
6692
|
id: string;
|
6616
6693
|
url: string;
|
@@ -6662,9 +6739,9 @@ export declare const messengerContract: {
|
|
6662
6739
|
telephonySignature: string | null;
|
6663
6740
|
};
|
6664
6741
|
};
|
6665
|
-
platformId: string;
|
6666
6742
|
upload: {
|
6667
6743
|
id: string;
|
6744
|
+
status: string | null;
|
6668
6745
|
createdAt: Date;
|
6669
6746
|
updatedAt: Date;
|
6670
6747
|
deletedAt: Date | null;
|
@@ -6673,7 +6750,6 @@ export declare const messengerContract: {
|
|
6673
6750
|
bucketName: string;
|
6674
6751
|
fileSize: number;
|
6675
6752
|
fileUrl: string | null;
|
6676
|
-
status?: string | undefined;
|
6677
6753
|
};
|
6678
6754
|
assignee: {
|
6679
6755
|
id: string;
|
@@ -6719,6 +6795,7 @@ export declare const messengerContract: {
|
|
6719
6795
|
telephonySignature: string | null;
|
6720
6796
|
};
|
6721
6797
|
};
|
6798
|
+
platformId: string;
|
6722
6799
|
room: {
|
6723
6800
|
id: string;
|
6724
6801
|
channel: {
|
@@ -6785,6 +6862,13 @@ export declare const messengerContract: {
|
|
6785
6862
|
isReloginRequired: boolean;
|
6786
6863
|
connectedUserName: string;
|
6787
6864
|
connectedUserId: string;
|
6865
|
+
botpressBot: {
|
6866
|
+
id: string;
|
6867
|
+
name: string;
|
6868
|
+
accessToken: string;
|
6869
|
+
botId: string;
|
6870
|
+
integrationId: string;
|
6871
|
+
} | null;
|
6788
6872
|
};
|
6789
6873
|
direction: "incoming" | "outgoing" | "system";
|
6790
6874
|
status: number;
|
@@ -6886,6 +6970,7 @@ export declare const messengerContract: {
|
|
6886
6970
|
dateValue: Date | null;
|
6887
6971
|
uploads: {
|
6888
6972
|
id: string;
|
6973
|
+
status: string | null;
|
6889
6974
|
createdAt: Date;
|
6890
6975
|
updatedAt: Date;
|
6891
6976
|
deletedAt: Date | null;
|
@@ -6894,7 +6979,6 @@ export declare const messengerContract: {
|
|
6894
6979
|
bucketName: string;
|
6895
6980
|
fileSize: number;
|
6896
6981
|
fileUrl: string | null;
|
6897
|
-
status?: string | undefined;
|
6898
6982
|
}[];
|
6899
6983
|
}[];
|
6900
6984
|
company: {
|
@@ -6999,6 +7083,7 @@ export declare const messengerContract: {
|
|
6999
7083
|
};
|
7000
7084
|
closedAt: Date;
|
7001
7085
|
lastMessageAt: Date | null;
|
7086
|
+
isBotRoom: boolean;
|
7002
7087
|
cxlog: {
|
7003
7088
|
id: string;
|
7004
7089
|
channel: string | null;
|
@@ -7094,7 +7179,7 @@ export declare const messengerContract: {
|
|
7094
7179
|
previewUrl: string;
|
7095
7180
|
imageSetId: string;
|
7096
7181
|
repliedMessage: {
|
7097
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7182
|
+
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";
|
7098
7183
|
message: string;
|
7099
7184
|
id: string;
|
7100
7185
|
url: string;
|
@@ -7146,9 +7231,9 @@ export declare const messengerContract: {
|
|
7146
7231
|
telephonySignature: string | null;
|
7147
7232
|
};
|
7148
7233
|
};
|
7149
|
-
platformId: string;
|
7150
7234
|
upload: {
|
7151
7235
|
id: string;
|
7236
|
+
status: string | null;
|
7152
7237
|
createdAt: Date;
|
7153
7238
|
updatedAt: Date;
|
7154
7239
|
deletedAt: Date | null;
|
@@ -7157,7 +7242,6 @@ export declare const messengerContract: {
|
|
7157
7242
|
bucketName: string;
|
7158
7243
|
fileSize: number;
|
7159
7244
|
fileUrl: string | null;
|
7160
|
-
status?: string | undefined;
|
7161
7245
|
};
|
7162
7246
|
assignee: {
|
7163
7247
|
id: string;
|
@@ -7203,6 +7287,7 @@ export declare const messengerContract: {
|
|
7203
7287
|
telephonySignature: string | null;
|
7204
7288
|
};
|
7205
7289
|
};
|
7290
|
+
platformId: string;
|
7206
7291
|
readAt: Date;
|
7207
7292
|
platformMessageId: string;
|
7208
7293
|
replyPlatformMessageId: string;
|
@@ -7306,7 +7391,7 @@ export declare const messengerContract: {
|
|
7306
7391
|
requestId: string;
|
7307
7392
|
}, {
|
7308
7393
|
data: {
|
7309
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7394
|
+
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";
|
7310
7395
|
message: string;
|
7311
7396
|
id: string;
|
7312
7397
|
url: string;
|
@@ -7358,9 +7443,9 @@ export declare const messengerContract: {
|
|
7358
7443
|
telephonySignature: string | null;
|
7359
7444
|
};
|
7360
7445
|
};
|
7361
|
-
platformId: string;
|
7362
7446
|
upload: {
|
7363
7447
|
id: string;
|
7448
|
+
status: string | null;
|
7364
7449
|
createdAt: Date;
|
7365
7450
|
updatedAt: Date;
|
7366
7451
|
deletedAt: Date | null;
|
@@ -7369,7 +7454,6 @@ export declare const messengerContract: {
|
|
7369
7454
|
bucketName: string;
|
7370
7455
|
fileSize: number;
|
7371
7456
|
fileUrl: string | null;
|
7372
|
-
status?: string | undefined;
|
7373
7457
|
};
|
7374
7458
|
assignee: {
|
7375
7459
|
id: string;
|
@@ -7415,6 +7499,7 @@ export declare const messengerContract: {
|
|
7415
7499
|
telephonySignature: string | null;
|
7416
7500
|
};
|
7417
7501
|
};
|
7502
|
+
platformId: string;
|
7418
7503
|
room: {
|
7419
7504
|
id: string;
|
7420
7505
|
channel: {
|
@@ -7481,6 +7566,13 @@ export declare const messengerContract: {
|
|
7481
7566
|
isReloginRequired: boolean;
|
7482
7567
|
connectedUserName: string;
|
7483
7568
|
connectedUserId: string;
|
7569
|
+
botpressBot: {
|
7570
|
+
id: string;
|
7571
|
+
name: string;
|
7572
|
+
accessToken: string;
|
7573
|
+
botId: string;
|
7574
|
+
integrationId: string;
|
7575
|
+
} | null;
|
7484
7576
|
};
|
7485
7577
|
direction: "incoming" | "outgoing" | "system";
|
7486
7578
|
status: number;
|
@@ -7582,6 +7674,7 @@ export declare const messengerContract: {
|
|
7582
7674
|
dateValue: Date | null;
|
7583
7675
|
uploads: {
|
7584
7676
|
id: string;
|
7677
|
+
status: string | null;
|
7585
7678
|
createdAt: Date;
|
7586
7679
|
updatedAt: Date;
|
7587
7680
|
deletedAt: Date | null;
|
@@ -7590,7 +7683,6 @@ export declare const messengerContract: {
|
|
7590
7683
|
bucketName: string;
|
7591
7684
|
fileSize: number;
|
7592
7685
|
fileUrl: string | null;
|
7593
|
-
status?: string | undefined;
|
7594
7686
|
}[];
|
7595
7687
|
}[];
|
7596
7688
|
company: {
|
@@ -7695,6 +7787,7 @@ export declare const messengerContract: {
|
|
7695
7787
|
};
|
7696
7788
|
closedAt: Date;
|
7697
7789
|
lastMessageAt: Date | null;
|
7790
|
+
isBotRoom: boolean;
|
7698
7791
|
cxlog: {
|
7699
7792
|
id: string;
|
7700
7793
|
channel: string | null;
|
@@ -7790,7 +7883,7 @@ export declare const messengerContract: {
|
|
7790
7883
|
previewUrl: string;
|
7791
7884
|
imageSetId: string;
|
7792
7885
|
repliedMessage: {
|
7793
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7886
|
+
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";
|
7794
7887
|
message: string;
|
7795
7888
|
id: string;
|
7796
7889
|
url: string;
|
@@ -7842,9 +7935,9 @@ export declare const messengerContract: {
|
|
7842
7935
|
telephonySignature: string | null;
|
7843
7936
|
};
|
7844
7937
|
};
|
7845
|
-
platformId: string;
|
7846
7938
|
upload: {
|
7847
7939
|
id: string;
|
7940
|
+
status: string | null;
|
7848
7941
|
createdAt: Date;
|
7849
7942
|
updatedAt: Date;
|
7850
7943
|
deletedAt: Date | null;
|
@@ -7853,7 +7946,6 @@ export declare const messengerContract: {
|
|
7853
7946
|
bucketName: string;
|
7854
7947
|
fileSize: number;
|
7855
7948
|
fileUrl: string | null;
|
7856
|
-
status?: string | undefined;
|
7857
7949
|
};
|
7858
7950
|
assignee: {
|
7859
7951
|
id: string;
|
@@ -7899,6 +7991,7 @@ export declare const messengerContract: {
|
|
7899
7991
|
telephonySignature: string | null;
|
7900
7992
|
};
|
7901
7993
|
};
|
7994
|
+
platformId: string;
|
7902
7995
|
readAt: Date;
|
7903
7996
|
platformMessageId: string;
|
7904
7997
|
replyPlatformMessageId: string;
|
@@ -9335,5 +9428,38 @@ export declare const messengerContract: {
|
|
9335
9428
|
};
|
9336
9429
|
path: "/pages";
|
9337
9430
|
};
|
9431
|
+
setBotPersistentMenu: {
|
9432
|
+
body: z.ZodObject<{
|
9433
|
+
psid: z.ZodString;
|
9434
|
+
pageAccessToken: z.ZodString;
|
9435
|
+
}, "strip", z.ZodTypeAny, {
|
9436
|
+
psid: string;
|
9437
|
+
pageAccessToken: string;
|
9438
|
+
}, {
|
9439
|
+
psid: string;
|
9440
|
+
pageAccessToken: string;
|
9441
|
+
}>;
|
9442
|
+
method: "POST";
|
9443
|
+
responses: {
|
9444
|
+
200: z.ZodObject<{
|
9445
|
+
requestId: z.ZodString;
|
9446
|
+
}, "strip", z.ZodTypeAny, {
|
9447
|
+
requestId: string;
|
9448
|
+
}, {
|
9449
|
+
requestId: string;
|
9450
|
+
}>;
|
9451
|
+
500: z.ZodObject<{
|
9452
|
+
message: z.ZodString;
|
9453
|
+
error: z.ZodAny;
|
9454
|
+
}, "strip", z.ZodTypeAny, {
|
9455
|
+
message: string;
|
9456
|
+
error?: any;
|
9457
|
+
}, {
|
9458
|
+
message: string;
|
9459
|
+
error?: any;
|
9460
|
+
}>;
|
9461
|
+
};
|
9462
|
+
path: "/set-bot-persistent-menu";
|
9463
|
+
};
|
9338
9464
|
};
|
9339
9465
|
//# sourceMappingURL=index.d.ts.map
|