@kl1/contracts 1.3.28 → 1.3.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-contracts/src/activity-log/index.d.ts +1 -1
- package/dist/api-contracts/src/attribute/index.d.ts +7 -7
- package/dist/api-contracts/src/auth/index.d.ts +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +7 -10
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +2 -2
- package/dist/api-contracts/src/botpress/index.d.ts +2 -2
- package/dist/api-contracts/src/business-calendar/index.d.ts +4 -4
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +7 -7
- package/dist/api-contracts/src/channel/index.d.ts +43 -1585
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +0 -44
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +0 -65
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +2172 -3246
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +463 -712
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +392 -778
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +359 -359
- package/dist/api-contracts/src/comment/schema.d.ts +88 -88
- package/dist/api-contracts/src/contract.d.ts +39032 -45496
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +65 -115
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +81 -123
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +49 -962
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +9 -164
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +1 -30
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +1 -1
- package/dist/api-contracts/src/export/index.d.ts +0 -2
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +7 -7
- package/dist/api-contracts/src/facebook-feed/index.d.ts +273 -781
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -37
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +0 -26
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
- package/dist/api-contracts/src/hold-label/index.d.ts +10 -10
- package/dist/api-contracts/src/index.d.ts +0 -2
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +261 -659
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +268 -622
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +7 -49
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +240 -240
- package/dist/api-contracts/src/mail/room-contract.d.ts +240 -240
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +80 -80
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +60 -60
- package/dist/api-contracts/src/messenger/index.d.ts +261 -659
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +0 -26
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +4 -4
- package/dist/api-contracts/src/permission/index.d.ts +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts +55 -127
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/schema.d.ts +10 -16
- package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/validation.d.ts +12 -30
- package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +5 -5
- package/dist/api-contracts/src/sms/index.d.ts +7 -185
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +8 -8
- package/dist/api-contracts/src/subscription/index.d.ts +5 -5
- package/dist/api-contracts/src/tag/index.d.ts +4 -4
- package/dist/api-contracts/src/telegram/index.d.ts +263 -549
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +441 -62
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +13 -25
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +14 -14
- package/dist/api-contracts/src/telephony-extension/index.d.ts +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +660 -660
- package/dist/api-contracts/src/ticket/schema.d.ts +44 -44
- package/dist/api-contracts/src/ticket/validation.d.ts +20 -20
- package/dist/api-contracts/src/upload/index.d.ts +2 -2
- package/dist/api-contracts/src/user/index.d.ts +7 -7
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +18 -42
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +20 -50
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +263 -549
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +261 -547
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +261 -599
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +277 -411
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +187 -187
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +20 -20
- package/dist/index.js +459 -820
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +459 -818
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/api-contracts/src/export/validation.d.ts +0 -3
- package/dist/api-contracts/src/export/validation.d.ts.map +0 -1
|
@@ -224,8 +224,6 @@ export declare const MessageAttachmentSchema: z.ZodObject<{
|
|
|
224
224
|
url: z.ZodNullable<z.ZodString>;
|
|
225
225
|
fileType: z.ZodString;
|
|
226
226
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
227
|
-
width: z.ZodOptional<z.ZodString>;
|
|
228
|
-
height: z.ZodOptional<z.ZodString>;
|
|
229
227
|
}, "strip", z.ZodTypeAny, {
|
|
230
228
|
url: string | null;
|
|
231
229
|
fileName: string;
|
|
@@ -234,8 +232,6 @@ export declare const MessageAttachmentSchema: z.ZodObject<{
|
|
|
234
232
|
bucketName: string;
|
|
235
233
|
fileSize: number;
|
|
236
234
|
thumbnailUrl?: string | undefined;
|
|
237
|
-
width?: string | undefined;
|
|
238
|
-
height?: string | undefined;
|
|
239
235
|
}, {
|
|
240
236
|
url: string | null;
|
|
241
237
|
fileName: string;
|
|
@@ -244,8 +240,6 @@ export declare const MessageAttachmentSchema: z.ZodObject<{
|
|
|
244
240
|
bucketName: string;
|
|
245
241
|
fileSize: number;
|
|
246
242
|
thumbnailUrl?: string | undefined;
|
|
247
|
-
width?: string | undefined;
|
|
248
|
-
height?: string | undefined;
|
|
249
243
|
}>;
|
|
250
244
|
export declare const StickerSchema: z.ZodObject<{
|
|
251
245
|
packageId: z.ZodNumber;
|
|
@@ -270,7 +264,7 @@ export declare const ActionMessageSchema: z.ZodObject<{
|
|
|
270
264
|
}>;
|
|
271
265
|
export declare const SendMessageSchema: z.ZodObject<{
|
|
272
266
|
roomId: z.ZodString;
|
|
273
|
-
messageType: z.
|
|
267
|
+
messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
274
268
|
message: z.ZodOptional<z.ZodString>;
|
|
275
269
|
messageAttachments: z.ZodOptional<z.ZodObject<{
|
|
276
270
|
bucketName: z.ZodString;
|
|
@@ -280,8 +274,6 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
280
274
|
url: z.ZodNullable<z.ZodString>;
|
|
281
275
|
fileType: z.ZodString;
|
|
282
276
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
283
|
-
width: z.ZodOptional<z.ZodString>;
|
|
284
|
-
height: z.ZodOptional<z.ZodString>;
|
|
285
277
|
}, "strip", z.ZodTypeAny, {
|
|
286
278
|
url: string | null;
|
|
287
279
|
fileName: string;
|
|
@@ -290,8 +282,6 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
290
282
|
bucketName: string;
|
|
291
283
|
fileSize: number;
|
|
292
284
|
thumbnailUrl?: string | undefined;
|
|
293
|
-
width?: string | undefined;
|
|
294
|
-
height?: string | undefined;
|
|
295
285
|
}, {
|
|
296
286
|
url: string | null;
|
|
297
287
|
fileName: string;
|
|
@@ -300,8 +290,6 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
300
290
|
bucketName: string;
|
|
301
291
|
fileSize: number;
|
|
302
292
|
thumbnailUrl?: string | undefined;
|
|
303
|
-
width?: string | undefined;
|
|
304
|
-
height?: string | undefined;
|
|
305
293
|
}>>;
|
|
306
294
|
user: z.ZodOptional<z.ZodObject<{
|
|
307
295
|
name: z.ZodString;
|
|
@@ -535,7 +523,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
535
523
|
mentions?: string[] | undefined;
|
|
536
524
|
}>>;
|
|
537
525
|
}, "strip", z.ZodTypeAny, {
|
|
538
|
-
messageType:
|
|
526
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
539
527
|
roomId: string;
|
|
540
528
|
message?: string | undefined;
|
|
541
529
|
messageAttachments?: {
|
|
@@ -546,8 +534,6 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
546
534
|
bucketName: string;
|
|
547
535
|
fileSize: number;
|
|
548
536
|
thumbnailUrl?: string | undefined;
|
|
549
|
-
width?: string | undefined;
|
|
550
|
-
height?: string | undefined;
|
|
551
537
|
} | undefined;
|
|
552
538
|
user?: {
|
|
553
539
|
name: string;
|
|
@@ -609,7 +595,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
609
595
|
mentions?: string[] | undefined;
|
|
610
596
|
} | undefined;
|
|
611
597
|
}, {
|
|
612
|
-
messageType:
|
|
598
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
613
599
|
roomId: string;
|
|
614
600
|
message?: string | undefined;
|
|
615
601
|
messageAttachments?: {
|
|
@@ -620,8 +606,6 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
620
606
|
bucketName: string;
|
|
621
607
|
fileSize: number;
|
|
622
608
|
thumbnailUrl?: string | undefined;
|
|
623
|
-
width?: string | undefined;
|
|
624
|
-
height?: string | undefined;
|
|
625
609
|
} | undefined;
|
|
626
610
|
user?: {
|
|
627
611
|
name: string;
|
|
@@ -689,17 +673,17 @@ export declare const InitiateMessageSchema: z.ZodObject<{
|
|
|
689
673
|
contactId: z.ZodOptional<z.ZodString>;
|
|
690
674
|
message: z.ZodObject<{
|
|
691
675
|
message: z.ZodOptional<z.ZodString>;
|
|
692
|
-
messageType: z.
|
|
676
|
+
messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
693
677
|
}, "strip", z.ZodTypeAny, {
|
|
694
|
-
messageType:
|
|
678
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
695
679
|
message?: string | undefined;
|
|
696
680
|
}, {
|
|
697
|
-
messageType:
|
|
681
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
698
682
|
message?: string | undefined;
|
|
699
683
|
}>;
|
|
700
684
|
}, "strip", z.ZodTypeAny, {
|
|
701
685
|
message: {
|
|
702
|
-
messageType:
|
|
686
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
703
687
|
message?: string | undefined;
|
|
704
688
|
};
|
|
705
689
|
channelId: string;
|
|
@@ -707,7 +691,7 @@ export declare const InitiateMessageSchema: z.ZodObject<{
|
|
|
707
691
|
contactId?: string | undefined;
|
|
708
692
|
}, {
|
|
709
693
|
message: {
|
|
710
|
-
messageType:
|
|
694
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
711
695
|
message?: string | undefined;
|
|
712
696
|
};
|
|
713
697
|
channelId: string;
|
|
@@ -843,16 +827,6 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
|
843
827
|
mobileNumber: string;
|
|
844
828
|
apiSecret: string;
|
|
845
829
|
}>>;
|
|
846
|
-
line: z.ZodOptional<z.ZodObject<{
|
|
847
|
-
channelId: z.ZodString;
|
|
848
|
-
channelSecret: z.ZodString;
|
|
849
|
-
}, "strip", z.ZodTypeAny, {
|
|
850
|
-
channelId: string;
|
|
851
|
-
channelSecret: string;
|
|
852
|
-
}, {
|
|
853
|
-
channelId: string;
|
|
854
|
-
channelSecret: string;
|
|
855
|
-
}>>;
|
|
856
830
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
857
831
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
858
832
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
@@ -883,10 +857,6 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
|
883
857
|
mobileNumber: string;
|
|
884
858
|
apiSecret: string;
|
|
885
859
|
} | undefined;
|
|
886
|
-
line?: {
|
|
887
|
-
channelId: string;
|
|
888
|
-
channelSecret: string;
|
|
889
|
-
} | undefined;
|
|
890
860
|
lineRichMenuId?: string | null | undefined;
|
|
891
861
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
892
862
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -917,10 +887,6 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
|
917
887
|
mobileNumber: string;
|
|
918
888
|
apiSecret: string;
|
|
919
889
|
} | undefined;
|
|
920
|
-
line?: {
|
|
921
|
-
channelId: string;
|
|
922
|
-
channelSecret: string;
|
|
923
|
-
} | undefined;
|
|
924
890
|
lineRichMenuId?: string | null | undefined;
|
|
925
891
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
926
892
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -981,10 +947,6 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
|
981
947
|
mobileNumber: string;
|
|
982
948
|
apiSecret: string;
|
|
983
949
|
} | undefined;
|
|
984
|
-
line?: {
|
|
985
|
-
channelId: string;
|
|
986
|
-
channelSecret: string;
|
|
987
|
-
} | undefined;
|
|
988
950
|
lineRichMenuId?: string | null | undefined;
|
|
989
951
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
990
952
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -1033,10 +995,6 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
|
1033
995
|
mobileNumber: string;
|
|
1034
996
|
apiSecret: string;
|
|
1035
997
|
} | undefined;
|
|
1036
|
-
line?: {
|
|
1037
|
-
channelId: string;
|
|
1038
|
-
channelSecret: string;
|
|
1039
|
-
} | undefined;
|
|
1040
998
|
lineRichMenuId?: string | null | undefined;
|
|
1041
999
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1042
1000
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -1119,16 +1077,6 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
|
1119
1077
|
mobileNumber: string;
|
|
1120
1078
|
apiSecret: string;
|
|
1121
1079
|
}>>;
|
|
1122
|
-
line: z.ZodOptional<z.ZodObject<{
|
|
1123
|
-
channelId: z.ZodString;
|
|
1124
|
-
channelSecret: z.ZodString;
|
|
1125
|
-
}, "strip", z.ZodTypeAny, {
|
|
1126
|
-
channelId: string;
|
|
1127
|
-
channelSecret: string;
|
|
1128
|
-
}, {
|
|
1129
|
-
channelId: string;
|
|
1130
|
-
channelSecret: string;
|
|
1131
|
-
}>>;
|
|
1132
1080
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1133
1081
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
1134
1082
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
@@ -1159,10 +1107,6 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
|
1159
1107
|
mobileNumber: string;
|
|
1160
1108
|
apiSecret: string;
|
|
1161
1109
|
} | undefined;
|
|
1162
|
-
line?: {
|
|
1163
|
-
channelId: string;
|
|
1164
|
-
channelSecret: string;
|
|
1165
|
-
} | undefined;
|
|
1166
1110
|
lineRichMenuId?: string | null | undefined;
|
|
1167
1111
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1168
1112
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -1193,10 +1137,6 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
|
1193
1137
|
mobileNumber: string;
|
|
1194
1138
|
apiSecret: string;
|
|
1195
1139
|
} | undefined;
|
|
1196
|
-
line?: {
|
|
1197
|
-
channelId: string;
|
|
1198
|
-
channelSecret: string;
|
|
1199
|
-
} | undefined;
|
|
1200
1140
|
lineRichMenuId?: string | null | undefined;
|
|
1201
1141
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1202
1142
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -1262,10 +1202,6 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
|
1262
1202
|
mobileNumber: string;
|
|
1263
1203
|
apiSecret: string;
|
|
1264
1204
|
} | undefined;
|
|
1265
|
-
line?: {
|
|
1266
|
-
channelId: string;
|
|
1267
|
-
channelSecret: string;
|
|
1268
|
-
} | undefined;
|
|
1269
1205
|
lineRichMenuId?: string | null | undefined;
|
|
1270
1206
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1271
1207
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -1318,10 +1254,6 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
|
1318
1254
|
mobileNumber: string;
|
|
1319
1255
|
apiSecret: string;
|
|
1320
1256
|
} | undefined;
|
|
1321
|
-
line?: {
|
|
1322
|
-
channelId: string;
|
|
1323
|
-
channelSecret: string;
|
|
1324
|
-
} | undefined;
|
|
1325
1257
|
lineRichMenuId?: string | null | undefined;
|
|
1326
1258
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1327
1259
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -1412,16 +1344,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1412
1344
|
mobileNumber: string;
|
|
1413
1345
|
apiSecret: string;
|
|
1414
1346
|
}>>;
|
|
1415
|
-
line: z.ZodOptional<z.ZodObject<{
|
|
1416
|
-
channelId: z.ZodString;
|
|
1417
|
-
channelSecret: z.ZodString;
|
|
1418
|
-
}, "strip", z.ZodTypeAny, {
|
|
1419
|
-
channelId: string;
|
|
1420
|
-
channelSecret: string;
|
|
1421
|
-
}, {
|
|
1422
|
-
channelId: string;
|
|
1423
|
-
channelSecret: string;
|
|
1424
|
-
}>>;
|
|
1425
1347
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1426
1348
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
1427
1349
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
@@ -1452,10 +1374,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1452
1374
|
mobileNumber: string;
|
|
1453
1375
|
apiSecret: string;
|
|
1454
1376
|
} | undefined;
|
|
1455
|
-
line?: {
|
|
1456
|
-
channelId: string;
|
|
1457
|
-
channelSecret: string;
|
|
1458
|
-
} | undefined;
|
|
1459
1377
|
lineRichMenuId?: string | null | undefined;
|
|
1460
1378
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1461
1379
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -1486,10 +1404,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1486
1404
|
mobileNumber: string;
|
|
1487
1405
|
apiSecret: string;
|
|
1488
1406
|
} | undefined;
|
|
1489
|
-
line?: {
|
|
1490
|
-
channelId: string;
|
|
1491
|
-
channelSecret: string;
|
|
1492
|
-
} | undefined;
|
|
1493
1407
|
lineRichMenuId?: string | null | undefined;
|
|
1494
1408
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1495
1409
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -1550,10 +1464,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1550
1464
|
mobileNumber: string;
|
|
1551
1465
|
apiSecret: string;
|
|
1552
1466
|
} | undefined;
|
|
1553
|
-
line?: {
|
|
1554
|
-
channelId: string;
|
|
1555
|
-
channelSecret: string;
|
|
1556
|
-
} | undefined;
|
|
1557
1467
|
lineRichMenuId?: string | null | undefined;
|
|
1558
1468
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1559
1469
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -1602,10 +1512,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1602
1512
|
mobileNumber: string;
|
|
1603
1513
|
apiSecret: string;
|
|
1604
1514
|
} | undefined;
|
|
1605
|
-
line?: {
|
|
1606
|
-
channelId: string;
|
|
1607
|
-
channelSecret: string;
|
|
1608
|
-
} | undefined;
|
|
1609
1515
|
lineRichMenuId?: string | null | undefined;
|
|
1610
1516
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1611
1517
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -1657,10 +1563,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1657
1563
|
mobileNumber: string;
|
|
1658
1564
|
apiSecret: string;
|
|
1659
1565
|
} | undefined;
|
|
1660
|
-
line?: {
|
|
1661
|
-
channelId: string;
|
|
1662
|
-
channelSecret: string;
|
|
1663
|
-
} | undefined;
|
|
1664
1566
|
lineRichMenuId?: string | null | undefined;
|
|
1665
1567
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1666
1568
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -1712,10 +1614,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1712
1614
|
mobileNumber: string;
|
|
1713
1615
|
apiSecret: string;
|
|
1714
1616
|
} | undefined;
|
|
1715
|
-
line?: {
|
|
1716
|
-
channelId: string;
|
|
1717
|
-
channelSecret: string;
|
|
1718
|
-
} | undefined;
|
|
1719
1617
|
lineRichMenuId?: string | null | undefined;
|
|
1720
1618
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1721
1619
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -1739,8 +1637,8 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1739
1637
|
message: z.ZodObject<{
|
|
1740
1638
|
id: z.ZodOptional<z.ZodString>;
|
|
1741
1639
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1742
|
-
direction: z.
|
|
1743
|
-
type: z.
|
|
1640
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
1641
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
1744
1642
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
1745
1643
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
1746
1644
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -1792,7 +1690,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1792
1690
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1793
1691
|
feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1794
1692
|
}, "strip", z.ZodTypeAny, {
|
|
1795
|
-
type:
|
|
1693
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1796
1694
|
direction: "incoming" | "outgoing" | "system";
|
|
1797
1695
|
id?: string | undefined;
|
|
1798
1696
|
message?: string | null | undefined;
|
|
@@ -1823,7 +1721,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1823
1721
|
parentMessageId?: string | null | undefined;
|
|
1824
1722
|
feedPostId?: string | null | undefined;
|
|
1825
1723
|
}, {
|
|
1826
|
-
type:
|
|
1724
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1827
1725
|
direction: "incoming" | "outgoing" | "system";
|
|
1828
1726
|
id?: string | undefined;
|
|
1829
1727
|
message?: string | null | undefined;
|
|
@@ -1856,7 +1754,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1856
1754
|
}>;
|
|
1857
1755
|
}, "strip", z.ZodTypeAny, {
|
|
1858
1756
|
message: {
|
|
1859
|
-
type:
|
|
1757
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1860
1758
|
direction: "incoming" | "outgoing" | "system";
|
|
1861
1759
|
id?: string | undefined;
|
|
1862
1760
|
message?: string | null | undefined;
|
|
@@ -1919,10 +1817,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1919
1817
|
mobileNumber: string;
|
|
1920
1818
|
apiSecret: string;
|
|
1921
1819
|
} | undefined;
|
|
1922
|
-
line?: {
|
|
1923
|
-
channelId: string;
|
|
1924
|
-
channelSecret: string;
|
|
1925
|
-
} | undefined;
|
|
1926
1820
|
lineRichMenuId?: string | null | undefined;
|
|
1927
1821
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1928
1822
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -1945,7 +1839,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1945
1839
|
};
|
|
1946
1840
|
}, {
|
|
1947
1841
|
message: {
|
|
1948
|
-
type:
|
|
1842
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1949
1843
|
direction: "incoming" | "outgoing" | "system";
|
|
1950
1844
|
id?: string | undefined;
|
|
1951
1845
|
message?: string | null | undefined;
|
|
@@ -2008,10 +1902,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
2008
1902
|
mobileNumber: string;
|
|
2009
1903
|
apiSecret: string;
|
|
2010
1904
|
} | undefined;
|
|
2011
|
-
line?: {
|
|
2012
|
-
channelId: string;
|
|
2013
|
-
channelSecret: string;
|
|
2014
|
-
} | undefined;
|
|
2015
1905
|
lineRichMenuId?: string | null | undefined;
|
|
2016
1906
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2017
1907
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -2040,7 +1930,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2040
1930
|
lastMessage: z.ZodOptional<z.ZodString>;
|
|
2041
1931
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
|
2042
1932
|
isLatest: z.ZodBoolean;
|
|
2043
|
-
direction: z.
|
|
1933
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
2044
1934
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
2045
1935
|
createdAt: z.ZodString;
|
|
2046
1936
|
updatedAt: z.ZodString;
|
|
@@ -2222,16 +2112,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2222
2112
|
mobileNumber: string;
|
|
2223
2113
|
apiSecret: string;
|
|
2224
2114
|
}>>;
|
|
2225
|
-
line: z.ZodOptional<z.ZodObject<{
|
|
2226
|
-
channelId: z.ZodString;
|
|
2227
|
-
channelSecret: z.ZodString;
|
|
2228
|
-
}, "strip", z.ZodTypeAny, {
|
|
2229
|
-
channelId: string;
|
|
2230
|
-
channelSecret: string;
|
|
2231
|
-
}, {
|
|
2232
|
-
channelId: string;
|
|
2233
|
-
channelSecret: string;
|
|
2234
|
-
}>>;
|
|
2235
2115
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2236
2116
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2237
2117
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
@@ -2262,10 +2142,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2262
2142
|
mobileNumber: string;
|
|
2263
2143
|
apiSecret: string;
|
|
2264
2144
|
} | undefined;
|
|
2265
|
-
line?: {
|
|
2266
|
-
channelId: string;
|
|
2267
|
-
channelSecret: string;
|
|
2268
|
-
} | undefined;
|
|
2269
2145
|
lineRichMenuId?: string | null | undefined;
|
|
2270
2146
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2271
2147
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -2296,10 +2172,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2296
2172
|
mobileNumber: string;
|
|
2297
2173
|
apiSecret: string;
|
|
2298
2174
|
} | undefined;
|
|
2299
|
-
line?: {
|
|
2300
|
-
channelId: string;
|
|
2301
|
-
channelSecret: string;
|
|
2302
|
-
} | undefined;
|
|
2303
2175
|
lineRichMenuId?: string | null | undefined;
|
|
2304
2176
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2305
2177
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -2360,10 +2232,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2360
2232
|
mobileNumber: string;
|
|
2361
2233
|
apiSecret: string;
|
|
2362
2234
|
} | undefined;
|
|
2363
|
-
line?: {
|
|
2364
|
-
channelId: string;
|
|
2365
|
-
channelSecret: string;
|
|
2366
|
-
} | undefined;
|
|
2367
2235
|
lineRichMenuId?: string | null | undefined;
|
|
2368
2236
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2369
2237
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -2412,10 +2280,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2412
2280
|
mobileNumber: string;
|
|
2413
2281
|
apiSecret: string;
|
|
2414
2282
|
} | undefined;
|
|
2415
|
-
line?: {
|
|
2416
|
-
channelId: string;
|
|
2417
|
-
channelSecret: string;
|
|
2418
|
-
} | undefined;
|
|
2419
2283
|
lineRichMenuId?: string | null | undefined;
|
|
2420
2284
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2421
2285
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -2469,10 +2333,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2469
2333
|
mobileNumber: string;
|
|
2470
2334
|
apiSecret: string;
|
|
2471
2335
|
} | undefined;
|
|
2472
|
-
line?: {
|
|
2473
|
-
channelId: string;
|
|
2474
|
-
channelSecret: string;
|
|
2475
|
-
} | undefined;
|
|
2476
2336
|
lineRichMenuId?: string | null | undefined;
|
|
2477
2337
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2478
2338
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -2565,10 +2425,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2565
2425
|
mobileNumber: string;
|
|
2566
2426
|
apiSecret: string;
|
|
2567
2427
|
} | undefined;
|
|
2568
|
-
line?: {
|
|
2569
|
-
channelId: string;
|
|
2570
|
-
channelSecret: string;
|
|
2571
|
-
} | undefined;
|
|
2572
2428
|
lineRichMenuId?: string | null | undefined;
|
|
2573
2429
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2574
2430
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -2633,8 +2489,8 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2633
2489
|
message: z.ZodObject<{
|
|
2634
2490
|
id: z.ZodOptional<z.ZodString>;
|
|
2635
2491
|
message: z.ZodOptional<z.ZodString>;
|
|
2636
|
-
direction: z.
|
|
2637
|
-
type: z.
|
|
2492
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
2493
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
2638
2494
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2639
2495
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
2640
2496
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -2690,7 +2546,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2690
2546
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2691
2547
|
label: z.ZodOptional<z.ZodString>;
|
|
2692
2548
|
}, "strip", z.ZodTypeAny, {
|
|
2693
|
-
type:
|
|
2549
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2694
2550
|
direction: "incoming" | "outgoing" | "system";
|
|
2695
2551
|
id?: string | undefined;
|
|
2696
2552
|
message?: string | undefined;
|
|
@@ -2725,7 +2581,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2725
2581
|
editedAt?: string | Date | null | undefined;
|
|
2726
2582
|
label?: string | undefined;
|
|
2727
2583
|
}, {
|
|
2728
|
-
type:
|
|
2584
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2729
2585
|
direction: "incoming" | "outgoing" | "system";
|
|
2730
2586
|
id?: string | undefined;
|
|
2731
2587
|
message?: string | undefined;
|
|
@@ -2762,7 +2618,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2762
2618
|
}>;
|
|
2763
2619
|
}, "strip", z.ZodTypeAny, {
|
|
2764
2620
|
message: {
|
|
2765
|
-
type:
|
|
2621
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2766
2622
|
direction: "incoming" | "outgoing" | "system";
|
|
2767
2623
|
id?: string | undefined;
|
|
2768
2624
|
message?: string | undefined;
|
|
@@ -2829,10 +2685,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2829
2685
|
mobileNumber: string;
|
|
2830
2686
|
apiSecret: string;
|
|
2831
2687
|
} | undefined;
|
|
2832
|
-
line?: {
|
|
2833
|
-
channelId: string;
|
|
2834
|
-
channelSecret: string;
|
|
2835
|
-
} | undefined;
|
|
2836
2688
|
lineRichMenuId?: string | null | undefined;
|
|
2837
2689
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2838
2690
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -2897,7 +2749,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2897
2749
|
isBot: boolean | null;
|
|
2898
2750
|
}, {
|
|
2899
2751
|
message: {
|
|
2900
|
-
type:
|
|
2752
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2901
2753
|
direction: "incoming" | "outgoing" | "system";
|
|
2902
2754
|
id?: string | undefined;
|
|
2903
2755
|
message?: string | undefined;
|
|
@@ -2964,10 +2816,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2964
2816
|
mobileNumber: string;
|
|
2965
2817
|
apiSecret: string;
|
|
2966
2818
|
} | undefined;
|
|
2967
|
-
line?: {
|
|
2968
|
-
channelId: string;
|
|
2969
|
-
channelSecret: string;
|
|
2970
|
-
} | undefined;
|
|
2971
2819
|
lineRichMenuId?: string | null | undefined;
|
|
2972
2820
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2973
2821
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -3035,8 +2883,8 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3035
2883
|
message: z.ZodObject<{
|
|
3036
2884
|
id: z.ZodOptional<z.ZodString>;
|
|
3037
2885
|
message: z.ZodOptional<z.ZodString>;
|
|
3038
|
-
direction: z.
|
|
3039
|
-
type: z.
|
|
2886
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
2887
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
3040
2888
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
3041
2889
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
3042
2890
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -3092,7 +2940,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3092
2940
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
3093
2941
|
label: z.ZodOptional<z.ZodString>;
|
|
3094
2942
|
}, "strip", z.ZodTypeAny, {
|
|
3095
|
-
type:
|
|
2943
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
3096
2944
|
direction: "incoming" | "outgoing" | "system";
|
|
3097
2945
|
id?: string | undefined;
|
|
3098
2946
|
message?: string | undefined;
|
|
@@ -3127,7 +2975,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3127
2975
|
editedAt?: string | Date | null | undefined;
|
|
3128
2976
|
label?: string | undefined;
|
|
3129
2977
|
}, {
|
|
3130
|
-
type:
|
|
2978
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
3131
2979
|
direction: "incoming" | "outgoing" | "system";
|
|
3132
2980
|
id?: string | undefined;
|
|
3133
2981
|
message?: string | undefined;
|
|
@@ -3167,7 +3015,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3167
3015
|
lastMessage: z.ZodOptional<z.ZodString>;
|
|
3168
3016
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
|
3169
3017
|
isLatest: z.ZodBoolean;
|
|
3170
|
-
direction: z.
|
|
3018
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
3171
3019
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
3172
3020
|
createdAt: z.ZodString;
|
|
3173
3021
|
updatedAt: z.ZodString;
|
|
@@ -3349,16 +3197,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3349
3197
|
mobileNumber: string;
|
|
3350
3198
|
apiSecret: string;
|
|
3351
3199
|
}>>;
|
|
3352
|
-
line: z.ZodOptional<z.ZodObject<{
|
|
3353
|
-
channelId: z.ZodString;
|
|
3354
|
-
channelSecret: z.ZodString;
|
|
3355
|
-
}, "strip", z.ZodTypeAny, {
|
|
3356
|
-
channelId: string;
|
|
3357
|
-
channelSecret: string;
|
|
3358
|
-
}, {
|
|
3359
|
-
channelId: string;
|
|
3360
|
-
channelSecret: string;
|
|
3361
|
-
}>>;
|
|
3362
3200
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3363
3201
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
3364
3202
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
@@ -3389,10 +3227,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3389
3227
|
mobileNumber: string;
|
|
3390
3228
|
apiSecret: string;
|
|
3391
3229
|
} | undefined;
|
|
3392
|
-
line?: {
|
|
3393
|
-
channelId: string;
|
|
3394
|
-
channelSecret: string;
|
|
3395
|
-
} | undefined;
|
|
3396
3230
|
lineRichMenuId?: string | null | undefined;
|
|
3397
3231
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3398
3232
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -3423,10 +3257,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3423
3257
|
mobileNumber: string;
|
|
3424
3258
|
apiSecret: string;
|
|
3425
3259
|
} | undefined;
|
|
3426
|
-
line?: {
|
|
3427
|
-
channelId: string;
|
|
3428
|
-
channelSecret: string;
|
|
3429
|
-
} | undefined;
|
|
3430
3260
|
lineRichMenuId?: string | null | undefined;
|
|
3431
3261
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3432
3262
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -3487,10 +3317,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3487
3317
|
mobileNumber: string;
|
|
3488
3318
|
apiSecret: string;
|
|
3489
3319
|
} | undefined;
|
|
3490
|
-
line?: {
|
|
3491
|
-
channelId: string;
|
|
3492
|
-
channelSecret: string;
|
|
3493
|
-
} | undefined;
|
|
3494
3320
|
lineRichMenuId?: string | null | undefined;
|
|
3495
3321
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3496
3322
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -3539,10 +3365,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3539
3365
|
mobileNumber: string;
|
|
3540
3366
|
apiSecret: string;
|
|
3541
3367
|
} | undefined;
|
|
3542
|
-
line?: {
|
|
3543
|
-
channelId: string;
|
|
3544
|
-
channelSecret: string;
|
|
3545
|
-
} | undefined;
|
|
3546
3368
|
lineRichMenuId?: string | null | undefined;
|
|
3547
3369
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3548
3370
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -3596,10 +3418,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3596
3418
|
mobileNumber: string;
|
|
3597
3419
|
apiSecret: string;
|
|
3598
3420
|
} | undefined;
|
|
3599
|
-
line?: {
|
|
3600
|
-
channelId: string;
|
|
3601
|
-
channelSecret: string;
|
|
3602
|
-
} | undefined;
|
|
3603
3421
|
lineRichMenuId?: string | null | undefined;
|
|
3604
3422
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3605
3423
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -3692,10 +3510,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3692
3510
|
mobileNumber: string;
|
|
3693
3511
|
apiSecret: string;
|
|
3694
3512
|
} | undefined;
|
|
3695
|
-
line?: {
|
|
3696
|
-
channelId: string;
|
|
3697
|
-
channelSecret: string;
|
|
3698
|
-
} | undefined;
|
|
3699
3513
|
lineRichMenuId?: string | null | undefined;
|
|
3700
3514
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3701
3515
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -3770,7 +3584,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3770
3584
|
}>>;
|
|
3771
3585
|
}, "strip", z.ZodTypeAny, {
|
|
3772
3586
|
message: {
|
|
3773
|
-
type:
|
|
3587
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
3774
3588
|
direction: "incoming" | "outgoing" | "system";
|
|
3775
3589
|
id?: string | undefined;
|
|
3776
3590
|
message?: string | undefined;
|
|
@@ -3837,10 +3651,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3837
3651
|
mobileNumber: string;
|
|
3838
3652
|
apiSecret: string;
|
|
3839
3653
|
} | undefined;
|
|
3840
|
-
line?: {
|
|
3841
|
-
channelId: string;
|
|
3842
|
-
channelSecret: string;
|
|
3843
|
-
} | undefined;
|
|
3844
3654
|
lineRichMenuId?: string | null | undefined;
|
|
3845
3655
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3846
3656
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -3909,7 +3719,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3909
3719
|
} | undefined;
|
|
3910
3720
|
}, {
|
|
3911
3721
|
message: {
|
|
3912
|
-
type:
|
|
3722
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
3913
3723
|
direction: "incoming" | "outgoing" | "system";
|
|
3914
3724
|
id?: string | undefined;
|
|
3915
3725
|
message?: string | undefined;
|
|
@@ -3976,10 +3786,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3976
3786
|
mobileNumber: string;
|
|
3977
3787
|
apiSecret: string;
|
|
3978
3788
|
} | undefined;
|
|
3979
|
-
line?: {
|
|
3980
|
-
channelId: string;
|
|
3981
|
-
channelSecret: string;
|
|
3982
|
-
} | undefined;
|
|
3983
3789
|
lineRichMenuId?: string | null | undefined;
|
|
3984
3790
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3985
3791
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -4050,11 +3856,11 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
4050
3856
|
export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4051
3857
|
requestId: z.ZodString;
|
|
4052
3858
|
data: z.ZodObject<{
|
|
4053
|
-
type: z.
|
|
3859
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
4054
3860
|
message: z.ZodString;
|
|
4055
3861
|
id: z.ZodString;
|
|
4056
3862
|
url: z.ZodString;
|
|
4057
|
-
direction: z.
|
|
3863
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
4058
3864
|
label: z.ZodOptional<z.ZodString>;
|
|
4059
3865
|
template: z.ZodAny;
|
|
4060
3866
|
metadata: z.ZodAny;
|
|
@@ -4519,7 +4325,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
4519
4325
|
firstResponseTime: z.ZodNumber;
|
|
4520
4326
|
isLatest: z.ZodBoolean;
|
|
4521
4327
|
isBotRoom: z.ZodBoolean;
|
|
4522
|
-
direction: z.
|
|
4328
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
4523
4329
|
platformContact: z.ZodObject<{
|
|
4524
4330
|
id: z.ZodString;
|
|
4525
4331
|
createdAt: z.ZodDate;
|
|
@@ -6043,16 +5849,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6043
5849
|
mobileNumber: string;
|
|
6044
5850
|
apiSecret: string;
|
|
6045
5851
|
}>>;
|
|
6046
|
-
line: z.ZodOptional<z.ZodObject<{
|
|
6047
|
-
channelId: z.ZodString;
|
|
6048
|
-
channelSecret: z.ZodString;
|
|
6049
|
-
}, "strip", z.ZodTypeAny, {
|
|
6050
|
-
channelId: string;
|
|
6051
|
-
channelSecret: string;
|
|
6052
|
-
}, {
|
|
6053
|
-
channelId: string;
|
|
6054
|
-
channelSecret: string;
|
|
6055
|
-
}>>;
|
|
6056
5852
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6057
5853
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
6058
5854
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
@@ -6083,10 +5879,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6083
5879
|
mobileNumber: string;
|
|
6084
5880
|
apiSecret: string;
|
|
6085
5881
|
} | undefined;
|
|
6086
|
-
line?: {
|
|
6087
|
-
channelId: string;
|
|
6088
|
-
channelSecret: string;
|
|
6089
|
-
} | undefined;
|
|
6090
5882
|
lineRichMenuId?: string | null | undefined;
|
|
6091
5883
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6092
5884
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -6117,10 +5909,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6117
5909
|
mobileNumber: string;
|
|
6118
5910
|
apiSecret: string;
|
|
6119
5911
|
} | undefined;
|
|
6120
|
-
line?: {
|
|
6121
|
-
channelId: string;
|
|
6122
|
-
channelSecret: string;
|
|
6123
|
-
} | undefined;
|
|
6124
5912
|
lineRichMenuId?: string | null | undefined;
|
|
6125
5913
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6126
5914
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -6385,10 +6173,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6385
6173
|
mobileNumber: string;
|
|
6386
6174
|
apiSecret: string;
|
|
6387
6175
|
} | undefined;
|
|
6388
|
-
line?: {
|
|
6389
|
-
channelId: string;
|
|
6390
|
-
channelSecret: string;
|
|
6391
|
-
} | undefined;
|
|
6392
6176
|
lineRichMenuId?: string | null | undefined;
|
|
6393
6177
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6394
6178
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -6484,10 +6268,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6484
6268
|
mobileNumber: string;
|
|
6485
6269
|
apiSecret: string;
|
|
6486
6270
|
} | undefined;
|
|
6487
|
-
line?: {
|
|
6488
|
-
channelId: string;
|
|
6489
|
-
channelSecret: string;
|
|
6490
|
-
} | undefined;
|
|
6491
6271
|
lineRichMenuId?: string | null | undefined;
|
|
6492
6272
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6493
6273
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -6744,16 +6524,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6744
6524
|
createdAt: Date;
|
|
6745
6525
|
updatedAt: Date;
|
|
6746
6526
|
deletedAt: Date | null;
|
|
6747
|
-
tags: {
|
|
6748
|
-
name: string;
|
|
6749
|
-
id: string;
|
|
6750
|
-
createdAt: Date;
|
|
6751
|
-
updatedAt: Date;
|
|
6752
|
-
deletedAt: Date | null;
|
|
6753
|
-
}[];
|
|
6754
|
-
callFrom: string | null;
|
|
6755
|
-
callTo: string | null;
|
|
6756
|
-
note: string | null;
|
|
6757
6527
|
categories: {
|
|
6758
6528
|
id: string;
|
|
6759
6529
|
value: string;
|
|
@@ -6776,6 +6546,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6776
6546
|
}[];
|
|
6777
6547
|
}[];
|
|
6778
6548
|
}[];
|
|
6549
|
+
tags: {
|
|
6550
|
+
name: string;
|
|
6551
|
+
id: string;
|
|
6552
|
+
createdAt: Date;
|
|
6553
|
+
updatedAt: Date;
|
|
6554
|
+
deletedAt: Date | null;
|
|
6555
|
+
}[];
|
|
6556
|
+
callFrom: string | null;
|
|
6557
|
+
callTo: string | null;
|
|
6558
|
+
note: string | null;
|
|
6779
6559
|
customFields?: {
|
|
6780
6560
|
id: string;
|
|
6781
6561
|
createdAt: Date;
|
|
@@ -6795,16 +6575,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6795
6575
|
createdAt: Date;
|
|
6796
6576
|
updatedAt: Date;
|
|
6797
6577
|
deletedAt: Date | null;
|
|
6798
|
-
tags: {
|
|
6799
|
-
name: string;
|
|
6800
|
-
id: string;
|
|
6801
|
-
createdAt: Date;
|
|
6802
|
-
updatedAt: Date;
|
|
6803
|
-
deletedAt: Date | null;
|
|
6804
|
-
}[];
|
|
6805
|
-
callFrom: string | null;
|
|
6806
|
-
callTo: string | null;
|
|
6807
|
-
note: string | null;
|
|
6808
6578
|
categories: {
|
|
6809
6579
|
id: string;
|
|
6810
6580
|
value: string;
|
|
@@ -6827,6 +6597,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6827
6597
|
}[];
|
|
6828
6598
|
}[];
|
|
6829
6599
|
}[];
|
|
6600
|
+
tags: {
|
|
6601
|
+
name: string;
|
|
6602
|
+
id: string;
|
|
6603
|
+
createdAt: Date;
|
|
6604
|
+
updatedAt: Date;
|
|
6605
|
+
deletedAt: Date | null;
|
|
6606
|
+
}[];
|
|
6607
|
+
callFrom: string | null;
|
|
6608
|
+
callTo: string | null;
|
|
6609
|
+
note: string | null;
|
|
6830
6610
|
customFields?: {
|
|
6831
6611
|
id: string;
|
|
6832
6612
|
createdAt: Date;
|
|
@@ -6935,16 +6715,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6935
6715
|
createdAt: Date;
|
|
6936
6716
|
updatedAt: Date;
|
|
6937
6717
|
deletedAt: Date | null;
|
|
6938
|
-
tags: {
|
|
6939
|
-
name: string;
|
|
6940
|
-
id: string;
|
|
6941
|
-
createdAt: Date;
|
|
6942
|
-
updatedAt: Date;
|
|
6943
|
-
deletedAt: Date | null;
|
|
6944
|
-
}[];
|
|
6945
|
-
callFrom: string | null;
|
|
6946
|
-
callTo: string | null;
|
|
6947
|
-
note: string | null;
|
|
6948
6718
|
categories: {
|
|
6949
6719
|
id: string;
|
|
6950
6720
|
value: string;
|
|
@@ -6967,6 +6737,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6967
6737
|
}[];
|
|
6968
6738
|
}[];
|
|
6969
6739
|
}[];
|
|
6740
|
+
tags: {
|
|
6741
|
+
name: string;
|
|
6742
|
+
id: string;
|
|
6743
|
+
createdAt: Date;
|
|
6744
|
+
updatedAt: Date;
|
|
6745
|
+
deletedAt: Date | null;
|
|
6746
|
+
}[];
|
|
6747
|
+
callFrom: string | null;
|
|
6748
|
+
callTo: string | null;
|
|
6749
|
+
note: string | null;
|
|
6970
6750
|
customFields?: {
|
|
6971
6751
|
id: string;
|
|
6972
6752
|
createdAt: Date;
|
|
@@ -7025,16 +6805,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7025
6805
|
createdAt: Date;
|
|
7026
6806
|
updatedAt: Date;
|
|
7027
6807
|
deletedAt: Date | null;
|
|
7028
|
-
tags: {
|
|
7029
|
-
name: string;
|
|
7030
|
-
id: string;
|
|
7031
|
-
createdAt: Date;
|
|
7032
|
-
updatedAt: Date;
|
|
7033
|
-
deletedAt: Date | null;
|
|
7034
|
-
}[];
|
|
7035
|
-
callFrom: string | null;
|
|
7036
|
-
callTo: string | null;
|
|
7037
|
-
note: string | null;
|
|
7038
6808
|
categories: {
|
|
7039
6809
|
id: string;
|
|
7040
6810
|
value: string;
|
|
@@ -7057,6 +6827,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7057
6827
|
}[];
|
|
7058
6828
|
}[];
|
|
7059
6829
|
}[];
|
|
6830
|
+
tags: {
|
|
6831
|
+
name: string;
|
|
6832
|
+
id: string;
|
|
6833
|
+
createdAt: Date;
|
|
6834
|
+
updatedAt: Date;
|
|
6835
|
+
deletedAt: Date | null;
|
|
6836
|
+
}[];
|
|
6837
|
+
callFrom: string | null;
|
|
6838
|
+
callTo: string | null;
|
|
6839
|
+
note: string | null;
|
|
7060
6840
|
customFields?: {
|
|
7061
6841
|
id: string;
|
|
7062
6842
|
createdAt: Date;
|
|
@@ -7147,10 +6927,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7147
6927
|
mobileNumber: string;
|
|
7148
6928
|
apiSecret: string;
|
|
7149
6929
|
} | undefined;
|
|
7150
|
-
line?: {
|
|
7151
|
-
channelId: string;
|
|
7152
|
-
channelSecret: string;
|
|
7153
|
-
} | undefined;
|
|
7154
6930
|
lineRichMenuId?: string | null | undefined;
|
|
7155
6931
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7156
6932
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -7474,16 +7250,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7474
7250
|
createdAt: Date;
|
|
7475
7251
|
updatedAt: Date;
|
|
7476
7252
|
deletedAt: Date | null;
|
|
7477
|
-
tags: {
|
|
7478
|
-
name: string;
|
|
7479
|
-
id: string;
|
|
7480
|
-
createdAt: Date;
|
|
7481
|
-
updatedAt: Date;
|
|
7482
|
-
deletedAt: Date | null;
|
|
7483
|
-
}[];
|
|
7484
|
-
callFrom: string | null;
|
|
7485
|
-
callTo: string | null;
|
|
7486
|
-
note: string | null;
|
|
7487
7253
|
categories: {
|
|
7488
7254
|
id: string;
|
|
7489
7255
|
value: string;
|
|
@@ -7506,6 +7272,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7506
7272
|
}[];
|
|
7507
7273
|
}[];
|
|
7508
7274
|
}[];
|
|
7275
|
+
tags: {
|
|
7276
|
+
name: string;
|
|
7277
|
+
id: string;
|
|
7278
|
+
createdAt: Date;
|
|
7279
|
+
updatedAt: Date;
|
|
7280
|
+
deletedAt: Date | null;
|
|
7281
|
+
}[];
|
|
7282
|
+
callFrom: string | null;
|
|
7283
|
+
callTo: string | null;
|
|
7284
|
+
note: string | null;
|
|
7509
7285
|
customFields?: {
|
|
7510
7286
|
id: string;
|
|
7511
7287
|
createdAt: Date;
|
|
@@ -7580,10 +7356,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7580
7356
|
mobileNumber: string;
|
|
7581
7357
|
apiSecret: string;
|
|
7582
7358
|
} | undefined;
|
|
7583
|
-
line?: {
|
|
7584
|
-
channelId: string;
|
|
7585
|
-
channelSecret: string;
|
|
7586
|
-
} | undefined;
|
|
7587
7359
|
lineRichMenuId?: string | null | undefined;
|
|
7588
7360
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7589
7361
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -7907,16 +7679,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7907
7679
|
createdAt: Date;
|
|
7908
7680
|
updatedAt: Date;
|
|
7909
7681
|
deletedAt: Date | null;
|
|
7910
|
-
tags: {
|
|
7911
|
-
name: string;
|
|
7912
|
-
id: string;
|
|
7913
|
-
createdAt: Date;
|
|
7914
|
-
updatedAt: Date;
|
|
7915
|
-
deletedAt: Date | null;
|
|
7916
|
-
}[];
|
|
7917
|
-
callFrom: string | null;
|
|
7918
|
-
callTo: string | null;
|
|
7919
|
-
note: string | null;
|
|
7920
7682
|
categories: {
|
|
7921
7683
|
id: string;
|
|
7922
7684
|
value: string;
|
|
@@ -7939,6 +7701,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7939
7701
|
}[];
|
|
7940
7702
|
}[];
|
|
7941
7703
|
}[];
|
|
7704
|
+
tags: {
|
|
7705
|
+
name: string;
|
|
7706
|
+
id: string;
|
|
7707
|
+
createdAt: Date;
|
|
7708
|
+
updatedAt: Date;
|
|
7709
|
+
deletedAt: Date | null;
|
|
7710
|
+
}[];
|
|
7711
|
+
callFrom: string | null;
|
|
7712
|
+
callTo: string | null;
|
|
7713
|
+
note: string | null;
|
|
7942
7714
|
customFields?: {
|
|
7943
7715
|
id: string;
|
|
7944
7716
|
createdAt: Date;
|
|
@@ -8019,8 +7791,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
8019
7791
|
updatedAt: z.ZodDate;
|
|
8020
7792
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
8021
7793
|
message: z.ZodString;
|
|
8022
|
-
direction: z.
|
|
8023
|
-
type: z.
|
|
7794
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
7795
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
8024
7796
|
readAt: z.ZodDate;
|
|
8025
7797
|
metadata: z.ZodAny;
|
|
8026
7798
|
platformId: z.ZodString;
|
|
@@ -8678,7 +8450,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
8678
8450
|
};
|
|
8679
8451
|
}>;
|
|
8680
8452
|
}, "strip", z.ZodTypeAny, {
|
|
8681
|
-
type:
|
|
8453
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
8682
8454
|
message: string;
|
|
8683
8455
|
id: string;
|
|
8684
8456
|
url: string;
|
|
@@ -8840,7 +8612,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
8840
8612
|
metadata?: any;
|
|
8841
8613
|
template?: any;
|
|
8842
8614
|
}, {
|
|
8843
|
-
type:
|
|
8615
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
8844
8616
|
message: string;
|
|
8845
8617
|
id: string;
|
|
8846
8618
|
url: string;
|
|
@@ -9213,8 +8985,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
9213
8985
|
updatedAt: z.ZodDate;
|
|
9214
8986
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
9215
8987
|
message: z.ZodString;
|
|
9216
|
-
direction: z.
|
|
9217
|
-
type: z.
|
|
8988
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
8989
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
9218
8990
|
readAt: z.ZodDate;
|
|
9219
8991
|
metadata: z.ZodAny;
|
|
9220
8992
|
platformId: z.ZodString;
|
|
@@ -9240,7 +9012,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
9240
9012
|
firstResponseTime: z.ZodNumber;
|
|
9241
9013
|
isLatest: z.ZodBoolean;
|
|
9242
9014
|
isBotRoom: z.ZodBoolean;
|
|
9243
|
-
direction: z.
|
|
9015
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
9244
9016
|
platformContact: z.ZodObject<{
|
|
9245
9017
|
id: z.ZodString;
|
|
9246
9018
|
createdAt: z.ZodDate;
|
|
@@ -10764,16 +10536,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10764
10536
|
mobileNumber: string;
|
|
10765
10537
|
apiSecret: string;
|
|
10766
10538
|
}>>;
|
|
10767
|
-
line: z.ZodOptional<z.ZodObject<{
|
|
10768
|
-
channelId: z.ZodString;
|
|
10769
|
-
channelSecret: z.ZodString;
|
|
10770
|
-
}, "strip", z.ZodTypeAny, {
|
|
10771
|
-
channelId: string;
|
|
10772
|
-
channelSecret: string;
|
|
10773
|
-
}, {
|
|
10774
|
-
channelId: string;
|
|
10775
|
-
channelSecret: string;
|
|
10776
|
-
}>>;
|
|
10777
10539
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10778
10540
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
10779
10541
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
@@ -10804,10 +10566,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10804
10566
|
mobileNumber: string;
|
|
10805
10567
|
apiSecret: string;
|
|
10806
10568
|
} | undefined;
|
|
10807
|
-
line?: {
|
|
10808
|
-
channelId: string;
|
|
10809
|
-
channelSecret: string;
|
|
10810
|
-
} | undefined;
|
|
10811
10569
|
lineRichMenuId?: string | null | undefined;
|
|
10812
10570
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10813
10571
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -10838,10 +10596,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10838
10596
|
mobileNumber: string;
|
|
10839
10597
|
apiSecret: string;
|
|
10840
10598
|
} | undefined;
|
|
10841
|
-
line?: {
|
|
10842
|
-
channelId: string;
|
|
10843
|
-
channelSecret: string;
|
|
10844
|
-
} | undefined;
|
|
10845
10599
|
lineRichMenuId?: string | null | undefined;
|
|
10846
10600
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10847
10601
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -11106,10 +10860,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11106
10860
|
mobileNumber: string;
|
|
11107
10861
|
apiSecret: string;
|
|
11108
10862
|
} | undefined;
|
|
11109
|
-
line?: {
|
|
11110
|
-
channelId: string;
|
|
11111
|
-
channelSecret: string;
|
|
11112
|
-
} | undefined;
|
|
11113
10863
|
lineRichMenuId?: string | null | undefined;
|
|
11114
10864
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11115
10865
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -11205,10 +10955,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11205
10955
|
mobileNumber: string;
|
|
11206
10956
|
apiSecret: string;
|
|
11207
10957
|
} | undefined;
|
|
11208
|
-
line?: {
|
|
11209
|
-
channelId: string;
|
|
11210
|
-
channelSecret: string;
|
|
11211
|
-
} | undefined;
|
|
11212
10958
|
lineRichMenuId?: string | null | undefined;
|
|
11213
10959
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11214
10960
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -11465,19 +11211,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11465
11211
|
createdAt: Date;
|
|
11466
11212
|
updatedAt: Date;
|
|
11467
11213
|
deletedAt: Date | null;
|
|
11468
|
-
|
|
11469
|
-
name: string;
|
|
11214
|
+
categories: {
|
|
11470
11215
|
id: string;
|
|
11471
|
-
|
|
11472
|
-
updatedAt: Date;
|
|
11473
|
-
deletedAt: Date | null;
|
|
11474
|
-
}[];
|
|
11475
|
-
callFrom: string | null;
|
|
11476
|
-
callTo: string | null;
|
|
11477
|
-
note: string | null;
|
|
11478
|
-
categories: {
|
|
11479
|
-
id: string;
|
|
11480
|
-
value: string;
|
|
11216
|
+
value: string;
|
|
11481
11217
|
createdAt: Date;
|
|
11482
11218
|
updatedAt: Date;
|
|
11483
11219
|
deletedAt: Date | null;
|
|
@@ -11497,6 +11233,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11497
11233
|
}[];
|
|
11498
11234
|
}[];
|
|
11499
11235
|
}[];
|
|
11236
|
+
tags: {
|
|
11237
|
+
name: string;
|
|
11238
|
+
id: string;
|
|
11239
|
+
createdAt: Date;
|
|
11240
|
+
updatedAt: Date;
|
|
11241
|
+
deletedAt: Date | null;
|
|
11242
|
+
}[];
|
|
11243
|
+
callFrom: string | null;
|
|
11244
|
+
callTo: string | null;
|
|
11245
|
+
note: string | null;
|
|
11500
11246
|
customFields?: {
|
|
11501
11247
|
id: string;
|
|
11502
11248
|
createdAt: Date;
|
|
@@ -11516,16 +11262,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11516
11262
|
createdAt: Date;
|
|
11517
11263
|
updatedAt: Date;
|
|
11518
11264
|
deletedAt: Date | null;
|
|
11519
|
-
tags: {
|
|
11520
|
-
name: string;
|
|
11521
|
-
id: string;
|
|
11522
|
-
createdAt: Date;
|
|
11523
|
-
updatedAt: Date;
|
|
11524
|
-
deletedAt: Date | null;
|
|
11525
|
-
}[];
|
|
11526
|
-
callFrom: string | null;
|
|
11527
|
-
callTo: string | null;
|
|
11528
|
-
note: string | null;
|
|
11529
11265
|
categories: {
|
|
11530
11266
|
id: string;
|
|
11531
11267
|
value: string;
|
|
@@ -11548,6 +11284,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11548
11284
|
}[];
|
|
11549
11285
|
}[];
|
|
11550
11286
|
}[];
|
|
11287
|
+
tags: {
|
|
11288
|
+
name: string;
|
|
11289
|
+
id: string;
|
|
11290
|
+
createdAt: Date;
|
|
11291
|
+
updatedAt: Date;
|
|
11292
|
+
deletedAt: Date | null;
|
|
11293
|
+
}[];
|
|
11294
|
+
callFrom: string | null;
|
|
11295
|
+
callTo: string | null;
|
|
11296
|
+
note: string | null;
|
|
11551
11297
|
customFields?: {
|
|
11552
11298
|
id: string;
|
|
11553
11299
|
createdAt: Date;
|
|
@@ -11656,16 +11402,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11656
11402
|
createdAt: Date;
|
|
11657
11403
|
updatedAt: Date;
|
|
11658
11404
|
deletedAt: Date | null;
|
|
11659
|
-
tags: {
|
|
11660
|
-
name: string;
|
|
11661
|
-
id: string;
|
|
11662
|
-
createdAt: Date;
|
|
11663
|
-
updatedAt: Date;
|
|
11664
|
-
deletedAt: Date | null;
|
|
11665
|
-
}[];
|
|
11666
|
-
callFrom: string | null;
|
|
11667
|
-
callTo: string | null;
|
|
11668
|
-
note: string | null;
|
|
11669
11405
|
categories: {
|
|
11670
11406
|
id: string;
|
|
11671
11407
|
value: string;
|
|
@@ -11688,6 +11424,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11688
11424
|
}[];
|
|
11689
11425
|
}[];
|
|
11690
11426
|
}[];
|
|
11427
|
+
tags: {
|
|
11428
|
+
name: string;
|
|
11429
|
+
id: string;
|
|
11430
|
+
createdAt: Date;
|
|
11431
|
+
updatedAt: Date;
|
|
11432
|
+
deletedAt: Date | null;
|
|
11433
|
+
}[];
|
|
11434
|
+
callFrom: string | null;
|
|
11435
|
+
callTo: string | null;
|
|
11436
|
+
note: string | null;
|
|
11691
11437
|
customFields?: {
|
|
11692
11438
|
id: string;
|
|
11693
11439
|
createdAt: Date;
|
|
@@ -11746,16 +11492,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11746
11492
|
createdAt: Date;
|
|
11747
11493
|
updatedAt: Date;
|
|
11748
11494
|
deletedAt: Date | null;
|
|
11749
|
-
tags: {
|
|
11750
|
-
name: string;
|
|
11751
|
-
id: string;
|
|
11752
|
-
createdAt: Date;
|
|
11753
|
-
updatedAt: Date;
|
|
11754
|
-
deletedAt: Date | null;
|
|
11755
|
-
}[];
|
|
11756
|
-
callFrom: string | null;
|
|
11757
|
-
callTo: string | null;
|
|
11758
|
-
note: string | null;
|
|
11759
11495
|
categories: {
|
|
11760
11496
|
id: string;
|
|
11761
11497
|
value: string;
|
|
@@ -11778,6 +11514,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11778
11514
|
}[];
|
|
11779
11515
|
}[];
|
|
11780
11516
|
}[];
|
|
11517
|
+
tags: {
|
|
11518
|
+
name: string;
|
|
11519
|
+
id: string;
|
|
11520
|
+
createdAt: Date;
|
|
11521
|
+
updatedAt: Date;
|
|
11522
|
+
deletedAt: Date | null;
|
|
11523
|
+
}[];
|
|
11524
|
+
callFrom: string | null;
|
|
11525
|
+
callTo: string | null;
|
|
11526
|
+
note: string | null;
|
|
11781
11527
|
customFields?: {
|
|
11782
11528
|
id: string;
|
|
11783
11529
|
createdAt: Date;
|
|
@@ -11868,10 +11614,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11868
11614
|
mobileNumber: string;
|
|
11869
11615
|
apiSecret: string;
|
|
11870
11616
|
} | undefined;
|
|
11871
|
-
line?: {
|
|
11872
|
-
channelId: string;
|
|
11873
|
-
channelSecret: string;
|
|
11874
|
-
} | undefined;
|
|
11875
11617
|
lineRichMenuId?: string | null | undefined;
|
|
11876
11618
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11877
11619
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -12195,16 +11937,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12195
11937
|
createdAt: Date;
|
|
12196
11938
|
updatedAt: Date;
|
|
12197
11939
|
deletedAt: Date | null;
|
|
12198
|
-
tags: {
|
|
12199
|
-
name: string;
|
|
12200
|
-
id: string;
|
|
12201
|
-
createdAt: Date;
|
|
12202
|
-
updatedAt: Date;
|
|
12203
|
-
deletedAt: Date | null;
|
|
12204
|
-
}[];
|
|
12205
|
-
callFrom: string | null;
|
|
12206
|
-
callTo: string | null;
|
|
12207
|
-
note: string | null;
|
|
12208
11940
|
categories: {
|
|
12209
11941
|
id: string;
|
|
12210
11942
|
value: string;
|
|
@@ -12227,6 +11959,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12227
11959
|
}[];
|
|
12228
11960
|
}[];
|
|
12229
11961
|
}[];
|
|
11962
|
+
tags: {
|
|
11963
|
+
name: string;
|
|
11964
|
+
id: string;
|
|
11965
|
+
createdAt: Date;
|
|
11966
|
+
updatedAt: Date;
|
|
11967
|
+
deletedAt: Date | null;
|
|
11968
|
+
}[];
|
|
11969
|
+
callFrom: string | null;
|
|
11970
|
+
callTo: string | null;
|
|
11971
|
+
note: string | null;
|
|
12230
11972
|
customFields?: {
|
|
12231
11973
|
id: string;
|
|
12232
11974
|
createdAt: Date;
|
|
@@ -12301,10 +12043,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12301
12043
|
mobileNumber: string;
|
|
12302
12044
|
apiSecret: string;
|
|
12303
12045
|
} | undefined;
|
|
12304
|
-
line?: {
|
|
12305
|
-
channelId: string;
|
|
12306
|
-
channelSecret: string;
|
|
12307
|
-
} | undefined;
|
|
12308
12046
|
lineRichMenuId?: string | null | undefined;
|
|
12309
12047
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
12310
12048
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -12628,16 +12366,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12628
12366
|
createdAt: Date;
|
|
12629
12367
|
updatedAt: Date;
|
|
12630
12368
|
deletedAt: Date | null;
|
|
12631
|
-
tags: {
|
|
12632
|
-
name: string;
|
|
12633
|
-
id: string;
|
|
12634
|
-
createdAt: Date;
|
|
12635
|
-
updatedAt: Date;
|
|
12636
|
-
deletedAt: Date | null;
|
|
12637
|
-
}[];
|
|
12638
|
-
callFrom: string | null;
|
|
12639
|
-
callTo: string | null;
|
|
12640
|
-
note: string | null;
|
|
12641
12369
|
categories: {
|
|
12642
12370
|
id: string;
|
|
12643
12371
|
value: string;
|
|
@@ -12660,6 +12388,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12660
12388
|
}[];
|
|
12661
12389
|
}[];
|
|
12662
12390
|
}[];
|
|
12391
|
+
tags: {
|
|
12392
|
+
name: string;
|
|
12393
|
+
id: string;
|
|
12394
|
+
createdAt: Date;
|
|
12395
|
+
updatedAt: Date;
|
|
12396
|
+
deletedAt: Date | null;
|
|
12397
|
+
}[];
|
|
12398
|
+
callFrom: string | null;
|
|
12399
|
+
callTo: string | null;
|
|
12400
|
+
note: string | null;
|
|
12663
12401
|
customFields?: {
|
|
12664
12402
|
id: string;
|
|
12665
12403
|
createdAt: Date;
|
|
@@ -12743,8 +12481,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12743
12481
|
updatedAt: z.ZodDate;
|
|
12744
12482
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12745
12483
|
message: z.ZodString;
|
|
12746
|
-
direction: z.
|
|
12747
|
-
type: z.
|
|
12484
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
12485
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
12748
12486
|
readAt: z.ZodDate;
|
|
12749
12487
|
metadata: z.ZodAny;
|
|
12750
12488
|
platformId: z.ZodString;
|
|
@@ -13402,7 +13140,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
13402
13140
|
};
|
|
13403
13141
|
}>;
|
|
13404
13142
|
}, "strip", z.ZodTypeAny, {
|
|
13405
|
-
type:
|
|
13143
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
13406
13144
|
message: string;
|
|
13407
13145
|
id: string;
|
|
13408
13146
|
url: string;
|
|
@@ -13564,7 +13302,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
13564
13302
|
metadata?: any;
|
|
13565
13303
|
template?: any;
|
|
13566
13304
|
}, {
|
|
13567
|
-
type:
|
|
13305
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
13568
13306
|
message: string;
|
|
13569
13307
|
id: string;
|
|
13570
13308
|
url: string;
|
|
@@ -14366,7 +14104,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14366
14104
|
editedMessageid: z.ZodString;
|
|
14367
14105
|
label: z.ZodOptional<z.ZodString>;
|
|
14368
14106
|
}, "strip", z.ZodTypeAny, {
|
|
14369
|
-
type:
|
|
14107
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
14370
14108
|
message: string;
|
|
14371
14109
|
id: string;
|
|
14372
14110
|
url: string;
|
|
@@ -14507,10 +14245,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14507
14245
|
mobileNumber: string;
|
|
14508
14246
|
apiSecret: string;
|
|
14509
14247
|
} | undefined;
|
|
14510
|
-
line?: {
|
|
14511
|
-
channelId: string;
|
|
14512
|
-
channelSecret: string;
|
|
14513
|
-
} | undefined;
|
|
14514
14248
|
lineRichMenuId?: string | null | undefined;
|
|
14515
14249
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14516
14250
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -14834,16 +14568,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14834
14568
|
createdAt: Date;
|
|
14835
14569
|
updatedAt: Date;
|
|
14836
14570
|
deletedAt: Date | null;
|
|
14837
|
-
tags: {
|
|
14838
|
-
name: string;
|
|
14839
|
-
id: string;
|
|
14840
|
-
createdAt: Date;
|
|
14841
|
-
updatedAt: Date;
|
|
14842
|
-
deletedAt: Date | null;
|
|
14843
|
-
}[];
|
|
14844
|
-
callFrom: string | null;
|
|
14845
|
-
callTo: string | null;
|
|
14846
|
-
note: string | null;
|
|
14847
14571
|
categories: {
|
|
14848
14572
|
id: string;
|
|
14849
14573
|
value: string;
|
|
@@ -14866,6 +14590,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14866
14590
|
}[];
|
|
14867
14591
|
}[];
|
|
14868
14592
|
}[];
|
|
14593
|
+
tags: {
|
|
14594
|
+
name: string;
|
|
14595
|
+
id: string;
|
|
14596
|
+
createdAt: Date;
|
|
14597
|
+
updatedAt: Date;
|
|
14598
|
+
deletedAt: Date | null;
|
|
14599
|
+
}[];
|
|
14600
|
+
callFrom: string | null;
|
|
14601
|
+
callTo: string | null;
|
|
14602
|
+
note: string | null;
|
|
14869
14603
|
customFields?: {
|
|
14870
14604
|
id: string;
|
|
14871
14605
|
createdAt: Date;
|
|
@@ -14925,7 +14659,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14925
14659
|
previewUrl: string;
|
|
14926
14660
|
imageSetId: string;
|
|
14927
14661
|
repliedMessage: {
|
|
14928
|
-
type:
|
|
14662
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
14929
14663
|
message: string;
|
|
14930
14664
|
id: string;
|
|
14931
14665
|
url: string;
|
|
@@ -15136,7 +14870,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15136
14870
|
template?: any;
|
|
15137
14871
|
label?: string | undefined;
|
|
15138
14872
|
}, {
|
|
15139
|
-
type:
|
|
14873
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
15140
14874
|
message: string;
|
|
15141
14875
|
id: string;
|
|
15142
14876
|
url: string;
|
|
@@ -15277,10 +15011,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15277
15011
|
mobileNumber: string;
|
|
15278
15012
|
apiSecret: string;
|
|
15279
15013
|
} | undefined;
|
|
15280
|
-
line?: {
|
|
15281
|
-
channelId: string;
|
|
15282
|
-
channelSecret: string;
|
|
15283
|
-
} | undefined;
|
|
15284
15014
|
lineRichMenuId?: string | null | undefined;
|
|
15285
15015
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15286
15016
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -15604,16 +15334,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15604
15334
|
createdAt: Date;
|
|
15605
15335
|
updatedAt: Date;
|
|
15606
15336
|
deletedAt: Date | null;
|
|
15607
|
-
tags: {
|
|
15608
|
-
name: string;
|
|
15609
|
-
id: string;
|
|
15610
|
-
createdAt: Date;
|
|
15611
|
-
updatedAt: Date;
|
|
15612
|
-
deletedAt: Date | null;
|
|
15613
|
-
}[];
|
|
15614
|
-
callFrom: string | null;
|
|
15615
|
-
callTo: string | null;
|
|
15616
|
-
note: string | null;
|
|
15617
15337
|
categories: {
|
|
15618
15338
|
id: string;
|
|
15619
15339
|
value: string;
|
|
@@ -15636,6 +15356,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15636
15356
|
}[];
|
|
15637
15357
|
}[];
|
|
15638
15358
|
}[];
|
|
15359
|
+
tags: {
|
|
15360
|
+
name: string;
|
|
15361
|
+
id: string;
|
|
15362
|
+
createdAt: Date;
|
|
15363
|
+
updatedAt: Date;
|
|
15364
|
+
deletedAt: Date | null;
|
|
15365
|
+
}[];
|
|
15366
|
+
callFrom: string | null;
|
|
15367
|
+
callTo: string | null;
|
|
15368
|
+
note: string | null;
|
|
15639
15369
|
customFields?: {
|
|
15640
15370
|
id: string;
|
|
15641
15371
|
createdAt: Date;
|
|
@@ -15695,7 +15425,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15695
15425
|
previewUrl: string;
|
|
15696
15426
|
imageSetId: string;
|
|
15697
15427
|
repliedMessage: {
|
|
15698
|
-
type:
|
|
15428
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
15699
15429
|
message: string;
|
|
15700
15430
|
id: string;
|
|
15701
15431
|
url: string;
|
|
@@ -15907,7 +15637,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15907
15637
|
label?: string | undefined;
|
|
15908
15638
|
}>>>;
|
|
15909
15639
|
}, "strip", z.ZodTypeAny, {
|
|
15910
|
-
type:
|
|
15640
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
15911
15641
|
message: string;
|
|
15912
15642
|
id: string;
|
|
15913
15643
|
url: string;
|
|
@@ -16048,10 +15778,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16048
15778
|
mobileNumber: string;
|
|
16049
15779
|
apiSecret: string;
|
|
16050
15780
|
} | undefined;
|
|
16051
|
-
line?: {
|
|
16052
|
-
channelId: string;
|
|
16053
|
-
channelSecret: string;
|
|
16054
|
-
} | undefined;
|
|
16055
15781
|
lineRichMenuId?: string | null | undefined;
|
|
16056
15782
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16057
15783
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -16375,16 +16101,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16375
16101
|
createdAt: Date;
|
|
16376
16102
|
updatedAt: Date;
|
|
16377
16103
|
deletedAt: Date | null;
|
|
16378
|
-
tags: {
|
|
16379
|
-
name: string;
|
|
16380
|
-
id: string;
|
|
16381
|
-
createdAt: Date;
|
|
16382
|
-
updatedAt: Date;
|
|
16383
|
-
deletedAt: Date | null;
|
|
16384
|
-
}[];
|
|
16385
|
-
callFrom: string | null;
|
|
16386
|
-
callTo: string | null;
|
|
16387
|
-
note: string | null;
|
|
16388
16104
|
categories: {
|
|
16389
16105
|
id: string;
|
|
16390
16106
|
value: string;
|
|
@@ -16407,6 +16123,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16407
16123
|
}[];
|
|
16408
16124
|
}[];
|
|
16409
16125
|
}[];
|
|
16126
|
+
tags: {
|
|
16127
|
+
name: string;
|
|
16128
|
+
id: string;
|
|
16129
|
+
createdAt: Date;
|
|
16130
|
+
updatedAt: Date;
|
|
16131
|
+
deletedAt: Date | null;
|
|
16132
|
+
}[];
|
|
16133
|
+
callFrom: string | null;
|
|
16134
|
+
callTo: string | null;
|
|
16135
|
+
note: string | null;
|
|
16410
16136
|
customFields?: {
|
|
16411
16137
|
id: string;
|
|
16412
16138
|
createdAt: Date;
|
|
@@ -16466,7 +16192,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16466
16192
|
previewUrl: string;
|
|
16467
16193
|
imageSetId: string;
|
|
16468
16194
|
repliedMessage: {
|
|
16469
|
-
type:
|
|
16195
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
16470
16196
|
message: string;
|
|
16471
16197
|
id: string;
|
|
16472
16198
|
url: string;
|
|
@@ -16677,7 +16403,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16677
16403
|
template?: any;
|
|
16678
16404
|
metadata?: any;
|
|
16679
16405
|
fromMessage?: {
|
|
16680
|
-
type:
|
|
16406
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
16681
16407
|
message: string;
|
|
16682
16408
|
id: string;
|
|
16683
16409
|
url: string;
|
|
@@ -16818,10 +16544,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16818
16544
|
mobileNumber: string;
|
|
16819
16545
|
apiSecret: string;
|
|
16820
16546
|
} | undefined;
|
|
16821
|
-
line?: {
|
|
16822
|
-
channelId: string;
|
|
16823
|
-
channelSecret: string;
|
|
16824
|
-
} | undefined;
|
|
16825
16547
|
lineRichMenuId?: string | null | undefined;
|
|
16826
16548
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16827
16549
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -17145,16 +16867,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17145
16867
|
createdAt: Date;
|
|
17146
16868
|
updatedAt: Date;
|
|
17147
16869
|
deletedAt: Date | null;
|
|
17148
|
-
tags: {
|
|
17149
|
-
name: string;
|
|
17150
|
-
id: string;
|
|
17151
|
-
createdAt: Date;
|
|
17152
|
-
updatedAt: Date;
|
|
17153
|
-
deletedAt: Date | null;
|
|
17154
|
-
}[];
|
|
17155
|
-
callFrom: string | null;
|
|
17156
|
-
callTo: string | null;
|
|
17157
|
-
note: string | null;
|
|
17158
16870
|
categories: {
|
|
17159
16871
|
id: string;
|
|
17160
16872
|
value: string;
|
|
@@ -17177,6 +16889,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17177
16889
|
}[];
|
|
17178
16890
|
}[];
|
|
17179
16891
|
}[];
|
|
16892
|
+
tags: {
|
|
16893
|
+
name: string;
|
|
16894
|
+
id: string;
|
|
16895
|
+
createdAt: Date;
|
|
16896
|
+
updatedAt: Date;
|
|
16897
|
+
deletedAt: Date | null;
|
|
16898
|
+
}[];
|
|
16899
|
+
callFrom: string | null;
|
|
16900
|
+
callTo: string | null;
|
|
16901
|
+
note: string | null;
|
|
17180
16902
|
customFields?: {
|
|
17181
16903
|
id: string;
|
|
17182
16904
|
createdAt: Date;
|
|
@@ -17236,7 +16958,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17236
16958
|
previewUrl: string;
|
|
17237
16959
|
imageSetId: string;
|
|
17238
16960
|
repliedMessage: {
|
|
17239
|
-
type:
|
|
16961
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
17240
16962
|
message: string;
|
|
17241
16963
|
id: string;
|
|
17242
16964
|
url: string;
|
|
@@ -17448,7 +17170,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17448
17170
|
label?: string | undefined;
|
|
17449
17171
|
} | null | undefined;
|
|
17450
17172
|
}, {
|
|
17451
|
-
type:
|
|
17173
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
17452
17174
|
message: string;
|
|
17453
17175
|
id: string;
|
|
17454
17176
|
url: string;
|
|
@@ -17589,10 +17311,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17589
17311
|
mobileNumber: string;
|
|
17590
17312
|
apiSecret: string;
|
|
17591
17313
|
} | undefined;
|
|
17592
|
-
line?: {
|
|
17593
|
-
channelId: string;
|
|
17594
|
-
channelSecret: string;
|
|
17595
|
-
} | undefined;
|
|
17596
17314
|
lineRichMenuId?: string | null | undefined;
|
|
17597
17315
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
17598
17316
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -17916,16 +17634,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17916
17634
|
createdAt: Date;
|
|
17917
17635
|
updatedAt: Date;
|
|
17918
17636
|
deletedAt: Date | null;
|
|
17919
|
-
tags: {
|
|
17920
|
-
name: string;
|
|
17921
|
-
id: string;
|
|
17922
|
-
createdAt: Date;
|
|
17923
|
-
updatedAt: Date;
|
|
17924
|
-
deletedAt: Date | null;
|
|
17925
|
-
}[];
|
|
17926
|
-
callFrom: string | null;
|
|
17927
|
-
callTo: string | null;
|
|
17928
|
-
note: string | null;
|
|
17929
17637
|
categories: {
|
|
17930
17638
|
id: string;
|
|
17931
17639
|
value: string;
|
|
@@ -17948,6 +17656,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17948
17656
|
}[];
|
|
17949
17657
|
}[];
|
|
17950
17658
|
}[];
|
|
17659
|
+
tags: {
|
|
17660
|
+
name: string;
|
|
17661
|
+
id: string;
|
|
17662
|
+
createdAt: Date;
|
|
17663
|
+
updatedAt: Date;
|
|
17664
|
+
deletedAt: Date | null;
|
|
17665
|
+
}[];
|
|
17666
|
+
callFrom: string | null;
|
|
17667
|
+
callTo: string | null;
|
|
17668
|
+
note: string | null;
|
|
17951
17669
|
customFields?: {
|
|
17952
17670
|
id: string;
|
|
17953
17671
|
createdAt: Date;
|
|
@@ -18007,7 +17725,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18007
17725
|
previewUrl: string;
|
|
18008
17726
|
imageSetId: string;
|
|
18009
17727
|
repliedMessage: {
|
|
18010
|
-
type:
|
|
17728
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18011
17729
|
message: string;
|
|
18012
17730
|
id: string;
|
|
18013
17731
|
url: string;
|
|
@@ -18218,7 +17936,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18218
17936
|
template?: any;
|
|
18219
17937
|
metadata?: any;
|
|
18220
17938
|
fromMessage?: {
|
|
18221
|
-
type:
|
|
17939
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18222
17940
|
message: string;
|
|
18223
17941
|
id: string;
|
|
18224
17942
|
url: string;
|
|
@@ -18359,10 +18077,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18359
18077
|
mobileNumber: string;
|
|
18360
18078
|
apiSecret: string;
|
|
18361
18079
|
} | undefined;
|
|
18362
|
-
line?: {
|
|
18363
|
-
channelId: string;
|
|
18364
|
-
channelSecret: string;
|
|
18365
|
-
} | undefined;
|
|
18366
18080
|
lineRichMenuId?: string | null | undefined;
|
|
18367
18081
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
18368
18082
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -18686,16 +18400,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18686
18400
|
createdAt: Date;
|
|
18687
18401
|
updatedAt: Date;
|
|
18688
18402
|
deletedAt: Date | null;
|
|
18689
|
-
tags: {
|
|
18690
|
-
name: string;
|
|
18691
|
-
id: string;
|
|
18692
|
-
createdAt: Date;
|
|
18693
|
-
updatedAt: Date;
|
|
18694
|
-
deletedAt: Date | null;
|
|
18695
|
-
}[];
|
|
18696
|
-
callFrom: string | null;
|
|
18697
|
-
callTo: string | null;
|
|
18698
|
-
note: string | null;
|
|
18699
18403
|
categories: {
|
|
18700
18404
|
id: string;
|
|
18701
18405
|
value: string;
|
|
@@ -18718,7 +18422,17 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18718
18422
|
}[];
|
|
18719
18423
|
}[];
|
|
18720
18424
|
}[];
|
|
18721
|
-
|
|
18425
|
+
tags: {
|
|
18426
|
+
name: string;
|
|
18427
|
+
id: string;
|
|
18428
|
+
createdAt: Date;
|
|
18429
|
+
updatedAt: Date;
|
|
18430
|
+
deletedAt: Date | null;
|
|
18431
|
+
}[];
|
|
18432
|
+
callFrom: string | null;
|
|
18433
|
+
callTo: string | null;
|
|
18434
|
+
note: string | null;
|
|
18435
|
+
customFields?: {
|
|
18722
18436
|
id: string;
|
|
18723
18437
|
createdAt: Date;
|
|
18724
18438
|
updatedAt: Date;
|
|
@@ -18777,7 +18491,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18777
18491
|
previewUrl: string;
|
|
18778
18492
|
imageSetId: string;
|
|
18779
18493
|
repliedMessage: {
|
|
18780
|
-
type:
|
|
18494
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18781
18495
|
message: string;
|
|
18782
18496
|
id: string;
|
|
18783
18497
|
url: string;
|
|
@@ -18991,7 +18705,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18991
18705
|
}>;
|
|
18992
18706
|
}, "strip", z.ZodTypeAny, {
|
|
18993
18707
|
data: {
|
|
18994
|
-
type:
|
|
18708
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18995
18709
|
message: string;
|
|
18996
18710
|
id: string;
|
|
18997
18711
|
url: string;
|
|
@@ -19132,10 +18846,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19132
18846
|
mobileNumber: string;
|
|
19133
18847
|
apiSecret: string;
|
|
19134
18848
|
} | undefined;
|
|
19135
|
-
line?: {
|
|
19136
|
-
channelId: string;
|
|
19137
|
-
channelSecret: string;
|
|
19138
|
-
} | undefined;
|
|
19139
18849
|
lineRichMenuId?: string | null | undefined;
|
|
19140
18850
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
19141
18851
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -19459,16 +19169,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19459
19169
|
createdAt: Date;
|
|
19460
19170
|
updatedAt: Date;
|
|
19461
19171
|
deletedAt: Date | null;
|
|
19462
|
-
tags: {
|
|
19463
|
-
name: string;
|
|
19464
|
-
id: string;
|
|
19465
|
-
createdAt: Date;
|
|
19466
|
-
updatedAt: Date;
|
|
19467
|
-
deletedAt: Date | null;
|
|
19468
|
-
}[];
|
|
19469
|
-
callFrom: string | null;
|
|
19470
|
-
callTo: string | null;
|
|
19471
|
-
note: string | null;
|
|
19472
19172
|
categories: {
|
|
19473
19173
|
id: string;
|
|
19474
19174
|
value: string;
|
|
@@ -19491,6 +19191,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19491
19191
|
}[];
|
|
19492
19192
|
}[];
|
|
19493
19193
|
}[];
|
|
19194
|
+
tags: {
|
|
19195
|
+
name: string;
|
|
19196
|
+
id: string;
|
|
19197
|
+
createdAt: Date;
|
|
19198
|
+
updatedAt: Date;
|
|
19199
|
+
deletedAt: Date | null;
|
|
19200
|
+
}[];
|
|
19201
|
+
callFrom: string | null;
|
|
19202
|
+
callTo: string | null;
|
|
19203
|
+
note: string | null;
|
|
19494
19204
|
customFields?: {
|
|
19495
19205
|
id: string;
|
|
19496
19206
|
createdAt: Date;
|
|
@@ -19550,7 +19260,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19550
19260
|
previewUrl: string;
|
|
19551
19261
|
imageSetId: string;
|
|
19552
19262
|
repliedMessage: {
|
|
19553
|
-
type:
|
|
19263
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
19554
19264
|
message: string;
|
|
19555
19265
|
id: string;
|
|
19556
19266
|
url: string;
|
|
@@ -19761,7 +19471,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19761
19471
|
template?: any;
|
|
19762
19472
|
metadata?: any;
|
|
19763
19473
|
fromMessage?: {
|
|
19764
|
-
type:
|
|
19474
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
19765
19475
|
message: string;
|
|
19766
19476
|
id: string;
|
|
19767
19477
|
url: string;
|
|
@@ -19902,10 +19612,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19902
19612
|
mobileNumber: string;
|
|
19903
19613
|
apiSecret: string;
|
|
19904
19614
|
} | undefined;
|
|
19905
|
-
line?: {
|
|
19906
|
-
channelId: string;
|
|
19907
|
-
channelSecret: string;
|
|
19908
|
-
} | undefined;
|
|
19909
19615
|
lineRichMenuId?: string | null | undefined;
|
|
19910
19616
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
19911
19617
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -20229,16 +19935,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20229
19935
|
createdAt: Date;
|
|
20230
19936
|
updatedAt: Date;
|
|
20231
19937
|
deletedAt: Date | null;
|
|
20232
|
-
tags: {
|
|
20233
|
-
name: string;
|
|
20234
|
-
id: string;
|
|
20235
|
-
createdAt: Date;
|
|
20236
|
-
updatedAt: Date;
|
|
20237
|
-
deletedAt: Date | null;
|
|
20238
|
-
}[];
|
|
20239
|
-
callFrom: string | null;
|
|
20240
|
-
callTo: string | null;
|
|
20241
|
-
note: string | null;
|
|
20242
19938
|
categories: {
|
|
20243
19939
|
id: string;
|
|
20244
19940
|
value: string;
|
|
@@ -20261,6 +19957,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20261
19957
|
}[];
|
|
20262
19958
|
}[];
|
|
20263
19959
|
}[];
|
|
19960
|
+
tags: {
|
|
19961
|
+
name: string;
|
|
19962
|
+
id: string;
|
|
19963
|
+
createdAt: Date;
|
|
19964
|
+
updatedAt: Date;
|
|
19965
|
+
deletedAt: Date | null;
|
|
19966
|
+
}[];
|
|
19967
|
+
callFrom: string | null;
|
|
19968
|
+
callTo: string | null;
|
|
19969
|
+
note: string | null;
|
|
20264
19970
|
customFields?: {
|
|
20265
19971
|
id: string;
|
|
20266
19972
|
createdAt: Date;
|
|
@@ -20320,7 +20026,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20320
20026
|
previewUrl: string;
|
|
20321
20027
|
imageSetId: string;
|
|
20322
20028
|
repliedMessage: {
|
|
20323
|
-
type:
|
|
20029
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
20324
20030
|
message: string;
|
|
20325
20031
|
id: string;
|
|
20326
20032
|
url: string;
|
|
@@ -20535,7 +20241,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20535
20241
|
requestId: string;
|
|
20536
20242
|
}, {
|
|
20537
20243
|
data: {
|
|
20538
|
-
type:
|
|
20244
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
20539
20245
|
message: string;
|
|
20540
20246
|
id: string;
|
|
20541
20247
|
url: string;
|
|
@@ -20676,10 +20382,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20676
20382
|
mobileNumber: string;
|
|
20677
20383
|
apiSecret: string;
|
|
20678
20384
|
} | undefined;
|
|
20679
|
-
line?: {
|
|
20680
|
-
channelId: string;
|
|
20681
|
-
channelSecret: string;
|
|
20682
|
-
} | undefined;
|
|
20683
20385
|
lineRichMenuId?: string | null | undefined;
|
|
20684
20386
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
20685
20387
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -21003,16 +20705,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21003
20705
|
createdAt: Date;
|
|
21004
20706
|
updatedAt: Date;
|
|
21005
20707
|
deletedAt: Date | null;
|
|
21006
|
-
tags: {
|
|
21007
|
-
name: string;
|
|
21008
|
-
id: string;
|
|
21009
|
-
createdAt: Date;
|
|
21010
|
-
updatedAt: Date;
|
|
21011
|
-
deletedAt: Date | null;
|
|
21012
|
-
}[];
|
|
21013
|
-
callFrom: string | null;
|
|
21014
|
-
callTo: string | null;
|
|
21015
|
-
note: string | null;
|
|
21016
20708
|
categories: {
|
|
21017
20709
|
id: string;
|
|
21018
20710
|
value: string;
|
|
@@ -21035,6 +20727,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21035
20727
|
}[];
|
|
21036
20728
|
}[];
|
|
21037
20729
|
}[];
|
|
20730
|
+
tags: {
|
|
20731
|
+
name: string;
|
|
20732
|
+
id: string;
|
|
20733
|
+
createdAt: Date;
|
|
20734
|
+
updatedAt: Date;
|
|
20735
|
+
deletedAt: Date | null;
|
|
20736
|
+
}[];
|
|
20737
|
+
callFrom: string | null;
|
|
20738
|
+
callTo: string | null;
|
|
20739
|
+
note: string | null;
|
|
21038
20740
|
customFields?: {
|
|
21039
20741
|
id: string;
|
|
21040
20742
|
createdAt: Date;
|
|
@@ -21094,7 +20796,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21094
20796
|
previewUrl: string;
|
|
21095
20797
|
imageSetId: string;
|
|
21096
20798
|
repliedMessage: {
|
|
21097
|
-
type:
|
|
20799
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
21098
20800
|
message: string;
|
|
21099
20801
|
id: string;
|
|
21100
20802
|
url: string;
|
|
@@ -21305,7 +21007,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21305
21007
|
template?: any;
|
|
21306
21008
|
metadata?: any;
|
|
21307
21009
|
fromMessage?: {
|
|
21308
|
-
type:
|
|
21010
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
21309
21011
|
message: string;
|
|
21310
21012
|
id: string;
|
|
21311
21013
|
url: string;
|
|
@@ -21446,10 +21148,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21446
21148
|
mobileNumber: string;
|
|
21447
21149
|
apiSecret: string;
|
|
21448
21150
|
} | undefined;
|
|
21449
|
-
line?: {
|
|
21450
|
-
channelId: string;
|
|
21451
|
-
channelSecret: string;
|
|
21452
|
-
} | undefined;
|
|
21453
21151
|
lineRichMenuId?: string | null | undefined;
|
|
21454
21152
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
21455
21153
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -21773,16 +21471,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21773
21471
|
createdAt: Date;
|
|
21774
21472
|
updatedAt: Date;
|
|
21775
21473
|
deletedAt: Date | null;
|
|
21776
|
-
tags: {
|
|
21777
|
-
name: string;
|
|
21778
|
-
id: string;
|
|
21779
|
-
createdAt: Date;
|
|
21780
|
-
updatedAt: Date;
|
|
21781
|
-
deletedAt: Date | null;
|
|
21782
|
-
}[];
|
|
21783
|
-
callFrom: string | null;
|
|
21784
|
-
callTo: string | null;
|
|
21785
|
-
note: string | null;
|
|
21786
21474
|
categories: {
|
|
21787
21475
|
id: string;
|
|
21788
21476
|
value: string;
|
|
@@ -21805,6 +21493,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21805
21493
|
}[];
|
|
21806
21494
|
}[];
|
|
21807
21495
|
}[];
|
|
21496
|
+
tags: {
|
|
21497
|
+
name: string;
|
|
21498
|
+
id: string;
|
|
21499
|
+
createdAt: Date;
|
|
21500
|
+
updatedAt: Date;
|
|
21501
|
+
deletedAt: Date | null;
|
|
21502
|
+
}[];
|
|
21503
|
+
callFrom: string | null;
|
|
21504
|
+
callTo: string | null;
|
|
21505
|
+
note: string | null;
|
|
21808
21506
|
customFields?: {
|
|
21809
21507
|
id: string;
|
|
21810
21508
|
createdAt: Date;
|
|
@@ -21864,7 +21562,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21864
21562
|
previewUrl: string;
|
|
21865
21563
|
imageSetId: string;
|
|
21866
21564
|
repliedMessage: {
|
|
21867
|
-
type:
|
|
21565
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
21868
21566
|
message: string;
|
|
21869
21567
|
id: string;
|
|
21870
21568
|
url: string;
|
|
@@ -22144,16 +21842,6 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
22144
21842
|
mobileNumber: string;
|
|
22145
21843
|
apiSecret: string;
|
|
22146
21844
|
}>>;
|
|
22147
|
-
line: z.ZodOptional<z.ZodObject<{
|
|
22148
|
-
channelId: z.ZodString;
|
|
22149
|
-
channelSecret: z.ZodString;
|
|
22150
|
-
}, "strip", z.ZodTypeAny, {
|
|
22151
|
-
channelId: string;
|
|
22152
|
-
channelSecret: string;
|
|
22153
|
-
}, {
|
|
22154
|
-
channelId: string;
|
|
22155
|
-
channelSecret: string;
|
|
22156
|
-
}>>;
|
|
22157
21845
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22158
21846
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
22159
21847
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
@@ -22184,10 +21872,6 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
22184
21872
|
mobileNumber: string;
|
|
22185
21873
|
apiSecret: string;
|
|
22186
21874
|
} | undefined;
|
|
22187
|
-
line?: {
|
|
22188
|
-
channelId: string;
|
|
22189
|
-
channelSecret: string;
|
|
22190
|
-
} | undefined;
|
|
22191
21875
|
lineRichMenuId?: string | null | undefined;
|
|
22192
21876
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
22193
21877
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -22218,10 +21902,6 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
22218
21902
|
mobileNumber: string;
|
|
22219
21903
|
apiSecret: string;
|
|
22220
21904
|
} | undefined;
|
|
22221
|
-
line?: {
|
|
22222
|
-
channelId: string;
|
|
22223
|
-
channelSecret: string;
|
|
22224
|
-
} | undefined;
|
|
22225
21905
|
lineRichMenuId?: string | null | undefined;
|
|
22226
21906
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
22227
21907
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -22282,10 +21962,6 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
22282
21962
|
mobileNumber: string;
|
|
22283
21963
|
apiSecret: string;
|
|
22284
21964
|
} | undefined;
|
|
22285
|
-
line?: {
|
|
22286
|
-
channelId: string;
|
|
22287
|
-
channelSecret: string;
|
|
22288
|
-
} | undefined;
|
|
22289
21965
|
lineRichMenuId?: string | null | undefined;
|
|
22290
21966
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
22291
21967
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -22334,10 +22010,6 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
22334
22010
|
mobileNumber: string;
|
|
22335
22011
|
apiSecret: string;
|
|
22336
22012
|
} | undefined;
|
|
22337
|
-
line?: {
|
|
22338
|
-
channelId: string;
|
|
22339
|
-
channelSecret: string;
|
|
22340
|
-
} | undefined;
|
|
22341
22013
|
lineRichMenuId?: string | null | undefined;
|
|
22342
22014
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
22343
22015
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -22388,10 +22060,6 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
22388
22060
|
mobileNumber: string;
|
|
22389
22061
|
apiSecret: string;
|
|
22390
22062
|
} | undefined;
|
|
22391
|
-
line?: {
|
|
22392
|
-
channelId: string;
|
|
22393
|
-
channelSecret: string;
|
|
22394
|
-
} | undefined;
|
|
22395
22063
|
lineRichMenuId?: string | null | undefined;
|
|
22396
22064
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
22397
22065
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -22443,10 +22111,6 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
22443
22111
|
mobileNumber: string;
|
|
22444
22112
|
apiSecret: string;
|
|
22445
22113
|
} | undefined;
|
|
22446
|
-
line?: {
|
|
22447
|
-
channelId: string;
|
|
22448
|
-
channelSecret: string;
|
|
22449
|
-
} | undefined;
|
|
22450
22114
|
lineRichMenuId?: string | null | undefined;
|
|
22451
22115
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
22452
22116
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -22475,8 +22139,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
22475
22139
|
updatedAt: z.ZodString;
|
|
22476
22140
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
22477
22141
|
message: z.ZodOptional<z.ZodString>;
|
|
22478
|
-
direction: z.
|
|
22479
|
-
type: z.
|
|
22142
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
22143
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
22480
22144
|
metadata: z.ZodAny;
|
|
22481
22145
|
platformId: z.ZodString;
|
|
22482
22146
|
platformMessageId: z.ZodString;
|
|
@@ -22498,7 +22162,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
22498
22162
|
firstResponseAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22499
22163
|
firstResponseTime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22500
22164
|
isLatest: z.ZodOptional<z.ZodBoolean>;
|
|
22501
|
-
direction: z.ZodOptional<z.
|
|
22165
|
+
direction: z.ZodOptional<z.ZodEnum<["incoming", "outgoing", "system"]>>;
|
|
22502
22166
|
platformContact: z.ZodOptional<z.ZodObject<{
|
|
22503
22167
|
id: z.ZodString;
|
|
22504
22168
|
createdAt: z.ZodString;
|
|
@@ -23905,16 +23569,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23905
23569
|
mobileNumber: string;
|
|
23906
23570
|
apiSecret: string;
|
|
23907
23571
|
}>>;
|
|
23908
|
-
line: z.ZodOptional<z.ZodObject<{
|
|
23909
|
-
channelId: z.ZodString;
|
|
23910
|
-
channelSecret: z.ZodString;
|
|
23911
|
-
}, "strip", z.ZodTypeAny, {
|
|
23912
|
-
channelId: string;
|
|
23913
|
-
channelSecret: string;
|
|
23914
|
-
}, {
|
|
23915
|
-
channelId: string;
|
|
23916
|
-
channelSecret: string;
|
|
23917
|
-
}>>;
|
|
23918
23572
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
23919
23573
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
23920
23574
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
@@ -23945,10 +23599,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23945
23599
|
mobileNumber: string;
|
|
23946
23600
|
apiSecret: string;
|
|
23947
23601
|
} | undefined;
|
|
23948
|
-
line?: {
|
|
23949
|
-
channelId: string;
|
|
23950
|
-
channelSecret: string;
|
|
23951
|
-
} | undefined;
|
|
23952
23602
|
lineRichMenuId?: string | null | undefined;
|
|
23953
23603
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
23954
23604
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -23979,10 +23629,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23979
23629
|
mobileNumber: string;
|
|
23980
23630
|
apiSecret: string;
|
|
23981
23631
|
} | undefined;
|
|
23982
|
-
line?: {
|
|
23983
|
-
channelId: string;
|
|
23984
|
-
channelSecret: string;
|
|
23985
|
-
} | undefined;
|
|
23986
23632
|
lineRichMenuId?: string | null | undefined;
|
|
23987
23633
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
23988
23634
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -24043,10 +23689,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24043
23689
|
mobileNumber: string;
|
|
24044
23690
|
apiSecret: string;
|
|
24045
23691
|
} | undefined;
|
|
24046
|
-
line?: {
|
|
24047
|
-
channelId: string;
|
|
24048
|
-
channelSecret: string;
|
|
24049
|
-
} | undefined;
|
|
24050
23692
|
lineRichMenuId?: string | null | undefined;
|
|
24051
23693
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
24052
23694
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -24095,10 +23737,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24095
23737
|
mobileNumber: string;
|
|
24096
23738
|
apiSecret: string;
|
|
24097
23739
|
} | undefined;
|
|
24098
|
-
line?: {
|
|
24099
|
-
channelId: string;
|
|
24100
|
-
channelSecret: string;
|
|
24101
|
-
} | undefined;
|
|
24102
23740
|
lineRichMenuId?: string | null | undefined;
|
|
24103
23741
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
24104
23742
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -24308,16 +23946,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24308
23946
|
createdAt: Date;
|
|
24309
23947
|
updatedAt: Date;
|
|
24310
23948
|
deletedAt: Date | null;
|
|
24311
|
-
tags: {
|
|
24312
|
-
name: string;
|
|
24313
|
-
id: string;
|
|
24314
|
-
createdAt: Date;
|
|
24315
|
-
updatedAt: Date;
|
|
24316
|
-
deletedAt: Date | null;
|
|
24317
|
-
}[];
|
|
24318
|
-
callFrom: string | null;
|
|
24319
|
-
callTo: string | null;
|
|
24320
|
-
note: string | null;
|
|
24321
23949
|
categories: {
|
|
24322
23950
|
id: string;
|
|
24323
23951
|
value: string;
|
|
@@ -24340,6 +23968,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24340
23968
|
}[];
|
|
24341
23969
|
}[];
|
|
24342
23970
|
}[];
|
|
23971
|
+
tags: {
|
|
23972
|
+
name: string;
|
|
23973
|
+
id: string;
|
|
23974
|
+
createdAt: Date;
|
|
23975
|
+
updatedAt: Date;
|
|
23976
|
+
deletedAt: Date | null;
|
|
23977
|
+
}[];
|
|
23978
|
+
callFrom: string | null;
|
|
23979
|
+
callTo: string | null;
|
|
23980
|
+
note: string | null;
|
|
24343
23981
|
customFields?: {
|
|
24344
23982
|
id: string;
|
|
24345
23983
|
createdAt: Date;
|
|
@@ -24359,16 +23997,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24359
23997
|
createdAt: Date;
|
|
24360
23998
|
updatedAt: Date;
|
|
24361
23999
|
deletedAt: Date | null;
|
|
24362
|
-
tags: {
|
|
24363
|
-
name: string;
|
|
24364
|
-
id: string;
|
|
24365
|
-
createdAt: Date;
|
|
24366
|
-
updatedAt: Date;
|
|
24367
|
-
deletedAt: Date | null;
|
|
24368
|
-
}[];
|
|
24369
|
-
callFrom: string | null;
|
|
24370
|
-
callTo: string | null;
|
|
24371
|
-
note: string | null;
|
|
24372
24000
|
categories: {
|
|
24373
24001
|
id: string;
|
|
24374
24002
|
value: string;
|
|
@@ -24391,6 +24019,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24391
24019
|
}[];
|
|
24392
24020
|
}[];
|
|
24393
24021
|
}[];
|
|
24022
|
+
tags: {
|
|
24023
|
+
name: string;
|
|
24024
|
+
id: string;
|
|
24025
|
+
createdAt: Date;
|
|
24026
|
+
updatedAt: Date;
|
|
24027
|
+
deletedAt: Date | null;
|
|
24028
|
+
}[];
|
|
24029
|
+
callFrom: string | null;
|
|
24030
|
+
callTo: string | null;
|
|
24031
|
+
note: string | null;
|
|
24394
24032
|
customFields?: {
|
|
24395
24033
|
id: string;
|
|
24396
24034
|
createdAt: Date;
|
|
@@ -24499,16 +24137,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24499
24137
|
createdAt: Date;
|
|
24500
24138
|
updatedAt: Date;
|
|
24501
24139
|
deletedAt: Date | null;
|
|
24502
|
-
tags: {
|
|
24503
|
-
name: string;
|
|
24504
|
-
id: string;
|
|
24505
|
-
createdAt: Date;
|
|
24506
|
-
updatedAt: Date;
|
|
24507
|
-
deletedAt: Date | null;
|
|
24508
|
-
}[];
|
|
24509
|
-
callFrom: string | null;
|
|
24510
|
-
callTo: string | null;
|
|
24511
|
-
note: string | null;
|
|
24512
24140
|
categories: {
|
|
24513
24141
|
id: string;
|
|
24514
24142
|
value: string;
|
|
@@ -24531,6 +24159,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24531
24159
|
}[];
|
|
24532
24160
|
}[];
|
|
24533
24161
|
}[];
|
|
24162
|
+
tags: {
|
|
24163
|
+
name: string;
|
|
24164
|
+
id: string;
|
|
24165
|
+
createdAt: Date;
|
|
24166
|
+
updatedAt: Date;
|
|
24167
|
+
deletedAt: Date | null;
|
|
24168
|
+
}[];
|
|
24169
|
+
callFrom: string | null;
|
|
24170
|
+
callTo: string | null;
|
|
24171
|
+
note: string | null;
|
|
24534
24172
|
customFields?: {
|
|
24535
24173
|
id: string;
|
|
24536
24174
|
createdAt: Date;
|
|
@@ -24589,16 +24227,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24589
24227
|
createdAt: Date;
|
|
24590
24228
|
updatedAt: Date;
|
|
24591
24229
|
deletedAt: Date | null;
|
|
24592
|
-
tags: {
|
|
24593
|
-
name: string;
|
|
24594
|
-
id: string;
|
|
24595
|
-
createdAt: Date;
|
|
24596
|
-
updatedAt: Date;
|
|
24597
|
-
deletedAt: Date | null;
|
|
24598
|
-
}[];
|
|
24599
|
-
callFrom: string | null;
|
|
24600
|
-
callTo: string | null;
|
|
24601
|
-
note: string | null;
|
|
24602
24230
|
categories: {
|
|
24603
24231
|
id: string;
|
|
24604
24232
|
value: string;
|
|
@@ -24621,6 +24249,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24621
24249
|
}[];
|
|
24622
24250
|
}[];
|
|
24623
24251
|
}[];
|
|
24252
|
+
tags: {
|
|
24253
|
+
name: string;
|
|
24254
|
+
id: string;
|
|
24255
|
+
createdAt: Date;
|
|
24256
|
+
updatedAt: Date;
|
|
24257
|
+
deletedAt: Date | null;
|
|
24258
|
+
}[];
|
|
24259
|
+
callFrom: string | null;
|
|
24260
|
+
callTo: string | null;
|
|
24261
|
+
note: string | null;
|
|
24624
24262
|
customFields?: {
|
|
24625
24263
|
id: string;
|
|
24626
24264
|
createdAt: Date;
|
|
@@ -24896,10 +24534,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24896
24534
|
mobileNumber: string;
|
|
24897
24535
|
apiSecret: string;
|
|
24898
24536
|
} | undefined;
|
|
24899
|
-
line?: {
|
|
24900
|
-
channelId: string;
|
|
24901
|
-
channelSecret: string;
|
|
24902
|
-
} | undefined;
|
|
24903
24537
|
lineRichMenuId?: string | null | undefined;
|
|
24904
24538
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
24905
24539
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -24946,16 +24580,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24946
24580
|
createdAt: Date;
|
|
24947
24581
|
updatedAt: Date;
|
|
24948
24582
|
deletedAt: Date | null;
|
|
24949
|
-
tags: {
|
|
24950
|
-
name: string;
|
|
24951
|
-
id: string;
|
|
24952
|
-
createdAt: Date;
|
|
24953
|
-
updatedAt: Date;
|
|
24954
|
-
deletedAt: Date | null;
|
|
24955
|
-
}[];
|
|
24956
|
-
callFrom: string | null;
|
|
24957
|
-
callTo: string | null;
|
|
24958
|
-
note: string | null;
|
|
24959
24583
|
categories: {
|
|
24960
24584
|
id: string;
|
|
24961
24585
|
value: string;
|
|
@@ -24978,6 +24602,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24978
24602
|
}[];
|
|
24979
24603
|
}[];
|
|
24980
24604
|
}[];
|
|
24605
|
+
tags: {
|
|
24606
|
+
name: string;
|
|
24607
|
+
id: string;
|
|
24608
|
+
createdAt: Date;
|
|
24609
|
+
updatedAt: Date;
|
|
24610
|
+
deletedAt: Date | null;
|
|
24611
|
+
}[];
|
|
24612
|
+
callFrom: string | null;
|
|
24613
|
+
callTo: string | null;
|
|
24614
|
+
note: string | null;
|
|
24981
24615
|
customFields?: {
|
|
24982
24616
|
id: string;
|
|
24983
24617
|
createdAt: Date;
|
|
@@ -25253,10 +24887,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25253
24887
|
mobileNumber: string;
|
|
25254
24888
|
apiSecret: string;
|
|
25255
24889
|
} | undefined;
|
|
25256
|
-
line?: {
|
|
25257
|
-
channelId: string;
|
|
25258
|
-
channelSecret: string;
|
|
25259
|
-
} | undefined;
|
|
25260
24890
|
lineRichMenuId?: string | null | undefined;
|
|
25261
24891
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
25262
24892
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -25303,16 +24933,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25303
24933
|
createdAt: Date;
|
|
25304
24934
|
updatedAt: Date;
|
|
25305
24935
|
deletedAt: Date | null;
|
|
25306
|
-
tags: {
|
|
25307
|
-
name: string;
|
|
25308
|
-
id: string;
|
|
25309
|
-
createdAt: Date;
|
|
25310
|
-
updatedAt: Date;
|
|
25311
|
-
deletedAt: Date | null;
|
|
25312
|
-
}[];
|
|
25313
|
-
callFrom: string | null;
|
|
25314
|
-
callTo: string | null;
|
|
25315
|
-
note: string | null;
|
|
25316
24936
|
categories: {
|
|
25317
24937
|
id: string;
|
|
25318
24938
|
value: string;
|
|
@@ -25335,6 +24955,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25335
24955
|
}[];
|
|
25336
24956
|
}[];
|
|
25337
24957
|
}[];
|
|
24958
|
+
tags: {
|
|
24959
|
+
name: string;
|
|
24960
|
+
id: string;
|
|
24961
|
+
createdAt: Date;
|
|
24962
|
+
updatedAt: Date;
|
|
24963
|
+
deletedAt: Date | null;
|
|
24964
|
+
}[];
|
|
24965
|
+
callFrom: string | null;
|
|
24966
|
+
callTo: string | null;
|
|
24967
|
+
note: string | null;
|
|
25338
24968
|
customFields?: {
|
|
25339
24969
|
id: string;
|
|
25340
24970
|
createdAt: Date;
|
|
@@ -26016,7 +25646,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26016
25646
|
}>>>;
|
|
26017
25647
|
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
26018
25648
|
}, "strip", z.ZodTypeAny, {
|
|
26019
|
-
type:
|
|
25649
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
26020
25650
|
id: string;
|
|
26021
25651
|
direction: "incoming" | "outgoing" | "system";
|
|
26022
25652
|
createdAt: string;
|
|
@@ -26266,10 +25896,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26266
25896
|
mobileNumber: string;
|
|
26267
25897
|
apiSecret: string;
|
|
26268
25898
|
} | undefined;
|
|
26269
|
-
line?: {
|
|
26270
|
-
channelId: string;
|
|
26271
|
-
channelSecret: string;
|
|
26272
|
-
} | undefined;
|
|
26273
25899
|
lineRichMenuId?: string | null | undefined;
|
|
26274
25900
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
26275
25901
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -26316,16 +25942,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26316
25942
|
createdAt: Date;
|
|
26317
25943
|
updatedAt: Date;
|
|
26318
25944
|
deletedAt: Date | null;
|
|
26319
|
-
tags: {
|
|
26320
|
-
name: string;
|
|
26321
|
-
id: string;
|
|
26322
|
-
createdAt: Date;
|
|
26323
|
-
updatedAt: Date;
|
|
26324
|
-
deletedAt: Date | null;
|
|
26325
|
-
}[];
|
|
26326
|
-
callFrom: string | null;
|
|
26327
|
-
callTo: string | null;
|
|
26328
|
-
note: string | null;
|
|
26329
25945
|
categories: {
|
|
26330
25946
|
id: string;
|
|
26331
25947
|
value: string;
|
|
@@ -26348,6 +25964,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26348
25964
|
}[];
|
|
26349
25965
|
}[];
|
|
26350
25966
|
}[];
|
|
25967
|
+
tags: {
|
|
25968
|
+
name: string;
|
|
25969
|
+
id: string;
|
|
25970
|
+
createdAt: Date;
|
|
25971
|
+
updatedAt: Date;
|
|
25972
|
+
deletedAt: Date | null;
|
|
25973
|
+
}[];
|
|
25974
|
+
callFrom: string | null;
|
|
25975
|
+
callTo: string | null;
|
|
25976
|
+
note: string | null;
|
|
26351
25977
|
customFields?: {
|
|
26352
25978
|
id: string;
|
|
26353
25979
|
createdAt: Date;
|
|
@@ -26536,7 +26162,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26536
26162
|
} | null | undefined;
|
|
26537
26163
|
label?: string | null | undefined;
|
|
26538
26164
|
}, {
|
|
26539
|
-
type:
|
|
26165
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
26540
26166
|
id: string;
|
|
26541
26167
|
direction: "incoming" | "outgoing" | "system";
|
|
26542
26168
|
createdAt: string;
|
|
@@ -26786,10 +26412,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26786
26412
|
mobileNumber: string;
|
|
26787
26413
|
apiSecret: string;
|
|
26788
26414
|
} | undefined;
|
|
26789
|
-
line?: {
|
|
26790
|
-
channelId: string;
|
|
26791
|
-
channelSecret: string;
|
|
26792
|
-
} | undefined;
|
|
26793
26415
|
lineRichMenuId?: string | null | undefined;
|
|
26794
26416
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
26795
26417
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -26836,16 +26458,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26836
26458
|
createdAt: Date;
|
|
26837
26459
|
updatedAt: Date;
|
|
26838
26460
|
deletedAt: Date | null;
|
|
26839
|
-
tags: {
|
|
26840
|
-
name: string;
|
|
26841
|
-
id: string;
|
|
26842
|
-
createdAt: Date;
|
|
26843
|
-
updatedAt: Date;
|
|
26844
|
-
deletedAt: Date | null;
|
|
26845
|
-
}[];
|
|
26846
|
-
callFrom: string | null;
|
|
26847
|
-
callTo: string | null;
|
|
26848
|
-
note: string | null;
|
|
26849
26461
|
categories: {
|
|
26850
26462
|
id: string;
|
|
26851
26463
|
value: string;
|
|
@@ -26868,6 +26480,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26868
26480
|
}[];
|
|
26869
26481
|
}[];
|
|
26870
26482
|
}[];
|
|
26483
|
+
tags: {
|
|
26484
|
+
name: string;
|
|
26485
|
+
id: string;
|
|
26486
|
+
createdAt: Date;
|
|
26487
|
+
updatedAt: Date;
|
|
26488
|
+
deletedAt: Date | null;
|
|
26489
|
+
}[];
|
|
26490
|
+
callFrom: string | null;
|
|
26491
|
+
callTo: string | null;
|
|
26492
|
+
note: string | null;
|
|
26871
26493
|
customFields?: {
|
|
26872
26494
|
id: string;
|
|
26873
26495
|
createdAt: Date;
|
|
@@ -27058,7 +26680,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27058
26680
|
}>;
|
|
27059
26681
|
}, "strip", z.ZodTypeAny, {
|
|
27060
26682
|
message: {
|
|
27061
|
-
type:
|
|
26683
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
27062
26684
|
id: string;
|
|
27063
26685
|
direction: "incoming" | "outgoing" | "system";
|
|
27064
26686
|
createdAt: string;
|
|
@@ -27308,10 +26930,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27308
26930
|
mobileNumber: string;
|
|
27309
26931
|
apiSecret: string;
|
|
27310
26932
|
} | undefined;
|
|
27311
|
-
line?: {
|
|
27312
|
-
channelId: string;
|
|
27313
|
-
channelSecret: string;
|
|
27314
|
-
} | undefined;
|
|
27315
26933
|
lineRichMenuId?: string | null | undefined;
|
|
27316
26934
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
27317
26935
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -27358,16 +26976,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27358
26976
|
createdAt: Date;
|
|
27359
26977
|
updatedAt: Date;
|
|
27360
26978
|
deletedAt: Date | null;
|
|
27361
|
-
tags: {
|
|
27362
|
-
name: string;
|
|
27363
|
-
id: string;
|
|
27364
|
-
createdAt: Date;
|
|
27365
|
-
updatedAt: Date;
|
|
27366
|
-
deletedAt: Date | null;
|
|
27367
|
-
}[];
|
|
27368
|
-
callFrom: string | null;
|
|
27369
|
-
callTo: string | null;
|
|
27370
|
-
note: string | null;
|
|
27371
26979
|
categories: {
|
|
27372
26980
|
id: string;
|
|
27373
26981
|
value: string;
|
|
@@ -27390,6 +26998,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27390
26998
|
}[];
|
|
27391
26999
|
}[];
|
|
27392
27000
|
}[];
|
|
27001
|
+
tags: {
|
|
27002
|
+
name: string;
|
|
27003
|
+
id: string;
|
|
27004
|
+
createdAt: Date;
|
|
27005
|
+
updatedAt: Date;
|
|
27006
|
+
deletedAt: Date | null;
|
|
27007
|
+
}[];
|
|
27008
|
+
callFrom: string | null;
|
|
27009
|
+
callTo: string | null;
|
|
27010
|
+
note: string | null;
|
|
27393
27011
|
customFields?: {
|
|
27394
27012
|
id: string;
|
|
27395
27013
|
createdAt: Date;
|
|
@@ -27580,7 +27198,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27580
27198
|
};
|
|
27581
27199
|
}, {
|
|
27582
27200
|
message: {
|
|
27583
|
-
type:
|
|
27201
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
27584
27202
|
id: string;
|
|
27585
27203
|
direction: "incoming" | "outgoing" | "system";
|
|
27586
27204
|
createdAt: string;
|
|
@@ -27830,10 +27448,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27830
27448
|
mobileNumber: string;
|
|
27831
27449
|
apiSecret: string;
|
|
27832
27450
|
} | undefined;
|
|
27833
|
-
line?: {
|
|
27834
|
-
channelId: string;
|
|
27835
|
-
channelSecret: string;
|
|
27836
|
-
} | undefined;
|
|
27837
27451
|
lineRichMenuId?: string | null | undefined;
|
|
27838
27452
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
27839
27453
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
@@ -27880,16 +27494,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27880
27494
|
createdAt: Date;
|
|
27881
27495
|
updatedAt: Date;
|
|
27882
27496
|
deletedAt: Date | null;
|
|
27883
|
-
tags: {
|
|
27884
|
-
name: string;
|
|
27885
|
-
id: string;
|
|
27886
|
-
createdAt: Date;
|
|
27887
|
-
updatedAt: Date;
|
|
27888
|
-
deletedAt: Date | null;
|
|
27889
|
-
}[];
|
|
27890
|
-
callFrom: string | null;
|
|
27891
|
-
callTo: string | null;
|
|
27892
|
-
note: string | null;
|
|
27893
27497
|
categories: {
|
|
27894
27498
|
id: string;
|
|
27895
27499
|
value: string;
|
|
@@ -27912,6 +27516,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27912
27516
|
}[];
|
|
27913
27517
|
}[];
|
|
27914
27518
|
}[];
|
|
27519
|
+
tags: {
|
|
27520
|
+
name: string;
|
|
27521
|
+
id: string;
|
|
27522
|
+
createdAt: Date;
|
|
27523
|
+
updatedAt: Date;
|
|
27524
|
+
deletedAt: Date | null;
|
|
27525
|
+
}[];
|
|
27526
|
+
callFrom: string | null;
|
|
27527
|
+
callTo: string | null;
|
|
27528
|
+
note: string | null;
|
|
27915
27529
|
customFields?: {
|
|
27916
27530
|
id: string;
|
|
27917
27531
|
createdAt: Date;
|