@kl1/contracts 1.3.47 → 1.3.48
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 +1 -832
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +10 -0
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +0 -10
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +211 -233
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +63 -60
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +69 -85
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +1828 -3069
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +1 -12
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +1 -4
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +0 -3
- package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +53 -53
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
- package/dist/api-contracts/src/index.d.ts +0 -1
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +41 -41
- package/dist/api-contracts/src/line/index.d.ts +48 -48
- package/dist/api-contracts/src/line/validation.d.ts +7 -7
- package/dist/api-contracts/src/messenger/index.d.ts +41 -41
- package/dist/api-contracts/src/presence-status/index.d.ts +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +7 -7
- package/dist/api-contracts/src/telegram/index.d.ts +41 -41
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +430 -0
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -0
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +41 -41
- package/dist/api-contracts/src/webchat/index.d.ts +41 -41
- package/dist/api-contracts/src/whatsapp/index.d.ts +41 -41
- package/dist/api-contracts/src/workflow-rule/index.d.ts +17 -17
- package/dist/index.js +1600 -1610
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1600 -1609
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
import { DefaultQueryParamsSchema } from '../base-contract';
|
3
3
|
import { FeedPostSchema } from '../facebook-feed/schema';
|
4
|
-
import {
|
4
|
+
import { MessageRelevanceSchema, MessageSchema, MessageWithFeedPostSchema, OrderQueryParamSchema, RoomSchema } from './schema';
|
5
5
|
import { ActionMessageSchema, ChannelSchema, DeleteMessageToPlatformSchema, GetRoomsSchema, InitiateMessageSchema, LineStickerSchema, ReceiveMessageSchema, ReloginChanelSchema, SearchRoomsSchema, SendMessageResponseSchema, SendMessageSchema, SendMessageToPlatformSchema, SendMessageWithActionTypeSchema, SolveRoomSchema, UpdateAssigneeByWorkflowSchema, UpdateAssigneeSchema, UpdateRoomAttributesSchema, UpdateRoomTagsAndNotesSchema, UpdateUnAssignRoomsSchema } from './validation';
|
6
6
|
export type GetRoomRequest = z.infer<typeof GetRoomsSchema>;
|
7
7
|
export type UpdateRoomAttributesRequest = z.infer<typeof UpdateRoomAttributesSchema>;
|
@@ -25,8 +25,6 @@ export type ReceiveMessageRequest = z.infer<typeof ReceiveMessageSchema>;
|
|
25
25
|
export type GetMessagesResponse = z.infer<typeof DefaultQueryParamsSchema>;
|
26
26
|
export type RoomSchemaType = z.infer<typeof RoomSchema>;
|
27
27
|
export type MessageSchemaType = z.infer<typeof MessageSchema>;
|
28
|
-
export type MessageType = z.infer<typeof MessageTypeSchema>;
|
29
|
-
export type MessageDirectionType = z.infer<typeof MessageDirectionTypeSchema>;
|
30
28
|
export type MessageWithFeedPostSchemaType = z.infer<typeof MessageWithFeedPostSchema>;
|
31
29
|
export type LineStickerRequestType = z.infer<typeof LineStickerSchema>;
|
32
30
|
export type MessageRelevanceType = z.infer<typeof MessageRelevanceSchema>;
|
@@ -41,8 +39,8 @@ export declare const receiveMessageContract: {
|
|
41
39
|
updatedAt: z.ZodString;
|
42
40
|
deletedAt: z.ZodNullable<z.ZodString>;
|
43
41
|
message: z.ZodOptional<z.ZodString>;
|
44
|
-
direction: z.
|
45
|
-
type: z.
|
42
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
43
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
46
44
|
metadata: z.ZodAny;
|
47
45
|
platformId: z.ZodString;
|
48
46
|
platformMessageId: z.ZodString;
|
@@ -64,7 +62,7 @@ export declare const receiveMessageContract: {
|
|
64
62
|
firstResponseAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
65
63
|
firstResponseTime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
66
64
|
isLatest: z.ZodOptional<z.ZodBoolean>;
|
67
|
-
direction: z.ZodOptional<z.
|
65
|
+
direction: z.ZodOptional<z.ZodEnum<["incoming", "outgoing", "system"]>>;
|
68
66
|
platformContact: z.ZodOptional<z.ZodObject<{
|
69
67
|
id: z.ZodString;
|
70
68
|
createdAt: z.ZodString;
|
@@ -3582,7 +3580,7 @@ export declare const receiveMessageContract: {
|
|
3582
3580
|
}>>>;
|
3583
3581
|
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
3584
3582
|
}, "strip", z.ZodTypeAny, {
|
3585
|
-
type:
|
3583
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
3586
3584
|
id: string;
|
3587
3585
|
direction: "incoming" | "outgoing" | "system";
|
3588
3586
|
createdAt: string;
|
@@ -4102,7 +4100,7 @@ export declare const receiveMessageContract: {
|
|
4102
4100
|
} | null | undefined;
|
4103
4101
|
label?: string | null | undefined;
|
4104
4102
|
}, {
|
4105
|
-
type:
|
4103
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
4106
4104
|
id: string;
|
4107
4105
|
direction: "incoming" | "outgoing" | "system";
|
4108
4106
|
createdAt: string;
|
@@ -4624,7 +4622,7 @@ export declare const receiveMessageContract: {
|
|
4624
4622
|
}>;
|
4625
4623
|
}, "strip", z.ZodTypeAny, {
|
4626
4624
|
message: {
|
4627
|
-
type:
|
4625
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
4628
4626
|
id: string;
|
4629
4627
|
direction: "incoming" | "outgoing" | "system";
|
4630
4628
|
createdAt: string;
|
@@ -5146,7 +5144,7 @@ export declare const receiveMessageContract: {
|
|
5146
5144
|
};
|
5147
5145
|
}, {
|
5148
5146
|
message: {
|
5149
|
-
type:
|
5147
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
5150
5148
|
id: string;
|
5151
5149
|
direction: "incoming" | "outgoing" | "system";
|
5152
5150
|
createdAt: string;
|
@@ -5715,7 +5713,7 @@ export declare const mainFeedContract: {
|
|
5715
5713
|
updatedAt: z.ZodDate;
|
5716
5714
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5717
5715
|
message: z.ZodNullable<z.ZodString>;
|
5718
|
-
type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.
|
5716
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>]>;
|
5719
5717
|
metadata: z.ZodAny;
|
5720
5718
|
platformId: z.ZodString;
|
5721
5719
|
platformMessageId: z.ZodString;
|
@@ -7554,7 +7552,7 @@ export declare const mainFeedContract: {
|
|
7554
7552
|
}>;
|
7555
7553
|
permalinkURL: z.ZodString;
|
7556
7554
|
}, "strip", z.ZodTypeAny, {
|
7557
|
-
type:
|
7555
|
+
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" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
7558
7556
|
message: string | null;
|
7559
7557
|
id: string;
|
7560
7558
|
channel: {
|
@@ -7840,7 +7838,7 @@ export declare const mainFeedContract: {
|
|
7840
7838
|
metadata?: any;
|
7841
7839
|
template?: any;
|
7842
7840
|
}, {
|
7843
|
-
type:
|
7841
|
+
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" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
7844
7842
|
message: string | null;
|
7845
7843
|
id: string;
|
7846
7844
|
channel: {
|
@@ -8128,7 +8126,7 @@ export declare const mainFeedContract: {
|
|
8128
8126
|
}>;
|
8129
8127
|
}, "strip", z.ZodTypeAny, {
|
8130
8128
|
data: {
|
8131
|
-
type:
|
8129
|
+
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" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
8132
8130
|
message: string | null;
|
8133
8131
|
id: string;
|
8134
8132
|
channel: {
|
@@ -8417,7 +8415,7 @@ export declare const mainFeedContract: {
|
|
8417
8415
|
requestId: string;
|
8418
8416
|
}, {
|
8419
8417
|
data: {
|
8420
|
-
type:
|
8418
|
+
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" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
8421
8419
|
message: string | null;
|
8422
8420
|
id: string;
|
8423
8421
|
channel: {
|
@@ -8751,11 +8749,11 @@ export declare const mainFeedContract: {
|
|
8751
8749
|
page: z.ZodNumber;
|
8752
8750
|
pageSize: z.ZodNumber;
|
8753
8751
|
data: z.ZodObject<{
|
8754
|
-
type: z.
|
8752
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
8755
8753
|
message: z.ZodString;
|
8756
8754
|
id: z.ZodString;
|
8757
8755
|
url: z.ZodString;
|
8758
|
-
direction: z.
|
8756
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
8759
8757
|
label: z.ZodOptional<z.ZodString>;
|
8760
8758
|
template: z.ZodAny;
|
8761
8759
|
metadata: z.ZodAny;
|
@@ -9220,7 +9218,7 @@ export declare const mainFeedContract: {
|
|
9220
9218
|
firstResponseTime: z.ZodNumber;
|
9221
9219
|
isLatest: z.ZodBoolean;
|
9222
9220
|
isBotRoom: z.ZodBoolean;
|
9223
|
-
direction: z.
|
9221
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
9224
9222
|
platformContact: z.ZodObject<{
|
9225
9223
|
id: z.ZodString;
|
9226
9224
|
createdAt: z.ZodDate;
|
@@ -12733,8 +12731,8 @@ export declare const mainFeedContract: {
|
|
12733
12731
|
updatedAt: z.ZodDate;
|
12734
12732
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12735
12733
|
message: z.ZodString;
|
12736
|
-
direction: z.
|
12737
|
-
type: z.
|
12734
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
12735
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
12738
12736
|
readAt: z.ZodDate;
|
12739
12737
|
metadata: z.ZodAny;
|
12740
12738
|
platformId: z.ZodString;
|
@@ -13392,7 +13390,7 @@ export declare const mainFeedContract: {
|
|
13392
13390
|
};
|
13393
13391
|
}>;
|
13394
13392
|
}, "strip", z.ZodTypeAny, {
|
13395
|
-
type:
|
13393
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
13396
13394
|
message: string;
|
13397
13395
|
id: string;
|
13398
13396
|
url: string;
|
@@ -13554,7 +13552,7 @@ export declare const mainFeedContract: {
|
|
13554
13552
|
metadata?: any;
|
13555
13553
|
template?: any;
|
13556
13554
|
}, {
|
13557
|
-
type:
|
13555
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
13558
13556
|
message: string;
|
13559
13557
|
id: string;
|
13560
13558
|
url: string;
|
@@ -14974,8 +14972,8 @@ export declare const mainFeedContract: {
|
|
14974
14972
|
updatedAt: z.ZodDate;
|
14975
14973
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
14976
14974
|
message: z.ZodString;
|
14977
|
-
direction: z.
|
14978
|
-
type: z.
|
14975
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
14976
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
14979
14977
|
readAt: z.ZodDate;
|
14980
14978
|
metadata: z.ZodAny;
|
14981
14979
|
platformId: z.ZodString;
|
@@ -15001,7 +14999,7 @@ export declare const mainFeedContract: {
|
|
15001
14999
|
firstResponseTime: z.ZodNumber;
|
15002
15000
|
isLatest: z.ZodBoolean;
|
15003
15001
|
isBotRoom: z.ZodBoolean;
|
15004
|
-
direction: z.
|
15002
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
15005
15003
|
platformContact: z.ZodObject<{
|
15006
15004
|
id: z.ZodString;
|
15007
15005
|
createdAt: z.ZodDate;
|
@@ -18517,8 +18515,8 @@ export declare const mainFeedContract: {
|
|
18517
18515
|
updatedAt: z.ZodDate;
|
18518
18516
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
18519
18517
|
message: z.ZodString;
|
18520
|
-
direction: z.
|
18521
|
-
type: z.
|
18518
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
18519
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
18522
18520
|
readAt: z.ZodDate;
|
18523
18521
|
metadata: z.ZodAny;
|
18524
18522
|
platformId: z.ZodString;
|
@@ -19176,7 +19174,7 @@ export declare const mainFeedContract: {
|
|
19176
19174
|
};
|
19177
19175
|
}>;
|
19178
19176
|
}, "strip", z.ZodTypeAny, {
|
19179
|
-
type:
|
19177
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
19180
19178
|
message: string;
|
19181
19179
|
id: string;
|
19182
19180
|
url: string;
|
@@ -19338,7 +19336,7 @@ export declare const mainFeedContract: {
|
|
19338
19336
|
metadata?: any;
|
19339
19337
|
template?: any;
|
19340
19338
|
}, {
|
19341
|
-
type:
|
19339
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
19342
19340
|
message: string;
|
19343
19341
|
id: string;
|
19344
19342
|
url: string;
|
@@ -20140,7 +20138,7 @@ export declare const mainFeedContract: {
|
|
20140
20138
|
editedMessageid: z.ZodString;
|
20141
20139
|
label: z.ZodOptional<z.ZodString>;
|
20142
20140
|
}, "strip", z.ZodTypeAny, {
|
20143
|
-
type:
|
20141
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
20144
20142
|
message: string;
|
20145
20143
|
id: string;
|
20146
20144
|
url: string;
|
@@ -20702,7 +20700,7 @@ export declare const mainFeedContract: {
|
|
20702
20700
|
previewUrl: string;
|
20703
20701
|
imageSetId: string;
|
20704
20702
|
repliedMessage: {
|
20705
|
-
type:
|
20703
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
20706
20704
|
message: string;
|
20707
20705
|
id: string;
|
20708
20706
|
url: string;
|
@@ -20913,7 +20911,7 @@ export declare const mainFeedContract: {
|
|
20913
20911
|
template?: any;
|
20914
20912
|
label?: string | undefined;
|
20915
20913
|
}, {
|
20916
|
-
type:
|
20914
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
20917
20915
|
message: string;
|
20918
20916
|
id: string;
|
20919
20917
|
url: string;
|
@@ -21475,7 +21473,7 @@ export declare const mainFeedContract: {
|
|
21475
21473
|
previewUrl: string;
|
21476
21474
|
imageSetId: string;
|
21477
21475
|
repliedMessage: {
|
21478
|
-
type:
|
21476
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
21479
21477
|
message: string;
|
21480
21478
|
id: string;
|
21481
21479
|
url: string;
|
@@ -21687,13 +21685,13 @@ export declare const mainFeedContract: {
|
|
21687
21685
|
label?: string | undefined;
|
21688
21686
|
}>, "many">;
|
21689
21687
|
}, "strip", z.ZodTypeAny, {
|
21690
|
-
type:
|
21688
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
21691
21689
|
message: string;
|
21692
21690
|
id: string;
|
21693
21691
|
url: string;
|
21694
21692
|
direction: "incoming" | "outgoing" | "system";
|
21695
21693
|
children: {
|
21696
|
-
type:
|
21694
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
21697
21695
|
message: string;
|
21698
21696
|
id: string;
|
21699
21697
|
url: string;
|
@@ -22255,7 +22253,7 @@ export declare const mainFeedContract: {
|
|
22255
22253
|
previewUrl: string;
|
22256
22254
|
imageSetId: string;
|
22257
22255
|
repliedMessage: {
|
22258
|
-
type:
|
22256
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
22259
22257
|
message: string;
|
22260
22258
|
id: string;
|
22261
22259
|
url: string;
|
@@ -23023,7 +23021,7 @@ export declare const mainFeedContract: {
|
|
23023
23021
|
previewUrl: string;
|
23024
23022
|
imageSetId: string;
|
23025
23023
|
repliedMessage: {
|
23026
|
-
type:
|
23024
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
23027
23025
|
message: string;
|
23028
23026
|
id: string;
|
23029
23027
|
url: string;
|
@@ -23361,13 +23359,13 @@ export declare const mainFeedContract: {
|
|
23361
23359
|
template?: any;
|
23362
23360
|
metadata?: any;
|
23363
23361
|
}, {
|
23364
|
-
type:
|
23362
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
23365
23363
|
message: string;
|
23366
23364
|
id: string;
|
23367
23365
|
url: string;
|
23368
23366
|
direction: "incoming" | "outgoing" | "system";
|
23369
23367
|
children: {
|
23370
|
-
type:
|
23368
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
23371
23369
|
message: string;
|
23372
23370
|
id: string;
|
23373
23371
|
url: string;
|
@@ -23929,7 +23927,7 @@ export declare const mainFeedContract: {
|
|
23929
23927
|
previewUrl: string;
|
23930
23928
|
imageSetId: string;
|
23931
23929
|
repliedMessage: {
|
23932
|
-
type:
|
23930
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
23933
23931
|
message: string;
|
23934
23932
|
id: string;
|
23935
23933
|
url: string;
|
@@ -24697,7 +24695,7 @@ export declare const mainFeedContract: {
|
|
24697
24695
|
previewUrl: string;
|
24698
24696
|
imageSetId: string;
|
24699
24697
|
repliedMessage: {
|
24700
|
-
type:
|
24698
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
24701
24699
|
message: string;
|
24702
24700
|
id: string;
|
24703
24701
|
url: string;
|
@@ -25037,13 +25035,13 @@ export declare const mainFeedContract: {
|
|
25037
25035
|
}>;
|
25038
25036
|
}, "strip", z.ZodTypeAny, {
|
25039
25037
|
data: {
|
25040
|
-
type:
|
25038
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
25041
25039
|
message: string;
|
25042
25040
|
id: string;
|
25043
25041
|
url: string;
|
25044
25042
|
direction: "incoming" | "outgoing" | "system";
|
25045
25043
|
children: {
|
25046
|
-
type:
|
25044
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
25047
25045
|
message: string;
|
25048
25046
|
id: string;
|
25049
25047
|
url: string;
|
@@ -25605,7 +25603,7 @@ export declare const mainFeedContract: {
|
|
25605
25603
|
previewUrl: string;
|
25606
25604
|
imageSetId: string;
|
25607
25605
|
repliedMessage: {
|
25608
|
-
type:
|
25606
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
25609
25607
|
message: string;
|
25610
25608
|
id: string;
|
25611
25609
|
url: string;
|
@@ -26373,7 +26371,7 @@ export declare const mainFeedContract: {
|
|
26373
26371
|
previewUrl: string;
|
26374
26372
|
imageSetId: string;
|
26375
26373
|
repliedMessage: {
|
26376
|
-
type:
|
26374
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
26377
26375
|
message: string;
|
26378
26376
|
id: string;
|
26379
26377
|
url: string;
|
@@ -26717,13 +26715,13 @@ export declare const mainFeedContract: {
|
|
26717
26715
|
requestId: string;
|
26718
26716
|
}, {
|
26719
26717
|
data: {
|
26720
|
-
type:
|
26718
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
26721
26719
|
message: string;
|
26722
26720
|
id: string;
|
26723
26721
|
url: string;
|
26724
26722
|
direction: "incoming" | "outgoing" | "system";
|
26725
26723
|
children: {
|
26726
|
-
type:
|
26724
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
26727
26725
|
message: string;
|
26728
26726
|
id: string;
|
26729
26727
|
url: string;
|
@@ -27285,7 +27283,7 @@ export declare const mainFeedContract: {
|
|
27285
27283
|
previewUrl: string;
|
27286
27284
|
imageSetId: string;
|
27287
27285
|
repliedMessage: {
|
27288
|
-
type:
|
27286
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
27289
27287
|
message: string;
|
27290
27288
|
id: string;
|
27291
27289
|
url: string;
|
@@ -28053,7 +28051,7 @@ export declare const mainFeedContract: {
|
|
28053
28051
|
previewUrl: string;
|
28054
28052
|
imageSetId: string;
|
28055
28053
|
repliedMessage: {
|
28056
|
-
type:
|
28054
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
28057
28055
|
message: string;
|
28058
28056
|
id: string;
|
28059
28057
|
url: string;
|
@@ -28575,7 +28573,7 @@ export declare const mainChatRoomContract: {
|
|
28575
28573
|
firstResponseTime: z.ZodNumber;
|
28576
28574
|
isLatest: z.ZodBoolean;
|
28577
28575
|
isBotRoom: z.ZodBoolean;
|
28578
|
-
direction: z.
|
28576
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
28579
28577
|
platformContact: z.ZodObject<{
|
28580
28578
|
id: z.ZodString;
|
28581
28579
|
createdAt: z.ZodDate;
|
@@ -33015,7 +33013,7 @@ export declare const mainChatRoomContract: {
|
|
33015
33013
|
firstResponseTime: z.ZodNumber;
|
33016
33014
|
isLatest: z.ZodBoolean;
|
33017
33015
|
isBotRoom: z.ZodBoolean;
|
33018
|
-
direction: z.
|
33016
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
33019
33017
|
platformContact: z.ZodObject<{
|
33020
33018
|
id: z.ZodString;
|
33021
33019
|
createdAt: z.ZodDate;
|
@@ -36494,8 +36492,8 @@ export declare const mainChatRoomContract: {
|
|
36494
36492
|
showResumeLabel: z.ZodBoolean;
|
36495
36493
|
latestIncomingMessage: z.ZodObject<{
|
36496
36494
|
message: z.ZodString;
|
36497
|
-
direction: z.
|
36498
|
-
type: z.
|
36495
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
36496
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
36499
36497
|
readAt: z.ZodDate;
|
36500
36498
|
metadata: z.ZodAny;
|
36501
36499
|
platformId: z.ZodString;
|
@@ -36507,7 +36505,7 @@ export declare const mainChatRoomContract: {
|
|
36507
36505
|
previewUrl: z.ZodString;
|
36508
36506
|
imageSetId: z.ZodString;
|
36509
36507
|
}, "strip", z.ZodTypeAny, {
|
36510
|
-
type:
|
36508
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
36511
36509
|
message: string;
|
36512
36510
|
url: string;
|
36513
36511
|
direction: "incoming" | "outgoing" | "system";
|
@@ -36521,7 +36519,7 @@ export declare const mainChatRoomContract: {
|
|
36521
36519
|
metadata?: any;
|
36522
36520
|
template?: any;
|
36523
36521
|
}, {
|
36524
|
-
type:
|
36522
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
36525
36523
|
message: string;
|
36526
36524
|
url: string;
|
36527
36525
|
direction: "incoming" | "outgoing" | "system";
|
@@ -36537,8 +36535,8 @@ export declare const mainChatRoomContract: {
|
|
36537
36535
|
}>;
|
36538
36536
|
latestMessage: z.ZodObject<{
|
36539
36537
|
message: z.ZodString;
|
36540
|
-
direction: z.
|
36541
|
-
type: z.
|
36538
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
36539
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
36542
36540
|
readAt: z.ZodDate;
|
36543
36541
|
metadata: z.ZodAny;
|
36544
36542
|
platformId: z.ZodString;
|
@@ -36550,7 +36548,7 @@ export declare const mainChatRoomContract: {
|
|
36550
36548
|
previewUrl: z.ZodString;
|
36551
36549
|
imageSetId: z.ZodString;
|
36552
36550
|
}, "strip", z.ZodTypeAny, {
|
36553
|
-
type:
|
36551
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
36554
36552
|
message: string;
|
36555
36553
|
url: string;
|
36556
36554
|
direction: "incoming" | "outgoing" | "system";
|
@@ -36564,7 +36562,7 @@ export declare const mainChatRoomContract: {
|
|
36564
36562
|
metadata?: any;
|
36565
36563
|
template?: any;
|
36566
36564
|
}, {
|
36567
|
-
type:
|
36565
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
36568
36566
|
message: string;
|
36569
36567
|
url: string;
|
36570
36568
|
direction: "incoming" | "outgoing" | "system";
|
@@ -37018,7 +37016,7 @@ export declare const mainChatRoomContract: {
|
|
37018
37016
|
};
|
37019
37017
|
showResumeLabel: boolean;
|
37020
37018
|
latestIncomingMessage: {
|
37021
|
-
type:
|
37019
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
37022
37020
|
message: string;
|
37023
37021
|
url: string;
|
37024
37022
|
direction: "incoming" | "outgoing" | "system";
|
@@ -37033,7 +37031,7 @@ export declare const mainChatRoomContract: {
|
|
37033
37031
|
template?: any;
|
37034
37032
|
};
|
37035
37033
|
latestMessage: {
|
37036
|
-
type:
|
37034
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
37037
37035
|
message: string;
|
37038
37036
|
url: string;
|
37039
37037
|
direction: "incoming" | "outgoing" | "system";
|
@@ -37487,7 +37485,7 @@ export declare const mainChatRoomContract: {
|
|
37487
37485
|
};
|
37488
37486
|
showResumeLabel: boolean;
|
37489
37487
|
latestIncomingMessage: {
|
37490
|
-
type:
|
37488
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
37491
37489
|
message: string;
|
37492
37490
|
url: string;
|
37493
37491
|
direction: "incoming" | "outgoing" | "system";
|
@@ -37502,7 +37500,7 @@ export declare const mainChatRoomContract: {
|
|
37502
37500
|
template?: any;
|
37503
37501
|
};
|
37504
37502
|
latestMessage: {
|
37505
|
-
type:
|
37503
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
37506
37504
|
message: string;
|
37507
37505
|
url: string;
|
37508
37506
|
direction: "incoming" | "outgoing" | "system";
|
@@ -37958,7 +37956,7 @@ export declare const mainChatRoomContract: {
|
|
37958
37956
|
};
|
37959
37957
|
showResumeLabel: boolean;
|
37960
37958
|
latestIncomingMessage: {
|
37961
|
-
type:
|
37959
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
37962
37960
|
message: string;
|
37963
37961
|
url: string;
|
37964
37962
|
direction: "incoming" | "outgoing" | "system";
|
@@ -37973,7 +37971,7 @@ export declare const mainChatRoomContract: {
|
|
37973
37971
|
template?: any;
|
37974
37972
|
};
|
37975
37973
|
latestMessage: {
|
37976
|
-
type:
|
37974
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
37977
37975
|
message: string;
|
37978
37976
|
url: string;
|
37979
37977
|
direction: "incoming" | "outgoing" | "system";
|
@@ -38430,7 +38428,7 @@ export declare const mainChatRoomContract: {
|
|
38430
38428
|
};
|
38431
38429
|
showResumeLabel: boolean;
|
38432
38430
|
latestIncomingMessage: {
|
38433
|
-
type:
|
38431
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
38434
38432
|
message: string;
|
38435
38433
|
url: string;
|
38436
38434
|
direction: "incoming" | "outgoing" | "system";
|
@@ -38445,7 +38443,7 @@ export declare const mainChatRoomContract: {
|
|
38445
38443
|
template?: any;
|
38446
38444
|
};
|
38447
38445
|
latestMessage: {
|
38448
|
-
type:
|
38446
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
38449
38447
|
message: string;
|
38450
38448
|
url: string;
|
38451
38449
|
direction: "incoming" | "outgoing" | "system";
|
@@ -39087,7 +39085,7 @@ export declare const mainChatRoomContract: {
|
|
39087
39085
|
integrationId: string;
|
39088
39086
|
} | null;
|
39089
39087
|
}>;
|
39090
|
-
direction: z.
|
39088
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
39091
39089
|
status: z.ZodNumber;
|
39092
39090
|
createdAt: z.ZodDate;
|
39093
39091
|
updatedAt: z.ZodDate;
|
@@ -43505,7 +43503,7 @@ export declare const mainChatRoomContract: {
|
|
43505
43503
|
integrationId: string;
|
43506
43504
|
} | null;
|
43507
43505
|
}>;
|
43508
|
-
direction: z.
|
43506
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
43509
43507
|
status: z.ZodNumber;
|
43510
43508
|
createdAt: z.ZodDate;
|
43511
43509
|
updatedAt: z.ZodDate;
|
@@ -49131,7 +49129,7 @@ export declare const mainChatRoomContract: {
|
|
49131
49129
|
integrationId: string;
|
49132
49130
|
} | null;
|
49133
49131
|
}>;
|
49134
|
-
direction: z.
|
49132
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
49135
49133
|
status: z.ZodNumber;
|
49136
49134
|
createdAt: z.ZodDate;
|
49137
49135
|
updatedAt: z.ZodDate;
|
@@ -53553,7 +53551,7 @@ export declare const mainChatRoomContract: {
|
|
53553
53551
|
integrationId: string;
|
53554
53552
|
} | null;
|
53555
53553
|
}>;
|
53556
|
-
direction: z.
|
53554
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
53557
53555
|
status: z.ZodNumber;
|
53558
53556
|
createdAt: z.ZodDate;
|
53559
53557
|
updatedAt: z.ZodDate;
|
@@ -57373,7 +57371,7 @@ export declare const mainChatContract: {
|
|
57373
57371
|
sendMessage: {
|
57374
57372
|
body: z.ZodObject<{
|
57375
57373
|
roomId: z.ZodString;
|
57376
|
-
messageType: z.
|
57374
|
+
messageType: 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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
57377
57375
|
message: z.ZodOptional<z.ZodString>;
|
57378
57376
|
messageAttachments: z.ZodOptional<z.ZodObject<{
|
57379
57377
|
bucketName: z.ZodString;
|
@@ -57383,8 +57381,6 @@ export declare const mainChatContract: {
|
|
57383
57381
|
url: z.ZodNullable<z.ZodString>;
|
57384
57382
|
fileType: z.ZodString;
|
57385
57383
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
57386
|
-
width: z.ZodOptional<z.ZodString>;
|
57387
|
-
height: z.ZodOptional<z.ZodString>;
|
57388
57384
|
}, "strip", z.ZodTypeAny, {
|
57389
57385
|
url: string | null;
|
57390
57386
|
fileName: string;
|
@@ -57393,8 +57389,6 @@ export declare const mainChatContract: {
|
|
57393
57389
|
bucketName: string;
|
57394
57390
|
fileSize: number;
|
57395
57391
|
thumbnailUrl?: string | undefined;
|
57396
|
-
width?: string | undefined;
|
57397
|
-
height?: string | undefined;
|
57398
57392
|
}, {
|
57399
57393
|
url: string | null;
|
57400
57394
|
fileName: string;
|
@@ -57403,8 +57397,6 @@ export declare const mainChatContract: {
|
|
57403
57397
|
bucketName: string;
|
57404
57398
|
fileSize: number;
|
57405
57399
|
thumbnailUrl?: string | undefined;
|
57406
|
-
width?: string | undefined;
|
57407
|
-
height?: string | undefined;
|
57408
57400
|
}>>;
|
57409
57401
|
user: z.ZodOptional<z.ZodObject<{
|
57410
57402
|
name: z.ZodString;
|
@@ -57638,7 +57630,7 @@ export declare const mainChatContract: {
|
|
57638
57630
|
mentions?: string[] | undefined;
|
57639
57631
|
}>>;
|
57640
57632
|
}, "strip", z.ZodTypeAny, {
|
57641
|
-
messageType:
|
57633
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
57642
57634
|
roomId: string;
|
57643
57635
|
message?: string | undefined;
|
57644
57636
|
messageAttachments?: {
|
@@ -57649,8 +57641,6 @@ export declare const mainChatContract: {
|
|
57649
57641
|
bucketName: string;
|
57650
57642
|
fileSize: number;
|
57651
57643
|
thumbnailUrl?: string | undefined;
|
57652
|
-
width?: string | undefined;
|
57653
|
-
height?: string | undefined;
|
57654
57644
|
} | undefined;
|
57655
57645
|
user?: {
|
57656
57646
|
name: string;
|
@@ -57712,7 +57702,7 @@ export declare const mainChatContract: {
|
|
57712
57702
|
mentions?: string[] | undefined;
|
57713
57703
|
} | undefined;
|
57714
57704
|
}, {
|
57715
|
-
messageType:
|
57705
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
57716
57706
|
roomId: string;
|
57717
57707
|
message?: string | undefined;
|
57718
57708
|
messageAttachments?: {
|
@@ -57723,8 +57713,6 @@ export declare const mainChatContract: {
|
|
57723
57713
|
bucketName: string;
|
57724
57714
|
fileSize: number;
|
57725
57715
|
thumbnailUrl?: string | undefined;
|
57726
|
-
width?: string | undefined;
|
57727
|
-
height?: string | undefined;
|
57728
57716
|
} | undefined;
|
57729
57717
|
user?: {
|
57730
57718
|
name: string;
|
@@ -57792,11 +57780,11 @@ export declare const mainChatContract: {
|
|
57792
57780
|
200: z.ZodObject<{
|
57793
57781
|
requestId: z.ZodString;
|
57794
57782
|
data: z.ZodObject<{
|
57795
|
-
type: z.
|
57783
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
57796
57784
|
message: z.ZodString;
|
57797
57785
|
id: z.ZodString;
|
57798
57786
|
url: z.ZodString;
|
57799
|
-
direction: z.
|
57787
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
57800
57788
|
label: z.ZodOptional<z.ZodString>;
|
57801
57789
|
template: z.ZodAny;
|
57802
57790
|
metadata: z.ZodAny;
|
@@ -58261,7 +58249,7 @@ export declare const mainChatContract: {
|
|
58261
58249
|
firstResponseTime: z.ZodNumber;
|
58262
58250
|
isLatest: z.ZodBoolean;
|
58263
58251
|
isBotRoom: z.ZodBoolean;
|
58264
|
-
direction: z.
|
58252
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
58265
58253
|
platformContact: z.ZodObject<{
|
58266
58254
|
id: z.ZodString;
|
58267
58255
|
createdAt: z.ZodDate;
|
@@ -61774,8 +61762,8 @@ export declare const mainChatContract: {
|
|
61774
61762
|
updatedAt: z.ZodDate;
|
61775
61763
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
61776
61764
|
message: z.ZodString;
|
61777
|
-
direction: z.
|
61778
|
-
type: z.
|
61765
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
61766
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
61779
61767
|
readAt: z.ZodDate;
|
61780
61768
|
metadata: z.ZodAny;
|
61781
61769
|
platformId: z.ZodString;
|
@@ -62433,7 +62421,7 @@ export declare const mainChatContract: {
|
|
62433
62421
|
};
|
62434
62422
|
}>;
|
62435
62423
|
}, "strip", z.ZodTypeAny, {
|
62436
|
-
type:
|
62424
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
62437
62425
|
message: string;
|
62438
62426
|
id: string;
|
62439
62427
|
url: string;
|
@@ -62595,7 +62583,7 @@ export declare const mainChatContract: {
|
|
62595
62583
|
metadata?: any;
|
62596
62584
|
template?: any;
|
62597
62585
|
}, {
|
62598
|
-
type:
|
62586
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
62599
62587
|
message: string;
|
62600
62588
|
id: string;
|
62601
62589
|
url: string;
|
@@ -62968,8 +62956,8 @@ export declare const mainChatContract: {
|
|
62968
62956
|
updatedAt: z.ZodDate;
|
62969
62957
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
62970
62958
|
message: z.ZodString;
|
62971
|
-
direction: z.
|
62972
|
-
type: z.
|
62959
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
62960
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
62973
62961
|
readAt: z.ZodDate;
|
62974
62962
|
metadata: z.ZodAny;
|
62975
62963
|
platformId: z.ZodString;
|
@@ -62995,7 +62983,7 @@ export declare const mainChatContract: {
|
|
62995
62983
|
firstResponseTime: z.ZodNumber;
|
62996
62984
|
isLatest: z.ZodBoolean;
|
62997
62985
|
isBotRoom: z.ZodBoolean;
|
62998
|
-
direction: z.
|
62986
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
62999
62987
|
platformContact: z.ZodObject<{
|
63000
62988
|
id: z.ZodString;
|
63001
62989
|
createdAt: z.ZodDate;
|
@@ -66511,8 +66499,8 @@ export declare const mainChatContract: {
|
|
66511
66499
|
updatedAt: z.ZodDate;
|
66512
66500
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
66513
66501
|
message: z.ZodString;
|
66514
|
-
direction: z.
|
66515
|
-
type: z.
|
66502
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
66503
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
66516
66504
|
readAt: z.ZodDate;
|
66517
66505
|
metadata: z.ZodAny;
|
66518
66506
|
platformId: z.ZodString;
|
@@ -67170,7 +67158,7 @@ export declare const mainChatContract: {
|
|
67170
67158
|
};
|
67171
67159
|
}>;
|
67172
67160
|
}, "strip", z.ZodTypeAny, {
|
67173
|
-
type:
|
67161
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
67174
67162
|
message: string;
|
67175
67163
|
id: string;
|
67176
67164
|
url: string;
|
@@ -67332,7 +67320,7 @@ export declare const mainChatContract: {
|
|
67332
67320
|
metadata?: any;
|
67333
67321
|
template?: any;
|
67334
67322
|
}, {
|
67335
|
-
type:
|
67323
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
67336
67324
|
message: string;
|
67337
67325
|
id: string;
|
67338
67326
|
url: string;
|
@@ -68134,7 +68122,7 @@ export declare const mainChatContract: {
|
|
68134
68122
|
editedMessageid: z.ZodString;
|
68135
68123
|
label: z.ZodOptional<z.ZodString>;
|
68136
68124
|
}, "strip", z.ZodTypeAny, {
|
68137
|
-
type:
|
68125
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
68138
68126
|
message: string;
|
68139
68127
|
id: string;
|
68140
68128
|
url: string;
|
@@ -68696,7 +68684,7 @@ export declare const mainChatContract: {
|
|
68696
68684
|
previewUrl: string;
|
68697
68685
|
imageSetId: string;
|
68698
68686
|
repliedMessage: {
|
68699
|
-
type:
|
68687
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
68700
68688
|
message: string;
|
68701
68689
|
id: string;
|
68702
68690
|
url: string;
|
@@ -68907,7 +68895,7 @@ export declare const mainChatContract: {
|
|
68907
68895
|
template?: any;
|
68908
68896
|
label?: string | undefined;
|
68909
68897
|
}, {
|
68910
|
-
type:
|
68898
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
68911
68899
|
message: string;
|
68912
68900
|
id: string;
|
68913
68901
|
url: string;
|
@@ -69469,7 +69457,7 @@ export declare const mainChatContract: {
|
|
69469
69457
|
previewUrl: string;
|
69470
69458
|
imageSetId: string;
|
69471
69459
|
repliedMessage: {
|
69472
|
-
type:
|
69460
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
69473
69461
|
message: string;
|
69474
69462
|
id: string;
|
69475
69463
|
url: string;
|
@@ -69681,7 +69669,7 @@ export declare const mainChatContract: {
|
|
69681
69669
|
label?: string | undefined;
|
69682
69670
|
}>>>;
|
69683
69671
|
}, "strip", z.ZodTypeAny, {
|
69684
|
-
type:
|
69672
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
69685
69673
|
message: string;
|
69686
69674
|
id: string;
|
69687
69675
|
url: string;
|
@@ -70243,7 +70231,7 @@ export declare const mainChatContract: {
|
|
70243
70231
|
previewUrl: string;
|
70244
70232
|
imageSetId: string;
|
70245
70233
|
repliedMessage: {
|
70246
|
-
type:
|
70234
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
70247
70235
|
message: string;
|
70248
70236
|
id: string;
|
70249
70237
|
url: string;
|
@@ -70454,7 +70442,7 @@ export declare const mainChatContract: {
|
|
70454
70442
|
template?: any;
|
70455
70443
|
metadata?: any;
|
70456
70444
|
fromMessage?: {
|
70457
|
-
type:
|
70445
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
70458
70446
|
message: string;
|
70459
70447
|
id: string;
|
70460
70448
|
url: string;
|
@@ -71016,7 +71004,7 @@ export declare const mainChatContract: {
|
|
71016
71004
|
previewUrl: string;
|
71017
71005
|
imageSetId: string;
|
71018
71006
|
repliedMessage: {
|
71019
|
-
type:
|
71007
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
71020
71008
|
message: string;
|
71021
71009
|
id: string;
|
71022
71010
|
url: string;
|
@@ -71228,7 +71216,7 @@ export declare const mainChatContract: {
|
|
71228
71216
|
label?: string | undefined;
|
71229
71217
|
} | null | undefined;
|
71230
71218
|
}, {
|
71231
|
-
type:
|
71219
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
71232
71220
|
message: string;
|
71233
71221
|
id: string;
|
71234
71222
|
url: string;
|
@@ -71790,7 +71778,7 @@ export declare const mainChatContract: {
|
|
71790
71778
|
previewUrl: string;
|
71791
71779
|
imageSetId: string;
|
71792
71780
|
repliedMessage: {
|
71793
|
-
type:
|
71781
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
71794
71782
|
message: string;
|
71795
71783
|
id: string;
|
71796
71784
|
url: string;
|
@@ -72001,7 +71989,7 @@ export declare const mainChatContract: {
|
|
72001
71989
|
template?: any;
|
72002
71990
|
metadata?: any;
|
72003
71991
|
fromMessage?: {
|
72004
|
-
type:
|
71992
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
72005
71993
|
message: string;
|
72006
71994
|
id: string;
|
72007
71995
|
url: string;
|
@@ -72563,7 +72551,7 @@ export declare const mainChatContract: {
|
|
72563
72551
|
previewUrl: string;
|
72564
72552
|
imageSetId: string;
|
72565
72553
|
repliedMessage: {
|
72566
|
-
type:
|
72554
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
72567
72555
|
message: string;
|
72568
72556
|
id: string;
|
72569
72557
|
url: string;
|
@@ -72777,7 +72765,7 @@ export declare const mainChatContract: {
|
|
72777
72765
|
}>;
|
72778
72766
|
}, "strip", z.ZodTypeAny, {
|
72779
72767
|
data: {
|
72780
|
-
type:
|
72768
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
72781
72769
|
message: string;
|
72782
72770
|
id: string;
|
72783
72771
|
url: string;
|
@@ -73339,7 +73327,7 @@ export declare const mainChatContract: {
|
|
73339
73327
|
previewUrl: string;
|
73340
73328
|
imageSetId: string;
|
73341
73329
|
repliedMessage: {
|
73342
|
-
type:
|
73330
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
73343
73331
|
message: string;
|
73344
73332
|
id: string;
|
73345
73333
|
url: string;
|
@@ -73550,7 +73538,7 @@ export declare const mainChatContract: {
|
|
73550
73538
|
template?: any;
|
73551
73539
|
metadata?: any;
|
73552
73540
|
fromMessage?: {
|
73553
|
-
type:
|
73541
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
73554
73542
|
message: string;
|
73555
73543
|
id: string;
|
73556
73544
|
url: string;
|
@@ -74112,7 +74100,7 @@ export declare const mainChatContract: {
|
|
74112
74100
|
previewUrl: string;
|
74113
74101
|
imageSetId: string;
|
74114
74102
|
repliedMessage: {
|
74115
|
-
type:
|
74103
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
74116
74104
|
message: string;
|
74117
74105
|
id: string;
|
74118
74106
|
url: string;
|
@@ -74327,7 +74315,7 @@ export declare const mainChatContract: {
|
|
74327
74315
|
requestId: string;
|
74328
74316
|
}, {
|
74329
74317
|
data: {
|
74330
|
-
type:
|
74318
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
74331
74319
|
message: string;
|
74332
74320
|
id: string;
|
74333
74321
|
url: string;
|
@@ -74889,7 +74877,7 @@ export declare const mainChatContract: {
|
|
74889
74877
|
previewUrl: string;
|
74890
74878
|
imageSetId: string;
|
74891
74879
|
repliedMessage: {
|
74892
|
-
type:
|
74880
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
74893
74881
|
message: string;
|
74894
74882
|
id: string;
|
74895
74883
|
url: string;
|
@@ -75100,7 +75088,7 @@ export declare const mainChatContract: {
|
|
75100
75088
|
template?: any;
|
75101
75089
|
metadata?: any;
|
75102
75090
|
fromMessage?: {
|
75103
|
-
type:
|
75091
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
75104
75092
|
message: string;
|
75105
75093
|
id: string;
|
75106
75094
|
url: string;
|
@@ -75662,7 +75650,7 @@ export declare const mainChatContract: {
|
|
75662
75650
|
previewUrl: string;
|
75663
75651
|
imageSetId: string;
|
75664
75652
|
repliedMessage: {
|
75665
|
-
type:
|
75653
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
75666
75654
|
message: string;
|
75667
75655
|
id: string;
|
75668
75656
|
url: string;
|
@@ -76054,11 +76042,11 @@ export declare const mainChatContract: {
|
|
76054
76042
|
page: z.ZodNumber;
|
76055
76043
|
pageSize: z.ZodNumber;
|
76056
76044
|
data: z.ZodArray<z.ZodObject<{
|
76057
|
-
type: z.
|
76045
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
76058
76046
|
message: z.ZodString;
|
76059
76047
|
id: z.ZodString;
|
76060
76048
|
url: z.ZodString;
|
76061
|
-
direction: z.
|
76049
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
76062
76050
|
label: z.ZodOptional<z.ZodString>;
|
76063
76051
|
template: z.ZodAny;
|
76064
76052
|
metadata: z.ZodAny;
|
@@ -76523,7 +76511,7 @@ export declare const mainChatContract: {
|
|
76523
76511
|
firstResponseTime: z.ZodNumber;
|
76524
76512
|
isLatest: z.ZodBoolean;
|
76525
76513
|
isBotRoom: z.ZodBoolean;
|
76526
|
-
direction: z.
|
76514
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
76527
76515
|
platformContact: z.ZodObject<{
|
76528
76516
|
id: z.ZodString;
|
76529
76517
|
createdAt: z.ZodDate;
|
@@ -80036,8 +80024,8 @@ export declare const mainChatContract: {
|
|
80036
80024
|
updatedAt: z.ZodDate;
|
80037
80025
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
80038
80026
|
message: z.ZodString;
|
80039
|
-
direction: z.
|
80040
|
-
type: z.
|
80027
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
80028
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
80041
80029
|
readAt: z.ZodDate;
|
80042
80030
|
metadata: z.ZodAny;
|
80043
80031
|
platformId: z.ZodString;
|
@@ -80695,7 +80683,7 @@ export declare const mainChatContract: {
|
|
80695
80683
|
};
|
80696
80684
|
}>;
|
80697
80685
|
}, "strip", z.ZodTypeAny, {
|
80698
|
-
type:
|
80686
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
80699
80687
|
message: string;
|
80700
80688
|
id: string;
|
80701
80689
|
url: string;
|
@@ -80857,7 +80845,7 @@ export declare const mainChatContract: {
|
|
80857
80845
|
metadata?: any;
|
80858
80846
|
template?: any;
|
80859
80847
|
}, {
|
80860
|
-
type:
|
80848
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
80861
80849
|
message: string;
|
80862
80850
|
id: string;
|
80863
80851
|
url: string;
|
@@ -81232,7 +81220,7 @@ export declare const mainChatContract: {
|
|
81232
81220
|
updatedAt: z.ZodDate;
|
81233
81221
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
81234
81222
|
message: z.ZodNullable<z.ZodString>;
|
81235
|
-
type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.
|
81223
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>]>;
|
81236
81224
|
metadata: z.ZodAny;
|
81237
81225
|
platformId: z.ZodString;
|
81238
81226
|
platformMessageId: z.ZodString;
|
@@ -83071,7 +83059,7 @@ export declare const mainChatContract: {
|
|
83071
83059
|
}>;
|
83072
83060
|
permalinkURL: z.ZodString;
|
83073
83061
|
}, "strip", z.ZodTypeAny, {
|
83074
|
-
type:
|
83062
|
+
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" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
83075
83063
|
message: string | null;
|
83076
83064
|
id: string;
|
83077
83065
|
channel: {
|
@@ -83357,7 +83345,7 @@ export declare const mainChatContract: {
|
|
83357
83345
|
metadata?: any;
|
83358
83346
|
template?: any;
|
83359
83347
|
}, {
|
83360
|
-
type:
|
83348
|
+
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" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
83361
83349
|
message: string | null;
|
83362
83350
|
id: string;
|
83363
83351
|
channel: {
|
@@ -83645,7 +83633,7 @@ export declare const mainChatContract: {
|
|
83645
83633
|
}>>;
|
83646
83634
|
replyReaction: z.ZodNullable<z.ZodString>;
|
83647
83635
|
}, "strip", z.ZodTypeAny, {
|
83648
|
-
type:
|
83636
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
83649
83637
|
message: string;
|
83650
83638
|
id: string;
|
83651
83639
|
url: string;
|
@@ -84207,7 +84195,7 @@ export declare const mainChatContract: {
|
|
84207
84195
|
previewUrl: string;
|
84208
84196
|
imageSetId: string;
|
84209
84197
|
repliedMessage: {
|
84210
|
-
type:
|
84198
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
84211
84199
|
message: string;
|
84212
84200
|
id: string;
|
84213
84201
|
url: string;
|
@@ -84417,7 +84405,7 @@ export declare const mainChatContract: {
|
|
84417
84405
|
parentMessageId: string | null;
|
84418
84406
|
feedPostId: string | null;
|
84419
84407
|
feedPost: {
|
84420
|
-
type:
|
84408
|
+
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" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
84421
84409
|
message: string | null;
|
84422
84410
|
id: string;
|
84423
84411
|
channel: {
|
@@ -84708,7 +84696,7 @@ export declare const mainChatContract: {
|
|
84708
84696
|
template?: any;
|
84709
84697
|
metadata?: any;
|
84710
84698
|
}, {
|
84711
|
-
type:
|
84699
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
84712
84700
|
message: string;
|
84713
84701
|
id: string;
|
84714
84702
|
url: string;
|
@@ -85270,7 +85258,7 @@ export declare const mainChatContract: {
|
|
85270
85258
|
previewUrl: string;
|
85271
85259
|
imageSetId: string;
|
85272
85260
|
repliedMessage: {
|
85273
|
-
type:
|
85261
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
85274
85262
|
message: string;
|
85275
85263
|
id: string;
|
85276
85264
|
url: string;
|
@@ -85480,7 +85468,7 @@ export declare const mainChatContract: {
|
|
85480
85468
|
parentMessageId: string | null;
|
85481
85469
|
feedPostId: string | null;
|
85482
85470
|
feedPost: {
|
85483
|
-
type:
|
85471
|
+
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" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
85484
85472
|
message: string | null;
|
85485
85473
|
id: string;
|
85486
85474
|
channel: {
|
@@ -85773,7 +85761,7 @@ export declare const mainChatContract: {
|
|
85773
85761
|
}>, "many">;
|
85774
85762
|
}, "strip", z.ZodTypeAny, {
|
85775
85763
|
data: {
|
85776
|
-
type:
|
85764
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
85777
85765
|
message: string;
|
85778
85766
|
id: string;
|
85779
85767
|
url: string;
|
@@ -86335,7 +86323,7 @@ export declare const mainChatContract: {
|
|
86335
86323
|
previewUrl: string;
|
86336
86324
|
imageSetId: string;
|
86337
86325
|
repliedMessage: {
|
86338
|
-
type:
|
86326
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
86339
86327
|
message: string;
|
86340
86328
|
id: string;
|
86341
86329
|
url: string;
|
@@ -86545,7 +86533,7 @@ export declare const mainChatContract: {
|
|
86545
86533
|
parentMessageId: string | null;
|
86546
86534
|
feedPostId: string | null;
|
86547
86535
|
feedPost: {
|
86548
|
-
type:
|
86536
|
+
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" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
86549
86537
|
message: string | null;
|
86550
86538
|
id: string;
|
86551
86539
|
channel: {
|
@@ -86842,7 +86830,7 @@ export declare const mainChatContract: {
|
|
86842
86830
|
requestId: string;
|
86843
86831
|
}, {
|
86844
86832
|
data: {
|
86845
|
-
type:
|
86833
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
86846
86834
|
message: string;
|
86847
86835
|
id: string;
|
86848
86836
|
url: string;
|
@@ -87404,7 +87392,7 @@ export declare const mainChatContract: {
|
|
87404
87392
|
previewUrl: string;
|
87405
87393
|
imageSetId: string;
|
87406
87394
|
repliedMessage: {
|
87407
|
-
type:
|
87395
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
87408
87396
|
message: string;
|
87409
87397
|
id: string;
|
87410
87398
|
url: string;
|
@@ -87614,7 +87602,7 @@ export declare const mainChatContract: {
|
|
87614
87602
|
parentMessageId: string | null;
|
87615
87603
|
feedPostId: string | null;
|
87616
87604
|
feedPost: {
|
87617
|
-
type:
|
87605
|
+
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" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
87618
87606
|
message: string | null;
|
87619
87607
|
id: string;
|
87620
87608
|
channel: {
|
@@ -87963,7 +87951,7 @@ export declare const mainChatContract: {
|
|
87963
87951
|
firstResponseTime: z.ZodNumber;
|
87964
87952
|
isLatest: z.ZodBoolean;
|
87965
87953
|
isBotRoom: z.ZodBoolean;
|
87966
|
-
direction: z.
|
87954
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
87967
87955
|
platformContact: z.ZodObject<{
|
87968
87956
|
id: z.ZodString;
|
87969
87957
|
createdAt: z.ZodDate;
|
@@ -92381,7 +92369,7 @@ export declare const mainChatContract: {
|
|
92381
92369
|
firstResponseTime: z.ZodNumber;
|
92382
92370
|
isLatest: z.ZodBoolean;
|
92383
92371
|
isBotRoom: z.ZodBoolean;
|
92384
|
-
direction: z.
|
92372
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
92385
92373
|
platformContact: z.ZodObject<{
|
92386
92374
|
id: z.ZodString;
|
92387
92375
|
createdAt: z.ZodDate;
|
@@ -97860,7 +97848,7 @@ export declare const mainChatContract: {
|
|
97860
97848
|
firstResponseTime: z.ZodNumber;
|
97861
97849
|
isLatest: z.ZodBoolean;
|
97862
97850
|
isBotRoom: z.ZodBoolean;
|
97863
|
-
direction: z.
|
97851
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
97864
97852
|
platformContact: z.ZodObject<{
|
97865
97853
|
id: z.ZodString;
|
97866
97854
|
createdAt: z.ZodDate;
|
@@ -102243,17 +102231,17 @@ export declare const initiateMessageContract: {
|
|
102243
102231
|
contactId: z.ZodOptional<z.ZodString>;
|
102244
102232
|
message: z.ZodObject<{
|
102245
102233
|
message: z.ZodOptional<z.ZodString>;
|
102246
|
-
messageType: z.
|
102234
|
+
messageType: 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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
102247
102235
|
}, "strip", z.ZodTypeAny, {
|
102248
|
-
messageType:
|
102236
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
102249
102237
|
message?: string | undefined;
|
102250
102238
|
}, {
|
102251
|
-
messageType:
|
102239
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
102252
102240
|
message?: string | undefined;
|
102253
102241
|
}>;
|
102254
102242
|
}, "strip", z.ZodTypeAny, {
|
102255
102243
|
message: {
|
102256
|
-
messageType:
|
102244
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
102257
102245
|
message?: string | undefined;
|
102258
102246
|
};
|
102259
102247
|
channelId: string;
|
@@ -102261,7 +102249,7 @@ export declare const initiateMessageContract: {
|
|
102261
102249
|
contactId?: string | undefined;
|
102262
102250
|
}, {
|
102263
102251
|
message: {
|
102264
|
-
messageType:
|
102252
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
102265
102253
|
message?: string | undefined;
|
102266
102254
|
};
|
102267
102255
|
channelId: string;
|
@@ -102278,8 +102266,8 @@ export declare const initiateMessageContract: {
|
|
102278
102266
|
updatedAt: z.ZodDate;
|
102279
102267
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
102280
102268
|
message: z.ZodString;
|
102281
|
-
direction: z.
|
102282
|
-
type: z.
|
102269
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
102270
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
102283
102271
|
readAt: z.ZodDate;
|
102284
102272
|
metadata: z.ZodAny;
|
102285
102273
|
platformId: z.ZodString;
|
@@ -102305,7 +102293,7 @@ export declare const initiateMessageContract: {
|
|
102305
102293
|
firstResponseTime: z.ZodNumber;
|
102306
102294
|
isLatest: z.ZodBoolean;
|
102307
102295
|
isBotRoom: z.ZodBoolean;
|
102308
|
-
direction: z.
|
102296
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
102309
102297
|
platformContact: z.ZodObject<{
|
102310
102298
|
id: z.ZodString;
|
102311
102299
|
createdAt: z.ZodDate;
|
@@ -105821,8 +105809,8 @@ export declare const initiateMessageContract: {
|
|
105821
105809
|
updatedAt: z.ZodDate;
|
105822
105810
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
105823
105811
|
message: z.ZodString;
|
105824
|
-
direction: z.
|
105825
|
-
type: z.
|
105812
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
105813
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
105826
105814
|
readAt: z.ZodDate;
|
105827
105815
|
metadata: z.ZodAny;
|
105828
105816
|
platformId: z.ZodString;
|
@@ -106480,7 +106468,7 @@ export declare const initiateMessageContract: {
|
|
106480
106468
|
};
|
106481
106469
|
}>;
|
106482
106470
|
}, "strip", z.ZodTypeAny, {
|
106483
|
-
type:
|
106471
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
106484
106472
|
message: string;
|
106485
106473
|
id: string;
|
106486
106474
|
url: string;
|
@@ -106642,7 +106630,7 @@ export declare const initiateMessageContract: {
|
|
106642
106630
|
metadata?: any;
|
106643
106631
|
template?: any;
|
106644
106632
|
}, {
|
106645
|
-
type:
|
106633
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
106646
106634
|
message: string;
|
106647
106635
|
id: string;
|
106648
106636
|
url: string;
|
@@ -107444,7 +107432,7 @@ export declare const initiateMessageContract: {
|
|
107444
107432
|
editedMessageid: z.ZodString;
|
107445
107433
|
label: z.ZodOptional<z.ZodString>;
|
107446
107434
|
}, "strip", z.ZodTypeAny, {
|
107447
|
-
type:
|
107435
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
107448
107436
|
message: string;
|
107449
107437
|
id: string;
|
107450
107438
|
url: string;
|
@@ -108006,7 +107994,7 @@ export declare const initiateMessageContract: {
|
|
108006
107994
|
previewUrl: string;
|
108007
107995
|
imageSetId: string;
|
108008
107996
|
repliedMessage: {
|
108009
|
-
type:
|
107997
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
108010
107998
|
message: string;
|
108011
107999
|
id: string;
|
108012
108000
|
url: string;
|
@@ -108217,7 +108205,7 @@ export declare const initiateMessageContract: {
|
|
108217
108205
|
template?: any;
|
108218
108206
|
label?: string | undefined;
|
108219
108207
|
}, {
|
108220
|
-
type:
|
108208
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
108221
108209
|
message: string;
|
108222
108210
|
id: string;
|
108223
108211
|
url: string;
|
@@ -108779,7 +108767,7 @@ export declare const initiateMessageContract: {
|
|
108779
108767
|
previewUrl: string;
|
108780
108768
|
imageSetId: string;
|
108781
108769
|
repliedMessage: {
|
108782
|
-
type:
|
108770
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
108783
108771
|
message: string;
|
108784
108772
|
id: string;
|
108785
108773
|
url: string;
|
@@ -108992,7 +108980,7 @@ export declare const initiateMessageContract: {
|
|
108992
108980
|
}>;
|
108993
108981
|
}, "strip", z.ZodTypeAny, {
|
108994
108982
|
data: {
|
108995
|
-
type:
|
108983
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
108996
108984
|
message: string;
|
108997
108985
|
id: string;
|
108998
108986
|
url: string;
|
@@ -109554,7 +109542,7 @@ export declare const initiateMessageContract: {
|
|
109554
109542
|
previewUrl: string;
|
109555
109543
|
imageSetId: string;
|
109556
109544
|
repliedMessage: {
|
109557
|
-
type:
|
109545
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
109558
109546
|
message: string;
|
109559
109547
|
id: string;
|
109560
109548
|
url: string;
|
@@ -109768,7 +109756,7 @@ export declare const initiateMessageContract: {
|
|
109768
109756
|
requestId: string;
|
109769
109757
|
}, {
|
109770
109758
|
data: {
|
109771
|
-
type:
|
109759
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
109772
109760
|
message: string;
|
109773
109761
|
id: string;
|
109774
109762
|
url: string;
|
@@ -110330,7 +110318,7 @@ export declare const initiateMessageContract: {
|
|
110330
110318
|
previewUrl: string;
|
110331
110319
|
imageSetId: string;
|
110332
110320
|
repliedMessage: {
|
110333
|
-
type:
|
110321
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
110334
110322
|
message: string;
|
110335
110323
|
id: string;
|
110336
110324
|
url: string;
|
@@ -110587,7 +110575,7 @@ export declare const mainChatMessageContract: {
|
|
110587
110575
|
sendMessage: {
|
110588
110576
|
body: z.ZodObject<{
|
110589
110577
|
roomId: z.ZodString;
|
110590
|
-
messageType: z.
|
110578
|
+
messageType: 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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
110591
110579
|
message: z.ZodOptional<z.ZodString>;
|
110592
110580
|
messageAttachments: z.ZodOptional<z.ZodObject<{
|
110593
110581
|
bucketName: z.ZodString;
|
@@ -110597,8 +110585,6 @@ export declare const mainChatMessageContract: {
|
|
110597
110585
|
url: z.ZodNullable<z.ZodString>;
|
110598
110586
|
fileType: z.ZodString;
|
110599
110587
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
110600
|
-
width: z.ZodOptional<z.ZodString>;
|
110601
|
-
height: z.ZodOptional<z.ZodString>;
|
110602
110588
|
}, "strip", z.ZodTypeAny, {
|
110603
110589
|
url: string | null;
|
110604
110590
|
fileName: string;
|
@@ -110607,8 +110593,6 @@ export declare const mainChatMessageContract: {
|
|
110607
110593
|
bucketName: string;
|
110608
110594
|
fileSize: number;
|
110609
110595
|
thumbnailUrl?: string | undefined;
|
110610
|
-
width?: string | undefined;
|
110611
|
-
height?: string | undefined;
|
110612
110596
|
}, {
|
110613
110597
|
url: string | null;
|
110614
110598
|
fileName: string;
|
@@ -110617,8 +110601,6 @@ export declare const mainChatMessageContract: {
|
|
110617
110601
|
bucketName: string;
|
110618
110602
|
fileSize: number;
|
110619
110603
|
thumbnailUrl?: string | undefined;
|
110620
|
-
width?: string | undefined;
|
110621
|
-
height?: string | undefined;
|
110622
110604
|
}>>;
|
110623
110605
|
user: z.ZodOptional<z.ZodObject<{
|
110624
110606
|
name: z.ZodString;
|
@@ -110852,7 +110834,7 @@ export declare const mainChatMessageContract: {
|
|
110852
110834
|
mentions?: string[] | undefined;
|
110853
110835
|
}>>;
|
110854
110836
|
}, "strip", z.ZodTypeAny, {
|
110855
|
-
messageType:
|
110837
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
110856
110838
|
roomId: string;
|
110857
110839
|
message?: string | undefined;
|
110858
110840
|
messageAttachments?: {
|
@@ -110863,8 +110845,6 @@ export declare const mainChatMessageContract: {
|
|
110863
110845
|
bucketName: string;
|
110864
110846
|
fileSize: number;
|
110865
110847
|
thumbnailUrl?: string | undefined;
|
110866
|
-
width?: string | undefined;
|
110867
|
-
height?: string | undefined;
|
110868
110848
|
} | undefined;
|
110869
110849
|
user?: {
|
110870
110850
|
name: string;
|
@@ -110926,7 +110906,7 @@ export declare const mainChatMessageContract: {
|
|
110926
110906
|
mentions?: string[] | undefined;
|
110927
110907
|
} | undefined;
|
110928
110908
|
}, {
|
110929
|
-
messageType:
|
110909
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
110930
110910
|
roomId: string;
|
110931
110911
|
message?: string | undefined;
|
110932
110912
|
messageAttachments?: {
|
@@ -110937,8 +110917,6 @@ export declare const mainChatMessageContract: {
|
|
110937
110917
|
bucketName: string;
|
110938
110918
|
fileSize: number;
|
110939
110919
|
thumbnailUrl?: string | undefined;
|
110940
|
-
width?: string | undefined;
|
110941
|
-
height?: string | undefined;
|
110942
110920
|
} | undefined;
|
110943
110921
|
user?: {
|
110944
110922
|
name: string;
|
@@ -111006,11 +110984,11 @@ export declare const mainChatMessageContract: {
|
|
111006
110984
|
200: z.ZodObject<{
|
111007
110985
|
requestId: z.ZodString;
|
111008
110986
|
data: z.ZodObject<{
|
111009
|
-
type: z.
|
110987
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
111010
110988
|
message: z.ZodString;
|
111011
110989
|
id: z.ZodString;
|
111012
110990
|
url: z.ZodString;
|
111013
|
-
direction: z.
|
110991
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
111014
110992
|
label: z.ZodOptional<z.ZodString>;
|
111015
110993
|
template: z.ZodAny;
|
111016
110994
|
metadata: z.ZodAny;
|
@@ -111475,7 +111453,7 @@ export declare const mainChatMessageContract: {
|
|
111475
111453
|
firstResponseTime: z.ZodNumber;
|
111476
111454
|
isLatest: z.ZodBoolean;
|
111477
111455
|
isBotRoom: z.ZodBoolean;
|
111478
|
-
direction: z.
|
111456
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
111479
111457
|
platformContact: z.ZodObject<{
|
111480
111458
|
id: z.ZodString;
|
111481
111459
|
createdAt: z.ZodDate;
|
@@ -114988,8 +114966,8 @@ export declare const mainChatMessageContract: {
|
|
114988
114966
|
updatedAt: z.ZodDate;
|
114989
114967
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
114990
114968
|
message: z.ZodString;
|
114991
|
-
direction: z.
|
114992
|
-
type: z.
|
114969
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
114970
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
114993
114971
|
readAt: z.ZodDate;
|
114994
114972
|
metadata: z.ZodAny;
|
114995
114973
|
platformId: z.ZodString;
|
@@ -115647,7 +115625,7 @@ export declare const mainChatMessageContract: {
|
|
115647
115625
|
};
|
115648
115626
|
}>;
|
115649
115627
|
}, "strip", z.ZodTypeAny, {
|
115650
|
-
type:
|
115628
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
115651
115629
|
message: string;
|
115652
115630
|
id: string;
|
115653
115631
|
url: string;
|
@@ -115809,7 +115787,7 @@ export declare const mainChatMessageContract: {
|
|
115809
115787
|
metadata?: any;
|
115810
115788
|
template?: any;
|
115811
115789
|
}, {
|
115812
|
-
type:
|
115790
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
115813
115791
|
message: string;
|
115814
115792
|
id: string;
|
115815
115793
|
url: string;
|
@@ -116182,8 +116160,8 @@ export declare const mainChatMessageContract: {
|
|
116182
116160
|
updatedAt: z.ZodDate;
|
116183
116161
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
116184
116162
|
message: z.ZodString;
|
116185
|
-
direction: z.
|
116186
|
-
type: z.
|
116163
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
116164
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
116187
116165
|
readAt: z.ZodDate;
|
116188
116166
|
metadata: z.ZodAny;
|
116189
116167
|
platformId: z.ZodString;
|
@@ -116209,7 +116187,7 @@ export declare const mainChatMessageContract: {
|
|
116209
116187
|
firstResponseTime: z.ZodNumber;
|
116210
116188
|
isLatest: z.ZodBoolean;
|
116211
116189
|
isBotRoom: z.ZodBoolean;
|
116212
|
-
direction: z.
|
116190
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
116213
116191
|
platformContact: z.ZodObject<{
|
116214
116192
|
id: z.ZodString;
|
116215
116193
|
createdAt: z.ZodDate;
|
@@ -119725,8 +119703,8 @@ export declare const mainChatMessageContract: {
|
|
119725
119703
|
updatedAt: z.ZodDate;
|
119726
119704
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
119727
119705
|
message: z.ZodString;
|
119728
|
-
direction: z.
|
119729
|
-
type: z.
|
119706
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
119707
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
119730
119708
|
readAt: z.ZodDate;
|
119731
119709
|
metadata: z.ZodAny;
|
119732
119710
|
platformId: z.ZodString;
|
@@ -120384,7 +120362,7 @@ export declare const mainChatMessageContract: {
|
|
120384
120362
|
};
|
120385
120363
|
}>;
|
120386
120364
|
}, "strip", z.ZodTypeAny, {
|
120387
|
-
type:
|
120365
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
120388
120366
|
message: string;
|
120389
120367
|
id: string;
|
120390
120368
|
url: string;
|
@@ -120546,7 +120524,7 @@ export declare const mainChatMessageContract: {
|
|
120546
120524
|
metadata?: any;
|
120547
120525
|
template?: any;
|
120548
120526
|
}, {
|
120549
|
-
type:
|
120527
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
120550
120528
|
message: string;
|
120551
120529
|
id: string;
|
120552
120530
|
url: string;
|
@@ -121348,7 +121326,7 @@ export declare const mainChatMessageContract: {
|
|
121348
121326
|
editedMessageid: z.ZodString;
|
121349
121327
|
label: z.ZodOptional<z.ZodString>;
|
121350
121328
|
}, "strip", z.ZodTypeAny, {
|
121351
|
-
type:
|
121329
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
121352
121330
|
message: string;
|
121353
121331
|
id: string;
|
121354
121332
|
url: string;
|
@@ -121910,7 +121888,7 @@ export declare const mainChatMessageContract: {
|
|
121910
121888
|
previewUrl: string;
|
121911
121889
|
imageSetId: string;
|
121912
121890
|
repliedMessage: {
|
121913
|
-
type:
|
121891
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
121914
121892
|
message: string;
|
121915
121893
|
id: string;
|
121916
121894
|
url: string;
|
@@ -122121,7 +122099,7 @@ export declare const mainChatMessageContract: {
|
|
122121
122099
|
template?: any;
|
122122
122100
|
label?: string | undefined;
|
122123
122101
|
}, {
|
122124
|
-
type:
|
122102
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
122125
122103
|
message: string;
|
122126
122104
|
id: string;
|
122127
122105
|
url: string;
|
@@ -122683,7 +122661,7 @@ export declare const mainChatMessageContract: {
|
|
122683
122661
|
previewUrl: string;
|
122684
122662
|
imageSetId: string;
|
122685
122663
|
repliedMessage: {
|
122686
|
-
type:
|
122664
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
122687
122665
|
message: string;
|
122688
122666
|
id: string;
|
122689
122667
|
url: string;
|
@@ -122895,7 +122873,7 @@ export declare const mainChatMessageContract: {
|
|
122895
122873
|
label?: string | undefined;
|
122896
122874
|
}>>>;
|
122897
122875
|
}, "strip", z.ZodTypeAny, {
|
122898
|
-
type:
|
122876
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
122899
122877
|
message: string;
|
122900
122878
|
id: string;
|
122901
122879
|
url: string;
|
@@ -123457,7 +123435,7 @@ export declare const mainChatMessageContract: {
|
|
123457
123435
|
previewUrl: string;
|
123458
123436
|
imageSetId: string;
|
123459
123437
|
repliedMessage: {
|
123460
|
-
type:
|
123438
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
123461
123439
|
message: string;
|
123462
123440
|
id: string;
|
123463
123441
|
url: string;
|
@@ -123668,7 +123646,7 @@ export declare const mainChatMessageContract: {
|
|
123668
123646
|
template?: any;
|
123669
123647
|
metadata?: any;
|
123670
123648
|
fromMessage?: {
|
123671
|
-
type:
|
123649
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
123672
123650
|
message: string;
|
123673
123651
|
id: string;
|
123674
123652
|
url: string;
|
@@ -124230,7 +124208,7 @@ export declare const mainChatMessageContract: {
|
|
124230
124208
|
previewUrl: string;
|
124231
124209
|
imageSetId: string;
|
124232
124210
|
repliedMessage: {
|
124233
|
-
type:
|
124211
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
124234
124212
|
message: string;
|
124235
124213
|
id: string;
|
124236
124214
|
url: string;
|
@@ -124442,7 +124420,7 @@ export declare const mainChatMessageContract: {
|
|
124442
124420
|
label?: string | undefined;
|
124443
124421
|
} | null | undefined;
|
124444
124422
|
}, {
|
124445
|
-
type:
|
124423
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
124446
124424
|
message: string;
|
124447
124425
|
id: string;
|
124448
124426
|
url: string;
|
@@ -125004,7 +124982,7 @@ export declare const mainChatMessageContract: {
|
|
125004
124982
|
previewUrl: string;
|
125005
124983
|
imageSetId: string;
|
125006
124984
|
repliedMessage: {
|
125007
|
-
type:
|
124985
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
125008
124986
|
message: string;
|
125009
124987
|
id: string;
|
125010
124988
|
url: string;
|
@@ -125215,7 +125193,7 @@ export declare const mainChatMessageContract: {
|
|
125215
125193
|
template?: any;
|
125216
125194
|
metadata?: any;
|
125217
125195
|
fromMessage?: {
|
125218
|
-
type:
|
125196
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
125219
125197
|
message: string;
|
125220
125198
|
id: string;
|
125221
125199
|
url: string;
|
@@ -125777,7 +125755,7 @@ export declare const mainChatMessageContract: {
|
|
125777
125755
|
previewUrl: string;
|
125778
125756
|
imageSetId: string;
|
125779
125757
|
repliedMessage: {
|
125780
|
-
type:
|
125758
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
125781
125759
|
message: string;
|
125782
125760
|
id: string;
|
125783
125761
|
url: string;
|
@@ -125991,7 +125969,7 @@ export declare const mainChatMessageContract: {
|
|
125991
125969
|
}>;
|
125992
125970
|
}, "strip", z.ZodTypeAny, {
|
125993
125971
|
data: {
|
125994
|
-
type:
|
125972
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
125995
125973
|
message: string;
|
125996
125974
|
id: string;
|
125997
125975
|
url: string;
|
@@ -126553,7 +126531,7 @@ export declare const mainChatMessageContract: {
|
|
126553
126531
|
previewUrl: string;
|
126554
126532
|
imageSetId: string;
|
126555
126533
|
repliedMessage: {
|
126556
|
-
type:
|
126534
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
126557
126535
|
message: string;
|
126558
126536
|
id: string;
|
126559
126537
|
url: string;
|
@@ -126764,7 +126742,7 @@ export declare const mainChatMessageContract: {
|
|
126764
126742
|
template?: any;
|
126765
126743
|
metadata?: any;
|
126766
126744
|
fromMessage?: {
|
126767
|
-
type:
|
126745
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
126768
126746
|
message: string;
|
126769
126747
|
id: string;
|
126770
126748
|
url: string;
|
@@ -127326,7 +127304,7 @@ export declare const mainChatMessageContract: {
|
|
127326
127304
|
previewUrl: string;
|
127327
127305
|
imageSetId: string;
|
127328
127306
|
repliedMessage: {
|
127329
|
-
type:
|
127307
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
127330
127308
|
message: string;
|
127331
127309
|
id: string;
|
127332
127310
|
url: string;
|
@@ -127541,7 +127519,7 @@ export declare const mainChatMessageContract: {
|
|
127541
127519
|
requestId: string;
|
127542
127520
|
}, {
|
127543
127521
|
data: {
|
127544
|
-
type:
|
127522
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
127545
127523
|
message: string;
|
127546
127524
|
id: string;
|
127547
127525
|
url: string;
|
@@ -128103,7 +128081,7 @@ export declare const mainChatMessageContract: {
|
|
128103
128081
|
previewUrl: string;
|
128104
128082
|
imageSetId: string;
|
128105
128083
|
repliedMessage: {
|
128106
|
-
type:
|
128084
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
128107
128085
|
message: string;
|
128108
128086
|
id: string;
|
128109
128087
|
url: string;
|
@@ -128314,7 +128292,7 @@ export declare const mainChatMessageContract: {
|
|
128314
128292
|
template?: any;
|
128315
128293
|
metadata?: any;
|
128316
128294
|
fromMessage?: {
|
128317
|
-
type:
|
128295
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
128318
128296
|
message: string;
|
128319
128297
|
id: string;
|
128320
128298
|
url: string;
|
@@ -128876,7 +128854,7 @@ export declare const mainChatMessageContract: {
|
|
128876
128854
|
previewUrl: string;
|
128877
128855
|
imageSetId: string;
|
128878
128856
|
repliedMessage: {
|
128879
|
-
type:
|
128857
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
128880
128858
|
message: string;
|
128881
128859
|
id: string;
|
128882
128860
|
url: string;
|
@@ -129549,8 +129527,8 @@ export declare const mainChatMessageContract: {
|
|
129549
129527
|
message: z.ZodObject<{
|
129550
129528
|
id: z.ZodOptional<z.ZodString>;
|
129551
129529
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
129552
|
-
direction: z.
|
129553
|
-
type: z.
|
129530
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
129531
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
129554
129532
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
129555
129533
|
metadata: z.ZodOptional<z.ZodAny>;
|
129556
129534
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -129602,7 +129580,7 @@ export declare const mainChatMessageContract: {
|
|
129602
129580
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
129603
129581
|
feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
129604
129582
|
}, "strip", z.ZodTypeAny, {
|
129605
|
-
type:
|
129583
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
129606
129584
|
direction: "incoming" | "outgoing" | "system";
|
129607
129585
|
id?: string | undefined;
|
129608
129586
|
message?: string | null | undefined;
|
@@ -129633,7 +129611,7 @@ export declare const mainChatMessageContract: {
|
|
129633
129611
|
parentMessageId?: string | null | undefined;
|
129634
129612
|
feedPostId?: string | null | undefined;
|
129635
129613
|
}, {
|
129636
|
-
type:
|
129614
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
129637
129615
|
direction: "incoming" | "outgoing" | "system";
|
129638
129616
|
id?: string | undefined;
|
129639
129617
|
message?: string | null | undefined;
|
@@ -129666,7 +129644,7 @@ export declare const mainChatMessageContract: {
|
|
129666
129644
|
}>;
|
129667
129645
|
}, "strip", z.ZodTypeAny, {
|
129668
129646
|
message: {
|
129669
|
-
type:
|
129647
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
129670
129648
|
direction: "incoming" | "outgoing" | "system";
|
129671
129649
|
id?: string | undefined;
|
129672
129650
|
message?: string | null | undefined;
|
@@ -129755,7 +129733,7 @@ export declare const mainChatMessageContract: {
|
|
129755
129733
|
};
|
129756
129734
|
}, {
|
129757
129735
|
message: {
|
129758
|
-
type:
|
129736
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
129759
129737
|
direction: "incoming" | "outgoing" | "system";
|
129760
129738
|
id?: string | undefined;
|
129761
129739
|
message?: string | null | undefined;
|
@@ -129846,7 +129824,7 @@ export declare const mainChatMessageContract: {
|
|
129846
129824
|
}, "strip", z.ZodTypeAny, {
|
129847
129825
|
data: {
|
129848
129826
|
message: {
|
129849
|
-
type:
|
129827
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
129850
129828
|
direction: "incoming" | "outgoing" | "system";
|
129851
129829
|
id?: string | undefined;
|
129852
129830
|
message?: string | null | undefined;
|
@@ -129938,7 +129916,7 @@ export declare const mainChatMessageContract: {
|
|
129938
129916
|
}, {
|
129939
129917
|
data: {
|
129940
129918
|
message: {
|
129941
|
-
type:
|
129919
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
129942
129920
|
direction: "incoming" | "outgoing" | "system";
|
129943
129921
|
id?: string | undefined;
|
129944
129922
|
message?: string | null | undefined;
|
@@ -130075,8 +130053,8 @@ export declare const mainChatMessageContract: {
|
|
130075
130053
|
updatedAt: z.ZodDate;
|
130076
130054
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
130077
130055
|
message: z.ZodString;
|
130078
|
-
direction: z.
|
130079
|
-
type: z.
|
130056
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
130057
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
130080
130058
|
readAt: z.ZodDate;
|
130081
130059
|
metadata: z.ZodAny;
|
130082
130060
|
platformId: z.ZodString;
|
@@ -130102,7 +130080,7 @@ export declare const mainChatMessageContract: {
|
|
130102
130080
|
firstResponseTime: z.ZodNumber;
|
130103
130081
|
isLatest: z.ZodBoolean;
|
130104
130082
|
isBotRoom: z.ZodBoolean;
|
130105
|
-
direction: z.
|
130083
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
130106
130084
|
platformContact: z.ZodObject<{
|
130107
130085
|
id: z.ZodString;
|
130108
130086
|
createdAt: z.ZodDate;
|
@@ -133618,8 +133596,8 @@ export declare const mainChatMessageContract: {
|
|
133618
133596
|
updatedAt: z.ZodDate;
|
133619
133597
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
133620
133598
|
message: z.ZodString;
|
133621
|
-
direction: z.
|
133622
|
-
type: z.
|
133599
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
133600
|
+
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", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
133623
133601
|
readAt: z.ZodDate;
|
133624
133602
|
metadata: z.ZodAny;
|
133625
133603
|
platformId: z.ZodString;
|
@@ -134277,7 +134255,7 @@ export declare const mainChatMessageContract: {
|
|
134277
134255
|
};
|
134278
134256
|
}>;
|
134279
134257
|
}, "strip", z.ZodTypeAny, {
|
134280
|
-
type:
|
134258
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
134281
134259
|
message: string;
|
134282
134260
|
id: string;
|
134283
134261
|
url: string;
|
@@ -134439,7 +134417,7 @@ export declare const mainChatMessageContract: {
|
|
134439
134417
|
metadata?: any;
|
134440
134418
|
template?: any;
|
134441
134419
|
}, {
|
134442
|
-
type:
|
134420
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
134443
134421
|
message: string;
|
134444
134422
|
id: string;
|
134445
134423
|
url: string;
|
@@ -135241,7 +135219,7 @@ export declare const mainChatMessageContract: {
|
|
135241
135219
|
editedMessageid: z.ZodString;
|
135242
135220
|
label: z.ZodOptional<z.ZodString>;
|
135243
135221
|
}, "strip", z.ZodTypeAny, {
|
135244
|
-
type:
|
135222
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
135245
135223
|
message: string;
|
135246
135224
|
id: string;
|
135247
135225
|
url: string;
|
@@ -135803,7 +135781,7 @@ export declare const mainChatMessageContract: {
|
|
135803
135781
|
previewUrl: string;
|
135804
135782
|
imageSetId: string;
|
135805
135783
|
repliedMessage: {
|
135806
|
-
type:
|
135784
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
135807
135785
|
message: string;
|
135808
135786
|
id: string;
|
135809
135787
|
url: string;
|
@@ -136014,7 +135992,7 @@ export declare const mainChatMessageContract: {
|
|
136014
135992
|
template?: any;
|
136015
135993
|
label?: string | undefined;
|
136016
135994
|
}, {
|
136017
|
-
type:
|
135995
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
136018
135996
|
message: string;
|
136019
135997
|
id: string;
|
136020
135998
|
url: string;
|
@@ -136576,7 +136554,7 @@ export declare const mainChatMessageContract: {
|
|
136576
136554
|
previewUrl: string;
|
136577
136555
|
imageSetId: string;
|
136578
136556
|
repliedMessage: {
|
136579
|
-
type:
|
136557
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
136580
136558
|
message: string;
|
136581
136559
|
id: string;
|
136582
136560
|
url: string;
|
@@ -136789,7 +136767,7 @@ export declare const mainChatMessageContract: {
|
|
136789
136767
|
}>, "many">;
|
136790
136768
|
}, "strip", z.ZodTypeAny, {
|
136791
136769
|
data: {
|
136792
|
-
type:
|
136770
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
136793
136771
|
message: string;
|
136794
136772
|
id: string;
|
136795
136773
|
url: string;
|
@@ -137351,7 +137329,7 @@ export declare const mainChatMessageContract: {
|
|
137351
137329
|
previewUrl: string;
|
137352
137330
|
imageSetId: string;
|
137353
137331
|
repliedMessage: {
|
137354
|
-
type:
|
137332
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
137355
137333
|
message: string;
|
137356
137334
|
id: string;
|
137357
137335
|
url: string;
|
@@ -137565,7 +137543,7 @@ export declare const mainChatMessageContract: {
|
|
137565
137543
|
requestId: string;
|
137566
137544
|
}, {
|
137567
137545
|
data: {
|
137568
|
-
type:
|
137546
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
137569
137547
|
message: string;
|
137570
137548
|
id: string;
|
137571
137549
|
url: string;
|
@@ -138127,7 +138105,7 @@ export declare const mainChatMessageContract: {
|
|
138127
138105
|
previewUrl: string;
|
138128
138106
|
imageSetId: string;
|
138129
138107
|
repliedMessage: {
|
138130
|
-
type:
|
138108
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
138131
138109
|
message: string;
|
138132
138110
|
id: string;
|
138133
138111
|
url: string;
|