@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
package/dist/src/line/index.d.ts
CHANGED
@@ -117,24 +117,28 @@ export declare const lineContract: {
|
|
117
117
|
accessToken: z.ZodOptional<z.ZodString>;
|
118
118
|
channelSecret: z.ZodOptional<z.ZodString>;
|
119
119
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
120
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
120
121
|
}, "strip", z.ZodTypeAny, {
|
121
122
|
id: string;
|
122
123
|
name: string;
|
123
124
|
accessToken?: string | undefined;
|
124
125
|
channelSecret?: string | undefined;
|
125
126
|
additionalCredentials?: any;
|
127
|
+
lineRichMenuId?: string | null | undefined;
|
126
128
|
}, {
|
127
129
|
id: string;
|
128
130
|
name: string;
|
129
131
|
accessToken?: string | undefined;
|
130
132
|
channelSecret?: string | undefined;
|
131
133
|
additionalCredentials?: any;
|
134
|
+
lineRichMenuId?: string | null | undefined;
|
132
135
|
}>;
|
133
136
|
platformId: z.ZodString;
|
134
137
|
brandName: z.ZodString;
|
135
138
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
136
139
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
137
140
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
141
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
138
142
|
actor: z.ZodOptional<z.ZodObject<{
|
139
143
|
id: z.ZodString;
|
140
144
|
name: z.ZodString;
|
@@ -164,12 +168,14 @@ export declare const lineContract: {
|
|
164
168
|
accessToken?: string | undefined;
|
165
169
|
channelSecret?: string | undefined;
|
166
170
|
additionalCredentials?: any;
|
171
|
+
lineRichMenuId?: string | null | undefined;
|
167
172
|
};
|
168
173
|
status: boolean;
|
169
174
|
brandName: string;
|
170
175
|
platformId: string;
|
171
176
|
connectedUserName?: string | null | undefined;
|
172
177
|
connectedUserId?: string | null | undefined;
|
178
|
+
lineRichMenuId?: string | null | undefined;
|
173
179
|
actor?: {
|
174
180
|
id: string;
|
175
181
|
address: string | null;
|
@@ -187,12 +193,14 @@ export declare const lineContract: {
|
|
187
193
|
accessToken?: string | undefined;
|
188
194
|
channelSecret?: string | undefined;
|
189
195
|
additionalCredentials?: any;
|
196
|
+
lineRichMenuId?: string | null | undefined;
|
190
197
|
};
|
191
198
|
status: boolean;
|
192
199
|
brandName: string;
|
193
200
|
platformId: string;
|
194
201
|
connectedUserName?: string | null | undefined;
|
195
202
|
connectedUserId?: string | null | undefined;
|
203
|
+
lineRichMenuId?: string | null | undefined;
|
196
204
|
actor?: {
|
197
205
|
id: string;
|
198
206
|
address: string | null;
|
@@ -213,12 +221,14 @@ export declare const lineContract: {
|
|
213
221
|
accessToken?: string | undefined;
|
214
222
|
channelSecret?: string | undefined;
|
215
223
|
additionalCredentials?: any;
|
224
|
+
lineRichMenuId?: string | null | undefined;
|
216
225
|
};
|
217
226
|
status: boolean;
|
218
227
|
brandName: string;
|
219
228
|
platformId: string;
|
220
229
|
connectedUserName?: string | null | undefined;
|
221
230
|
connectedUserId?: string | null | undefined;
|
231
|
+
lineRichMenuId?: string | null | undefined;
|
222
232
|
actor?: {
|
223
233
|
id: string;
|
224
234
|
address: string | null;
|
@@ -268,12 +278,14 @@ export declare const lineContract: {
|
|
268
278
|
accessToken?: string | undefined;
|
269
279
|
channelSecret?: string | undefined;
|
270
280
|
additionalCredentials?: any;
|
281
|
+
lineRichMenuId?: string | null | undefined;
|
271
282
|
};
|
272
283
|
status: boolean;
|
273
284
|
brandName: string;
|
274
285
|
platformId: string;
|
275
286
|
connectedUserName?: string | null | undefined;
|
276
287
|
connectedUserId?: string | null | undefined;
|
288
|
+
lineRichMenuId?: string | null | undefined;
|
277
289
|
actor?: {
|
278
290
|
id: string;
|
279
291
|
address: string | null;
|
@@ -315,7 +327,7 @@ export declare const lineContract: {
|
|
315
327
|
message: z.ZodObject<{
|
316
328
|
message: z.ZodOptional<z.ZodString>;
|
317
329
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
318
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
330
|
+
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"]>;
|
319
331
|
readAt: z.ZodOptional<z.ZodDate>;
|
320
332
|
metadata: z.ZodOptional<z.ZodAny>;
|
321
333
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -359,7 +371,7 @@ export declare const lineContract: {
|
|
359
371
|
phone: string | null;
|
360
372
|
}>;
|
361
373
|
}, "strip", z.ZodTypeAny, {
|
362
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
374
|
+
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";
|
363
375
|
direction: "incoming" | "outgoing" | "system";
|
364
376
|
sender: {
|
365
377
|
address: string | null;
|
@@ -385,7 +397,7 @@ export declare const lineContract: {
|
|
385
397
|
fileSize: number;
|
386
398
|
} | undefined;
|
387
399
|
}, {
|
388
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
400
|
+
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";
|
389
401
|
direction: "incoming" | "outgoing" | "system";
|
390
402
|
sender: {
|
391
403
|
address: string | null;
|
@@ -413,7 +425,7 @@ export declare const lineContract: {
|
|
413
425
|
}>;
|
414
426
|
}, "strip", z.ZodTypeAny, {
|
415
427
|
message: {
|
416
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
428
|
+
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";
|
417
429
|
direction: "incoming" | "outgoing" | "system";
|
418
430
|
sender: {
|
419
431
|
address: string | null;
|
@@ -451,12 +463,14 @@ export declare const lineContract: {
|
|
451
463
|
accessToken?: string | undefined;
|
452
464
|
channelSecret?: string | undefined;
|
453
465
|
additionalCredentials?: any;
|
466
|
+
lineRichMenuId?: string | null | undefined;
|
454
467
|
};
|
455
468
|
status: boolean;
|
456
469
|
brandName: string;
|
457
470
|
platformId: string;
|
458
471
|
connectedUserName?: string | null | undefined;
|
459
472
|
connectedUserId?: string | null | undefined;
|
473
|
+
lineRichMenuId?: string | null | undefined;
|
460
474
|
actor?: {
|
461
475
|
id: string;
|
462
476
|
address: string | null;
|
@@ -499,7 +513,7 @@ export declare const lineContract: {
|
|
499
513
|
stickerId: number;
|
500
514
|
}, {
|
501
515
|
message: {
|
502
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
516
|
+
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";
|
503
517
|
direction: "incoming" | "outgoing" | "system";
|
504
518
|
sender: {
|
505
519
|
address: string | null;
|
@@ -537,12 +551,14 @@ export declare const lineContract: {
|
|
537
551
|
accessToken?: string | undefined;
|
538
552
|
channelSecret?: string | undefined;
|
539
553
|
additionalCredentials?: any;
|
554
|
+
lineRichMenuId?: string | null | undefined;
|
540
555
|
};
|
541
556
|
status: boolean;
|
542
557
|
brandName: string;
|
543
558
|
platformId: string;
|
544
559
|
connectedUserName?: string | null | undefined;
|
545
560
|
connectedUserId?: string | null | undefined;
|
561
|
+
lineRichMenuId?: string | null | undefined;
|
546
562
|
actor?: {
|
547
563
|
id: string;
|
548
564
|
address: string | null;
|
@@ -678,24 +694,28 @@ export declare const lineContract: {
|
|
678
694
|
accessToken: z.ZodOptional<z.ZodString>;
|
679
695
|
channelSecret: z.ZodOptional<z.ZodString>;
|
680
696
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
697
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
681
698
|
}, "strip", z.ZodTypeAny, {
|
682
699
|
id: string;
|
683
700
|
name: string;
|
684
701
|
accessToken?: string | undefined;
|
685
702
|
channelSecret?: string | undefined;
|
686
703
|
additionalCredentials?: any;
|
704
|
+
lineRichMenuId?: string | null | undefined;
|
687
705
|
}, {
|
688
706
|
id: string;
|
689
707
|
name: string;
|
690
708
|
accessToken?: string | undefined;
|
691
709
|
channelSecret?: string | undefined;
|
692
710
|
additionalCredentials?: any;
|
711
|
+
lineRichMenuId?: string | null | undefined;
|
693
712
|
}>;
|
694
713
|
platformId: z.ZodString;
|
695
714
|
brandName: z.ZodString;
|
696
715
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
697
716
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
698
717
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
718
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
699
719
|
actor: z.ZodOptional<z.ZodObject<{
|
700
720
|
id: z.ZodString;
|
701
721
|
name: z.ZodString;
|
@@ -725,12 +745,14 @@ export declare const lineContract: {
|
|
725
745
|
accessToken?: string | undefined;
|
726
746
|
channelSecret?: string | undefined;
|
727
747
|
additionalCredentials?: any;
|
748
|
+
lineRichMenuId?: string | null | undefined;
|
728
749
|
};
|
729
750
|
status: boolean;
|
730
751
|
brandName: string;
|
731
752
|
platformId: string;
|
732
753
|
connectedUserName?: string | null | undefined;
|
733
754
|
connectedUserId?: string | null | undefined;
|
755
|
+
lineRichMenuId?: string | null | undefined;
|
734
756
|
actor?: {
|
735
757
|
id: string;
|
736
758
|
address: string | null;
|
@@ -748,12 +770,14 @@ export declare const lineContract: {
|
|
748
770
|
accessToken?: string | undefined;
|
749
771
|
channelSecret?: string | undefined;
|
750
772
|
additionalCredentials?: any;
|
773
|
+
lineRichMenuId?: string | null | undefined;
|
751
774
|
};
|
752
775
|
status: boolean;
|
753
776
|
brandName: string;
|
754
777
|
platformId: string;
|
755
778
|
connectedUserName?: string | null | undefined;
|
756
779
|
connectedUserId?: string | null | undefined;
|
780
|
+
lineRichMenuId?: string | null | undefined;
|
757
781
|
actor?: {
|
758
782
|
id: string;
|
759
783
|
address: string | null;
|
@@ -773,12 +797,14 @@ export declare const lineContract: {
|
|
773
797
|
accessToken?: string | undefined;
|
774
798
|
channelSecret?: string | undefined;
|
775
799
|
additionalCredentials?: any;
|
800
|
+
lineRichMenuId?: string | null | undefined;
|
776
801
|
};
|
777
802
|
status: boolean;
|
778
803
|
brandName: string;
|
779
804
|
platformId: string;
|
780
805
|
connectedUserName?: string | null | undefined;
|
781
806
|
connectedUserId?: string | null | undefined;
|
807
|
+
lineRichMenuId?: string | null | undefined;
|
782
808
|
actor?: {
|
783
809
|
id: string;
|
784
810
|
address: string | null;
|
@@ -799,12 +825,14 @@ export declare const lineContract: {
|
|
799
825
|
accessToken?: string | undefined;
|
800
826
|
channelSecret?: string | undefined;
|
801
827
|
additionalCredentials?: any;
|
828
|
+
lineRichMenuId?: string | null | undefined;
|
802
829
|
};
|
803
830
|
status: boolean;
|
804
831
|
brandName: string;
|
805
832
|
platformId: string;
|
806
833
|
connectedUserName?: string | null | undefined;
|
807
834
|
connectedUserId?: string | null | undefined;
|
835
|
+
lineRichMenuId?: string | null | undefined;
|
808
836
|
actor?: {
|
809
837
|
id: string;
|
810
838
|
address: string | null;
|
@@ -840,6 +868,7 @@ export declare const lineContract: {
|
|
840
868
|
};
|
841
869
|
sendMessage: {
|
842
870
|
body: z.ZodObject<{
|
871
|
+
isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
843
872
|
room: z.ZodObject<{
|
844
873
|
id: z.ZodString;
|
845
874
|
lastMessage: z.ZodOptional<z.ZodString>;
|
@@ -973,24 +1002,28 @@ export declare const lineContract: {
|
|
973
1002
|
accessToken: z.ZodOptional<z.ZodString>;
|
974
1003
|
channelSecret: z.ZodOptional<z.ZodString>;
|
975
1004
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
1005
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
976
1006
|
}, "strip", z.ZodTypeAny, {
|
977
1007
|
id: string;
|
978
1008
|
name: string;
|
979
1009
|
accessToken?: string | undefined;
|
980
1010
|
channelSecret?: string | undefined;
|
981
1011
|
additionalCredentials?: any;
|
1012
|
+
lineRichMenuId?: string | null | undefined;
|
982
1013
|
}, {
|
983
1014
|
id: string;
|
984
1015
|
name: string;
|
985
1016
|
accessToken?: string | undefined;
|
986
1017
|
channelSecret?: string | undefined;
|
987
1018
|
additionalCredentials?: any;
|
1019
|
+
lineRichMenuId?: string | null | undefined;
|
988
1020
|
}>;
|
989
1021
|
platformId: z.ZodString;
|
990
1022
|
brandName: z.ZodString;
|
991
1023
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
992
1024
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
993
1025
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
1026
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
994
1027
|
actor: z.ZodOptional<z.ZodObject<{
|
995
1028
|
id: z.ZodString;
|
996
1029
|
name: z.ZodString;
|
@@ -1020,12 +1053,14 @@ export declare const lineContract: {
|
|
1020
1053
|
accessToken?: string | undefined;
|
1021
1054
|
channelSecret?: string | undefined;
|
1022
1055
|
additionalCredentials?: any;
|
1056
|
+
lineRichMenuId?: string | null | undefined;
|
1023
1057
|
};
|
1024
1058
|
status: boolean;
|
1025
1059
|
brandName: string;
|
1026
1060
|
platformId: string;
|
1027
1061
|
connectedUserName?: string | null | undefined;
|
1028
1062
|
connectedUserId?: string | null | undefined;
|
1063
|
+
lineRichMenuId?: string | null | undefined;
|
1029
1064
|
actor?: {
|
1030
1065
|
id: string;
|
1031
1066
|
address: string | null;
|
@@ -1043,12 +1078,14 @@ export declare const lineContract: {
|
|
1043
1078
|
accessToken?: string | undefined;
|
1044
1079
|
channelSecret?: string | undefined;
|
1045
1080
|
additionalCredentials?: any;
|
1081
|
+
lineRichMenuId?: string | null | undefined;
|
1046
1082
|
};
|
1047
1083
|
status: boolean;
|
1048
1084
|
brandName: string;
|
1049
1085
|
platformId: string;
|
1050
1086
|
connectedUserName?: string | null | undefined;
|
1051
1087
|
connectedUserId?: string | null | undefined;
|
1088
|
+
lineRichMenuId?: string | null | undefined;
|
1052
1089
|
actor?: {
|
1053
1090
|
id: string;
|
1054
1091
|
address: string | null;
|
@@ -1070,12 +1107,14 @@ export declare const lineContract: {
|
|
1070
1107
|
accessToken?: string | undefined;
|
1071
1108
|
channelSecret?: string | undefined;
|
1072
1109
|
additionalCredentials?: any;
|
1110
|
+
lineRichMenuId?: string | null | undefined;
|
1073
1111
|
};
|
1074
1112
|
status: boolean;
|
1075
1113
|
brandName: string;
|
1076
1114
|
platformId: string;
|
1077
1115
|
connectedUserName?: string | null | undefined;
|
1078
1116
|
connectedUserId?: string | null | undefined;
|
1117
|
+
lineRichMenuId?: string | null | undefined;
|
1079
1118
|
actor?: {
|
1080
1119
|
id: string;
|
1081
1120
|
address: string | null;
|
@@ -1136,12 +1175,14 @@ export declare const lineContract: {
|
|
1136
1175
|
accessToken?: string | undefined;
|
1137
1176
|
channelSecret?: string | undefined;
|
1138
1177
|
additionalCredentials?: any;
|
1178
|
+
lineRichMenuId?: string | null | undefined;
|
1139
1179
|
};
|
1140
1180
|
status: boolean;
|
1141
1181
|
brandName: string;
|
1142
1182
|
platformId: string;
|
1143
1183
|
connectedUserName?: string | null | undefined;
|
1144
1184
|
connectedUserId?: string | null | undefined;
|
1185
|
+
lineRichMenuId?: string | null | undefined;
|
1145
1186
|
actor?: {
|
1146
1187
|
id: string;
|
1147
1188
|
address: string | null;
|
@@ -1194,7 +1235,7 @@ export declare const lineContract: {
|
|
1194
1235
|
message: z.ZodObject<{
|
1195
1236
|
message: z.ZodOptional<z.ZodString>;
|
1196
1237
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1197
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
1238
|
+
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"]>;
|
1198
1239
|
readAt: z.ZodOptional<z.ZodDate>;
|
1199
1240
|
metadata: z.ZodOptional<z.ZodAny>;
|
1200
1241
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -1210,18 +1251,21 @@ export declare const lineContract: {
|
|
1210
1251
|
fileName: z.ZodString;
|
1211
1252
|
fileSize: z.ZodNumber;
|
1212
1253
|
fileKey: z.ZodString;
|
1254
|
+
originalUrl: z.ZodOptional<z.ZodString>;
|
1213
1255
|
}, "strip", z.ZodTypeAny, {
|
1214
1256
|
fileName: string;
|
1215
1257
|
fileKey: string;
|
1216
1258
|
bucketName: string;
|
1217
1259
|
fileSize: number;
|
1260
|
+
originalUrl?: string | undefined;
|
1218
1261
|
}, {
|
1219
1262
|
fileName: string;
|
1220
1263
|
fileKey: string;
|
1221
1264
|
bucketName: string;
|
1222
1265
|
fileSize: number;
|
1266
|
+
originalUrl?: string | undefined;
|
1223
1267
|
}>>;
|
1224
|
-
sender: z.ZodObject<{
|
1268
|
+
sender: z.ZodOptional<z.ZodObject<{
|
1225
1269
|
id: z.ZodString;
|
1226
1270
|
name: z.ZodString;
|
1227
1271
|
email: z.ZodString;
|
@@ -1239,17 +1283,10 @@ export declare const lineContract: {
|
|
1239
1283
|
name: string;
|
1240
1284
|
email: string;
|
1241
1285
|
phone: string | null;
|
1242
|
-
}
|
1286
|
+
}>>;
|
1243
1287
|
}, "strip", z.ZodTypeAny, {
|
1244
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1288
|
+
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";
|
1245
1289
|
direction: "incoming" | "outgoing" | "system";
|
1246
|
-
sender: {
|
1247
|
-
id: string;
|
1248
|
-
address: string | null;
|
1249
|
-
name: string;
|
1250
|
-
email: string;
|
1251
|
-
phone: string | null;
|
1252
|
-
};
|
1253
1290
|
message?: string | undefined;
|
1254
1291
|
readAt?: Date | undefined;
|
1255
1292
|
metadata?: any;
|
@@ -1266,17 +1303,18 @@ export declare const lineContract: {
|
|
1266
1303
|
fileKey: string;
|
1267
1304
|
bucketName: string;
|
1268
1305
|
fileSize: number;
|
1306
|
+
originalUrl?: string | undefined;
|
1269
1307
|
} | undefined;
|
1270
|
-
|
1271
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1272
|
-
direction: "incoming" | "outgoing" | "system";
|
1273
|
-
sender: {
|
1308
|
+
sender?: {
|
1274
1309
|
id: string;
|
1275
1310
|
address: string | null;
|
1276
1311
|
name: string;
|
1277
1312
|
email: string;
|
1278
1313
|
phone: string | null;
|
1279
|
-
};
|
1314
|
+
} | undefined;
|
1315
|
+
}, {
|
1316
|
+
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";
|
1317
|
+
direction: "incoming" | "outgoing" | "system";
|
1280
1318
|
message?: string | undefined;
|
1281
1319
|
readAt?: Date | undefined;
|
1282
1320
|
metadata?: any;
|
@@ -1293,19 +1331,20 @@ export declare const lineContract: {
|
|
1293
1331
|
fileKey: string;
|
1294
1332
|
bucketName: string;
|
1295
1333
|
fileSize: number;
|
1334
|
+
originalUrl?: string | undefined;
|
1296
1335
|
} | undefined;
|
1297
|
-
|
1298
|
-
}, "strip", z.ZodTypeAny, {
|
1299
|
-
message: {
|
1300
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1301
|
-
direction: "incoming" | "outgoing" | "system";
|
1302
|
-
sender: {
|
1336
|
+
sender?: {
|
1303
1337
|
id: string;
|
1304
1338
|
address: string | null;
|
1305
1339
|
name: string;
|
1306
1340
|
email: string;
|
1307
1341
|
phone: string | null;
|
1308
|
-
};
|
1342
|
+
} | undefined;
|
1343
|
+
}>;
|
1344
|
+
}, "strip", z.ZodTypeAny, {
|
1345
|
+
message: {
|
1346
|
+
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";
|
1347
|
+
direction: "incoming" | "outgoing" | "system";
|
1309
1348
|
message?: string | undefined;
|
1310
1349
|
readAt?: Date | undefined;
|
1311
1350
|
metadata?: any;
|
@@ -1322,6 +1361,14 @@ export declare const lineContract: {
|
|
1322
1361
|
fileKey: string;
|
1323
1362
|
bucketName: string;
|
1324
1363
|
fileSize: number;
|
1364
|
+
originalUrl?: string | undefined;
|
1365
|
+
} | undefined;
|
1366
|
+
sender?: {
|
1367
|
+
id: string;
|
1368
|
+
address: string | null;
|
1369
|
+
name: string;
|
1370
|
+
email: string;
|
1371
|
+
phone: string | null;
|
1325
1372
|
} | undefined;
|
1326
1373
|
};
|
1327
1374
|
room: {
|
@@ -1336,12 +1383,14 @@ export declare const lineContract: {
|
|
1336
1383
|
accessToken?: string | undefined;
|
1337
1384
|
channelSecret?: string | undefined;
|
1338
1385
|
additionalCredentials?: any;
|
1386
|
+
lineRichMenuId?: string | null | undefined;
|
1339
1387
|
};
|
1340
1388
|
status: boolean;
|
1341
1389
|
brandName: string;
|
1342
1390
|
platformId: string;
|
1343
1391
|
connectedUserName?: string | null | undefined;
|
1344
1392
|
connectedUserId?: string | null | undefined;
|
1393
|
+
lineRichMenuId?: string | null | undefined;
|
1345
1394
|
actor?: {
|
1346
1395
|
id: string;
|
1347
1396
|
address: string | null;
|
@@ -1391,17 +1440,11 @@ export declare const lineContract: {
|
|
1391
1440
|
metadata?: any;
|
1392
1441
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1393
1442
|
};
|
1443
|
+
isBot: boolean | null;
|
1394
1444
|
}, {
|
1395
1445
|
message: {
|
1396
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1446
|
+
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";
|
1397
1447
|
direction: "incoming" | "outgoing" | "system";
|
1398
|
-
sender: {
|
1399
|
-
id: string;
|
1400
|
-
address: string | null;
|
1401
|
-
name: string;
|
1402
|
-
email: string;
|
1403
|
-
phone: string | null;
|
1404
|
-
};
|
1405
1448
|
message?: string | undefined;
|
1406
1449
|
readAt?: Date | undefined;
|
1407
1450
|
metadata?: any;
|
@@ -1418,6 +1461,14 @@ export declare const lineContract: {
|
|
1418
1461
|
fileKey: string;
|
1419
1462
|
bucketName: string;
|
1420
1463
|
fileSize: number;
|
1464
|
+
originalUrl?: string | undefined;
|
1465
|
+
} | undefined;
|
1466
|
+
sender?: {
|
1467
|
+
id: string;
|
1468
|
+
address: string | null;
|
1469
|
+
name: string;
|
1470
|
+
email: string;
|
1471
|
+
phone: string | null;
|
1421
1472
|
} | undefined;
|
1422
1473
|
};
|
1423
1474
|
room: {
|
@@ -1432,12 +1483,14 @@ export declare const lineContract: {
|
|
1432
1483
|
accessToken?: string | undefined;
|
1433
1484
|
channelSecret?: string | undefined;
|
1434
1485
|
additionalCredentials?: any;
|
1486
|
+
lineRichMenuId?: string | null | undefined;
|
1435
1487
|
};
|
1436
1488
|
status: boolean;
|
1437
1489
|
brandName: string;
|
1438
1490
|
platformId: string;
|
1439
1491
|
connectedUserName?: string | null | undefined;
|
1440
1492
|
connectedUserId?: string | null | undefined;
|
1493
|
+
lineRichMenuId?: string | null | undefined;
|
1441
1494
|
actor?: {
|
1442
1495
|
id: string;
|
1443
1496
|
address: string | null;
|
@@ -1487,6 +1540,7 @@ export declare const lineContract: {
|
|
1487
1540
|
metadata?: any;
|
1488
1541
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1489
1542
|
};
|
1543
|
+
isBot?: boolean | null | undefined;
|
1490
1544
|
}>;
|
1491
1545
|
method: "POST";
|
1492
1546
|
responses: {
|
@@ -1499,7 +1553,7 @@ export declare const lineContract: {
|
|
1499
1553
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1500
1554
|
message: z.ZodString;
|
1501
1555
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1502
|
-
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"]>;
|
1503
1557
|
readAt: z.ZodDate;
|
1504
1558
|
metadata: z.ZodAny;
|
1505
1559
|
platformId: z.ZodString;
|
@@ -1524,6 +1578,7 @@ export declare const lineContract: {
|
|
1524
1578
|
firstResponseAt: z.ZodDate;
|
1525
1579
|
firstResponseTime: z.ZodNumber;
|
1526
1580
|
isLatest: z.ZodBoolean;
|
1581
|
+
isBotRoom: z.ZodBoolean;
|
1527
1582
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1528
1583
|
platformContact: z.ZodObject<{
|
1529
1584
|
id: z.ZodString;
|
@@ -2880,18 +2935,21 @@ export declare const lineContract: {
|
|
2880
2935
|
accessToken: z.ZodOptional<z.ZodString>;
|
2881
2936
|
channelSecret: z.ZodOptional<z.ZodString>;
|
2882
2937
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
2938
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
2883
2939
|
}, "strip", z.ZodTypeAny, {
|
2884
2940
|
id: string;
|
2885
2941
|
name: string;
|
2886
2942
|
accessToken?: string | undefined;
|
2887
2943
|
channelSecret?: string | undefined;
|
2888
2944
|
additionalCredentials?: any;
|
2945
|
+
lineRichMenuId?: string | null | undefined;
|
2889
2946
|
}, {
|
2890
2947
|
id: string;
|
2891
2948
|
name: string;
|
2892
2949
|
accessToken?: string | undefined;
|
2893
2950
|
channelSecret?: string | undefined;
|
2894
2951
|
additionalCredentials?: any;
|
2952
|
+
lineRichMenuId?: string | null | undefined;
|
2895
2953
|
}>;
|
2896
2954
|
brandName: z.ZodString;
|
2897
2955
|
platformId: z.ZodString;
|
@@ -2899,6 +2957,25 @@ export declare const lineContract: {
|
|
2899
2957
|
isReloginRequired: z.ZodBoolean;
|
2900
2958
|
connectedUserName: z.ZodString;
|
2901
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
|
+
}>>;
|
2902
2979
|
actor: z.ZodObject<{
|
2903
2980
|
id: z.ZodString;
|
2904
2981
|
createdAt: z.ZodDate;
|
@@ -3113,6 +3190,7 @@ export declare const lineContract: {
|
|
3113
3190
|
accessToken?: string | undefined;
|
3114
3191
|
channelSecret?: string | undefined;
|
3115
3192
|
additionalCredentials?: any;
|
3193
|
+
lineRichMenuId?: string | null | undefined;
|
3116
3194
|
};
|
3117
3195
|
status: boolean;
|
3118
3196
|
createdAt: Date;
|
@@ -3167,6 +3245,13 @@ export declare const lineContract: {
|
|
3167
3245
|
isReloginRequired: boolean;
|
3168
3246
|
connectedUserName: string;
|
3169
3247
|
connectedUserId: string;
|
3248
|
+
botpressBot: {
|
3249
|
+
id: string;
|
3250
|
+
name: string;
|
3251
|
+
accessToken: string;
|
3252
|
+
botId: string;
|
3253
|
+
integrationId: string;
|
3254
|
+
} | null;
|
3170
3255
|
}, {
|
3171
3256
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
3172
3257
|
id: string;
|
@@ -3177,6 +3262,7 @@ export declare const lineContract: {
|
|
3177
3262
|
accessToken?: string | undefined;
|
3178
3263
|
channelSecret?: string | undefined;
|
3179
3264
|
additionalCredentials?: any;
|
3265
|
+
lineRichMenuId?: string | null | undefined;
|
3180
3266
|
};
|
3181
3267
|
status: boolean;
|
3182
3268
|
createdAt: Date;
|
@@ -3231,6 +3317,13 @@ export declare const lineContract: {
|
|
3231
3317
|
isReloginRequired: boolean;
|
3232
3318
|
connectedUserName: string;
|
3233
3319
|
connectedUserId: string;
|
3320
|
+
botpressBot: {
|
3321
|
+
id: string;
|
3322
|
+
name: string;
|
3323
|
+
accessToken: string;
|
3324
|
+
botId: string;
|
3325
|
+
integrationId: string;
|
3326
|
+
} | null;
|
3234
3327
|
}>;
|
3235
3328
|
cxlog: z.ZodObject<{
|
3236
3329
|
id: z.ZodString;
|
@@ -3688,6 +3781,7 @@ export declare const lineContract: {
|
|
3688
3781
|
accessToken?: string | undefined;
|
3689
3782
|
channelSecret?: string | undefined;
|
3690
3783
|
additionalCredentials?: any;
|
3784
|
+
lineRichMenuId?: string | null | undefined;
|
3691
3785
|
};
|
3692
3786
|
status: boolean;
|
3693
3787
|
createdAt: Date;
|
@@ -3742,6 +3836,13 @@ export declare const lineContract: {
|
|
3742
3836
|
isReloginRequired: boolean;
|
3743
3837
|
connectedUserName: string;
|
3744
3838
|
connectedUserId: string;
|
3839
|
+
botpressBot: {
|
3840
|
+
id: string;
|
3841
|
+
name: string;
|
3842
|
+
accessToken: string;
|
3843
|
+
botId: string;
|
3844
|
+
integrationId: string;
|
3845
|
+
} | null;
|
3745
3846
|
};
|
3746
3847
|
direction: "incoming" | "outgoing" | "system";
|
3747
3848
|
status: number;
|
@@ -3956,6 +4057,7 @@ export declare const lineContract: {
|
|
3956
4057
|
};
|
3957
4058
|
closedAt: Date;
|
3958
4059
|
lastMessageAt: Date | null;
|
4060
|
+
isBotRoom: boolean;
|
3959
4061
|
cxlog: {
|
3960
4062
|
id: string;
|
3961
4063
|
channel: string | null;
|
@@ -4046,6 +4148,7 @@ export declare const lineContract: {
|
|
4046
4148
|
accessToken?: string | undefined;
|
4047
4149
|
channelSecret?: string | undefined;
|
4048
4150
|
additionalCredentials?: any;
|
4151
|
+
lineRichMenuId?: string | null | undefined;
|
4049
4152
|
};
|
4050
4153
|
status: boolean;
|
4051
4154
|
createdAt: Date;
|
@@ -4100,6 +4203,13 @@ export declare const lineContract: {
|
|
4100
4203
|
isReloginRequired: boolean;
|
4101
4204
|
connectedUserName: string;
|
4102
4205
|
connectedUserId: string;
|
4206
|
+
botpressBot: {
|
4207
|
+
id: string;
|
4208
|
+
name: string;
|
4209
|
+
accessToken: string;
|
4210
|
+
botId: string;
|
4211
|
+
integrationId: string;
|
4212
|
+
} | null;
|
4103
4213
|
};
|
4104
4214
|
direction: "incoming" | "outgoing" | "system";
|
4105
4215
|
status: number;
|
@@ -4314,6 +4424,7 @@ export declare const lineContract: {
|
|
4314
4424
|
};
|
4315
4425
|
closedAt: Date;
|
4316
4426
|
lastMessageAt: Date | null;
|
4427
|
+
isBotRoom: boolean;
|
4317
4428
|
cxlog: {
|
4318
4429
|
id: string;
|
4319
4430
|
channel: string | null;
|
@@ -4434,7 +4545,7 @@ export declare const lineContract: {
|
|
4434
4545
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4435
4546
|
message: z.ZodString;
|
4436
4547
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4437
|
-
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"]>;
|
4438
4549
|
readAt: z.ZodDate;
|
4439
4550
|
metadata: z.ZodAny;
|
4440
4551
|
platformId: z.ZodString;
|
@@ -5092,7 +5203,7 @@ export declare const lineContract: {
|
|
5092
5203
|
};
|
5093
5204
|
}>;
|
5094
5205
|
}, "strip", z.ZodTypeAny, {
|
5095
|
-
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";
|
5096
5207
|
message: string;
|
5097
5208
|
id: string;
|
5098
5209
|
url: string;
|
@@ -5144,7 +5255,6 @@ export declare const lineContract: {
|
|
5144
5255
|
telephonySignature: string | null;
|
5145
5256
|
};
|
5146
5257
|
};
|
5147
|
-
platformId: string;
|
5148
5258
|
upload: {
|
5149
5259
|
id: string;
|
5150
5260
|
createdAt: Date;
|
@@ -5201,6 +5311,7 @@ export declare const lineContract: {
|
|
5201
5311
|
telephonySignature: string | null;
|
5202
5312
|
};
|
5203
5313
|
};
|
5314
|
+
platformId: string;
|
5204
5315
|
readAt: Date;
|
5205
5316
|
platformMessageId: string;
|
5206
5317
|
replyPlatformMessageId: string;
|
@@ -5254,7 +5365,7 @@ export declare const lineContract: {
|
|
5254
5365
|
metadata?: any;
|
5255
5366
|
template?: any;
|
5256
5367
|
}, {
|
5257
|
-
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";
|
5258
5369
|
message: string;
|
5259
5370
|
id: string;
|
5260
5371
|
url: string;
|
@@ -5306,7 +5417,6 @@ export declare const lineContract: {
|
|
5306
5417
|
telephonySignature: string | null;
|
5307
5418
|
};
|
5308
5419
|
};
|
5309
|
-
platformId: string;
|
5310
5420
|
upload: {
|
5311
5421
|
id: string;
|
5312
5422
|
createdAt: Date;
|
@@ -5363,6 +5473,7 @@ export declare const lineContract: {
|
|
5363
5473
|
telephonySignature: string | null;
|
5364
5474
|
};
|
5365
5475
|
};
|
5476
|
+
platformId: string;
|
5366
5477
|
readAt: Date;
|
5367
5478
|
platformMessageId: string;
|
5368
5479
|
replyPlatformMessageId: string;
|
@@ -6054,7 +6165,7 @@ export declare const lineContract: {
|
|
6054
6165
|
isActive: boolean;
|
6055
6166
|
}>;
|
6056
6167
|
}, "strip", z.ZodTypeAny, {
|
6057
|
-
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";
|
6058
6169
|
message: string;
|
6059
6170
|
id: string;
|
6060
6171
|
url: string;
|
@@ -6106,7 +6217,6 @@ export declare const lineContract: {
|
|
6106
6217
|
telephonySignature: string | null;
|
6107
6218
|
};
|
6108
6219
|
};
|
6109
|
-
platformId: string;
|
6110
6220
|
upload: {
|
6111
6221
|
id: string;
|
6112
6222
|
createdAt: Date;
|
@@ -6163,6 +6273,7 @@ export declare const lineContract: {
|
|
6163
6273
|
telephonySignature: string | null;
|
6164
6274
|
};
|
6165
6275
|
};
|
6276
|
+
platformId: string;
|
6166
6277
|
room: {
|
6167
6278
|
id: string;
|
6168
6279
|
channel: {
|
@@ -6175,6 +6286,7 @@ export declare const lineContract: {
|
|
6175
6286
|
accessToken?: string | undefined;
|
6176
6287
|
channelSecret?: string | undefined;
|
6177
6288
|
additionalCredentials?: any;
|
6289
|
+
lineRichMenuId?: string | null | undefined;
|
6178
6290
|
};
|
6179
6291
|
status: boolean;
|
6180
6292
|
createdAt: Date;
|
@@ -6229,6 +6341,13 @@ export declare const lineContract: {
|
|
6229
6341
|
isReloginRequired: boolean;
|
6230
6342
|
connectedUserName: string;
|
6231
6343
|
connectedUserId: string;
|
6344
|
+
botpressBot: {
|
6345
|
+
id: string;
|
6346
|
+
name: string;
|
6347
|
+
accessToken: string;
|
6348
|
+
botId: string;
|
6349
|
+
integrationId: string;
|
6350
|
+
} | null;
|
6232
6351
|
};
|
6233
6352
|
direction: "incoming" | "outgoing" | "system";
|
6234
6353
|
status: number;
|
@@ -6443,6 +6562,7 @@ export declare const lineContract: {
|
|
6443
6562
|
};
|
6444
6563
|
closedAt: Date;
|
6445
6564
|
lastMessageAt: Date | null;
|
6565
|
+
isBotRoom: boolean;
|
6446
6566
|
cxlog: {
|
6447
6567
|
id: string;
|
6448
6568
|
channel: string | null;
|
@@ -6538,7 +6658,7 @@ export declare const lineContract: {
|
|
6538
6658
|
previewUrl: string;
|
6539
6659
|
imageSetId: string;
|
6540
6660
|
repliedMessage: {
|
6541
|
-
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";
|
6542
6662
|
message: string;
|
6543
6663
|
id: string;
|
6544
6664
|
url: string;
|
@@ -6590,7 +6710,6 @@ export declare const lineContract: {
|
|
6590
6710
|
telephonySignature: string | null;
|
6591
6711
|
};
|
6592
6712
|
};
|
6593
|
-
platformId: string;
|
6594
6713
|
upload: {
|
6595
6714
|
id: string;
|
6596
6715
|
createdAt: Date;
|
@@ -6647,6 +6766,7 @@ export declare const lineContract: {
|
|
6647
6766
|
telephonySignature: string | null;
|
6648
6767
|
};
|
6649
6768
|
};
|
6769
|
+
platformId: string;
|
6650
6770
|
readAt: Date;
|
6651
6771
|
platformMessageId: string;
|
6652
6772
|
replyPlatformMessageId: string;
|
@@ -6747,7 +6867,7 @@ export declare const lineContract: {
|
|
6747
6867
|
metadata?: any;
|
6748
6868
|
template?: any;
|
6749
6869
|
}, {
|
6750
|
-
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";
|
6751
6871
|
message: string;
|
6752
6872
|
id: string;
|
6753
6873
|
url: string;
|
@@ -6799,7 +6919,6 @@ export declare const lineContract: {
|
|
6799
6919
|
telephonySignature: string | null;
|
6800
6920
|
};
|
6801
6921
|
};
|
6802
|
-
platformId: string;
|
6803
6922
|
upload: {
|
6804
6923
|
id: string;
|
6805
6924
|
createdAt: Date;
|
@@ -6856,6 +6975,7 @@ export declare const lineContract: {
|
|
6856
6975
|
telephonySignature: string | null;
|
6857
6976
|
};
|
6858
6977
|
};
|
6978
|
+
platformId: string;
|
6859
6979
|
room: {
|
6860
6980
|
id: string;
|
6861
6981
|
channel: {
|
@@ -6868,6 +6988,7 @@ export declare const lineContract: {
|
|
6868
6988
|
accessToken?: string | undefined;
|
6869
6989
|
channelSecret?: string | undefined;
|
6870
6990
|
additionalCredentials?: any;
|
6991
|
+
lineRichMenuId?: string | null | undefined;
|
6871
6992
|
};
|
6872
6993
|
status: boolean;
|
6873
6994
|
createdAt: Date;
|
@@ -6922,6 +7043,13 @@ export declare const lineContract: {
|
|
6922
7043
|
isReloginRequired: boolean;
|
6923
7044
|
connectedUserName: string;
|
6924
7045
|
connectedUserId: string;
|
7046
|
+
botpressBot: {
|
7047
|
+
id: string;
|
7048
|
+
name: string;
|
7049
|
+
accessToken: string;
|
7050
|
+
botId: string;
|
7051
|
+
integrationId: string;
|
7052
|
+
} | null;
|
6925
7053
|
};
|
6926
7054
|
direction: "incoming" | "outgoing" | "system";
|
6927
7055
|
status: number;
|
@@ -7136,6 +7264,7 @@ export declare const lineContract: {
|
|
7136
7264
|
};
|
7137
7265
|
closedAt: Date;
|
7138
7266
|
lastMessageAt: Date | null;
|
7267
|
+
isBotRoom: boolean;
|
7139
7268
|
cxlog: {
|
7140
7269
|
id: string;
|
7141
7270
|
channel: string | null;
|
@@ -7231,7 +7360,7 @@ export declare const lineContract: {
|
|
7231
7360
|
previewUrl: string;
|
7232
7361
|
imageSetId: string;
|
7233
7362
|
repliedMessage: {
|
7234
|
-
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";
|
7235
7364
|
message: string;
|
7236
7365
|
id: string;
|
7237
7366
|
url: string;
|
@@ -7283,7 +7412,6 @@ export declare const lineContract: {
|
|
7283
7412
|
telephonySignature: string | null;
|
7284
7413
|
};
|
7285
7414
|
};
|
7286
|
-
platformId: string;
|
7287
7415
|
upload: {
|
7288
7416
|
id: string;
|
7289
7417
|
createdAt: Date;
|
@@ -7340,6 +7468,7 @@ export declare const lineContract: {
|
|
7340
7468
|
telephonySignature: string | null;
|
7341
7469
|
};
|
7342
7470
|
};
|
7471
|
+
platformId: string;
|
7343
7472
|
readAt: Date;
|
7344
7473
|
platformMessageId: string;
|
7345
7474
|
replyPlatformMessageId: string;
|
@@ -7442,7 +7571,7 @@ export declare const lineContract: {
|
|
7442
7571
|
}>;
|
7443
7572
|
}, "strip", z.ZodTypeAny, {
|
7444
7573
|
data: {
|
7445
|
-
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";
|
7446
7575
|
message: string;
|
7447
7576
|
id: string;
|
7448
7577
|
url: string;
|
@@ -7494,7 +7623,6 @@ export declare const lineContract: {
|
|
7494
7623
|
telephonySignature: string | null;
|
7495
7624
|
};
|
7496
7625
|
};
|
7497
|
-
platformId: string;
|
7498
7626
|
upload: {
|
7499
7627
|
id: string;
|
7500
7628
|
createdAt: Date;
|
@@ -7551,6 +7679,7 @@ export declare const lineContract: {
|
|
7551
7679
|
telephonySignature: string | null;
|
7552
7680
|
};
|
7553
7681
|
};
|
7682
|
+
platformId: string;
|
7554
7683
|
room: {
|
7555
7684
|
id: string;
|
7556
7685
|
channel: {
|
@@ -7563,6 +7692,7 @@ export declare const lineContract: {
|
|
7563
7692
|
accessToken?: string | undefined;
|
7564
7693
|
channelSecret?: string | undefined;
|
7565
7694
|
additionalCredentials?: any;
|
7695
|
+
lineRichMenuId?: string | null | undefined;
|
7566
7696
|
};
|
7567
7697
|
status: boolean;
|
7568
7698
|
createdAt: Date;
|
@@ -7617,6 +7747,13 @@ export declare const lineContract: {
|
|
7617
7747
|
isReloginRequired: boolean;
|
7618
7748
|
connectedUserName: string;
|
7619
7749
|
connectedUserId: string;
|
7750
|
+
botpressBot: {
|
7751
|
+
id: string;
|
7752
|
+
name: string;
|
7753
|
+
accessToken: string;
|
7754
|
+
botId: string;
|
7755
|
+
integrationId: string;
|
7756
|
+
} | null;
|
7620
7757
|
};
|
7621
7758
|
direction: "incoming" | "outgoing" | "system";
|
7622
7759
|
status: number;
|
@@ -7831,6 +7968,7 @@ export declare const lineContract: {
|
|
7831
7968
|
};
|
7832
7969
|
closedAt: Date;
|
7833
7970
|
lastMessageAt: Date | null;
|
7971
|
+
isBotRoom: boolean;
|
7834
7972
|
cxlog: {
|
7835
7973
|
id: string;
|
7836
7974
|
channel: string | null;
|
@@ -7926,7 +8064,7 @@ export declare const lineContract: {
|
|
7926
8064
|
previewUrl: string;
|
7927
8065
|
imageSetId: string;
|
7928
8066
|
repliedMessage: {
|
7929
|
-
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";
|
7930
8068
|
message: string;
|
7931
8069
|
id: string;
|
7932
8070
|
url: string;
|
@@ -7978,7 +8116,6 @@ export declare const lineContract: {
|
|
7978
8116
|
telephonySignature: string | null;
|
7979
8117
|
};
|
7980
8118
|
};
|
7981
|
-
platformId: string;
|
7982
8119
|
upload: {
|
7983
8120
|
id: string;
|
7984
8121
|
createdAt: Date;
|
@@ -8035,6 +8172,7 @@ export declare const lineContract: {
|
|
8035
8172
|
telephonySignature: string | null;
|
8036
8173
|
};
|
8037
8174
|
};
|
8175
|
+
platformId: string;
|
8038
8176
|
readAt: Date;
|
8039
8177
|
platformMessageId: string;
|
8040
8178
|
replyPlatformMessageId: string;
|
@@ -8138,7 +8276,7 @@ export declare const lineContract: {
|
|
8138
8276
|
requestId: string;
|
8139
8277
|
}, {
|
8140
8278
|
data: {
|
8141
|
-
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";
|
8142
8280
|
message: string;
|
8143
8281
|
id: string;
|
8144
8282
|
url: string;
|
@@ -8190,7 +8328,6 @@ export declare const lineContract: {
|
|
8190
8328
|
telephonySignature: string | null;
|
8191
8329
|
};
|
8192
8330
|
};
|
8193
|
-
platformId: string;
|
8194
8331
|
upload: {
|
8195
8332
|
id: string;
|
8196
8333
|
createdAt: Date;
|
@@ -8247,6 +8384,7 @@ export declare const lineContract: {
|
|
8247
8384
|
telephonySignature: string | null;
|
8248
8385
|
};
|
8249
8386
|
};
|
8387
|
+
platformId: string;
|
8250
8388
|
room: {
|
8251
8389
|
id: string;
|
8252
8390
|
channel: {
|
@@ -8259,6 +8397,7 @@ export declare const lineContract: {
|
|
8259
8397
|
accessToken?: string | undefined;
|
8260
8398
|
channelSecret?: string | undefined;
|
8261
8399
|
additionalCredentials?: any;
|
8400
|
+
lineRichMenuId?: string | null | undefined;
|
8262
8401
|
};
|
8263
8402
|
status: boolean;
|
8264
8403
|
createdAt: Date;
|
@@ -8313,6 +8452,13 @@ export declare const lineContract: {
|
|
8313
8452
|
isReloginRequired: boolean;
|
8314
8453
|
connectedUserName: string;
|
8315
8454
|
connectedUserId: string;
|
8455
|
+
botpressBot: {
|
8456
|
+
id: string;
|
8457
|
+
name: string;
|
8458
|
+
accessToken: string;
|
8459
|
+
botId: string;
|
8460
|
+
integrationId: string;
|
8461
|
+
} | null;
|
8316
8462
|
};
|
8317
8463
|
direction: "incoming" | "outgoing" | "system";
|
8318
8464
|
status: number;
|
@@ -8527,6 +8673,7 @@ export declare const lineContract: {
|
|
8527
8673
|
};
|
8528
8674
|
closedAt: Date;
|
8529
8675
|
lastMessageAt: Date | null;
|
8676
|
+
isBotRoom: boolean;
|
8530
8677
|
cxlog: {
|
8531
8678
|
id: string;
|
8532
8679
|
channel: string | null;
|
@@ -8622,7 +8769,7 @@ export declare const lineContract: {
|
|
8622
8769
|
previewUrl: string;
|
8623
8770
|
imageSetId: string;
|
8624
8771
|
repliedMessage: {
|
8625
|
-
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";
|
8626
8773
|
message: string;
|
8627
8774
|
id: string;
|
8628
8775
|
url: string;
|
@@ -8674,7 +8821,6 @@ export declare const lineContract: {
|
|
8674
8821
|
telephonySignature: string | null;
|
8675
8822
|
};
|
8676
8823
|
};
|
8677
|
-
platformId: string;
|
8678
8824
|
upload: {
|
8679
8825
|
id: string;
|
8680
8826
|
createdAt: Date;
|
@@ -8731,6 +8877,7 @@ export declare const lineContract: {
|
|
8731
8877
|
telephonySignature: string | null;
|
8732
8878
|
};
|
8733
8879
|
};
|
8880
|
+
platformId: string;
|
8734
8881
|
readAt: Date;
|
8735
8882
|
platformMessageId: string;
|
8736
8883
|
replyPlatformMessageId: string;
|
@@ -8857,24 +9004,28 @@ export declare const lineContract: {
|
|
8857
9004
|
accessToken: z.ZodOptional<z.ZodString>;
|
8858
9005
|
channelSecret: z.ZodOptional<z.ZodString>;
|
8859
9006
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
9007
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8860
9008
|
}, "strip", z.ZodTypeAny, {
|
8861
9009
|
id: string;
|
8862
9010
|
name: string;
|
8863
9011
|
accessToken?: string | undefined;
|
8864
9012
|
channelSecret?: string | undefined;
|
8865
9013
|
additionalCredentials?: any;
|
9014
|
+
lineRichMenuId?: string | null | undefined;
|
8866
9015
|
}, {
|
8867
9016
|
id: string;
|
8868
9017
|
name: string;
|
8869
9018
|
accessToken?: string | undefined;
|
8870
9019
|
channelSecret?: string | undefined;
|
8871
9020
|
additionalCredentials?: any;
|
9021
|
+
lineRichMenuId?: string | null | undefined;
|
8872
9022
|
}>>;
|
8873
9023
|
platformId: z.ZodOptional<z.ZodString>;
|
8874
9024
|
brandName: z.ZodOptional<z.ZodString>;
|
8875
9025
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
|
8876
9026
|
connectedUserName: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
8877
9027
|
connectedUserId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
9028
|
+
lineRichMenuId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
8878
9029
|
actor: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
8879
9030
|
id: z.ZodString;
|
8880
9031
|
name: z.ZodString;
|
@@ -8904,12 +9055,14 @@ export declare const lineContract: {
|
|
8904
9055
|
accessToken?: string | undefined;
|
8905
9056
|
channelSecret?: string | undefined;
|
8906
9057
|
additionalCredentials?: any;
|
9058
|
+
lineRichMenuId?: string | null | undefined;
|
8907
9059
|
} | undefined;
|
8908
9060
|
platformId?: string | undefined;
|
8909
9061
|
brandName?: string | undefined;
|
8910
9062
|
status?: boolean | undefined;
|
8911
9063
|
connectedUserName?: string | null | undefined;
|
8912
9064
|
connectedUserId?: string | null | undefined;
|
9065
|
+
lineRichMenuId?: string | null | undefined;
|
8913
9066
|
actor?: {
|
8914
9067
|
id: string;
|
8915
9068
|
address: string | null;
|
@@ -8927,12 +9080,14 @@ export declare const lineContract: {
|
|
8927
9080
|
accessToken?: string | undefined;
|
8928
9081
|
channelSecret?: string | undefined;
|
8929
9082
|
additionalCredentials?: any;
|
9083
|
+
lineRichMenuId?: string | null | undefined;
|
8930
9084
|
} | undefined;
|
8931
9085
|
platformId?: string | undefined;
|
8932
9086
|
brandName?: string | undefined;
|
8933
9087
|
status?: boolean | undefined;
|
8934
9088
|
connectedUserName?: string | null | undefined;
|
8935
9089
|
connectedUserId?: string | null | undefined;
|
9090
|
+
lineRichMenuId?: string | null | undefined;
|
8936
9091
|
actor?: {
|
8937
9092
|
id: string;
|
8938
9093
|
address: string | null;
|
@@ -8955,24 +9110,28 @@ export declare const lineContract: {
|
|
8955
9110
|
accessToken: z.ZodOptional<z.ZodString>;
|
8956
9111
|
channelSecret: z.ZodOptional<z.ZodString>;
|
8957
9112
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
9113
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8958
9114
|
}, "strip", z.ZodTypeAny, {
|
8959
9115
|
id: string;
|
8960
9116
|
name: string;
|
8961
9117
|
accessToken?: string | undefined;
|
8962
9118
|
channelSecret?: string | undefined;
|
8963
9119
|
additionalCredentials?: any;
|
9120
|
+
lineRichMenuId?: string | null | undefined;
|
8964
9121
|
}, {
|
8965
9122
|
id: string;
|
8966
9123
|
name: string;
|
8967
9124
|
accessToken?: string | undefined;
|
8968
9125
|
channelSecret?: string | undefined;
|
8969
9126
|
additionalCredentials?: any;
|
9127
|
+
lineRichMenuId?: string | null | undefined;
|
8970
9128
|
}>;
|
8971
9129
|
platformId: z.ZodString;
|
8972
9130
|
brandName: z.ZodString;
|
8973
9131
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
8974
9132
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8975
9133
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9134
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8976
9135
|
actor: z.ZodOptional<z.ZodObject<{
|
8977
9136
|
id: z.ZodString;
|
8978
9137
|
name: z.ZodString;
|
@@ -9002,12 +9161,14 @@ export declare const lineContract: {
|
|
9002
9161
|
accessToken?: string | undefined;
|
9003
9162
|
channelSecret?: string | undefined;
|
9004
9163
|
additionalCredentials?: any;
|
9164
|
+
lineRichMenuId?: string | null | undefined;
|
9005
9165
|
};
|
9006
9166
|
status: boolean;
|
9007
9167
|
brandName: string;
|
9008
9168
|
platformId: string;
|
9009
9169
|
connectedUserName?: string | null | undefined;
|
9010
9170
|
connectedUserId?: string | null | undefined;
|
9171
|
+
lineRichMenuId?: string | null | undefined;
|
9011
9172
|
actor?: {
|
9012
9173
|
id: string;
|
9013
9174
|
address: string | null;
|
@@ -9025,12 +9186,14 @@ export declare const lineContract: {
|
|
9025
9186
|
accessToken?: string | undefined;
|
9026
9187
|
channelSecret?: string | undefined;
|
9027
9188
|
additionalCredentials?: any;
|
9189
|
+
lineRichMenuId?: string | null | undefined;
|
9028
9190
|
};
|
9029
9191
|
status: boolean;
|
9030
9192
|
brandName: string;
|
9031
9193
|
platformId: string;
|
9032
9194
|
connectedUserName?: string | null | undefined;
|
9033
9195
|
connectedUserId?: string | null | undefined;
|
9196
|
+
lineRichMenuId?: string | null | undefined;
|
9034
9197
|
actor?: {
|
9035
9198
|
id: string;
|
9036
9199
|
address: string | null;
|
@@ -9050,12 +9213,14 @@ export declare const lineContract: {
|
|
9050
9213
|
accessToken?: string | undefined;
|
9051
9214
|
channelSecret?: string | undefined;
|
9052
9215
|
additionalCredentials?: any;
|
9216
|
+
lineRichMenuId?: string | null | undefined;
|
9053
9217
|
};
|
9054
9218
|
status: boolean;
|
9055
9219
|
brandName: string;
|
9056
9220
|
platformId: string;
|
9057
9221
|
connectedUserName?: string | null | undefined;
|
9058
9222
|
connectedUserId?: string | null | undefined;
|
9223
|
+
lineRichMenuId?: string | null | undefined;
|
9059
9224
|
actor?: {
|
9060
9225
|
id: string;
|
9061
9226
|
address: string | null;
|
@@ -9076,12 +9241,14 @@ export declare const lineContract: {
|
|
9076
9241
|
accessToken?: string | undefined;
|
9077
9242
|
channelSecret?: string | undefined;
|
9078
9243
|
additionalCredentials?: any;
|
9244
|
+
lineRichMenuId?: string | null | undefined;
|
9079
9245
|
};
|
9080
9246
|
status: boolean;
|
9081
9247
|
brandName: string;
|
9082
9248
|
platformId: string;
|
9083
9249
|
connectedUserName?: string | null | undefined;
|
9084
9250
|
connectedUserId?: string | null | undefined;
|
9251
|
+
lineRichMenuId?: string | null | undefined;
|
9085
9252
|
actor?: {
|
9086
9253
|
id: string;
|
9087
9254
|
address: string | null;
|
@@ -9138,24 +9305,28 @@ export declare const lineContract: {
|
|
9138
9305
|
accessToken: z.ZodOptional<z.ZodString>;
|
9139
9306
|
channelSecret: z.ZodOptional<z.ZodString>;
|
9140
9307
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
9308
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9141
9309
|
}, "strip", z.ZodTypeAny, {
|
9142
9310
|
id: string;
|
9143
9311
|
name: string;
|
9144
9312
|
accessToken?: string | undefined;
|
9145
9313
|
channelSecret?: string | undefined;
|
9146
9314
|
additionalCredentials?: any;
|
9315
|
+
lineRichMenuId?: string | null | undefined;
|
9147
9316
|
}, {
|
9148
9317
|
id: string;
|
9149
9318
|
name: string;
|
9150
9319
|
accessToken?: string | undefined;
|
9151
9320
|
channelSecret?: string | undefined;
|
9152
9321
|
additionalCredentials?: any;
|
9322
|
+
lineRichMenuId?: string | null | undefined;
|
9153
9323
|
}>;
|
9154
9324
|
platformId: z.ZodString;
|
9155
9325
|
brandName: z.ZodString;
|
9156
9326
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
9157
9327
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9158
9328
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9329
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9159
9330
|
actor: z.ZodOptional<z.ZodObject<{
|
9160
9331
|
id: z.ZodString;
|
9161
9332
|
name: z.ZodString;
|
@@ -9185,12 +9356,14 @@ export declare const lineContract: {
|
|
9185
9356
|
accessToken?: string | undefined;
|
9186
9357
|
channelSecret?: string | undefined;
|
9187
9358
|
additionalCredentials?: any;
|
9359
|
+
lineRichMenuId?: string | null | undefined;
|
9188
9360
|
};
|
9189
9361
|
status: boolean;
|
9190
9362
|
brandName: string;
|
9191
9363
|
platformId: string;
|
9192
9364
|
connectedUserName?: string | null | undefined;
|
9193
9365
|
connectedUserId?: string | null | undefined;
|
9366
|
+
lineRichMenuId?: string | null | undefined;
|
9194
9367
|
actor?: {
|
9195
9368
|
id: string;
|
9196
9369
|
address: string | null;
|
@@ -9208,12 +9381,14 @@ export declare const lineContract: {
|
|
9208
9381
|
accessToken?: string | undefined;
|
9209
9382
|
channelSecret?: string | undefined;
|
9210
9383
|
additionalCredentials?: any;
|
9384
|
+
lineRichMenuId?: string | null | undefined;
|
9211
9385
|
};
|
9212
9386
|
status: boolean;
|
9213
9387
|
brandName: string;
|
9214
9388
|
platformId: string;
|
9215
9389
|
connectedUserName?: string | null | undefined;
|
9216
9390
|
connectedUserId?: string | null | undefined;
|
9391
|
+
lineRichMenuId?: string | null | undefined;
|
9217
9392
|
actor?: {
|
9218
9393
|
id: string;
|
9219
9394
|
address: string | null;
|
@@ -9233,12 +9408,14 @@ export declare const lineContract: {
|
|
9233
9408
|
accessToken?: string | undefined;
|
9234
9409
|
channelSecret?: string | undefined;
|
9235
9410
|
additionalCredentials?: any;
|
9411
|
+
lineRichMenuId?: string | null | undefined;
|
9236
9412
|
};
|
9237
9413
|
status: boolean;
|
9238
9414
|
brandName: string;
|
9239
9415
|
platformId: string;
|
9240
9416
|
connectedUserName?: string | null | undefined;
|
9241
9417
|
connectedUserId?: string | null | undefined;
|
9418
|
+
lineRichMenuId?: string | null | undefined;
|
9242
9419
|
actor?: {
|
9243
9420
|
id: string;
|
9244
9421
|
address: string | null;
|
@@ -9259,12 +9436,14 @@ export declare const lineContract: {
|
|
9259
9436
|
accessToken?: string | undefined;
|
9260
9437
|
channelSecret?: string | undefined;
|
9261
9438
|
additionalCredentials?: any;
|
9439
|
+
lineRichMenuId?: string | null | undefined;
|
9262
9440
|
};
|
9263
9441
|
status: boolean;
|
9264
9442
|
brandName: string;
|
9265
9443
|
platformId: string;
|
9266
9444
|
connectedUserName?: string | null | undefined;
|
9267
9445
|
connectedUserId?: string | null | undefined;
|
9446
|
+
lineRichMenuId?: string | null | undefined;
|
9268
9447
|
actor?: {
|
9269
9448
|
id: string;
|
9270
9449
|
address: string | null;
|
@@ -9321,24 +9500,28 @@ export declare const lineContract: {
|
|
9321
9500
|
accessToken: z.ZodOptional<z.ZodString>;
|
9322
9501
|
channelSecret: z.ZodOptional<z.ZodString>;
|
9323
9502
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
9503
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9324
9504
|
}, "strip", z.ZodTypeAny, {
|
9325
9505
|
id: string;
|
9326
9506
|
name: string;
|
9327
9507
|
accessToken?: string | undefined;
|
9328
9508
|
channelSecret?: string | undefined;
|
9329
9509
|
additionalCredentials?: any;
|
9510
|
+
lineRichMenuId?: string | null | undefined;
|
9330
9511
|
}, {
|
9331
9512
|
id: string;
|
9332
9513
|
name: string;
|
9333
9514
|
accessToken?: string | undefined;
|
9334
9515
|
channelSecret?: string | undefined;
|
9335
9516
|
additionalCredentials?: any;
|
9517
|
+
lineRichMenuId?: string | null | undefined;
|
9336
9518
|
}>;
|
9337
9519
|
platformId: z.ZodString;
|
9338
9520
|
brandName: z.ZodString;
|
9339
9521
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
9340
9522
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9341
9523
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9524
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9342
9525
|
actor: z.ZodOptional<z.ZodObject<{
|
9343
9526
|
id: z.ZodString;
|
9344
9527
|
name: z.ZodString;
|
@@ -9368,12 +9551,14 @@ export declare const lineContract: {
|
|
9368
9551
|
accessToken?: string | undefined;
|
9369
9552
|
channelSecret?: string | undefined;
|
9370
9553
|
additionalCredentials?: any;
|
9554
|
+
lineRichMenuId?: string | null | undefined;
|
9371
9555
|
};
|
9372
9556
|
status: boolean;
|
9373
9557
|
brandName: string;
|
9374
9558
|
platformId: string;
|
9375
9559
|
connectedUserName?: string | null | undefined;
|
9376
9560
|
connectedUserId?: string | null | undefined;
|
9561
|
+
lineRichMenuId?: string | null | undefined;
|
9377
9562
|
actor?: {
|
9378
9563
|
id: string;
|
9379
9564
|
address: string | null;
|
@@ -9391,12 +9576,14 @@ export declare const lineContract: {
|
|
9391
9576
|
accessToken?: string | undefined;
|
9392
9577
|
channelSecret?: string | undefined;
|
9393
9578
|
additionalCredentials?: any;
|
9579
|
+
lineRichMenuId?: string | null | undefined;
|
9394
9580
|
};
|
9395
9581
|
status: boolean;
|
9396
9582
|
brandName: string;
|
9397
9583
|
platformId: string;
|
9398
9584
|
connectedUserName?: string | null | undefined;
|
9399
9585
|
connectedUserId?: string | null | undefined;
|
9586
|
+
lineRichMenuId?: string | null | undefined;
|
9400
9587
|
actor?: {
|
9401
9588
|
id: string;
|
9402
9589
|
address: string | null;
|
@@ -9416,12 +9603,14 @@ export declare const lineContract: {
|
|
9416
9603
|
accessToken?: string | undefined;
|
9417
9604
|
channelSecret?: string | undefined;
|
9418
9605
|
additionalCredentials?: any;
|
9606
|
+
lineRichMenuId?: string | null | undefined;
|
9419
9607
|
};
|
9420
9608
|
status: boolean;
|
9421
9609
|
brandName: string;
|
9422
9610
|
platformId: string;
|
9423
9611
|
connectedUserName?: string | null | undefined;
|
9424
9612
|
connectedUserId?: string | null | undefined;
|
9613
|
+
lineRichMenuId?: string | null | undefined;
|
9425
9614
|
actor?: {
|
9426
9615
|
id: string;
|
9427
9616
|
address: string | null;
|
@@ -9442,12 +9631,14 @@ export declare const lineContract: {
|
|
9442
9631
|
accessToken?: string | undefined;
|
9443
9632
|
channelSecret?: string | undefined;
|
9444
9633
|
additionalCredentials?: any;
|
9634
|
+
lineRichMenuId?: string | null | undefined;
|
9445
9635
|
};
|
9446
9636
|
status: boolean;
|
9447
9637
|
brandName: string;
|
9448
9638
|
platformId: string;
|
9449
9639
|
connectedUserName?: string | null | undefined;
|
9450
9640
|
connectedUserId?: string | null | undefined;
|
9641
|
+
lineRichMenuId?: string | null | undefined;
|
9451
9642
|
actor?: {
|
9452
9643
|
id: string;
|
9453
9644
|
address: string | null;
|
@@ -9481,5 +9672,38 @@ export declare const lineContract: {
|
|
9481
9672
|
};
|
9482
9673
|
path: "/delete/:channelId";
|
9483
9674
|
};
|
9675
|
+
createUserLevelRichMenu: {
|
9676
|
+
body: z.ZodObject<{
|
9677
|
+
linePlatformUserId: z.ZodString;
|
9678
|
+
channelId: z.ZodString;
|
9679
|
+
}, "strip", z.ZodTypeAny, {
|
9680
|
+
channelId: string;
|
9681
|
+
linePlatformUserId: string;
|
9682
|
+
}, {
|
9683
|
+
channelId: string;
|
9684
|
+
linePlatformUserId: string;
|
9685
|
+
}>;
|
9686
|
+
method: "POST";
|
9687
|
+
responses: {
|
9688
|
+
200: z.ZodObject<{
|
9689
|
+
requestId: z.ZodString;
|
9690
|
+
}, "strip", z.ZodTypeAny, {
|
9691
|
+
requestId: string;
|
9692
|
+
}, {
|
9693
|
+
requestId: string;
|
9694
|
+
}>;
|
9695
|
+
500: z.ZodObject<{
|
9696
|
+
message: z.ZodString;
|
9697
|
+
error: z.ZodAny;
|
9698
|
+
}, "strip", z.ZodTypeAny, {
|
9699
|
+
message: string;
|
9700
|
+
error?: any;
|
9701
|
+
}, {
|
9702
|
+
message: string;
|
9703
|
+
error?: any;
|
9704
|
+
}>;
|
9705
|
+
};
|
9706
|
+
path: "/create-user-level-rich-menu";
|
9707
|
+
};
|
9484
9708
|
};
|
9485
9709
|
//# sourceMappingURL=index.d.ts.map
|