@kl1/contracts 1.2.64-uat → 1.2.65-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/channel/index.d.ts +798 -1
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +10 -0
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +189 -169
- 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 +72 -56
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +2864 -1272
- package/dist/api-contracts/src/contract.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 +31 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +31 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -574,7 +574,7 @@ export declare const whatsappContract: {
|
|
574
574
|
id: z.ZodOptional<z.ZodString>;
|
575
575
|
message: z.ZodOptional<z.ZodString>;
|
576
576
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
577
|
-
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"]>;
|
577
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
578
578
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
579
579
|
metadata: z.ZodOptional<z.ZodAny>;
|
580
580
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -630,7 +630,7 @@ export declare const whatsappContract: {
|
|
630
630
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
631
631
|
label: z.ZodOptional<z.ZodString>;
|
632
632
|
}, "strip", z.ZodTypeAny, {
|
633
|
-
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";
|
633
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
634
634
|
direction: "incoming" | "outgoing" | "system";
|
635
635
|
id?: string | undefined;
|
636
636
|
message?: string | undefined;
|
@@ -665,7 +665,7 @@ export declare const whatsappContract: {
|
|
665
665
|
editedAt?: string | Date | null | undefined;
|
666
666
|
label?: string | undefined;
|
667
667
|
}, {
|
668
|
-
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";
|
668
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
669
669
|
direction: "incoming" | "outgoing" | "system";
|
670
670
|
id?: string | undefined;
|
671
671
|
message?: string | undefined;
|
@@ -702,7 +702,7 @@ export declare const whatsappContract: {
|
|
702
702
|
}>;
|
703
703
|
}, "strip", z.ZodTypeAny, {
|
704
704
|
message: {
|
705
|
-
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";
|
705
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
706
706
|
direction: "incoming" | "outgoing" | "system";
|
707
707
|
id?: string | undefined;
|
708
708
|
message?: string | undefined;
|
@@ -833,7 +833,7 @@ export declare const whatsappContract: {
|
|
833
833
|
isBot: boolean | null;
|
834
834
|
}, {
|
835
835
|
message: {
|
836
|
-
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";
|
836
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
837
837
|
direction: "incoming" | "outgoing" | "system";
|
838
838
|
id?: string | undefined;
|
839
839
|
message?: string | undefined;
|
@@ -968,7 +968,7 @@ export declare const whatsappContract: {
|
|
968
968
|
200: z.ZodObject<{
|
969
969
|
requestId: z.ZodString;
|
970
970
|
data: z.ZodObject<{
|
971
|
-
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"]>;
|
971
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
972
972
|
message: z.ZodString;
|
973
973
|
id: z.ZodString;
|
974
974
|
url: z.ZodString;
|
@@ -4904,7 +4904,7 @@ export declare const whatsappContract: {
|
|
4904
4904
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4905
4905
|
message: z.ZodString;
|
4906
4906
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4907
|
-
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"]>;
|
4907
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
4908
4908
|
readAt: z.ZodDate;
|
4909
4909
|
metadata: z.ZodAny;
|
4910
4910
|
platformId: z.ZodString;
|
@@ -5562,7 +5562,7 @@ export declare const whatsappContract: {
|
|
5562
5562
|
};
|
5563
5563
|
}>;
|
5564
5564
|
}, "strip", z.ZodTypeAny, {
|
5565
|
-
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";
|
5565
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
5566
5566
|
message: string;
|
5567
5567
|
id: string;
|
5568
5568
|
url: string;
|
@@ -5724,7 +5724,7 @@ export declare const whatsappContract: {
|
|
5724
5724
|
metadata?: any;
|
5725
5725
|
template?: any;
|
5726
5726
|
}, {
|
5727
|
-
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";
|
5727
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
5728
5728
|
message: string;
|
5729
5729
|
id: string;
|
5730
5730
|
url: string;
|
@@ -6098,7 +6098,7 @@ export declare const whatsappContract: {
|
|
6098
6098
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6099
6099
|
message: z.ZodString;
|
6100
6100
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6101
|
-
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"]>;
|
6101
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
6102
6102
|
readAt: z.ZodDate;
|
6103
6103
|
metadata: z.ZodAny;
|
6104
6104
|
platformId: z.ZodString;
|
@@ -9594,7 +9594,7 @@ export declare const whatsappContract: {
|
|
9594
9594
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9595
9595
|
message: z.ZodString;
|
9596
9596
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
9597
|
-
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"]>;
|
9597
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
9598
9598
|
readAt: z.ZodDate;
|
9599
9599
|
metadata: z.ZodAny;
|
9600
9600
|
platformId: z.ZodString;
|
@@ -10252,7 +10252,7 @@ export declare const whatsappContract: {
|
|
10252
10252
|
};
|
10253
10253
|
}>;
|
10254
10254
|
}, "strip", z.ZodTypeAny, {
|
10255
|
-
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";
|
10255
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
10256
10256
|
message: string;
|
10257
10257
|
id: string;
|
10258
10258
|
url: string;
|
@@ -10414,7 +10414,7 @@ export declare const whatsappContract: {
|
|
10414
10414
|
metadata?: any;
|
10415
10415
|
template?: any;
|
10416
10416
|
}, {
|
10417
|
-
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";
|
10417
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
10418
10418
|
message: string;
|
10419
10419
|
id: string;
|
10420
10420
|
url: string;
|
@@ -11216,7 +11216,7 @@ export declare const whatsappContract: {
|
|
11216
11216
|
editedMessageid: z.ZodString;
|
11217
11217
|
label: z.ZodOptional<z.ZodString>;
|
11218
11218
|
}, "strip", z.ZodTypeAny, {
|
11219
|
-
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";
|
11219
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
11220
11220
|
message: string;
|
11221
11221
|
id: string;
|
11222
11222
|
url: string;
|
@@ -11771,7 +11771,7 @@ export declare const whatsappContract: {
|
|
11771
11771
|
previewUrl: string;
|
11772
11772
|
imageSetId: string;
|
11773
11773
|
repliedMessage: {
|
11774
|
-
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";
|
11774
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
11775
11775
|
message: string;
|
11776
11776
|
id: string;
|
11777
11777
|
url: string;
|
@@ -11982,7 +11982,7 @@ export declare const whatsappContract: {
|
|
11982
11982
|
template?: any;
|
11983
11983
|
label?: string | undefined;
|
11984
11984
|
}, {
|
11985
|
-
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";
|
11985
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
11986
11986
|
message: string;
|
11987
11987
|
id: string;
|
11988
11988
|
url: string;
|
@@ -12537,7 +12537,7 @@ export declare const whatsappContract: {
|
|
12537
12537
|
previewUrl: string;
|
12538
12538
|
imageSetId: string;
|
12539
12539
|
repliedMessage: {
|
12540
|
-
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";
|
12540
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
12541
12541
|
message: string;
|
12542
12542
|
id: string;
|
12543
12543
|
url: string;
|
@@ -12749,7 +12749,7 @@ export declare const whatsappContract: {
|
|
12749
12749
|
label?: string | undefined;
|
12750
12750
|
}>>>;
|
12751
12751
|
}, "strip", z.ZodTypeAny, {
|
12752
|
-
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";
|
12752
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
12753
12753
|
message: string;
|
12754
12754
|
id: string;
|
12755
12755
|
url: string;
|
@@ -13304,7 +13304,7 @@ export declare const whatsappContract: {
|
|
13304
13304
|
previewUrl: string;
|
13305
13305
|
imageSetId: string;
|
13306
13306
|
repliedMessage: {
|
13307
|
-
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";
|
13307
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
13308
13308
|
message: string;
|
13309
13309
|
id: string;
|
13310
13310
|
url: string;
|
@@ -13515,7 +13515,7 @@ export declare const whatsappContract: {
|
|
13515
13515
|
template?: any;
|
13516
13516
|
metadata?: any;
|
13517
13517
|
fromMessage?: {
|
13518
|
-
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";
|
13518
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
13519
13519
|
message: string;
|
13520
13520
|
id: string;
|
13521
13521
|
url: string;
|
@@ -14070,7 +14070,7 @@ export declare const whatsappContract: {
|
|
14070
14070
|
previewUrl: string;
|
14071
14071
|
imageSetId: string;
|
14072
14072
|
repliedMessage: {
|
14073
|
-
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";
|
14073
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
14074
14074
|
message: string;
|
14075
14075
|
id: string;
|
14076
14076
|
url: string;
|
@@ -14282,7 +14282,7 @@ export declare const whatsappContract: {
|
|
14282
14282
|
label?: string | undefined;
|
14283
14283
|
} | null | undefined;
|
14284
14284
|
}, {
|
14285
|
-
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";
|
14285
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
14286
14286
|
message: string;
|
14287
14287
|
id: string;
|
14288
14288
|
url: string;
|
@@ -14837,7 +14837,7 @@ export declare const whatsappContract: {
|
|
14837
14837
|
previewUrl: string;
|
14838
14838
|
imageSetId: string;
|
14839
14839
|
repliedMessage: {
|
14840
|
-
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";
|
14840
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
14841
14841
|
message: string;
|
14842
14842
|
id: string;
|
14843
14843
|
url: string;
|
@@ -15048,7 +15048,7 @@ export declare const whatsappContract: {
|
|
15048
15048
|
template?: any;
|
15049
15049
|
metadata?: any;
|
15050
15050
|
fromMessage?: {
|
15051
|
-
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";
|
15051
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
15052
15052
|
message: string;
|
15053
15053
|
id: string;
|
15054
15054
|
url: string;
|
@@ -15603,7 +15603,7 @@ export declare const whatsappContract: {
|
|
15603
15603
|
previewUrl: string;
|
15604
15604
|
imageSetId: string;
|
15605
15605
|
repliedMessage: {
|
15606
|
-
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";
|
15606
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
15607
15607
|
message: string;
|
15608
15608
|
id: string;
|
15609
15609
|
url: string;
|
@@ -15817,7 +15817,7 @@ export declare const whatsappContract: {
|
|
15817
15817
|
}>;
|
15818
15818
|
}, "strip", z.ZodTypeAny, {
|
15819
15819
|
data: {
|
15820
|
-
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";
|
15820
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
15821
15821
|
message: string;
|
15822
15822
|
id: string;
|
15823
15823
|
url: string;
|
@@ -16372,7 +16372,7 @@ export declare const whatsappContract: {
|
|
16372
16372
|
previewUrl: string;
|
16373
16373
|
imageSetId: string;
|
16374
16374
|
repliedMessage: {
|
16375
|
-
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";
|
16375
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
16376
16376
|
message: string;
|
16377
16377
|
id: string;
|
16378
16378
|
url: string;
|
@@ -16583,7 +16583,7 @@ export declare const whatsappContract: {
|
|
16583
16583
|
template?: any;
|
16584
16584
|
metadata?: any;
|
16585
16585
|
fromMessage?: {
|
16586
|
-
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";
|
16586
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
16587
16587
|
message: string;
|
16588
16588
|
id: string;
|
16589
16589
|
url: string;
|
@@ -17138,7 +17138,7 @@ export declare const whatsappContract: {
|
|
17138
17138
|
previewUrl: string;
|
17139
17139
|
imageSetId: string;
|
17140
17140
|
repliedMessage: {
|
17141
|
-
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";
|
17141
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
17142
17142
|
message: string;
|
17143
17143
|
id: string;
|
17144
17144
|
url: string;
|
@@ -17353,7 +17353,7 @@ export declare const whatsappContract: {
|
|
17353
17353
|
requestId: string;
|
17354
17354
|
}, {
|
17355
17355
|
data: {
|
17356
|
-
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";
|
17356
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
17357
17357
|
message: string;
|
17358
17358
|
id: string;
|
17359
17359
|
url: string;
|
@@ -17908,7 +17908,7 @@ export declare const whatsappContract: {
|
|
17908
17908
|
previewUrl: string;
|
17909
17909
|
imageSetId: string;
|
17910
17910
|
repliedMessage: {
|
17911
|
-
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";
|
17911
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
17912
17912
|
message: string;
|
17913
17913
|
id: string;
|
17914
17914
|
url: string;
|
@@ -18119,7 +18119,7 @@ export declare const whatsappContract: {
|
|
18119
18119
|
template?: any;
|
18120
18120
|
metadata?: any;
|
18121
18121
|
fromMessage?: {
|
18122
|
-
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";
|
18122
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
18123
18123
|
message: string;
|
18124
18124
|
id: string;
|
18125
18125
|
url: string;
|
@@ -18674,7 +18674,7 @@ export declare const whatsappContract: {
|
|
18674
18674
|
previewUrl: string;
|
18675
18675
|
imageSetId: string;
|
18676
18676
|
repliedMessage: {
|
18677
|
-
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";
|
18677
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
18678
18678
|
message: string;
|
18679
18679
|
id: string;
|
18680
18680
|
url: string;
|
@@ -4380,7 +4380,7 @@ export declare const chatContract: {
|
|
4380
4380
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4381
4381
|
message: z.ZodString;
|
4382
4382
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4383
|
-
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"]>;
|
4383
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
4384
4384
|
readAt: z.ZodDate;
|
4385
4385
|
metadata: z.ZodAny;
|
4386
4386
|
platformId: z.ZodString;
|
@@ -7876,7 +7876,7 @@ export declare const chatContract: {
|
|
7876
7876
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7877
7877
|
message: z.ZodString;
|
7878
7878
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
7879
|
-
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"]>;
|
7879
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item"]>;
|
7880
7880
|
readAt: z.ZodDate;
|
7881
7881
|
metadata: z.ZodAny;
|
7882
7882
|
platformId: z.ZodString;
|
@@ -8534,7 +8534,7 @@ export declare const chatContract: {
|
|
8534
8534
|
};
|
8535
8535
|
}>;
|
8536
8536
|
}, "strip", z.ZodTypeAny, {
|
8537
|
-
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";
|
8537
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
8538
8538
|
message: string;
|
8539
8539
|
id: string;
|
8540
8540
|
url: string;
|
@@ -8696,7 +8696,7 @@ export declare const chatContract: {
|
|
8696
8696
|
metadata?: any;
|
8697
8697
|
template?: any;
|
8698
8698
|
}, {
|
8699
|
-
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";
|
8699
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
8700
8700
|
message: string;
|
8701
8701
|
id: string;
|
8702
8702
|
url: string;
|
@@ -9498,7 +9498,7 @@ export declare const chatContract: {
|
|
9498
9498
|
editedMessageid: z.ZodString;
|
9499
9499
|
label: z.ZodOptional<z.ZodString>;
|
9500
9500
|
}, "strip", z.ZodTypeAny, {
|
9501
|
-
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";
|
9501
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
9502
9502
|
message: string;
|
9503
9503
|
id: string;
|
9504
9504
|
url: string;
|
@@ -10053,7 +10053,7 @@ export declare const chatContract: {
|
|
10053
10053
|
previewUrl: string;
|
10054
10054
|
imageSetId: string;
|
10055
10055
|
repliedMessage: {
|
10056
|
-
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";
|
10056
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
10057
10057
|
message: string;
|
10058
10058
|
id: string;
|
10059
10059
|
url: string;
|
@@ -10264,7 +10264,7 @@ export declare const chatContract: {
|
|
10264
10264
|
template?: any;
|
10265
10265
|
label?: string | undefined;
|
10266
10266
|
}, {
|
10267
|
-
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";
|
10267
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
10268
10268
|
message: string;
|
10269
10269
|
id: string;
|
10270
10270
|
url: string;
|
@@ -10819,7 +10819,7 @@ export declare const chatContract: {
|
|
10819
10819
|
previewUrl: string;
|
10820
10820
|
imageSetId: string;
|
10821
10821
|
repliedMessage: {
|
10822
|
-
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";
|
10822
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
10823
10823
|
message: string;
|
10824
10824
|
id: string;
|
10825
10825
|
url: string;
|
@@ -11032,7 +11032,7 @@ export declare const chatContract: {
|
|
11032
11032
|
}>;
|
11033
11033
|
}, "strip", z.ZodTypeAny, {
|
11034
11034
|
data: {
|
11035
|
-
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";
|
11035
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
11036
11036
|
message: string;
|
11037
11037
|
id: string;
|
11038
11038
|
url: string;
|
@@ -11587,7 +11587,7 @@ export declare const chatContract: {
|
|
11587
11587
|
previewUrl: string;
|
11588
11588
|
imageSetId: string;
|
11589
11589
|
repliedMessage: {
|
11590
|
-
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";
|
11590
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
11591
11591
|
message: string;
|
11592
11592
|
id: string;
|
11593
11593
|
url: string;
|
@@ -11801,7 +11801,7 @@ export declare const chatContract: {
|
|
11801
11801
|
requestId: string;
|
11802
11802
|
}, {
|
11803
11803
|
data: {
|
11804
|
-
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";
|
11804
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
11805
11805
|
message: string;
|
11806
11806
|
id: string;
|
11807
11807
|
url: string;
|
@@ -12356,7 +12356,7 @@ export declare const chatContract: {
|
|
12356
12356
|
previewUrl: string;
|
12357
12357
|
imageSetId: string;
|
12358
12358
|
repliedMessage: {
|
12359
|
-
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";
|
12359
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
12360
12360
|
message: string;
|
12361
12361
|
id: string;
|
12362
12362
|
url: string;
|
package/dist/index.js
CHANGED
@@ -750,7 +750,9 @@ var MessageTypeSchema = import_zod18.default.enum([
|
|
750
750
|
"auto_unhold",
|
751
751
|
"edited",
|
752
752
|
"deleted",
|
753
|
-
"unsupported"
|
753
|
+
"unsupported",
|
754
|
+
// lazada specific
|
755
|
+
"item"
|
754
756
|
]);
|
755
757
|
var FeedPostTypeSchema = import_zod18.default.enum([
|
756
758
|
"text",
|
@@ -1324,7 +1326,9 @@ var MessageAttachmentSchema = import_zod26.default.object({
|
|
1324
1326
|
fileSize: import_zod26.default.number(),
|
1325
1327
|
url: import_zod26.default.string().nullable(),
|
1326
1328
|
fileType: import_zod26.default.string(),
|
1327
|
-
thumbnailUrl: import_zod26.default.string().optional()
|
1329
|
+
thumbnailUrl: import_zod26.default.string().optional(),
|
1330
|
+
width: import_zod26.default.string().optional(),
|
1331
|
+
height: import_zod26.default.string().optional()
|
1328
1332
|
});
|
1329
1333
|
var StickerSchema = import_zod26.default.object({
|
1330
1334
|
packageId: import_zod26.default.number(),
|
@@ -2283,6 +2287,10 @@ var ConnectWhatsappSchema = import_zod37.default.object({
|
|
2283
2287
|
metadata: ChannelMetadataSchema,
|
2284
2288
|
platformId: import_zod37.default.string()
|
2285
2289
|
});
|
2290
|
+
var ConnectLazadaSchema = import_zod37.default.object({
|
2291
|
+
name: import_zod37.default.string(),
|
2292
|
+
code: import_zod37.default.string()
|
2293
|
+
});
|
2286
2294
|
|
2287
2295
|
// src/instagram/validation.ts
|
2288
2296
|
var import_zod38 = __toESM(require("zod"));
|
@@ -2602,6 +2610,25 @@ var whatsapp = (0, import_core7.initContract)().router(
|
|
2602
2610
|
pathPrefix: "/whatsapp"
|
2603
2611
|
}
|
2604
2612
|
);
|
2613
|
+
var lazada = (0, import_core7.initContract)().router(
|
2614
|
+
{
|
2615
|
+
connect: {
|
2616
|
+
method: "POST",
|
2617
|
+
path: "/connect",
|
2618
|
+
responses: {
|
2619
|
+
200: DefaultSuccessResponseSchema.extend({
|
2620
|
+
channel: ChannelSchema
|
2621
|
+
}),
|
2622
|
+
408: DefaultErrorResponseSchema
|
2623
|
+
},
|
2624
|
+
body: ConnectLazadaSchema,
|
2625
|
+
summary: "Connect message channel"
|
2626
|
+
}
|
2627
|
+
},
|
2628
|
+
{
|
2629
|
+
pathPrefix: "/lazada"
|
2630
|
+
}
|
2631
|
+
);
|
2605
2632
|
var channelContract = (0, import_core7.initContract)().router(
|
2606
2633
|
{
|
2607
2634
|
getChannels: {
|
@@ -2738,7 +2765,8 @@ var channelContract = (0, import_core7.initContract)().router(
|
|
2738
2765
|
viber,
|
2739
2766
|
telegram,
|
2740
2767
|
webchat,
|
2741
|
-
whatsapp
|
2768
|
+
whatsapp,
|
2769
|
+
lazada
|
2742
2770
|
},
|
2743
2771
|
{
|
2744
2772
|
baseHeaders: DefaultHeaderSchema,
|