@kl1/contracts 1.3.43 → 1.3.44
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -11,7 +11,7 @@ export declare const instagramContract: {
|
|
11
11
|
lastMessage: z.ZodOptional<z.ZodString>;
|
12
12
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
13
13
|
isLatest: z.ZodBoolean;
|
14
|
-
direction: z.
|
14
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
15
15
|
metadata: z.ZodOptional<z.ZodAny>;
|
16
16
|
createdAt: z.ZodString;
|
17
17
|
updatedAt: z.ZodString;
|
@@ -604,8 +604,8 @@ export declare const instagramContract: {
|
|
604
604
|
message: z.ZodObject<{
|
605
605
|
id: z.ZodOptional<z.ZodString>;
|
606
606
|
message: z.ZodOptional<z.ZodString>;
|
607
|
-
direction: z.
|
608
|
-
type: z.
|
607
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
608
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
609
609
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
610
610
|
metadata: z.ZodOptional<z.ZodAny>;
|
611
611
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -661,7 +661,7 @@ export declare const instagramContract: {
|
|
661
661
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
662
662
|
label: z.ZodOptional<z.ZodString>;
|
663
663
|
}, "strip", z.ZodTypeAny, {
|
664
|
-
type:
|
664
|
+
type: string;
|
665
665
|
direction: "incoming" | "outgoing" | "system";
|
666
666
|
id?: string | undefined;
|
667
667
|
message?: string | undefined;
|
@@ -696,7 +696,7 @@ export declare const instagramContract: {
|
|
696
696
|
editedAt?: string | Date | null | undefined;
|
697
697
|
label?: string | undefined;
|
698
698
|
}, {
|
699
|
-
type:
|
699
|
+
type: string;
|
700
700
|
direction: "incoming" | "outgoing" | "system";
|
701
701
|
id?: string | undefined;
|
702
702
|
message?: string | undefined;
|
@@ -733,7 +733,7 @@ export declare const instagramContract: {
|
|
733
733
|
}>;
|
734
734
|
}, "strip", z.ZodTypeAny, {
|
735
735
|
message: {
|
736
|
-
type:
|
736
|
+
type: string;
|
737
737
|
direction: "incoming" | "outgoing" | "system";
|
738
738
|
id?: string | undefined;
|
739
739
|
message?: string | undefined;
|
@@ -868,7 +868,7 @@ export declare const instagramContract: {
|
|
868
868
|
isBot: boolean | null;
|
869
869
|
}, {
|
870
870
|
message: {
|
871
|
-
type:
|
871
|
+
type: string;
|
872
872
|
direction: "incoming" | "outgoing" | "system";
|
873
873
|
id?: string | undefined;
|
874
874
|
message?: string | undefined;
|
@@ -1007,11 +1007,11 @@ export declare const instagramContract: {
|
|
1007
1007
|
200: z.ZodObject<{
|
1008
1008
|
requestId: z.ZodString;
|
1009
1009
|
data: z.ZodObject<{
|
1010
|
-
type: z.
|
1010
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
1011
1011
|
message: z.ZodString;
|
1012
1012
|
id: z.ZodString;
|
1013
1013
|
url: z.ZodString;
|
1014
|
-
direction: z.
|
1014
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
1015
1015
|
label: z.ZodOptional<z.ZodString>;
|
1016
1016
|
template: z.ZodAny;
|
1017
1017
|
metadata: z.ZodAny;
|
@@ -1476,7 +1476,7 @@ export declare const instagramContract: {
|
|
1476
1476
|
firstResponseTime: z.ZodNumber;
|
1477
1477
|
isLatest: z.ZodBoolean;
|
1478
1478
|
isBotRoom: z.ZodBoolean;
|
1479
|
-
direction: z.
|
1479
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
1480
1480
|
platformContact: z.ZodObject<{
|
1481
1481
|
id: z.ZodString;
|
1482
1482
|
createdAt: z.ZodDate;
|
@@ -4989,8 +4989,8 @@ export declare const instagramContract: {
|
|
4989
4989
|
updatedAt: z.ZodDate;
|
4990
4990
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4991
4991
|
message: z.ZodString;
|
4992
|
-
direction: z.
|
4993
|
-
type: z.
|
4992
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
4993
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
4994
4994
|
readAt: z.ZodDate;
|
4995
4995
|
metadata: z.ZodAny;
|
4996
4996
|
platformId: z.ZodString;
|
@@ -5648,7 +5648,7 @@ export declare const instagramContract: {
|
|
5648
5648
|
};
|
5649
5649
|
}>;
|
5650
5650
|
}, "strip", z.ZodTypeAny, {
|
5651
|
-
type:
|
5651
|
+
type: string;
|
5652
5652
|
message: string;
|
5653
5653
|
id: string;
|
5654
5654
|
url: string;
|
@@ -5810,7 +5810,7 @@ export declare const instagramContract: {
|
|
5810
5810
|
metadata?: any;
|
5811
5811
|
template?: any;
|
5812
5812
|
}, {
|
5813
|
-
type:
|
5813
|
+
type: string;
|
5814
5814
|
message: string;
|
5815
5815
|
id: string;
|
5816
5816
|
url: string;
|
@@ -6183,8 +6183,8 @@ export declare const instagramContract: {
|
|
6183
6183
|
updatedAt: z.ZodDate;
|
6184
6184
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6185
6185
|
message: z.ZodString;
|
6186
|
-
direction: z.
|
6187
|
-
type: z.
|
6186
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
6187
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
6188
6188
|
readAt: z.ZodDate;
|
6189
6189
|
metadata: z.ZodAny;
|
6190
6190
|
platformId: z.ZodString;
|
@@ -6210,7 +6210,7 @@ export declare const instagramContract: {
|
|
6210
6210
|
firstResponseTime: z.ZodNumber;
|
6211
6211
|
isLatest: z.ZodBoolean;
|
6212
6212
|
isBotRoom: z.ZodBoolean;
|
6213
|
-
direction: z.
|
6213
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
6214
6214
|
platformContact: z.ZodObject<{
|
6215
6215
|
id: z.ZodString;
|
6216
6216
|
createdAt: z.ZodDate;
|
@@ -9726,8 +9726,8 @@ export declare const instagramContract: {
|
|
9726
9726
|
updatedAt: z.ZodDate;
|
9727
9727
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9728
9728
|
message: z.ZodString;
|
9729
|
-
direction: z.
|
9730
|
-
type: z.
|
9729
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
9730
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
9731
9731
|
readAt: z.ZodDate;
|
9732
9732
|
metadata: z.ZodAny;
|
9733
9733
|
platformId: z.ZodString;
|
@@ -10385,7 +10385,7 @@ export declare const instagramContract: {
|
|
10385
10385
|
};
|
10386
10386
|
}>;
|
10387
10387
|
}, "strip", z.ZodTypeAny, {
|
10388
|
-
type:
|
10388
|
+
type: string;
|
10389
10389
|
message: string;
|
10390
10390
|
id: string;
|
10391
10391
|
url: string;
|
@@ -10547,7 +10547,7 @@ export declare const instagramContract: {
|
|
10547
10547
|
metadata?: any;
|
10548
10548
|
template?: any;
|
10549
10549
|
}, {
|
10550
|
-
type:
|
10550
|
+
type: string;
|
10551
10551
|
message: string;
|
10552
10552
|
id: string;
|
10553
10553
|
url: string;
|
@@ -11349,7 +11349,7 @@ export declare const instagramContract: {
|
|
11349
11349
|
editedMessageid: z.ZodString;
|
11350
11350
|
label: z.ZodOptional<z.ZodString>;
|
11351
11351
|
}, "strip", z.ZodTypeAny, {
|
11352
|
-
type:
|
11352
|
+
type: string;
|
11353
11353
|
message: string;
|
11354
11354
|
id: string;
|
11355
11355
|
url: string;
|
@@ -11911,7 +11911,7 @@ export declare const instagramContract: {
|
|
11911
11911
|
previewUrl: string;
|
11912
11912
|
imageSetId: string;
|
11913
11913
|
repliedMessage: {
|
11914
|
-
type:
|
11914
|
+
type: string;
|
11915
11915
|
message: string;
|
11916
11916
|
id: string;
|
11917
11917
|
url: string;
|
@@ -12122,7 +12122,7 @@ export declare const instagramContract: {
|
|
12122
12122
|
template?: any;
|
12123
12123
|
label?: string | undefined;
|
12124
12124
|
}, {
|
12125
|
-
type:
|
12125
|
+
type: string;
|
12126
12126
|
message: string;
|
12127
12127
|
id: string;
|
12128
12128
|
url: string;
|
@@ -12684,7 +12684,7 @@ export declare const instagramContract: {
|
|
12684
12684
|
previewUrl: string;
|
12685
12685
|
imageSetId: string;
|
12686
12686
|
repliedMessage: {
|
12687
|
-
type:
|
12687
|
+
type: string;
|
12688
12688
|
message: string;
|
12689
12689
|
id: string;
|
12690
12690
|
url: string;
|
@@ -12896,7 +12896,7 @@ export declare const instagramContract: {
|
|
12896
12896
|
label?: string | undefined;
|
12897
12897
|
}>>>;
|
12898
12898
|
}, "strip", z.ZodTypeAny, {
|
12899
|
-
type:
|
12899
|
+
type: string;
|
12900
12900
|
message: string;
|
12901
12901
|
id: string;
|
12902
12902
|
url: string;
|
@@ -13458,7 +13458,7 @@ export declare const instagramContract: {
|
|
13458
13458
|
previewUrl: string;
|
13459
13459
|
imageSetId: string;
|
13460
13460
|
repliedMessage: {
|
13461
|
-
type:
|
13461
|
+
type: string;
|
13462
13462
|
message: string;
|
13463
13463
|
id: string;
|
13464
13464
|
url: string;
|
@@ -13669,7 +13669,7 @@ export declare const instagramContract: {
|
|
13669
13669
|
template?: any;
|
13670
13670
|
metadata?: any;
|
13671
13671
|
fromMessage?: {
|
13672
|
-
type:
|
13672
|
+
type: string;
|
13673
13673
|
message: string;
|
13674
13674
|
id: string;
|
13675
13675
|
url: string;
|
@@ -14231,7 +14231,7 @@ export declare const instagramContract: {
|
|
14231
14231
|
previewUrl: string;
|
14232
14232
|
imageSetId: string;
|
14233
14233
|
repliedMessage: {
|
14234
|
-
type:
|
14234
|
+
type: string;
|
14235
14235
|
message: string;
|
14236
14236
|
id: string;
|
14237
14237
|
url: string;
|
@@ -14443,7 +14443,7 @@ export declare const instagramContract: {
|
|
14443
14443
|
label?: string | undefined;
|
14444
14444
|
} | null | undefined;
|
14445
14445
|
}, {
|
14446
|
-
type:
|
14446
|
+
type: string;
|
14447
14447
|
message: string;
|
14448
14448
|
id: string;
|
14449
14449
|
url: string;
|
@@ -15005,7 +15005,7 @@ export declare const instagramContract: {
|
|
15005
15005
|
previewUrl: string;
|
15006
15006
|
imageSetId: string;
|
15007
15007
|
repliedMessage: {
|
15008
|
-
type:
|
15008
|
+
type: string;
|
15009
15009
|
message: string;
|
15010
15010
|
id: string;
|
15011
15011
|
url: string;
|
@@ -15216,7 +15216,7 @@ export declare const instagramContract: {
|
|
15216
15216
|
template?: any;
|
15217
15217
|
metadata?: any;
|
15218
15218
|
fromMessage?: {
|
15219
|
-
type:
|
15219
|
+
type: string;
|
15220
15220
|
message: string;
|
15221
15221
|
id: string;
|
15222
15222
|
url: string;
|
@@ -15778,7 +15778,7 @@ export declare const instagramContract: {
|
|
15778
15778
|
previewUrl: string;
|
15779
15779
|
imageSetId: string;
|
15780
15780
|
repliedMessage: {
|
15781
|
-
type:
|
15781
|
+
type: string;
|
15782
15782
|
message: string;
|
15783
15783
|
id: string;
|
15784
15784
|
url: string;
|
@@ -15992,7 +15992,7 @@ export declare const instagramContract: {
|
|
15992
15992
|
}>;
|
15993
15993
|
}, "strip", z.ZodTypeAny, {
|
15994
15994
|
data: {
|
15995
|
-
type:
|
15995
|
+
type: string;
|
15996
15996
|
message: string;
|
15997
15997
|
id: string;
|
15998
15998
|
url: string;
|
@@ -16554,7 +16554,7 @@ export declare const instagramContract: {
|
|
16554
16554
|
previewUrl: string;
|
16555
16555
|
imageSetId: string;
|
16556
16556
|
repliedMessage: {
|
16557
|
-
type:
|
16557
|
+
type: string;
|
16558
16558
|
message: string;
|
16559
16559
|
id: string;
|
16560
16560
|
url: string;
|
@@ -16765,7 +16765,7 @@ export declare const instagramContract: {
|
|
16765
16765
|
template?: any;
|
16766
16766
|
metadata?: any;
|
16767
16767
|
fromMessage?: {
|
16768
|
-
type:
|
16768
|
+
type: string;
|
16769
16769
|
message: string;
|
16770
16770
|
id: string;
|
16771
16771
|
url: string;
|
@@ -17327,7 +17327,7 @@ export declare const instagramContract: {
|
|
17327
17327
|
previewUrl: string;
|
17328
17328
|
imageSetId: string;
|
17329
17329
|
repliedMessage: {
|
17330
|
-
type:
|
17330
|
+
type: string;
|
17331
17331
|
message: string;
|
17332
17332
|
id: string;
|
17333
17333
|
url: string;
|
@@ -17542,7 +17542,7 @@ export declare const instagramContract: {
|
|
17542
17542
|
requestId: string;
|
17543
17543
|
}, {
|
17544
17544
|
data: {
|
17545
|
-
type:
|
17545
|
+
type: string;
|
17546
17546
|
message: string;
|
17547
17547
|
id: string;
|
17548
17548
|
url: string;
|
@@ -18104,7 +18104,7 @@ export declare const instagramContract: {
|
|
18104
18104
|
previewUrl: string;
|
18105
18105
|
imageSetId: string;
|
18106
18106
|
repliedMessage: {
|
18107
|
-
type:
|
18107
|
+
type: string;
|
18108
18108
|
message: string;
|
18109
18109
|
id: string;
|
18110
18110
|
url: string;
|
@@ -18315,7 +18315,7 @@ export declare const instagramContract: {
|
|
18315
18315
|
template?: any;
|
18316
18316
|
metadata?: any;
|
18317
18317
|
fromMessage?: {
|
18318
|
-
type:
|
18318
|
+
type: string;
|
18319
18319
|
message: string;
|
18320
18320
|
id: string;
|
18321
18321
|
url: string;
|
@@ -18877,7 +18877,7 @@ export declare const instagramContract: {
|
|
18877
18877
|
previewUrl: string;
|
18878
18878
|
imageSetId: string;
|
18879
18879
|
repliedMessage: {
|
18880
|
-
type:
|
18880
|
+
type: string;
|
18881
18881
|
message: string;
|
18882
18882
|
id: string;
|
18883
18883
|
url: string;
|