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