@kl1/contracts 1.3.43 → 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/contract.d.ts +5892 -4653
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +12 -1
- 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 +1612 -1604
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1611 -1603
- 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;
|
@@ -5683,7 +5683,7 @@ export declare const facebookFeedContract: {
|
|
5683
5683
|
}>>;
|
5684
5684
|
}, "strip", z.ZodTypeAny, {
|
5685
5685
|
message: {
|
5686
|
-
type:
|
5686
|
+
type: string;
|
5687
5687
|
direction: "incoming" | "outgoing" | "system";
|
5688
5688
|
id?: string | undefined;
|
5689
5689
|
message?: string | undefined;
|
@@ -5822,7 +5822,7 @@ export declare const facebookFeedContract: {
|
|
5822
5822
|
} | undefined;
|
5823
5823
|
}, {
|
5824
5824
|
message: {
|
5825
|
-
type:
|
5825
|
+
type: string;
|
5826
5826
|
direction: "incoming" | "outgoing" | "system";
|
5827
5827
|
id?: string | undefined;
|
5828
5828
|
message?: string | undefined;
|
@@ -5965,11 +5965,11 @@ export declare const facebookFeedContract: {
|
|
5965
5965
|
200: z.ZodObject<{
|
5966
5966
|
requestId: z.ZodString;
|
5967
5967
|
data: z.ZodObject<{
|
5968
|
-
type: z.
|
5968
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
5969
5969
|
message: z.ZodString;
|
5970
5970
|
id: z.ZodString;
|
5971
5971
|
url: z.ZodString;
|
5972
|
-
direction: z.
|
5972
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
5973
5973
|
label: z.ZodOptional<z.ZodString>;
|
5974
5974
|
template: z.ZodAny;
|
5975
5975
|
metadata: z.ZodAny;
|
@@ -6434,7 +6434,7 @@ export declare const facebookFeedContract: {
|
|
6434
6434
|
firstResponseTime: z.ZodNumber;
|
6435
6435
|
isLatest: z.ZodBoolean;
|
6436
6436
|
isBotRoom: z.ZodBoolean;
|
6437
|
-
direction: z.
|
6437
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
6438
6438
|
platformContact: z.ZodObject<{
|
6439
6439
|
id: z.ZodString;
|
6440
6440
|
createdAt: z.ZodDate;
|
@@ -9947,8 +9947,8 @@ export declare const facebookFeedContract: {
|
|
9947
9947
|
updatedAt: z.ZodDate;
|
9948
9948
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9949
9949
|
message: z.ZodString;
|
9950
|
-
direction: z.
|
9951
|
-
type: z.
|
9950
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
9951
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
9952
9952
|
readAt: z.ZodDate;
|
9953
9953
|
metadata: z.ZodAny;
|
9954
9954
|
platformId: z.ZodString;
|
@@ -10606,7 +10606,7 @@ export declare const facebookFeedContract: {
|
|
10606
10606
|
};
|
10607
10607
|
}>;
|
10608
10608
|
}, "strip", z.ZodTypeAny, {
|
10609
|
-
type:
|
10609
|
+
type: string;
|
10610
10610
|
message: string;
|
10611
10611
|
id: string;
|
10612
10612
|
url: string;
|
@@ -10768,7 +10768,7 @@ export declare const facebookFeedContract: {
|
|
10768
10768
|
metadata?: any;
|
10769
10769
|
template?: any;
|
10770
10770
|
}, {
|
10771
|
-
type:
|
10771
|
+
type: string;
|
10772
10772
|
message: string;
|
10773
10773
|
id: string;
|
10774
10774
|
url: string;
|
@@ -11141,8 +11141,8 @@ export declare const facebookFeedContract: {
|
|
11141
11141
|
updatedAt: z.ZodDate;
|
11142
11142
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11143
11143
|
message: z.ZodString;
|
11144
|
-
direction: z.
|
11145
|
-
type: z.
|
11144
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
11145
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
11146
11146
|
readAt: z.ZodDate;
|
11147
11147
|
metadata: z.ZodAny;
|
11148
11148
|
platformId: z.ZodString;
|
@@ -11168,7 +11168,7 @@ export declare const facebookFeedContract: {
|
|
11168
11168
|
firstResponseTime: z.ZodNumber;
|
11169
11169
|
isLatest: z.ZodBoolean;
|
11170
11170
|
isBotRoom: z.ZodBoolean;
|
11171
|
-
direction: z.
|
11171
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
11172
11172
|
platformContact: z.ZodObject<{
|
11173
11173
|
id: z.ZodString;
|
11174
11174
|
createdAt: z.ZodDate;
|
@@ -14684,8 +14684,8 @@ export declare const facebookFeedContract: {
|
|
14684
14684
|
updatedAt: z.ZodDate;
|
14685
14685
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
14686
14686
|
message: z.ZodString;
|
14687
|
-
direction: z.
|
14688
|
-
type: z.
|
14687
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
14688
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
14689
14689
|
readAt: z.ZodDate;
|
14690
14690
|
metadata: z.ZodAny;
|
14691
14691
|
platformId: z.ZodString;
|
@@ -15343,7 +15343,7 @@ export declare const facebookFeedContract: {
|
|
15343
15343
|
};
|
15344
15344
|
}>;
|
15345
15345
|
}, "strip", z.ZodTypeAny, {
|
15346
|
-
type:
|
15346
|
+
type: string;
|
15347
15347
|
message: string;
|
15348
15348
|
id: string;
|
15349
15349
|
url: string;
|
@@ -15505,7 +15505,7 @@ export declare const facebookFeedContract: {
|
|
15505
15505
|
metadata?: any;
|
15506
15506
|
template?: any;
|
15507
15507
|
}, {
|
15508
|
-
type:
|
15508
|
+
type: string;
|
15509
15509
|
message: string;
|
15510
15510
|
id: string;
|
15511
15511
|
url: string;
|
@@ -16307,7 +16307,7 @@ export declare const facebookFeedContract: {
|
|
16307
16307
|
editedMessageid: z.ZodString;
|
16308
16308
|
label: z.ZodOptional<z.ZodString>;
|
16309
16309
|
}, "strip", z.ZodTypeAny, {
|
16310
|
-
type:
|
16310
|
+
type: string;
|
16311
16311
|
message: string;
|
16312
16312
|
id: string;
|
16313
16313
|
url: string;
|
@@ -16869,7 +16869,7 @@ export declare const facebookFeedContract: {
|
|
16869
16869
|
previewUrl: string;
|
16870
16870
|
imageSetId: string;
|
16871
16871
|
repliedMessage: {
|
16872
|
-
type:
|
16872
|
+
type: string;
|
16873
16873
|
message: string;
|
16874
16874
|
id: string;
|
16875
16875
|
url: string;
|
@@ -17080,7 +17080,7 @@ export declare const facebookFeedContract: {
|
|
17080
17080
|
template?: any;
|
17081
17081
|
label?: string | undefined;
|
17082
17082
|
}, {
|
17083
|
-
type:
|
17083
|
+
type: string;
|
17084
17084
|
message: string;
|
17085
17085
|
id: string;
|
17086
17086
|
url: string;
|
@@ -17642,7 +17642,7 @@ export declare const facebookFeedContract: {
|
|
17642
17642
|
previewUrl: string;
|
17643
17643
|
imageSetId: string;
|
17644
17644
|
repliedMessage: {
|
17645
|
-
type:
|
17645
|
+
type: string;
|
17646
17646
|
message: string;
|
17647
17647
|
id: string;
|
17648
17648
|
url: string;
|
@@ -17854,7 +17854,7 @@ export declare const facebookFeedContract: {
|
|
17854
17854
|
label?: string | undefined;
|
17855
17855
|
}>>>;
|
17856
17856
|
}, "strip", z.ZodTypeAny, {
|
17857
|
-
type:
|
17857
|
+
type: string;
|
17858
17858
|
message: string;
|
17859
17859
|
id: string;
|
17860
17860
|
url: string;
|
@@ -18416,7 +18416,7 @@ export declare const facebookFeedContract: {
|
|
18416
18416
|
previewUrl: string;
|
18417
18417
|
imageSetId: string;
|
18418
18418
|
repliedMessage: {
|
18419
|
-
type:
|
18419
|
+
type: string;
|
18420
18420
|
message: string;
|
18421
18421
|
id: string;
|
18422
18422
|
url: string;
|
@@ -18627,7 +18627,7 @@ export declare const facebookFeedContract: {
|
|
18627
18627
|
template?: any;
|
18628
18628
|
metadata?: any;
|
18629
18629
|
fromMessage?: {
|
18630
|
-
type:
|
18630
|
+
type: string;
|
18631
18631
|
message: string;
|
18632
18632
|
id: string;
|
18633
18633
|
url: string;
|
@@ -19189,7 +19189,7 @@ export declare const facebookFeedContract: {
|
|
19189
19189
|
previewUrl: string;
|
19190
19190
|
imageSetId: string;
|
19191
19191
|
repliedMessage: {
|
19192
|
-
type:
|
19192
|
+
type: string;
|
19193
19193
|
message: string;
|
19194
19194
|
id: string;
|
19195
19195
|
url: string;
|
@@ -19401,7 +19401,7 @@ export declare const facebookFeedContract: {
|
|
19401
19401
|
label?: string | undefined;
|
19402
19402
|
} | null | undefined;
|
19403
19403
|
}, {
|
19404
|
-
type:
|
19404
|
+
type: string;
|
19405
19405
|
message: string;
|
19406
19406
|
id: string;
|
19407
19407
|
url: string;
|
@@ -19963,7 +19963,7 @@ export declare const facebookFeedContract: {
|
|
19963
19963
|
previewUrl: string;
|
19964
19964
|
imageSetId: string;
|
19965
19965
|
repliedMessage: {
|
19966
|
-
type:
|
19966
|
+
type: string;
|
19967
19967
|
message: string;
|
19968
19968
|
id: string;
|
19969
19969
|
url: string;
|
@@ -20174,7 +20174,7 @@ export declare const facebookFeedContract: {
|
|
20174
20174
|
template?: any;
|
20175
20175
|
metadata?: any;
|
20176
20176
|
fromMessage?: {
|
20177
|
-
type:
|
20177
|
+
type: string;
|
20178
20178
|
message: string;
|
20179
20179
|
id: string;
|
20180
20180
|
url: string;
|
@@ -20736,7 +20736,7 @@ export declare const facebookFeedContract: {
|
|
20736
20736
|
previewUrl: string;
|
20737
20737
|
imageSetId: string;
|
20738
20738
|
repliedMessage: {
|
20739
|
-
type:
|
20739
|
+
type: string;
|
20740
20740
|
message: string;
|
20741
20741
|
id: string;
|
20742
20742
|
url: string;
|
@@ -20950,7 +20950,7 @@ export declare const facebookFeedContract: {
|
|
20950
20950
|
}>;
|
20951
20951
|
}, "strip", z.ZodTypeAny, {
|
20952
20952
|
data: {
|
20953
|
-
type:
|
20953
|
+
type: string;
|
20954
20954
|
message: string;
|
20955
20955
|
id: string;
|
20956
20956
|
url: string;
|
@@ -21512,7 +21512,7 @@ export declare const facebookFeedContract: {
|
|
21512
21512
|
previewUrl: string;
|
21513
21513
|
imageSetId: string;
|
21514
21514
|
repliedMessage: {
|
21515
|
-
type:
|
21515
|
+
type: string;
|
21516
21516
|
message: string;
|
21517
21517
|
id: string;
|
21518
21518
|
url: string;
|
@@ -21723,7 +21723,7 @@ export declare const facebookFeedContract: {
|
|
21723
21723
|
template?: any;
|
21724
21724
|
metadata?: any;
|
21725
21725
|
fromMessage?: {
|
21726
|
-
type:
|
21726
|
+
type: string;
|
21727
21727
|
message: string;
|
21728
21728
|
id: string;
|
21729
21729
|
url: string;
|
@@ -22285,7 +22285,7 @@ export declare const facebookFeedContract: {
|
|
22285
22285
|
previewUrl: string;
|
22286
22286
|
imageSetId: string;
|
22287
22287
|
repliedMessage: {
|
22288
|
-
type:
|
22288
|
+
type: string;
|
22289
22289
|
message: string;
|
22290
22290
|
id: string;
|
22291
22291
|
url: string;
|
@@ -22500,7 +22500,7 @@ export declare const facebookFeedContract: {
|
|
22500
22500
|
requestId: string;
|
22501
22501
|
}, {
|
22502
22502
|
data: {
|
22503
|
-
type:
|
22503
|
+
type: string;
|
22504
22504
|
message: string;
|
22505
22505
|
id: string;
|
22506
22506
|
url: string;
|
@@ -23062,7 +23062,7 @@ export declare const facebookFeedContract: {
|
|
23062
23062
|
previewUrl: string;
|
23063
23063
|
imageSetId: string;
|
23064
23064
|
repliedMessage: {
|
23065
|
-
type:
|
23065
|
+
type: string;
|
23066
23066
|
message: string;
|
23067
23067
|
id: string;
|
23068
23068
|
url: string;
|
@@ -23273,7 +23273,7 @@ export declare const facebookFeedContract: {
|
|
23273
23273
|
template?: any;
|
23274
23274
|
metadata?: any;
|
23275
23275
|
fromMessage?: {
|
23276
|
-
type:
|
23276
|
+
type: string;
|
23277
23277
|
message: string;
|
23278
23278
|
id: string;
|
23279
23279
|
url: string;
|
@@ -23835,7 +23835,7 @@ export declare const facebookFeedContract: {
|
|
23835
23835
|
previewUrl: string;
|
23836
23836
|
imageSetId: string;
|
23837
23837
|
repliedMessage: {
|
23838
|
-
type:
|
23838
|
+
type: string;
|
23839
23839
|
message: string;
|
23840
23840
|
id: string;
|
23841
23841
|
url: string;
|
@@ -24467,8 +24467,8 @@ export declare const facebookFeedContract: {
|
|
24467
24467
|
message: z.ZodObject<{
|
24468
24468
|
id: z.ZodOptional<z.ZodString>;
|
24469
24469
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
24470
|
-
direction: z.
|
24471
|
-
type: z.
|
24470
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
24471
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
24472
24472
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
24473
24473
|
metadata: z.ZodOptional<z.ZodAny>;
|
24474
24474
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -24520,7 +24520,7 @@ export declare const facebookFeedContract: {
|
|
24520
24520
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
24521
24521
|
feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
24522
24522
|
}, "strip", z.ZodTypeAny, {
|
24523
|
-
type:
|
24523
|
+
type: string;
|
24524
24524
|
direction: "incoming" | "outgoing" | "system";
|
24525
24525
|
id?: string | undefined;
|
24526
24526
|
message?: string | null | undefined;
|
@@ -24551,7 +24551,7 @@ export declare const facebookFeedContract: {
|
|
24551
24551
|
parentMessageId?: string | null | undefined;
|
24552
24552
|
feedPostId?: string | null | undefined;
|
24553
24553
|
}, {
|
24554
|
-
type:
|
24554
|
+
type: string;
|
24555
24555
|
direction: "incoming" | "outgoing" | "system";
|
24556
24556
|
id?: string | undefined;
|
24557
24557
|
message?: string | null | undefined;
|
@@ -24584,7 +24584,7 @@ export declare const facebookFeedContract: {
|
|
24584
24584
|
}>;
|
24585
24585
|
}, "strip", z.ZodTypeAny, {
|
24586
24586
|
message: {
|
24587
|
-
type:
|
24587
|
+
type: string;
|
24588
24588
|
direction: "incoming" | "outgoing" | "system";
|
24589
24589
|
id?: string | undefined;
|
24590
24590
|
message?: string | null | undefined;
|
@@ -24673,7 +24673,7 @@ export declare const facebookFeedContract: {
|
|
24673
24673
|
};
|
24674
24674
|
}, {
|
24675
24675
|
message: {
|
24676
|
-
type:
|
24676
|
+
type: string;
|
24677
24677
|
direction: "incoming" | "outgoing" | "system";
|
24678
24678
|
id?: string | undefined;
|
24679
24679
|
message?: string | null | undefined;
|
@@ -25157,8 +25157,8 @@ export declare const facebookFeedContract: {
|
|
25157
25157
|
message: z.ZodObject<{
|
25158
25158
|
id: z.ZodOptional<z.ZodString>;
|
25159
25159
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
25160
|
-
direction: z.
|
25161
|
-
type: z.
|
25160
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
25161
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
25162
25162
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
25163
25163
|
metadata: z.ZodOptional<z.ZodAny>;
|
25164
25164
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -25210,7 +25210,7 @@ export declare const facebookFeedContract: {
|
|
25210
25210
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
25211
25211
|
feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
25212
25212
|
}, "strip", z.ZodTypeAny, {
|
25213
|
-
type:
|
25213
|
+
type: string;
|
25214
25214
|
direction: "incoming" | "outgoing" | "system";
|
25215
25215
|
id?: string | undefined;
|
25216
25216
|
message?: string | null | undefined;
|
@@ -25241,7 +25241,7 @@ export declare const facebookFeedContract: {
|
|
25241
25241
|
parentMessageId?: string | null | undefined;
|
25242
25242
|
feedPostId?: string | null | undefined;
|
25243
25243
|
}, {
|
25244
|
-
type:
|
25244
|
+
type: string;
|
25245
25245
|
direction: "incoming" | "outgoing" | "system";
|
25246
25246
|
id?: string | undefined;
|
25247
25247
|
message?: string | null | undefined;
|
@@ -25274,7 +25274,7 @@ export declare const facebookFeedContract: {
|
|
25274
25274
|
}>;
|
25275
25275
|
}, "strip", z.ZodTypeAny, {
|
25276
25276
|
message: {
|
25277
|
-
type:
|
25277
|
+
type: string;
|
25278
25278
|
direction: "incoming" | "outgoing" | "system";
|
25279
25279
|
id?: string | undefined;
|
25280
25280
|
message?: string | null | undefined;
|
@@ -25363,7 +25363,7 @@ export declare const facebookFeedContract: {
|
|
25363
25363
|
};
|
25364
25364
|
}, {
|
25365
25365
|
message: {
|
25366
|
-
type:
|
25366
|
+
type: string;
|
25367
25367
|
direction: "incoming" | "outgoing" | "system";
|
25368
25368
|
id?: string | undefined;
|
25369
25369
|
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,kB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