@kl1/contracts 1.3.47 → 1.3.48
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/channel/index.d.ts +1 -832
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +10 -0
- package/dist/api-contracts/src/channel/schema.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 +1828 -3069
- 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 +1600 -1610
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1600 -1609
- 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;
|
@@ -2636,8 +2620,8 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2636
2620
|
message: z.ZodObject<{
|
2637
2621
|
id: z.ZodOptional<z.ZodString>;
|
2638
2622
|
message: z.ZodOptional<z.ZodString>;
|
2639
|
-
direction: z.
|
2640
|
-
type: z.
|
2623
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
2624
|
+
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"]>;
|
2641
2625
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
2642
2626
|
metadata: z.ZodOptional<z.ZodAny>;
|
2643
2627
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -2693,7 +2677,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2693
2677
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
2694
2678
|
label: z.ZodOptional<z.ZodString>;
|
2695
2679
|
}, "strip", z.ZodTypeAny, {
|
2696
|
-
type:
|
2680
|
+
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";
|
2697
2681
|
direction: "incoming" | "outgoing" | "system";
|
2698
2682
|
id?: string | undefined;
|
2699
2683
|
message?: string | undefined;
|
@@ -2728,7 +2712,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2728
2712
|
editedAt?: string | Date | null | undefined;
|
2729
2713
|
label?: string | undefined;
|
2730
2714
|
}, {
|
2731
|
-
type:
|
2715
|
+
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";
|
2732
2716
|
direction: "incoming" | "outgoing" | "system";
|
2733
2717
|
id?: string | undefined;
|
2734
2718
|
message?: string | undefined;
|
@@ -2765,7 +2749,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2765
2749
|
}>;
|
2766
2750
|
}, "strip", z.ZodTypeAny, {
|
2767
2751
|
message: {
|
2768
|
-
type:
|
2752
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
2769
2753
|
direction: "incoming" | "outgoing" | "system";
|
2770
2754
|
id?: string | undefined;
|
2771
2755
|
message?: string | undefined;
|
@@ -2901,7 +2885,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2901
2885
|
isBot: boolean | null;
|
2902
2886
|
}, {
|
2903
2887
|
message: {
|
2904
|
-
type:
|
2888
|
+
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";
|
2905
2889
|
direction: "incoming" | "outgoing" | "system";
|
2906
2890
|
id?: string | undefined;
|
2907
2891
|
message?: string | undefined;
|
@@ -3040,8 +3024,8 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3040
3024
|
message: z.ZodObject<{
|
3041
3025
|
id: z.ZodOptional<z.ZodString>;
|
3042
3026
|
message: z.ZodOptional<z.ZodString>;
|
3043
|
-
direction: z.
|
3044
|
-
type: z.
|
3027
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3028
|
+
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"]>;
|
3045
3029
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
3046
3030
|
metadata: z.ZodOptional<z.ZodAny>;
|
3047
3031
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -3097,7 +3081,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3097
3081
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
3098
3082
|
label: z.ZodOptional<z.ZodString>;
|
3099
3083
|
}, "strip", z.ZodTypeAny, {
|
3100
|
-
type:
|
3084
|
+
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";
|
3101
3085
|
direction: "incoming" | "outgoing" | "system";
|
3102
3086
|
id?: string | undefined;
|
3103
3087
|
message?: string | undefined;
|
@@ -3132,7 +3116,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3132
3116
|
editedAt?: string | Date | null | undefined;
|
3133
3117
|
label?: string | undefined;
|
3134
3118
|
}, {
|
3135
|
-
type:
|
3119
|
+
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";
|
3136
3120
|
direction: "incoming" | "outgoing" | "system";
|
3137
3121
|
id?: string | undefined;
|
3138
3122
|
message?: string | undefined;
|
@@ -3172,7 +3156,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3172
3156
|
lastMessage: z.ZodOptional<z.ZodString>;
|
3173
3157
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
3174
3158
|
isLatest: z.ZodBoolean;
|
3175
|
-
direction: z.
|
3159
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3176
3160
|
metadata: z.ZodOptional<z.ZodAny>;
|
3177
3161
|
createdAt: z.ZodString;
|
3178
3162
|
updatedAt: z.ZodString;
|
@@ -3778,7 +3762,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3778
3762
|
}>>;
|
3779
3763
|
}, "strip", z.ZodTypeAny, {
|
3780
3764
|
message: {
|
3781
|
-
type:
|
3765
|
+
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";
|
3782
3766
|
direction: "incoming" | "outgoing" | "system";
|
3783
3767
|
id?: string | undefined;
|
3784
3768
|
message?: string | undefined;
|
@@ -3918,7 +3902,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3918
3902
|
} | undefined;
|
3919
3903
|
}, {
|
3920
3904
|
message: {
|
3921
|
-
type:
|
3905
|
+
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";
|
3922
3906
|
direction: "incoming" | "outgoing" | "system";
|
3923
3907
|
id?: string | undefined;
|
3924
3908
|
message?: string | undefined;
|
@@ -4060,11 +4044,11 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
4060
4044
|
export declare const SendMessageResponseSchema: z.ZodObject<{
|
4061
4045
|
requestId: z.ZodString;
|
4062
4046
|
data: z.ZodObject<{
|
4063
|
-
type: z.
|
4047
|
+
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"]>;
|
4064
4048
|
message: z.ZodString;
|
4065
4049
|
id: z.ZodString;
|
4066
4050
|
url: z.ZodString;
|
4067
|
-
direction: z.
|
4051
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4068
4052
|
label: z.ZodOptional<z.ZodString>;
|
4069
4053
|
template: z.ZodAny;
|
4070
4054
|
metadata: z.ZodAny;
|
@@ -4529,7 +4513,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4529
4513
|
firstResponseTime: z.ZodNumber;
|
4530
4514
|
isLatest: z.ZodBoolean;
|
4531
4515
|
isBotRoom: z.ZodBoolean;
|
4532
|
-
direction: z.
|
4516
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4533
4517
|
platformContact: z.ZodObject<{
|
4534
4518
|
id: z.ZodString;
|
4535
4519
|
createdAt: z.ZodDate;
|
@@ -8042,8 +8026,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8042
8026
|
updatedAt: z.ZodDate;
|
8043
8027
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8044
8028
|
message: z.ZodString;
|
8045
|
-
direction: z.
|
8046
|
-
type: z.
|
8029
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
8030
|
+
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"]>;
|
8047
8031
|
readAt: z.ZodDate;
|
8048
8032
|
metadata: z.ZodAny;
|
8049
8033
|
platformId: z.ZodString;
|
@@ -8701,7 +8685,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8701
8685
|
};
|
8702
8686
|
}>;
|
8703
8687
|
}, "strip", z.ZodTypeAny, {
|
8704
|
-
type:
|
8688
|
+
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";
|
8705
8689
|
message: string;
|
8706
8690
|
id: string;
|
8707
8691
|
url: string;
|
@@ -8863,7 +8847,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8863
8847
|
metadata?: any;
|
8864
8848
|
template?: any;
|
8865
8849
|
}, {
|
8866
|
-
type:
|
8850
|
+
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";
|
8867
8851
|
message: string;
|
8868
8852
|
id: string;
|
8869
8853
|
url: string;
|
@@ -9236,8 +9220,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
9236
9220
|
updatedAt: z.ZodDate;
|
9237
9221
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9238
9222
|
message: z.ZodString;
|
9239
|
-
direction: z.
|
9240
|
-
type: z.
|
9223
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
9224
|
+
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"]>;
|
9241
9225
|
readAt: z.ZodDate;
|
9242
9226
|
metadata: z.ZodAny;
|
9243
9227
|
platformId: z.ZodString;
|
@@ -9263,7 +9247,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
9263
9247
|
firstResponseTime: z.ZodNumber;
|
9264
9248
|
isLatest: z.ZodBoolean;
|
9265
9249
|
isBotRoom: z.ZodBoolean;
|
9266
|
-
direction: z.
|
9250
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
9267
9251
|
platformContact: z.ZodObject<{
|
9268
9252
|
id: z.ZodString;
|
9269
9253
|
createdAt: z.ZodDate;
|
@@ -12779,8 +12763,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
12779
12763
|
updatedAt: z.ZodDate;
|
12780
12764
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12781
12765
|
message: z.ZodString;
|
12782
|
-
direction: z.
|
12783
|
-
type: z.
|
12766
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
12767
|
+
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"]>;
|
12784
12768
|
readAt: z.ZodDate;
|
12785
12769
|
metadata: z.ZodAny;
|
12786
12770
|
platformId: z.ZodString;
|
@@ -13438,7 +13422,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
13438
13422
|
};
|
13439
13423
|
}>;
|
13440
13424
|
}, "strip", z.ZodTypeAny, {
|
13441
|
-
type:
|
13425
|
+
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";
|
13442
13426
|
message: string;
|
13443
13427
|
id: string;
|
13444
13428
|
url: string;
|
@@ -13600,7 +13584,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
13600
13584
|
metadata?: any;
|
13601
13585
|
template?: any;
|
13602
13586
|
}, {
|
13603
|
-
type:
|
13587
|
+
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";
|
13604
13588
|
message: string;
|
13605
13589
|
id: string;
|
13606
13590
|
url: string;
|
@@ -14402,7 +14386,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
14402
14386
|
editedMessageid: z.ZodString;
|
14403
14387
|
label: z.ZodOptional<z.ZodString>;
|
14404
14388
|
}, "strip", z.ZodTypeAny, {
|
14405
|
-
type:
|
14389
|
+
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";
|
14406
14390
|
message: string;
|
14407
14391
|
id: string;
|
14408
14392
|
url: string;
|
@@ -14964,7 +14948,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
14964
14948
|
previewUrl: string;
|
14965
14949
|
imageSetId: string;
|
14966
14950
|
repliedMessage: {
|
14967
|
-
type:
|
14951
|
+
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";
|
14968
14952
|
message: string;
|
14969
14953
|
id: string;
|
14970
14954
|
url: string;
|
@@ -15175,7 +15159,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
15175
15159
|
template?: any;
|
15176
15160
|
label?: string | undefined;
|
15177
15161
|
}, {
|
15178
|
-
type:
|
15162
|
+
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";
|
15179
15163
|
message: string;
|
15180
15164
|
id: string;
|
15181
15165
|
url: string;
|
@@ -15737,7 +15721,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
15737
15721
|
previewUrl: string;
|
15738
15722
|
imageSetId: string;
|
15739
15723
|
repliedMessage: {
|
15740
|
-
type:
|
15724
|
+
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";
|
15741
15725
|
message: string;
|
15742
15726
|
id: string;
|
15743
15727
|
url: string;
|
@@ -15949,7 +15933,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
15949
15933
|
label?: string | undefined;
|
15950
15934
|
}>>>;
|
15951
15935
|
}, "strip", z.ZodTypeAny, {
|
15952
|
-
type:
|
15936
|
+
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";
|
15953
15937
|
message: string;
|
15954
15938
|
id: string;
|
15955
15939
|
url: string;
|
@@ -16511,7 +16495,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
16511
16495
|
previewUrl: string;
|
16512
16496
|
imageSetId: string;
|
16513
16497
|
repliedMessage: {
|
16514
|
-
type:
|
16498
|
+
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";
|
16515
16499
|
message: string;
|
16516
16500
|
id: string;
|
16517
16501
|
url: string;
|
@@ -16722,7 +16706,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
16722
16706
|
template?: any;
|
16723
16707
|
metadata?: any;
|
16724
16708
|
fromMessage?: {
|
16725
|
-
type:
|
16709
|
+
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";
|
16726
16710
|
message: string;
|
16727
16711
|
id: string;
|
16728
16712
|
url: string;
|
@@ -17284,7 +17268,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
17284
17268
|
previewUrl: string;
|
17285
17269
|
imageSetId: string;
|
17286
17270
|
repliedMessage: {
|
17287
|
-
type:
|
17271
|
+
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";
|
17288
17272
|
message: string;
|
17289
17273
|
id: string;
|
17290
17274
|
url: string;
|
@@ -17496,7 +17480,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
17496
17480
|
label?: string | undefined;
|
17497
17481
|
} | null | undefined;
|
17498
17482
|
}, {
|
17499
|
-
type:
|
17483
|
+
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";
|
17500
17484
|
message: string;
|
17501
17485
|
id: string;
|
17502
17486
|
url: string;
|
@@ -18058,7 +18042,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
18058
18042
|
previewUrl: string;
|
18059
18043
|
imageSetId: string;
|
18060
18044
|
repliedMessage: {
|
18061
|
-
type:
|
18045
|
+
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";
|
18062
18046
|
message: string;
|
18063
18047
|
id: string;
|
18064
18048
|
url: string;
|
@@ -18269,7 +18253,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
18269
18253
|
template?: any;
|
18270
18254
|
metadata?: any;
|
18271
18255
|
fromMessage?: {
|
18272
|
-
type:
|
18256
|
+
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";
|
18273
18257
|
message: string;
|
18274
18258
|
id: string;
|
18275
18259
|
url: string;
|
@@ -18831,7 +18815,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
18831
18815
|
previewUrl: string;
|
18832
18816
|
imageSetId: string;
|
18833
18817
|
repliedMessage: {
|
18834
|
-
type:
|
18818
|
+
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";
|
18835
18819
|
message: string;
|
18836
18820
|
id: string;
|
18837
18821
|
url: string;
|
@@ -19045,7 +19029,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
19045
19029
|
}>;
|
19046
19030
|
}, "strip", z.ZodTypeAny, {
|
19047
19031
|
data: {
|
19048
|
-
type:
|
19032
|
+
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";
|
19049
19033
|
message: string;
|
19050
19034
|
id: string;
|
19051
19035
|
url: string;
|
@@ -19607,7 +19591,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
19607
19591
|
previewUrl: string;
|
19608
19592
|
imageSetId: string;
|
19609
19593
|
repliedMessage: {
|
19610
|
-
type:
|
19594
|
+
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";
|
19611
19595
|
message: string;
|
19612
19596
|
id: string;
|
19613
19597
|
url: string;
|
@@ -19818,7 +19802,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
19818
19802
|
template?: any;
|
19819
19803
|
metadata?: any;
|
19820
19804
|
fromMessage?: {
|
19821
|
-
type:
|
19805
|
+
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";
|
19822
19806
|
message: string;
|
19823
19807
|
id: string;
|
19824
19808
|
url: string;
|
@@ -20380,7 +20364,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
20380
20364
|
previewUrl: string;
|
20381
20365
|
imageSetId: string;
|
20382
20366
|
repliedMessage: {
|
20383
|
-
type:
|
20367
|
+
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";
|
20384
20368
|
message: string;
|
20385
20369
|
id: string;
|
20386
20370
|
url: string;
|
@@ -20595,7 +20579,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
20595
20579
|
requestId: string;
|
20596
20580
|
}, {
|
20597
20581
|
data: {
|
20598
|
-
type:
|
20582
|
+
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";
|
20599
20583
|
message: string;
|
20600
20584
|
id: string;
|
20601
20585
|
url: string;
|
@@ -21157,7 +21141,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
21157
21141
|
previewUrl: string;
|
21158
21142
|
imageSetId: string;
|
21159
21143
|
repliedMessage: {
|
21160
|
-
type:
|
21144
|
+
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";
|
21161
21145
|
message: string;
|
21162
21146
|
id: string;
|
21163
21147
|
url: string;
|
@@ -21368,7 +21352,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
21368
21352
|
template?: any;
|
21369
21353
|
metadata?: any;
|
21370
21354
|
fromMessage?: {
|
21371
|
-
type:
|
21355
|
+
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";
|
21372
21356
|
message: string;
|
21373
21357
|
id: string;
|
21374
21358
|
url: string;
|
@@ -21930,7 +21914,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
21930
21914
|
previewUrl: string;
|
21931
21915
|
imageSetId: string;
|
21932
21916
|
repliedMessage: {
|
21933
|
-
type:
|
21917
|
+
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";
|
21934
21918
|
message: string;
|
21935
21919
|
id: string;
|
21936
21920
|
url: string;
|
@@ -22541,8 +22525,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
22541
22525
|
updatedAt: z.ZodString;
|
22542
22526
|
deletedAt: z.ZodNullable<z.ZodString>;
|
22543
22527
|
message: z.ZodOptional<z.ZodString>;
|
22544
|
-
direction: z.
|
22545
|
-
type: z.
|
22528
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
22529
|
+
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"]>;
|
22546
22530
|
metadata: z.ZodAny;
|
22547
22531
|
platformId: z.ZodString;
|
22548
22532
|
platformMessageId: z.ZodString;
|
@@ -22564,7 +22548,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
22564
22548
|
firstResponseAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
22565
22549
|
firstResponseTime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
22566
22550
|
isLatest: z.ZodOptional<z.ZodBoolean>;
|
22567
|
-
direction: z.ZodOptional<z.
|
22551
|
+
direction: z.ZodOptional<z.ZodEnum<["incoming", "outgoing", "system"]>>;
|
22568
22552
|
platformContact: z.ZodOptional<z.ZodObject<{
|
22569
22553
|
id: z.ZodString;
|
22570
22554
|
createdAt: z.ZodString;
|
@@ -26082,7 +26066,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
26082
26066
|
}>>>;
|
26083
26067
|
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
26084
26068
|
}, "strip", z.ZodTypeAny, {
|
26085
|
-
type:
|
26069
|
+
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";
|
26086
26070
|
id: string;
|
26087
26071
|
direction: "incoming" | "outgoing" | "system";
|
26088
26072
|
createdAt: string;
|
@@ -26602,7 +26586,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
26602
26586
|
} | null | undefined;
|
26603
26587
|
label?: string | null | undefined;
|
26604
26588
|
}, {
|
26605
|
-
type:
|
26589
|
+
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";
|
26606
26590
|
id: string;
|
26607
26591
|
direction: "incoming" | "outgoing" | "system";
|
26608
26592
|
createdAt: string;
|
@@ -27124,7 +27108,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
27124
27108
|
}>;
|
27125
27109
|
}, "strip", z.ZodTypeAny, {
|
27126
27110
|
message: {
|
27127
|
-
type:
|
27111
|
+
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";
|
27128
27112
|
id: string;
|
27129
27113
|
direction: "incoming" | "outgoing" | "system";
|
27130
27114
|
createdAt: string;
|
@@ -27646,7 +27630,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
27646
27630
|
};
|
27647
27631
|
}, {
|
27648
27632
|
message: {
|
27649
|
-
type:
|
27633
|
+
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";
|
27650
27634
|
id: string;
|
27651
27635
|
direction: "incoming" | "outgoing" | "system";
|
27652
27636
|
createdAt: string;
|