@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
@@ -4948,8 +4948,8 @@ export declare const facebookFeedContract: {
|
|
4948
4948
|
message: z.ZodObject<{
|
4949
4949
|
id: z.ZodOptional<z.ZodString>;
|
4950
4950
|
message: z.ZodOptional<z.ZodString>;
|
4951
|
-
direction: z.
|
4952
|
-
type: z.
|
4951
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
4952
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
4953
4953
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
4954
4954
|
metadata: z.ZodOptional<z.ZodAny>;
|
4955
4955
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -5005,7 +5005,7 @@ export declare const facebookFeedContract: {
|
|
5005
5005
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
5006
5006
|
label: z.ZodOptional<z.ZodString>;
|
5007
5007
|
}, "strip", z.ZodTypeAny, {
|
5008
|
-
type:
|
5008
|
+
type: string;
|
5009
5009
|
direction: "incoming" | "outgoing" | "system";
|
5010
5010
|
id?: string | undefined;
|
5011
5011
|
message?: string | undefined;
|
@@ -5040,7 +5040,7 @@ export declare const facebookFeedContract: {
|
|
5040
5040
|
editedAt?: string | Date | null | undefined;
|
5041
5041
|
label?: string | undefined;
|
5042
5042
|
}, {
|
5043
|
-
type:
|
5043
|
+
type: string;
|
5044
5044
|
direction: "incoming" | "outgoing" | "system";
|
5045
5045
|
id?: string | undefined;
|
5046
5046
|
message?: string | undefined;
|
@@ -5080,7 +5080,7 @@ export declare const facebookFeedContract: {
|
|
5080
5080
|
lastMessage: z.ZodOptional<z.ZodString>;
|
5081
5081
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
5082
5082
|
isLatest: z.ZodBoolean;
|
5083
|
-
direction: z.
|
5083
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
5084
5084
|
metadata: z.ZodOptional<z.ZodAny>;
|
5085
5085
|
createdAt: z.ZodString;
|
5086
5086
|
updatedAt: z.ZodString;
|
@@ -5686,7 +5686,7 @@ export declare const facebookFeedContract: {
|
|
5686
5686
|
}>>;
|
5687
5687
|
}, "strip", z.ZodTypeAny, {
|
5688
5688
|
message: {
|
5689
|
-
type:
|
5689
|
+
type: string;
|
5690
5690
|
direction: "incoming" | "outgoing" | "system";
|
5691
5691
|
id?: string | undefined;
|
5692
5692
|
message?: string | undefined;
|
@@ -5826,7 +5826,7 @@ export declare const facebookFeedContract: {
|
|
5826
5826
|
} | undefined;
|
5827
5827
|
}, {
|
5828
5828
|
message: {
|
5829
|
-
type:
|
5829
|
+
type: string;
|
5830
5830
|
direction: "incoming" | "outgoing" | "system";
|
5831
5831
|
id?: string | undefined;
|
5832
5832
|
message?: string | undefined;
|
@@ -5970,11 +5970,11 @@ export declare const facebookFeedContract: {
|
|
5970
5970
|
200: z.ZodObject<{
|
5971
5971
|
requestId: z.ZodString;
|
5972
5972
|
data: z.ZodObject<{
|
5973
|
-
type: z.
|
5973
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
5974
5974
|
message: z.ZodString;
|
5975
5975
|
id: z.ZodString;
|
5976
5976
|
url: z.ZodString;
|
5977
|
-
direction: z.
|
5977
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
5978
5978
|
label: z.ZodOptional<z.ZodString>;
|
5979
5979
|
template: z.ZodAny;
|
5980
5980
|
metadata: z.ZodAny;
|
@@ -6439,7 +6439,7 @@ export declare const facebookFeedContract: {
|
|
6439
6439
|
firstResponseTime: z.ZodNumber;
|
6440
6440
|
isLatest: z.ZodBoolean;
|
6441
6441
|
isBotRoom: z.ZodBoolean;
|
6442
|
-
direction: z.
|
6442
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
6443
6443
|
platformContact: z.ZodObject<{
|
6444
6444
|
id: z.ZodString;
|
6445
6445
|
createdAt: z.ZodDate;
|
@@ -9952,8 +9952,8 @@ export declare const facebookFeedContract: {
|
|
9952
9952
|
updatedAt: z.ZodDate;
|
9953
9953
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9954
9954
|
message: z.ZodString;
|
9955
|
-
direction: z.
|
9956
|
-
type: z.
|
9955
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
9956
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
9957
9957
|
readAt: z.ZodDate;
|
9958
9958
|
metadata: z.ZodAny;
|
9959
9959
|
platformId: z.ZodString;
|
@@ -10611,7 +10611,7 @@ export declare const facebookFeedContract: {
|
|
10611
10611
|
};
|
10612
10612
|
}>;
|
10613
10613
|
}, "strip", z.ZodTypeAny, {
|
10614
|
-
type:
|
10614
|
+
type: string;
|
10615
10615
|
message: string;
|
10616
10616
|
id: string;
|
10617
10617
|
url: string;
|
@@ -10773,7 +10773,7 @@ export declare const facebookFeedContract: {
|
|
10773
10773
|
metadata?: any;
|
10774
10774
|
template?: any;
|
10775
10775
|
}, {
|
10776
|
-
type:
|
10776
|
+
type: string;
|
10777
10777
|
message: string;
|
10778
10778
|
id: string;
|
10779
10779
|
url: string;
|
@@ -11146,8 +11146,8 @@ export declare const facebookFeedContract: {
|
|
11146
11146
|
updatedAt: z.ZodDate;
|
11147
11147
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11148
11148
|
message: z.ZodString;
|
11149
|
-
direction: z.
|
11150
|
-
type: z.
|
11149
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
11150
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
11151
11151
|
readAt: z.ZodDate;
|
11152
11152
|
metadata: z.ZodAny;
|
11153
11153
|
platformId: z.ZodString;
|
@@ -11173,7 +11173,7 @@ export declare const facebookFeedContract: {
|
|
11173
11173
|
firstResponseTime: z.ZodNumber;
|
11174
11174
|
isLatest: z.ZodBoolean;
|
11175
11175
|
isBotRoom: z.ZodBoolean;
|
11176
|
-
direction: z.
|
11176
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
11177
11177
|
platformContact: z.ZodObject<{
|
11178
11178
|
id: z.ZodString;
|
11179
11179
|
createdAt: z.ZodDate;
|
@@ -14689,8 +14689,8 @@ export declare const facebookFeedContract: {
|
|
14689
14689
|
updatedAt: z.ZodDate;
|
14690
14690
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
14691
14691
|
message: z.ZodString;
|
14692
|
-
direction: z.
|
14693
|
-
type: z.
|
14692
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
14693
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
14694
14694
|
readAt: z.ZodDate;
|
14695
14695
|
metadata: z.ZodAny;
|
14696
14696
|
platformId: z.ZodString;
|
@@ -15348,7 +15348,7 @@ export declare const facebookFeedContract: {
|
|
15348
15348
|
};
|
15349
15349
|
}>;
|
15350
15350
|
}, "strip", z.ZodTypeAny, {
|
15351
|
-
type:
|
15351
|
+
type: string;
|
15352
15352
|
message: string;
|
15353
15353
|
id: string;
|
15354
15354
|
url: string;
|
@@ -15510,7 +15510,7 @@ export declare const facebookFeedContract: {
|
|
15510
15510
|
metadata?: any;
|
15511
15511
|
template?: any;
|
15512
15512
|
}, {
|
15513
|
-
type:
|
15513
|
+
type: string;
|
15514
15514
|
message: string;
|
15515
15515
|
id: string;
|
15516
15516
|
url: string;
|
@@ -16312,7 +16312,7 @@ export declare const facebookFeedContract: {
|
|
16312
16312
|
editedMessageid: z.ZodString;
|
16313
16313
|
label: z.ZodOptional<z.ZodString>;
|
16314
16314
|
}, "strip", z.ZodTypeAny, {
|
16315
|
-
type:
|
16315
|
+
type: string;
|
16316
16316
|
message: string;
|
16317
16317
|
id: string;
|
16318
16318
|
url: string;
|
@@ -16874,7 +16874,7 @@ export declare const facebookFeedContract: {
|
|
16874
16874
|
previewUrl: string;
|
16875
16875
|
imageSetId: string;
|
16876
16876
|
repliedMessage: {
|
16877
|
-
type:
|
16877
|
+
type: string;
|
16878
16878
|
message: string;
|
16879
16879
|
id: string;
|
16880
16880
|
url: string;
|
@@ -17085,7 +17085,7 @@ export declare const facebookFeedContract: {
|
|
17085
17085
|
template?: any;
|
17086
17086
|
label?: string | undefined;
|
17087
17087
|
}, {
|
17088
|
-
type:
|
17088
|
+
type: string;
|
17089
17089
|
message: string;
|
17090
17090
|
id: string;
|
17091
17091
|
url: string;
|
@@ -17647,7 +17647,7 @@ export declare const facebookFeedContract: {
|
|
17647
17647
|
previewUrl: string;
|
17648
17648
|
imageSetId: string;
|
17649
17649
|
repliedMessage: {
|
17650
|
-
type:
|
17650
|
+
type: string;
|
17651
17651
|
message: string;
|
17652
17652
|
id: string;
|
17653
17653
|
url: string;
|
@@ -17859,7 +17859,7 @@ export declare const facebookFeedContract: {
|
|
17859
17859
|
label?: string | undefined;
|
17860
17860
|
}>>>;
|
17861
17861
|
}, "strip", z.ZodTypeAny, {
|
17862
|
-
type:
|
17862
|
+
type: string;
|
17863
17863
|
message: string;
|
17864
17864
|
id: string;
|
17865
17865
|
url: string;
|
@@ -18421,7 +18421,7 @@ export declare const facebookFeedContract: {
|
|
18421
18421
|
previewUrl: string;
|
18422
18422
|
imageSetId: string;
|
18423
18423
|
repliedMessage: {
|
18424
|
-
type:
|
18424
|
+
type: string;
|
18425
18425
|
message: string;
|
18426
18426
|
id: string;
|
18427
18427
|
url: string;
|
@@ -18632,7 +18632,7 @@ export declare const facebookFeedContract: {
|
|
18632
18632
|
template?: any;
|
18633
18633
|
metadata?: any;
|
18634
18634
|
fromMessage?: {
|
18635
|
-
type:
|
18635
|
+
type: string;
|
18636
18636
|
message: string;
|
18637
18637
|
id: string;
|
18638
18638
|
url: string;
|
@@ -19194,7 +19194,7 @@ export declare const facebookFeedContract: {
|
|
19194
19194
|
previewUrl: string;
|
19195
19195
|
imageSetId: string;
|
19196
19196
|
repliedMessage: {
|
19197
|
-
type:
|
19197
|
+
type: string;
|
19198
19198
|
message: string;
|
19199
19199
|
id: string;
|
19200
19200
|
url: string;
|
@@ -19406,7 +19406,7 @@ export declare const facebookFeedContract: {
|
|
19406
19406
|
label?: string | undefined;
|
19407
19407
|
} | null | undefined;
|
19408
19408
|
}, {
|
19409
|
-
type:
|
19409
|
+
type: string;
|
19410
19410
|
message: string;
|
19411
19411
|
id: string;
|
19412
19412
|
url: string;
|
@@ -19968,7 +19968,7 @@ export declare const facebookFeedContract: {
|
|
19968
19968
|
previewUrl: string;
|
19969
19969
|
imageSetId: string;
|
19970
19970
|
repliedMessage: {
|
19971
|
-
type:
|
19971
|
+
type: string;
|
19972
19972
|
message: string;
|
19973
19973
|
id: string;
|
19974
19974
|
url: string;
|
@@ -20179,7 +20179,7 @@ export declare const facebookFeedContract: {
|
|
20179
20179
|
template?: any;
|
20180
20180
|
metadata?: any;
|
20181
20181
|
fromMessage?: {
|
20182
|
-
type:
|
20182
|
+
type: string;
|
20183
20183
|
message: string;
|
20184
20184
|
id: string;
|
20185
20185
|
url: string;
|
@@ -20741,7 +20741,7 @@ export declare const facebookFeedContract: {
|
|
20741
20741
|
previewUrl: string;
|
20742
20742
|
imageSetId: string;
|
20743
20743
|
repliedMessage: {
|
20744
|
-
type:
|
20744
|
+
type: string;
|
20745
20745
|
message: string;
|
20746
20746
|
id: string;
|
20747
20747
|
url: string;
|
@@ -20955,7 +20955,7 @@ export declare const facebookFeedContract: {
|
|
20955
20955
|
}>;
|
20956
20956
|
}, "strip", z.ZodTypeAny, {
|
20957
20957
|
data: {
|
20958
|
-
type:
|
20958
|
+
type: string;
|
20959
20959
|
message: string;
|
20960
20960
|
id: string;
|
20961
20961
|
url: string;
|
@@ -21517,7 +21517,7 @@ export declare const facebookFeedContract: {
|
|
21517
21517
|
previewUrl: string;
|
21518
21518
|
imageSetId: string;
|
21519
21519
|
repliedMessage: {
|
21520
|
-
type:
|
21520
|
+
type: string;
|
21521
21521
|
message: string;
|
21522
21522
|
id: string;
|
21523
21523
|
url: string;
|
@@ -21728,7 +21728,7 @@ export declare const facebookFeedContract: {
|
|
21728
21728
|
template?: any;
|
21729
21729
|
metadata?: any;
|
21730
21730
|
fromMessage?: {
|
21731
|
-
type:
|
21731
|
+
type: string;
|
21732
21732
|
message: string;
|
21733
21733
|
id: string;
|
21734
21734
|
url: string;
|
@@ -22290,7 +22290,7 @@ export declare const facebookFeedContract: {
|
|
22290
22290
|
previewUrl: string;
|
22291
22291
|
imageSetId: string;
|
22292
22292
|
repliedMessage: {
|
22293
|
-
type:
|
22293
|
+
type: string;
|
22294
22294
|
message: string;
|
22295
22295
|
id: string;
|
22296
22296
|
url: string;
|
@@ -22505,7 +22505,7 @@ export declare const facebookFeedContract: {
|
|
22505
22505
|
requestId: string;
|
22506
22506
|
}, {
|
22507
22507
|
data: {
|
22508
|
-
type:
|
22508
|
+
type: string;
|
22509
22509
|
message: string;
|
22510
22510
|
id: string;
|
22511
22511
|
url: string;
|
@@ -23067,7 +23067,7 @@ export declare const facebookFeedContract: {
|
|
23067
23067
|
previewUrl: string;
|
23068
23068
|
imageSetId: string;
|
23069
23069
|
repliedMessage: {
|
23070
|
-
type:
|
23070
|
+
type: string;
|
23071
23071
|
message: string;
|
23072
23072
|
id: string;
|
23073
23073
|
url: string;
|
@@ -23278,7 +23278,7 @@ export declare const facebookFeedContract: {
|
|
23278
23278
|
template?: any;
|
23279
23279
|
metadata?: any;
|
23280
23280
|
fromMessage?: {
|
23281
|
-
type:
|
23281
|
+
type: string;
|
23282
23282
|
message: string;
|
23283
23283
|
id: string;
|
23284
23284
|
url: string;
|
@@ -23840,7 +23840,7 @@ export declare const facebookFeedContract: {
|
|
23840
23840
|
previewUrl: string;
|
23841
23841
|
imageSetId: string;
|
23842
23842
|
repliedMessage: {
|
23843
|
-
type:
|
23843
|
+
type: string;
|
23844
23844
|
message: string;
|
23845
23845
|
id: string;
|
23846
23846
|
url: string;
|
@@ -24472,8 +24472,8 @@ export declare const facebookFeedContract: {
|
|
24472
24472
|
message: z.ZodObject<{
|
24473
24473
|
id: z.ZodOptional<z.ZodString>;
|
24474
24474
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
24475
|
-
direction: z.
|
24476
|
-
type: z.
|
24475
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
24476
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
24477
24477
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
24478
24478
|
metadata: z.ZodOptional<z.ZodAny>;
|
24479
24479
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -24525,7 +24525,7 @@ export declare const facebookFeedContract: {
|
|
24525
24525
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
24526
24526
|
feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
24527
24527
|
}, "strip", z.ZodTypeAny, {
|
24528
|
-
type:
|
24528
|
+
type: string;
|
24529
24529
|
direction: "incoming" | "outgoing" | "system";
|
24530
24530
|
id?: string | undefined;
|
24531
24531
|
message?: string | null | undefined;
|
@@ -24556,7 +24556,7 @@ export declare const facebookFeedContract: {
|
|
24556
24556
|
parentMessageId?: string | null | undefined;
|
24557
24557
|
feedPostId?: string | null | undefined;
|
24558
24558
|
}, {
|
24559
|
-
type:
|
24559
|
+
type: string;
|
24560
24560
|
direction: "incoming" | "outgoing" | "system";
|
24561
24561
|
id?: string | undefined;
|
24562
24562
|
message?: string | null | undefined;
|
@@ -24589,7 +24589,7 @@ export declare const facebookFeedContract: {
|
|
24589
24589
|
}>;
|
24590
24590
|
}, "strip", z.ZodTypeAny, {
|
24591
24591
|
message: {
|
24592
|
-
type:
|
24592
|
+
type: string;
|
24593
24593
|
direction: "incoming" | "outgoing" | "system";
|
24594
24594
|
id?: string | undefined;
|
24595
24595
|
message?: string | null | undefined;
|
@@ -24678,7 +24678,7 @@ export declare const facebookFeedContract: {
|
|
24678
24678
|
};
|
24679
24679
|
}, {
|
24680
24680
|
message: {
|
24681
|
-
type:
|
24681
|
+
type: string;
|
24682
24682
|
direction: "incoming" | "outgoing" | "system";
|
24683
24683
|
id?: string | undefined;
|
24684
24684
|
message?: string | null | undefined;
|
@@ -25162,8 +25162,8 @@ export declare const facebookFeedContract: {
|
|
25162
25162
|
message: z.ZodObject<{
|
25163
25163
|
id: z.ZodOptional<z.ZodString>;
|
25164
25164
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
25165
|
-
direction: z.
|
25166
|
-
type: z.
|
25165
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
25166
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
25167
25167
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
25168
25168
|
metadata: z.ZodOptional<z.ZodAny>;
|
25169
25169
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -25215,7 +25215,7 @@ export declare const facebookFeedContract: {
|
|
25215
25215
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
25216
25216
|
feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
25217
25217
|
}, "strip", z.ZodTypeAny, {
|
25218
|
-
type:
|
25218
|
+
type: string;
|
25219
25219
|
direction: "incoming" | "outgoing" | "system";
|
25220
25220
|
id?: string | undefined;
|
25221
25221
|
message?: string | null | undefined;
|
@@ -25246,7 +25246,7 @@ export declare const facebookFeedContract: {
|
|
25246
25246
|
parentMessageId?: string | null | undefined;
|
25247
25247
|
feedPostId?: string | null | undefined;
|
25248
25248
|
}, {
|
25249
|
-
type:
|
25249
|
+
type: string;
|
25250
25250
|
direction: "incoming" | "outgoing" | "system";
|
25251
25251
|
id?: string | undefined;
|
25252
25252
|
message?: string | null | undefined;
|
@@ -25279,7 +25279,7 @@ export declare const facebookFeedContract: {
|
|
25279
25279
|
}>;
|
25280
25280
|
}, "strip", z.ZodTypeAny, {
|
25281
25281
|
message: {
|
25282
|
-
type:
|
25282
|
+
type: string;
|
25283
25283
|
direction: "incoming" | "outgoing" | "system";
|
25284
25284
|
id?: string | undefined;
|
25285
25285
|
message?: string | null | undefined;
|
@@ -25368,7 +25368,7 @@ export declare const facebookFeedContract: {
|
|
25368
25368
|
};
|
25369
25369
|
}, {
|
25370
25370
|
message: {
|
25371
|
-
type:
|
25371
|
+
type: string;
|
25372
25372
|
direction: "incoming" | "outgoing" | "system";
|
25373
25373
|
id?: string | undefined;
|
25374
25374
|
message?: string | null | undefined;
|
@@ -5,7 +5,7 @@ export declare const FeedPostSchema: z.ZodObject<{
|
|
5
5
|
updatedAt: z.ZodDate;
|
6
6
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7
7
|
message: z.ZodNullable<z.ZodString>;
|
8
|
-
type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.
|
8
|
+
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>[]]>]>;
|
9
9
|
metadata: z.ZodAny;
|
10
10
|
platformId: z.ZodString;
|
11
11
|
platformMessageId: z.ZodString;
|
@@ -1844,7 +1844,7 @@ export declare const FeedPostSchema: z.ZodObject<{
|
|
1844
1844
|
}>;
|
1845
1845
|
permalinkURL: z.ZodString;
|
1846
1846
|
}, "strip", z.ZodTypeAny, {
|
1847
|
-
type:
|
1847
|
+
type: string;
|
1848
1848
|
message: string | null;
|
1849
1849
|
id: string;
|
1850
1850
|
channel: {
|
@@ -2130,7 +2130,7 @@ export declare const FeedPostSchema: z.ZodObject<{
|
|
2130
2130
|
metadata?: any;
|
2131
2131
|
template?: any;
|
2132
2132
|
}, {
|
2133
|
-
type:
|
2133
|
+
type: string;
|
2134
2134
|
message: string | null;
|
2135
2135
|
id: string;
|
2136
2136
|
channel: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,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