@kl1/contracts 1.2.82-uat → 1.2.84-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-contracts/src/activity-log/index.d.ts +3 -3
- package/dist/api-contracts/src/activity-log/schema.d.ts +3 -3
- package/dist/api-contracts/src/auth/index.d.ts +3 -3
- package/dist/api-contracts/src/automation-queue/index.d.ts +30 -30
- package/dist/api-contracts/src/automation-queue/schema.d.ts +6 -6
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +271 -271
- package/dist/api-contracts/src/chat/schema.d.ts +93 -93
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +86 -86
- package/dist/api-contracts/src/comment/index.d.ts +45 -45
- package/dist/api-contracts/src/comment/schema.d.ts +15 -15
- package/dist/api-contracts/src/contract.d.ts +963 -632
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +24 -24
- package/dist/api-contracts/src/cx-log/schema.d.ts +24 -24
- package/dist/api-contracts/src/dashboard/index.d.ts +73 -0
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +3 -0
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +61 -61
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +6 -6
- package/dist/api-contracts/src/instagram/index.d.ts +51 -51
- package/dist/api-contracts/src/line/index.d.ts +56 -56
- package/dist/api-contracts/src/line/validation.d.ts +5 -5
- package/dist/api-contracts/src/messenger/index.d.ts +51 -51
- package/dist/api-contracts/src/notification/index.d.ts +9 -9
- package/dist/api-contracts/src/notification/schema.d.ts +9 -9
- package/dist/api-contracts/src/notification/validation.d.ts +3 -3
- package/dist/api-contracts/src/sms/index.d.ts +5 -5
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +51 -51
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +6 -6
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -3
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +30 -30
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +18 -18
- package/dist/api-contracts/src/ticket/index.d.ts +36 -36
- package/dist/api-contracts/src/ticket/schema.d.ts +9 -9
- package/dist/api-contracts/src/user/index.d.ts +142 -12
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/schema.d.ts +38 -1
- package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +3 -3
- package/dist/api-contracts/src/viber/index.d.ts +51 -51
- package/dist/api-contracts/src/webchat/index.d.ts +56 -56
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +51 -51
- package/dist/api-contracts/src/workflow-rule/index.d.ts +21 -21
- package/dist/index.js +116 -62
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +116 -62
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -270,7 +270,7 @@ export declare const ActionMessageSchema: z.ZodObject<{
|
|
|
270
270
|
}>;
|
|
271
271
|
export declare const SendMessageSchema: z.ZodObject<{
|
|
272
272
|
roomId: z.ZodString;
|
|
273
|
-
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
|
273
|
+
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
274
274
|
message: z.ZodOptional<z.ZodString>;
|
|
275
275
|
messageAttachments: z.ZodOptional<z.ZodObject<{
|
|
276
276
|
bucketName: z.ZodString;
|
|
@@ -304,15 +304,15 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
304
304
|
height?: string | undefined;
|
|
305
305
|
}>>;
|
|
306
306
|
user: z.ZodOptional<z.ZodObject<{
|
|
307
|
+
name: z.ZodString;
|
|
307
308
|
id: z.ZodString;
|
|
309
|
+
address: z.ZodNullable<z.ZodString>;
|
|
310
|
+
email: z.ZodString;
|
|
308
311
|
createdAt: z.ZodDate;
|
|
309
312
|
updatedAt: z.ZodDate;
|
|
310
313
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
311
|
-
name: z.ZodString;
|
|
312
|
-
email: z.ZodString;
|
|
313
314
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
314
315
|
password: z.ZodString;
|
|
315
|
-
address: z.ZodNullable<z.ZodString>;
|
|
316
316
|
phone: z.ZodNullable<z.ZodString>;
|
|
317
317
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
318
318
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -535,7 +535,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
535
535
|
mentions?: string[] | undefined;
|
|
536
536
|
}>>;
|
|
537
537
|
}, "strip", z.ZodTypeAny, {
|
|
538
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
538
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
539
539
|
roomId: string;
|
|
540
540
|
message?: string | undefined;
|
|
541
541
|
messageAttachments?: {
|
|
@@ -609,7 +609,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
609
609
|
mentions?: string[] | undefined;
|
|
610
610
|
} | undefined;
|
|
611
611
|
}, {
|
|
612
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
612
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
613
613
|
roomId: string;
|
|
614
614
|
message?: string | undefined;
|
|
615
615
|
messageAttachments?: {
|
|
@@ -689,17 +689,17 @@ export declare const InitiateMessageSchema: z.ZodObject<{
|
|
|
689
689
|
contactId: z.ZodOptional<z.ZodString>;
|
|
690
690
|
message: z.ZodObject<{
|
|
691
691
|
message: z.ZodOptional<z.ZodString>;
|
|
692
|
-
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
|
692
|
+
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
693
693
|
}, "strip", z.ZodTypeAny, {
|
|
694
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
694
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
695
695
|
message?: string | undefined;
|
|
696
696
|
}, {
|
|
697
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
697
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
698
698
|
message?: string | undefined;
|
|
699
699
|
}>;
|
|
700
700
|
}, "strip", z.ZodTypeAny, {
|
|
701
701
|
message: {
|
|
702
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
702
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
703
703
|
message?: string | undefined;
|
|
704
704
|
};
|
|
705
705
|
channelId: string;
|
|
@@ -707,7 +707,7 @@ export declare const InitiateMessageSchema: z.ZodObject<{
|
|
|
707
707
|
contactId?: string | undefined;
|
|
708
708
|
}, {
|
|
709
709
|
message: {
|
|
710
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
710
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
711
711
|
message?: string | undefined;
|
|
712
712
|
};
|
|
713
713
|
channelId: string;
|
|
@@ -1654,7 +1654,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1654
1654
|
id: z.ZodOptional<z.ZodString>;
|
|
1655
1655
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1656
1656
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
1657
|
-
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
|
1657
|
+
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
1658
1658
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
1659
1659
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
1660
1660
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -1706,7 +1706,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1706
1706
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1707
1707
|
feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1708
1708
|
}, "strip", z.ZodTypeAny, {
|
|
1709
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1709
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
1710
1710
|
direction: "incoming" | "outgoing" | "system";
|
|
1711
1711
|
id?: string | undefined;
|
|
1712
1712
|
message?: string | null | undefined;
|
|
@@ -1737,7 +1737,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1737
1737
|
parentMessageId?: string | null | undefined;
|
|
1738
1738
|
feedPostId?: string | null | undefined;
|
|
1739
1739
|
}, {
|
|
1740
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1740
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
1741
1741
|
direction: "incoming" | "outgoing" | "system";
|
|
1742
1742
|
id?: string | undefined;
|
|
1743
1743
|
message?: string | null | undefined;
|
|
@@ -1770,7 +1770,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1770
1770
|
}>;
|
|
1771
1771
|
}, "strip", z.ZodTypeAny, {
|
|
1772
1772
|
message: {
|
|
1773
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1773
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
1774
1774
|
direction: "incoming" | "outgoing" | "system";
|
|
1775
1775
|
id?: string | undefined;
|
|
1776
1776
|
message?: string | null | undefined;
|
|
@@ -1855,7 +1855,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1855
1855
|
};
|
|
1856
1856
|
}, {
|
|
1857
1857
|
message: {
|
|
1858
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1858
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
1859
1859
|
direction: "incoming" | "outgoing" | "system";
|
|
1860
1860
|
id?: string | undefined;
|
|
1861
1861
|
message?: string | null | undefined;
|
|
@@ -2506,7 +2506,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2506
2506
|
id: z.ZodOptional<z.ZodString>;
|
|
2507
2507
|
message: z.ZodOptional<z.ZodString>;
|
|
2508
2508
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
2509
|
-
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
|
2509
|
+
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
2510
2510
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2511
2511
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
2512
2512
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -2562,7 +2562,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2562
2562
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2563
2563
|
label: z.ZodOptional<z.ZodString>;
|
|
2564
2564
|
}, "strip", z.ZodTypeAny, {
|
|
2565
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2565
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
2566
2566
|
direction: "incoming" | "outgoing" | "system";
|
|
2567
2567
|
id?: string | undefined;
|
|
2568
2568
|
message?: string | undefined;
|
|
@@ -2597,7 +2597,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2597
2597
|
editedAt?: string | Date | null | undefined;
|
|
2598
2598
|
label?: string | undefined;
|
|
2599
2599
|
}, {
|
|
2600
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2600
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
2601
2601
|
direction: "incoming" | "outgoing" | "system";
|
|
2602
2602
|
id?: string | undefined;
|
|
2603
2603
|
message?: string | undefined;
|
|
@@ -2634,7 +2634,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2634
2634
|
}>;
|
|
2635
2635
|
}, "strip", z.ZodTypeAny, {
|
|
2636
2636
|
message: {
|
|
2637
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2637
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
2638
2638
|
direction: "incoming" | "outgoing" | "system";
|
|
2639
2639
|
id?: string | undefined;
|
|
2640
2640
|
message?: string | undefined;
|
|
@@ -2765,7 +2765,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2765
2765
|
isBot: boolean | null;
|
|
2766
2766
|
}, {
|
|
2767
2767
|
message: {
|
|
2768
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2768
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
2769
2769
|
direction: "incoming" | "outgoing" | "system";
|
|
2770
2770
|
id?: string | undefined;
|
|
2771
2771
|
message?: string | undefined;
|
|
@@ -2900,7 +2900,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
2900
2900
|
id: z.ZodOptional<z.ZodString>;
|
|
2901
2901
|
message: z.ZodOptional<z.ZodString>;
|
|
2902
2902
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
2903
|
-
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
|
2903
|
+
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
2904
2904
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2905
2905
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
2906
2906
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -2956,7 +2956,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
2956
2956
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2957
2957
|
label: z.ZodOptional<z.ZodString>;
|
|
2958
2958
|
}, "strip", z.ZodTypeAny, {
|
|
2959
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2959
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
2960
2960
|
direction: "incoming" | "outgoing" | "system";
|
|
2961
2961
|
id?: string | undefined;
|
|
2962
2962
|
message?: string | undefined;
|
|
@@ -2991,7 +2991,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
2991
2991
|
editedAt?: string | Date | null | undefined;
|
|
2992
2992
|
label?: string | undefined;
|
|
2993
2993
|
}, {
|
|
2994
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2994
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
2995
2995
|
direction: "incoming" | "outgoing" | "system";
|
|
2996
2996
|
id?: string | undefined;
|
|
2997
2997
|
message?: string | undefined;
|
|
@@ -3600,7 +3600,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3600
3600
|
}>>;
|
|
3601
3601
|
}, "strip", z.ZodTypeAny, {
|
|
3602
3602
|
message: {
|
|
3603
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
3603
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
3604
3604
|
direction: "incoming" | "outgoing" | "system";
|
|
3605
3605
|
id?: string | undefined;
|
|
3606
3606
|
message?: string | undefined;
|
|
@@ -3735,7 +3735,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3735
3735
|
} | undefined;
|
|
3736
3736
|
}, {
|
|
3737
3737
|
message: {
|
|
3738
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
3738
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
3739
3739
|
direction: "incoming" | "outgoing" | "system";
|
|
3740
3740
|
id?: string | undefined;
|
|
3741
3741
|
message?: string | undefined;
|
|
@@ -3872,7 +3872,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3872
3872
|
export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3873
3873
|
requestId: z.ZodString;
|
|
3874
3874
|
data: z.ZodObject<{
|
|
3875
|
-
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
|
3875
|
+
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
3876
3876
|
message: z.ZodString;
|
|
3877
3877
|
id: z.ZodString;
|
|
3878
3878
|
url: z.ZodString;
|
|
@@ -7808,7 +7808,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7808
7808
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7809
7809
|
message: z.ZodString;
|
|
7810
7810
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
7811
|
-
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
|
7811
|
+
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
7812
7812
|
readAt: z.ZodDate;
|
|
7813
7813
|
metadata: z.ZodAny;
|
|
7814
7814
|
platformId: z.ZodString;
|
|
@@ -7854,15 +7854,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7854
7854
|
fileUrl: string | null;
|
|
7855
7855
|
}>;
|
|
7856
7856
|
actor: z.ZodObject<{
|
|
7857
|
+
name: z.ZodString;
|
|
7857
7858
|
id: z.ZodString;
|
|
7859
|
+
address: z.ZodNullable<z.ZodString>;
|
|
7860
|
+
email: z.ZodString;
|
|
7858
7861
|
createdAt: z.ZodDate;
|
|
7859
7862
|
updatedAt: z.ZodDate;
|
|
7860
7863
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7861
|
-
name: z.ZodString;
|
|
7862
|
-
email: z.ZodString;
|
|
7863
7864
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
7864
7865
|
password: z.ZodString;
|
|
7865
|
-
address: z.ZodNullable<z.ZodString>;
|
|
7866
7866
|
phone: z.ZodNullable<z.ZodString>;
|
|
7867
7867
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
7868
7868
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -8058,15 +8058,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
8058
8058
|
};
|
|
8059
8059
|
}>;
|
|
8060
8060
|
assignee: z.ZodObject<{
|
|
8061
|
+
name: z.ZodString;
|
|
8061
8062
|
id: z.ZodString;
|
|
8063
|
+
address: z.ZodNullable<z.ZodString>;
|
|
8064
|
+
email: z.ZodString;
|
|
8062
8065
|
createdAt: z.ZodDate;
|
|
8063
8066
|
updatedAt: z.ZodDate;
|
|
8064
8067
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
8065
|
-
name: z.ZodString;
|
|
8066
|
-
email: z.ZodString;
|
|
8067
8068
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
8068
8069
|
password: z.ZodString;
|
|
8069
|
-
address: z.ZodNullable<z.ZodString>;
|
|
8070
8070
|
phone: z.ZodNullable<z.ZodString>;
|
|
8071
8071
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
8072
8072
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -8262,15 +8262,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
8262
8262
|
};
|
|
8263
8263
|
}>;
|
|
8264
8264
|
sender: z.ZodObject<{
|
|
8265
|
+
name: z.ZodString;
|
|
8265
8266
|
id: z.ZodString;
|
|
8267
|
+
address: z.ZodNullable<z.ZodString>;
|
|
8268
|
+
email: z.ZodString;
|
|
8266
8269
|
createdAt: z.ZodDate;
|
|
8267
8270
|
updatedAt: z.ZodDate;
|
|
8268
8271
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
8269
|
-
name: z.ZodString;
|
|
8270
|
-
email: z.ZodString;
|
|
8271
8272
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
8272
8273
|
password: z.ZodString;
|
|
8273
|
-
address: z.ZodNullable<z.ZodString>;
|
|
8274
8274
|
phone: z.ZodNullable<z.ZodString>;
|
|
8275
8275
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
8276
8276
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -8466,7 +8466,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
8466
8466
|
};
|
|
8467
8467
|
}>;
|
|
8468
8468
|
}, "strip", z.ZodTypeAny, {
|
|
8469
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
8469
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
8470
8470
|
message: string;
|
|
8471
8471
|
id: string;
|
|
8472
8472
|
url: string;
|
|
@@ -8628,7 +8628,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
8628
8628
|
metadata?: any;
|
|
8629
8629
|
template?: any;
|
|
8630
8630
|
}, {
|
|
8631
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
8631
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
8632
8632
|
message: string;
|
|
8633
8633
|
id: string;
|
|
8634
8634
|
url: string;
|
|
@@ -9002,7 +9002,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
9002
9002
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
9003
9003
|
message: z.ZodString;
|
|
9004
9004
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
9005
|
-
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
|
9005
|
+
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
9006
9006
|
readAt: z.ZodDate;
|
|
9007
9007
|
metadata: z.ZodAny;
|
|
9008
9008
|
platformId: z.ZodString;
|
|
@@ -12498,7 +12498,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12498
12498
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12499
12499
|
message: z.ZodString;
|
|
12500
12500
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
12501
|
-
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
|
12501
|
+
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
12502
12502
|
readAt: z.ZodDate;
|
|
12503
12503
|
metadata: z.ZodAny;
|
|
12504
12504
|
platformId: z.ZodString;
|
|
@@ -12544,15 +12544,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12544
12544
|
fileUrl: string | null;
|
|
12545
12545
|
}>;
|
|
12546
12546
|
actor: z.ZodObject<{
|
|
12547
|
+
name: z.ZodString;
|
|
12547
12548
|
id: z.ZodString;
|
|
12549
|
+
address: z.ZodNullable<z.ZodString>;
|
|
12550
|
+
email: z.ZodString;
|
|
12548
12551
|
createdAt: z.ZodDate;
|
|
12549
12552
|
updatedAt: z.ZodDate;
|
|
12550
12553
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12551
|
-
name: z.ZodString;
|
|
12552
|
-
email: z.ZodString;
|
|
12553
12554
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
12554
12555
|
password: z.ZodString;
|
|
12555
|
-
address: z.ZodNullable<z.ZodString>;
|
|
12556
12556
|
phone: z.ZodNullable<z.ZodString>;
|
|
12557
12557
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
12558
12558
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -12748,15 +12748,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12748
12748
|
};
|
|
12749
12749
|
}>;
|
|
12750
12750
|
assignee: z.ZodObject<{
|
|
12751
|
+
name: z.ZodString;
|
|
12751
12752
|
id: z.ZodString;
|
|
12753
|
+
address: z.ZodNullable<z.ZodString>;
|
|
12754
|
+
email: z.ZodString;
|
|
12752
12755
|
createdAt: z.ZodDate;
|
|
12753
12756
|
updatedAt: z.ZodDate;
|
|
12754
12757
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12755
|
-
name: z.ZodString;
|
|
12756
|
-
email: z.ZodString;
|
|
12757
12758
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
12758
12759
|
password: z.ZodString;
|
|
12759
|
-
address: z.ZodNullable<z.ZodString>;
|
|
12760
12760
|
phone: z.ZodNullable<z.ZodString>;
|
|
12761
12761
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
12762
12762
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -12952,15 +12952,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12952
12952
|
};
|
|
12953
12953
|
}>;
|
|
12954
12954
|
sender: z.ZodObject<{
|
|
12955
|
+
name: z.ZodString;
|
|
12955
12956
|
id: z.ZodString;
|
|
12957
|
+
address: z.ZodNullable<z.ZodString>;
|
|
12958
|
+
email: z.ZodString;
|
|
12956
12959
|
createdAt: z.ZodDate;
|
|
12957
12960
|
updatedAt: z.ZodDate;
|
|
12958
12961
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12959
|
-
name: z.ZodString;
|
|
12960
|
-
email: z.ZodString;
|
|
12961
12962
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
12962
12963
|
password: z.ZodString;
|
|
12963
|
-
address: z.ZodNullable<z.ZodString>;
|
|
12964
12964
|
phone: z.ZodNullable<z.ZodString>;
|
|
12965
12965
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
12966
12966
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -13156,7 +13156,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
13156
13156
|
};
|
|
13157
13157
|
}>;
|
|
13158
13158
|
}, "strip", z.ZodTypeAny, {
|
|
13159
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
13159
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
13160
13160
|
message: string;
|
|
13161
13161
|
id: string;
|
|
13162
13162
|
url: string;
|
|
@@ -13318,7 +13318,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
13318
13318
|
metadata?: any;
|
|
13319
13319
|
template?: any;
|
|
13320
13320
|
}, {
|
|
13321
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
13321
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
13322
13322
|
message: string;
|
|
13323
13323
|
id: string;
|
|
13324
13324
|
url: string;
|
|
@@ -14120,7 +14120,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14120
14120
|
editedMessageid: z.ZodString;
|
|
14121
14121
|
label: z.ZodOptional<z.ZodString>;
|
|
14122
14122
|
}, "strip", z.ZodTypeAny, {
|
|
14123
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
14123
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
14124
14124
|
message: string;
|
|
14125
14125
|
id: string;
|
|
14126
14126
|
url: string;
|
|
@@ -14675,7 +14675,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14675
14675
|
previewUrl: string;
|
|
14676
14676
|
imageSetId: string;
|
|
14677
14677
|
repliedMessage: {
|
|
14678
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
14678
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
14679
14679
|
message: string;
|
|
14680
14680
|
id: string;
|
|
14681
14681
|
url: string;
|
|
@@ -14886,7 +14886,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14886
14886
|
template?: any;
|
|
14887
14887
|
label?: string | undefined;
|
|
14888
14888
|
}, {
|
|
14889
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
14889
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
14890
14890
|
message: string;
|
|
14891
14891
|
id: string;
|
|
14892
14892
|
url: string;
|
|
@@ -15441,7 +15441,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15441
15441
|
previewUrl: string;
|
|
15442
15442
|
imageSetId: string;
|
|
15443
15443
|
repliedMessage: {
|
|
15444
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
15444
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
15445
15445
|
message: string;
|
|
15446
15446
|
id: string;
|
|
15447
15447
|
url: string;
|
|
@@ -15653,7 +15653,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15653
15653
|
label?: string | undefined;
|
|
15654
15654
|
}>>>;
|
|
15655
15655
|
}, "strip", z.ZodTypeAny, {
|
|
15656
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
15656
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
15657
15657
|
message: string;
|
|
15658
15658
|
id: string;
|
|
15659
15659
|
url: string;
|
|
@@ -16208,7 +16208,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16208
16208
|
previewUrl: string;
|
|
16209
16209
|
imageSetId: string;
|
|
16210
16210
|
repliedMessage: {
|
|
16211
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
16211
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
16212
16212
|
message: string;
|
|
16213
16213
|
id: string;
|
|
16214
16214
|
url: string;
|
|
@@ -16419,7 +16419,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16419
16419
|
template?: any;
|
|
16420
16420
|
metadata?: any;
|
|
16421
16421
|
fromMessage?: {
|
|
16422
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
16422
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
16423
16423
|
message: string;
|
|
16424
16424
|
id: string;
|
|
16425
16425
|
url: string;
|
|
@@ -16974,7 +16974,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16974
16974
|
previewUrl: string;
|
|
16975
16975
|
imageSetId: string;
|
|
16976
16976
|
repliedMessage: {
|
|
16977
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
16977
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
16978
16978
|
message: string;
|
|
16979
16979
|
id: string;
|
|
16980
16980
|
url: string;
|
|
@@ -17186,7 +17186,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17186
17186
|
label?: string | undefined;
|
|
17187
17187
|
} | null | undefined;
|
|
17188
17188
|
}, {
|
|
17189
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
17189
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
17190
17190
|
message: string;
|
|
17191
17191
|
id: string;
|
|
17192
17192
|
url: string;
|
|
@@ -17741,7 +17741,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17741
17741
|
previewUrl: string;
|
|
17742
17742
|
imageSetId: string;
|
|
17743
17743
|
repliedMessage: {
|
|
17744
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
17744
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
17745
17745
|
message: string;
|
|
17746
17746
|
id: string;
|
|
17747
17747
|
url: string;
|
|
@@ -17952,7 +17952,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17952
17952
|
template?: any;
|
|
17953
17953
|
metadata?: any;
|
|
17954
17954
|
fromMessage?: {
|
|
17955
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
17955
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
17956
17956
|
message: string;
|
|
17957
17957
|
id: string;
|
|
17958
17958
|
url: string;
|
|
@@ -18507,7 +18507,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18507
18507
|
previewUrl: string;
|
|
18508
18508
|
imageSetId: string;
|
|
18509
18509
|
repliedMessage: {
|
|
18510
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18510
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
18511
18511
|
message: string;
|
|
18512
18512
|
id: string;
|
|
18513
18513
|
url: string;
|
|
@@ -18721,7 +18721,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18721
18721
|
}>;
|
|
18722
18722
|
}, "strip", z.ZodTypeAny, {
|
|
18723
18723
|
data: {
|
|
18724
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18724
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
18725
18725
|
message: string;
|
|
18726
18726
|
id: string;
|
|
18727
18727
|
url: string;
|
|
@@ -19276,7 +19276,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19276
19276
|
previewUrl: string;
|
|
19277
19277
|
imageSetId: string;
|
|
19278
19278
|
repliedMessage: {
|
|
19279
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
19279
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
19280
19280
|
message: string;
|
|
19281
19281
|
id: string;
|
|
19282
19282
|
url: string;
|
|
@@ -19487,7 +19487,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19487
19487
|
template?: any;
|
|
19488
19488
|
metadata?: any;
|
|
19489
19489
|
fromMessage?: {
|
|
19490
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
19490
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
19491
19491
|
message: string;
|
|
19492
19492
|
id: string;
|
|
19493
19493
|
url: string;
|
|
@@ -20042,7 +20042,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20042
20042
|
previewUrl: string;
|
|
20043
20043
|
imageSetId: string;
|
|
20044
20044
|
repliedMessage: {
|
|
20045
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
20045
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
20046
20046
|
message: string;
|
|
20047
20047
|
id: string;
|
|
20048
20048
|
url: string;
|
|
@@ -20257,7 +20257,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20257
20257
|
requestId: string;
|
|
20258
20258
|
}, {
|
|
20259
20259
|
data: {
|
|
20260
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
20260
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
20261
20261
|
message: string;
|
|
20262
20262
|
id: string;
|
|
20263
20263
|
url: string;
|
|
@@ -20812,7 +20812,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20812
20812
|
previewUrl: string;
|
|
20813
20813
|
imageSetId: string;
|
|
20814
20814
|
repliedMessage: {
|
|
20815
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
20815
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
20816
20816
|
message: string;
|
|
20817
20817
|
id: string;
|
|
20818
20818
|
url: string;
|
|
@@ -21023,7 +21023,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21023
21023
|
template?: any;
|
|
21024
21024
|
metadata?: any;
|
|
21025
21025
|
fromMessage?: {
|
|
21026
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
21026
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
21027
21027
|
message: string;
|
|
21028
21028
|
id: string;
|
|
21029
21029
|
url: string;
|
|
@@ -21578,7 +21578,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21578
21578
|
previewUrl: string;
|
|
21579
21579
|
imageSetId: string;
|
|
21580
21580
|
repliedMessage: {
|
|
21581
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
21581
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
21582
21582
|
message: string;
|
|
21583
21583
|
id: string;
|
|
21584
21584
|
url: string;
|
|
@@ -22156,7 +22156,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
22156
22156
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
22157
22157
|
message: z.ZodOptional<z.ZodString>;
|
|
22158
22158
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
22159
|
-
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
|
22159
|
+
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
22160
22160
|
metadata: z.ZodAny;
|
|
22161
22161
|
platformId: z.ZodString;
|
|
22162
22162
|
platformMessageId: z.ZodString;
|
|
@@ -25049,15 +25049,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25049
25049
|
status?: string | undefined;
|
|
25050
25050
|
}>>;
|
|
25051
25051
|
actor: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
25052
|
+
name: z.ZodString;
|
|
25052
25053
|
id: z.ZodString;
|
|
25054
|
+
address: z.ZodNullable<z.ZodString>;
|
|
25055
|
+
email: z.ZodString;
|
|
25053
25056
|
createdAt: z.ZodDate;
|
|
25054
25057
|
updatedAt: z.ZodDate;
|
|
25055
25058
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
25056
|
-
name: z.ZodString;
|
|
25057
|
-
email: z.ZodString;
|
|
25058
25059
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
25059
25060
|
password: z.ZodString;
|
|
25060
|
-
address: z.ZodNullable<z.ZodString>;
|
|
25061
25061
|
phone: z.ZodNullable<z.ZodString>;
|
|
25062
25062
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
25063
25063
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -25253,15 +25253,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25253
25253
|
};
|
|
25254
25254
|
}>>>;
|
|
25255
25255
|
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
25256
|
+
name: z.ZodString;
|
|
25256
25257
|
id: z.ZodString;
|
|
25258
|
+
address: z.ZodNullable<z.ZodString>;
|
|
25259
|
+
email: z.ZodString;
|
|
25257
25260
|
createdAt: z.ZodDate;
|
|
25258
25261
|
updatedAt: z.ZodDate;
|
|
25259
25262
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
25260
|
-
name: z.ZodString;
|
|
25261
|
-
email: z.ZodString;
|
|
25262
25263
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
25263
25264
|
password: z.ZodString;
|
|
25264
|
-
address: z.ZodNullable<z.ZodString>;
|
|
25265
25265
|
phone: z.ZodNullable<z.ZodString>;
|
|
25266
25266
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
25267
25267
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -25457,15 +25457,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25457
25457
|
};
|
|
25458
25458
|
}>>>;
|
|
25459
25459
|
sender: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
25460
|
+
name: z.ZodString;
|
|
25460
25461
|
id: z.ZodString;
|
|
25462
|
+
address: z.ZodNullable<z.ZodString>;
|
|
25463
|
+
email: z.ZodString;
|
|
25461
25464
|
createdAt: z.ZodDate;
|
|
25462
25465
|
updatedAt: z.ZodDate;
|
|
25463
25466
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
25464
|
-
name: z.ZodString;
|
|
25465
|
-
email: z.ZodString;
|
|
25466
25467
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
25467
25468
|
password: z.ZodString;
|
|
25468
|
-
address: z.ZodNullable<z.ZodString>;
|
|
25469
25469
|
phone: z.ZodNullable<z.ZodString>;
|
|
25470
25470
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
25471
25471
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -25662,7 +25662,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25662
25662
|
}>>>;
|
|
25663
25663
|
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
25664
25664
|
}, "strip", z.ZodTypeAny, {
|
|
25665
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
25665
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
25666
25666
|
id: string;
|
|
25667
25667
|
direction: "incoming" | "outgoing" | "system";
|
|
25668
25668
|
createdAt: string;
|
|
@@ -26178,7 +26178,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26178
26178
|
} | null | undefined;
|
|
26179
26179
|
label?: string | null | undefined;
|
|
26180
26180
|
}, {
|
|
26181
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
26181
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
26182
26182
|
id: string;
|
|
26183
26183
|
direction: "incoming" | "outgoing" | "system";
|
|
26184
26184
|
createdAt: string;
|
|
@@ -26696,7 +26696,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26696
26696
|
}>;
|
|
26697
26697
|
}, "strip", z.ZodTypeAny, {
|
|
26698
26698
|
message: {
|
|
26699
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
26699
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
26700
26700
|
id: string;
|
|
26701
26701
|
direction: "incoming" | "outgoing" | "system";
|
|
26702
26702
|
createdAt: string;
|
|
@@ -27214,7 +27214,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27214
27214
|
};
|
|
27215
27215
|
}, {
|
|
27216
27216
|
message: {
|
|
27217
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
27217
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
27218
27218
|
id: string;
|
|
27219
27219
|
direction: "incoming" | "outgoing" | "system";
|
|
27220
27220
|
createdAt: string;
|