@kl1/contracts 1.2.65-uat → 1.2.66-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/automation-queue/index.d.ts +3 -0
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +4 -798
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +3 -10
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +169 -189
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +45 -45
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +56 -72
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +1393 -2868
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +118 -5
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +63 -0
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +13 -0
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +43 -43
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
- package/dist/api-contracts/src/instagram/index.d.ts +33 -33
- package/dist/api-contracts/src/line/index.d.ts +38 -38
- package/dist/api-contracts/src/line/validation.d.ts +5 -5
- package/dist/api-contracts/src/messenger/index.d.ts +33 -33
- package/dist/api-contracts/src/sms/index.d.ts +5 -5
- package/dist/api-contracts/src/telegram/index.d.ts +33 -33
- package/dist/api-contracts/src/viber/index.d.ts +33 -33
- package/dist/api-contracts/src/webchat/index.d.ts +33 -33
- package/dist/api-contracts/src/whatsapp/index.d.ts +33 -33
- package/dist/api-contracts/src/workflow-rule/index.d.ts +12 -12
- package/dist/index.js +45 -44
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +45 -44
- 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.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"
|
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", "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
|
id: 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: "fallback" | "location" | "file" | "closed" | "open" | "
|
526
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
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: "fallback" | "location" | "file" | "closed" | "open" | "
|
598
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
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.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"
|
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", "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: "fallback" | "location" | "file" | "closed" | "open" | "
|
678
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
695
679
|
message?: string | undefined;
|
696
680
|
}, {
|
697
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "
|
681
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
698
682
|
message?: string | undefined;
|
699
683
|
}>;
|
700
684
|
}, "strip", z.ZodTypeAny, {
|
701
685
|
message: {
|
702
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "
|
686
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
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: "fallback" | "location" | "file" | "closed" | "open" | "
|
694
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
711
695
|
message?: string | undefined;
|
712
696
|
};
|
713
697
|
channelId: string;
|
@@ -1654,7 +1638,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
1654
1638
|
id: z.ZodOptional<z.ZodString>;
|
1655
1639
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1656
1640
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1657
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"
|
1641
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
1658
1642
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
1659
1643
|
metadata: z.ZodOptional<z.ZodAny>;
|
1660
1644
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -1706,7 +1690,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
1706
1690
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1707
1691
|
feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1708
1692
|
}, "strip", z.ZodTypeAny, {
|
1709
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
1693
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
1710
1694
|
direction: "incoming" | "outgoing" | "system";
|
1711
1695
|
id?: string | undefined;
|
1712
1696
|
message?: string | null | undefined;
|
@@ -1737,7 +1721,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
1737
1721
|
parentMessageId?: string | null | undefined;
|
1738
1722
|
feedPostId?: string | null | undefined;
|
1739
1723
|
}, {
|
1740
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
1724
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
1741
1725
|
direction: "incoming" | "outgoing" | "system";
|
1742
1726
|
id?: string | undefined;
|
1743
1727
|
message?: string | null | undefined;
|
@@ -1770,7 +1754,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
1770
1754
|
}>;
|
1771
1755
|
}, "strip", z.ZodTypeAny, {
|
1772
1756
|
message: {
|
1773
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
1757
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
1774
1758
|
direction: "incoming" | "outgoing" | "system";
|
1775
1759
|
id?: string | undefined;
|
1776
1760
|
message?: string | null | undefined;
|
@@ -1855,7 +1839,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
1855
1839
|
};
|
1856
1840
|
}, {
|
1857
1841
|
message: {
|
1858
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
1842
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
1859
1843
|
direction: "incoming" | "outgoing" | "system";
|
1860
1844
|
id?: string | undefined;
|
1861
1845
|
message?: string | null | undefined;
|
@@ -2506,7 +2490,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2506
2490
|
id: z.ZodOptional<z.ZodString>;
|
2507
2491
|
message: z.ZodOptional<z.ZodString>;
|
2508
2492
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
2509
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"
|
2493
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
2510
2494
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
2511
2495
|
metadata: z.ZodOptional<z.ZodAny>;
|
2512
2496
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -2562,7 +2546,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2562
2546
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
2563
2547
|
label: z.ZodOptional<z.ZodString>;
|
2564
2548
|
}, "strip", z.ZodTypeAny, {
|
2565
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
2549
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
2566
2550
|
direction: "incoming" | "outgoing" | "system";
|
2567
2551
|
id?: string | undefined;
|
2568
2552
|
message?: string | undefined;
|
@@ -2597,7 +2581,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2597
2581
|
editedAt?: string | Date | null | undefined;
|
2598
2582
|
label?: string | undefined;
|
2599
2583
|
}, {
|
2600
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
2584
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
2601
2585
|
direction: "incoming" | "outgoing" | "system";
|
2602
2586
|
id?: string | undefined;
|
2603
2587
|
message?: string | undefined;
|
@@ -2634,7 +2618,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2634
2618
|
}>;
|
2635
2619
|
}, "strip", z.ZodTypeAny, {
|
2636
2620
|
message: {
|
2637
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
2621
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
2638
2622
|
direction: "incoming" | "outgoing" | "system";
|
2639
2623
|
id?: string | undefined;
|
2640
2624
|
message?: string | undefined;
|
@@ -2765,7 +2749,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2765
2749
|
isBot: boolean | null;
|
2766
2750
|
}, {
|
2767
2751
|
message: {
|
2768
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
2752
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
2769
2753
|
direction: "incoming" | "outgoing" | "system";
|
2770
2754
|
id?: string | undefined;
|
2771
2755
|
message?: string | undefined;
|
@@ -2900,7 +2884,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
2900
2884
|
id: z.ZodOptional<z.ZodString>;
|
2901
2885
|
message: z.ZodOptional<z.ZodString>;
|
2902
2886
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
2903
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"
|
2887
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
2904
2888
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
2905
2889
|
metadata: z.ZodOptional<z.ZodAny>;
|
2906
2890
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -2956,7 +2940,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
2956
2940
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
2957
2941
|
label: z.ZodOptional<z.ZodString>;
|
2958
2942
|
}, "strip", z.ZodTypeAny, {
|
2959
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
2943
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
2960
2944
|
direction: "incoming" | "outgoing" | "system";
|
2961
2945
|
id?: string | undefined;
|
2962
2946
|
message?: string | undefined;
|
@@ -2991,7 +2975,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
2991
2975
|
editedAt?: string | Date | null | undefined;
|
2992
2976
|
label?: string | undefined;
|
2993
2977
|
}, {
|
2994
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
2978
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
2995
2979
|
direction: "incoming" | "outgoing" | "system";
|
2996
2980
|
id?: string | undefined;
|
2997
2981
|
message?: string | undefined;
|
@@ -3600,7 +3584,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3600
3584
|
}>>;
|
3601
3585
|
}, "strip", z.ZodTypeAny, {
|
3602
3586
|
message: {
|
3603
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
3587
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
3604
3588
|
direction: "incoming" | "outgoing" | "system";
|
3605
3589
|
id?: string | undefined;
|
3606
3590
|
message?: string | undefined;
|
@@ -3735,7 +3719,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3735
3719
|
} | undefined;
|
3736
3720
|
}, {
|
3737
3721
|
message: {
|
3738
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
3722
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
3739
3723
|
direction: "incoming" | "outgoing" | "system";
|
3740
3724
|
id?: string | undefined;
|
3741
3725
|
message?: string | undefined;
|
@@ -3872,7 +3856,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3872
3856
|
export declare const SendMessageResponseSchema: z.ZodObject<{
|
3873
3857
|
requestId: z.ZodString;
|
3874
3858
|
data: z.ZodObject<{
|
3875
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"
|
3859
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
3876
3860
|
message: z.ZodString;
|
3877
3861
|
id: z.ZodString;
|
3878
3862
|
url: z.ZodString;
|
@@ -7808,7 +7792,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
7808
7792
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7809
7793
|
message: z.ZodString;
|
7810
7794
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
7811
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"
|
7795
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
7812
7796
|
readAt: z.ZodDate;
|
7813
7797
|
metadata: z.ZodAny;
|
7814
7798
|
platformId: z.ZodString;
|
@@ -8466,7 +8450,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8466
8450
|
};
|
8467
8451
|
}>;
|
8468
8452
|
}, "strip", z.ZodTypeAny, {
|
8469
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
8453
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
8470
8454
|
message: string;
|
8471
8455
|
id: string;
|
8472
8456
|
url: string;
|
@@ -8628,7 +8612,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8628
8612
|
metadata?: any;
|
8629
8613
|
template?: any;
|
8630
8614
|
}, {
|
8631
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
8615
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
8632
8616
|
message: string;
|
8633
8617
|
id: string;
|
8634
8618
|
url: string;
|
@@ -9002,7 +8986,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
9002
8986
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9003
8987
|
message: z.ZodString;
|
9004
8988
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
9005
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"
|
8989
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
9006
8990
|
readAt: z.ZodDate;
|
9007
8991
|
metadata: z.ZodAny;
|
9008
8992
|
platformId: z.ZodString;
|
@@ -12498,7 +12482,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
12498
12482
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12499
12483
|
message: z.ZodString;
|
12500
12484
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
12501
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"
|
12485
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
12502
12486
|
readAt: z.ZodDate;
|
12503
12487
|
metadata: z.ZodAny;
|
12504
12488
|
platformId: z.ZodString;
|
@@ -13156,7 +13140,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
13156
13140
|
};
|
13157
13141
|
}>;
|
13158
13142
|
}, "strip", z.ZodTypeAny, {
|
13159
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
13143
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
13160
13144
|
message: string;
|
13161
13145
|
id: string;
|
13162
13146
|
url: string;
|
@@ -13318,7 +13302,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
13318
13302
|
metadata?: any;
|
13319
13303
|
template?: any;
|
13320
13304
|
}, {
|
13321
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
13305
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
13322
13306
|
message: string;
|
13323
13307
|
id: string;
|
13324
13308
|
url: string;
|
@@ -14120,7 +14104,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
14120
14104
|
editedMessageid: z.ZodString;
|
14121
14105
|
label: z.ZodOptional<z.ZodString>;
|
14122
14106
|
}, "strip", z.ZodTypeAny, {
|
14123
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
14107
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
14124
14108
|
message: string;
|
14125
14109
|
id: string;
|
14126
14110
|
url: string;
|
@@ -14675,7 +14659,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
14675
14659
|
previewUrl: string;
|
14676
14660
|
imageSetId: string;
|
14677
14661
|
repliedMessage: {
|
14678
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
14662
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
14679
14663
|
message: string;
|
14680
14664
|
id: string;
|
14681
14665
|
url: string;
|
@@ -14886,7 +14870,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
14886
14870
|
template?: any;
|
14887
14871
|
label?: string | undefined;
|
14888
14872
|
}, {
|
14889
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
14873
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
14890
14874
|
message: string;
|
14891
14875
|
id: string;
|
14892
14876
|
url: string;
|
@@ -15441,7 +15425,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
15441
15425
|
previewUrl: string;
|
15442
15426
|
imageSetId: string;
|
15443
15427
|
repliedMessage: {
|
15444
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
15428
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
15445
15429
|
message: string;
|
15446
15430
|
id: string;
|
15447
15431
|
url: string;
|
@@ -15653,7 +15637,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
15653
15637
|
label?: string | undefined;
|
15654
15638
|
}>>>;
|
15655
15639
|
}, "strip", z.ZodTypeAny, {
|
15656
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
15640
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
15657
15641
|
message: string;
|
15658
15642
|
id: string;
|
15659
15643
|
url: string;
|
@@ -16208,7 +16192,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
16208
16192
|
previewUrl: string;
|
16209
16193
|
imageSetId: string;
|
16210
16194
|
repliedMessage: {
|
16211
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
16195
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
16212
16196
|
message: string;
|
16213
16197
|
id: string;
|
16214
16198
|
url: string;
|
@@ -16419,7 +16403,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
16419
16403
|
template?: any;
|
16420
16404
|
metadata?: any;
|
16421
16405
|
fromMessage?: {
|
16422
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
16406
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
16423
16407
|
message: string;
|
16424
16408
|
id: string;
|
16425
16409
|
url: string;
|
@@ -16974,7 +16958,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
16974
16958
|
previewUrl: string;
|
16975
16959
|
imageSetId: string;
|
16976
16960
|
repliedMessage: {
|
16977
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
16961
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
16978
16962
|
message: string;
|
16979
16963
|
id: string;
|
16980
16964
|
url: string;
|
@@ -17186,7 +17170,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
17186
17170
|
label?: string | undefined;
|
17187
17171
|
} | null | undefined;
|
17188
17172
|
}, {
|
17189
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
17173
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
17190
17174
|
message: string;
|
17191
17175
|
id: string;
|
17192
17176
|
url: string;
|
@@ -17741,7 +17725,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
17741
17725
|
previewUrl: string;
|
17742
17726
|
imageSetId: string;
|
17743
17727
|
repliedMessage: {
|
17744
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
17728
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
17745
17729
|
message: string;
|
17746
17730
|
id: string;
|
17747
17731
|
url: string;
|
@@ -17952,7 +17936,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
17952
17936
|
template?: any;
|
17953
17937
|
metadata?: any;
|
17954
17938
|
fromMessage?: {
|
17955
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
17939
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
17956
17940
|
message: string;
|
17957
17941
|
id: string;
|
17958
17942
|
url: string;
|
@@ -18507,7 +18491,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
18507
18491
|
previewUrl: string;
|
18508
18492
|
imageSetId: string;
|
18509
18493
|
repliedMessage: {
|
18510
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
18494
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
18511
18495
|
message: string;
|
18512
18496
|
id: string;
|
18513
18497
|
url: string;
|
@@ -18721,7 +18705,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
18721
18705
|
}>;
|
18722
18706
|
}, "strip", z.ZodTypeAny, {
|
18723
18707
|
data: {
|
18724
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
18708
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
18725
18709
|
message: string;
|
18726
18710
|
id: string;
|
18727
18711
|
url: string;
|
@@ -19276,7 +19260,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
19276
19260
|
previewUrl: string;
|
19277
19261
|
imageSetId: string;
|
19278
19262
|
repliedMessage: {
|
19279
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
19263
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
19280
19264
|
message: string;
|
19281
19265
|
id: string;
|
19282
19266
|
url: string;
|
@@ -19487,7 +19471,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
19487
19471
|
template?: any;
|
19488
19472
|
metadata?: any;
|
19489
19473
|
fromMessage?: {
|
19490
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
19474
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
19491
19475
|
message: string;
|
19492
19476
|
id: string;
|
19493
19477
|
url: string;
|
@@ -20042,7 +20026,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
20042
20026
|
previewUrl: string;
|
20043
20027
|
imageSetId: string;
|
20044
20028
|
repliedMessage: {
|
20045
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
20029
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
20046
20030
|
message: string;
|
20047
20031
|
id: string;
|
20048
20032
|
url: string;
|
@@ -20257,7 +20241,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
20257
20241
|
requestId: string;
|
20258
20242
|
}, {
|
20259
20243
|
data: {
|
20260
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
20244
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
20261
20245
|
message: string;
|
20262
20246
|
id: string;
|
20263
20247
|
url: string;
|
@@ -20812,7 +20796,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
20812
20796
|
previewUrl: string;
|
20813
20797
|
imageSetId: string;
|
20814
20798
|
repliedMessage: {
|
20815
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
20799
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
20816
20800
|
message: string;
|
20817
20801
|
id: string;
|
20818
20802
|
url: string;
|
@@ -21023,7 +21007,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
21023
21007
|
template?: any;
|
21024
21008
|
metadata?: any;
|
21025
21009
|
fromMessage?: {
|
21026
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
21010
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
21027
21011
|
message: string;
|
21028
21012
|
id: string;
|
21029
21013
|
url: string;
|
@@ -21578,7 +21562,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
21578
21562
|
previewUrl: string;
|
21579
21563
|
imageSetId: string;
|
21580
21564
|
repliedMessage: {
|
21581
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
21565
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
21582
21566
|
message: string;
|
21583
21567
|
id: string;
|
21584
21568
|
url: string;
|
@@ -22156,7 +22140,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
22156
22140
|
deletedAt: z.ZodNullable<z.ZodString>;
|
22157
22141
|
message: z.ZodOptional<z.ZodString>;
|
22158
22142
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
22159
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"
|
22143
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
22160
22144
|
metadata: z.ZodAny;
|
22161
22145
|
platformId: z.ZodString;
|
22162
22146
|
platformMessageId: z.ZodString;
|
@@ -25662,7 +25646,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
25662
25646
|
}>>>;
|
25663
25647
|
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
25664
25648
|
}, "strip", z.ZodTypeAny, {
|
25665
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
25649
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
25666
25650
|
id: string;
|
25667
25651
|
direction: "incoming" | "outgoing" | "system";
|
25668
25652
|
createdAt: string;
|
@@ -26178,7 +26162,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
26178
26162
|
} | null | undefined;
|
26179
26163
|
label?: string | null | undefined;
|
26180
26164
|
}, {
|
26181
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
26165
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
26182
26166
|
id: string;
|
26183
26167
|
direction: "incoming" | "outgoing" | "system";
|
26184
26168
|
createdAt: string;
|
@@ -26696,7 +26680,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
26696
26680
|
}>;
|
26697
26681
|
}, "strip", z.ZodTypeAny, {
|
26698
26682
|
message: {
|
26699
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
26683
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
26700
26684
|
id: string;
|
26701
26685
|
direction: "incoming" | "outgoing" | "system";
|
26702
26686
|
createdAt: string;
|
@@ -27214,7 +27198,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
27214
27198
|
};
|
27215
27199
|
}, {
|
27216
27200
|
message: {
|
27217
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "
|
27201
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
27218
27202
|
id: string;
|
27219
27203
|
direction: "incoming" | "outgoing" | "system";
|
27220
27204
|
createdAt: string;
|