@kl1/contracts 1.3.19 → 1.3.20
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 +257 -1992
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +0 -36
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +0 -23
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +2212 -2580
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +603 -679
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +390 -501
- 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 +35405 -40773
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +65 -76
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +81 -90
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +49 -911
- 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/extension/index.d.ts +7 -7
- package/dist/api-contracts/src/facebook-feed/index.d.ts +273 -395
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -10
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +0 -5
- 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 -1
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +261 -360
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +268 -359
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +7 -16
- 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 -360
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +0 -5
- 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 -44
- 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 +261 -338
- 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 +261 -338
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +261 -338
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +261 -348
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +48 -350
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +4 -46
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/validation.d.ts +12 -66
- package/dist/api-contracts/src/widget/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +277 -323
- 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/entities/src/enums/chat.d.ts +0 -12
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +1748 -2102
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1748 -2101
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -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", "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" | "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" | "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", "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" | "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" | "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" | "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" | "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;
|
|
@@ -846,7 +830,6 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
|
846
830
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
847
831
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
848
832
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
849
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
850
833
|
}, "strip", z.ZodTypeAny, {
|
|
851
834
|
name: string;
|
|
852
835
|
id: string;
|
|
@@ -876,7 +859,6 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
|
876
859
|
lineRichMenuId?: string | null | undefined;
|
|
877
860
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
878
861
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
879
|
-
isCSATEnabled?: boolean | undefined;
|
|
880
862
|
}, {
|
|
881
863
|
name: string;
|
|
882
864
|
id: string;
|
|
@@ -906,7 +888,6 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
|
906
888
|
lineRichMenuId?: string | null | undefined;
|
|
907
889
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
908
890
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
909
|
-
isCSATEnabled?: boolean | undefined;
|
|
910
891
|
}>;
|
|
911
892
|
platformId: z.ZodString;
|
|
912
893
|
brandName: z.ZodString;
|
|
@@ -966,7 +947,6 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
|
966
947
|
lineRichMenuId?: string | null | undefined;
|
|
967
948
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
968
949
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
969
|
-
isCSATEnabled?: boolean | undefined;
|
|
970
950
|
};
|
|
971
951
|
status: boolean;
|
|
972
952
|
brandName: string;
|
|
@@ -1014,7 +994,6 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
|
1014
994
|
lineRichMenuId?: string | null | undefined;
|
|
1015
995
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1016
996
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1017
|
-
isCSATEnabled?: boolean | undefined;
|
|
1018
997
|
};
|
|
1019
998
|
status: boolean;
|
|
1020
999
|
brandName: string;
|
|
@@ -1096,7 +1075,6 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
|
1096
1075
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1097
1076
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
1098
1077
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
1099
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1100
1078
|
}, "strip", z.ZodTypeAny, {
|
|
1101
1079
|
name: string;
|
|
1102
1080
|
id: string;
|
|
@@ -1126,7 +1104,6 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
|
1126
1104
|
lineRichMenuId?: string | null | undefined;
|
|
1127
1105
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1128
1106
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1129
|
-
isCSATEnabled?: boolean | undefined;
|
|
1130
1107
|
}, {
|
|
1131
1108
|
name: string;
|
|
1132
1109
|
id: string;
|
|
@@ -1156,7 +1133,6 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
|
1156
1133
|
lineRichMenuId?: string | null | undefined;
|
|
1157
1134
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1158
1135
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1159
|
-
isCSATEnabled?: boolean | undefined;
|
|
1160
1136
|
}>;
|
|
1161
1137
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
|
1162
1138
|
actor: z.ZodOptional<z.ZodObject<{
|
|
@@ -1221,7 +1197,6 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
|
1221
1197
|
lineRichMenuId?: string | null | undefined;
|
|
1222
1198
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1223
1199
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1224
|
-
isCSATEnabled?: boolean | undefined;
|
|
1225
1200
|
};
|
|
1226
1201
|
status: boolean;
|
|
1227
1202
|
createdAt: string;
|
|
@@ -1273,7 +1248,6 @@ export declare const ReloginChanelSchema: z.ZodObject<{
|
|
|
1273
1248
|
lineRichMenuId?: string | null | undefined;
|
|
1274
1249
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1275
1250
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1276
|
-
isCSATEnabled?: boolean | undefined;
|
|
1277
1251
|
};
|
|
1278
1252
|
status: boolean;
|
|
1279
1253
|
createdAt: string;
|
|
@@ -1363,7 +1337,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1363
1337
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1364
1338
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
1365
1339
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
1366
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1367
1340
|
}, "strip", z.ZodTypeAny, {
|
|
1368
1341
|
name: string;
|
|
1369
1342
|
id: string;
|
|
@@ -1393,7 +1366,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1393
1366
|
lineRichMenuId?: string | null | undefined;
|
|
1394
1367
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1395
1368
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1396
|
-
isCSATEnabled?: boolean | undefined;
|
|
1397
1369
|
}, {
|
|
1398
1370
|
name: string;
|
|
1399
1371
|
id: string;
|
|
@@ -1423,7 +1395,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1423
1395
|
lineRichMenuId?: string | null | undefined;
|
|
1424
1396
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1425
1397
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1426
|
-
isCSATEnabled?: boolean | undefined;
|
|
1427
1398
|
}>;
|
|
1428
1399
|
platformId: z.ZodString;
|
|
1429
1400
|
brandName: z.ZodString;
|
|
@@ -1483,7 +1454,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1483
1454
|
lineRichMenuId?: string | null | undefined;
|
|
1484
1455
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1485
1456
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1486
|
-
isCSATEnabled?: boolean | undefined;
|
|
1487
1457
|
};
|
|
1488
1458
|
status: boolean;
|
|
1489
1459
|
brandName: string;
|
|
@@ -1531,7 +1501,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1531
1501
|
lineRichMenuId?: string | null | undefined;
|
|
1532
1502
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1533
1503
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1534
|
-
isCSATEnabled?: boolean | undefined;
|
|
1535
1504
|
};
|
|
1536
1505
|
status: boolean;
|
|
1537
1506
|
brandName: string;
|
|
@@ -1582,7 +1551,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1582
1551
|
lineRichMenuId?: string | null | undefined;
|
|
1583
1552
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1584
1553
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1585
|
-
isCSATEnabled?: boolean | undefined;
|
|
1586
1554
|
};
|
|
1587
1555
|
status: boolean;
|
|
1588
1556
|
brandName: string;
|
|
@@ -1633,7 +1601,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1633
1601
|
lineRichMenuId?: string | null | undefined;
|
|
1634
1602
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1635
1603
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1636
|
-
isCSATEnabled?: boolean | undefined;
|
|
1637
1604
|
};
|
|
1638
1605
|
status: boolean;
|
|
1639
1606
|
brandName: string;
|
|
@@ -1653,8 +1620,8 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1653
1620
|
message: z.ZodObject<{
|
|
1654
1621
|
id: z.ZodOptional<z.ZodString>;
|
|
1655
1622
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1656
|
-
direction: z.
|
|
1657
|
-
type: z.
|
|
1623
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
1624
|
+
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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
1658
1625
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
1659
1626
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
1660
1627
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -1706,7 +1673,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1706
1673
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1707
1674
|
feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1708
1675
|
}, "strip", z.ZodTypeAny, {
|
|
1709
|
-
type:
|
|
1676
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1710
1677
|
direction: "incoming" | "outgoing" | "system";
|
|
1711
1678
|
id?: string | undefined;
|
|
1712
1679
|
message?: string | null | undefined;
|
|
@@ -1737,7 +1704,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1737
1704
|
parentMessageId?: string | null | undefined;
|
|
1738
1705
|
feedPostId?: string | null | undefined;
|
|
1739
1706
|
}, {
|
|
1740
|
-
type:
|
|
1707
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1741
1708
|
direction: "incoming" | "outgoing" | "system";
|
|
1742
1709
|
id?: string | undefined;
|
|
1743
1710
|
message?: string | null | undefined;
|
|
@@ -1770,7 +1737,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1770
1737
|
}>;
|
|
1771
1738
|
}, "strip", z.ZodTypeAny, {
|
|
1772
1739
|
message: {
|
|
1773
|
-
type:
|
|
1740
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1774
1741
|
direction: "incoming" | "outgoing" | "system";
|
|
1775
1742
|
id?: string | undefined;
|
|
1776
1743
|
message?: string | null | undefined;
|
|
@@ -1836,7 +1803,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1836
1803
|
lineRichMenuId?: string | null | undefined;
|
|
1837
1804
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1838
1805
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1839
|
-
isCSATEnabled?: boolean | undefined;
|
|
1840
1806
|
};
|
|
1841
1807
|
status: boolean;
|
|
1842
1808
|
brandName: string;
|
|
@@ -1855,7 +1821,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1855
1821
|
};
|
|
1856
1822
|
}, {
|
|
1857
1823
|
message: {
|
|
1858
|
-
type:
|
|
1824
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1859
1825
|
direction: "incoming" | "outgoing" | "system";
|
|
1860
1826
|
id?: string | undefined;
|
|
1861
1827
|
message?: string | null | undefined;
|
|
@@ -1921,7 +1887,6 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1921
1887
|
lineRichMenuId?: string | null | undefined;
|
|
1922
1888
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1923
1889
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1924
|
-
isCSATEnabled?: boolean | undefined;
|
|
1925
1890
|
};
|
|
1926
1891
|
status: boolean;
|
|
1927
1892
|
brandName: string;
|
|
@@ -1946,7 +1911,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
1946
1911
|
lastMessage: z.ZodOptional<z.ZodString>;
|
|
1947
1912
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
|
1948
1913
|
isLatest: z.ZodBoolean;
|
|
1949
|
-
direction: z.
|
|
1914
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
1950
1915
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
1951
1916
|
createdAt: z.ZodString;
|
|
1952
1917
|
updatedAt: z.ZodString;
|
|
@@ -2131,7 +2096,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2131
2096
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2132
2097
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2133
2098
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2134
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2135
2099
|
}, "strip", z.ZodTypeAny, {
|
|
2136
2100
|
name: string;
|
|
2137
2101
|
id: string;
|
|
@@ -2161,7 +2125,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2161
2125
|
lineRichMenuId?: string | null | undefined;
|
|
2162
2126
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2163
2127
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2164
|
-
isCSATEnabled?: boolean | undefined;
|
|
2165
2128
|
}, {
|
|
2166
2129
|
name: string;
|
|
2167
2130
|
id: string;
|
|
@@ -2191,7 +2154,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2191
2154
|
lineRichMenuId?: string | null | undefined;
|
|
2192
2155
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2193
2156
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2194
|
-
isCSATEnabled?: boolean | undefined;
|
|
2195
2157
|
}>;
|
|
2196
2158
|
platformId: z.ZodString;
|
|
2197
2159
|
brandName: z.ZodString;
|
|
@@ -2251,7 +2213,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2251
2213
|
lineRichMenuId?: string | null | undefined;
|
|
2252
2214
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2253
2215
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2254
|
-
isCSATEnabled?: boolean | undefined;
|
|
2255
2216
|
};
|
|
2256
2217
|
status: boolean;
|
|
2257
2218
|
brandName: string;
|
|
@@ -2299,7 +2260,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2299
2260
|
lineRichMenuId?: string | null | undefined;
|
|
2300
2261
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2301
2262
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2302
|
-
isCSATEnabled?: boolean | undefined;
|
|
2303
2263
|
};
|
|
2304
2264
|
status: boolean;
|
|
2305
2265
|
brandName: string;
|
|
@@ -2352,7 +2312,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2352
2312
|
lineRichMenuId?: string | null | undefined;
|
|
2353
2313
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2354
2314
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2355
|
-
isCSATEnabled?: boolean | undefined;
|
|
2356
2315
|
};
|
|
2357
2316
|
status: boolean;
|
|
2358
2317
|
brandName: string;
|
|
@@ -2444,7 +2403,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2444
2403
|
lineRichMenuId?: string | null | undefined;
|
|
2445
2404
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2446
2405
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2447
|
-
isCSATEnabled?: boolean | undefined;
|
|
2448
2406
|
};
|
|
2449
2407
|
status: boolean;
|
|
2450
2408
|
brandName: string;
|
|
@@ -2505,8 +2463,8 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2505
2463
|
message: z.ZodObject<{
|
|
2506
2464
|
id: z.ZodOptional<z.ZodString>;
|
|
2507
2465
|
message: z.ZodOptional<z.ZodString>;
|
|
2508
|
-
direction: z.
|
|
2509
|
-
type: z.
|
|
2466
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
2467
|
+
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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
2510
2468
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2511
2469
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
2512
2470
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -2562,7 +2520,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2562
2520
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2563
2521
|
label: z.ZodOptional<z.ZodString>;
|
|
2564
2522
|
}, "strip", z.ZodTypeAny, {
|
|
2565
|
-
type:
|
|
2523
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2566
2524
|
direction: "incoming" | "outgoing" | "system";
|
|
2567
2525
|
id?: string | undefined;
|
|
2568
2526
|
message?: string | undefined;
|
|
@@ -2597,7 +2555,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2597
2555
|
editedAt?: string | Date | null | undefined;
|
|
2598
2556
|
label?: string | undefined;
|
|
2599
2557
|
}, {
|
|
2600
|
-
type:
|
|
2558
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2601
2559
|
direction: "incoming" | "outgoing" | "system";
|
|
2602
2560
|
id?: string | undefined;
|
|
2603
2561
|
message?: string | undefined;
|
|
@@ -2634,7 +2592,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2634
2592
|
}>;
|
|
2635
2593
|
}, "strip", z.ZodTypeAny, {
|
|
2636
2594
|
message: {
|
|
2637
|
-
type:
|
|
2595
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2638
2596
|
direction: "incoming" | "outgoing" | "system";
|
|
2639
2597
|
id?: string | undefined;
|
|
2640
2598
|
message?: string | undefined;
|
|
@@ -2704,7 +2662,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2704
2662
|
lineRichMenuId?: string | null | undefined;
|
|
2705
2663
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2706
2664
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2707
|
-
isCSATEnabled?: boolean | undefined;
|
|
2708
2665
|
};
|
|
2709
2666
|
status: boolean;
|
|
2710
2667
|
brandName: string;
|
|
@@ -2765,7 +2722,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2765
2722
|
isBot: boolean | null;
|
|
2766
2723
|
}, {
|
|
2767
2724
|
message: {
|
|
2768
|
-
type:
|
|
2725
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2769
2726
|
direction: "incoming" | "outgoing" | "system";
|
|
2770
2727
|
id?: string | undefined;
|
|
2771
2728
|
message?: string | undefined;
|
|
@@ -2835,7 +2792,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2835
2792
|
lineRichMenuId?: string | null | undefined;
|
|
2836
2793
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2837
2794
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2838
|
-
isCSATEnabled?: boolean | undefined;
|
|
2839
2795
|
};
|
|
2840
2796
|
status: boolean;
|
|
2841
2797
|
brandName: string;
|
|
@@ -2899,8 +2855,8 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
2899
2855
|
message: z.ZodObject<{
|
|
2900
2856
|
id: z.ZodOptional<z.ZodString>;
|
|
2901
2857
|
message: z.ZodOptional<z.ZodString>;
|
|
2902
|
-
direction: z.
|
|
2903
|
-
type: z.
|
|
2858
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
2859
|
+
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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
2904
2860
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2905
2861
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
2906
2862
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -2956,7 +2912,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
2956
2912
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2957
2913
|
label: z.ZodOptional<z.ZodString>;
|
|
2958
2914
|
}, "strip", z.ZodTypeAny, {
|
|
2959
|
-
type:
|
|
2915
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2960
2916
|
direction: "incoming" | "outgoing" | "system";
|
|
2961
2917
|
id?: string | undefined;
|
|
2962
2918
|
message?: string | undefined;
|
|
@@ -2991,7 +2947,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
2991
2947
|
editedAt?: string | Date | null | undefined;
|
|
2992
2948
|
label?: string | undefined;
|
|
2993
2949
|
}, {
|
|
2994
|
-
type:
|
|
2950
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2995
2951
|
direction: "incoming" | "outgoing" | "system";
|
|
2996
2952
|
id?: string | undefined;
|
|
2997
2953
|
message?: string | undefined;
|
|
@@ -3031,7 +2987,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3031
2987
|
lastMessage: z.ZodOptional<z.ZodString>;
|
|
3032
2988
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
|
3033
2989
|
isLatest: z.ZodBoolean;
|
|
3034
|
-
direction: z.
|
|
2990
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
3035
2991
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
3036
2992
|
createdAt: z.ZodString;
|
|
3037
2993
|
updatedAt: z.ZodString;
|
|
@@ -3216,7 +3172,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3216
3172
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3217
3173
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
3218
3174
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
3219
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3220
3175
|
}, "strip", z.ZodTypeAny, {
|
|
3221
3176
|
name: string;
|
|
3222
3177
|
id: string;
|
|
@@ -3246,7 +3201,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3246
3201
|
lineRichMenuId?: string | null | undefined;
|
|
3247
3202
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3248
3203
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3249
|
-
isCSATEnabled?: boolean | undefined;
|
|
3250
3204
|
}, {
|
|
3251
3205
|
name: string;
|
|
3252
3206
|
id: string;
|
|
@@ -3276,7 +3230,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3276
3230
|
lineRichMenuId?: string | null | undefined;
|
|
3277
3231
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3278
3232
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3279
|
-
isCSATEnabled?: boolean | undefined;
|
|
3280
3233
|
}>;
|
|
3281
3234
|
platformId: z.ZodString;
|
|
3282
3235
|
brandName: z.ZodString;
|
|
@@ -3336,7 +3289,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3336
3289
|
lineRichMenuId?: string | null | undefined;
|
|
3337
3290
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3338
3291
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3339
|
-
isCSATEnabled?: boolean | undefined;
|
|
3340
3292
|
};
|
|
3341
3293
|
status: boolean;
|
|
3342
3294
|
brandName: string;
|
|
@@ -3384,7 +3336,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3384
3336
|
lineRichMenuId?: string | null | undefined;
|
|
3385
3337
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3386
3338
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3387
|
-
isCSATEnabled?: boolean | undefined;
|
|
3388
3339
|
};
|
|
3389
3340
|
status: boolean;
|
|
3390
3341
|
brandName: string;
|
|
@@ -3437,7 +3388,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3437
3388
|
lineRichMenuId?: string | null | undefined;
|
|
3438
3389
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3439
3390
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3440
|
-
isCSATEnabled?: boolean | undefined;
|
|
3441
3391
|
};
|
|
3442
3392
|
status: boolean;
|
|
3443
3393
|
brandName: string;
|
|
@@ -3529,7 +3479,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3529
3479
|
lineRichMenuId?: string | null | undefined;
|
|
3530
3480
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3531
3481
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3532
|
-
isCSATEnabled?: boolean | undefined;
|
|
3533
3482
|
};
|
|
3534
3483
|
status: boolean;
|
|
3535
3484
|
brandName: string;
|
|
@@ -3600,7 +3549,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3600
3549
|
}>>;
|
|
3601
3550
|
}, "strip", z.ZodTypeAny, {
|
|
3602
3551
|
message: {
|
|
3603
|
-
type:
|
|
3552
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
3604
3553
|
direction: "incoming" | "outgoing" | "system";
|
|
3605
3554
|
id?: string | undefined;
|
|
3606
3555
|
message?: string | undefined;
|
|
@@ -3670,7 +3619,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3670
3619
|
lineRichMenuId?: string | null | undefined;
|
|
3671
3620
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3672
3621
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3673
|
-
isCSATEnabled?: boolean | undefined;
|
|
3674
3622
|
};
|
|
3675
3623
|
status: boolean;
|
|
3676
3624
|
brandName: string;
|
|
@@ -3735,7 +3683,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3735
3683
|
} | undefined;
|
|
3736
3684
|
}, {
|
|
3737
3685
|
message: {
|
|
3738
|
-
type:
|
|
3686
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
3739
3687
|
direction: "incoming" | "outgoing" | "system";
|
|
3740
3688
|
id?: string | undefined;
|
|
3741
3689
|
message?: string | undefined;
|
|
@@ -3805,7 +3753,6 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3805
3753
|
lineRichMenuId?: string | null | undefined;
|
|
3806
3754
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3807
3755
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3808
|
-
isCSATEnabled?: boolean | undefined;
|
|
3809
3756
|
};
|
|
3810
3757
|
status: boolean;
|
|
3811
3758
|
brandName: string;
|
|
@@ -3872,11 +3819,11 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3872
3819
|
export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3873
3820
|
requestId: z.ZodString;
|
|
3874
3821
|
data: z.ZodObject<{
|
|
3875
|
-
type: z.
|
|
3822
|
+
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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
3876
3823
|
message: z.ZodString;
|
|
3877
3824
|
id: z.ZodString;
|
|
3878
3825
|
url: z.ZodString;
|
|
3879
|
-
direction: z.
|
|
3826
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
3880
3827
|
label: z.ZodOptional<z.ZodString>;
|
|
3881
3828
|
template: z.ZodAny;
|
|
3882
3829
|
metadata: z.ZodAny;
|
|
@@ -4341,7 +4288,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
4341
4288
|
firstResponseTime: z.ZodNumber;
|
|
4342
4289
|
isLatest: z.ZodBoolean;
|
|
4343
4290
|
isBotRoom: z.ZodBoolean;
|
|
4344
|
-
direction: z.
|
|
4291
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
4345
4292
|
platformContact: z.ZodObject<{
|
|
4346
4293
|
id: z.ZodString;
|
|
4347
4294
|
createdAt: z.ZodDate;
|
|
@@ -5389,7 +5336,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
5389
5336
|
channelId: string;
|
|
5390
5337
|
socialPlatformId: string;
|
|
5391
5338
|
}>;
|
|
5392
|
-
csatStatus: z.ZodNullable<z.ZodString>;
|
|
5393
5339
|
actor: z.ZodObject<{
|
|
5394
5340
|
id: z.ZodString;
|
|
5395
5341
|
createdAt: z.ZodDate;
|
|
@@ -5868,7 +5814,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
5868
5814
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5869
5815
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
5870
5816
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
5871
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5872
5817
|
}, "strip", z.ZodTypeAny, {
|
|
5873
5818
|
name: string;
|
|
5874
5819
|
id: string;
|
|
@@ -5898,7 +5843,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
5898
5843
|
lineRichMenuId?: string | null | undefined;
|
|
5899
5844
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
5900
5845
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
5901
|
-
isCSATEnabled?: boolean | undefined;
|
|
5902
5846
|
}, {
|
|
5903
5847
|
name: string;
|
|
5904
5848
|
id: string;
|
|
@@ -5928,7 +5872,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
5928
5872
|
lineRichMenuId?: string | null | undefined;
|
|
5929
5873
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
5930
5874
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
5931
|
-
isCSATEnabled?: boolean | undefined;
|
|
5932
5875
|
}>;
|
|
5933
5876
|
brandName: z.ZodString;
|
|
5934
5877
|
platformId: z.ZodString;
|
|
@@ -6192,7 +6135,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6192
6135
|
lineRichMenuId?: string | null | undefined;
|
|
6193
6136
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6194
6137
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6195
|
-
isCSATEnabled?: boolean | undefined;
|
|
6196
6138
|
};
|
|
6197
6139
|
status: boolean;
|
|
6198
6140
|
createdAt: Date;
|
|
@@ -6287,7 +6229,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6287
6229
|
lineRichMenuId?: string | null | undefined;
|
|
6288
6230
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6289
6231
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6290
|
-
isCSATEnabled?: boolean | undefined;
|
|
6291
6232
|
};
|
|
6292
6233
|
status: boolean;
|
|
6293
6234
|
createdAt: Date;
|
|
@@ -6540,16 +6481,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6540
6481
|
createdAt: Date;
|
|
6541
6482
|
updatedAt: Date;
|
|
6542
6483
|
deletedAt: Date | null;
|
|
6543
|
-
tags: {
|
|
6544
|
-
name: string;
|
|
6545
|
-
id: string;
|
|
6546
|
-
createdAt: Date;
|
|
6547
|
-
updatedAt: Date;
|
|
6548
|
-
deletedAt: Date | null;
|
|
6549
|
-
}[];
|
|
6550
|
-
callFrom: string | null;
|
|
6551
|
-
callTo: string | null;
|
|
6552
|
-
note: string | null;
|
|
6553
6484
|
categories: {
|
|
6554
6485
|
id: string;
|
|
6555
6486
|
value: string;
|
|
@@ -6572,6 +6503,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6572
6503
|
}[];
|
|
6573
6504
|
}[];
|
|
6574
6505
|
}[];
|
|
6506
|
+
tags: {
|
|
6507
|
+
name: string;
|
|
6508
|
+
id: string;
|
|
6509
|
+
createdAt: Date;
|
|
6510
|
+
updatedAt: Date;
|
|
6511
|
+
deletedAt: Date | null;
|
|
6512
|
+
}[];
|
|
6513
|
+
callFrom: string | null;
|
|
6514
|
+
callTo: string | null;
|
|
6515
|
+
note: string | null;
|
|
6575
6516
|
customFields?: {
|
|
6576
6517
|
id: string;
|
|
6577
6518
|
createdAt: Date;
|
|
@@ -6591,16 +6532,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6591
6532
|
createdAt: Date;
|
|
6592
6533
|
updatedAt: Date;
|
|
6593
6534
|
deletedAt: Date | null;
|
|
6594
|
-
tags: {
|
|
6595
|
-
name: string;
|
|
6596
|
-
id: string;
|
|
6597
|
-
createdAt: Date;
|
|
6598
|
-
updatedAt: Date;
|
|
6599
|
-
deletedAt: Date | null;
|
|
6600
|
-
}[];
|
|
6601
|
-
callFrom: string | null;
|
|
6602
|
-
callTo: string | null;
|
|
6603
|
-
note: string | null;
|
|
6604
6535
|
categories: {
|
|
6605
6536
|
id: string;
|
|
6606
6537
|
value: string;
|
|
@@ -6623,6 +6554,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6623
6554
|
}[];
|
|
6624
6555
|
}[];
|
|
6625
6556
|
}[];
|
|
6557
|
+
tags: {
|
|
6558
|
+
name: string;
|
|
6559
|
+
id: string;
|
|
6560
|
+
createdAt: Date;
|
|
6561
|
+
updatedAt: Date;
|
|
6562
|
+
deletedAt: Date | null;
|
|
6563
|
+
}[];
|
|
6564
|
+
callFrom: string | null;
|
|
6565
|
+
callTo: string | null;
|
|
6566
|
+
note: string | null;
|
|
6626
6567
|
customFields?: {
|
|
6627
6568
|
id: string;
|
|
6628
6569
|
createdAt: Date;
|
|
@@ -6731,16 +6672,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6731
6672
|
createdAt: Date;
|
|
6732
6673
|
updatedAt: Date;
|
|
6733
6674
|
deletedAt: Date | null;
|
|
6734
|
-
tags: {
|
|
6735
|
-
name: string;
|
|
6736
|
-
id: string;
|
|
6737
|
-
createdAt: Date;
|
|
6738
|
-
updatedAt: Date;
|
|
6739
|
-
deletedAt: Date | null;
|
|
6740
|
-
}[];
|
|
6741
|
-
callFrom: string | null;
|
|
6742
|
-
callTo: string | null;
|
|
6743
|
-
note: string | null;
|
|
6744
6675
|
categories: {
|
|
6745
6676
|
id: string;
|
|
6746
6677
|
value: string;
|
|
@@ -6763,6 +6694,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6763
6694
|
}[];
|
|
6764
6695
|
}[];
|
|
6765
6696
|
}[];
|
|
6697
|
+
tags: {
|
|
6698
|
+
name: string;
|
|
6699
|
+
id: string;
|
|
6700
|
+
createdAt: Date;
|
|
6701
|
+
updatedAt: Date;
|
|
6702
|
+
deletedAt: Date | null;
|
|
6703
|
+
}[];
|
|
6704
|
+
callFrom: string | null;
|
|
6705
|
+
callTo: string | null;
|
|
6706
|
+
note: string | null;
|
|
6766
6707
|
customFields?: {
|
|
6767
6708
|
id: string;
|
|
6768
6709
|
createdAt: Date;
|
|
@@ -6821,16 +6762,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6821
6762
|
createdAt: Date;
|
|
6822
6763
|
updatedAt: Date;
|
|
6823
6764
|
deletedAt: Date | null;
|
|
6824
|
-
tags: {
|
|
6825
|
-
name: string;
|
|
6826
|
-
id: string;
|
|
6827
|
-
createdAt: Date;
|
|
6828
|
-
updatedAt: Date;
|
|
6829
|
-
deletedAt: Date | null;
|
|
6830
|
-
}[];
|
|
6831
|
-
callFrom: string | null;
|
|
6832
|
-
callTo: string | null;
|
|
6833
|
-
note: string | null;
|
|
6834
6765
|
categories: {
|
|
6835
6766
|
id: string;
|
|
6836
6767
|
value: string;
|
|
@@ -6853,6 +6784,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6853
6784
|
}[];
|
|
6854
6785
|
}[];
|
|
6855
6786
|
}[];
|
|
6787
|
+
tags: {
|
|
6788
|
+
name: string;
|
|
6789
|
+
id: string;
|
|
6790
|
+
createdAt: Date;
|
|
6791
|
+
updatedAt: Date;
|
|
6792
|
+
deletedAt: Date | null;
|
|
6793
|
+
}[];
|
|
6794
|
+
callFrom: string | null;
|
|
6795
|
+
callTo: string | null;
|
|
6796
|
+
note: string | null;
|
|
6856
6797
|
customFields?: {
|
|
6857
6798
|
id: string;
|
|
6858
6799
|
createdAt: Date;
|
|
@@ -6946,7 +6887,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
6946
6887
|
lineRichMenuId?: string | null | undefined;
|
|
6947
6888
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6948
6889
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6949
|
-
isCSATEnabled?: boolean | undefined;
|
|
6950
6890
|
};
|
|
6951
6891
|
status: boolean;
|
|
6952
6892
|
createdAt: Date;
|
|
@@ -7238,7 +7178,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7238
7178
|
closedAt: Date;
|
|
7239
7179
|
lastMessageAt: Date | null;
|
|
7240
7180
|
isBotRoom: boolean;
|
|
7241
|
-
csatStatus: string | null;
|
|
7242
7181
|
cxlog: {
|
|
7243
7182
|
id: string;
|
|
7244
7183
|
channel: string | null;
|
|
@@ -7266,16 +7205,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7266
7205
|
createdAt: Date;
|
|
7267
7206
|
updatedAt: Date;
|
|
7268
7207
|
deletedAt: Date | null;
|
|
7269
|
-
tags: {
|
|
7270
|
-
name: string;
|
|
7271
|
-
id: string;
|
|
7272
|
-
createdAt: Date;
|
|
7273
|
-
updatedAt: Date;
|
|
7274
|
-
deletedAt: Date | null;
|
|
7275
|
-
}[];
|
|
7276
|
-
callFrom: string | null;
|
|
7277
|
-
callTo: string | null;
|
|
7278
|
-
note: string | null;
|
|
7279
7208
|
categories: {
|
|
7280
7209
|
id: string;
|
|
7281
7210
|
value: string;
|
|
@@ -7298,6 +7227,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7298
7227
|
}[];
|
|
7299
7228
|
}[];
|
|
7300
7229
|
}[];
|
|
7230
|
+
tags: {
|
|
7231
|
+
name: string;
|
|
7232
|
+
id: string;
|
|
7233
|
+
createdAt: Date;
|
|
7234
|
+
updatedAt: Date;
|
|
7235
|
+
deletedAt: Date | null;
|
|
7236
|
+
}[];
|
|
7237
|
+
callFrom: string | null;
|
|
7238
|
+
callTo: string | null;
|
|
7239
|
+
note: string | null;
|
|
7301
7240
|
customFields?: {
|
|
7302
7241
|
id: string;
|
|
7303
7242
|
createdAt: Date;
|
|
@@ -7375,7 +7314,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7375
7314
|
lineRichMenuId?: string | null | undefined;
|
|
7376
7315
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7377
7316
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7378
|
-
isCSATEnabled?: boolean | undefined;
|
|
7379
7317
|
};
|
|
7380
7318
|
status: boolean;
|
|
7381
7319
|
createdAt: Date;
|
|
@@ -7667,7 +7605,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7667
7605
|
closedAt: Date;
|
|
7668
7606
|
lastMessageAt: Date | null;
|
|
7669
7607
|
isBotRoom: boolean;
|
|
7670
|
-
csatStatus: string | null;
|
|
7671
7608
|
cxlog: {
|
|
7672
7609
|
id: string;
|
|
7673
7610
|
channel: string | null;
|
|
@@ -7695,16 +7632,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7695
7632
|
createdAt: Date;
|
|
7696
7633
|
updatedAt: Date;
|
|
7697
7634
|
deletedAt: Date | null;
|
|
7698
|
-
tags: {
|
|
7699
|
-
name: string;
|
|
7700
|
-
id: string;
|
|
7701
|
-
createdAt: Date;
|
|
7702
|
-
updatedAt: Date;
|
|
7703
|
-
deletedAt: Date | null;
|
|
7704
|
-
}[];
|
|
7705
|
-
callFrom: string | null;
|
|
7706
|
-
callTo: string | null;
|
|
7707
|
-
note: string | null;
|
|
7708
7635
|
categories: {
|
|
7709
7636
|
id: string;
|
|
7710
7637
|
value: string;
|
|
@@ -7727,6 +7654,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7727
7654
|
}[];
|
|
7728
7655
|
}[];
|
|
7729
7656
|
}[];
|
|
7657
|
+
tags: {
|
|
7658
|
+
name: string;
|
|
7659
|
+
id: string;
|
|
7660
|
+
createdAt: Date;
|
|
7661
|
+
updatedAt: Date;
|
|
7662
|
+
deletedAt: Date | null;
|
|
7663
|
+
}[];
|
|
7664
|
+
callFrom: string | null;
|
|
7665
|
+
callTo: string | null;
|
|
7666
|
+
note: string | null;
|
|
7730
7667
|
customFields?: {
|
|
7731
7668
|
id: string;
|
|
7732
7669
|
createdAt: Date;
|
|
@@ -7807,8 +7744,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7807
7744
|
updatedAt: z.ZodDate;
|
|
7808
7745
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7809
7746
|
message: z.ZodString;
|
|
7810
|
-
direction: z.
|
|
7811
|
-
type: z.
|
|
7747
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
7748
|
+
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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
7812
7749
|
readAt: z.ZodDate;
|
|
7813
7750
|
metadata: z.ZodAny;
|
|
7814
7751
|
platformId: z.ZodString;
|
|
@@ -8466,7 +8403,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
8466
8403
|
};
|
|
8467
8404
|
}>;
|
|
8468
8405
|
}, "strip", z.ZodTypeAny, {
|
|
8469
|
-
type:
|
|
8406
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
8470
8407
|
message: string;
|
|
8471
8408
|
id: string;
|
|
8472
8409
|
url: string;
|
|
@@ -8628,7 +8565,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
8628
8565
|
metadata?: any;
|
|
8629
8566
|
template?: any;
|
|
8630
8567
|
}, {
|
|
8631
|
-
type:
|
|
8568
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
8632
8569
|
message: string;
|
|
8633
8570
|
id: string;
|
|
8634
8571
|
url: string;
|
|
@@ -9001,8 +8938,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
9001
8938
|
updatedAt: z.ZodDate;
|
|
9002
8939
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
9003
8940
|
message: z.ZodString;
|
|
9004
|
-
direction: z.
|
|
9005
|
-
type: z.
|
|
8941
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
8942
|
+
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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
9006
8943
|
readAt: z.ZodDate;
|
|
9007
8944
|
metadata: z.ZodAny;
|
|
9008
8945
|
platformId: z.ZodString;
|
|
@@ -9028,7 +8965,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
9028
8965
|
firstResponseTime: z.ZodNumber;
|
|
9029
8966
|
isLatest: z.ZodBoolean;
|
|
9030
8967
|
isBotRoom: z.ZodBoolean;
|
|
9031
|
-
direction: z.
|
|
8968
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
9032
8969
|
platformContact: z.ZodObject<{
|
|
9033
8970
|
id: z.ZodString;
|
|
9034
8971
|
createdAt: z.ZodDate;
|
|
@@ -10076,7 +10013,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10076
10013
|
channelId: string;
|
|
10077
10014
|
socialPlatformId: string;
|
|
10078
10015
|
}>;
|
|
10079
|
-
csatStatus: z.ZodNullable<z.ZodString>;
|
|
10080
10016
|
actor: z.ZodObject<{
|
|
10081
10017
|
id: z.ZodString;
|
|
10082
10018
|
createdAt: z.ZodDate;
|
|
@@ -10555,7 +10491,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10555
10491
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10556
10492
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
10557
10493
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
10558
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
10559
10494
|
}, "strip", z.ZodTypeAny, {
|
|
10560
10495
|
name: string;
|
|
10561
10496
|
id: string;
|
|
@@ -10585,7 +10520,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10585
10520
|
lineRichMenuId?: string | null | undefined;
|
|
10586
10521
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10587
10522
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10588
|
-
isCSATEnabled?: boolean | undefined;
|
|
10589
10523
|
}, {
|
|
10590
10524
|
name: string;
|
|
10591
10525
|
id: string;
|
|
@@ -10615,7 +10549,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10615
10549
|
lineRichMenuId?: string | null | undefined;
|
|
10616
10550
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10617
10551
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10618
|
-
isCSATEnabled?: boolean | undefined;
|
|
10619
10552
|
}>;
|
|
10620
10553
|
brandName: z.ZodString;
|
|
10621
10554
|
platformId: z.ZodString;
|
|
@@ -10879,7 +10812,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10879
10812
|
lineRichMenuId?: string | null | undefined;
|
|
10880
10813
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10881
10814
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10882
|
-
isCSATEnabled?: boolean | undefined;
|
|
10883
10815
|
};
|
|
10884
10816
|
status: boolean;
|
|
10885
10817
|
createdAt: Date;
|
|
@@ -10974,7 +10906,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10974
10906
|
lineRichMenuId?: string | null | undefined;
|
|
10975
10907
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10976
10908
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10977
|
-
isCSATEnabled?: boolean | undefined;
|
|
10978
10909
|
};
|
|
10979
10910
|
status: boolean;
|
|
10980
10911
|
createdAt: Date;
|
|
@@ -11227,16 +11158,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11227
11158
|
createdAt: Date;
|
|
11228
11159
|
updatedAt: Date;
|
|
11229
11160
|
deletedAt: Date | null;
|
|
11230
|
-
tags: {
|
|
11231
|
-
name: string;
|
|
11232
|
-
id: string;
|
|
11233
|
-
createdAt: Date;
|
|
11234
|
-
updatedAt: Date;
|
|
11235
|
-
deletedAt: Date | null;
|
|
11236
|
-
}[];
|
|
11237
|
-
callFrom: string | null;
|
|
11238
|
-
callTo: string | null;
|
|
11239
|
-
note: string | null;
|
|
11240
11161
|
categories: {
|
|
11241
11162
|
id: string;
|
|
11242
11163
|
value: string;
|
|
@@ -11259,6 +11180,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11259
11180
|
}[];
|
|
11260
11181
|
}[];
|
|
11261
11182
|
}[];
|
|
11183
|
+
tags: {
|
|
11184
|
+
name: string;
|
|
11185
|
+
id: string;
|
|
11186
|
+
createdAt: Date;
|
|
11187
|
+
updatedAt: Date;
|
|
11188
|
+
deletedAt: Date | null;
|
|
11189
|
+
}[];
|
|
11190
|
+
callFrom: string | null;
|
|
11191
|
+
callTo: string | null;
|
|
11192
|
+
note: string | null;
|
|
11262
11193
|
customFields?: {
|
|
11263
11194
|
id: string;
|
|
11264
11195
|
createdAt: Date;
|
|
@@ -11278,16 +11209,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11278
11209
|
createdAt: Date;
|
|
11279
11210
|
updatedAt: Date;
|
|
11280
11211
|
deletedAt: Date | null;
|
|
11281
|
-
tags: {
|
|
11282
|
-
name: string;
|
|
11283
|
-
id: string;
|
|
11284
|
-
createdAt: Date;
|
|
11285
|
-
updatedAt: Date;
|
|
11286
|
-
deletedAt: Date | null;
|
|
11287
|
-
}[];
|
|
11288
|
-
callFrom: string | null;
|
|
11289
|
-
callTo: string | null;
|
|
11290
|
-
note: string | null;
|
|
11291
11212
|
categories: {
|
|
11292
11213
|
id: string;
|
|
11293
11214
|
value: string;
|
|
@@ -11310,6 +11231,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11310
11231
|
}[];
|
|
11311
11232
|
}[];
|
|
11312
11233
|
}[];
|
|
11234
|
+
tags: {
|
|
11235
|
+
name: string;
|
|
11236
|
+
id: string;
|
|
11237
|
+
createdAt: Date;
|
|
11238
|
+
updatedAt: Date;
|
|
11239
|
+
deletedAt: Date | null;
|
|
11240
|
+
}[];
|
|
11241
|
+
callFrom: string | null;
|
|
11242
|
+
callTo: string | null;
|
|
11243
|
+
note: string | null;
|
|
11313
11244
|
customFields?: {
|
|
11314
11245
|
id: string;
|
|
11315
11246
|
createdAt: Date;
|
|
@@ -11418,16 +11349,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11418
11349
|
createdAt: Date;
|
|
11419
11350
|
updatedAt: Date;
|
|
11420
11351
|
deletedAt: Date | null;
|
|
11421
|
-
tags: {
|
|
11422
|
-
name: string;
|
|
11423
|
-
id: string;
|
|
11424
|
-
createdAt: Date;
|
|
11425
|
-
updatedAt: Date;
|
|
11426
|
-
deletedAt: Date | null;
|
|
11427
|
-
}[];
|
|
11428
|
-
callFrom: string | null;
|
|
11429
|
-
callTo: string | null;
|
|
11430
|
-
note: string | null;
|
|
11431
11352
|
categories: {
|
|
11432
11353
|
id: string;
|
|
11433
11354
|
value: string;
|
|
@@ -11450,6 +11371,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11450
11371
|
}[];
|
|
11451
11372
|
}[];
|
|
11452
11373
|
}[];
|
|
11374
|
+
tags: {
|
|
11375
|
+
name: string;
|
|
11376
|
+
id: string;
|
|
11377
|
+
createdAt: Date;
|
|
11378
|
+
updatedAt: Date;
|
|
11379
|
+
deletedAt: Date | null;
|
|
11380
|
+
}[];
|
|
11381
|
+
callFrom: string | null;
|
|
11382
|
+
callTo: string | null;
|
|
11383
|
+
note: string | null;
|
|
11453
11384
|
customFields?: {
|
|
11454
11385
|
id: string;
|
|
11455
11386
|
createdAt: Date;
|
|
@@ -11508,16 +11439,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11508
11439
|
createdAt: Date;
|
|
11509
11440
|
updatedAt: Date;
|
|
11510
11441
|
deletedAt: Date | null;
|
|
11511
|
-
tags: {
|
|
11512
|
-
name: string;
|
|
11513
|
-
id: string;
|
|
11514
|
-
createdAt: Date;
|
|
11515
|
-
updatedAt: Date;
|
|
11516
|
-
deletedAt: Date | null;
|
|
11517
|
-
}[];
|
|
11518
|
-
callFrom: string | null;
|
|
11519
|
-
callTo: string | null;
|
|
11520
|
-
note: string | null;
|
|
11521
11442
|
categories: {
|
|
11522
11443
|
id: string;
|
|
11523
11444
|
value: string;
|
|
@@ -11540,6 +11461,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11540
11461
|
}[];
|
|
11541
11462
|
}[];
|
|
11542
11463
|
}[];
|
|
11464
|
+
tags: {
|
|
11465
|
+
name: string;
|
|
11466
|
+
id: string;
|
|
11467
|
+
createdAt: Date;
|
|
11468
|
+
updatedAt: Date;
|
|
11469
|
+
deletedAt: Date | null;
|
|
11470
|
+
}[];
|
|
11471
|
+
callFrom: string | null;
|
|
11472
|
+
callTo: string | null;
|
|
11473
|
+
note: string | null;
|
|
11543
11474
|
customFields?: {
|
|
11544
11475
|
id: string;
|
|
11545
11476
|
createdAt: Date;
|
|
@@ -11633,7 +11564,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11633
11564
|
lineRichMenuId?: string | null | undefined;
|
|
11634
11565
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11635
11566
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11636
|
-
isCSATEnabled?: boolean | undefined;
|
|
11637
11567
|
};
|
|
11638
11568
|
status: boolean;
|
|
11639
11569
|
createdAt: Date;
|
|
@@ -11925,7 +11855,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11925
11855
|
closedAt: Date;
|
|
11926
11856
|
lastMessageAt: Date | null;
|
|
11927
11857
|
isBotRoom: boolean;
|
|
11928
|
-
csatStatus: string | null;
|
|
11929
11858
|
cxlog: {
|
|
11930
11859
|
id: string;
|
|
11931
11860
|
channel: string | null;
|
|
@@ -11953,16 +11882,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11953
11882
|
createdAt: Date;
|
|
11954
11883
|
updatedAt: Date;
|
|
11955
11884
|
deletedAt: Date | null;
|
|
11956
|
-
tags: {
|
|
11957
|
-
name: string;
|
|
11958
|
-
id: string;
|
|
11959
|
-
createdAt: Date;
|
|
11960
|
-
updatedAt: Date;
|
|
11961
|
-
deletedAt: Date | null;
|
|
11962
|
-
}[];
|
|
11963
|
-
callFrom: string | null;
|
|
11964
|
-
callTo: string | null;
|
|
11965
|
-
note: string | null;
|
|
11966
11885
|
categories: {
|
|
11967
11886
|
id: string;
|
|
11968
11887
|
value: string;
|
|
@@ -11985,6 +11904,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11985
11904
|
}[];
|
|
11986
11905
|
}[];
|
|
11987
11906
|
}[];
|
|
11907
|
+
tags: {
|
|
11908
|
+
name: string;
|
|
11909
|
+
id: string;
|
|
11910
|
+
createdAt: Date;
|
|
11911
|
+
updatedAt: Date;
|
|
11912
|
+
deletedAt: Date | null;
|
|
11913
|
+
}[];
|
|
11914
|
+
callFrom: string | null;
|
|
11915
|
+
callTo: string | null;
|
|
11916
|
+
note: string | null;
|
|
11988
11917
|
customFields?: {
|
|
11989
11918
|
id: string;
|
|
11990
11919
|
createdAt: Date;
|
|
@@ -12062,7 +11991,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12062
11991
|
lineRichMenuId?: string | null | undefined;
|
|
12063
11992
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
12064
11993
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
12065
|
-
isCSATEnabled?: boolean | undefined;
|
|
12066
11994
|
};
|
|
12067
11995
|
status: boolean;
|
|
12068
11996
|
createdAt: Date;
|
|
@@ -12354,7 +12282,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12354
12282
|
closedAt: Date;
|
|
12355
12283
|
lastMessageAt: Date | null;
|
|
12356
12284
|
isBotRoom: boolean;
|
|
12357
|
-
csatStatus: string | null;
|
|
12358
12285
|
cxlog: {
|
|
12359
12286
|
id: string;
|
|
12360
12287
|
channel: string | null;
|
|
@@ -12382,16 +12309,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12382
12309
|
createdAt: Date;
|
|
12383
12310
|
updatedAt: Date;
|
|
12384
12311
|
deletedAt: Date | null;
|
|
12385
|
-
tags: {
|
|
12386
|
-
name: string;
|
|
12387
|
-
id: string;
|
|
12388
|
-
createdAt: Date;
|
|
12389
|
-
updatedAt: Date;
|
|
12390
|
-
deletedAt: Date | null;
|
|
12391
|
-
}[];
|
|
12392
|
-
callFrom: string | null;
|
|
12393
|
-
callTo: string | null;
|
|
12394
|
-
note: string | null;
|
|
12395
12312
|
categories: {
|
|
12396
12313
|
id: string;
|
|
12397
12314
|
value: string;
|
|
@@ -12414,6 +12331,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12414
12331
|
}[];
|
|
12415
12332
|
}[];
|
|
12416
12333
|
}[];
|
|
12334
|
+
tags: {
|
|
12335
|
+
name: string;
|
|
12336
|
+
id: string;
|
|
12337
|
+
createdAt: Date;
|
|
12338
|
+
updatedAt: Date;
|
|
12339
|
+
deletedAt: Date | null;
|
|
12340
|
+
}[];
|
|
12341
|
+
callFrom: string | null;
|
|
12342
|
+
callTo: string | null;
|
|
12343
|
+
note: string | null;
|
|
12417
12344
|
customFields?: {
|
|
12418
12345
|
id: string;
|
|
12419
12346
|
createdAt: Date;
|
|
@@ -12497,8 +12424,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12497
12424
|
updatedAt: z.ZodDate;
|
|
12498
12425
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12499
12426
|
message: z.ZodString;
|
|
12500
|
-
direction: z.
|
|
12501
|
-
type: z.
|
|
12427
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
12428
|
+
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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
12502
12429
|
readAt: z.ZodDate;
|
|
12503
12430
|
metadata: z.ZodAny;
|
|
12504
12431
|
platformId: z.ZodString;
|
|
@@ -13156,7 +13083,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
13156
13083
|
};
|
|
13157
13084
|
}>;
|
|
13158
13085
|
}, "strip", z.ZodTypeAny, {
|
|
13159
|
-
type:
|
|
13086
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
13160
13087
|
message: string;
|
|
13161
13088
|
id: string;
|
|
13162
13089
|
url: string;
|
|
@@ -13318,7 +13245,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
13318
13245
|
metadata?: any;
|
|
13319
13246
|
template?: any;
|
|
13320
13247
|
}, {
|
|
13321
|
-
type:
|
|
13248
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
13322
13249
|
message: string;
|
|
13323
13250
|
id: string;
|
|
13324
13251
|
url: string;
|
|
@@ -14120,7 +14047,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14120
14047
|
editedMessageid: z.ZodString;
|
|
14121
14048
|
label: z.ZodOptional<z.ZodString>;
|
|
14122
14049
|
}, "strip", z.ZodTypeAny, {
|
|
14123
|
-
type:
|
|
14050
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
14124
14051
|
message: string;
|
|
14125
14052
|
id: string;
|
|
14126
14053
|
url: string;
|
|
@@ -14264,7 +14191,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14264
14191
|
lineRichMenuId?: string | null | undefined;
|
|
14265
14192
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14266
14193
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14267
|
-
isCSATEnabled?: boolean | undefined;
|
|
14268
14194
|
};
|
|
14269
14195
|
status: boolean;
|
|
14270
14196
|
createdAt: Date;
|
|
@@ -14556,7 +14482,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14556
14482
|
closedAt: Date;
|
|
14557
14483
|
lastMessageAt: Date | null;
|
|
14558
14484
|
isBotRoom: boolean;
|
|
14559
|
-
csatStatus: string | null;
|
|
14560
14485
|
cxlog: {
|
|
14561
14486
|
id: string;
|
|
14562
14487
|
channel: string | null;
|
|
@@ -14584,16 +14509,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14584
14509
|
createdAt: Date;
|
|
14585
14510
|
updatedAt: Date;
|
|
14586
14511
|
deletedAt: Date | null;
|
|
14587
|
-
tags: {
|
|
14588
|
-
name: string;
|
|
14589
|
-
id: string;
|
|
14590
|
-
createdAt: Date;
|
|
14591
|
-
updatedAt: Date;
|
|
14592
|
-
deletedAt: Date | null;
|
|
14593
|
-
}[];
|
|
14594
|
-
callFrom: string | null;
|
|
14595
|
-
callTo: string | null;
|
|
14596
|
-
note: string | null;
|
|
14597
14512
|
categories: {
|
|
14598
14513
|
id: string;
|
|
14599
14514
|
value: string;
|
|
@@ -14616,7 +14531,17 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14616
14531
|
}[];
|
|
14617
14532
|
}[];
|
|
14618
14533
|
}[];
|
|
14619
|
-
|
|
14534
|
+
tags: {
|
|
14535
|
+
name: string;
|
|
14536
|
+
id: string;
|
|
14537
|
+
createdAt: Date;
|
|
14538
|
+
updatedAt: Date;
|
|
14539
|
+
deletedAt: Date | null;
|
|
14540
|
+
}[];
|
|
14541
|
+
callFrom: string | null;
|
|
14542
|
+
callTo: string | null;
|
|
14543
|
+
note: string | null;
|
|
14544
|
+
customFields?: {
|
|
14620
14545
|
id: string;
|
|
14621
14546
|
createdAt: Date;
|
|
14622
14547
|
updatedAt: Date;
|
|
@@ -14675,7 +14600,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14675
14600
|
previewUrl: string;
|
|
14676
14601
|
imageSetId: string;
|
|
14677
14602
|
repliedMessage: {
|
|
14678
|
-
type:
|
|
14603
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
14679
14604
|
message: string;
|
|
14680
14605
|
id: string;
|
|
14681
14606
|
url: string;
|
|
@@ -14886,7 +14811,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14886
14811
|
template?: any;
|
|
14887
14812
|
label?: string | undefined;
|
|
14888
14813
|
}, {
|
|
14889
|
-
type:
|
|
14814
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
14890
14815
|
message: string;
|
|
14891
14816
|
id: string;
|
|
14892
14817
|
url: string;
|
|
@@ -15030,7 +14955,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15030
14955
|
lineRichMenuId?: string | null | undefined;
|
|
15031
14956
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15032
14957
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15033
|
-
isCSATEnabled?: boolean | undefined;
|
|
15034
14958
|
};
|
|
15035
14959
|
status: boolean;
|
|
15036
14960
|
createdAt: Date;
|
|
@@ -15322,7 +15246,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15322
15246
|
closedAt: Date;
|
|
15323
15247
|
lastMessageAt: Date | null;
|
|
15324
15248
|
isBotRoom: boolean;
|
|
15325
|
-
csatStatus: string | null;
|
|
15326
15249
|
cxlog: {
|
|
15327
15250
|
id: string;
|
|
15328
15251
|
channel: string | null;
|
|
@@ -15350,16 +15273,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15350
15273
|
createdAt: Date;
|
|
15351
15274
|
updatedAt: Date;
|
|
15352
15275
|
deletedAt: Date | null;
|
|
15353
|
-
tags: {
|
|
15354
|
-
name: string;
|
|
15355
|
-
id: string;
|
|
15356
|
-
createdAt: Date;
|
|
15357
|
-
updatedAt: Date;
|
|
15358
|
-
deletedAt: Date | null;
|
|
15359
|
-
}[];
|
|
15360
|
-
callFrom: string | null;
|
|
15361
|
-
callTo: string | null;
|
|
15362
|
-
note: string | null;
|
|
15363
15276
|
categories: {
|
|
15364
15277
|
id: string;
|
|
15365
15278
|
value: string;
|
|
@@ -15382,6 +15295,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15382
15295
|
}[];
|
|
15383
15296
|
}[];
|
|
15384
15297
|
}[];
|
|
15298
|
+
tags: {
|
|
15299
|
+
name: string;
|
|
15300
|
+
id: string;
|
|
15301
|
+
createdAt: Date;
|
|
15302
|
+
updatedAt: Date;
|
|
15303
|
+
deletedAt: Date | null;
|
|
15304
|
+
}[];
|
|
15305
|
+
callFrom: string | null;
|
|
15306
|
+
callTo: string | null;
|
|
15307
|
+
note: string | null;
|
|
15385
15308
|
customFields?: {
|
|
15386
15309
|
id: string;
|
|
15387
15310
|
createdAt: Date;
|
|
@@ -15441,7 +15364,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15441
15364
|
previewUrl: string;
|
|
15442
15365
|
imageSetId: string;
|
|
15443
15366
|
repliedMessage: {
|
|
15444
|
-
type:
|
|
15367
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
15445
15368
|
message: string;
|
|
15446
15369
|
id: string;
|
|
15447
15370
|
url: string;
|
|
@@ -15653,7 +15576,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15653
15576
|
label?: string | undefined;
|
|
15654
15577
|
}>>>;
|
|
15655
15578
|
}, "strip", z.ZodTypeAny, {
|
|
15656
|
-
type:
|
|
15579
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
15657
15580
|
message: string;
|
|
15658
15581
|
id: string;
|
|
15659
15582
|
url: string;
|
|
@@ -15797,7 +15720,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15797
15720
|
lineRichMenuId?: string | null | undefined;
|
|
15798
15721
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15799
15722
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15800
|
-
isCSATEnabled?: boolean | undefined;
|
|
15801
15723
|
};
|
|
15802
15724
|
status: boolean;
|
|
15803
15725
|
createdAt: Date;
|
|
@@ -16089,7 +16011,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16089
16011
|
closedAt: Date;
|
|
16090
16012
|
lastMessageAt: Date | null;
|
|
16091
16013
|
isBotRoom: boolean;
|
|
16092
|
-
csatStatus: string | null;
|
|
16093
16014
|
cxlog: {
|
|
16094
16015
|
id: string;
|
|
16095
16016
|
channel: string | null;
|
|
@@ -16117,16 +16038,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16117
16038
|
createdAt: Date;
|
|
16118
16039
|
updatedAt: Date;
|
|
16119
16040
|
deletedAt: Date | null;
|
|
16120
|
-
tags: {
|
|
16121
|
-
name: string;
|
|
16122
|
-
id: string;
|
|
16123
|
-
createdAt: Date;
|
|
16124
|
-
updatedAt: Date;
|
|
16125
|
-
deletedAt: Date | null;
|
|
16126
|
-
}[];
|
|
16127
|
-
callFrom: string | null;
|
|
16128
|
-
callTo: string | null;
|
|
16129
|
-
note: string | null;
|
|
16130
16041
|
categories: {
|
|
16131
16042
|
id: string;
|
|
16132
16043
|
value: string;
|
|
@@ -16149,6 +16060,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16149
16060
|
}[];
|
|
16150
16061
|
}[];
|
|
16151
16062
|
}[];
|
|
16063
|
+
tags: {
|
|
16064
|
+
name: string;
|
|
16065
|
+
id: string;
|
|
16066
|
+
createdAt: Date;
|
|
16067
|
+
updatedAt: Date;
|
|
16068
|
+
deletedAt: Date | null;
|
|
16069
|
+
}[];
|
|
16070
|
+
callFrom: string | null;
|
|
16071
|
+
callTo: string | null;
|
|
16072
|
+
note: string | null;
|
|
16152
16073
|
customFields?: {
|
|
16153
16074
|
id: string;
|
|
16154
16075
|
createdAt: Date;
|
|
@@ -16208,7 +16129,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16208
16129
|
previewUrl: string;
|
|
16209
16130
|
imageSetId: string;
|
|
16210
16131
|
repliedMessage: {
|
|
16211
|
-
type:
|
|
16132
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
16212
16133
|
message: string;
|
|
16213
16134
|
id: string;
|
|
16214
16135
|
url: string;
|
|
@@ -16419,7 +16340,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16419
16340
|
template?: any;
|
|
16420
16341
|
metadata?: any;
|
|
16421
16342
|
fromMessage?: {
|
|
16422
|
-
type:
|
|
16343
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
16423
16344
|
message: string;
|
|
16424
16345
|
id: string;
|
|
16425
16346
|
url: string;
|
|
@@ -16563,7 +16484,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16563
16484
|
lineRichMenuId?: string | null | undefined;
|
|
16564
16485
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16565
16486
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
16566
|
-
isCSATEnabled?: boolean | undefined;
|
|
16567
16487
|
};
|
|
16568
16488
|
status: boolean;
|
|
16569
16489
|
createdAt: Date;
|
|
@@ -16855,7 +16775,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16855
16775
|
closedAt: Date;
|
|
16856
16776
|
lastMessageAt: Date | null;
|
|
16857
16777
|
isBotRoom: boolean;
|
|
16858
|
-
csatStatus: string | null;
|
|
16859
16778
|
cxlog: {
|
|
16860
16779
|
id: string;
|
|
16861
16780
|
channel: string | null;
|
|
@@ -16883,16 +16802,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16883
16802
|
createdAt: Date;
|
|
16884
16803
|
updatedAt: Date;
|
|
16885
16804
|
deletedAt: Date | null;
|
|
16886
|
-
tags: {
|
|
16887
|
-
name: string;
|
|
16888
|
-
id: string;
|
|
16889
|
-
createdAt: Date;
|
|
16890
|
-
updatedAt: Date;
|
|
16891
|
-
deletedAt: Date | null;
|
|
16892
|
-
}[];
|
|
16893
|
-
callFrom: string | null;
|
|
16894
|
-
callTo: string | null;
|
|
16895
|
-
note: string | null;
|
|
16896
16805
|
categories: {
|
|
16897
16806
|
id: string;
|
|
16898
16807
|
value: string;
|
|
@@ -16915,6 +16824,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16915
16824
|
}[];
|
|
16916
16825
|
}[];
|
|
16917
16826
|
}[];
|
|
16827
|
+
tags: {
|
|
16828
|
+
name: string;
|
|
16829
|
+
id: string;
|
|
16830
|
+
createdAt: Date;
|
|
16831
|
+
updatedAt: Date;
|
|
16832
|
+
deletedAt: Date | null;
|
|
16833
|
+
}[];
|
|
16834
|
+
callFrom: string | null;
|
|
16835
|
+
callTo: string | null;
|
|
16836
|
+
note: string | null;
|
|
16918
16837
|
customFields?: {
|
|
16919
16838
|
id: string;
|
|
16920
16839
|
createdAt: Date;
|
|
@@ -16974,7 +16893,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16974
16893
|
previewUrl: string;
|
|
16975
16894
|
imageSetId: string;
|
|
16976
16895
|
repliedMessage: {
|
|
16977
|
-
type:
|
|
16896
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
16978
16897
|
message: string;
|
|
16979
16898
|
id: string;
|
|
16980
16899
|
url: string;
|
|
@@ -17186,7 +17105,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17186
17105
|
label?: string | undefined;
|
|
17187
17106
|
} | null | undefined;
|
|
17188
17107
|
}, {
|
|
17189
|
-
type:
|
|
17108
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
17190
17109
|
message: string;
|
|
17191
17110
|
id: string;
|
|
17192
17111
|
url: string;
|
|
@@ -17330,7 +17249,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17330
17249
|
lineRichMenuId?: string | null | undefined;
|
|
17331
17250
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
17332
17251
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
17333
|
-
isCSATEnabled?: boolean | undefined;
|
|
17334
17252
|
};
|
|
17335
17253
|
status: boolean;
|
|
17336
17254
|
createdAt: Date;
|
|
@@ -17622,7 +17540,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17622
17540
|
closedAt: Date;
|
|
17623
17541
|
lastMessageAt: Date | null;
|
|
17624
17542
|
isBotRoom: boolean;
|
|
17625
|
-
csatStatus: string | null;
|
|
17626
17543
|
cxlog: {
|
|
17627
17544
|
id: string;
|
|
17628
17545
|
channel: string | null;
|
|
@@ -17650,16 +17567,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17650
17567
|
createdAt: Date;
|
|
17651
17568
|
updatedAt: Date;
|
|
17652
17569
|
deletedAt: Date | null;
|
|
17653
|
-
tags: {
|
|
17654
|
-
name: string;
|
|
17655
|
-
id: string;
|
|
17656
|
-
createdAt: Date;
|
|
17657
|
-
updatedAt: Date;
|
|
17658
|
-
deletedAt: Date | null;
|
|
17659
|
-
}[];
|
|
17660
|
-
callFrom: string | null;
|
|
17661
|
-
callTo: string | null;
|
|
17662
|
-
note: string | null;
|
|
17663
17570
|
categories: {
|
|
17664
17571
|
id: string;
|
|
17665
17572
|
value: string;
|
|
@@ -17682,6 +17589,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17682
17589
|
}[];
|
|
17683
17590
|
}[];
|
|
17684
17591
|
}[];
|
|
17592
|
+
tags: {
|
|
17593
|
+
name: string;
|
|
17594
|
+
id: string;
|
|
17595
|
+
createdAt: Date;
|
|
17596
|
+
updatedAt: Date;
|
|
17597
|
+
deletedAt: Date | null;
|
|
17598
|
+
}[];
|
|
17599
|
+
callFrom: string | null;
|
|
17600
|
+
callTo: string | null;
|
|
17601
|
+
note: string | null;
|
|
17685
17602
|
customFields?: {
|
|
17686
17603
|
id: string;
|
|
17687
17604
|
createdAt: Date;
|
|
@@ -17741,7 +17658,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17741
17658
|
previewUrl: string;
|
|
17742
17659
|
imageSetId: string;
|
|
17743
17660
|
repliedMessage: {
|
|
17744
|
-
type:
|
|
17661
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
17745
17662
|
message: string;
|
|
17746
17663
|
id: string;
|
|
17747
17664
|
url: string;
|
|
@@ -17952,7 +17869,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17952
17869
|
template?: any;
|
|
17953
17870
|
metadata?: any;
|
|
17954
17871
|
fromMessage?: {
|
|
17955
|
-
type:
|
|
17872
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
17956
17873
|
message: string;
|
|
17957
17874
|
id: string;
|
|
17958
17875
|
url: string;
|
|
@@ -18096,7 +18013,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18096
18013
|
lineRichMenuId?: string | null | undefined;
|
|
18097
18014
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
18098
18015
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
18099
|
-
isCSATEnabled?: boolean | undefined;
|
|
18100
18016
|
};
|
|
18101
18017
|
status: boolean;
|
|
18102
18018
|
createdAt: Date;
|
|
@@ -18388,7 +18304,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18388
18304
|
closedAt: Date;
|
|
18389
18305
|
lastMessageAt: Date | null;
|
|
18390
18306
|
isBotRoom: boolean;
|
|
18391
|
-
csatStatus: string | null;
|
|
18392
18307
|
cxlog: {
|
|
18393
18308
|
id: string;
|
|
18394
18309
|
channel: string | null;
|
|
@@ -18416,16 +18331,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18416
18331
|
createdAt: Date;
|
|
18417
18332
|
updatedAt: Date;
|
|
18418
18333
|
deletedAt: Date | null;
|
|
18419
|
-
tags: {
|
|
18420
|
-
name: string;
|
|
18421
|
-
id: string;
|
|
18422
|
-
createdAt: Date;
|
|
18423
|
-
updatedAt: Date;
|
|
18424
|
-
deletedAt: Date | null;
|
|
18425
|
-
}[];
|
|
18426
|
-
callFrom: string | null;
|
|
18427
|
-
callTo: string | null;
|
|
18428
|
-
note: string | null;
|
|
18429
18334
|
categories: {
|
|
18430
18335
|
id: string;
|
|
18431
18336
|
value: string;
|
|
@@ -18448,6 +18353,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18448
18353
|
}[];
|
|
18449
18354
|
}[];
|
|
18450
18355
|
}[];
|
|
18356
|
+
tags: {
|
|
18357
|
+
name: string;
|
|
18358
|
+
id: string;
|
|
18359
|
+
createdAt: Date;
|
|
18360
|
+
updatedAt: Date;
|
|
18361
|
+
deletedAt: Date | null;
|
|
18362
|
+
}[];
|
|
18363
|
+
callFrom: string | null;
|
|
18364
|
+
callTo: string | null;
|
|
18365
|
+
note: string | null;
|
|
18451
18366
|
customFields?: {
|
|
18452
18367
|
id: string;
|
|
18453
18368
|
createdAt: Date;
|
|
@@ -18507,7 +18422,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18507
18422
|
previewUrl: string;
|
|
18508
18423
|
imageSetId: string;
|
|
18509
18424
|
repliedMessage: {
|
|
18510
|
-
type:
|
|
18425
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18511
18426
|
message: string;
|
|
18512
18427
|
id: string;
|
|
18513
18428
|
url: string;
|
|
@@ -18721,7 +18636,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18721
18636
|
}>;
|
|
18722
18637
|
}, "strip", z.ZodTypeAny, {
|
|
18723
18638
|
data: {
|
|
18724
|
-
type:
|
|
18639
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18725
18640
|
message: string;
|
|
18726
18641
|
id: string;
|
|
18727
18642
|
url: string;
|
|
@@ -18865,7 +18780,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18865
18780
|
lineRichMenuId?: string | null | undefined;
|
|
18866
18781
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
18867
18782
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
18868
|
-
isCSATEnabled?: boolean | undefined;
|
|
18869
18783
|
};
|
|
18870
18784
|
status: boolean;
|
|
18871
18785
|
createdAt: Date;
|
|
@@ -19157,7 +19071,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19157
19071
|
closedAt: Date;
|
|
19158
19072
|
lastMessageAt: Date | null;
|
|
19159
19073
|
isBotRoom: boolean;
|
|
19160
|
-
csatStatus: string | null;
|
|
19161
19074
|
cxlog: {
|
|
19162
19075
|
id: string;
|
|
19163
19076
|
channel: string | null;
|
|
@@ -19185,16 +19098,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19185
19098
|
createdAt: Date;
|
|
19186
19099
|
updatedAt: Date;
|
|
19187
19100
|
deletedAt: Date | null;
|
|
19188
|
-
tags: {
|
|
19189
|
-
name: string;
|
|
19190
|
-
id: string;
|
|
19191
|
-
createdAt: Date;
|
|
19192
|
-
updatedAt: Date;
|
|
19193
|
-
deletedAt: Date | null;
|
|
19194
|
-
}[];
|
|
19195
|
-
callFrom: string | null;
|
|
19196
|
-
callTo: string | null;
|
|
19197
|
-
note: string | null;
|
|
19198
19101
|
categories: {
|
|
19199
19102
|
id: string;
|
|
19200
19103
|
value: string;
|
|
@@ -19217,6 +19120,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19217
19120
|
}[];
|
|
19218
19121
|
}[];
|
|
19219
19122
|
}[];
|
|
19123
|
+
tags: {
|
|
19124
|
+
name: string;
|
|
19125
|
+
id: string;
|
|
19126
|
+
createdAt: Date;
|
|
19127
|
+
updatedAt: Date;
|
|
19128
|
+
deletedAt: Date | null;
|
|
19129
|
+
}[];
|
|
19130
|
+
callFrom: string | null;
|
|
19131
|
+
callTo: string | null;
|
|
19132
|
+
note: string | null;
|
|
19220
19133
|
customFields?: {
|
|
19221
19134
|
id: string;
|
|
19222
19135
|
createdAt: Date;
|
|
@@ -19276,7 +19189,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19276
19189
|
previewUrl: string;
|
|
19277
19190
|
imageSetId: string;
|
|
19278
19191
|
repliedMessage: {
|
|
19279
|
-
type:
|
|
19192
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
19280
19193
|
message: string;
|
|
19281
19194
|
id: string;
|
|
19282
19195
|
url: string;
|
|
@@ -19487,7 +19400,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19487
19400
|
template?: any;
|
|
19488
19401
|
metadata?: any;
|
|
19489
19402
|
fromMessage?: {
|
|
19490
|
-
type:
|
|
19403
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
19491
19404
|
message: string;
|
|
19492
19405
|
id: string;
|
|
19493
19406
|
url: string;
|
|
@@ -19631,7 +19544,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19631
19544
|
lineRichMenuId?: string | null | undefined;
|
|
19632
19545
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
19633
19546
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
19634
|
-
isCSATEnabled?: boolean | undefined;
|
|
19635
19547
|
};
|
|
19636
19548
|
status: boolean;
|
|
19637
19549
|
createdAt: Date;
|
|
@@ -19923,7 +19835,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19923
19835
|
closedAt: Date;
|
|
19924
19836
|
lastMessageAt: Date | null;
|
|
19925
19837
|
isBotRoom: boolean;
|
|
19926
|
-
csatStatus: string | null;
|
|
19927
19838
|
cxlog: {
|
|
19928
19839
|
id: string;
|
|
19929
19840
|
channel: string | null;
|
|
@@ -19951,16 +19862,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19951
19862
|
createdAt: Date;
|
|
19952
19863
|
updatedAt: Date;
|
|
19953
19864
|
deletedAt: Date | null;
|
|
19954
|
-
tags: {
|
|
19955
|
-
name: string;
|
|
19956
|
-
id: string;
|
|
19957
|
-
createdAt: Date;
|
|
19958
|
-
updatedAt: Date;
|
|
19959
|
-
deletedAt: Date | null;
|
|
19960
|
-
}[];
|
|
19961
|
-
callFrom: string | null;
|
|
19962
|
-
callTo: string | null;
|
|
19963
|
-
note: string | null;
|
|
19964
19865
|
categories: {
|
|
19965
19866
|
id: string;
|
|
19966
19867
|
value: string;
|
|
@@ -19983,6 +19884,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19983
19884
|
}[];
|
|
19984
19885
|
}[];
|
|
19985
19886
|
}[];
|
|
19887
|
+
tags: {
|
|
19888
|
+
name: string;
|
|
19889
|
+
id: string;
|
|
19890
|
+
createdAt: Date;
|
|
19891
|
+
updatedAt: Date;
|
|
19892
|
+
deletedAt: Date | null;
|
|
19893
|
+
}[];
|
|
19894
|
+
callFrom: string | null;
|
|
19895
|
+
callTo: string | null;
|
|
19896
|
+
note: string | null;
|
|
19986
19897
|
customFields?: {
|
|
19987
19898
|
id: string;
|
|
19988
19899
|
createdAt: Date;
|
|
@@ -20042,7 +19953,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20042
19953
|
previewUrl: string;
|
|
20043
19954
|
imageSetId: string;
|
|
20044
19955
|
repliedMessage: {
|
|
20045
|
-
type:
|
|
19956
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
20046
19957
|
message: string;
|
|
20047
19958
|
id: string;
|
|
20048
19959
|
url: string;
|
|
@@ -20257,7 +20168,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20257
20168
|
requestId: string;
|
|
20258
20169
|
}, {
|
|
20259
20170
|
data: {
|
|
20260
|
-
type:
|
|
20171
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
20261
20172
|
message: string;
|
|
20262
20173
|
id: string;
|
|
20263
20174
|
url: string;
|
|
@@ -20401,7 +20312,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20401
20312
|
lineRichMenuId?: string | null | undefined;
|
|
20402
20313
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
20403
20314
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
20404
|
-
isCSATEnabled?: boolean | undefined;
|
|
20405
20315
|
};
|
|
20406
20316
|
status: boolean;
|
|
20407
20317
|
createdAt: Date;
|
|
@@ -20693,7 +20603,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20693
20603
|
closedAt: Date;
|
|
20694
20604
|
lastMessageAt: Date | null;
|
|
20695
20605
|
isBotRoom: boolean;
|
|
20696
|
-
csatStatus: string | null;
|
|
20697
20606
|
cxlog: {
|
|
20698
20607
|
id: string;
|
|
20699
20608
|
channel: string | null;
|
|
@@ -20721,16 +20630,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20721
20630
|
createdAt: Date;
|
|
20722
20631
|
updatedAt: Date;
|
|
20723
20632
|
deletedAt: Date | null;
|
|
20724
|
-
tags: {
|
|
20725
|
-
name: string;
|
|
20726
|
-
id: string;
|
|
20727
|
-
createdAt: Date;
|
|
20728
|
-
updatedAt: Date;
|
|
20729
|
-
deletedAt: Date | null;
|
|
20730
|
-
}[];
|
|
20731
|
-
callFrom: string | null;
|
|
20732
|
-
callTo: string | null;
|
|
20733
|
-
note: string | null;
|
|
20734
20633
|
categories: {
|
|
20735
20634
|
id: string;
|
|
20736
20635
|
value: string;
|
|
@@ -20753,6 +20652,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20753
20652
|
}[];
|
|
20754
20653
|
}[];
|
|
20755
20654
|
}[];
|
|
20655
|
+
tags: {
|
|
20656
|
+
name: string;
|
|
20657
|
+
id: string;
|
|
20658
|
+
createdAt: Date;
|
|
20659
|
+
updatedAt: Date;
|
|
20660
|
+
deletedAt: Date | null;
|
|
20661
|
+
}[];
|
|
20662
|
+
callFrom: string | null;
|
|
20663
|
+
callTo: string | null;
|
|
20664
|
+
note: string | null;
|
|
20756
20665
|
customFields?: {
|
|
20757
20666
|
id: string;
|
|
20758
20667
|
createdAt: Date;
|
|
@@ -20812,7 +20721,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20812
20721
|
previewUrl: string;
|
|
20813
20722
|
imageSetId: string;
|
|
20814
20723
|
repliedMessage: {
|
|
20815
|
-
type:
|
|
20724
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
20816
20725
|
message: string;
|
|
20817
20726
|
id: string;
|
|
20818
20727
|
url: string;
|
|
@@ -21023,7 +20932,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21023
20932
|
template?: any;
|
|
21024
20933
|
metadata?: any;
|
|
21025
20934
|
fromMessage?: {
|
|
21026
|
-
type:
|
|
20935
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
21027
20936
|
message: string;
|
|
21028
20937
|
id: string;
|
|
21029
20938
|
url: string;
|
|
@@ -21167,7 +21076,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21167
21076
|
lineRichMenuId?: string | null | undefined;
|
|
21168
21077
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
21169
21078
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
21170
|
-
isCSATEnabled?: boolean | undefined;
|
|
21171
21079
|
};
|
|
21172
21080
|
status: boolean;
|
|
21173
21081
|
createdAt: Date;
|
|
@@ -21459,7 +21367,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21459
21367
|
closedAt: Date;
|
|
21460
21368
|
lastMessageAt: Date | null;
|
|
21461
21369
|
isBotRoom: boolean;
|
|
21462
|
-
csatStatus: string | null;
|
|
21463
21370
|
cxlog: {
|
|
21464
21371
|
id: string;
|
|
21465
21372
|
channel: string | null;
|
|
@@ -21487,16 +21394,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21487
21394
|
createdAt: Date;
|
|
21488
21395
|
updatedAt: Date;
|
|
21489
21396
|
deletedAt: Date | null;
|
|
21490
|
-
tags: {
|
|
21491
|
-
name: string;
|
|
21492
|
-
id: string;
|
|
21493
|
-
createdAt: Date;
|
|
21494
|
-
updatedAt: Date;
|
|
21495
|
-
deletedAt: Date | null;
|
|
21496
|
-
}[];
|
|
21497
|
-
callFrom: string | null;
|
|
21498
|
-
callTo: string | null;
|
|
21499
|
-
note: string | null;
|
|
21500
21397
|
categories: {
|
|
21501
21398
|
id: string;
|
|
21502
21399
|
value: string;
|
|
@@ -21519,6 +21416,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21519
21416
|
}[];
|
|
21520
21417
|
}[];
|
|
21521
21418
|
}[];
|
|
21419
|
+
tags: {
|
|
21420
|
+
name: string;
|
|
21421
|
+
id: string;
|
|
21422
|
+
createdAt: Date;
|
|
21423
|
+
updatedAt: Date;
|
|
21424
|
+
deletedAt: Date | null;
|
|
21425
|
+
}[];
|
|
21426
|
+
callFrom: string | null;
|
|
21427
|
+
callTo: string | null;
|
|
21428
|
+
note: string | null;
|
|
21522
21429
|
customFields?: {
|
|
21523
21430
|
id: string;
|
|
21524
21431
|
createdAt: Date;
|
|
@@ -21578,7 +21485,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21578
21485
|
previewUrl: string;
|
|
21579
21486
|
imageSetId: string;
|
|
21580
21487
|
repliedMessage: {
|
|
21581
|
-
type:
|
|
21488
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
21582
21489
|
message: string;
|
|
21583
21490
|
id: string;
|
|
21584
21491
|
url: string;
|
|
@@ -21861,7 +21768,6 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
21861
21768
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
21862
21769
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
21863
21770
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
21864
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
21865
21771
|
}, "strip", z.ZodTypeAny, {
|
|
21866
21772
|
name: string;
|
|
21867
21773
|
id: string;
|
|
@@ -21891,7 +21797,6 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
21891
21797
|
lineRichMenuId?: string | null | undefined;
|
|
21892
21798
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
21893
21799
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
21894
|
-
isCSATEnabled?: boolean | undefined;
|
|
21895
21800
|
}, {
|
|
21896
21801
|
name: string;
|
|
21897
21802
|
id: string;
|
|
@@ -21921,7 +21826,6 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
21921
21826
|
lineRichMenuId?: string | null | undefined;
|
|
21922
21827
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
21923
21828
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
21924
|
-
isCSATEnabled?: boolean | undefined;
|
|
21925
21829
|
}>;
|
|
21926
21830
|
platformId: z.ZodString;
|
|
21927
21831
|
brandName: z.ZodString;
|
|
@@ -21981,7 +21885,6 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
21981
21885
|
lineRichMenuId?: string | null | undefined;
|
|
21982
21886
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
21983
21887
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
21984
|
-
isCSATEnabled?: boolean | undefined;
|
|
21985
21888
|
};
|
|
21986
21889
|
status: boolean;
|
|
21987
21890
|
brandName: string;
|
|
@@ -22029,7 +21932,6 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
22029
21932
|
lineRichMenuId?: string | null | undefined;
|
|
22030
21933
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
22031
21934
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
22032
|
-
isCSATEnabled?: boolean | undefined;
|
|
22033
21935
|
};
|
|
22034
21936
|
status: boolean;
|
|
22035
21937
|
brandName: string;
|
|
@@ -22079,7 +21981,6 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
22079
21981
|
lineRichMenuId?: string | null | undefined;
|
|
22080
21982
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
22081
21983
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
22082
|
-
isCSATEnabled?: boolean | undefined;
|
|
22083
21984
|
};
|
|
22084
21985
|
status: boolean;
|
|
22085
21986
|
brandName: string;
|
|
@@ -22130,7 +22031,6 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
|
22130
22031
|
lineRichMenuId?: string | null | undefined;
|
|
22131
22032
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
22132
22033
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
22133
|
-
isCSATEnabled?: boolean | undefined;
|
|
22134
22034
|
};
|
|
22135
22035
|
status: boolean;
|
|
22136
22036
|
brandName: string;
|
|
@@ -22155,8 +22055,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
22155
22055
|
updatedAt: z.ZodString;
|
|
22156
22056
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
22157
22057
|
message: z.ZodOptional<z.ZodString>;
|
|
22158
|
-
direction: z.
|
|
22159
|
-
type: z.
|
|
22058
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
22059
|
+
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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
22160
22060
|
metadata: z.ZodAny;
|
|
22161
22061
|
platformId: z.ZodString;
|
|
22162
22062
|
platformMessageId: z.ZodString;
|
|
@@ -22178,7 +22078,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
22178
22078
|
firstResponseAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22179
22079
|
firstResponseTime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22180
22080
|
isLatest: z.ZodOptional<z.ZodBoolean>;
|
|
22181
|
-
direction: z.ZodOptional<z.
|
|
22081
|
+
direction: z.ZodOptional<z.ZodEnum<["incoming", "outgoing", "system"]>>;
|
|
22182
22082
|
platformContact: z.ZodOptional<z.ZodObject<{
|
|
22183
22083
|
id: z.ZodString;
|
|
22184
22084
|
createdAt: z.ZodString;
|
|
@@ -23588,7 +23488,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23588
23488
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
23589
23489
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
23590
23490
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
23591
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
23592
23491
|
}, "strip", z.ZodTypeAny, {
|
|
23593
23492
|
name: string;
|
|
23594
23493
|
id: string;
|
|
@@ -23618,7 +23517,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23618
23517
|
lineRichMenuId?: string | null | undefined;
|
|
23619
23518
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
23620
23519
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
23621
|
-
isCSATEnabled?: boolean | undefined;
|
|
23622
23520
|
}, {
|
|
23623
23521
|
name: string;
|
|
23624
23522
|
id: string;
|
|
@@ -23648,7 +23546,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23648
23546
|
lineRichMenuId?: string | null | undefined;
|
|
23649
23547
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
23650
23548
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
23651
|
-
isCSATEnabled?: boolean | undefined;
|
|
23652
23549
|
}>;
|
|
23653
23550
|
platformId: z.ZodString;
|
|
23654
23551
|
brandName: z.ZodString;
|
|
@@ -23708,7 +23605,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23708
23605
|
lineRichMenuId?: string | null | undefined;
|
|
23709
23606
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
23710
23607
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
23711
|
-
isCSATEnabled?: boolean | undefined;
|
|
23712
23608
|
};
|
|
23713
23609
|
status: boolean;
|
|
23714
23610
|
brandName: string;
|
|
@@ -23756,7 +23652,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23756
23652
|
lineRichMenuId?: string | null | undefined;
|
|
23757
23653
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
23758
23654
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
23759
|
-
isCSATEnabled?: boolean | undefined;
|
|
23760
23655
|
};
|
|
23761
23656
|
status: boolean;
|
|
23762
23657
|
brandName: string;
|
|
@@ -23962,16 +23857,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23962
23857
|
createdAt: Date;
|
|
23963
23858
|
updatedAt: Date;
|
|
23964
23859
|
deletedAt: Date | null;
|
|
23965
|
-
tags: {
|
|
23966
|
-
name: string;
|
|
23967
|
-
id: string;
|
|
23968
|
-
createdAt: Date;
|
|
23969
|
-
updatedAt: Date;
|
|
23970
|
-
deletedAt: Date | null;
|
|
23971
|
-
}[];
|
|
23972
|
-
callFrom: string | null;
|
|
23973
|
-
callTo: string | null;
|
|
23974
|
-
note: string | null;
|
|
23975
23860
|
categories: {
|
|
23976
23861
|
id: string;
|
|
23977
23862
|
value: string;
|
|
@@ -23994,6 +23879,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
23994
23879
|
}[];
|
|
23995
23880
|
}[];
|
|
23996
23881
|
}[];
|
|
23882
|
+
tags: {
|
|
23883
|
+
name: string;
|
|
23884
|
+
id: string;
|
|
23885
|
+
createdAt: Date;
|
|
23886
|
+
updatedAt: Date;
|
|
23887
|
+
deletedAt: Date | null;
|
|
23888
|
+
}[];
|
|
23889
|
+
callFrom: string | null;
|
|
23890
|
+
callTo: string | null;
|
|
23891
|
+
note: string | null;
|
|
23997
23892
|
customFields?: {
|
|
23998
23893
|
id: string;
|
|
23999
23894
|
createdAt: Date;
|
|
@@ -24013,16 +23908,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24013
23908
|
createdAt: Date;
|
|
24014
23909
|
updatedAt: Date;
|
|
24015
23910
|
deletedAt: Date | null;
|
|
24016
|
-
tags: {
|
|
24017
|
-
name: string;
|
|
24018
|
-
id: string;
|
|
24019
|
-
createdAt: Date;
|
|
24020
|
-
updatedAt: Date;
|
|
24021
|
-
deletedAt: Date | null;
|
|
24022
|
-
}[];
|
|
24023
|
-
callFrom: string | null;
|
|
24024
|
-
callTo: string | null;
|
|
24025
|
-
note: string | null;
|
|
24026
23911
|
categories: {
|
|
24027
23912
|
id: string;
|
|
24028
23913
|
value: string;
|
|
@@ -24045,6 +23930,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24045
23930
|
}[];
|
|
24046
23931
|
}[];
|
|
24047
23932
|
}[];
|
|
23933
|
+
tags: {
|
|
23934
|
+
name: string;
|
|
23935
|
+
id: string;
|
|
23936
|
+
createdAt: Date;
|
|
23937
|
+
updatedAt: Date;
|
|
23938
|
+
deletedAt: Date | null;
|
|
23939
|
+
}[];
|
|
23940
|
+
callFrom: string | null;
|
|
23941
|
+
callTo: string | null;
|
|
23942
|
+
note: string | null;
|
|
24048
23943
|
customFields?: {
|
|
24049
23944
|
id: string;
|
|
24050
23945
|
createdAt: Date;
|
|
@@ -24153,16 +24048,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24153
24048
|
createdAt: Date;
|
|
24154
24049
|
updatedAt: Date;
|
|
24155
24050
|
deletedAt: Date | null;
|
|
24156
|
-
tags: {
|
|
24157
|
-
name: string;
|
|
24158
|
-
id: string;
|
|
24159
|
-
createdAt: Date;
|
|
24160
|
-
updatedAt: Date;
|
|
24161
|
-
deletedAt: Date | null;
|
|
24162
|
-
}[];
|
|
24163
|
-
callFrom: string | null;
|
|
24164
|
-
callTo: string | null;
|
|
24165
|
-
note: string | null;
|
|
24166
24051
|
categories: {
|
|
24167
24052
|
id: string;
|
|
24168
24053
|
value: string;
|
|
@@ -24185,6 +24070,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24185
24070
|
}[];
|
|
24186
24071
|
}[];
|
|
24187
24072
|
}[];
|
|
24073
|
+
tags: {
|
|
24074
|
+
name: string;
|
|
24075
|
+
id: string;
|
|
24076
|
+
createdAt: Date;
|
|
24077
|
+
updatedAt: Date;
|
|
24078
|
+
deletedAt: Date | null;
|
|
24079
|
+
}[];
|
|
24080
|
+
callFrom: string | null;
|
|
24081
|
+
callTo: string | null;
|
|
24082
|
+
note: string | null;
|
|
24188
24083
|
customFields?: {
|
|
24189
24084
|
id: string;
|
|
24190
24085
|
createdAt: Date;
|
|
@@ -24243,16 +24138,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24243
24138
|
createdAt: Date;
|
|
24244
24139
|
updatedAt: Date;
|
|
24245
24140
|
deletedAt: Date | null;
|
|
24246
|
-
tags: {
|
|
24247
|
-
name: string;
|
|
24248
|
-
id: string;
|
|
24249
|
-
createdAt: Date;
|
|
24250
|
-
updatedAt: Date;
|
|
24251
|
-
deletedAt: Date | null;
|
|
24252
|
-
}[];
|
|
24253
|
-
callFrom: string | null;
|
|
24254
|
-
callTo: string | null;
|
|
24255
|
-
note: string | null;
|
|
24256
24141
|
categories: {
|
|
24257
24142
|
id: string;
|
|
24258
24143
|
value: string;
|
|
@@ -24275,6 +24160,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24275
24160
|
}[];
|
|
24276
24161
|
}[];
|
|
24277
24162
|
}[];
|
|
24163
|
+
tags: {
|
|
24164
|
+
name: string;
|
|
24165
|
+
id: string;
|
|
24166
|
+
createdAt: Date;
|
|
24167
|
+
updatedAt: Date;
|
|
24168
|
+
deletedAt: Date | null;
|
|
24169
|
+
}[];
|
|
24170
|
+
callFrom: string | null;
|
|
24171
|
+
callTo: string | null;
|
|
24172
|
+
note: string | null;
|
|
24278
24173
|
customFields?: {
|
|
24279
24174
|
id: string;
|
|
24280
24175
|
createdAt: Date;
|
|
@@ -24553,7 +24448,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24553
24448
|
lineRichMenuId?: string | null | undefined;
|
|
24554
24449
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
24555
24450
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
24556
|
-
isCSATEnabled?: boolean | undefined;
|
|
24557
24451
|
};
|
|
24558
24452
|
status: boolean;
|
|
24559
24453
|
brandName: string;
|
|
@@ -24596,16 +24490,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24596
24490
|
createdAt: Date;
|
|
24597
24491
|
updatedAt: Date;
|
|
24598
24492
|
deletedAt: Date | null;
|
|
24599
|
-
tags: {
|
|
24600
|
-
name: string;
|
|
24601
|
-
id: string;
|
|
24602
|
-
createdAt: Date;
|
|
24603
|
-
updatedAt: Date;
|
|
24604
|
-
deletedAt: Date | null;
|
|
24605
|
-
}[];
|
|
24606
|
-
callFrom: string | null;
|
|
24607
|
-
callTo: string | null;
|
|
24608
|
-
note: string | null;
|
|
24609
24493
|
categories: {
|
|
24610
24494
|
id: string;
|
|
24611
24495
|
value: string;
|
|
@@ -24628,6 +24512,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24628
24512
|
}[];
|
|
24629
24513
|
}[];
|
|
24630
24514
|
}[];
|
|
24515
|
+
tags: {
|
|
24516
|
+
name: string;
|
|
24517
|
+
id: string;
|
|
24518
|
+
createdAt: Date;
|
|
24519
|
+
updatedAt: Date;
|
|
24520
|
+
deletedAt: Date | null;
|
|
24521
|
+
}[];
|
|
24522
|
+
callFrom: string | null;
|
|
24523
|
+
callTo: string | null;
|
|
24524
|
+
note: string | null;
|
|
24631
24525
|
customFields?: {
|
|
24632
24526
|
id: string;
|
|
24633
24527
|
createdAt: Date;
|
|
@@ -24906,7 +24800,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24906
24800
|
lineRichMenuId?: string | null | undefined;
|
|
24907
24801
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
24908
24802
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
24909
|
-
isCSATEnabled?: boolean | undefined;
|
|
24910
24803
|
};
|
|
24911
24804
|
status: boolean;
|
|
24912
24805
|
brandName: string;
|
|
@@ -24949,16 +24842,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24949
24842
|
createdAt: Date;
|
|
24950
24843
|
updatedAt: Date;
|
|
24951
24844
|
deletedAt: Date | null;
|
|
24952
|
-
tags: {
|
|
24953
|
-
name: string;
|
|
24954
|
-
id: string;
|
|
24955
|
-
createdAt: Date;
|
|
24956
|
-
updatedAt: Date;
|
|
24957
|
-
deletedAt: Date | null;
|
|
24958
|
-
}[];
|
|
24959
|
-
callFrom: string | null;
|
|
24960
|
-
callTo: string | null;
|
|
24961
|
-
note: string | null;
|
|
24962
24845
|
categories: {
|
|
24963
24846
|
id: string;
|
|
24964
24847
|
value: string;
|
|
@@ -24981,6 +24864,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
24981
24864
|
}[];
|
|
24982
24865
|
}[];
|
|
24983
24866
|
}[];
|
|
24867
|
+
tags: {
|
|
24868
|
+
name: string;
|
|
24869
|
+
id: string;
|
|
24870
|
+
createdAt: Date;
|
|
24871
|
+
updatedAt: Date;
|
|
24872
|
+
deletedAt: Date | null;
|
|
24873
|
+
}[];
|
|
24874
|
+
callFrom: string | null;
|
|
24875
|
+
callTo: string | null;
|
|
24876
|
+
note: string | null;
|
|
24984
24877
|
customFields?: {
|
|
24985
24878
|
id: string;
|
|
24986
24879
|
createdAt: Date;
|
|
@@ -25662,7 +25555,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25662
25555
|
}>>>;
|
|
25663
25556
|
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
25664
25557
|
}, "strip", z.ZodTypeAny, {
|
|
25665
|
-
type:
|
|
25558
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
25666
25559
|
id: string;
|
|
25667
25560
|
direction: "incoming" | "outgoing" | "system";
|
|
25668
25561
|
createdAt: string;
|
|
@@ -25915,7 +25808,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25915
25808
|
lineRichMenuId?: string | null | undefined;
|
|
25916
25809
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
25917
25810
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
25918
|
-
isCSATEnabled?: boolean | undefined;
|
|
25919
25811
|
};
|
|
25920
25812
|
status: boolean;
|
|
25921
25813
|
brandName: string;
|
|
@@ -25958,16 +25850,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25958
25850
|
createdAt: Date;
|
|
25959
25851
|
updatedAt: Date;
|
|
25960
25852
|
deletedAt: Date | null;
|
|
25961
|
-
tags: {
|
|
25962
|
-
name: string;
|
|
25963
|
-
id: string;
|
|
25964
|
-
createdAt: Date;
|
|
25965
|
-
updatedAt: Date;
|
|
25966
|
-
deletedAt: Date | null;
|
|
25967
|
-
}[];
|
|
25968
|
-
callFrom: string | null;
|
|
25969
|
-
callTo: string | null;
|
|
25970
|
-
note: string | null;
|
|
25971
25853
|
categories: {
|
|
25972
25854
|
id: string;
|
|
25973
25855
|
value: string;
|
|
@@ -25990,6 +25872,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25990
25872
|
}[];
|
|
25991
25873
|
}[];
|
|
25992
25874
|
}[];
|
|
25875
|
+
tags: {
|
|
25876
|
+
name: string;
|
|
25877
|
+
id: string;
|
|
25878
|
+
createdAt: Date;
|
|
25879
|
+
updatedAt: Date;
|
|
25880
|
+
deletedAt: Date | null;
|
|
25881
|
+
}[];
|
|
25882
|
+
callFrom: string | null;
|
|
25883
|
+
callTo: string | null;
|
|
25884
|
+
note: string | null;
|
|
25993
25885
|
customFields?: {
|
|
25994
25886
|
id: string;
|
|
25995
25887
|
createdAt: Date;
|
|
@@ -26178,7 +26070,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26178
26070
|
} | null | undefined;
|
|
26179
26071
|
label?: string | null | undefined;
|
|
26180
26072
|
}, {
|
|
26181
|
-
type:
|
|
26073
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
26182
26074
|
id: string;
|
|
26183
26075
|
direction: "incoming" | "outgoing" | "system";
|
|
26184
26076
|
createdAt: string;
|
|
@@ -26431,7 +26323,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26431
26323
|
lineRichMenuId?: string | null | undefined;
|
|
26432
26324
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
26433
26325
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
26434
|
-
isCSATEnabled?: boolean | undefined;
|
|
26435
26326
|
};
|
|
26436
26327
|
status: boolean;
|
|
26437
26328
|
brandName: string;
|
|
@@ -26474,16 +26365,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26474
26365
|
createdAt: Date;
|
|
26475
26366
|
updatedAt: Date;
|
|
26476
26367
|
deletedAt: Date | null;
|
|
26477
|
-
tags: {
|
|
26478
|
-
name: string;
|
|
26479
|
-
id: string;
|
|
26480
|
-
createdAt: Date;
|
|
26481
|
-
updatedAt: Date;
|
|
26482
|
-
deletedAt: Date | null;
|
|
26483
|
-
}[];
|
|
26484
|
-
callFrom: string | null;
|
|
26485
|
-
callTo: string | null;
|
|
26486
|
-
note: string | null;
|
|
26487
26368
|
categories: {
|
|
26488
26369
|
id: string;
|
|
26489
26370
|
value: string;
|
|
@@ -26506,6 +26387,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26506
26387
|
}[];
|
|
26507
26388
|
}[];
|
|
26508
26389
|
}[];
|
|
26390
|
+
tags: {
|
|
26391
|
+
name: string;
|
|
26392
|
+
id: string;
|
|
26393
|
+
createdAt: Date;
|
|
26394
|
+
updatedAt: Date;
|
|
26395
|
+
deletedAt: Date | null;
|
|
26396
|
+
}[];
|
|
26397
|
+
callFrom: string | null;
|
|
26398
|
+
callTo: string | null;
|
|
26399
|
+
note: string | null;
|
|
26509
26400
|
customFields?: {
|
|
26510
26401
|
id: string;
|
|
26511
26402
|
createdAt: Date;
|
|
@@ -26696,7 +26587,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26696
26587
|
}>;
|
|
26697
26588
|
}, "strip", z.ZodTypeAny, {
|
|
26698
26589
|
message: {
|
|
26699
|
-
type:
|
|
26590
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
26700
26591
|
id: string;
|
|
26701
26592
|
direction: "incoming" | "outgoing" | "system";
|
|
26702
26593
|
createdAt: string;
|
|
@@ -26949,7 +26840,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26949
26840
|
lineRichMenuId?: string | null | undefined;
|
|
26950
26841
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
26951
26842
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
26952
|
-
isCSATEnabled?: boolean | undefined;
|
|
26953
26843
|
};
|
|
26954
26844
|
status: boolean;
|
|
26955
26845
|
brandName: string;
|
|
@@ -26992,16 +26882,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26992
26882
|
createdAt: Date;
|
|
26993
26883
|
updatedAt: Date;
|
|
26994
26884
|
deletedAt: Date | null;
|
|
26995
|
-
tags: {
|
|
26996
|
-
name: string;
|
|
26997
|
-
id: string;
|
|
26998
|
-
createdAt: Date;
|
|
26999
|
-
updatedAt: Date;
|
|
27000
|
-
deletedAt: Date | null;
|
|
27001
|
-
}[];
|
|
27002
|
-
callFrom: string | null;
|
|
27003
|
-
callTo: string | null;
|
|
27004
|
-
note: string | null;
|
|
27005
26885
|
categories: {
|
|
27006
26886
|
id: string;
|
|
27007
26887
|
value: string;
|
|
@@ -27024,6 +26904,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27024
26904
|
}[];
|
|
27025
26905
|
}[];
|
|
27026
26906
|
}[];
|
|
26907
|
+
tags: {
|
|
26908
|
+
name: string;
|
|
26909
|
+
id: string;
|
|
26910
|
+
createdAt: Date;
|
|
26911
|
+
updatedAt: Date;
|
|
26912
|
+
deletedAt: Date | null;
|
|
26913
|
+
}[];
|
|
26914
|
+
callFrom: string | null;
|
|
26915
|
+
callTo: string | null;
|
|
26916
|
+
note: string | null;
|
|
27027
26917
|
customFields?: {
|
|
27028
26918
|
id: string;
|
|
27029
26919
|
createdAt: Date;
|
|
@@ -27214,7 +27104,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27214
27104
|
};
|
|
27215
27105
|
}, {
|
|
27216
27106
|
message: {
|
|
27217
|
-
type:
|
|
27107
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
27218
27108
|
id: string;
|
|
27219
27109
|
direction: "incoming" | "outgoing" | "system";
|
|
27220
27110
|
createdAt: string;
|
|
@@ -27467,7 +27357,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27467
27357
|
lineRichMenuId?: string | null | undefined;
|
|
27468
27358
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
27469
27359
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
27470
|
-
isCSATEnabled?: boolean | undefined;
|
|
27471
27360
|
};
|
|
27472
27361
|
status: boolean;
|
|
27473
27362
|
brandName: string;
|
|
@@ -27510,16 +27399,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27510
27399
|
createdAt: Date;
|
|
27511
27400
|
updatedAt: Date;
|
|
27512
27401
|
deletedAt: Date | null;
|
|
27513
|
-
tags: {
|
|
27514
|
-
name: string;
|
|
27515
|
-
id: string;
|
|
27516
|
-
createdAt: Date;
|
|
27517
|
-
updatedAt: Date;
|
|
27518
|
-
deletedAt: Date | null;
|
|
27519
|
-
}[];
|
|
27520
|
-
callFrom: string | null;
|
|
27521
|
-
callTo: string | null;
|
|
27522
|
-
note: string | null;
|
|
27523
27402
|
categories: {
|
|
27524
27403
|
id: string;
|
|
27525
27404
|
value: string;
|
|
@@ -27542,6 +27421,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27542
27421
|
}[];
|
|
27543
27422
|
}[];
|
|
27544
27423
|
}[];
|
|
27424
|
+
tags: {
|
|
27425
|
+
name: string;
|
|
27426
|
+
id: string;
|
|
27427
|
+
createdAt: Date;
|
|
27428
|
+
updatedAt: Date;
|
|
27429
|
+
deletedAt: Date | null;
|
|
27430
|
+
}[];
|
|
27431
|
+
callFrom: string | null;
|
|
27432
|
+
callTo: string | null;
|
|
27433
|
+
note: string | null;
|
|
27545
27434
|
customFields?: {
|
|
27546
27435
|
id: string;
|
|
27547
27436
|
createdAt: Date;
|