@kl1/contracts 1.1.28 → 1.1.29
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 +2955 -2729
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2950 -2728
- package/dist/index.mjs.map +1 -1
- package/dist/src/botpress/index.d.ts +14 -14
- package/dist/src/botpress/validation.d.ts +14 -14
- package/dist/src/botpress/validation.d.ts.map +1 -1
- package/dist/src/channel/index.d.ts +1687 -0
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +44 -0
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +12 -0
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +883 -59
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +152 -20
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +228 -61
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +2558 -282
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +86 -0
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +70 -0
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +286 -53
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/instagram/validation.d.ts +7 -0
- package/dist/src/instagram/validation.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +282 -58
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/line/validation.d.ts +31 -5
- package/dist/src/line/validation.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +291 -54
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +48 -0
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +346 -53
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/webchat/index.d.ts +226 -53
- package/dist/src/webchat/index.d.ts.map +1 -1
- package/dist/src/workflow-rule/index.d.ts +150 -0
- package/dist/src/workflow-rule/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/src/contract2.d.ts +0 -2
- package/dist/src/contract2.d.ts.map +0 -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?: {
|
@@ -663,24 +663,28 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
663
663
|
accessToken: z.ZodOptional<z.ZodString>;
|
664
664
|
channelSecret: z.ZodOptional<z.ZodString>;
|
665
665
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
666
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
666
667
|
}, "strip", z.ZodTypeAny, {
|
667
668
|
id: string;
|
668
669
|
name: string;
|
669
670
|
accessToken?: string | undefined;
|
670
671
|
channelSecret?: string | undefined;
|
671
672
|
additionalCredentials?: any;
|
673
|
+
lineRichMenuId?: string | null | undefined;
|
672
674
|
}, {
|
673
675
|
id: string;
|
674
676
|
name: string;
|
675
677
|
accessToken?: string | undefined;
|
676
678
|
channelSecret?: string | undefined;
|
677
679
|
additionalCredentials?: any;
|
680
|
+
lineRichMenuId?: string | null | undefined;
|
678
681
|
}>;
|
679
682
|
platformId: z.ZodString;
|
680
683
|
brandName: z.ZodString;
|
681
684
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
682
685
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
683
686
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
687
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
684
688
|
actor: z.ZodOptional<z.ZodObject<{
|
685
689
|
id: z.ZodString;
|
686
690
|
name: z.ZodString;
|
@@ -710,12 +714,14 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
710
714
|
accessToken?: string | undefined;
|
711
715
|
channelSecret?: string | undefined;
|
712
716
|
additionalCredentials?: any;
|
717
|
+
lineRichMenuId?: string | null | undefined;
|
713
718
|
};
|
714
719
|
status: boolean;
|
715
720
|
brandName: string;
|
716
721
|
platformId: string;
|
717
722
|
connectedUserName?: string | null | undefined;
|
718
723
|
connectedUserId?: string | null | undefined;
|
724
|
+
lineRichMenuId?: string | null | undefined;
|
719
725
|
actor?: {
|
720
726
|
id: string;
|
721
727
|
address: string | null;
|
@@ -733,12 +739,14 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
733
739
|
accessToken?: string | undefined;
|
734
740
|
channelSecret?: string | undefined;
|
735
741
|
additionalCredentials?: any;
|
742
|
+
lineRichMenuId?: string | null | undefined;
|
736
743
|
};
|
737
744
|
status: boolean;
|
738
745
|
brandName: string;
|
739
746
|
platformId: string;
|
740
747
|
connectedUserName?: string | null | undefined;
|
741
748
|
connectedUserId?: string | null | undefined;
|
749
|
+
lineRichMenuId?: string | null | undefined;
|
742
750
|
actor?: {
|
743
751
|
id: string;
|
744
752
|
address: string | null;
|
@@ -756,18 +764,21 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
756
764
|
accessToken: z.ZodOptional<z.ZodString>;
|
757
765
|
channelSecret: z.ZodOptional<z.ZodString>;
|
758
766
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
767
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
759
768
|
}, "strip", z.ZodTypeAny, {
|
760
769
|
id: string;
|
761
770
|
name: string;
|
762
771
|
accessToken?: string | undefined;
|
763
772
|
channelSecret?: string | undefined;
|
764
773
|
additionalCredentials?: any;
|
774
|
+
lineRichMenuId?: string | null | undefined;
|
765
775
|
}, {
|
766
776
|
id: string;
|
767
777
|
name: string;
|
768
778
|
accessToken?: string | undefined;
|
769
779
|
channelSecret?: string | undefined;
|
770
780
|
additionalCredentials?: any;
|
781
|
+
lineRichMenuId?: string | null | undefined;
|
771
782
|
}>;
|
772
783
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
773
784
|
actor: z.ZodOptional<z.ZodObject<{
|
@@ -789,6 +800,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
789
800
|
email: string;
|
790
801
|
phone: string | null;
|
791
802
|
}>>;
|
803
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
792
804
|
brandName: z.ZodString;
|
793
805
|
platformId: z.ZodString;
|
794
806
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
@@ -808,6 +820,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
808
820
|
accessToken?: string | undefined;
|
809
821
|
channelSecret?: string | undefined;
|
810
822
|
additionalCredentials?: any;
|
823
|
+
lineRichMenuId?: string | null | undefined;
|
811
824
|
};
|
812
825
|
status: boolean;
|
813
826
|
createdAt: string;
|
@@ -823,6 +836,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
823
836
|
email: string;
|
824
837
|
phone: string | null;
|
825
838
|
} | undefined;
|
839
|
+
lineRichMenuId?: string | null | undefined;
|
826
840
|
connectedUserName?: string | null | undefined;
|
827
841
|
connectedUserId?: string | null | undefined;
|
828
842
|
}, {
|
@@ -835,6 +849,7 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
835
849
|
accessToken?: string | undefined;
|
836
850
|
channelSecret?: string | undefined;
|
837
851
|
additionalCredentials?: any;
|
852
|
+
lineRichMenuId?: string | null | undefined;
|
838
853
|
};
|
839
854
|
status: boolean;
|
840
855
|
createdAt: string;
|
@@ -850,10 +865,12 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
850
865
|
email: string;
|
851
866
|
phone: string | null;
|
852
867
|
} | undefined;
|
868
|
+
lineRichMenuId?: string | null | undefined;
|
853
869
|
connectedUserName?: string | null | undefined;
|
854
870
|
connectedUserId?: string | null | undefined;
|
855
871
|
}>;
|
856
872
|
export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
873
|
+
isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
857
874
|
room: z.ZodObject<{
|
858
875
|
id: z.ZodString;
|
859
876
|
lastMessage: z.ZodOptional<z.ZodString>;
|
@@ -987,24 +1004,28 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
987
1004
|
accessToken: z.ZodOptional<z.ZodString>;
|
988
1005
|
channelSecret: z.ZodOptional<z.ZodString>;
|
989
1006
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
1007
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
990
1008
|
}, "strip", z.ZodTypeAny, {
|
991
1009
|
id: string;
|
992
1010
|
name: string;
|
993
1011
|
accessToken?: string | undefined;
|
994
1012
|
channelSecret?: string | undefined;
|
995
1013
|
additionalCredentials?: any;
|
1014
|
+
lineRichMenuId?: string | null | undefined;
|
996
1015
|
}, {
|
997
1016
|
id: string;
|
998
1017
|
name: string;
|
999
1018
|
accessToken?: string | undefined;
|
1000
1019
|
channelSecret?: string | undefined;
|
1001
1020
|
additionalCredentials?: any;
|
1021
|
+
lineRichMenuId?: string | null | undefined;
|
1002
1022
|
}>;
|
1003
1023
|
platformId: z.ZodString;
|
1004
1024
|
brandName: z.ZodString;
|
1005
1025
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
1006
1026
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
1007
1027
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
1028
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
1008
1029
|
actor: z.ZodOptional<z.ZodObject<{
|
1009
1030
|
id: z.ZodString;
|
1010
1031
|
name: z.ZodString;
|
@@ -1034,12 +1055,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1034
1055
|
accessToken?: string | undefined;
|
1035
1056
|
channelSecret?: string | undefined;
|
1036
1057
|
additionalCredentials?: any;
|
1058
|
+
lineRichMenuId?: string | null | undefined;
|
1037
1059
|
};
|
1038
1060
|
status: boolean;
|
1039
1061
|
brandName: string;
|
1040
1062
|
platformId: string;
|
1041
1063
|
connectedUserName?: string | null | undefined;
|
1042
1064
|
connectedUserId?: string | null | undefined;
|
1065
|
+
lineRichMenuId?: string | null | undefined;
|
1043
1066
|
actor?: {
|
1044
1067
|
id: string;
|
1045
1068
|
address: string | null;
|
@@ -1057,12 +1080,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1057
1080
|
accessToken?: string | undefined;
|
1058
1081
|
channelSecret?: string | undefined;
|
1059
1082
|
additionalCredentials?: any;
|
1083
|
+
lineRichMenuId?: string | null | undefined;
|
1060
1084
|
};
|
1061
1085
|
status: boolean;
|
1062
1086
|
brandName: string;
|
1063
1087
|
platformId: string;
|
1064
1088
|
connectedUserName?: string | null | undefined;
|
1065
1089
|
connectedUserId?: string | null | undefined;
|
1090
|
+
lineRichMenuId?: string | null | undefined;
|
1066
1091
|
actor?: {
|
1067
1092
|
id: string;
|
1068
1093
|
address: string | null;
|
@@ -1084,12 +1109,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1084
1109
|
accessToken?: string | undefined;
|
1085
1110
|
channelSecret?: string | undefined;
|
1086
1111
|
additionalCredentials?: any;
|
1112
|
+
lineRichMenuId?: string | null | undefined;
|
1087
1113
|
};
|
1088
1114
|
status: boolean;
|
1089
1115
|
brandName: string;
|
1090
1116
|
platformId: string;
|
1091
1117
|
connectedUserName?: string | null | undefined;
|
1092
1118
|
connectedUserId?: string | null | undefined;
|
1119
|
+
lineRichMenuId?: string | null | undefined;
|
1093
1120
|
actor?: {
|
1094
1121
|
id: string;
|
1095
1122
|
address: string | null;
|
@@ -1150,12 +1177,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1150
1177
|
accessToken?: string | undefined;
|
1151
1178
|
channelSecret?: string | undefined;
|
1152
1179
|
additionalCredentials?: any;
|
1180
|
+
lineRichMenuId?: string | null | undefined;
|
1153
1181
|
};
|
1154
1182
|
status: boolean;
|
1155
1183
|
brandName: string;
|
1156
1184
|
platformId: string;
|
1157
1185
|
connectedUserName?: string | null | undefined;
|
1158
1186
|
connectedUserId?: string | null | undefined;
|
1187
|
+
lineRichMenuId?: string | null | undefined;
|
1159
1188
|
actor?: {
|
1160
1189
|
id: string;
|
1161
1190
|
address: string | null;
|
@@ -1208,7 +1237,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1208
1237
|
message: z.ZodObject<{
|
1209
1238
|
message: z.ZodOptional<z.ZodString>;
|
1210
1239
|
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"]>;
|
1240
|
+
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
1241
|
readAt: z.ZodOptional<z.ZodDate>;
|
1213
1242
|
metadata: z.ZodOptional<z.ZodAny>;
|
1214
1243
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -1224,18 +1253,21 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1224
1253
|
fileName: z.ZodString;
|
1225
1254
|
fileSize: z.ZodNumber;
|
1226
1255
|
fileKey: z.ZodString;
|
1256
|
+
originalUrl: z.ZodOptional<z.ZodString>;
|
1227
1257
|
}, "strip", z.ZodTypeAny, {
|
1228
1258
|
fileName: string;
|
1229
1259
|
fileKey: string;
|
1230
1260
|
bucketName: string;
|
1231
1261
|
fileSize: number;
|
1262
|
+
originalUrl?: string | undefined;
|
1232
1263
|
}, {
|
1233
1264
|
fileName: string;
|
1234
1265
|
fileKey: string;
|
1235
1266
|
bucketName: string;
|
1236
1267
|
fileSize: number;
|
1268
|
+
originalUrl?: string | undefined;
|
1237
1269
|
}>>;
|
1238
|
-
sender: z.ZodObject<{
|
1270
|
+
sender: z.ZodOptional<z.ZodObject<{
|
1239
1271
|
id: z.ZodString;
|
1240
1272
|
name: z.ZodString;
|
1241
1273
|
email: z.ZodString;
|
@@ -1253,17 +1285,10 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1253
1285
|
name: string;
|
1254
1286
|
email: string;
|
1255
1287
|
phone: string | null;
|
1256
|
-
}
|
1288
|
+
}>>;
|
1257
1289
|
}, "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";
|
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";
|
1259
1291
|
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
1292
|
message?: string | undefined;
|
1268
1293
|
readAt?: Date | undefined;
|
1269
1294
|
metadata?: any;
|
@@ -1280,17 +1305,18 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1280
1305
|
fileKey: string;
|
1281
1306
|
bucketName: string;
|
1282
1307
|
fileSize: number;
|
1308
|
+
originalUrl?: string | undefined;
|
1283
1309
|
} | 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: {
|
1310
|
+
sender?: {
|
1288
1311
|
id: string;
|
1289
1312
|
address: string | null;
|
1290
1313
|
name: string;
|
1291
1314
|
email: string;
|
1292
1315
|
phone: string | null;
|
1293
|
-
};
|
1316
|
+
} | undefined;
|
1317
|
+
}, {
|
1318
|
+
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";
|
1319
|
+
direction: "incoming" | "outgoing" | "system";
|
1294
1320
|
message?: string | undefined;
|
1295
1321
|
readAt?: Date | undefined;
|
1296
1322
|
metadata?: any;
|
@@ -1307,19 +1333,20 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1307
1333
|
fileKey: string;
|
1308
1334
|
bucketName: string;
|
1309
1335
|
fileSize: number;
|
1336
|
+
originalUrl?: string | undefined;
|
1310
1337
|
} | 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: {
|
1338
|
+
sender?: {
|
1317
1339
|
id: string;
|
1318
1340
|
address: string | null;
|
1319
1341
|
name: string;
|
1320
1342
|
email: string;
|
1321
1343
|
phone: string | null;
|
1322
|
-
};
|
1344
|
+
} | undefined;
|
1345
|
+
}>;
|
1346
|
+
}, "strip", z.ZodTypeAny, {
|
1347
|
+
message: {
|
1348
|
+
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";
|
1349
|
+
direction: "incoming" | "outgoing" | "system";
|
1323
1350
|
message?: string | undefined;
|
1324
1351
|
readAt?: Date | undefined;
|
1325
1352
|
metadata?: any;
|
@@ -1336,6 +1363,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1336
1363
|
fileKey: string;
|
1337
1364
|
bucketName: string;
|
1338
1365
|
fileSize: number;
|
1366
|
+
originalUrl?: string | undefined;
|
1367
|
+
} | undefined;
|
1368
|
+
sender?: {
|
1369
|
+
id: string;
|
1370
|
+
address: string | null;
|
1371
|
+
name: string;
|
1372
|
+
email: string;
|
1373
|
+
phone: string | null;
|
1339
1374
|
} | undefined;
|
1340
1375
|
};
|
1341
1376
|
room: {
|
@@ -1350,12 +1385,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1350
1385
|
accessToken?: string | undefined;
|
1351
1386
|
channelSecret?: string | undefined;
|
1352
1387
|
additionalCredentials?: any;
|
1388
|
+
lineRichMenuId?: string | null | undefined;
|
1353
1389
|
};
|
1354
1390
|
status: boolean;
|
1355
1391
|
brandName: string;
|
1356
1392
|
platformId: string;
|
1357
1393
|
connectedUserName?: string | null | undefined;
|
1358
1394
|
connectedUserId?: string | null | undefined;
|
1395
|
+
lineRichMenuId?: string | null | undefined;
|
1359
1396
|
actor?: {
|
1360
1397
|
id: string;
|
1361
1398
|
address: string | null;
|
@@ -1405,17 +1442,11 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1405
1442
|
metadata?: any;
|
1406
1443
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1407
1444
|
};
|
1445
|
+
isBot: boolean | null;
|
1408
1446
|
}, {
|
1409
1447
|
message: {
|
1410
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1448
|
+
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
1449
|
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
1450
|
message?: string | undefined;
|
1420
1451
|
readAt?: Date | undefined;
|
1421
1452
|
metadata?: any;
|
@@ -1432,6 +1463,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1432
1463
|
fileKey: string;
|
1433
1464
|
bucketName: string;
|
1434
1465
|
fileSize: number;
|
1466
|
+
originalUrl?: string | undefined;
|
1467
|
+
} | undefined;
|
1468
|
+
sender?: {
|
1469
|
+
id: string;
|
1470
|
+
address: string | null;
|
1471
|
+
name: string;
|
1472
|
+
email: string;
|
1473
|
+
phone: string | null;
|
1435
1474
|
} | undefined;
|
1436
1475
|
};
|
1437
1476
|
room: {
|
@@ -1446,12 +1485,14 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1446
1485
|
accessToken?: string | undefined;
|
1447
1486
|
channelSecret?: string | undefined;
|
1448
1487
|
additionalCredentials?: any;
|
1488
|
+
lineRichMenuId?: string | null | undefined;
|
1449
1489
|
};
|
1450
1490
|
status: boolean;
|
1451
1491
|
brandName: string;
|
1452
1492
|
platformId: string;
|
1453
1493
|
connectedUserName?: string | null | undefined;
|
1454
1494
|
connectedUserId?: string | null | undefined;
|
1495
|
+
lineRichMenuId?: string | null | undefined;
|
1455
1496
|
actor?: {
|
1456
1497
|
id: string;
|
1457
1498
|
address: string | null;
|
@@ -1501,6 +1542,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1501
1542
|
metadata?: any;
|
1502
1543
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1503
1544
|
};
|
1545
|
+
isBot?: boolean | null | undefined;
|
1504
1546
|
}>;
|
1505
1547
|
export declare const SendMessageResponseSchema: z.ZodObject<{
|
1506
1548
|
requestId: z.ZodString;
|
@@ -1511,7 +1553,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1511
1553
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1512
1554
|
message: z.ZodString;
|
1513
1555
|
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"]>;
|
1556
|
+
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
1557
|
readAt: z.ZodDate;
|
1516
1558
|
metadata: z.ZodAny;
|
1517
1559
|
platformId: z.ZodString;
|
@@ -1536,6 +1578,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1536
1578
|
firstResponseAt: z.ZodDate;
|
1537
1579
|
firstResponseTime: z.ZodNumber;
|
1538
1580
|
isLatest: z.ZodBoolean;
|
1581
|
+
isBotRoom: z.ZodBoolean;
|
1539
1582
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1540
1583
|
platformContact: z.ZodObject<{
|
1541
1584
|
id: z.ZodString;
|
@@ -2892,18 +2935,21 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2892
2935
|
accessToken: z.ZodOptional<z.ZodString>;
|
2893
2936
|
channelSecret: z.ZodOptional<z.ZodString>;
|
2894
2937
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
2938
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
2895
2939
|
}, "strip", z.ZodTypeAny, {
|
2896
2940
|
id: string;
|
2897
2941
|
name: string;
|
2898
2942
|
accessToken?: string | undefined;
|
2899
2943
|
channelSecret?: string | undefined;
|
2900
2944
|
additionalCredentials?: any;
|
2945
|
+
lineRichMenuId?: string | null | undefined;
|
2901
2946
|
}, {
|
2902
2947
|
id: string;
|
2903
2948
|
name: string;
|
2904
2949
|
accessToken?: string | undefined;
|
2905
2950
|
channelSecret?: string | undefined;
|
2906
2951
|
additionalCredentials?: any;
|
2952
|
+
lineRichMenuId?: string | null | undefined;
|
2907
2953
|
}>;
|
2908
2954
|
brandName: z.ZodString;
|
2909
2955
|
platformId: z.ZodString;
|
@@ -2911,6 +2957,25 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2911
2957
|
isReloginRequired: z.ZodBoolean;
|
2912
2958
|
connectedUserName: z.ZodString;
|
2913
2959
|
connectedUserId: z.ZodString;
|
2960
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
2961
|
+
id: z.ZodString;
|
2962
|
+
name: z.ZodString;
|
2963
|
+
botId: z.ZodString;
|
2964
|
+
integrationId: z.ZodString;
|
2965
|
+
accessToken: z.ZodString;
|
2966
|
+
}, "strip", z.ZodTypeAny, {
|
2967
|
+
id: string;
|
2968
|
+
name: string;
|
2969
|
+
accessToken: string;
|
2970
|
+
botId: string;
|
2971
|
+
integrationId: string;
|
2972
|
+
}, {
|
2973
|
+
id: string;
|
2974
|
+
name: string;
|
2975
|
+
accessToken: string;
|
2976
|
+
botId: string;
|
2977
|
+
integrationId: string;
|
2978
|
+
}>>;
|
2914
2979
|
actor: z.ZodObject<{
|
2915
2980
|
id: z.ZodString;
|
2916
2981
|
createdAt: z.ZodDate;
|
@@ -3125,6 +3190,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3125
3190
|
accessToken?: string | undefined;
|
3126
3191
|
channelSecret?: string | undefined;
|
3127
3192
|
additionalCredentials?: any;
|
3193
|
+
lineRichMenuId?: string | null | undefined;
|
3128
3194
|
};
|
3129
3195
|
status: boolean;
|
3130
3196
|
createdAt: Date;
|
@@ -3179,6 +3245,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3179
3245
|
isReloginRequired: boolean;
|
3180
3246
|
connectedUserName: string;
|
3181
3247
|
connectedUserId: string;
|
3248
|
+
botpressBot: {
|
3249
|
+
id: string;
|
3250
|
+
name: string;
|
3251
|
+
accessToken: string;
|
3252
|
+
botId: string;
|
3253
|
+
integrationId: string;
|
3254
|
+
} | null;
|
3182
3255
|
}, {
|
3183
3256
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
3184
3257
|
id: string;
|
@@ -3189,6 +3262,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3189
3262
|
accessToken?: string | undefined;
|
3190
3263
|
channelSecret?: string | undefined;
|
3191
3264
|
additionalCredentials?: any;
|
3265
|
+
lineRichMenuId?: string | null | undefined;
|
3192
3266
|
};
|
3193
3267
|
status: boolean;
|
3194
3268
|
createdAt: Date;
|
@@ -3243,6 +3317,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3243
3317
|
isReloginRequired: boolean;
|
3244
3318
|
connectedUserName: string;
|
3245
3319
|
connectedUserId: string;
|
3320
|
+
botpressBot: {
|
3321
|
+
id: string;
|
3322
|
+
name: string;
|
3323
|
+
accessToken: string;
|
3324
|
+
botId: string;
|
3325
|
+
integrationId: string;
|
3326
|
+
} | null;
|
3246
3327
|
}>;
|
3247
3328
|
cxlog: z.ZodObject<{
|
3248
3329
|
id: z.ZodString;
|
@@ -3700,6 +3781,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3700
3781
|
accessToken?: string | undefined;
|
3701
3782
|
channelSecret?: string | undefined;
|
3702
3783
|
additionalCredentials?: any;
|
3784
|
+
lineRichMenuId?: string | null | undefined;
|
3703
3785
|
};
|
3704
3786
|
status: boolean;
|
3705
3787
|
createdAt: Date;
|
@@ -3754,6 +3836,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3754
3836
|
isReloginRequired: boolean;
|
3755
3837
|
connectedUserName: string;
|
3756
3838
|
connectedUserId: string;
|
3839
|
+
botpressBot: {
|
3840
|
+
id: string;
|
3841
|
+
name: string;
|
3842
|
+
accessToken: string;
|
3843
|
+
botId: string;
|
3844
|
+
integrationId: string;
|
3845
|
+
} | null;
|
3757
3846
|
};
|
3758
3847
|
direction: "incoming" | "outgoing" | "system";
|
3759
3848
|
status: number;
|
@@ -3968,6 +4057,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3968
4057
|
};
|
3969
4058
|
closedAt: Date;
|
3970
4059
|
lastMessageAt: Date | null;
|
4060
|
+
isBotRoom: boolean;
|
3971
4061
|
cxlog: {
|
3972
4062
|
id: string;
|
3973
4063
|
channel: string | null;
|
@@ -4058,6 +4148,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4058
4148
|
accessToken?: string | undefined;
|
4059
4149
|
channelSecret?: string | undefined;
|
4060
4150
|
additionalCredentials?: any;
|
4151
|
+
lineRichMenuId?: string | null | undefined;
|
4061
4152
|
};
|
4062
4153
|
status: boolean;
|
4063
4154
|
createdAt: Date;
|
@@ -4112,6 +4203,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4112
4203
|
isReloginRequired: boolean;
|
4113
4204
|
connectedUserName: string;
|
4114
4205
|
connectedUserId: string;
|
4206
|
+
botpressBot: {
|
4207
|
+
id: string;
|
4208
|
+
name: string;
|
4209
|
+
accessToken: string;
|
4210
|
+
botId: string;
|
4211
|
+
integrationId: string;
|
4212
|
+
} | null;
|
4115
4213
|
};
|
4116
4214
|
direction: "incoming" | "outgoing" | "system";
|
4117
4215
|
status: number;
|
@@ -4326,6 +4424,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4326
4424
|
};
|
4327
4425
|
closedAt: Date;
|
4328
4426
|
lastMessageAt: Date | null;
|
4427
|
+
isBotRoom: boolean;
|
4329
4428
|
cxlog: {
|
4330
4429
|
id: string;
|
4331
4430
|
channel: string | null;
|
@@ -4446,7 +4545,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4446
4545
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4447
4546
|
message: z.ZodString;
|
4448
4547
|
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"]>;
|
4548
|
+
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
4549
|
readAt: z.ZodDate;
|
4451
4550
|
metadata: z.ZodAny;
|
4452
4551
|
platformId: z.ZodString;
|
@@ -5104,7 +5203,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5104
5203
|
};
|
5105
5204
|
}>;
|
5106
5205
|
}, "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";
|
5206
|
+
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
5207
|
message: string;
|
5109
5208
|
id: string;
|
5110
5209
|
url: string;
|
@@ -5156,7 +5255,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5156
5255
|
telephonySignature: string | null;
|
5157
5256
|
};
|
5158
5257
|
};
|
5159
|
-
platformId: string;
|
5160
5258
|
upload: {
|
5161
5259
|
id: string;
|
5162
5260
|
createdAt: Date;
|
@@ -5213,6 +5311,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5213
5311
|
telephonySignature: string | null;
|
5214
5312
|
};
|
5215
5313
|
};
|
5314
|
+
platformId: string;
|
5216
5315
|
readAt: Date;
|
5217
5316
|
platformMessageId: string;
|
5218
5317
|
replyPlatformMessageId: string;
|
@@ -5266,7 +5365,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5266
5365
|
metadata?: any;
|
5267
5366
|
template?: any;
|
5268
5367
|
}, {
|
5269
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5368
|
+
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
5369
|
message: string;
|
5271
5370
|
id: string;
|
5272
5371
|
url: string;
|
@@ -5318,7 +5417,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5318
5417
|
telephonySignature: string | null;
|
5319
5418
|
};
|
5320
5419
|
};
|
5321
|
-
platformId: string;
|
5322
5420
|
upload: {
|
5323
5421
|
id: string;
|
5324
5422
|
createdAt: Date;
|
@@ -5375,6 +5473,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5375
5473
|
telephonySignature: string | null;
|
5376
5474
|
};
|
5377
5475
|
};
|
5476
|
+
platformId: string;
|
5378
5477
|
readAt: Date;
|
5379
5478
|
platformMessageId: string;
|
5380
5479
|
replyPlatformMessageId: string;
|
@@ -6066,7 +6165,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6066
6165
|
isActive: boolean;
|
6067
6166
|
}>;
|
6068
6167
|
}, "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";
|
6168
|
+
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
6169
|
message: string;
|
6071
6170
|
id: string;
|
6072
6171
|
url: string;
|
@@ -6118,7 +6217,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6118
6217
|
telephonySignature: string | null;
|
6119
6218
|
};
|
6120
6219
|
};
|
6121
|
-
platformId: string;
|
6122
6220
|
upload: {
|
6123
6221
|
id: string;
|
6124
6222
|
createdAt: Date;
|
@@ -6175,6 +6273,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6175
6273
|
telephonySignature: string | null;
|
6176
6274
|
};
|
6177
6275
|
};
|
6276
|
+
platformId: string;
|
6178
6277
|
room: {
|
6179
6278
|
id: string;
|
6180
6279
|
channel: {
|
@@ -6187,6 +6286,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6187
6286
|
accessToken?: string | undefined;
|
6188
6287
|
channelSecret?: string | undefined;
|
6189
6288
|
additionalCredentials?: any;
|
6289
|
+
lineRichMenuId?: string | null | undefined;
|
6190
6290
|
};
|
6191
6291
|
status: boolean;
|
6192
6292
|
createdAt: Date;
|
@@ -6241,6 +6341,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6241
6341
|
isReloginRequired: boolean;
|
6242
6342
|
connectedUserName: string;
|
6243
6343
|
connectedUserId: string;
|
6344
|
+
botpressBot: {
|
6345
|
+
id: string;
|
6346
|
+
name: string;
|
6347
|
+
accessToken: string;
|
6348
|
+
botId: string;
|
6349
|
+
integrationId: string;
|
6350
|
+
} | null;
|
6244
6351
|
};
|
6245
6352
|
direction: "incoming" | "outgoing" | "system";
|
6246
6353
|
status: number;
|
@@ -6455,6 +6562,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6455
6562
|
};
|
6456
6563
|
closedAt: Date;
|
6457
6564
|
lastMessageAt: Date | null;
|
6565
|
+
isBotRoom: boolean;
|
6458
6566
|
cxlog: {
|
6459
6567
|
id: string;
|
6460
6568
|
channel: string | null;
|
@@ -6550,7 +6658,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6550
6658
|
previewUrl: string;
|
6551
6659
|
imageSetId: string;
|
6552
6660
|
repliedMessage: {
|
6553
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6661
|
+
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
6662
|
message: string;
|
6555
6663
|
id: string;
|
6556
6664
|
url: string;
|
@@ -6602,7 +6710,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6602
6710
|
telephonySignature: string | null;
|
6603
6711
|
};
|
6604
6712
|
};
|
6605
|
-
platformId: string;
|
6606
6713
|
upload: {
|
6607
6714
|
id: string;
|
6608
6715
|
createdAt: Date;
|
@@ -6659,6 +6766,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6659
6766
|
telephonySignature: string | null;
|
6660
6767
|
};
|
6661
6768
|
};
|
6769
|
+
platformId: string;
|
6662
6770
|
readAt: Date;
|
6663
6771
|
platformMessageId: string;
|
6664
6772
|
replyPlatformMessageId: string;
|
@@ -6759,7 +6867,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6759
6867
|
metadata?: any;
|
6760
6868
|
template?: any;
|
6761
6869
|
}, {
|
6762
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6870
|
+
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
6871
|
message: string;
|
6764
6872
|
id: string;
|
6765
6873
|
url: string;
|
@@ -6811,7 +6919,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6811
6919
|
telephonySignature: string | null;
|
6812
6920
|
};
|
6813
6921
|
};
|
6814
|
-
platformId: string;
|
6815
6922
|
upload: {
|
6816
6923
|
id: string;
|
6817
6924
|
createdAt: Date;
|
@@ -6868,6 +6975,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6868
6975
|
telephonySignature: string | null;
|
6869
6976
|
};
|
6870
6977
|
};
|
6978
|
+
platformId: string;
|
6871
6979
|
room: {
|
6872
6980
|
id: string;
|
6873
6981
|
channel: {
|
@@ -6880,6 +6988,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6880
6988
|
accessToken?: string | undefined;
|
6881
6989
|
channelSecret?: string | undefined;
|
6882
6990
|
additionalCredentials?: any;
|
6991
|
+
lineRichMenuId?: string | null | undefined;
|
6883
6992
|
};
|
6884
6993
|
status: boolean;
|
6885
6994
|
createdAt: Date;
|
@@ -6934,6 +7043,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6934
7043
|
isReloginRequired: boolean;
|
6935
7044
|
connectedUserName: string;
|
6936
7045
|
connectedUserId: string;
|
7046
|
+
botpressBot: {
|
7047
|
+
id: string;
|
7048
|
+
name: string;
|
7049
|
+
accessToken: string;
|
7050
|
+
botId: string;
|
7051
|
+
integrationId: string;
|
7052
|
+
} | null;
|
6937
7053
|
};
|
6938
7054
|
direction: "incoming" | "outgoing" | "system";
|
6939
7055
|
status: number;
|
@@ -7148,6 +7264,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7148
7264
|
};
|
7149
7265
|
closedAt: Date;
|
7150
7266
|
lastMessageAt: Date | null;
|
7267
|
+
isBotRoom: boolean;
|
7151
7268
|
cxlog: {
|
7152
7269
|
id: string;
|
7153
7270
|
channel: string | null;
|
@@ -7243,7 +7360,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7243
7360
|
previewUrl: string;
|
7244
7361
|
imageSetId: string;
|
7245
7362
|
repliedMessage: {
|
7246
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7363
|
+
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
7364
|
message: string;
|
7248
7365
|
id: string;
|
7249
7366
|
url: string;
|
@@ -7295,7 +7412,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7295
7412
|
telephonySignature: string | null;
|
7296
7413
|
};
|
7297
7414
|
};
|
7298
|
-
platformId: string;
|
7299
7415
|
upload: {
|
7300
7416
|
id: string;
|
7301
7417
|
createdAt: Date;
|
@@ -7352,6 +7468,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7352
7468
|
telephonySignature: string | null;
|
7353
7469
|
};
|
7354
7470
|
};
|
7471
|
+
platformId: string;
|
7355
7472
|
readAt: Date;
|
7356
7473
|
platformMessageId: string;
|
7357
7474
|
replyPlatformMessageId: string;
|
@@ -7454,7 +7571,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7454
7571
|
}>;
|
7455
7572
|
}, "strip", z.ZodTypeAny, {
|
7456
7573
|
data: {
|
7457
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7574
|
+
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
7575
|
message: string;
|
7459
7576
|
id: string;
|
7460
7577
|
url: string;
|
@@ -7506,7 +7623,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7506
7623
|
telephonySignature: string | null;
|
7507
7624
|
};
|
7508
7625
|
};
|
7509
|
-
platformId: string;
|
7510
7626
|
upload: {
|
7511
7627
|
id: string;
|
7512
7628
|
createdAt: Date;
|
@@ -7563,6 +7679,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7563
7679
|
telephonySignature: string | null;
|
7564
7680
|
};
|
7565
7681
|
};
|
7682
|
+
platformId: string;
|
7566
7683
|
room: {
|
7567
7684
|
id: string;
|
7568
7685
|
channel: {
|
@@ -7575,6 +7692,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7575
7692
|
accessToken?: string | undefined;
|
7576
7693
|
channelSecret?: string | undefined;
|
7577
7694
|
additionalCredentials?: any;
|
7695
|
+
lineRichMenuId?: string | null | undefined;
|
7578
7696
|
};
|
7579
7697
|
status: boolean;
|
7580
7698
|
createdAt: Date;
|
@@ -7629,6 +7747,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7629
7747
|
isReloginRequired: boolean;
|
7630
7748
|
connectedUserName: string;
|
7631
7749
|
connectedUserId: string;
|
7750
|
+
botpressBot: {
|
7751
|
+
id: string;
|
7752
|
+
name: string;
|
7753
|
+
accessToken: string;
|
7754
|
+
botId: string;
|
7755
|
+
integrationId: string;
|
7756
|
+
} | null;
|
7632
7757
|
};
|
7633
7758
|
direction: "incoming" | "outgoing" | "system";
|
7634
7759
|
status: number;
|
@@ -7843,6 +7968,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7843
7968
|
};
|
7844
7969
|
closedAt: Date;
|
7845
7970
|
lastMessageAt: Date | null;
|
7971
|
+
isBotRoom: boolean;
|
7846
7972
|
cxlog: {
|
7847
7973
|
id: string;
|
7848
7974
|
channel: string | null;
|
@@ -7938,7 +8064,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7938
8064
|
previewUrl: string;
|
7939
8065
|
imageSetId: string;
|
7940
8066
|
repliedMessage: {
|
7941
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
8067
|
+
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
8068
|
message: string;
|
7943
8069
|
id: string;
|
7944
8070
|
url: string;
|
@@ -7990,7 +8116,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7990
8116
|
telephonySignature: string | null;
|
7991
8117
|
};
|
7992
8118
|
};
|
7993
|
-
platformId: string;
|
7994
8119
|
upload: {
|
7995
8120
|
id: string;
|
7996
8121
|
createdAt: Date;
|
@@ -8047,6 +8172,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8047
8172
|
telephonySignature: string | null;
|
8048
8173
|
};
|
8049
8174
|
};
|
8175
|
+
platformId: string;
|
8050
8176
|
readAt: Date;
|
8051
8177
|
platformMessageId: string;
|
8052
8178
|
replyPlatformMessageId: string;
|
@@ -8150,7 +8276,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8150
8276
|
requestId: string;
|
8151
8277
|
}, {
|
8152
8278
|
data: {
|
8153
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
8279
|
+
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
8280
|
message: string;
|
8155
8281
|
id: string;
|
8156
8282
|
url: string;
|
@@ -8202,7 +8328,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8202
8328
|
telephonySignature: string | null;
|
8203
8329
|
};
|
8204
8330
|
};
|
8205
|
-
platformId: string;
|
8206
8331
|
upload: {
|
8207
8332
|
id: string;
|
8208
8333
|
createdAt: Date;
|
@@ -8259,6 +8384,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8259
8384
|
telephonySignature: string | null;
|
8260
8385
|
};
|
8261
8386
|
};
|
8387
|
+
platformId: string;
|
8262
8388
|
room: {
|
8263
8389
|
id: string;
|
8264
8390
|
channel: {
|
@@ -8271,6 +8397,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8271
8397
|
accessToken?: string | undefined;
|
8272
8398
|
channelSecret?: string | undefined;
|
8273
8399
|
additionalCredentials?: any;
|
8400
|
+
lineRichMenuId?: string | null | undefined;
|
8274
8401
|
};
|
8275
8402
|
status: boolean;
|
8276
8403
|
createdAt: Date;
|
@@ -8325,6 +8452,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8325
8452
|
isReloginRequired: boolean;
|
8326
8453
|
connectedUserName: string;
|
8327
8454
|
connectedUserId: string;
|
8455
|
+
botpressBot: {
|
8456
|
+
id: string;
|
8457
|
+
name: string;
|
8458
|
+
accessToken: string;
|
8459
|
+
botId: string;
|
8460
|
+
integrationId: string;
|
8461
|
+
} | null;
|
8328
8462
|
};
|
8329
8463
|
direction: "incoming" | "outgoing" | "system";
|
8330
8464
|
status: number;
|
@@ -8539,6 +8673,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8539
8673
|
};
|
8540
8674
|
closedAt: Date;
|
8541
8675
|
lastMessageAt: Date | null;
|
8676
|
+
isBotRoom: boolean;
|
8542
8677
|
cxlog: {
|
8543
8678
|
id: string;
|
8544
8679
|
channel: string | null;
|
@@ -8634,7 +8769,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8634
8769
|
previewUrl: string;
|
8635
8770
|
imageSetId: string;
|
8636
8771
|
repliedMessage: {
|
8637
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
8772
|
+
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
8773
|
message: string;
|
8639
8774
|
id: string;
|
8640
8775
|
url: string;
|
@@ -8686,7 +8821,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8686
8821
|
telephonySignature: string | null;
|
8687
8822
|
};
|
8688
8823
|
};
|
8689
|
-
platformId: string;
|
8690
8824
|
upload: {
|
8691
8825
|
id: string;
|
8692
8826
|
createdAt: Date;
|
@@ -8743,6 +8877,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8743
8877
|
telephonySignature: string | null;
|
8744
8878
|
};
|
8745
8879
|
};
|
8880
|
+
platformId: string;
|
8746
8881
|
readAt: Date;
|
8747
8882
|
platformMessageId: string;
|
8748
8883
|
replyPlatformMessageId: string;
|
@@ -8857,24 +8992,28 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
8857
8992
|
accessToken: z.ZodOptional<z.ZodString>;
|
8858
8993
|
channelSecret: z.ZodOptional<z.ZodString>;
|
8859
8994
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
8995
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8860
8996
|
}, "strip", z.ZodTypeAny, {
|
8861
8997
|
id: string;
|
8862
8998
|
name: string;
|
8863
8999
|
accessToken?: string | undefined;
|
8864
9000
|
channelSecret?: string | undefined;
|
8865
9001
|
additionalCredentials?: any;
|
9002
|
+
lineRichMenuId?: string | null | undefined;
|
8866
9003
|
}, {
|
8867
9004
|
id: string;
|
8868
9005
|
name: string;
|
8869
9006
|
accessToken?: string | undefined;
|
8870
9007
|
channelSecret?: string | undefined;
|
8871
9008
|
additionalCredentials?: any;
|
9009
|
+
lineRichMenuId?: string | null | undefined;
|
8872
9010
|
}>;
|
8873
9011
|
platformId: z.ZodString;
|
8874
9012
|
brandName: z.ZodString;
|
8875
9013
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
8876
9014
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8877
9015
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9016
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8878
9017
|
actor: z.ZodOptional<z.ZodObject<{
|
8879
9018
|
id: z.ZodString;
|
8880
9019
|
name: z.ZodString;
|
@@ -8904,12 +9043,14 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
8904
9043
|
accessToken?: string | undefined;
|
8905
9044
|
channelSecret?: string | undefined;
|
8906
9045
|
additionalCredentials?: any;
|
9046
|
+
lineRichMenuId?: string | null | undefined;
|
8907
9047
|
};
|
8908
9048
|
status: boolean;
|
8909
9049
|
brandName: string;
|
8910
9050
|
platformId: string;
|
8911
9051
|
connectedUserName?: string | null | undefined;
|
8912
9052
|
connectedUserId?: string | null | undefined;
|
9053
|
+
lineRichMenuId?: string | null | undefined;
|
8913
9054
|
actor?: {
|
8914
9055
|
id: string;
|
8915
9056
|
address: string | null;
|
@@ -8927,12 +9068,14 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
8927
9068
|
accessToken?: string | undefined;
|
8928
9069
|
channelSecret?: string | undefined;
|
8929
9070
|
additionalCredentials?: any;
|
9071
|
+
lineRichMenuId?: string | null | undefined;
|
8930
9072
|
};
|
8931
9073
|
status: boolean;
|
8932
9074
|
brandName: string;
|
8933
9075
|
platformId: string;
|
8934
9076
|
connectedUserName?: string | null | undefined;
|
8935
9077
|
connectedUserId?: string | null | undefined;
|
9078
|
+
lineRichMenuId?: string | null | undefined;
|
8936
9079
|
actor?: {
|
8937
9080
|
id: string;
|
8938
9081
|
address: string | null;
|
@@ -8952,12 +9095,14 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
8952
9095
|
accessToken?: string | undefined;
|
8953
9096
|
channelSecret?: string | undefined;
|
8954
9097
|
additionalCredentials?: any;
|
9098
|
+
lineRichMenuId?: string | null | undefined;
|
8955
9099
|
};
|
8956
9100
|
status: boolean;
|
8957
9101
|
brandName: string;
|
8958
9102
|
platformId: string;
|
8959
9103
|
connectedUserName?: string | null | undefined;
|
8960
9104
|
connectedUserId?: string | null | undefined;
|
9105
|
+
lineRichMenuId?: string | null | undefined;
|
8961
9106
|
actor?: {
|
8962
9107
|
id: string;
|
8963
9108
|
address: string | null;
|
@@ -8978,12 +9123,14 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
8978
9123
|
accessToken?: string | undefined;
|
8979
9124
|
channelSecret?: string | undefined;
|
8980
9125
|
additionalCredentials?: any;
|
9126
|
+
lineRichMenuId?: string | null | undefined;
|
8981
9127
|
};
|
8982
9128
|
status: boolean;
|
8983
9129
|
brandName: string;
|
8984
9130
|
platformId: string;
|
8985
9131
|
connectedUserName?: string | null | undefined;
|
8986
9132
|
connectedUserId?: string | null | undefined;
|
9133
|
+
lineRichMenuId?: string | null | undefined;
|
8987
9134
|
actor?: {
|
8988
9135
|
id: string;
|
8989
9136
|
address: string | null;
|
@@ -9002,7 +9149,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9002
9149
|
deletedAt: z.ZodNullable<z.ZodString>;
|
9003
9150
|
message: z.ZodOptional<z.ZodString>;
|
9004
9151
|
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"]>;
|
9152
|
+
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
9153
|
metadata: z.ZodAny;
|
9007
9154
|
platformId: z.ZodString;
|
9008
9155
|
platformMessageId: z.ZodString;
|
@@ -10377,24 +10524,28 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10377
10524
|
accessToken: z.ZodOptional<z.ZodString>;
|
10378
10525
|
channelSecret: z.ZodOptional<z.ZodString>;
|
10379
10526
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
10527
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
10380
10528
|
}, "strip", z.ZodTypeAny, {
|
10381
10529
|
id: string;
|
10382
10530
|
name: string;
|
10383
10531
|
accessToken?: string | undefined;
|
10384
10532
|
channelSecret?: string | undefined;
|
10385
10533
|
additionalCredentials?: any;
|
10534
|
+
lineRichMenuId?: string | null | undefined;
|
10386
10535
|
}, {
|
10387
10536
|
id: string;
|
10388
10537
|
name: string;
|
10389
10538
|
accessToken?: string | undefined;
|
10390
10539
|
channelSecret?: string | undefined;
|
10391
10540
|
additionalCredentials?: any;
|
10541
|
+
lineRichMenuId?: string | null | undefined;
|
10392
10542
|
}>;
|
10393
10543
|
platformId: z.ZodString;
|
10394
10544
|
brandName: z.ZodString;
|
10395
10545
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
10396
10546
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
10397
10547
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
10548
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
10398
10549
|
actor: z.ZodOptional<z.ZodObject<{
|
10399
10550
|
id: z.ZodString;
|
10400
10551
|
name: z.ZodString;
|
@@ -10424,12 +10575,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10424
10575
|
accessToken?: string | undefined;
|
10425
10576
|
channelSecret?: string | undefined;
|
10426
10577
|
additionalCredentials?: any;
|
10578
|
+
lineRichMenuId?: string | null | undefined;
|
10427
10579
|
};
|
10428
10580
|
status: boolean;
|
10429
10581
|
brandName: string;
|
10430
10582
|
platformId: string;
|
10431
10583
|
connectedUserName?: string | null | undefined;
|
10432
10584
|
connectedUserId?: string | null | undefined;
|
10585
|
+
lineRichMenuId?: string | null | undefined;
|
10433
10586
|
actor?: {
|
10434
10587
|
id: string;
|
10435
10588
|
address: string | null;
|
@@ -10447,12 +10600,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10447
10600
|
accessToken?: string | undefined;
|
10448
10601
|
channelSecret?: string | undefined;
|
10449
10602
|
additionalCredentials?: any;
|
10603
|
+
lineRichMenuId?: string | null | undefined;
|
10450
10604
|
};
|
10451
10605
|
status: boolean;
|
10452
10606
|
brandName: string;
|
10453
10607
|
platformId: string;
|
10454
10608
|
connectedUserName?: string | null | undefined;
|
10455
10609
|
connectedUserId?: string | null | undefined;
|
10610
|
+
lineRichMenuId?: string | null | undefined;
|
10456
10611
|
actor?: {
|
10457
10612
|
id: string;
|
10458
10613
|
address: string | null;
|
@@ -11103,12 +11258,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11103
11258
|
accessToken?: string | undefined;
|
11104
11259
|
channelSecret?: string | undefined;
|
11105
11260
|
additionalCredentials?: any;
|
11261
|
+
lineRichMenuId?: string | null | undefined;
|
11106
11262
|
};
|
11107
11263
|
status: boolean;
|
11108
11264
|
brandName: string;
|
11109
11265
|
platformId: string;
|
11110
11266
|
connectedUserName?: string | null | undefined;
|
11111
11267
|
connectedUserId?: string | null | undefined;
|
11268
|
+
lineRichMenuId?: string | null | undefined;
|
11112
11269
|
actor?: {
|
11113
11270
|
id: string;
|
11114
11271
|
address: string | null;
|
@@ -11409,12 +11566,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11409
11566
|
accessToken?: string | undefined;
|
11410
11567
|
channelSecret?: string | undefined;
|
11411
11568
|
additionalCredentials?: any;
|
11569
|
+
lineRichMenuId?: string | null | undefined;
|
11412
11570
|
};
|
11413
11571
|
status: boolean;
|
11414
11572
|
brandName: string;
|
11415
11573
|
platformId: string;
|
11416
11574
|
connectedUserName?: string | null | undefined;
|
11417
11575
|
connectedUserId?: string | null | undefined;
|
11576
|
+
lineRichMenuId?: string | null | undefined;
|
11418
11577
|
actor?: {
|
11419
11578
|
id: string;
|
11420
11579
|
address: string | null;
|
@@ -12140,7 +12299,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
12140
12299
|
};
|
12141
12300
|
}>>>;
|
12142
12301
|
}, "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";
|
12302
|
+
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
12303
|
id: string;
|
12145
12304
|
direction: "incoming" | "outgoing" | "system";
|
12146
12305
|
createdAt: string;
|
@@ -12370,12 +12529,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
12370
12529
|
accessToken?: string | undefined;
|
12371
12530
|
channelSecret?: string | undefined;
|
12372
12531
|
additionalCredentials?: any;
|
12532
|
+
lineRichMenuId?: string | null | undefined;
|
12373
12533
|
};
|
12374
12534
|
status: boolean;
|
12375
12535
|
brandName: string;
|
12376
12536
|
platformId: string;
|
12377
12537
|
connectedUserName?: string | null | undefined;
|
12378
12538
|
connectedUserId?: string | null | undefined;
|
12539
|
+
lineRichMenuId?: string | null | undefined;
|
12379
12540
|
actor?: {
|
12380
12541
|
id: string;
|
12381
12542
|
address: string | null;
|
@@ -12608,7 +12769,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
12608
12769
|
};
|
12609
12770
|
} | null | undefined;
|
12610
12771
|
}, {
|
12611
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
12772
|
+
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
12773
|
id: string;
|
12613
12774
|
direction: "incoming" | "outgoing" | "system";
|
12614
12775
|
createdAt: string;
|
@@ -12838,12 +12999,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
12838
12999
|
accessToken?: string | undefined;
|
12839
13000
|
channelSecret?: string | undefined;
|
12840
13001
|
additionalCredentials?: any;
|
13002
|
+
lineRichMenuId?: string | null | undefined;
|
12841
13003
|
};
|
12842
13004
|
status: boolean;
|
12843
13005
|
brandName: string;
|
12844
13006
|
platformId: string;
|
12845
13007
|
connectedUserName?: string | null | undefined;
|
12846
13008
|
connectedUserId?: string | null | undefined;
|
13009
|
+
lineRichMenuId?: string | null | undefined;
|
12847
13010
|
actor?: {
|
12848
13011
|
id: string;
|
12849
13012
|
address: string | null;
|
@@ -13078,7 +13241,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
13078
13241
|
}>;
|
13079
13242
|
}, "strip", z.ZodTypeAny, {
|
13080
13243
|
message: {
|
13081
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
13244
|
+
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
13245
|
id: string;
|
13083
13246
|
direction: "incoming" | "outgoing" | "system";
|
13084
13247
|
createdAt: string;
|
@@ -13308,12 +13471,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
13308
13471
|
accessToken?: string | undefined;
|
13309
13472
|
channelSecret?: string | undefined;
|
13310
13473
|
additionalCredentials?: any;
|
13474
|
+
lineRichMenuId?: string | null | undefined;
|
13311
13475
|
};
|
13312
13476
|
status: boolean;
|
13313
13477
|
brandName: string;
|
13314
13478
|
platformId: string;
|
13315
13479
|
connectedUserName?: string | null | undefined;
|
13316
13480
|
connectedUserId?: string | null | undefined;
|
13481
|
+
lineRichMenuId?: string | null | undefined;
|
13317
13482
|
actor?: {
|
13318
13483
|
id: string;
|
13319
13484
|
address: string | null;
|
@@ -13548,7 +13713,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
13548
13713
|
};
|
13549
13714
|
}, {
|
13550
13715
|
message: {
|
13551
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
13716
|
+
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
13717
|
id: string;
|
13553
13718
|
direction: "incoming" | "outgoing" | "system";
|
13554
13719
|
createdAt: string;
|
@@ -13778,12 +13943,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
13778
13943
|
accessToken?: string | undefined;
|
13779
13944
|
channelSecret?: string | undefined;
|
13780
13945
|
additionalCredentials?: any;
|
13946
|
+
lineRichMenuId?: string | null | undefined;
|
13781
13947
|
};
|
13782
13948
|
status: boolean;
|
13783
13949
|
brandName: string;
|
13784
13950
|
platformId: string;
|
13785
13951
|
connectedUserName?: string | null | undefined;
|
13786
13952
|
connectedUserId?: string | null | undefined;
|
13953
|
+
lineRichMenuId?: string | null | undefined;
|
13787
13954
|
actor?: {
|
13788
13955
|
id: string;
|
13789
13956
|
address: string | null;
|