@kl1/contracts 1.1.58-uat → 1.1.60-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +13 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -2
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +138 -138
- 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 +572 -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 +336 -0
- package/dist/src/subscription/index.d.ts.map +1 -1
- package/dist/src/subscription/schema.d.ts +133 -0
- package/dist/src/subscription/schema.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
@@ -6,7 +6,7 @@ export declare const MessageDirectionTypeSchema: z.ZodEnum<["incoming", "outgoin
|
|
6
6
|
/**
|
7
7
|
* Message Type Enum
|
8
8
|
*/
|
9
|
-
export declare const MessageTypeSchema: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
9
|
+
export declare const MessageTypeSchema: 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"]>;
|
10
10
|
export declare const FeedPostTypeSchema: z.ZodEnum<["text", "added_photos", "shared_story", "mobile_status_update"]>;
|
11
11
|
/**
|
12
12
|
* Message Type Enum
|
@@ -2386,9 +2386,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2386
2386
|
botId: string;
|
2387
2387
|
integrationId: string;
|
2388
2388
|
}>>;
|
2389
|
-
/**
|
2390
|
-
* Message Type Enum
|
2391
|
-
*/
|
2392
2389
|
actor: z.ZodObject<{
|
2393
2390
|
id: z.ZodString;
|
2394
2391
|
createdAt: z.ZodDate;
|
@@ -2408,9 +2405,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2408
2405
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2409
2406
|
systemName: z.ZodString;
|
2410
2407
|
displayName: z.ZodString;
|
2411
|
-
description: z.ZodNullable<z.ZodString>;
|
2412
|
-
* Room
|
2413
|
-
*/
|
2408
|
+
description: z.ZodNullable<z.ZodString>;
|
2414
2409
|
permissions: z.ZodArray<z.ZodObject<{
|
2415
2410
|
id: z.ZodString;
|
2416
2411
|
createdAt: z.ZodDate;
|
@@ -3929,7 +3924,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3929
3924
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3930
3925
|
message: z.ZodString;
|
3931
3926
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3932
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
3927
|
+
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"]>;
|
3933
3928
|
readAt: z.ZodDate;
|
3934
3929
|
metadata: z.ZodAny;
|
3935
3930
|
platformId: z.ZodString;
|
@@ -5355,9 +5350,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5355
5350
|
botId: string;
|
5356
5351
|
integrationId: string;
|
5357
5352
|
}>>;
|
5358
|
-
/**
|
5359
|
-
* Message Type Enum
|
5360
|
-
*/
|
5361
5353
|
actor: z.ZodObject<{
|
5362
5354
|
id: z.ZodString;
|
5363
5355
|
createdAt: z.ZodDate;
|
@@ -5377,9 +5369,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5377
5369
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5378
5370
|
systemName: z.ZodString;
|
5379
5371
|
displayName: z.ZodString;
|
5380
|
-
description: z.ZodNullable<z.ZodString>;
|
5381
|
-
* Room
|
5382
|
-
*/
|
5372
|
+
description: z.ZodNullable<z.ZodString>;
|
5383
5373
|
permissions: z.ZodArray<z.ZodObject<{
|
5384
5374
|
id: z.ZodString;
|
5385
5375
|
createdAt: z.ZodDate;
|
@@ -6929,7 +6919,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6929
6919
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6930
6920
|
message: z.ZodString;
|
6931
6921
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6932
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
6922
|
+
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"]>;
|
6933
6923
|
readAt: z.ZodDate;
|
6934
6924
|
metadata: z.ZodAny;
|
6935
6925
|
platformId: z.ZodString;
|
@@ -7587,7 +7577,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7587
7577
|
};
|
7588
7578
|
}>;
|
7589
7579
|
}, "strip", z.ZodTypeAny, {
|
7590
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
7580
|
+
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";
|
7591
7581
|
message: string;
|
7592
7582
|
id: string;
|
7593
7583
|
url: string;
|
@@ -7749,7 +7739,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7749
7739
|
metadata?: any;
|
7750
7740
|
template?: any;
|
7751
7741
|
}, {
|
7752
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
7742
|
+
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";
|
7753
7743
|
message: string;
|
7754
7744
|
id: string;
|
7755
7745
|
url: string;
|
@@ -8549,7 +8539,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8549
8539
|
isActive: boolean;
|
8550
8540
|
}>;
|
8551
8541
|
}, "strip", z.ZodTypeAny, {
|
8552
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
8542
|
+
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";
|
8553
8543
|
message: string;
|
8554
8544
|
id: string;
|
8555
8545
|
url: string;
|
@@ -9042,7 +9032,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9042
9032
|
previewUrl: string;
|
9043
9033
|
imageSetId: string;
|
9044
9034
|
repliedMessage: {
|
9045
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
9035
|
+
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";
|
9046
9036
|
message: string;
|
9047
9037
|
id: string;
|
9048
9038
|
url: string;
|
@@ -9251,7 +9241,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9251
9241
|
metadata?: any;
|
9252
9242
|
template?: any;
|
9253
9243
|
}, {
|
9254
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
9244
|
+
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";
|
9255
9245
|
message: string;
|
9256
9246
|
id: string;
|
9257
9247
|
url: string;
|
@@ -9744,7 +9734,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9744
9734
|
previewUrl: string;
|
9745
9735
|
imageSetId: string;
|
9746
9736
|
repliedMessage: {
|
9747
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
9737
|
+
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";
|
9748
9738
|
message: string;
|
9749
9739
|
id: string;
|
9750
9740
|
url: string;
|
@@ -9954,7 +9944,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9954
9944
|
template?: any;
|
9955
9945
|
}>;
|
9956
9946
|
export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
9957
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
9947
|
+
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"]>;
|
9958
9948
|
message: z.ZodString;
|
9959
9949
|
id: z.ZodString;
|
9960
9950
|
url: z.ZodString;
|
@@ -11822,9 +11812,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
11822
11812
|
botId: string;
|
11823
11813
|
integrationId: string;
|
11824
11814
|
}>>;
|
11825
|
-
/**
|
11826
|
-
* Message Type Enum
|
11827
|
-
*/
|
11828
11815
|
actor: z.ZodObject<{
|
11829
11816
|
id: z.ZodString;
|
11830
11817
|
createdAt: z.ZodDate;
|
@@ -11844,9 +11831,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
11844
11831
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11845
11832
|
systemName: z.ZodString;
|
11846
11833
|
displayName: z.ZodString;
|
11847
|
-
description: z.ZodNullable<z.ZodString>;
|
11848
|
-
* Room
|
11849
|
-
*/
|
11834
|
+
description: z.ZodNullable<z.ZodString>;
|
11850
11835
|
permissions: z.ZodArray<z.ZodObject<{
|
11851
11836
|
id: z.ZodString;
|
11852
11837
|
createdAt: z.ZodDate;
|
@@ -13393,7 +13378,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13393
13378
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
13394
13379
|
message: z.ZodString;
|
13395
13380
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
13396
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
13381
|
+
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"]>;
|
13397
13382
|
readAt: z.ZodDate;
|
13398
13383
|
metadata: z.ZodAny;
|
13399
13384
|
platformId: z.ZodString;
|
@@ -14051,7 +14036,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14051
14036
|
};
|
14052
14037
|
}>;
|
14053
14038
|
}, "strip", z.ZodTypeAny, {
|
14054
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
14039
|
+
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";
|
14055
14040
|
message: string;
|
14056
14041
|
id: string;
|
14057
14042
|
url: string;
|
@@ -14213,7 +14198,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14213
14198
|
metadata?: any;
|
14214
14199
|
template?: any;
|
14215
14200
|
}, {
|
14216
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
14201
|
+
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";
|
14217
14202
|
message: string;
|
14218
14203
|
id: string;
|
14219
14204
|
url: string;
|
@@ -14587,7 +14572,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14587
14572
|
updatedAt: z.ZodDate;
|
14588
14573
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
14589
14574
|
message: z.ZodNullable<z.ZodString>;
|
14590
|
-
type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "shared_story", "mobile_status_update"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
14575
|
+
type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "shared_story", "mobile_status_update"]>, 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"]>]>;
|
14591
14576
|
metadata: z.ZodAny;
|
14592
14577
|
platformId: z.ZodString;
|
14593
14578
|
platformMessageId: z.ZodString;
|
@@ -14651,9 +14636,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14651
14636
|
botId: string;
|
14652
14637
|
integrationId: string;
|
14653
14638
|
}>>;
|
14654
|
-
/**
|
14655
|
-
* Message Type Enum
|
14656
|
-
*/
|
14657
14639
|
actor: z.ZodObject<{
|
14658
14640
|
id: z.ZodString;
|
14659
14641
|
createdAt: z.ZodDate;
|
@@ -14673,9 +14655,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14673
14655
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
14674
14656
|
systemName: z.ZodString;
|
14675
14657
|
displayName: z.ZodString;
|
14676
|
-
description: z.ZodNullable<z.ZodString>;
|
14677
|
-
* Room
|
14678
|
-
*/
|
14658
|
+
description: z.ZodNullable<z.ZodString>;
|
14679
14659
|
permissions: z.ZodArray<z.ZodObject<{
|
14680
14660
|
id: z.ZodString;
|
14681
14661
|
createdAt: z.ZodDate;
|
@@ -16146,7 +16126,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
16146
16126
|
imageURL: z.ZodString;
|
16147
16127
|
permalinkURL: z.ZodString;
|
16148
16128
|
}, "strip", z.ZodTypeAny, {
|
16149
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "imagemap" | "sticker" | "
|
16129
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
16150
16130
|
message: string | null;
|
16151
16131
|
id: string;
|
16152
16132
|
channel: {
|
@@ -16390,7 +16370,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
16390
16370
|
permalinkURL: string;
|
16391
16371
|
metadata?: any;
|
16392
16372
|
}, {
|
16393
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "imagemap" | "sticker" | "
|
16373
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
16394
16374
|
message: string | null;
|
16395
16375
|
id: string;
|
16396
16376
|
channel: {
|
@@ -16636,7 +16616,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
16636
16616
|
}>>;
|
16637
16617
|
replyReaction: z.ZodNullable<z.ZodString>;
|
16638
16618
|
}, "strip", z.ZodTypeAny, {
|
16639
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
16619
|
+
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";
|
16640
16620
|
message: string;
|
16641
16621
|
id: string;
|
16642
16622
|
url: string;
|
@@ -17129,7 +17109,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
17129
17109
|
previewUrl: string;
|
17130
17110
|
imageSetId: string;
|
17131
17111
|
repliedMessage: {
|
17132
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
17112
|
+
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";
|
17133
17113
|
message: string;
|
17134
17114
|
id: string;
|
17135
17115
|
url: string;
|
@@ -17338,7 +17318,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
17338
17318
|
parentMessageId: string | null;
|
17339
17319
|
feedPostId: string | null;
|
17340
17320
|
feedPost: {
|
17341
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "imagemap" | "sticker" | "
|
17321
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
17342
17322
|
message: string | null;
|
17343
17323
|
id: string;
|
17344
17324
|
channel: {
|
@@ -17586,7 +17566,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
17586
17566
|
template?: any;
|
17587
17567
|
metadata?: any;
|
17588
17568
|
}, {
|
17589
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
17569
|
+
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";
|
17590
17570
|
message: string;
|
17591
17571
|
id: string;
|
17592
17572
|
url: string;
|
@@ -18079,7 +18059,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18079
18059
|
previewUrl: string;
|
18080
18060
|
imageSetId: string;
|
18081
18061
|
repliedMessage: {
|
18082
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
18062
|
+
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";
|
18083
18063
|
message: string;
|
18084
18064
|
id: string;
|
18085
18065
|
url: string;
|
@@ -18288,7 +18268,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18288
18268
|
parentMessageId: string | null;
|
18289
18269
|
feedPostId: string | null;
|
18290
18270
|
feedPost: {
|
18291
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "imagemap" | "sticker" | "
|
18271
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
18292
18272
|
message: string | null;
|
18293
18273
|
id: string;
|
18294
18274
|
channel: {
|
@@ -18543,7 +18523,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
18543
18523
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
18544
18524
|
message: z.ZodString;
|
18545
18525
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
18546
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
18526
|
+
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"]>;
|
18547
18527
|
readAt: z.ZodDate;
|
18548
18528
|
metadata: z.ZodAny;
|
18549
18529
|
platformId: z.ZodString;
|
@@ -19201,7 +19181,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
19201
19181
|
};
|
19202
19182
|
}>;
|
19203
19183
|
}, "strip", z.ZodTypeAny, {
|
19204
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
19184
|
+
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";
|
19205
19185
|
message: string;
|
19206
19186
|
id: string;
|
19207
19187
|
url: string;
|
@@ -19363,7 +19343,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
19363
19343
|
metadata?: any;
|
19364
19344
|
template?: any;
|
19365
19345
|
}, {
|
19366
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
19346
|
+
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";
|
19367
19347
|
message: string;
|
19368
19348
|
id: string;
|
19369
19349
|
url: string;
|
@@ -19539,7 +19519,7 @@ export declare const UnreadCountsByAssigneeSchema: z.ZodObject<{
|
|
19539
19519
|
totalUnreadCount: number;
|
19540
19520
|
}>;
|
19541
19521
|
export declare const MessageRelevanceSchema: z.ZodObject<{
|
19542
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
19522
|
+
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"]>;
|
19543
19523
|
message: z.ZodString;
|
19544
19524
|
id: z.ZodString;
|
19545
19525
|
url: z.ZodString;
|
@@ -21407,9 +21387,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
21407
21387
|
botId: string;
|
21408
21388
|
integrationId: string;
|
21409
21389
|
}>>;
|
21410
|
-
/**
|
21411
|
-
* Message Type Enum
|
21412
|
-
*/
|
21413
21390
|
actor: z.ZodObject<{
|
21414
21391
|
id: z.ZodString;
|
21415
21392
|
createdAt: z.ZodDate;
|
@@ -21429,9 +21406,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
21429
21406
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
21430
21407
|
systemName: z.ZodString;
|
21431
21408
|
displayName: z.ZodString;
|
21432
|
-
description: z.ZodNullable<z.ZodString>;
|
21433
|
-
* Room
|
21434
|
-
*/
|
21409
|
+
description: z.ZodNullable<z.ZodString>;
|
21435
21410
|
permissions: z.ZodArray<z.ZodObject<{
|
21436
21411
|
id: z.ZodString;
|
21437
21412
|
createdAt: z.ZodDate;
|
@@ -22978,7 +22953,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
22978
22953
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
22979
22954
|
message: z.ZodString;
|
22980
22955
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
22981
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
22956
|
+
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"]>;
|
22982
22957
|
readAt: z.ZodDate;
|
22983
22958
|
metadata: z.ZodAny;
|
22984
22959
|
platformId: z.ZodString;
|
@@ -23636,7 +23611,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
23636
23611
|
};
|
23637
23612
|
}>;
|
23638
23613
|
}, "strip", z.ZodTypeAny, {
|
23639
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
23614
|
+
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";
|
23640
23615
|
message: string;
|
23641
23616
|
id: string;
|
23642
23617
|
url: string;
|
@@ -23798,7 +23773,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
23798
23773
|
metadata?: any;
|
23799
23774
|
template?: any;
|
23800
23775
|
}, {
|
23801
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
23776
|
+
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";
|
23802
23777
|
message: string;
|
23803
23778
|
id: string;
|
23804
23779
|
url: string;
|
@@ -25105,7 +25080,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
25105
25080
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
25106
25081
|
message: z.ZodString;
|
25107
25082
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
25108
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
25083
|
+
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"]>;
|
25109
25084
|
readAt: z.ZodDate;
|
25110
25085
|
metadata: z.ZodAny;
|
25111
25086
|
platformId: z.ZodString;
|
@@ -26531,9 +26506,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
26531
26506
|
botId: string;
|
26532
26507
|
integrationId: string;
|
26533
26508
|
}>>;
|
26534
|
-
/**
|
26535
|
-
* Message Type Enum
|
26536
|
-
*/
|
26537
26509
|
actor: z.ZodObject<{
|
26538
26510
|
id: z.ZodString;
|
26539
26511
|
createdAt: z.ZodDate;
|
@@ -26553,9 +26525,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
26553
26525
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
26554
26526
|
systemName: z.ZodString;
|
26555
26527
|
displayName: z.ZodString;
|
26556
|
-
description: z.ZodNullable<z.ZodString>;
|
26557
|
-
* Room
|
26558
|
-
*/
|
26528
|
+
description: z.ZodNullable<z.ZodString>;
|
26559
26529
|
permissions: z.ZodArray<z.ZodObject<{
|
26560
26530
|
id: z.ZodString;
|
26561
26531
|
createdAt: z.ZodDate;
|
@@ -28105,7 +28075,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
28105
28075
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
28106
28076
|
message: z.ZodString;
|
28107
28077
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
28108
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "
|
28078
|
+
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"]>;
|
28109
28079
|
readAt: z.ZodDate;
|
28110
28080
|
metadata: z.ZodAny;
|
28111
28081
|
platformId: z.ZodString;
|
@@ -28763,7 +28733,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
28763
28733
|
};
|
28764
28734
|
}>;
|
28765
28735
|
}, "strip", z.ZodTypeAny, {
|
28766
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
28736
|
+
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";
|
28767
28737
|
message: string;
|
28768
28738
|
id: string;
|
28769
28739
|
url: string;
|
@@ -28925,7 +28895,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
28925
28895
|
metadata?: any;
|
28926
28896
|
template?: any;
|
28927
28897
|
}, {
|
28928
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
28898
|
+
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";
|
28929
28899
|
message: string;
|
28930
28900
|
id: string;
|
28931
28901
|
url: string;
|
@@ -29725,7 +29695,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
29725
29695
|
isActive: boolean;
|
29726
29696
|
}>;
|
29727
29697
|
}, "strip", z.ZodTypeAny, {
|
29728
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
29698
|
+
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";
|
29729
29699
|
message: string;
|
29730
29700
|
id: string;
|
29731
29701
|
url: string;
|
@@ -30218,7 +30188,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30218
30188
|
previewUrl: string;
|
30219
30189
|
imageSetId: string;
|
30220
30190
|
repliedMessage: {
|
30221
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
30191
|
+
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";
|
30222
30192
|
message: string;
|
30223
30193
|
id: string;
|
30224
30194
|
url: string;
|
@@ -30427,7 +30397,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30427
30397
|
metadata?: any;
|
30428
30398
|
template?: any;
|
30429
30399
|
}, {
|
30430
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
30400
|
+
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";
|
30431
30401
|
message: string;
|
30432
30402
|
id: string;
|
30433
30403
|
url: string;
|
@@ -30920,7 +30890,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30920
30890
|
previewUrl: string;
|
30921
30891
|
imageSetId: string;
|
30922
30892
|
repliedMessage: {
|
30923
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
30893
|
+
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";
|
30924
30894
|
message: string;
|
30925
30895
|
id: string;
|
30926
30896
|
url: string;
|
@@ -31130,13 +31100,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
31130
31100
|
template?: any;
|
31131
31101
|
}>, "many">;
|
31132
31102
|
}, "strip", z.ZodTypeAny, {
|
31133
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
31103
|
+
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";
|
31134
31104
|
message: string;
|
31135
31105
|
id: string;
|
31136
31106
|
url: string;
|
31137
31107
|
direction: "incoming" | "outgoing" | "system";
|
31138
31108
|
children: {
|
31139
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
31109
|
+
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";
|
31140
31110
|
message: string;
|
31141
31111
|
id: string;
|
31142
31112
|
url: string;
|
@@ -31629,7 +31599,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
31629
31599
|
previewUrl: string;
|
31630
31600
|
imageSetId: string;
|
31631
31601
|
repliedMessage: {
|
31632
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
31602
|
+
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";
|
31633
31603
|
message: string;
|
31634
31604
|
id: string;
|
31635
31605
|
url: string;
|
@@ -32326,7 +32296,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
32326
32296
|
previewUrl: string;
|
32327
32297
|
imageSetId: string;
|
32328
32298
|
repliedMessage: {
|
32329
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
32299
|
+
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";
|
32330
32300
|
message: string;
|
32331
32301
|
id: string;
|
32332
32302
|
url: string;
|
@@ -32647,13 +32617,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
32647
32617
|
template?: any;
|
32648
32618
|
metadata?: any;
|
32649
32619
|
}, {
|
32650
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
32620
|
+
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";
|
32651
32621
|
message: string;
|
32652
32622
|
id: string;
|
32653
32623
|
url: string;
|
32654
32624
|
direction: "incoming" | "outgoing" | "system";
|
32655
32625
|
children: {
|
32656
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
32626
|
+
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";
|
32657
32627
|
message: string;
|
32658
32628
|
id: string;
|
32659
32629
|
url: string;
|
@@ -33146,7 +33116,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33146
33116
|
previewUrl: string;
|
33147
33117
|
imageSetId: string;
|
33148
33118
|
repliedMessage: {
|
33149
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
33119
|
+
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";
|
33150
33120
|
message: string;
|
33151
33121
|
id: string;
|
33152
33122
|
url: string;
|
@@ -33843,7 +33813,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33843
33813
|
previewUrl: string;
|
33844
33814
|
imageSetId: string;
|
33845
33815
|
repliedMessage: {
|
33846
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "
|
33816
|
+
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";
|
33847
33817
|
message: string;
|
33848
33818
|
id: string;
|
33849
33819
|
url: string;
|