@kl1/contracts 1.3.41 → 1.3.42
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/botpress/index.d.ts +2 -2
- package/dist/api-contracts/src/channel/index.d.ts +2 -833
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +0 -10
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +211 -233
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +63 -60
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +69 -85
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +4687 -5926
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +1 -12
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +1 -4
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +0 -3
- package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +53 -53
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
- 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 +41 -41
- package/dist/api-contracts/src/line/index.d.ts +48 -48
- package/dist/api-contracts/src/line/validation.d.ts +7 -7
- package/dist/api-contracts/src/messenger/index.d.ts +41 -41
- package/dist/api-contracts/src/presence-status/index.d.ts +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +7 -7
- package/dist/api-contracts/src/telegram/index.d.ts +41 -41
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +430 -0
- 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 +3 -0
- 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/viber/index.d.ts +41 -41
- package/dist/api-contracts/src/webchat/index.d.ts +41 -41
- package/dist/api-contracts/src/whatsapp/index.d.ts +41 -41
- package/dist/api-contracts/src/workflow-rule/index.d.ts +17 -17
- package/dist/index.js +1604 -1612
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1603 -1611
- 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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
274
268
|
message: z.ZodOptional<z.ZodString>;
|
275
269
|
messageAttachments: z.ZodOptional<z.ZodObject<{
|
276
270
|
bucketName: z.ZodString;
|
@@ -280,8 +274,6 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
280
274
|
url: z.ZodNullable<z.ZodString>;
|
281
275
|
fileType: z.ZodString;
|
282
276
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
283
|
-
width: z.ZodOptional<z.ZodString>;
|
284
|
-
height: z.ZodOptional<z.ZodString>;
|
285
277
|
}, "strip", z.ZodTypeAny, {
|
286
278
|
url: string | null;
|
287
279
|
fileName: string;
|
@@ -290,8 +282,6 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
290
282
|
bucketName: string;
|
291
283
|
fileSize: number;
|
292
284
|
thumbnailUrl?: string | undefined;
|
293
|
-
width?: string | undefined;
|
294
|
-
height?: string | undefined;
|
295
285
|
}, {
|
296
286
|
url: string | null;
|
297
287
|
fileName: string;
|
@@ -300,8 +290,6 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
300
290
|
bucketName: string;
|
301
291
|
fileSize: number;
|
302
292
|
thumbnailUrl?: string | undefined;
|
303
|
-
width?: string | undefined;
|
304
|
-
height?: string | undefined;
|
305
293
|
}>>;
|
306
294
|
user: z.ZodOptional<z.ZodObject<{
|
307
295
|
name: z.ZodString;
|
@@ -535,7 +523,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
535
523
|
mentions?: string[] | undefined;
|
536
524
|
}>>;
|
537
525
|
}, "strip", z.ZodTypeAny, {
|
538
|
-
messageType:
|
526
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
539
527
|
roomId: string;
|
540
528
|
message?: string | undefined;
|
541
529
|
messageAttachments?: {
|
@@ -546,8 +534,6 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
546
534
|
bucketName: string;
|
547
535
|
fileSize: number;
|
548
536
|
thumbnailUrl?: string | undefined;
|
549
|
-
width?: string | undefined;
|
550
|
-
height?: string | undefined;
|
551
537
|
} | undefined;
|
552
538
|
user?: {
|
553
539
|
name: string;
|
@@ -609,7 +595,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
609
595
|
mentions?: string[] | undefined;
|
610
596
|
} | undefined;
|
611
597
|
}, {
|
612
|
-
messageType:
|
598
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
613
599
|
roomId: string;
|
614
600
|
message?: string | undefined;
|
615
601
|
messageAttachments?: {
|
@@ -620,8 +606,6 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
620
606
|
bucketName: string;
|
621
607
|
fileSize: number;
|
622
608
|
thumbnailUrl?: string | undefined;
|
623
|
-
width?: string | undefined;
|
624
|
-
height?: string | undefined;
|
625
609
|
} | undefined;
|
626
610
|
user?: {
|
627
611
|
name: string;
|
@@ -689,17 +673,17 @@ export declare const InitiateMessageSchema: z.ZodObject<{
|
|
689
673
|
contactId: z.ZodOptional<z.ZodString>;
|
690
674
|
message: z.ZodObject<{
|
691
675
|
message: z.ZodOptional<z.ZodString>;
|
692
|
-
messageType: z.
|
676
|
+
messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
693
677
|
}, "strip", z.ZodTypeAny, {
|
694
|
-
messageType:
|
678
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
695
679
|
message?: string | undefined;
|
696
680
|
}, {
|
697
|
-
messageType:
|
681
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
698
682
|
message?: string | undefined;
|
699
683
|
}>;
|
700
684
|
}, "strip", z.ZodTypeAny, {
|
701
685
|
message: {
|
702
|
-
messageType:
|
686
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
703
687
|
message?: string | undefined;
|
704
688
|
};
|
705
689
|
channelId: string;
|
@@ -707,7 +691,7 @@ export declare const InitiateMessageSchema: z.ZodObject<{
|
|
707
691
|
contactId?: string | undefined;
|
708
692
|
}, {
|
709
693
|
message: {
|
710
|
-
messageType:
|
694
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
711
695
|
message?: string | undefined;
|
712
696
|
};
|
713
697
|
channelId: string;
|
@@ -1739,8 +1723,8 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
1739
1723
|
message: z.ZodObject<{
|
1740
1724
|
id: z.ZodOptional<z.ZodString>;
|
1741
1725
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1742
|
-
direction: z.
|
1743
|
-
type: z.
|
1726
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1727
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
1744
1728
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
1745
1729
|
metadata: z.ZodOptional<z.ZodAny>;
|
1746
1730
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -1792,7 +1776,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
1792
1776
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1793
1777
|
feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1794
1778
|
}, "strip", z.ZodTypeAny, {
|
1795
|
-
type:
|
1779
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
1796
1780
|
direction: "incoming" | "outgoing" | "system";
|
1797
1781
|
id?: string | undefined;
|
1798
1782
|
message?: string | null | undefined;
|
@@ -1823,7 +1807,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
1823
1807
|
parentMessageId?: string | null | undefined;
|
1824
1808
|
feedPostId?: string | null | undefined;
|
1825
1809
|
}, {
|
1826
|
-
type:
|
1810
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
1827
1811
|
direction: "incoming" | "outgoing" | "system";
|
1828
1812
|
id?: string | undefined;
|
1829
1813
|
message?: string | null | undefined;
|
@@ -1856,7 +1840,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
1856
1840
|
}>;
|
1857
1841
|
}, "strip", z.ZodTypeAny, {
|
1858
1842
|
message: {
|
1859
|
-
type:
|
1843
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
1860
1844
|
direction: "incoming" | "outgoing" | "system";
|
1861
1845
|
id?: string | undefined;
|
1862
1846
|
message?: string | null | undefined;
|
@@ -1945,7 +1929,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
1945
1929
|
};
|
1946
1930
|
}, {
|
1947
1931
|
message: {
|
1948
|
-
type:
|
1932
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
1949
1933
|
direction: "incoming" | "outgoing" | "system";
|
1950
1934
|
id?: string | undefined;
|
1951
1935
|
message?: string | null | undefined;
|
@@ -2040,7 +2024,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2040
2024
|
lastMessage: z.ZodOptional<z.ZodString>;
|
2041
2025
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
2042
2026
|
isLatest: z.ZodBoolean;
|
2043
|
-
direction: z.
|
2027
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
2044
2028
|
metadata: z.ZodOptional<z.ZodAny>;
|
2045
2029
|
createdAt: z.ZodString;
|
2046
2030
|
updatedAt: z.ZodString;
|
@@ -2633,8 +2617,8 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2633
2617
|
message: z.ZodObject<{
|
2634
2618
|
id: z.ZodOptional<z.ZodString>;
|
2635
2619
|
message: z.ZodOptional<z.ZodString>;
|
2636
|
-
direction: z.
|
2637
|
-
type: z.
|
2620
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
2621
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
2638
2622
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
2639
2623
|
metadata: z.ZodOptional<z.ZodAny>;
|
2640
2624
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -2690,7 +2674,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2690
2674
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
2691
2675
|
label: z.ZodOptional<z.ZodString>;
|
2692
2676
|
}, "strip", z.ZodTypeAny, {
|
2693
|
-
type:
|
2677
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
2694
2678
|
direction: "incoming" | "outgoing" | "system";
|
2695
2679
|
id?: string | undefined;
|
2696
2680
|
message?: string | undefined;
|
@@ -2725,7 +2709,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2725
2709
|
editedAt?: string | Date | null | undefined;
|
2726
2710
|
label?: string | undefined;
|
2727
2711
|
}, {
|
2728
|
-
type:
|
2712
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
2729
2713
|
direction: "incoming" | "outgoing" | "system";
|
2730
2714
|
id?: string | undefined;
|
2731
2715
|
message?: string | undefined;
|
@@ -2762,7 +2746,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2762
2746
|
}>;
|
2763
2747
|
}, "strip", z.ZodTypeAny, {
|
2764
2748
|
message: {
|
2765
|
-
type:
|
2749
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
2766
2750
|
direction: "incoming" | "outgoing" | "system";
|
2767
2751
|
id?: string | undefined;
|
2768
2752
|
message?: string | undefined;
|
@@ -2897,7 +2881,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2897
2881
|
isBot: boolean | null;
|
2898
2882
|
}, {
|
2899
2883
|
message: {
|
2900
|
-
type:
|
2884
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
2901
2885
|
direction: "incoming" | "outgoing" | "system";
|
2902
2886
|
id?: string | undefined;
|
2903
2887
|
message?: string | undefined;
|
@@ -3035,8 +3019,8 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3035
3019
|
message: z.ZodObject<{
|
3036
3020
|
id: z.ZodOptional<z.ZodString>;
|
3037
3021
|
message: z.ZodOptional<z.ZodString>;
|
3038
|
-
direction: z.
|
3039
|
-
type: z.
|
3022
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3023
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
3040
3024
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
3041
3025
|
metadata: z.ZodOptional<z.ZodAny>;
|
3042
3026
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -3092,7 +3076,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3092
3076
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
3093
3077
|
label: z.ZodOptional<z.ZodString>;
|
3094
3078
|
}, "strip", z.ZodTypeAny, {
|
3095
|
-
type:
|
3079
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
3096
3080
|
direction: "incoming" | "outgoing" | "system";
|
3097
3081
|
id?: string | undefined;
|
3098
3082
|
message?: string | undefined;
|
@@ -3127,7 +3111,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3127
3111
|
editedAt?: string | Date | null | undefined;
|
3128
3112
|
label?: string | undefined;
|
3129
3113
|
}, {
|
3130
|
-
type:
|
3114
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
3131
3115
|
direction: "incoming" | "outgoing" | "system";
|
3132
3116
|
id?: string | undefined;
|
3133
3117
|
message?: string | undefined;
|
@@ -3167,7 +3151,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3167
3151
|
lastMessage: z.ZodOptional<z.ZodString>;
|
3168
3152
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
3169
3153
|
isLatest: z.ZodBoolean;
|
3170
|
-
direction: z.
|
3154
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3171
3155
|
metadata: z.ZodOptional<z.ZodAny>;
|
3172
3156
|
createdAt: z.ZodString;
|
3173
3157
|
updatedAt: z.ZodString;
|
@@ -3770,7 +3754,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3770
3754
|
}>>;
|
3771
3755
|
}, "strip", z.ZodTypeAny, {
|
3772
3756
|
message: {
|
3773
|
-
type:
|
3757
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
3774
3758
|
direction: "incoming" | "outgoing" | "system";
|
3775
3759
|
id?: string | undefined;
|
3776
3760
|
message?: string | undefined;
|
@@ -3909,7 +3893,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3909
3893
|
} | undefined;
|
3910
3894
|
}, {
|
3911
3895
|
message: {
|
3912
|
-
type:
|
3896
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
3913
3897
|
direction: "incoming" | "outgoing" | "system";
|
3914
3898
|
id?: string | undefined;
|
3915
3899
|
message?: string | undefined;
|
@@ -4050,11 +4034,11 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
4050
4034
|
export declare const SendMessageResponseSchema: z.ZodObject<{
|
4051
4035
|
requestId: z.ZodString;
|
4052
4036
|
data: z.ZodObject<{
|
4053
|
-
type: z.
|
4037
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
4054
4038
|
message: z.ZodString;
|
4055
4039
|
id: z.ZodString;
|
4056
4040
|
url: z.ZodString;
|
4057
|
-
direction: z.
|
4041
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4058
4042
|
label: z.ZodOptional<z.ZodString>;
|
4059
4043
|
template: z.ZodAny;
|
4060
4044
|
metadata: z.ZodAny;
|
@@ -4519,7 +4503,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4519
4503
|
firstResponseTime: z.ZodNumber;
|
4520
4504
|
isLatest: z.ZodBoolean;
|
4521
4505
|
isBotRoom: z.ZodBoolean;
|
4522
|
-
direction: z.
|
4506
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4523
4507
|
platformContact: z.ZodObject<{
|
4524
4508
|
id: z.ZodString;
|
4525
4509
|
createdAt: z.ZodDate;
|
@@ -8032,8 +8016,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8032
8016
|
updatedAt: z.ZodDate;
|
8033
8017
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8034
8018
|
message: z.ZodString;
|
8035
|
-
direction: z.
|
8036
|
-
type: z.
|
8019
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
8020
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
8037
8021
|
readAt: z.ZodDate;
|
8038
8022
|
metadata: z.ZodAny;
|
8039
8023
|
platformId: z.ZodString;
|
@@ -8691,7 +8675,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8691
8675
|
};
|
8692
8676
|
}>;
|
8693
8677
|
}, "strip", z.ZodTypeAny, {
|
8694
|
-
type:
|
8678
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
8695
8679
|
message: string;
|
8696
8680
|
id: string;
|
8697
8681
|
url: string;
|
@@ -8853,7 +8837,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8853
8837
|
metadata?: any;
|
8854
8838
|
template?: any;
|
8855
8839
|
}, {
|
8856
|
-
type:
|
8840
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
8857
8841
|
message: string;
|
8858
8842
|
id: string;
|
8859
8843
|
url: string;
|
@@ -9226,8 +9210,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
9226
9210
|
updatedAt: z.ZodDate;
|
9227
9211
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9228
9212
|
message: z.ZodString;
|
9229
|
-
direction: z.
|
9230
|
-
type: z.
|
9213
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
9214
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
9231
9215
|
readAt: z.ZodDate;
|
9232
9216
|
metadata: z.ZodAny;
|
9233
9217
|
platformId: z.ZodString;
|
@@ -9253,7 +9237,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
9253
9237
|
firstResponseTime: z.ZodNumber;
|
9254
9238
|
isLatest: z.ZodBoolean;
|
9255
9239
|
isBotRoom: z.ZodBoolean;
|
9256
|
-
direction: z.
|
9240
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
9257
9241
|
platformContact: z.ZodObject<{
|
9258
9242
|
id: z.ZodString;
|
9259
9243
|
createdAt: z.ZodDate;
|
@@ -12769,8 +12753,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
12769
12753
|
updatedAt: z.ZodDate;
|
12770
12754
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12771
12755
|
message: z.ZodString;
|
12772
|
-
direction: z.
|
12773
|
-
type: z.
|
12756
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
12757
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
12774
12758
|
readAt: z.ZodDate;
|
12775
12759
|
metadata: z.ZodAny;
|
12776
12760
|
platformId: z.ZodString;
|
@@ -13428,7 +13412,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
13428
13412
|
};
|
13429
13413
|
}>;
|
13430
13414
|
}, "strip", z.ZodTypeAny, {
|
13431
|
-
type:
|
13415
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
13432
13416
|
message: string;
|
13433
13417
|
id: string;
|
13434
13418
|
url: string;
|
@@ -13590,7 +13574,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
13590
13574
|
metadata?: any;
|
13591
13575
|
template?: any;
|
13592
13576
|
}, {
|
13593
|
-
type:
|
13577
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
13594
13578
|
message: string;
|
13595
13579
|
id: string;
|
13596
13580
|
url: string;
|
@@ -14392,7 +14376,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
14392
14376
|
editedMessageid: z.ZodString;
|
14393
14377
|
label: z.ZodOptional<z.ZodString>;
|
14394
14378
|
}, "strip", z.ZodTypeAny, {
|
14395
|
-
type:
|
14379
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
14396
14380
|
message: string;
|
14397
14381
|
id: string;
|
14398
14382
|
url: string;
|
@@ -14954,7 +14938,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
14954
14938
|
previewUrl: string;
|
14955
14939
|
imageSetId: string;
|
14956
14940
|
repliedMessage: {
|
14957
|
-
type:
|
14941
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
14958
14942
|
message: string;
|
14959
14943
|
id: string;
|
14960
14944
|
url: string;
|
@@ -15165,7 +15149,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
15165
15149
|
template?: any;
|
15166
15150
|
label?: string | undefined;
|
15167
15151
|
}, {
|
15168
|
-
type:
|
15152
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
15169
15153
|
message: string;
|
15170
15154
|
id: string;
|
15171
15155
|
url: string;
|
@@ -15727,7 +15711,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
15727
15711
|
previewUrl: string;
|
15728
15712
|
imageSetId: string;
|
15729
15713
|
repliedMessage: {
|
15730
|
-
type:
|
15714
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
15731
15715
|
message: string;
|
15732
15716
|
id: string;
|
15733
15717
|
url: string;
|
@@ -15939,7 +15923,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
15939
15923
|
label?: string | undefined;
|
15940
15924
|
}>>>;
|
15941
15925
|
}, "strip", z.ZodTypeAny, {
|
15942
|
-
type:
|
15926
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
15943
15927
|
message: string;
|
15944
15928
|
id: string;
|
15945
15929
|
url: string;
|
@@ -16501,7 +16485,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
16501
16485
|
previewUrl: string;
|
16502
16486
|
imageSetId: string;
|
16503
16487
|
repliedMessage: {
|
16504
|
-
type:
|
16488
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
16505
16489
|
message: string;
|
16506
16490
|
id: string;
|
16507
16491
|
url: string;
|
@@ -16712,7 +16696,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
16712
16696
|
template?: any;
|
16713
16697
|
metadata?: any;
|
16714
16698
|
fromMessage?: {
|
16715
|
-
type:
|
16699
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
16716
16700
|
message: string;
|
16717
16701
|
id: string;
|
16718
16702
|
url: string;
|
@@ -17274,7 +17258,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
17274
17258
|
previewUrl: string;
|
17275
17259
|
imageSetId: string;
|
17276
17260
|
repliedMessage: {
|
17277
|
-
type:
|
17261
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
17278
17262
|
message: string;
|
17279
17263
|
id: string;
|
17280
17264
|
url: string;
|
@@ -17486,7 +17470,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
17486
17470
|
label?: string | undefined;
|
17487
17471
|
} | null | undefined;
|
17488
17472
|
}, {
|
17489
|
-
type:
|
17473
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
17490
17474
|
message: string;
|
17491
17475
|
id: string;
|
17492
17476
|
url: string;
|
@@ -18048,7 +18032,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
18048
18032
|
previewUrl: string;
|
18049
18033
|
imageSetId: string;
|
18050
18034
|
repliedMessage: {
|
18051
|
-
type:
|
18035
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
18052
18036
|
message: string;
|
18053
18037
|
id: string;
|
18054
18038
|
url: string;
|
@@ -18259,7 +18243,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
18259
18243
|
template?: any;
|
18260
18244
|
metadata?: any;
|
18261
18245
|
fromMessage?: {
|
18262
|
-
type:
|
18246
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
18263
18247
|
message: string;
|
18264
18248
|
id: string;
|
18265
18249
|
url: string;
|
@@ -18821,7 +18805,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
18821
18805
|
previewUrl: string;
|
18822
18806
|
imageSetId: string;
|
18823
18807
|
repliedMessage: {
|
18824
|
-
type:
|
18808
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
18825
18809
|
message: string;
|
18826
18810
|
id: string;
|
18827
18811
|
url: string;
|
@@ -19035,7 +19019,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
19035
19019
|
}>;
|
19036
19020
|
}, "strip", z.ZodTypeAny, {
|
19037
19021
|
data: {
|
19038
|
-
type:
|
19022
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
19039
19023
|
message: string;
|
19040
19024
|
id: string;
|
19041
19025
|
url: string;
|
@@ -19597,7 +19581,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
19597
19581
|
previewUrl: string;
|
19598
19582
|
imageSetId: string;
|
19599
19583
|
repliedMessage: {
|
19600
|
-
type:
|
19584
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
19601
19585
|
message: string;
|
19602
19586
|
id: string;
|
19603
19587
|
url: string;
|
@@ -19808,7 +19792,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
19808
19792
|
template?: any;
|
19809
19793
|
metadata?: any;
|
19810
19794
|
fromMessage?: {
|
19811
|
-
type:
|
19795
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
19812
19796
|
message: string;
|
19813
19797
|
id: string;
|
19814
19798
|
url: string;
|
@@ -20370,7 +20354,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
20370
20354
|
previewUrl: string;
|
20371
20355
|
imageSetId: string;
|
20372
20356
|
repliedMessage: {
|
20373
|
-
type:
|
20357
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
20374
20358
|
message: string;
|
20375
20359
|
id: string;
|
20376
20360
|
url: string;
|
@@ -20585,7 +20569,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
20585
20569
|
requestId: string;
|
20586
20570
|
}, {
|
20587
20571
|
data: {
|
20588
|
-
type:
|
20572
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
20589
20573
|
message: string;
|
20590
20574
|
id: string;
|
20591
20575
|
url: string;
|
@@ -21147,7 +21131,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
21147
21131
|
previewUrl: string;
|
21148
21132
|
imageSetId: string;
|
21149
21133
|
repliedMessage: {
|
21150
|
-
type:
|
21134
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
21151
21135
|
message: string;
|
21152
21136
|
id: string;
|
21153
21137
|
url: string;
|
@@ -21358,7 +21342,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
21358
21342
|
template?: any;
|
21359
21343
|
metadata?: any;
|
21360
21344
|
fromMessage?: {
|
21361
|
-
type:
|
21345
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
21362
21346
|
message: string;
|
21363
21347
|
id: string;
|
21364
21348
|
url: string;
|
@@ -21920,7 +21904,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
21920
21904
|
previewUrl: string;
|
21921
21905
|
imageSetId: string;
|
21922
21906
|
repliedMessage: {
|
21923
|
-
type:
|
21907
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
21924
21908
|
message: string;
|
21925
21909
|
id: string;
|
21926
21910
|
url: string;
|
@@ -22531,8 +22515,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
22531
22515
|
updatedAt: z.ZodString;
|
22532
22516
|
deletedAt: z.ZodNullable<z.ZodString>;
|
22533
22517
|
message: z.ZodOptional<z.ZodString>;
|
22534
|
-
direction: z.
|
22535
|
-
type: z.
|
22518
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
22519
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
22536
22520
|
metadata: z.ZodAny;
|
22537
22521
|
platformId: z.ZodString;
|
22538
22522
|
platformMessageId: z.ZodString;
|
@@ -22554,7 +22538,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
22554
22538
|
firstResponseAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
22555
22539
|
firstResponseTime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
22556
22540
|
isLatest: z.ZodOptional<z.ZodBoolean>;
|
22557
|
-
direction: z.ZodOptional<z.
|
22541
|
+
direction: z.ZodOptional<z.ZodEnum<["incoming", "outgoing", "system"]>>;
|
22558
22542
|
platformContact: z.ZodOptional<z.ZodObject<{
|
22559
22543
|
id: z.ZodString;
|
22560
22544
|
createdAt: z.ZodString;
|
@@ -26072,7 +26056,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
26072
26056
|
}>>>;
|
26073
26057
|
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
26074
26058
|
}, "strip", z.ZodTypeAny, {
|
26075
|
-
type:
|
26059
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
26076
26060
|
id: string;
|
26077
26061
|
direction: "incoming" | "outgoing" | "system";
|
26078
26062
|
createdAt: string;
|
@@ -26592,7 +26576,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
26592
26576
|
} | null | undefined;
|
26593
26577
|
label?: string | null | undefined;
|
26594
26578
|
}, {
|
26595
|
-
type:
|
26579
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
26596
26580
|
id: string;
|
26597
26581
|
direction: "incoming" | "outgoing" | "system";
|
26598
26582
|
createdAt: string;
|
@@ -27114,7 +27098,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
27114
27098
|
}>;
|
27115
27099
|
}, "strip", z.ZodTypeAny, {
|
27116
27100
|
message: {
|
27117
|
-
type:
|
27101
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
27118
27102
|
id: string;
|
27119
27103
|
direction: "incoming" | "outgoing" | "system";
|
27120
27104
|
createdAt: string;
|
@@ -27636,7 +27620,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
27636
27620
|
};
|
27637
27621
|
}, {
|
27638
27622
|
message: {
|
27639
|
-
type:
|
27623
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
27640
27624
|
id: string;
|
27641
27625
|
direction: "incoming" | "outgoing" | "system";
|
27642
27626
|
createdAt: string;
|