@kl1/contracts 1.3.42 → 1.3.44
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 +833 -2
- 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/contact/index.d.ts +30 -27
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +6062 -4808
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +74 -60
- 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 +5 -2
- package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +24 -24
- package/dist/api-contracts/src/export/validation.d.ts +1 -1
- package/dist/api-contracts/src/export/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/telephony-cdr/index.d.ts +11 -8
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +32 -29
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +3 -0
- package/dist/api-contracts/src/user-presence-status-log/index.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 +1985 -1970
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1984 -1969
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -224,6 +224,8 @@ export declare const MessageAttachmentSchema: z.ZodObject<{
|
|
224
224
|
url: z.ZodNullable<z.ZodString>;
|
225
225
|
fileType: z.ZodString;
|
226
226
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
227
|
+
width: z.ZodOptional<z.ZodString>;
|
228
|
+
height: z.ZodOptional<z.ZodString>;
|
227
229
|
}, "strip", z.ZodTypeAny, {
|
228
230
|
url: string | null;
|
229
231
|
fileName: string;
|
@@ -232,6 +234,8 @@ export declare const MessageAttachmentSchema: z.ZodObject<{
|
|
232
234
|
bucketName: string;
|
233
235
|
fileSize: number;
|
234
236
|
thumbnailUrl?: string | undefined;
|
237
|
+
width?: string | undefined;
|
238
|
+
height?: string | undefined;
|
235
239
|
}, {
|
236
240
|
url: string | null;
|
237
241
|
fileName: string;
|
@@ -240,6 +244,8 @@ export declare const MessageAttachmentSchema: z.ZodObject<{
|
|
240
244
|
bucketName: string;
|
241
245
|
fileSize: number;
|
242
246
|
thumbnailUrl?: string | undefined;
|
247
|
+
width?: string | undefined;
|
248
|
+
height?: string | undefined;
|
243
249
|
}>;
|
244
250
|
export declare const StickerSchema: z.ZodObject<{
|
245
251
|
packageId: z.ZodNumber;
|
@@ -264,7 +270,7 @@ export declare const ActionMessageSchema: z.ZodObject<{
|
|
264
270
|
}>;
|
265
271
|
export declare const SendMessageSchema: z.ZodObject<{
|
266
272
|
roomId: z.ZodString;
|
267
|
-
messageType: z.
|
273
|
+
messageType: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
268
274
|
message: z.ZodOptional<z.ZodString>;
|
269
275
|
messageAttachments: z.ZodOptional<z.ZodObject<{
|
270
276
|
bucketName: z.ZodString;
|
@@ -274,6 +280,8 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
274
280
|
url: z.ZodNullable<z.ZodString>;
|
275
281
|
fileType: z.ZodString;
|
276
282
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
283
|
+
width: z.ZodOptional<z.ZodString>;
|
284
|
+
height: z.ZodOptional<z.ZodString>;
|
277
285
|
}, "strip", z.ZodTypeAny, {
|
278
286
|
url: string | null;
|
279
287
|
fileName: string;
|
@@ -282,6 +290,8 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
282
290
|
bucketName: string;
|
283
291
|
fileSize: number;
|
284
292
|
thumbnailUrl?: string | undefined;
|
293
|
+
width?: string | undefined;
|
294
|
+
height?: string | undefined;
|
285
295
|
}, {
|
286
296
|
url: string | null;
|
287
297
|
fileName: string;
|
@@ -290,6 +300,8 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
290
300
|
bucketName: string;
|
291
301
|
fileSize: number;
|
292
302
|
thumbnailUrl?: string | undefined;
|
303
|
+
width?: string | undefined;
|
304
|
+
height?: string | undefined;
|
293
305
|
}>>;
|
294
306
|
user: z.ZodOptional<z.ZodObject<{
|
295
307
|
name: z.ZodString;
|
@@ -523,7 +535,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
523
535
|
mentions?: string[] | undefined;
|
524
536
|
}>>;
|
525
537
|
}, "strip", z.ZodTypeAny, {
|
526
|
-
messageType:
|
538
|
+
messageType: string;
|
527
539
|
roomId: string;
|
528
540
|
message?: string | undefined;
|
529
541
|
messageAttachments?: {
|
@@ -534,6 +546,8 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
534
546
|
bucketName: string;
|
535
547
|
fileSize: number;
|
536
548
|
thumbnailUrl?: string | undefined;
|
549
|
+
width?: string | undefined;
|
550
|
+
height?: string | undefined;
|
537
551
|
} | undefined;
|
538
552
|
user?: {
|
539
553
|
name: string;
|
@@ -595,7 +609,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
595
609
|
mentions?: string[] | undefined;
|
596
610
|
} | undefined;
|
597
611
|
}, {
|
598
|
-
messageType:
|
612
|
+
messageType: string;
|
599
613
|
roomId: string;
|
600
614
|
message?: string | undefined;
|
601
615
|
messageAttachments?: {
|
@@ -606,6 +620,8 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
606
620
|
bucketName: string;
|
607
621
|
fileSize: number;
|
608
622
|
thumbnailUrl?: string | undefined;
|
623
|
+
width?: string | undefined;
|
624
|
+
height?: string | undefined;
|
609
625
|
} | undefined;
|
610
626
|
user?: {
|
611
627
|
name: string;
|
@@ -673,17 +689,17 @@ export declare const InitiateMessageSchema: z.ZodObject<{
|
|
673
689
|
contactId: z.ZodOptional<z.ZodString>;
|
674
690
|
message: z.ZodObject<{
|
675
691
|
message: z.ZodOptional<z.ZodString>;
|
676
|
-
messageType: z.
|
692
|
+
messageType: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
677
693
|
}, "strip", z.ZodTypeAny, {
|
678
|
-
messageType:
|
694
|
+
messageType: string;
|
679
695
|
message?: string | undefined;
|
680
696
|
}, {
|
681
|
-
messageType:
|
697
|
+
messageType: string;
|
682
698
|
message?: string | undefined;
|
683
699
|
}>;
|
684
700
|
}, "strip", z.ZodTypeAny, {
|
685
701
|
message: {
|
686
|
-
messageType:
|
702
|
+
messageType: string;
|
687
703
|
message?: string | undefined;
|
688
704
|
};
|
689
705
|
channelId: string;
|
@@ -691,7 +707,7 @@ export declare const InitiateMessageSchema: z.ZodObject<{
|
|
691
707
|
contactId?: string | undefined;
|
692
708
|
}, {
|
693
709
|
message: {
|
694
|
-
messageType:
|
710
|
+
messageType: string;
|
695
711
|
message?: string | undefined;
|
696
712
|
};
|
697
713
|
channelId: string;
|
@@ -1723,8 +1739,8 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
1723
1739
|
message: z.ZodObject<{
|
1724
1740
|
id: z.ZodOptional<z.ZodString>;
|
1725
1741
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1726
|
-
direction: z.
|
1727
|
-
type: z.
|
1742
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
1743
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
1728
1744
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
1729
1745
|
metadata: z.ZodOptional<z.ZodAny>;
|
1730
1746
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -1776,7 +1792,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
1776
1792
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1777
1793
|
feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1778
1794
|
}, "strip", z.ZodTypeAny, {
|
1779
|
-
type:
|
1795
|
+
type: string;
|
1780
1796
|
direction: "incoming" | "outgoing" | "system";
|
1781
1797
|
id?: string | undefined;
|
1782
1798
|
message?: string | null | undefined;
|
@@ -1807,7 +1823,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
1807
1823
|
parentMessageId?: string | null | undefined;
|
1808
1824
|
feedPostId?: string | null | undefined;
|
1809
1825
|
}, {
|
1810
|
-
type:
|
1826
|
+
type: string;
|
1811
1827
|
direction: "incoming" | "outgoing" | "system";
|
1812
1828
|
id?: string | undefined;
|
1813
1829
|
message?: string | null | undefined;
|
@@ -1840,7 +1856,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
1840
1856
|
}>;
|
1841
1857
|
}, "strip", z.ZodTypeAny, {
|
1842
1858
|
message: {
|
1843
|
-
type:
|
1859
|
+
type: string;
|
1844
1860
|
direction: "incoming" | "outgoing" | "system";
|
1845
1861
|
id?: string | undefined;
|
1846
1862
|
message?: string | null | undefined;
|
@@ -1929,7 +1945,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
|
|
1929
1945
|
};
|
1930
1946
|
}, {
|
1931
1947
|
message: {
|
1932
|
-
type:
|
1948
|
+
type: string;
|
1933
1949
|
direction: "incoming" | "outgoing" | "system";
|
1934
1950
|
id?: string | undefined;
|
1935
1951
|
message?: string | null | undefined;
|
@@ -2024,7 +2040,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2024
2040
|
lastMessage: z.ZodOptional<z.ZodString>;
|
2025
2041
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
2026
2042
|
isLatest: z.ZodBoolean;
|
2027
|
-
direction: z.
|
2043
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
2028
2044
|
metadata: z.ZodOptional<z.ZodAny>;
|
2029
2045
|
createdAt: z.ZodString;
|
2030
2046
|
updatedAt: z.ZodString;
|
@@ -2617,8 +2633,8 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2617
2633
|
message: z.ZodObject<{
|
2618
2634
|
id: z.ZodOptional<z.ZodString>;
|
2619
2635
|
message: z.ZodOptional<z.ZodString>;
|
2620
|
-
direction: z.
|
2621
|
-
type: z.
|
2636
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
2637
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
2622
2638
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
2623
2639
|
metadata: z.ZodOptional<z.ZodAny>;
|
2624
2640
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -2674,7 +2690,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2674
2690
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
2675
2691
|
label: z.ZodOptional<z.ZodString>;
|
2676
2692
|
}, "strip", z.ZodTypeAny, {
|
2677
|
-
type:
|
2693
|
+
type: string;
|
2678
2694
|
direction: "incoming" | "outgoing" | "system";
|
2679
2695
|
id?: string | undefined;
|
2680
2696
|
message?: string | undefined;
|
@@ -2709,7 +2725,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2709
2725
|
editedAt?: string | Date | null | undefined;
|
2710
2726
|
label?: string | undefined;
|
2711
2727
|
}, {
|
2712
|
-
type:
|
2728
|
+
type: string;
|
2713
2729
|
direction: "incoming" | "outgoing" | "system";
|
2714
2730
|
id?: string | undefined;
|
2715
2731
|
message?: string | undefined;
|
@@ -2746,7 +2762,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2746
2762
|
}>;
|
2747
2763
|
}, "strip", z.ZodTypeAny, {
|
2748
2764
|
message: {
|
2749
|
-
type:
|
2765
|
+
type: string;
|
2750
2766
|
direction: "incoming" | "outgoing" | "system";
|
2751
2767
|
id?: string | undefined;
|
2752
2768
|
message?: string | undefined;
|
@@ -2881,7 +2897,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
2881
2897
|
isBot: boolean | null;
|
2882
2898
|
}, {
|
2883
2899
|
message: {
|
2884
|
-
type:
|
2900
|
+
type: string;
|
2885
2901
|
direction: "incoming" | "outgoing" | "system";
|
2886
2902
|
id?: string | undefined;
|
2887
2903
|
message?: string | undefined;
|
@@ -3019,8 +3035,8 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3019
3035
|
message: z.ZodObject<{
|
3020
3036
|
id: z.ZodOptional<z.ZodString>;
|
3021
3037
|
message: z.ZodOptional<z.ZodString>;
|
3022
|
-
direction: z.
|
3023
|
-
type: z.
|
3038
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
3039
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
3024
3040
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
3025
3041
|
metadata: z.ZodOptional<z.ZodAny>;
|
3026
3042
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -3076,7 +3092,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3076
3092
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
3077
3093
|
label: z.ZodOptional<z.ZodString>;
|
3078
3094
|
}, "strip", z.ZodTypeAny, {
|
3079
|
-
type:
|
3095
|
+
type: string;
|
3080
3096
|
direction: "incoming" | "outgoing" | "system";
|
3081
3097
|
id?: string | undefined;
|
3082
3098
|
message?: string | undefined;
|
@@ -3111,7 +3127,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3111
3127
|
editedAt?: string | Date | null | undefined;
|
3112
3128
|
label?: string | undefined;
|
3113
3129
|
}, {
|
3114
|
-
type:
|
3130
|
+
type: string;
|
3115
3131
|
direction: "incoming" | "outgoing" | "system";
|
3116
3132
|
id?: string | undefined;
|
3117
3133
|
message?: string | undefined;
|
@@ -3151,7 +3167,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3151
3167
|
lastMessage: z.ZodOptional<z.ZodString>;
|
3152
3168
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
3153
3169
|
isLatest: z.ZodBoolean;
|
3154
|
-
direction: z.
|
3170
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
3155
3171
|
metadata: z.ZodOptional<z.ZodAny>;
|
3156
3172
|
createdAt: z.ZodString;
|
3157
3173
|
updatedAt: z.ZodString;
|
@@ -3754,7 +3770,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3754
3770
|
}>>;
|
3755
3771
|
}, "strip", z.ZodTypeAny, {
|
3756
3772
|
message: {
|
3757
|
-
type:
|
3773
|
+
type: string;
|
3758
3774
|
direction: "incoming" | "outgoing" | "system";
|
3759
3775
|
id?: string | undefined;
|
3760
3776
|
message?: string | undefined;
|
@@ -3893,7 +3909,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
3893
3909
|
} | undefined;
|
3894
3910
|
}, {
|
3895
3911
|
message: {
|
3896
|
-
type:
|
3912
|
+
type: string;
|
3897
3913
|
direction: "incoming" | "outgoing" | "system";
|
3898
3914
|
id?: string | undefined;
|
3899
3915
|
message?: string | undefined;
|
@@ -4034,11 +4050,11 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
|
|
4034
4050
|
export declare const SendMessageResponseSchema: z.ZodObject<{
|
4035
4051
|
requestId: z.ZodString;
|
4036
4052
|
data: z.ZodObject<{
|
4037
|
-
type: z.
|
4053
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
4038
4054
|
message: z.ZodString;
|
4039
4055
|
id: z.ZodString;
|
4040
4056
|
url: z.ZodString;
|
4041
|
-
direction: z.
|
4057
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
4042
4058
|
label: z.ZodOptional<z.ZodString>;
|
4043
4059
|
template: z.ZodAny;
|
4044
4060
|
metadata: z.ZodAny;
|
@@ -4503,7 +4519,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4503
4519
|
firstResponseTime: z.ZodNumber;
|
4504
4520
|
isLatest: z.ZodBoolean;
|
4505
4521
|
isBotRoom: z.ZodBoolean;
|
4506
|
-
direction: z.
|
4522
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
4507
4523
|
platformContact: z.ZodObject<{
|
4508
4524
|
id: z.ZodString;
|
4509
4525
|
createdAt: z.ZodDate;
|
@@ -8016,8 +8032,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8016
8032
|
updatedAt: z.ZodDate;
|
8017
8033
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8018
8034
|
message: z.ZodString;
|
8019
|
-
direction: z.
|
8020
|
-
type: z.
|
8035
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
8036
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
8021
8037
|
readAt: z.ZodDate;
|
8022
8038
|
metadata: z.ZodAny;
|
8023
8039
|
platformId: z.ZodString;
|
@@ -8675,7 +8691,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8675
8691
|
};
|
8676
8692
|
}>;
|
8677
8693
|
}, "strip", z.ZodTypeAny, {
|
8678
|
-
type:
|
8694
|
+
type: string;
|
8679
8695
|
message: string;
|
8680
8696
|
id: string;
|
8681
8697
|
url: string;
|
@@ -8837,7 +8853,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
8837
8853
|
metadata?: any;
|
8838
8854
|
template?: any;
|
8839
8855
|
}, {
|
8840
|
-
type:
|
8856
|
+
type: string;
|
8841
8857
|
message: string;
|
8842
8858
|
id: string;
|
8843
8859
|
url: string;
|
@@ -9210,8 +9226,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
9210
9226
|
updatedAt: z.ZodDate;
|
9211
9227
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9212
9228
|
message: z.ZodString;
|
9213
|
-
direction: z.
|
9214
|
-
type: z.
|
9229
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
9230
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
9215
9231
|
readAt: z.ZodDate;
|
9216
9232
|
metadata: z.ZodAny;
|
9217
9233
|
platformId: z.ZodString;
|
@@ -9237,7 +9253,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
9237
9253
|
firstResponseTime: z.ZodNumber;
|
9238
9254
|
isLatest: z.ZodBoolean;
|
9239
9255
|
isBotRoom: z.ZodBoolean;
|
9240
|
-
direction: z.
|
9256
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
9241
9257
|
platformContact: z.ZodObject<{
|
9242
9258
|
id: z.ZodString;
|
9243
9259
|
createdAt: z.ZodDate;
|
@@ -12753,8 +12769,8 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
12753
12769
|
updatedAt: z.ZodDate;
|
12754
12770
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
12755
12771
|
message: z.ZodString;
|
12756
|
-
direction: z.
|
12757
|
-
type: z.
|
12772
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
12773
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
12758
12774
|
readAt: z.ZodDate;
|
12759
12775
|
metadata: z.ZodAny;
|
12760
12776
|
platformId: z.ZodString;
|
@@ -13412,7 +13428,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
13412
13428
|
};
|
13413
13429
|
}>;
|
13414
13430
|
}, "strip", z.ZodTypeAny, {
|
13415
|
-
type:
|
13431
|
+
type: string;
|
13416
13432
|
message: string;
|
13417
13433
|
id: string;
|
13418
13434
|
url: string;
|
@@ -13574,7 +13590,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
13574
13590
|
metadata?: any;
|
13575
13591
|
template?: any;
|
13576
13592
|
}, {
|
13577
|
-
type:
|
13593
|
+
type: string;
|
13578
13594
|
message: string;
|
13579
13595
|
id: string;
|
13580
13596
|
url: string;
|
@@ -14376,7 +14392,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
14376
14392
|
editedMessageid: z.ZodString;
|
14377
14393
|
label: z.ZodOptional<z.ZodString>;
|
14378
14394
|
}, "strip", z.ZodTypeAny, {
|
14379
|
-
type:
|
14395
|
+
type: string;
|
14380
14396
|
message: string;
|
14381
14397
|
id: string;
|
14382
14398
|
url: string;
|
@@ -14938,7 +14954,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
14938
14954
|
previewUrl: string;
|
14939
14955
|
imageSetId: string;
|
14940
14956
|
repliedMessage: {
|
14941
|
-
type:
|
14957
|
+
type: string;
|
14942
14958
|
message: string;
|
14943
14959
|
id: string;
|
14944
14960
|
url: string;
|
@@ -15149,7 +15165,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
15149
15165
|
template?: any;
|
15150
15166
|
label?: string | undefined;
|
15151
15167
|
}, {
|
15152
|
-
type:
|
15168
|
+
type: string;
|
15153
15169
|
message: string;
|
15154
15170
|
id: string;
|
15155
15171
|
url: string;
|
@@ -15711,7 +15727,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
15711
15727
|
previewUrl: string;
|
15712
15728
|
imageSetId: string;
|
15713
15729
|
repliedMessage: {
|
15714
|
-
type:
|
15730
|
+
type: string;
|
15715
15731
|
message: string;
|
15716
15732
|
id: string;
|
15717
15733
|
url: string;
|
@@ -15923,7 +15939,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
15923
15939
|
label?: string | undefined;
|
15924
15940
|
}>>>;
|
15925
15941
|
}, "strip", z.ZodTypeAny, {
|
15926
|
-
type:
|
15942
|
+
type: string;
|
15927
15943
|
message: string;
|
15928
15944
|
id: string;
|
15929
15945
|
url: string;
|
@@ -16485,7 +16501,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
16485
16501
|
previewUrl: string;
|
16486
16502
|
imageSetId: string;
|
16487
16503
|
repliedMessage: {
|
16488
|
-
type:
|
16504
|
+
type: string;
|
16489
16505
|
message: string;
|
16490
16506
|
id: string;
|
16491
16507
|
url: string;
|
@@ -16696,7 +16712,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
16696
16712
|
template?: any;
|
16697
16713
|
metadata?: any;
|
16698
16714
|
fromMessage?: {
|
16699
|
-
type:
|
16715
|
+
type: string;
|
16700
16716
|
message: string;
|
16701
16717
|
id: string;
|
16702
16718
|
url: string;
|
@@ -17258,7 +17274,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
17258
17274
|
previewUrl: string;
|
17259
17275
|
imageSetId: string;
|
17260
17276
|
repliedMessage: {
|
17261
|
-
type:
|
17277
|
+
type: string;
|
17262
17278
|
message: string;
|
17263
17279
|
id: string;
|
17264
17280
|
url: string;
|
@@ -17470,7 +17486,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
17470
17486
|
label?: string | undefined;
|
17471
17487
|
} | null | undefined;
|
17472
17488
|
}, {
|
17473
|
-
type:
|
17489
|
+
type: string;
|
17474
17490
|
message: string;
|
17475
17491
|
id: string;
|
17476
17492
|
url: string;
|
@@ -18032,7 +18048,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
18032
18048
|
previewUrl: string;
|
18033
18049
|
imageSetId: string;
|
18034
18050
|
repliedMessage: {
|
18035
|
-
type:
|
18051
|
+
type: string;
|
18036
18052
|
message: string;
|
18037
18053
|
id: string;
|
18038
18054
|
url: string;
|
@@ -18243,7 +18259,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
18243
18259
|
template?: any;
|
18244
18260
|
metadata?: any;
|
18245
18261
|
fromMessage?: {
|
18246
|
-
type:
|
18262
|
+
type: string;
|
18247
18263
|
message: string;
|
18248
18264
|
id: string;
|
18249
18265
|
url: string;
|
@@ -18805,7 +18821,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
18805
18821
|
previewUrl: string;
|
18806
18822
|
imageSetId: string;
|
18807
18823
|
repliedMessage: {
|
18808
|
-
type:
|
18824
|
+
type: string;
|
18809
18825
|
message: string;
|
18810
18826
|
id: string;
|
18811
18827
|
url: string;
|
@@ -19019,7 +19035,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
19019
19035
|
}>;
|
19020
19036
|
}, "strip", z.ZodTypeAny, {
|
19021
19037
|
data: {
|
19022
|
-
type:
|
19038
|
+
type: string;
|
19023
19039
|
message: string;
|
19024
19040
|
id: string;
|
19025
19041
|
url: string;
|
@@ -19581,7 +19597,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
19581
19597
|
previewUrl: string;
|
19582
19598
|
imageSetId: string;
|
19583
19599
|
repliedMessage: {
|
19584
|
-
type:
|
19600
|
+
type: string;
|
19585
19601
|
message: string;
|
19586
19602
|
id: string;
|
19587
19603
|
url: string;
|
@@ -19792,7 +19808,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
19792
19808
|
template?: any;
|
19793
19809
|
metadata?: any;
|
19794
19810
|
fromMessage?: {
|
19795
|
-
type:
|
19811
|
+
type: string;
|
19796
19812
|
message: string;
|
19797
19813
|
id: string;
|
19798
19814
|
url: string;
|
@@ -20354,7 +20370,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
20354
20370
|
previewUrl: string;
|
20355
20371
|
imageSetId: string;
|
20356
20372
|
repliedMessage: {
|
20357
|
-
type:
|
20373
|
+
type: string;
|
20358
20374
|
message: string;
|
20359
20375
|
id: string;
|
20360
20376
|
url: string;
|
@@ -20569,7 +20585,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
20569
20585
|
requestId: string;
|
20570
20586
|
}, {
|
20571
20587
|
data: {
|
20572
|
-
type:
|
20588
|
+
type: string;
|
20573
20589
|
message: string;
|
20574
20590
|
id: string;
|
20575
20591
|
url: string;
|
@@ -21131,7 +21147,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
21131
21147
|
previewUrl: string;
|
21132
21148
|
imageSetId: string;
|
21133
21149
|
repliedMessage: {
|
21134
|
-
type:
|
21150
|
+
type: string;
|
21135
21151
|
message: string;
|
21136
21152
|
id: string;
|
21137
21153
|
url: string;
|
@@ -21342,7 +21358,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
21342
21358
|
template?: any;
|
21343
21359
|
metadata?: any;
|
21344
21360
|
fromMessage?: {
|
21345
|
-
type:
|
21361
|
+
type: string;
|
21346
21362
|
message: string;
|
21347
21363
|
id: string;
|
21348
21364
|
url: string;
|
@@ -21904,7 +21920,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
21904
21920
|
previewUrl: string;
|
21905
21921
|
imageSetId: string;
|
21906
21922
|
repliedMessage: {
|
21907
|
-
type:
|
21923
|
+
type: string;
|
21908
21924
|
message: string;
|
21909
21925
|
id: string;
|
21910
21926
|
url: string;
|
@@ -22515,8 +22531,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
22515
22531
|
updatedAt: z.ZodString;
|
22516
22532
|
deletedAt: z.ZodNullable<z.ZodString>;
|
22517
22533
|
message: z.ZodOptional<z.ZodString>;
|
22518
|
-
direction: z.
|
22519
|
-
type: z.
|
22534
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
22535
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
22520
22536
|
metadata: z.ZodAny;
|
22521
22537
|
platformId: z.ZodString;
|
22522
22538
|
platformMessageId: z.ZodString;
|
@@ -22538,7 +22554,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
22538
22554
|
firstResponseAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
22539
22555
|
firstResponseTime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
22540
22556
|
isLatest: z.ZodOptional<z.ZodBoolean>;
|
22541
|
-
direction: z.ZodOptional<z.
|
22557
|
+
direction: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>>;
|
22542
22558
|
platformContact: z.ZodOptional<z.ZodObject<{
|
22543
22559
|
id: z.ZodString;
|
22544
22560
|
createdAt: z.ZodString;
|
@@ -26056,7 +26072,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
26056
26072
|
}>>>;
|
26057
26073
|
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
26058
26074
|
}, "strip", z.ZodTypeAny, {
|
26059
|
-
type:
|
26075
|
+
type: string;
|
26060
26076
|
id: string;
|
26061
26077
|
direction: "incoming" | "outgoing" | "system";
|
26062
26078
|
createdAt: string;
|
@@ -26576,7 +26592,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
26576
26592
|
} | null | undefined;
|
26577
26593
|
label?: string | null | undefined;
|
26578
26594
|
}, {
|
26579
|
-
type:
|
26595
|
+
type: string;
|
26580
26596
|
id: string;
|
26581
26597
|
direction: "incoming" | "outgoing" | "system";
|
26582
26598
|
createdAt: string;
|
@@ -27098,7 +27114,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
27098
27114
|
}>;
|
27099
27115
|
}, "strip", z.ZodTypeAny, {
|
27100
27116
|
message: {
|
27101
|
-
type:
|
27117
|
+
type: string;
|
27102
27118
|
id: string;
|
27103
27119
|
direction: "incoming" | "outgoing" | "system";
|
27104
27120
|
createdAt: string;
|
@@ -27620,7 +27636,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
27620
27636
|
};
|
27621
27637
|
}, {
|
27622
27638
|
message: {
|
27623
|
-
type:
|
27639
|
+
type: string;
|
27624
27640
|
id: string;
|
27625
27641
|
direction: "incoming" | "outgoing" | "system";
|
27626
27642
|
createdAt: string;
|