@kl1/contracts 1.1.59-uat → 1.1.61-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -2
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +141 -138
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +51 -81
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +46 -46
- package/dist/src/contract.d.ts +393 -236
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/facebook-feed/index.d.ts +66 -66
- package/dist/src/facebook-feed/schema.d.ts +3 -3
- package/dist/src/instagram/index.d.ts +33 -33
- package/dist/src/line/index.d.ts +38 -38
- package/dist/src/line/validation.d.ts +5 -5
- package/dist/src/messenger/index.d.ts +33 -33
- package/dist/src/subscription/index.d.ts +157 -0
- package/dist/src/subscription/index.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +33 -33
- package/dist/src/webchat/index.d.ts +33 -33
- package/package.json +1 -1
@@ -258,7 +258,7 @@ export declare const ActionMessageSchema: z.ZodObject<{
|
|
258
258
|
}>;
|
259
259
|
export declare const SendMessageSchema: z.ZodObject<{
|
260
260
|
roomId: z.ZodString;
|
261
|
-
messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
261
|
+
messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
262
262
|
message: z.ZodOptional<z.ZodString>;
|
263
263
|
messageAttachments: z.ZodOptional<z.ZodObject<{
|
264
264
|
bucketName: z.ZodString;
|
@@ -517,7 +517,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
517
517
|
mentions?: string[] | undefined;
|
518
518
|
}>>;
|
519
519
|
}, "strip", z.ZodTypeAny, {
|
520
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
520
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
521
521
|
roomId: string;
|
522
522
|
message?: string | undefined;
|
523
523
|
messageAttachments?: {
|
@@ -589,7 +589,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
589
589
|
mentions?: string[] | undefined;
|
590
590
|
} | undefined;
|
591
591
|
}, {
|
592
|
-
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
592
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
593
593
|
roomId: string;
|
594
594
|
message?: string | undefined;
|
595
595
|
messageAttachments?: {
|
@@ -1295,7 +1295,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1295
1295
|
id: z.ZodOptional<z.ZodString>;
|
1296
1296
|
message: z.ZodOptional<z.ZodString>;
|
1297
1297
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1298
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
1298
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
1299
1299
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
1300
1300
|
metadata: z.ZodOptional<z.ZodAny>;
|
1301
1301
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -1347,7 +1347,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1347
1347
|
parentMessageId: z.ZodOptional<z.ZodString>;
|
1348
1348
|
feedPostId: z.ZodOptional<z.ZodString>;
|
1349
1349
|
}, "strip", z.ZodTypeAny, {
|
1350
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
1350
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1351
1351
|
direction: "incoming" | "outgoing" | "system";
|
1352
1352
|
id?: string | undefined;
|
1353
1353
|
message?: string | undefined;
|
@@ -1378,7 +1378,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1378
1378
|
parentMessageId?: string | undefined;
|
1379
1379
|
feedPostId?: string | undefined;
|
1380
1380
|
}, {
|
1381
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
1381
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1382
1382
|
direction: "incoming" | "outgoing" | "system";
|
1383
1383
|
id?: string | undefined;
|
1384
1384
|
message?: string | undefined;
|
@@ -1411,7 +1411,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1411
1411
|
}>;
|
1412
1412
|
}, "strip", z.ZodTypeAny, {
|
1413
1413
|
message: {
|
1414
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
1414
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1415
1415
|
direction: "incoming" | "outgoing" | "system";
|
1416
1416
|
id?: string | undefined;
|
1417
1417
|
message?: string | undefined;
|
@@ -1514,7 +1514,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1514
1514
|
isBot: boolean | null;
|
1515
1515
|
}, {
|
1516
1516
|
message: {
|
1517
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
1517
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1518
1518
|
direction: "incoming" | "outgoing" | "system";
|
1519
1519
|
id?: string | undefined;
|
1520
1520
|
message?: string | undefined;
|
@@ -1621,7 +1621,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
1621
1621
|
id: z.ZodOptional<z.ZodString>;
|
1622
1622
|
message: z.ZodOptional<z.ZodString>;
|
1623
1623
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1624
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
1624
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "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 SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
1673
1673
|
parentMessageId: z.ZodOptional<z.ZodString>;
|
1674
1674
|
feedPostId: z.ZodOptional<z.ZodString>;
|
1675
1675
|
}, "strip", z.ZodTypeAny, {
|
1676
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
1676
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1677
1677
|
direction: "incoming" | "outgoing" | "system";
|
1678
1678
|
id?: string | undefined;
|
1679
1679
|
message?: string | undefined;
|
@@ -1704,7 +1704,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
1704
1704
|
parentMessageId?: string | undefined;
|
1705
1705
|
feedPostId?: string | undefined;
|
1706
1706
|
}, {
|
1707
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
1707
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1708
1708
|
direction: "incoming" | "outgoing" | "system";
|
1709
1709
|
id?: string | undefined;
|
1710
1710
|
message?: string | undefined;
|
@@ -2111,7 +2111,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
2111
2111
|
}>>;
|
2112
2112
|
}, "strip", z.ZodTypeAny, {
|
2113
2113
|
message: {
|
2114
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
2114
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
2115
2115
|
direction: "incoming" | "outgoing" | "system";
|
2116
2116
|
id?: string | undefined;
|
2117
2117
|
message?: string | undefined;
|
@@ -2218,7 +2218,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
2218
2218
|
} | undefined;
|
2219
2219
|
}, {
|
2220
2220
|
message: {
|
2221
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
2221
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
2222
2222
|
direction: "incoming" | "outgoing" | "system";
|
2223
2223
|
id?: string | undefined;
|
2224
2224
|
message?: string | undefined;
|
@@ -2327,7 +2327,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
2327
2327
|
export declare const SendMessageResponseSchema: z.ZodObject<{
|
2328
2328
|
requestId: z.ZodString;
|
2329
2329
|
data: z.ZodObject<{
|
2330
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
2330
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
2331
2331
|
message: z.ZodString;
|
2332
2332
|
id: z.ZodString;
|
2333
2333
|
url: z.ZodString;
|
@@ -5758,7 +5758,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5758
5758
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5759
5759
|
message: z.ZodString;
|
5760
5760
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
5761
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
5761
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
5762
5762
|
readAt: z.ZodDate;
|
5763
5763
|
metadata: z.ZodAny;
|
5764
5764
|
platformId: z.ZodString;
|
@@ -6416,7 +6416,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6416
6416
|
};
|
6417
6417
|
}>;
|
6418
6418
|
}, "strip", z.ZodTypeAny, {
|
6419
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
6419
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6420
6420
|
message: string;
|
6421
6421
|
id: string;
|
6422
6422
|
url: string;
|
@@ -6578,7 +6578,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6578
6578
|
metadata?: any;
|
6579
6579
|
template?: any;
|
6580
6580
|
}, {
|
6581
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
6581
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6582
6582
|
message: string;
|
6583
6583
|
id: string;
|
6584
6584
|
url: string;
|
@@ -6951,7 +6951,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6951
6951
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6952
6952
|
message: z.ZodString;
|
6953
6953
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6954
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
6954
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
6955
6955
|
readAt: z.ZodDate;
|
6956
6956
|
metadata: z.ZodAny;
|
6957
6957
|
platformId: z.ZodString;
|
@@ -9943,7 +9943,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
9943
9943
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9944
9944
|
message: z.ZodString;
|
9945
9945
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
9946
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
9946
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
9947
9947
|
readAt: z.ZodDate;
|
9948
9948
|
metadata: z.ZodAny;
|
9949
9949
|
platformId: z.ZodString;
|
@@ -10601,7 +10601,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
10601
10601
|
};
|
10602
10602
|
}>;
|
10603
10603
|
}, "strip", z.ZodTypeAny, {
|
10604
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
10604
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
10605
10605
|
message: string;
|
10606
10606
|
id: string;
|
10607
10607
|
url: string;
|
@@ -10763,7 +10763,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
10763
10763
|
metadata?: any;
|
10764
10764
|
template?: any;
|
10765
10765
|
}, {
|
10766
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
10766
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
10767
10767
|
message: string;
|
10768
10768
|
id: string;
|
10769
10769
|
url: string;
|
@@ -11563,7 +11563,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
11563
11563
|
isActive: boolean;
|
11564
11564
|
}>;
|
11565
11565
|
}, "strip", z.ZodTypeAny, {
|
11566
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
11566
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
11567
11567
|
message: string;
|
11568
11568
|
id: string;
|
11569
11569
|
url: string;
|
@@ -12056,7 +12056,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
12056
12056
|
previewUrl: string;
|
12057
12057
|
imageSetId: string;
|
12058
12058
|
repliedMessage: {
|
12059
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
12059
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
12060
12060
|
message: string;
|
12061
12061
|
id: string;
|
12062
12062
|
url: string;
|
@@ -12265,7 +12265,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
12265
12265
|
metadata?: any;
|
12266
12266
|
template?: any;
|
12267
12267
|
}, {
|
12268
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
12268
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
12269
12269
|
message: string;
|
12270
12270
|
id: string;
|
12271
12271
|
url: string;
|
@@ -12758,7 +12758,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
12758
12758
|
previewUrl: string;
|
12759
12759
|
imageSetId: string;
|
12760
12760
|
repliedMessage: {
|
12761
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
12761
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
12762
12762
|
message: string;
|
12763
12763
|
id: string;
|
12764
12764
|
url: string;
|
@@ -12968,7 +12968,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
12968
12968
|
template?: any;
|
12969
12969
|
}>>>;
|
12970
12970
|
}, "strip", z.ZodTypeAny, {
|
12971
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
12971
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
12972
12972
|
message: string;
|
12973
12973
|
id: string;
|
12974
12974
|
url: string;
|
@@ -13461,7 +13461,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
13461
13461
|
previewUrl: string;
|
13462
13462
|
imageSetId: string;
|
13463
13463
|
repliedMessage: {
|
13464
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
13464
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
13465
13465
|
message: string;
|
13466
13466
|
id: string;
|
13467
13467
|
url: string;
|
@@ -13670,7 +13670,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
13670
13670
|
template?: any;
|
13671
13671
|
metadata?: any;
|
13672
13672
|
fromMessage?: {
|
13673
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
13673
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
13674
13674
|
message: string;
|
13675
13675
|
id: string;
|
13676
13676
|
url: string;
|
@@ -14163,7 +14163,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
14163
14163
|
previewUrl: string;
|
14164
14164
|
imageSetId: string;
|
14165
14165
|
repliedMessage: {
|
14166
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
14166
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
14167
14167
|
message: string;
|
14168
14168
|
id: string;
|
14169
14169
|
url: string;
|
@@ -14373,7 +14373,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
14373
14373
|
template?: any;
|
14374
14374
|
} | null | undefined;
|
14375
14375
|
}, {
|
14376
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
14376
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
14377
14377
|
message: string;
|
14378
14378
|
id: string;
|
14379
14379
|
url: string;
|
@@ -14866,7 +14866,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
14866
14866
|
previewUrl: string;
|
14867
14867
|
imageSetId: string;
|
14868
14868
|
repliedMessage: {
|
14869
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
14869
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
14870
14870
|
message: string;
|
14871
14871
|
id: string;
|
14872
14872
|
url: string;
|
@@ -15075,7 +15075,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
15075
15075
|
template?: any;
|
15076
15076
|
metadata?: any;
|
15077
15077
|
fromMessage?: {
|
15078
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
15078
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
15079
15079
|
message: string;
|
15080
15080
|
id: string;
|
15081
15081
|
url: string;
|
@@ -15568,7 +15568,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
15568
15568
|
previewUrl: string;
|
15569
15569
|
imageSetId: string;
|
15570
15570
|
repliedMessage: {
|
15571
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
15571
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
15572
15572
|
message: string;
|
15573
15573
|
id: string;
|
15574
15574
|
url: string;
|
@@ -15780,7 +15780,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
15780
15780
|
}>;
|
15781
15781
|
}, "strip", z.ZodTypeAny, {
|
15782
15782
|
data: {
|
15783
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
15783
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
15784
15784
|
message: string;
|
15785
15785
|
id: string;
|
15786
15786
|
url: string;
|
@@ -16273,7 +16273,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
16273
16273
|
previewUrl: string;
|
16274
16274
|
imageSetId: string;
|
16275
16275
|
repliedMessage: {
|
16276
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
16276
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
16277
16277
|
message: string;
|
16278
16278
|
id: string;
|
16279
16279
|
url: string;
|
@@ -16482,7 +16482,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
16482
16482
|
template?: any;
|
16483
16483
|
metadata?: any;
|
16484
16484
|
fromMessage?: {
|
16485
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
16485
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
16486
16486
|
message: string;
|
16487
16487
|
id: string;
|
16488
16488
|
url: string;
|
@@ -16975,7 +16975,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
16975
16975
|
previewUrl: string;
|
16976
16976
|
imageSetId: string;
|
16977
16977
|
repliedMessage: {
|
16978
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
16978
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
16979
16979
|
message: string;
|
16980
16980
|
id: string;
|
16981
16981
|
url: string;
|
@@ -17188,7 +17188,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
17188
17188
|
requestId: string;
|
17189
17189
|
}, {
|
17190
17190
|
data: {
|
17191
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
17191
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
17192
17192
|
message: string;
|
17193
17193
|
id: string;
|
17194
17194
|
url: string;
|
@@ -17681,7 +17681,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
17681
17681
|
previewUrl: string;
|
17682
17682
|
imageSetId: string;
|
17683
17683
|
repliedMessage: {
|
17684
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
17684
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
17685
17685
|
message: string;
|
17686
17686
|
id: string;
|
17687
17687
|
url: string;
|
@@ -17890,7 +17890,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
17890
17890
|
template?: any;
|
17891
17891
|
metadata?: any;
|
17892
17892
|
fromMessage?: {
|
17893
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
17893
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
17894
17894
|
message: string;
|
17895
17895
|
id: string;
|
17896
17896
|
url: string;
|
@@ -18383,7 +18383,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
18383
18383
|
previewUrl: string;
|
18384
18384
|
imageSetId: string;
|
18385
18385
|
repliedMessage: {
|
18386
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
18386
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
18387
18387
|
message: string;
|
18388
18388
|
id: string;
|
18389
18389
|
url: string;
|
@@ -18764,7 +18764,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
18764
18764
|
deletedAt: z.ZodNullable<z.ZodString>;
|
18765
18765
|
message: z.ZodOptional<z.ZodString>;
|
18766
18766
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
18767
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
18767
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
18768
18768
|
metadata: z.ZodAny;
|
18769
18769
|
platformId: z.ZodString;
|
18770
18770
|
platformMessageId: z.ZodString;
|
@@ -21914,7 +21914,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
21914
21914
|
};
|
21915
21915
|
}>>>;
|
21916
21916
|
}, "strip", z.ZodTypeAny, {
|
21917
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
21917
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
21918
21918
|
id: string;
|
21919
21919
|
direction: "incoming" | "outgoing" | "system";
|
21920
21920
|
createdAt: string;
|
@@ -22384,7 +22384,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
22384
22384
|
};
|
22385
22385
|
} | null | undefined;
|
22386
22386
|
}, {
|
22387
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
22387
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
22388
22388
|
id: string;
|
22389
22389
|
direction: "incoming" | "outgoing" | "system";
|
22390
22390
|
createdAt: string;
|
@@ -22856,7 +22856,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
22856
22856
|
}>;
|
22857
22857
|
}, "strip", z.ZodTypeAny, {
|
22858
22858
|
message: {
|
22859
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
22859
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
22860
22860
|
id: string;
|
22861
22861
|
direction: "incoming" | "outgoing" | "system";
|
22862
22862
|
createdAt: string;
|
@@ -23328,7 +23328,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
23328
23328
|
};
|
23329
23329
|
}, {
|
23330
23330
|
message: {
|
23331
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
23331
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
23332
23332
|
id: string;
|
23333
23333
|
direction: "incoming" | "outgoing" | "system";
|
23334
23334
|
createdAt: string;
|