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