@kl1/contracts 1.2.60-uat → 1.2.62-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-contracts/src/channel/index.d.ts +2629 -2687
- 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 -285
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +45 -70
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +72 -72
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +3632 -4224
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +1 -290
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +0 -71
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +43 -59
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
- package/dist/api-contracts/src/instagram/index.d.ts +33 -49
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +40 -56
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +5 -5
- package/dist/api-contracts/src/messenger/index.d.ts +33 -49
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +5 -5
- package/dist/api-contracts/src/telegram/index.d.ts +33 -49
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +33 -49
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +33 -49
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +39 -96
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -3
- package/dist/api-contracts/src/workflow-rule/index.d.ts +12 -29
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +0 -12
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +39 -137
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +39 -137
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ export declare const WorkflowAutoReplyMessageTypeSchema: z.ZodDefault<z.ZodEnum<
|
|
|
7
7
|
/**
|
|
8
8
|
* Message Type Enum
|
|
9
9
|
*/
|
|
10
|
-
export declare const MessageTypeSchema: 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", "
|
|
10
|
+
export declare const MessageTypeSchema: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
11
11
|
export declare const FeedPostTypeSchema: z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>;
|
|
12
12
|
/**
|
|
13
13
|
* Message Type Enum
|
|
@@ -2148,7 +2148,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
2148
2148
|
channelId: string;
|
|
2149
2149
|
socialPlatformId: string;
|
|
2150
2150
|
}>;
|
|
2151
|
-
csatStatus: z.ZodNullable<z.ZodString>;
|
|
2152
2151
|
actor: z.ZodObject<{
|
|
2153
2152
|
id: z.ZodString;
|
|
2154
2153
|
createdAt: z.ZodDate;
|
|
@@ -3991,7 +3990,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
3991
3990
|
closedAt: Date;
|
|
3992
3991
|
lastMessageAt: Date | null;
|
|
3993
3992
|
isBotRoom: boolean;
|
|
3994
|
-
csatStatus: string | null;
|
|
3995
3993
|
cxlog: {
|
|
3996
3994
|
id: string;
|
|
3997
3995
|
channel: string | null;
|
|
@@ -4419,7 +4417,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
4419
4417
|
closedAt: Date;
|
|
4420
4418
|
lastMessageAt: Date | null;
|
|
4421
4419
|
isBotRoom: boolean;
|
|
4422
|
-
csatStatus: string | null;
|
|
4423
4420
|
cxlog: {
|
|
4424
4421
|
id: string;
|
|
4425
4422
|
channel: string | null;
|
|
@@ -4532,7 +4529,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
4532
4529
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4533
4530
|
message: z.ZodString;
|
|
4534
4531
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
4535
|
-
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", "
|
|
4532
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
4536
4533
|
readAt: z.ZodDate;
|
|
4537
4534
|
metadata: z.ZodAny;
|
|
4538
4535
|
platformId: z.ZodString;
|
|
@@ -5606,7 +5603,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
5606
5603
|
channelId: string;
|
|
5607
5604
|
socialPlatformId: string;
|
|
5608
5605
|
}>;
|
|
5609
|
-
csatStatus: z.ZodNullable<z.ZodString>;
|
|
5610
5606
|
actor: z.ZodObject<{
|
|
5611
5607
|
id: z.ZodString;
|
|
5612
5608
|
createdAt: z.ZodDate;
|
|
@@ -7449,7 +7445,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
7449
7445
|
closedAt: Date;
|
|
7450
7446
|
lastMessageAt: Date | null;
|
|
7451
7447
|
isBotRoom: boolean;
|
|
7452
|
-
csatStatus: string | null;
|
|
7453
7448
|
cxlog: {
|
|
7454
7449
|
id: string;
|
|
7455
7450
|
channel: string | null;
|
|
@@ -7877,7 +7872,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
7877
7872
|
closedAt: Date;
|
|
7878
7873
|
lastMessageAt: Date | null;
|
|
7879
7874
|
isBotRoom: boolean;
|
|
7880
|
-
csatStatus: string | null;
|
|
7881
7875
|
cxlog: {
|
|
7882
7876
|
id: string;
|
|
7883
7877
|
channel: string | null;
|
|
@@ -8021,7 +8015,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
8021
8015
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
8022
8016
|
message: z.ZodString;
|
|
8023
8017
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
8024
|
-
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", "
|
|
8018
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
8025
8019
|
readAt: z.ZodDate;
|
|
8026
8020
|
metadata: z.ZodAny;
|
|
8027
8021
|
platformId: z.ZodString;
|
|
@@ -8679,7 +8673,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
8679
8673
|
};
|
|
8680
8674
|
}>;
|
|
8681
8675
|
}, "strip", z.ZodTypeAny, {
|
|
8682
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
8676
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
8683
8677
|
message: string;
|
|
8684
8678
|
id: string;
|
|
8685
8679
|
url: string;
|
|
@@ -8841,7 +8835,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
8841
8835
|
metadata?: any;
|
|
8842
8836
|
template?: any;
|
|
8843
8837
|
}, {
|
|
8844
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
8838
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
8845
8839
|
message: string;
|
|
8846
8840
|
id: string;
|
|
8847
8841
|
url: string;
|
|
@@ -9643,7 +9637,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
9643
9637
|
editedMessageid: z.ZodString;
|
|
9644
9638
|
label: z.ZodOptional<z.ZodString>;
|
|
9645
9639
|
}, "strip", z.ZodTypeAny, {
|
|
9646
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
9640
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
9647
9641
|
message: string;
|
|
9648
9642
|
id: string;
|
|
9649
9643
|
url: string;
|
|
@@ -10078,7 +10072,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
10078
10072
|
closedAt: Date;
|
|
10079
10073
|
lastMessageAt: Date | null;
|
|
10080
10074
|
isBotRoom: boolean;
|
|
10081
|
-
csatStatus: string | null;
|
|
10082
10075
|
cxlog: {
|
|
10083
10076
|
id: string;
|
|
10084
10077
|
channel: string | null;
|
|
@@ -10197,7 +10190,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
10197
10190
|
previewUrl: string;
|
|
10198
10191
|
imageSetId: string;
|
|
10199
10192
|
repliedMessage: {
|
|
10200
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
10193
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
10201
10194
|
message: string;
|
|
10202
10195
|
id: string;
|
|
10203
10196
|
url: string;
|
|
@@ -10408,7 +10401,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
10408
10401
|
template?: any;
|
|
10409
10402
|
label?: string | undefined;
|
|
10410
10403
|
}, {
|
|
10411
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
10404
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
10412
10405
|
message: string;
|
|
10413
10406
|
id: string;
|
|
10414
10407
|
url: string;
|
|
@@ -10843,7 +10836,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
10843
10836
|
closedAt: Date;
|
|
10844
10837
|
lastMessageAt: Date | null;
|
|
10845
10838
|
isBotRoom: boolean;
|
|
10846
|
-
csatStatus: string | null;
|
|
10847
10839
|
cxlog: {
|
|
10848
10840
|
id: string;
|
|
10849
10841
|
channel: string | null;
|
|
@@ -10962,7 +10954,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
10962
10954
|
previewUrl: string;
|
|
10963
10955
|
imageSetId: string;
|
|
10964
10956
|
repliedMessage: {
|
|
10965
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
10957
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
10966
10958
|
message: string;
|
|
10967
10959
|
id: string;
|
|
10968
10960
|
url: string;
|
|
@@ -11174,7 +11166,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
11174
11166
|
label?: string | undefined;
|
|
11175
11167
|
}>;
|
|
11176
11168
|
export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
11177
|
-
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", "
|
|
11169
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
11178
11170
|
message: z.ZodString;
|
|
11179
11171
|
id: z.ZodString;
|
|
11180
11172
|
url: z.ZodString;
|
|
@@ -12691,7 +12683,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
12691
12683
|
channelId: string;
|
|
12692
12684
|
socialPlatformId: string;
|
|
12693
12685
|
}>;
|
|
12694
|
-
csatStatus: z.ZodNullable<z.ZodString>;
|
|
12695
12686
|
actor: z.ZodObject<{
|
|
12696
12687
|
id: z.ZodString;
|
|
12697
12688
|
createdAt: z.ZodDate;
|
|
@@ -14534,7 +14525,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
14534
14525
|
closedAt: Date;
|
|
14535
14526
|
lastMessageAt: Date | null;
|
|
14536
14527
|
isBotRoom: boolean;
|
|
14537
|
-
csatStatus: string | null;
|
|
14538
14528
|
cxlog: {
|
|
14539
14529
|
id: string;
|
|
14540
14530
|
channel: string | null;
|
|
@@ -14962,7 +14952,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
14962
14952
|
closedAt: Date;
|
|
14963
14953
|
lastMessageAt: Date | null;
|
|
14964
14954
|
isBotRoom: boolean;
|
|
14965
|
-
csatStatus: string | null;
|
|
14966
14955
|
cxlog: {
|
|
14967
14956
|
id: string;
|
|
14968
14957
|
channel: string | null;
|
|
@@ -15103,7 +15092,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
15103
15092
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
15104
15093
|
message: z.ZodString;
|
|
15105
15094
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
15106
|
-
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", "
|
|
15095
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
15107
15096
|
readAt: z.ZodDate;
|
|
15108
15097
|
metadata: z.ZodAny;
|
|
15109
15098
|
platformId: z.ZodString;
|
|
@@ -15761,7 +15750,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
15761
15750
|
};
|
|
15762
15751
|
}>;
|
|
15763
15752
|
}, "strip", z.ZodTypeAny, {
|
|
15764
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
15753
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
15765
15754
|
message: string;
|
|
15766
15755
|
id: string;
|
|
15767
15756
|
url: string;
|
|
@@ -15923,7 +15912,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
15923
15912
|
metadata?: any;
|
|
15924
15913
|
template?: any;
|
|
15925
15914
|
}, {
|
|
15926
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
15915
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
15927
15916
|
message: string;
|
|
15928
15917
|
id: string;
|
|
15929
15918
|
url: string;
|
|
@@ -16298,7 +16287,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
16298
16287
|
updatedAt: z.ZodDate;
|
|
16299
16288
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16300
16289
|
message: z.ZodNullable<z.ZodString>;
|
|
16301
|
-
type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, 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", "
|
|
16290
|
+
type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>]>;
|
|
16302
16291
|
metadata: z.ZodAny;
|
|
16303
16292
|
platformId: z.ZodString;
|
|
16304
16293
|
platformMessageId: z.ZodString;
|
|
@@ -18106,7 +18095,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
18106
18095
|
}>;
|
|
18107
18096
|
permalinkURL: z.ZodString;
|
|
18108
18097
|
}, "strip", z.ZodTypeAny, {
|
|
18109
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
18098
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18110
18099
|
message: string | null;
|
|
18111
18100
|
id: string;
|
|
18112
18101
|
channel: {
|
|
@@ -18387,7 +18376,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
18387
18376
|
metadata?: any;
|
|
18388
18377
|
template?: any;
|
|
18389
18378
|
}, {
|
|
18390
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
18379
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18391
18380
|
message: string | null;
|
|
18392
18381
|
id: string;
|
|
18393
18382
|
channel: {
|
|
@@ -18670,7 +18659,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
18670
18659
|
}>>;
|
|
18671
18660
|
replyReaction: z.ZodNullable<z.ZodString>;
|
|
18672
18661
|
}, "strip", z.ZodTypeAny, {
|
|
18673
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
18662
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18674
18663
|
message: string;
|
|
18675
18664
|
id: string;
|
|
18676
18665
|
url: string;
|
|
@@ -19105,7 +19094,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
19105
19094
|
closedAt: Date;
|
|
19106
19095
|
lastMessageAt: Date | null;
|
|
19107
19096
|
isBotRoom: boolean;
|
|
19108
|
-
csatStatus: string | null;
|
|
19109
19097
|
cxlog: {
|
|
19110
19098
|
id: string;
|
|
19111
19099
|
channel: string | null;
|
|
@@ -19224,7 +19212,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
19224
19212
|
previewUrl: string;
|
|
19225
19213
|
imageSetId: string;
|
|
19226
19214
|
repliedMessage: {
|
|
19227
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
19215
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
19228
19216
|
message: string;
|
|
19229
19217
|
id: string;
|
|
19230
19218
|
url: string;
|
|
@@ -19434,7 +19422,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
19434
19422
|
parentMessageId: string | null;
|
|
19435
19423
|
feedPostId: string | null;
|
|
19436
19424
|
feedPost: {
|
|
19437
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
19425
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
19438
19426
|
message: string | null;
|
|
19439
19427
|
id: string;
|
|
19440
19428
|
channel: {
|
|
@@ -19720,7 +19708,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
19720
19708
|
template?: any;
|
|
19721
19709
|
metadata?: any;
|
|
19722
19710
|
}, {
|
|
19723
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
19711
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
19724
19712
|
message: string;
|
|
19725
19713
|
id: string;
|
|
19726
19714
|
url: string;
|
|
@@ -20155,7 +20143,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
20155
20143
|
closedAt: Date;
|
|
20156
20144
|
lastMessageAt: Date | null;
|
|
20157
20145
|
isBotRoom: boolean;
|
|
20158
|
-
csatStatus: string | null;
|
|
20159
20146
|
cxlog: {
|
|
20160
20147
|
id: string;
|
|
20161
20148
|
channel: string | null;
|
|
@@ -20274,7 +20261,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
20274
20261
|
previewUrl: string;
|
|
20275
20262
|
imageSetId: string;
|
|
20276
20263
|
repliedMessage: {
|
|
20277
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
20264
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
20278
20265
|
message: string;
|
|
20279
20266
|
id: string;
|
|
20280
20267
|
url: string;
|
|
@@ -20484,7 +20471,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
20484
20471
|
parentMessageId: string | null;
|
|
20485
20472
|
feedPostId: string | null;
|
|
20486
20473
|
feedPost: {
|
|
20487
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
20474
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
20488
20475
|
message: string | null;
|
|
20489
20476
|
id: string;
|
|
20490
20477
|
channel: {
|
|
@@ -20777,7 +20764,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
|
20777
20764
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
20778
20765
|
message: z.ZodString;
|
|
20779
20766
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
20780
|
-
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", "
|
|
20767
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
20781
20768
|
readAt: z.ZodDate;
|
|
20782
20769
|
metadata: z.ZodAny;
|
|
20783
20770
|
platformId: z.ZodString;
|
|
@@ -21435,7 +21422,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
|
21435
21422
|
};
|
|
21436
21423
|
}>;
|
|
21437
21424
|
}, "strip", z.ZodTypeAny, {
|
|
21438
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
21425
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
21439
21426
|
message: string;
|
|
21440
21427
|
id: string;
|
|
21441
21428
|
url: string;
|
|
@@ -21597,7 +21584,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
|
21597
21584
|
metadata?: any;
|
|
21598
21585
|
template?: any;
|
|
21599
21586
|
}, {
|
|
21600
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
21587
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
21601
21588
|
message: string;
|
|
21602
21589
|
id: string;
|
|
21603
21590
|
url: string;
|
|
@@ -21773,7 +21760,7 @@ export declare const UnreadCountsByAssigneeSchema: z.ZodObject<{
|
|
|
21773
21760
|
totalUnreadCount: number;
|
|
21774
21761
|
}>;
|
|
21775
21762
|
export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
21776
|
-
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", "
|
|
21763
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
21777
21764
|
message: z.ZodString;
|
|
21778
21765
|
id: z.ZodString;
|
|
21779
21766
|
url: z.ZodString;
|
|
@@ -23290,7 +23277,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
23290
23277
|
channelId: string;
|
|
23291
23278
|
socialPlatformId: string;
|
|
23292
23279
|
}>;
|
|
23293
|
-
csatStatus: z.ZodNullable<z.ZodString>;
|
|
23294
23280
|
actor: z.ZodObject<{
|
|
23295
23281
|
id: z.ZodString;
|
|
23296
23282
|
createdAt: z.ZodDate;
|
|
@@ -25133,7 +25119,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
25133
25119
|
closedAt: Date;
|
|
25134
25120
|
lastMessageAt: Date | null;
|
|
25135
25121
|
isBotRoom: boolean;
|
|
25136
|
-
csatStatus: string | null;
|
|
25137
25122
|
cxlog: {
|
|
25138
25123
|
id: string;
|
|
25139
25124
|
channel: string | null;
|
|
@@ -25561,7 +25546,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
25561
25546
|
closedAt: Date;
|
|
25562
25547
|
lastMessageAt: Date | null;
|
|
25563
25548
|
isBotRoom: boolean;
|
|
25564
|
-
csatStatus: string | null;
|
|
25565
25549
|
cxlog: {
|
|
25566
25550
|
id: string;
|
|
25567
25551
|
channel: string | null;
|
|
@@ -25702,7 +25686,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
25702
25686
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
25703
25687
|
message: z.ZodString;
|
|
25704
25688
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
25705
|
-
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", "
|
|
25689
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
25706
25690
|
readAt: z.ZodDate;
|
|
25707
25691
|
metadata: z.ZodAny;
|
|
25708
25692
|
platformId: z.ZodString;
|
|
@@ -26360,7 +26344,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
26360
26344
|
};
|
|
26361
26345
|
}>;
|
|
26362
26346
|
}, "strip", z.ZodTypeAny, {
|
|
26363
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
26347
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
26364
26348
|
message: string;
|
|
26365
26349
|
id: string;
|
|
26366
26350
|
url: string;
|
|
@@ -26522,7 +26506,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
26522
26506
|
metadata?: any;
|
|
26523
26507
|
template?: any;
|
|
26524
26508
|
}, {
|
|
26525
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
26509
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
26526
26510
|
message: string;
|
|
26527
26511
|
id: string;
|
|
26528
26512
|
url: string;
|
|
@@ -27943,7 +27927,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
27943
27927
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
27944
27928
|
message: z.ZodString;
|
|
27945
27929
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
27946
|
-
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", "
|
|
27930
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
27947
27931
|
readAt: z.ZodDate;
|
|
27948
27932
|
metadata: z.ZodAny;
|
|
27949
27933
|
platformId: z.ZodString;
|
|
@@ -29017,7 +29001,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
29017
29001
|
channelId: string;
|
|
29018
29002
|
socialPlatformId: string;
|
|
29019
29003
|
}>;
|
|
29020
|
-
csatStatus: z.ZodNullable<z.ZodString>;
|
|
29021
29004
|
actor: z.ZodObject<{
|
|
29022
29005
|
id: z.ZodString;
|
|
29023
29006
|
createdAt: z.ZodDate;
|
|
@@ -30860,7 +30843,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
30860
30843
|
closedAt: Date;
|
|
30861
30844
|
lastMessageAt: Date | null;
|
|
30862
30845
|
isBotRoom: boolean;
|
|
30863
|
-
csatStatus: string | null;
|
|
30864
30846
|
cxlog: {
|
|
30865
30847
|
id: string;
|
|
30866
30848
|
channel: string | null;
|
|
@@ -31288,7 +31270,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
31288
31270
|
closedAt: Date;
|
|
31289
31271
|
lastMessageAt: Date | null;
|
|
31290
31272
|
isBotRoom: boolean;
|
|
31291
|
-
csatStatus: string | null;
|
|
31292
31273
|
cxlog: {
|
|
31293
31274
|
id: string;
|
|
31294
31275
|
channel: string | null;
|
|
@@ -31432,7 +31413,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
31432
31413
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
31433
31414
|
message: z.ZodString;
|
|
31434
31415
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
31435
|
-
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", "
|
|
31416
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
31436
31417
|
readAt: z.ZodDate;
|
|
31437
31418
|
metadata: z.ZodAny;
|
|
31438
31419
|
platformId: z.ZodString;
|
|
@@ -32090,7 +32071,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
32090
32071
|
};
|
|
32091
32072
|
}>;
|
|
32092
32073
|
}, "strip", z.ZodTypeAny, {
|
|
32093
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
32074
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
32094
32075
|
message: string;
|
|
32095
32076
|
id: string;
|
|
32096
32077
|
url: string;
|
|
@@ -32252,7 +32233,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
32252
32233
|
metadata?: any;
|
|
32253
32234
|
template?: any;
|
|
32254
32235
|
}, {
|
|
32255
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
32236
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
32256
32237
|
message: string;
|
|
32257
32238
|
id: string;
|
|
32258
32239
|
url: string;
|
|
@@ -33054,7 +33035,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
33054
33035
|
editedMessageid: z.ZodString;
|
|
33055
33036
|
label: z.ZodOptional<z.ZodString>;
|
|
33056
33037
|
}, "strip", z.ZodTypeAny, {
|
|
33057
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
33038
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
33058
33039
|
message: string;
|
|
33059
33040
|
id: string;
|
|
33060
33041
|
url: string;
|
|
@@ -33489,7 +33470,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
33489
33470
|
closedAt: Date;
|
|
33490
33471
|
lastMessageAt: Date | null;
|
|
33491
33472
|
isBotRoom: boolean;
|
|
33492
|
-
csatStatus: string | null;
|
|
33493
33473
|
cxlog: {
|
|
33494
33474
|
id: string;
|
|
33495
33475
|
channel: string | null;
|
|
@@ -33608,7 +33588,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
33608
33588
|
previewUrl: string;
|
|
33609
33589
|
imageSetId: string;
|
|
33610
33590
|
repliedMessage: {
|
|
33611
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
33591
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
33612
33592
|
message: string;
|
|
33613
33593
|
id: string;
|
|
33614
33594
|
url: string;
|
|
@@ -33819,7 +33799,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
33819
33799
|
template?: any;
|
|
33820
33800
|
label?: string | undefined;
|
|
33821
33801
|
}, {
|
|
33822
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
33802
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
33823
33803
|
message: string;
|
|
33824
33804
|
id: string;
|
|
33825
33805
|
url: string;
|
|
@@ -34254,7 +34234,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
34254
34234
|
closedAt: Date;
|
|
34255
34235
|
lastMessageAt: Date | null;
|
|
34256
34236
|
isBotRoom: boolean;
|
|
34257
|
-
csatStatus: string | null;
|
|
34258
34237
|
cxlog: {
|
|
34259
34238
|
id: string;
|
|
34260
34239
|
channel: string | null;
|
|
@@ -34373,7 +34352,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
34373
34352
|
previewUrl: string;
|
|
34374
34353
|
imageSetId: string;
|
|
34375
34354
|
repliedMessage: {
|
|
34376
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
34355
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
34377
34356
|
message: string;
|
|
34378
34357
|
id: string;
|
|
34379
34358
|
url: string;
|
|
@@ -34585,13 +34564,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
34585
34564
|
label?: string | undefined;
|
|
34586
34565
|
}>, "many">;
|
|
34587
34566
|
}, "strip", z.ZodTypeAny, {
|
|
34588
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
34567
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
34589
34568
|
message: string;
|
|
34590
34569
|
id: string;
|
|
34591
34570
|
url: string;
|
|
34592
34571
|
direction: "incoming" | "outgoing" | "system";
|
|
34593
34572
|
children: {
|
|
34594
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
34573
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
34595
34574
|
message: string;
|
|
34596
34575
|
id: string;
|
|
34597
34576
|
url: string;
|
|
@@ -35026,7 +35005,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
35026
35005
|
closedAt: Date;
|
|
35027
35006
|
lastMessageAt: Date | null;
|
|
35028
35007
|
isBotRoom: boolean;
|
|
35029
|
-
csatStatus: string | null;
|
|
35030
35008
|
cxlog: {
|
|
35031
35009
|
id: string;
|
|
35032
35010
|
channel: string | null;
|
|
@@ -35145,7 +35123,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
35145
35123
|
previewUrl: string;
|
|
35146
35124
|
imageSetId: string;
|
|
35147
35125
|
repliedMessage: {
|
|
35148
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
35126
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
35149
35127
|
message: string;
|
|
35150
35128
|
id: string;
|
|
35151
35129
|
url: string;
|
|
@@ -35786,7 +35764,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
35786
35764
|
closedAt: Date;
|
|
35787
35765
|
lastMessageAt: Date | null;
|
|
35788
35766
|
isBotRoom: boolean;
|
|
35789
|
-
csatStatus: string | null;
|
|
35790
35767
|
cxlog: {
|
|
35791
35768
|
id: string;
|
|
35792
35769
|
channel: string | null;
|
|
@@ -35905,7 +35882,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
35905
35882
|
previewUrl: string;
|
|
35906
35883
|
imageSetId: string;
|
|
35907
35884
|
repliedMessage: {
|
|
35908
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
35885
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
35909
35886
|
message: string;
|
|
35910
35887
|
id: string;
|
|
35911
35888
|
url: string;
|
|
@@ -36243,13 +36220,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
36243
36220
|
template?: any;
|
|
36244
36221
|
metadata?: any;
|
|
36245
36222
|
}, {
|
|
36246
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
36223
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
36247
36224
|
message: string;
|
|
36248
36225
|
id: string;
|
|
36249
36226
|
url: string;
|
|
36250
36227
|
direction: "incoming" | "outgoing" | "system";
|
|
36251
36228
|
children: {
|
|
36252
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
36229
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
36253
36230
|
message: string;
|
|
36254
36231
|
id: string;
|
|
36255
36232
|
url: string;
|
|
@@ -36684,7 +36661,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
36684
36661
|
closedAt: Date;
|
|
36685
36662
|
lastMessageAt: Date | null;
|
|
36686
36663
|
isBotRoom: boolean;
|
|
36687
|
-
csatStatus: string | null;
|
|
36688
36664
|
cxlog: {
|
|
36689
36665
|
id: string;
|
|
36690
36666
|
channel: string | null;
|
|
@@ -36803,7 +36779,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
36803
36779
|
previewUrl: string;
|
|
36804
36780
|
imageSetId: string;
|
|
36805
36781
|
repliedMessage: {
|
|
36806
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
36782
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
36807
36783
|
message: string;
|
|
36808
36784
|
id: string;
|
|
36809
36785
|
url: string;
|
|
@@ -37444,7 +37420,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
37444
37420
|
closedAt: Date;
|
|
37445
37421
|
lastMessageAt: Date | null;
|
|
37446
37422
|
isBotRoom: boolean;
|
|
37447
|
-
csatStatus: string | null;
|
|
37448
37423
|
cxlog: {
|
|
37449
37424
|
id: string;
|
|
37450
37425
|
channel: string | null;
|
|
@@ -37563,7 +37538,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
37563
37538
|
previewUrl: string;
|
|
37564
37539
|
imageSetId: string;
|
|
37565
37540
|
repliedMessage: {
|
|
37566
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "
|
|
37541
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
37567
37542
|
message: string;
|
|
37568
37543
|
id: string;
|
|
37569
37544
|
url: string;
|