@kl1/contracts 1.3.40 → 1.3.42
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/botpress/index.d.ts +2 -2
- package/dist/api-contracts/src/channel/index.d.ts +2 -833
- package/dist/api-contracts/src/channel/index.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 +4687 -5926
- 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 +1604 -1612
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1603 -1611
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -2,9 +2,12 @@ import z from 'zod';
|
|
2
2
|
/**
|
3
3
|
* Directions Enum
|
4
4
|
*/
|
5
|
-
export declare const MessageDirectionTypeSchema: z.
|
5
|
+
export declare const MessageDirectionTypeSchema: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6
6
|
export declare const WorkflowAutoReplyMessageTypeSchema: z.ZodDefault<z.ZodEnum<["text", "image"]>>;
|
7
|
-
|
7
|
+
/**
|
8
|
+
* Message Type Enum
|
9
|
+
*/
|
10
|
+
export declare const MessageTypeSchema: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
8
11
|
export declare const FeedPostTypeSchema: z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>;
|
9
12
|
/**
|
10
13
|
* Message Type Enum
|
@@ -1097,7 +1100,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1097
1100
|
firstResponseTime: z.ZodNumber;
|
1098
1101
|
isLatest: z.ZodBoolean;
|
1099
1102
|
isBotRoom: z.ZodBoolean;
|
1100
|
-
direction: z.
|
1103
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1101
1104
|
platformContact: z.ZodObject<{
|
1102
1105
|
id: z.ZodString;
|
1103
1106
|
createdAt: z.ZodDate;
|
@@ -4582,8 +4585,8 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4582
4585
|
updatedAt: z.ZodDate;
|
4583
4586
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4584
4587
|
message: z.ZodString;
|
4585
|
-
direction: z.
|
4586
|
-
type: z.
|
4588
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4589
|
+
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"]>;
|
4587
4590
|
readAt: z.ZodDate;
|
4588
4591
|
metadata: z.ZodAny;
|
4589
4592
|
platformId: z.ZodString;
|
@@ -4609,7 +4612,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4609
4612
|
firstResponseTime: z.ZodNumber;
|
4610
4613
|
isLatest: z.ZodBoolean;
|
4611
4614
|
isBotRoom: z.ZodBoolean;
|
4612
|
-
direction: z.
|
4615
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4613
4616
|
platformContact: z.ZodObject<{
|
4614
4617
|
id: z.ZodString;
|
4615
4618
|
createdAt: z.ZodDate;
|
@@ -8125,8 +8128,8 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8125
8128
|
updatedAt: z.ZodDate;
|
8126
8129
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8127
8130
|
message: z.ZodString;
|
8128
|
-
direction: z.
|
8129
|
-
type: z.
|
8131
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
8132
|
+
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"]>;
|
8130
8133
|
readAt: z.ZodDate;
|
8131
8134
|
metadata: z.ZodAny;
|
8132
8135
|
platformId: z.ZodString;
|
@@ -8784,7 +8787,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8784
8787
|
};
|
8785
8788
|
}>;
|
8786
8789
|
}, "strip", z.ZodTypeAny, {
|
8787
|
-
type:
|
8790
|
+
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";
|
8788
8791
|
message: string;
|
8789
8792
|
id: string;
|
8790
8793
|
url: string;
|
@@ -8946,7 +8949,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8946
8949
|
metadata?: any;
|
8947
8950
|
template?: any;
|
8948
8951
|
}, {
|
8949
|
-
type:
|
8952
|
+
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";
|
8950
8953
|
message: string;
|
8951
8954
|
id: string;
|
8952
8955
|
url: string;
|
@@ -9748,7 +9751,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9748
9751
|
editedMessageid: z.ZodString;
|
9749
9752
|
label: z.ZodOptional<z.ZodString>;
|
9750
9753
|
}, "strip", z.ZodTypeAny, {
|
9751
|
-
type:
|
9754
|
+
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";
|
9752
9755
|
message: string;
|
9753
9756
|
id: string;
|
9754
9757
|
url: string;
|
@@ -10310,7 +10313,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
10310
10313
|
previewUrl: string;
|
10311
10314
|
imageSetId: string;
|
10312
10315
|
repliedMessage: {
|
10313
|
-
type:
|
10316
|
+
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";
|
10314
10317
|
message: string;
|
10315
10318
|
id: string;
|
10316
10319
|
url: string;
|
@@ -10521,7 +10524,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
10521
10524
|
template?: any;
|
10522
10525
|
label?: string | undefined;
|
10523
10526
|
}, {
|
10524
|
-
type:
|
10527
|
+
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";
|
10525
10528
|
message: string;
|
10526
10529
|
id: string;
|
10527
10530
|
url: string;
|
@@ -11083,7 +11086,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
11083
11086
|
previewUrl: string;
|
11084
11087
|
imageSetId: string;
|
11085
11088
|
repliedMessage: {
|
11086
|
-
type:
|
11089
|
+
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";
|
11087
11090
|
message: string;
|
11088
11091
|
id: string;
|
11089
11092
|
url: string;
|
@@ -11295,11 +11298,11 @@ export declare const MessageSchema: z.ZodObject<{
|
|
11295
11298
|
label?: string | undefined;
|
11296
11299
|
}>;
|
11297
11300
|
export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
11298
|
-
type: z.
|
11301
|
+
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"]>;
|
11299
11302
|
message: z.ZodString;
|
11300
11303
|
id: z.ZodString;
|
11301
11304
|
url: z.ZodString;
|
11302
|
-
direction: z.
|
11305
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
11303
11306
|
label: z.ZodOptional<z.ZodString>;
|
11304
11307
|
template: z.ZodAny;
|
11305
11308
|
metadata: z.ZodAny;
|
@@ -11764,7 +11767,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
11764
11767
|
firstResponseTime: z.ZodNumber;
|
11765
11768
|
isLatest: z.ZodBoolean;
|
11766
11769
|
isBotRoom: z.ZodBoolean;
|
11767
|
-
direction: z.
|
11770
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
11768
11771
|
platformContact: z.ZodObject<{
|
11769
11772
|
id: z.ZodString;
|
11770
11773
|
createdAt: z.ZodDate;
|
@@ -15277,8 +15280,8 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
15277
15280
|
updatedAt: z.ZodDate;
|
15278
15281
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
15279
15282
|
message: z.ZodString;
|
15280
|
-
direction: z.
|
15281
|
-
type: z.
|
15283
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
15284
|
+
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"]>;
|
15282
15285
|
readAt: z.ZodDate;
|
15283
15286
|
metadata: z.ZodAny;
|
15284
15287
|
platformId: z.ZodString;
|
@@ -15936,7 +15939,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
15936
15939
|
};
|
15937
15940
|
}>;
|
15938
15941
|
}, "strip", z.ZodTypeAny, {
|
15939
|
-
type:
|
15942
|
+
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";
|
15940
15943
|
message: string;
|
15941
15944
|
id: string;
|
15942
15945
|
url: string;
|
@@ -16098,7 +16101,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
16098
16101
|
metadata?: any;
|
16099
16102
|
template?: any;
|
16100
16103
|
}, {
|
16101
|
-
type:
|
16104
|
+
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";
|
16102
16105
|
message: string;
|
16103
16106
|
id: string;
|
16104
16107
|
url: string;
|
@@ -16473,7 +16476,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
16473
16476
|
updatedAt: z.ZodDate;
|
16474
16477
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
16475
16478
|
message: z.ZodNullable<z.ZodString>;
|
16476
|
-
type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.
|
16479
|
+
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"]>]>;
|
16477
16480
|
metadata: z.ZodAny;
|
16478
16481
|
platformId: z.ZodString;
|
16479
16482
|
platformMessageId: z.ZodString;
|
@@ -18312,7 +18315,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18312
18315
|
}>;
|
18313
18316
|
permalinkURL: z.ZodString;
|
18314
18317
|
}, "strip", z.ZodTypeAny, {
|
18315
|
-
type:
|
18318
|
+
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";
|
18316
18319
|
message: string | null;
|
18317
18320
|
id: string;
|
18318
18321
|
channel: {
|
@@ -18598,7 +18601,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18598
18601
|
metadata?: any;
|
18599
18602
|
template?: any;
|
18600
18603
|
}, {
|
18601
|
-
type:
|
18604
|
+
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";
|
18602
18605
|
message: string | null;
|
18603
18606
|
id: string;
|
18604
18607
|
channel: {
|
@@ -18886,7 +18889,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18886
18889
|
}>>;
|
18887
18890
|
replyReaction: z.ZodNullable<z.ZodString>;
|
18888
18891
|
}, "strip", z.ZodTypeAny, {
|
18889
|
-
type:
|
18892
|
+
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";
|
18890
18893
|
message: string;
|
18891
18894
|
id: string;
|
18892
18895
|
url: string;
|
@@ -19448,7 +19451,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
19448
19451
|
previewUrl: string;
|
19449
19452
|
imageSetId: string;
|
19450
19453
|
repliedMessage: {
|
19451
|
-
type:
|
19454
|
+
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";
|
19452
19455
|
message: string;
|
19453
19456
|
id: string;
|
19454
19457
|
url: string;
|
@@ -19658,7 +19661,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
19658
19661
|
parentMessageId: string | null;
|
19659
19662
|
feedPostId: string | null;
|
19660
19663
|
feedPost: {
|
19661
|
-
type:
|
19664
|
+
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";
|
19662
19665
|
message: string | null;
|
19663
19666
|
id: string;
|
19664
19667
|
channel: {
|
@@ -19949,7 +19952,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
19949
19952
|
template?: any;
|
19950
19953
|
metadata?: any;
|
19951
19954
|
}, {
|
19952
|
-
type:
|
19955
|
+
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";
|
19953
19956
|
message: string;
|
19954
19957
|
id: string;
|
19955
19958
|
url: string;
|
@@ -20511,7 +20514,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
20511
20514
|
previewUrl: string;
|
20512
20515
|
imageSetId: string;
|
20513
20516
|
repliedMessage: {
|
20514
|
-
type:
|
20517
|
+
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";
|
20515
20518
|
message: string;
|
20516
20519
|
id: string;
|
20517
20520
|
url: string;
|
@@ -20721,7 +20724,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
20721
20724
|
parentMessageId: string | null;
|
20722
20725
|
feedPostId: string | null;
|
20723
20726
|
feedPost: {
|
20724
|
-
type:
|
20727
|
+
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";
|
20725
20728
|
message: string | null;
|
20726
20729
|
id: string;
|
20727
20730
|
channel: {
|
@@ -21018,8 +21021,8 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
21018
21021
|
updatedAt: z.ZodDate;
|
21019
21022
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
21020
21023
|
message: z.ZodString;
|
21021
|
-
direction: z.
|
21022
|
-
type: z.
|
21024
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
21025
|
+
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"]>;
|
21023
21026
|
readAt: z.ZodDate;
|
21024
21027
|
metadata: z.ZodAny;
|
21025
21028
|
platformId: z.ZodString;
|
@@ -21677,7 +21680,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
21677
21680
|
};
|
21678
21681
|
}>;
|
21679
21682
|
}, "strip", z.ZodTypeAny, {
|
21680
|
-
type:
|
21683
|
+
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";
|
21681
21684
|
message: string;
|
21682
21685
|
id: string;
|
21683
21686
|
url: string;
|
@@ -21839,7 +21842,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
21839
21842
|
metadata?: any;
|
21840
21843
|
template?: any;
|
21841
21844
|
}, {
|
21842
|
-
type:
|
21845
|
+
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";
|
21843
21846
|
message: string;
|
21844
21847
|
id: string;
|
21845
21848
|
url: string;
|
@@ -22015,11 +22018,11 @@ export declare const UnreadCountsByAssigneeSchema: z.ZodObject<{
|
|
22015
22018
|
totalUnreadCount: number;
|
22016
22019
|
}>;
|
22017
22020
|
export declare const MessageRelevanceSchema: z.ZodObject<{
|
22018
|
-
type: z.
|
22021
|
+
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"]>;
|
22019
22022
|
message: z.ZodString;
|
22020
22023
|
id: z.ZodString;
|
22021
22024
|
url: z.ZodString;
|
22022
|
-
direction: z.
|
22025
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
22023
22026
|
label: z.ZodOptional<z.ZodString>;
|
22024
22027
|
template: z.ZodAny;
|
22025
22028
|
metadata: z.ZodAny;
|
@@ -22484,7 +22487,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
22484
22487
|
firstResponseTime: z.ZodNumber;
|
22485
22488
|
isLatest: z.ZodBoolean;
|
22486
22489
|
isBotRoom: z.ZodBoolean;
|
22487
|
-
direction: z.
|
22490
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
22488
22491
|
platformContact: z.ZodObject<{
|
22489
22492
|
id: z.ZodString;
|
22490
22493
|
createdAt: z.ZodDate;
|
@@ -25997,8 +26000,8 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
25997
26000
|
updatedAt: z.ZodDate;
|
25998
26001
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
25999
26002
|
message: z.ZodString;
|
26000
|
-
direction: z.
|
26001
|
-
type: z.
|
26003
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
26004
|
+
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"]>;
|
26002
26005
|
readAt: z.ZodDate;
|
26003
26006
|
metadata: z.ZodAny;
|
26004
26007
|
platformId: z.ZodString;
|
@@ -26656,7 +26659,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
26656
26659
|
};
|
26657
26660
|
}>;
|
26658
26661
|
}, "strip", z.ZodTypeAny, {
|
26659
|
-
type:
|
26662
|
+
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";
|
26660
26663
|
message: string;
|
26661
26664
|
id: string;
|
26662
26665
|
url: string;
|
@@ -26818,7 +26821,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
26818
26821
|
metadata?: any;
|
26819
26822
|
template?: any;
|
26820
26823
|
}, {
|
26821
|
-
type:
|
26824
|
+
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";
|
26822
26825
|
message: string;
|
26823
26826
|
id: string;
|
26824
26827
|
url: string;
|
@@ -28238,8 +28241,8 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
28238
28241
|
updatedAt: z.ZodDate;
|
28239
28242
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
28240
28243
|
message: z.ZodString;
|
28241
|
-
direction: z.
|
28242
|
-
type: z.
|
28244
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
28245
|
+
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"]>;
|
28243
28246
|
readAt: z.ZodDate;
|
28244
28247
|
metadata: z.ZodAny;
|
28245
28248
|
platformId: z.ZodString;
|
@@ -28265,7 +28268,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
28265
28268
|
firstResponseTime: z.ZodNumber;
|
28266
28269
|
isLatest: z.ZodBoolean;
|
28267
28270
|
isBotRoom: z.ZodBoolean;
|
28268
|
-
direction: z.
|
28271
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
28269
28272
|
platformContact: z.ZodObject<{
|
28270
28273
|
id: z.ZodString;
|
28271
28274
|
createdAt: z.ZodDate;
|
@@ -31781,8 +31784,8 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
31781
31784
|
updatedAt: z.ZodDate;
|
31782
31785
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
31783
31786
|
message: z.ZodString;
|
31784
|
-
direction: z.
|
31785
|
-
type: z.
|
31787
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
31788
|
+
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"]>;
|
31786
31789
|
readAt: z.ZodDate;
|
31787
31790
|
metadata: z.ZodAny;
|
31788
31791
|
platformId: z.ZodString;
|
@@ -32440,7 +32443,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
32440
32443
|
};
|
32441
32444
|
}>;
|
32442
32445
|
}, "strip", z.ZodTypeAny, {
|
32443
|
-
type:
|
32446
|
+
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";
|
32444
32447
|
message: string;
|
32445
32448
|
id: string;
|
32446
32449
|
url: string;
|
@@ -32602,7 +32605,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
32602
32605
|
metadata?: any;
|
32603
32606
|
template?: any;
|
32604
32607
|
}, {
|
32605
|
-
type:
|
32608
|
+
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";
|
32606
32609
|
message: string;
|
32607
32610
|
id: string;
|
32608
32611
|
url: string;
|
@@ -33404,7 +33407,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33404
33407
|
editedMessageid: z.ZodString;
|
33405
33408
|
label: z.ZodOptional<z.ZodString>;
|
33406
33409
|
}, "strip", z.ZodTypeAny, {
|
33407
|
-
type:
|
33410
|
+
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";
|
33408
33411
|
message: string;
|
33409
33412
|
id: string;
|
33410
33413
|
url: string;
|
@@ -33966,7 +33969,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33966
33969
|
previewUrl: string;
|
33967
33970
|
imageSetId: string;
|
33968
33971
|
repliedMessage: {
|
33969
|
-
type:
|
33972
|
+
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";
|
33970
33973
|
message: string;
|
33971
33974
|
id: string;
|
33972
33975
|
url: string;
|
@@ -34177,7 +34180,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
34177
34180
|
template?: any;
|
34178
34181
|
label?: string | undefined;
|
34179
34182
|
}, {
|
34180
|
-
type:
|
34183
|
+
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";
|
34181
34184
|
message: string;
|
34182
34185
|
id: string;
|
34183
34186
|
url: string;
|
@@ -34739,7 +34742,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
34739
34742
|
previewUrl: string;
|
34740
34743
|
imageSetId: string;
|
34741
34744
|
repliedMessage: {
|
34742
|
-
type:
|
34745
|
+
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";
|
34743
34746
|
message: string;
|
34744
34747
|
id: string;
|
34745
34748
|
url: string;
|
@@ -34951,13 +34954,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
34951
34954
|
label?: string | undefined;
|
34952
34955
|
}>, "many">;
|
34953
34956
|
}, "strip", z.ZodTypeAny, {
|
34954
|
-
type:
|
34957
|
+
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";
|
34955
34958
|
message: string;
|
34956
34959
|
id: string;
|
34957
34960
|
url: string;
|
34958
34961
|
direction: "incoming" | "outgoing" | "system";
|
34959
34962
|
children: {
|
34960
|
-
type:
|
34963
|
+
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";
|
34961
34964
|
message: string;
|
34962
34965
|
id: string;
|
34963
34966
|
url: string;
|
@@ -35519,7 +35522,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
35519
35522
|
previewUrl: string;
|
35520
35523
|
imageSetId: string;
|
35521
35524
|
repliedMessage: {
|
35522
|
-
type:
|
35525
|
+
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";
|
35523
35526
|
message: string;
|
35524
35527
|
id: string;
|
35525
35528
|
url: string;
|
@@ -36287,7 +36290,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
36287
36290
|
previewUrl: string;
|
36288
36291
|
imageSetId: string;
|
36289
36292
|
repliedMessage: {
|
36290
|
-
type:
|
36293
|
+
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";
|
36291
36294
|
message: string;
|
36292
36295
|
id: string;
|
36293
36296
|
url: string;
|
@@ -36625,13 +36628,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
36625
36628
|
template?: any;
|
36626
36629
|
metadata?: any;
|
36627
36630
|
}, {
|
36628
|
-
type:
|
36631
|
+
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";
|
36629
36632
|
message: string;
|
36630
36633
|
id: string;
|
36631
36634
|
url: string;
|
36632
36635
|
direction: "incoming" | "outgoing" | "system";
|
36633
36636
|
children: {
|
36634
|
-
type:
|
36637
|
+
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";
|
36635
36638
|
message: string;
|
36636
36639
|
id: string;
|
36637
36640
|
url: string;
|
@@ -37193,7 +37196,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
37193
37196
|
previewUrl: string;
|
37194
37197
|
imageSetId: string;
|
37195
37198
|
repliedMessage: {
|
37196
|
-
type:
|
37199
|
+
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";
|
37197
37200
|
message: string;
|
37198
37201
|
id: string;
|
37199
37202
|
url: string;
|
@@ -37961,7 +37964,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
37961
37964
|
previewUrl: string;
|
37962
37965
|
imageSetId: string;
|
37963
37966
|
repliedMessage: {
|
37964
|
-
type:
|
37967
|
+
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";
|
37965
37968
|
message: string;
|
37966
37969
|
id: string;
|
37967
37970
|
url: string;
|