@kl1/contracts 1.2.59-uat → 1.2.60-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-contracts/src/channel/index.d.ts +791 -0
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +285 -169
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +70 -45
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +72 -56
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +2366 -639
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +59 -43
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
- package/dist/api-contracts/src/instagram/index.d.ts +49 -33
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +54 -38
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +5 -5
- package/dist/api-contracts/src/messenger/index.d.ts +49 -33
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +5 -5
- package/dist/api-contracts/src/telegram/index.d.ts +49 -33
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +49 -33
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +49 -33
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +49 -33
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +29 -12
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +12 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -264,7 +264,7 @@ export declare const ActionMessageSchema: z.ZodObject<{
|
|
|
264
264
|
}>;
|
|
265
265
|
export declare const SendMessageSchema: z.ZodObject<{
|
|
266
266
|
roomId: z.ZodString;
|
|
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", "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"]>;
|
|
268
268
|
message: z.ZodOptional<z.ZodString>;
|
|
269
269
|
messageAttachments: z.ZodOptional<z.ZodObject<{
|
|
270
270
|
bucketName: z.ZodString;
|
|
@@ -523,7 +523,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
523
523
|
mentions?: string[] | undefined;
|
|
524
524
|
}>>;
|
|
525
525
|
}, "strip", z.ZodTypeAny, {
|
|
526
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
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";
|
|
527
527
|
roomId: string;
|
|
528
528
|
message?: string | undefined;
|
|
529
529
|
messageAttachments?: {
|
|
@@ -595,7 +595,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
|
595
595
|
mentions?: string[] | undefined;
|
|
596
596
|
} | undefined;
|
|
597
597
|
}, {
|
|
598
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
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";
|
|
599
599
|
roomId: string;
|
|
600
600
|
message?: string | undefined;
|
|
601
601
|
messageAttachments?: {
|
|
@@ -673,17 +673,17 @@ export declare const InitiateMessageSchema: z.ZodObject<{
|
|
|
673
673
|
contactId: z.ZodOptional<z.ZodString>;
|
|
674
674
|
message: z.ZodObject<{
|
|
675
675
|
message: z.ZodOptional<z.ZodString>;
|
|
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", "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"]>;
|
|
677
677
|
}, "strip", z.ZodTypeAny, {
|
|
678
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
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";
|
|
679
679
|
message?: string | undefined;
|
|
680
680
|
}, {
|
|
681
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
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";
|
|
682
682
|
message?: string | undefined;
|
|
683
683
|
}>;
|
|
684
684
|
}, "strip", z.ZodTypeAny, {
|
|
685
685
|
message: {
|
|
686
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
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";
|
|
687
687
|
message?: string | undefined;
|
|
688
688
|
};
|
|
689
689
|
channelId: string;
|
|
@@ -691,7 +691,7 @@ export declare const InitiateMessageSchema: z.ZodObject<{
|
|
|
691
691
|
contactId?: string | undefined;
|
|
692
692
|
}, {
|
|
693
693
|
message: {
|
|
694
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
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";
|
|
695
695
|
message?: string | undefined;
|
|
696
696
|
};
|
|
697
697
|
channelId: string;
|
|
@@ -1621,7 +1621,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1621
1621
|
id: z.ZodOptional<z.ZodString>;
|
|
1622
1622
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1623
1623
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
1624
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
1624
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
1625
1625
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
1626
1626
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
1627
1627
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -1673,7 +1673,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1673
1673
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1674
1674
|
feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1675
1675
|
}, "strip", z.ZodTypeAny, {
|
|
1676
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1676
|
+
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";
|
|
1677
1677
|
direction: "incoming" | "outgoing" | "system";
|
|
1678
1678
|
id?: string | undefined;
|
|
1679
1679
|
message?: string | null | undefined;
|
|
@@ -1704,7 +1704,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1704
1704
|
parentMessageId?: string | null | undefined;
|
|
1705
1705
|
feedPostId?: string | null | undefined;
|
|
1706
1706
|
}, {
|
|
1707
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1707
|
+
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";
|
|
1708
1708
|
direction: "incoming" | "outgoing" | "system";
|
|
1709
1709
|
id?: string | undefined;
|
|
1710
1710
|
message?: string | null | undefined;
|
|
@@ -1737,7 +1737,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1737
1737
|
}>;
|
|
1738
1738
|
}, "strip", z.ZodTypeAny, {
|
|
1739
1739
|
message: {
|
|
1740
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1740
|
+
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
1741
|
direction: "incoming" | "outgoing" | "system";
|
|
1742
1742
|
id?: string | undefined;
|
|
1743
1743
|
message?: string | null | undefined;
|
|
@@ -1821,7 +1821,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
|
1821
1821
|
};
|
|
1822
1822
|
}, {
|
|
1823
1823
|
message: {
|
|
1824
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
1824
|
+
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";
|
|
1825
1825
|
direction: "incoming" | "outgoing" | "system";
|
|
1826
1826
|
id?: string | undefined;
|
|
1827
1827
|
message?: string | null | undefined;
|
|
@@ -2464,7 +2464,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2464
2464
|
id: z.ZodOptional<z.ZodString>;
|
|
2465
2465
|
message: z.ZodOptional<z.ZodString>;
|
|
2466
2466
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
2467
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
2467
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
2468
2468
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2469
2469
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
2470
2470
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -2520,7 +2520,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2520
2520
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2521
2521
|
label: z.ZodOptional<z.ZodString>;
|
|
2522
2522
|
}, "strip", z.ZodTypeAny, {
|
|
2523
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2523
|
+
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";
|
|
2524
2524
|
direction: "incoming" | "outgoing" | "system";
|
|
2525
2525
|
id?: string | undefined;
|
|
2526
2526
|
message?: string | undefined;
|
|
@@ -2555,7 +2555,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2555
2555
|
editedAt?: string | Date | null | undefined;
|
|
2556
2556
|
label?: string | undefined;
|
|
2557
2557
|
}, {
|
|
2558
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2558
|
+
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";
|
|
2559
2559
|
direction: "incoming" | "outgoing" | "system";
|
|
2560
2560
|
id?: string | undefined;
|
|
2561
2561
|
message?: string | undefined;
|
|
@@ -2592,7 +2592,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2592
2592
|
}>;
|
|
2593
2593
|
}, "strip", z.ZodTypeAny, {
|
|
2594
2594
|
message: {
|
|
2595
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2595
|
+
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";
|
|
2596
2596
|
direction: "incoming" | "outgoing" | "system";
|
|
2597
2597
|
id?: string | undefined;
|
|
2598
2598
|
message?: string | undefined;
|
|
@@ -2722,7 +2722,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
|
2722
2722
|
isBot: boolean | null;
|
|
2723
2723
|
}, {
|
|
2724
2724
|
message: {
|
|
2725
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2725
|
+
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";
|
|
2726
2726
|
direction: "incoming" | "outgoing" | "system";
|
|
2727
2727
|
id?: string | undefined;
|
|
2728
2728
|
message?: string | undefined;
|
|
@@ -2856,7 +2856,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
2856
2856
|
id: z.ZodOptional<z.ZodString>;
|
|
2857
2857
|
message: z.ZodOptional<z.ZodString>;
|
|
2858
2858
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
2859
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
2859
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
2860
2860
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2861
2861
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
2862
2862
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -2912,7 +2912,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
2912
2912
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
|
2913
2913
|
label: z.ZodOptional<z.ZodString>;
|
|
2914
2914
|
}, "strip", z.ZodTypeAny, {
|
|
2915
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2915
|
+
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";
|
|
2916
2916
|
direction: "incoming" | "outgoing" | "system";
|
|
2917
2917
|
id?: string | undefined;
|
|
2918
2918
|
message?: string | undefined;
|
|
@@ -2947,7 +2947,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
2947
2947
|
editedAt?: string | Date | null | undefined;
|
|
2948
2948
|
label?: string | undefined;
|
|
2949
2949
|
}, {
|
|
2950
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
2950
|
+
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";
|
|
2951
2951
|
direction: "incoming" | "outgoing" | "system";
|
|
2952
2952
|
id?: string | undefined;
|
|
2953
2953
|
message?: string | undefined;
|
|
@@ -3549,7 +3549,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3549
3549
|
}>>;
|
|
3550
3550
|
}, "strip", z.ZodTypeAny, {
|
|
3551
3551
|
message: {
|
|
3552
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
3552
|
+
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";
|
|
3553
3553
|
direction: "incoming" | "outgoing" | "system";
|
|
3554
3554
|
id?: string | undefined;
|
|
3555
3555
|
message?: string | undefined;
|
|
@@ -3683,7 +3683,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3683
3683
|
} | undefined;
|
|
3684
3684
|
}, {
|
|
3685
3685
|
message: {
|
|
3686
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
3686
|
+
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";
|
|
3687
3687
|
direction: "incoming" | "outgoing" | "system";
|
|
3688
3688
|
id?: string | undefined;
|
|
3689
3689
|
message?: string | undefined;
|
|
@@ -3819,7 +3819,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
|
3819
3819
|
export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3820
3820
|
requestId: z.ZodString;
|
|
3821
3821
|
data: z.ZodObject<{
|
|
3822
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
3822
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
3823
3823
|
message: z.ZodString;
|
|
3824
3824
|
id: z.ZodString;
|
|
3825
3825
|
url: z.ZodString;
|
|
@@ -5336,6 +5336,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
5336
5336
|
channelId: string;
|
|
5337
5337
|
socialPlatformId: string;
|
|
5338
5338
|
}>;
|
|
5339
|
+
csatStatus: z.ZodNullable<z.ZodString>;
|
|
5339
5340
|
actor: z.ZodObject<{
|
|
5340
5341
|
id: z.ZodString;
|
|
5341
5342
|
createdAt: z.ZodDate;
|
|
@@ -7178,6 +7179,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7178
7179
|
closedAt: Date;
|
|
7179
7180
|
lastMessageAt: Date | null;
|
|
7180
7181
|
isBotRoom: boolean;
|
|
7182
|
+
csatStatus: string | null;
|
|
7181
7183
|
cxlog: {
|
|
7182
7184
|
id: string;
|
|
7183
7185
|
channel: string | null;
|
|
@@ -7605,6 +7607,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7605
7607
|
closedAt: Date;
|
|
7606
7608
|
lastMessageAt: Date | null;
|
|
7607
7609
|
isBotRoom: boolean;
|
|
7610
|
+
csatStatus: string | null;
|
|
7608
7611
|
cxlog: {
|
|
7609
7612
|
id: string;
|
|
7610
7613
|
channel: string | null;
|
|
@@ -7745,7 +7748,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
7745
7748
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7746
7749
|
message: z.ZodString;
|
|
7747
7750
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
7748
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
7751
|
+
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"]>;
|
|
7749
7752
|
readAt: z.ZodDate;
|
|
7750
7753
|
metadata: z.ZodAny;
|
|
7751
7754
|
platformId: z.ZodString;
|
|
@@ -8403,7 +8406,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
8403
8406
|
};
|
|
8404
8407
|
}>;
|
|
8405
8408
|
}, "strip", z.ZodTypeAny, {
|
|
8406
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
8409
|
+
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";
|
|
8407
8410
|
message: string;
|
|
8408
8411
|
id: string;
|
|
8409
8412
|
url: string;
|
|
@@ -8565,7 +8568,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
8565
8568
|
metadata?: any;
|
|
8566
8569
|
template?: any;
|
|
8567
8570
|
}, {
|
|
8568
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
8571
|
+
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";
|
|
8569
8572
|
message: string;
|
|
8570
8573
|
id: string;
|
|
8571
8574
|
url: string;
|
|
@@ -8939,7 +8942,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
8939
8942
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
8940
8943
|
message: z.ZodString;
|
|
8941
8944
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
8942
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
8945
|
+
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"]>;
|
|
8943
8946
|
readAt: z.ZodDate;
|
|
8944
8947
|
metadata: z.ZodAny;
|
|
8945
8948
|
platformId: z.ZodString;
|
|
@@ -10013,6 +10016,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
10013
10016
|
channelId: string;
|
|
10014
10017
|
socialPlatformId: string;
|
|
10015
10018
|
}>;
|
|
10019
|
+
csatStatus: z.ZodNullable<z.ZodString>;
|
|
10016
10020
|
actor: z.ZodObject<{
|
|
10017
10021
|
id: z.ZodString;
|
|
10018
10022
|
createdAt: z.ZodDate;
|
|
@@ -11855,6 +11859,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
11855
11859
|
closedAt: Date;
|
|
11856
11860
|
lastMessageAt: Date | null;
|
|
11857
11861
|
isBotRoom: boolean;
|
|
11862
|
+
csatStatus: string | null;
|
|
11858
11863
|
cxlog: {
|
|
11859
11864
|
id: string;
|
|
11860
11865
|
channel: string | null;
|
|
@@ -12282,6 +12287,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12282
12287
|
closedAt: Date;
|
|
12283
12288
|
lastMessageAt: Date | null;
|
|
12284
12289
|
isBotRoom: boolean;
|
|
12290
|
+
csatStatus: string | null;
|
|
12285
12291
|
cxlog: {
|
|
12286
12292
|
id: string;
|
|
12287
12293
|
channel: string | null;
|
|
@@ -12425,7 +12431,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
12425
12431
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12426
12432
|
message: z.ZodString;
|
|
12427
12433
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
12428
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
12434
|
+
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"]>;
|
|
12429
12435
|
readAt: z.ZodDate;
|
|
12430
12436
|
metadata: z.ZodAny;
|
|
12431
12437
|
platformId: z.ZodString;
|
|
@@ -13083,7 +13089,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
13083
13089
|
};
|
|
13084
13090
|
}>;
|
|
13085
13091
|
}, "strip", z.ZodTypeAny, {
|
|
13086
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
13092
|
+
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";
|
|
13087
13093
|
message: string;
|
|
13088
13094
|
id: string;
|
|
13089
13095
|
url: string;
|
|
@@ -13245,7 +13251,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
13245
13251
|
metadata?: any;
|
|
13246
13252
|
template?: any;
|
|
13247
13253
|
}, {
|
|
13248
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
13254
|
+
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";
|
|
13249
13255
|
message: string;
|
|
13250
13256
|
id: string;
|
|
13251
13257
|
url: string;
|
|
@@ -14047,7 +14053,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14047
14053
|
editedMessageid: z.ZodString;
|
|
14048
14054
|
label: z.ZodOptional<z.ZodString>;
|
|
14049
14055
|
}, "strip", z.ZodTypeAny, {
|
|
14050
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
14056
|
+
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";
|
|
14051
14057
|
message: string;
|
|
14052
14058
|
id: string;
|
|
14053
14059
|
url: string;
|
|
@@ -14482,6 +14488,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14482
14488
|
closedAt: Date;
|
|
14483
14489
|
lastMessageAt: Date | null;
|
|
14484
14490
|
isBotRoom: boolean;
|
|
14491
|
+
csatStatus: string | null;
|
|
14485
14492
|
cxlog: {
|
|
14486
14493
|
id: string;
|
|
14487
14494
|
channel: string | null;
|
|
@@ -14600,7 +14607,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14600
14607
|
previewUrl: string;
|
|
14601
14608
|
imageSetId: string;
|
|
14602
14609
|
repliedMessage: {
|
|
14603
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
14610
|
+
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";
|
|
14604
14611
|
message: string;
|
|
14605
14612
|
id: string;
|
|
14606
14613
|
url: string;
|
|
@@ -14811,7 +14818,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
14811
14818
|
template?: any;
|
|
14812
14819
|
label?: string | undefined;
|
|
14813
14820
|
}, {
|
|
14814
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
14821
|
+
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";
|
|
14815
14822
|
message: string;
|
|
14816
14823
|
id: string;
|
|
14817
14824
|
url: string;
|
|
@@ -15246,6 +15253,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15246
15253
|
closedAt: Date;
|
|
15247
15254
|
lastMessageAt: Date | null;
|
|
15248
15255
|
isBotRoom: boolean;
|
|
15256
|
+
csatStatus: string | null;
|
|
15249
15257
|
cxlog: {
|
|
15250
15258
|
id: string;
|
|
15251
15259
|
channel: string | null;
|
|
@@ -15364,7 +15372,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15364
15372
|
previewUrl: string;
|
|
15365
15373
|
imageSetId: string;
|
|
15366
15374
|
repliedMessage: {
|
|
15367
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
15375
|
+
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";
|
|
15368
15376
|
message: string;
|
|
15369
15377
|
id: string;
|
|
15370
15378
|
url: string;
|
|
@@ -15576,7 +15584,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
15576
15584
|
label?: string | undefined;
|
|
15577
15585
|
}>>>;
|
|
15578
15586
|
}, "strip", z.ZodTypeAny, {
|
|
15579
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
15587
|
+
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";
|
|
15580
15588
|
message: string;
|
|
15581
15589
|
id: string;
|
|
15582
15590
|
url: string;
|
|
@@ -16011,6 +16019,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16011
16019
|
closedAt: Date;
|
|
16012
16020
|
lastMessageAt: Date | null;
|
|
16013
16021
|
isBotRoom: boolean;
|
|
16022
|
+
csatStatus: string | null;
|
|
16014
16023
|
cxlog: {
|
|
16015
16024
|
id: string;
|
|
16016
16025
|
channel: string | null;
|
|
@@ -16129,7 +16138,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16129
16138
|
previewUrl: string;
|
|
16130
16139
|
imageSetId: string;
|
|
16131
16140
|
repliedMessage: {
|
|
16132
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
16141
|
+
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";
|
|
16133
16142
|
message: string;
|
|
16134
16143
|
id: string;
|
|
16135
16144
|
url: string;
|
|
@@ -16340,7 +16349,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16340
16349
|
template?: any;
|
|
16341
16350
|
metadata?: any;
|
|
16342
16351
|
fromMessage?: {
|
|
16343
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
16352
|
+
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";
|
|
16344
16353
|
message: string;
|
|
16345
16354
|
id: string;
|
|
16346
16355
|
url: string;
|
|
@@ -16775,6 +16784,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16775
16784
|
closedAt: Date;
|
|
16776
16785
|
lastMessageAt: Date | null;
|
|
16777
16786
|
isBotRoom: boolean;
|
|
16787
|
+
csatStatus: string | null;
|
|
16778
16788
|
cxlog: {
|
|
16779
16789
|
id: string;
|
|
16780
16790
|
channel: string | null;
|
|
@@ -16893,7 +16903,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
16893
16903
|
previewUrl: string;
|
|
16894
16904
|
imageSetId: string;
|
|
16895
16905
|
repliedMessage: {
|
|
16896
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
16906
|
+
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";
|
|
16897
16907
|
message: string;
|
|
16898
16908
|
id: string;
|
|
16899
16909
|
url: string;
|
|
@@ -17105,7 +17115,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17105
17115
|
label?: string | undefined;
|
|
17106
17116
|
} | null | undefined;
|
|
17107
17117
|
}, {
|
|
17108
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
17118
|
+
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";
|
|
17109
17119
|
message: string;
|
|
17110
17120
|
id: string;
|
|
17111
17121
|
url: string;
|
|
@@ -17540,6 +17550,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17540
17550
|
closedAt: Date;
|
|
17541
17551
|
lastMessageAt: Date | null;
|
|
17542
17552
|
isBotRoom: boolean;
|
|
17553
|
+
csatStatus: string | null;
|
|
17543
17554
|
cxlog: {
|
|
17544
17555
|
id: string;
|
|
17545
17556
|
channel: string | null;
|
|
@@ -17658,7 +17669,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17658
17669
|
previewUrl: string;
|
|
17659
17670
|
imageSetId: string;
|
|
17660
17671
|
repliedMessage: {
|
|
17661
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
17672
|
+
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";
|
|
17662
17673
|
message: string;
|
|
17663
17674
|
id: string;
|
|
17664
17675
|
url: string;
|
|
@@ -17869,7 +17880,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
17869
17880
|
template?: any;
|
|
17870
17881
|
metadata?: any;
|
|
17871
17882
|
fromMessage?: {
|
|
17872
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
17883
|
+
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";
|
|
17873
17884
|
message: string;
|
|
17874
17885
|
id: string;
|
|
17875
17886
|
url: string;
|
|
@@ -18304,6 +18315,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18304
18315
|
closedAt: Date;
|
|
18305
18316
|
lastMessageAt: Date | null;
|
|
18306
18317
|
isBotRoom: boolean;
|
|
18318
|
+
csatStatus: string | null;
|
|
18307
18319
|
cxlog: {
|
|
18308
18320
|
id: string;
|
|
18309
18321
|
channel: string | null;
|
|
@@ -18422,7 +18434,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18422
18434
|
previewUrl: string;
|
|
18423
18435
|
imageSetId: string;
|
|
18424
18436
|
repliedMessage: {
|
|
18425
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18437
|
+
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";
|
|
18426
18438
|
message: string;
|
|
18427
18439
|
id: string;
|
|
18428
18440
|
url: string;
|
|
@@ -18636,7 +18648,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
18636
18648
|
}>;
|
|
18637
18649
|
}, "strip", z.ZodTypeAny, {
|
|
18638
18650
|
data: {
|
|
18639
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18651
|
+
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";
|
|
18640
18652
|
message: string;
|
|
18641
18653
|
id: string;
|
|
18642
18654
|
url: string;
|
|
@@ -19071,6 +19083,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19071
19083
|
closedAt: Date;
|
|
19072
19084
|
lastMessageAt: Date | null;
|
|
19073
19085
|
isBotRoom: boolean;
|
|
19086
|
+
csatStatus: string | null;
|
|
19074
19087
|
cxlog: {
|
|
19075
19088
|
id: string;
|
|
19076
19089
|
channel: string | null;
|
|
@@ -19189,7 +19202,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19189
19202
|
previewUrl: string;
|
|
19190
19203
|
imageSetId: string;
|
|
19191
19204
|
repliedMessage: {
|
|
19192
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
19205
|
+
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";
|
|
19193
19206
|
message: string;
|
|
19194
19207
|
id: string;
|
|
19195
19208
|
url: string;
|
|
@@ -19400,7 +19413,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19400
19413
|
template?: any;
|
|
19401
19414
|
metadata?: any;
|
|
19402
19415
|
fromMessage?: {
|
|
19403
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
19416
|
+
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";
|
|
19404
19417
|
message: string;
|
|
19405
19418
|
id: string;
|
|
19406
19419
|
url: string;
|
|
@@ -19835,6 +19848,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19835
19848
|
closedAt: Date;
|
|
19836
19849
|
lastMessageAt: Date | null;
|
|
19837
19850
|
isBotRoom: boolean;
|
|
19851
|
+
csatStatus: string | null;
|
|
19838
19852
|
cxlog: {
|
|
19839
19853
|
id: string;
|
|
19840
19854
|
channel: string | null;
|
|
@@ -19953,7 +19967,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
19953
19967
|
previewUrl: string;
|
|
19954
19968
|
imageSetId: string;
|
|
19955
19969
|
repliedMessage: {
|
|
19956
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
19970
|
+
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";
|
|
19957
19971
|
message: string;
|
|
19958
19972
|
id: string;
|
|
19959
19973
|
url: string;
|
|
@@ -20168,7 +20182,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20168
20182
|
requestId: string;
|
|
20169
20183
|
}, {
|
|
20170
20184
|
data: {
|
|
20171
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
20185
|
+
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";
|
|
20172
20186
|
message: string;
|
|
20173
20187
|
id: string;
|
|
20174
20188
|
url: string;
|
|
@@ -20603,6 +20617,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20603
20617
|
closedAt: Date;
|
|
20604
20618
|
lastMessageAt: Date | null;
|
|
20605
20619
|
isBotRoom: boolean;
|
|
20620
|
+
csatStatus: string | null;
|
|
20606
20621
|
cxlog: {
|
|
20607
20622
|
id: string;
|
|
20608
20623
|
channel: string | null;
|
|
@@ -20721,7 +20736,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20721
20736
|
previewUrl: string;
|
|
20722
20737
|
imageSetId: string;
|
|
20723
20738
|
repliedMessage: {
|
|
20724
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
20739
|
+
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";
|
|
20725
20740
|
message: string;
|
|
20726
20741
|
id: string;
|
|
20727
20742
|
url: string;
|
|
@@ -20932,7 +20947,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
20932
20947
|
template?: any;
|
|
20933
20948
|
metadata?: any;
|
|
20934
20949
|
fromMessage?: {
|
|
20935
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
20950
|
+
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";
|
|
20936
20951
|
message: string;
|
|
20937
20952
|
id: string;
|
|
20938
20953
|
url: string;
|
|
@@ -21367,6 +21382,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21367
21382
|
closedAt: Date;
|
|
21368
21383
|
lastMessageAt: Date | null;
|
|
21369
21384
|
isBotRoom: boolean;
|
|
21385
|
+
csatStatus: string | null;
|
|
21370
21386
|
cxlog: {
|
|
21371
21387
|
id: string;
|
|
21372
21388
|
channel: string | null;
|
|
@@ -21485,7 +21501,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
|
21485
21501
|
previewUrl: string;
|
|
21486
21502
|
imageSetId: string;
|
|
21487
21503
|
repliedMessage: {
|
|
21488
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
21504
|
+
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";
|
|
21489
21505
|
message: string;
|
|
21490
21506
|
id: string;
|
|
21491
21507
|
url: string;
|
|
@@ -22056,7 +22072,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
22056
22072
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
22057
22073
|
message: z.ZodOptional<z.ZodString>;
|
|
22058
22074
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
22059
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
22075
|
+
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"]>;
|
|
22060
22076
|
metadata: z.ZodAny;
|
|
22061
22077
|
platformId: z.ZodString;
|
|
22062
22078
|
platformMessageId: z.ZodString;
|
|
@@ -25555,7 +25571,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
25555
25571
|
}>>>;
|
|
25556
25572
|
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
25557
25573
|
}, "strip", z.ZodTypeAny, {
|
|
25558
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
25574
|
+
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";
|
|
25559
25575
|
id: string;
|
|
25560
25576
|
direction: "incoming" | "outgoing" | "system";
|
|
25561
25577
|
createdAt: string;
|
|
@@ -26070,7 +26086,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26070
26086
|
} | null | undefined;
|
|
26071
26087
|
label?: string | null | undefined;
|
|
26072
26088
|
}, {
|
|
26073
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
26089
|
+
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";
|
|
26074
26090
|
id: string;
|
|
26075
26091
|
direction: "incoming" | "outgoing" | "system";
|
|
26076
26092
|
createdAt: string;
|
|
@@ -26587,7 +26603,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
26587
26603
|
}>;
|
|
26588
26604
|
}, "strip", z.ZodTypeAny, {
|
|
26589
26605
|
message: {
|
|
26590
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
26606
|
+
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";
|
|
26591
26607
|
id: string;
|
|
26592
26608
|
direction: "incoming" | "outgoing" | "system";
|
|
26593
26609
|
createdAt: string;
|
|
@@ -27104,7 +27120,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
|
27104
27120
|
};
|
|
27105
27121
|
}, {
|
|
27106
27122
|
message: {
|
|
27107
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
27123
|
+
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";
|
|
27108
27124
|
id: string;
|
|
27109
27125
|
direction: "incoming" | "outgoing" | "system";
|
|
27110
27126
|
createdAt: string;
|