@kl1/contracts 1.3.42 → 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/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
@@ -1289,7 +1289,7 @@ export declare const telegramContract: {
|
|
1289
1289
|
lastMessage: z.ZodOptional<z.ZodString>;
|
1290
1290
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
1291
1291
|
isLatest: z.ZodBoolean;
|
1292
|
-
direction: z.
|
1292
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
1293
1293
|
metadata: z.ZodOptional<z.ZodAny>;
|
1294
1294
|
createdAt: z.ZodString;
|
1295
1295
|
updatedAt: z.ZodString;
|
@@ -1882,8 +1882,8 @@ export declare const telegramContract: {
|
|
1882
1882
|
message: z.ZodObject<{
|
1883
1883
|
id: z.ZodOptional<z.ZodString>;
|
1884
1884
|
message: z.ZodOptional<z.ZodString>;
|
1885
|
-
direction: z.
|
1886
|
-
type: z.
|
1885
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
1886
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
1887
1887
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
1888
1888
|
metadata: z.ZodOptional<z.ZodAny>;
|
1889
1889
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -1939,7 +1939,7 @@ export declare const telegramContract: {
|
|
1939
1939
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
1940
1940
|
label: z.ZodOptional<z.ZodString>;
|
1941
1941
|
}, "strip", z.ZodTypeAny, {
|
1942
|
-
type:
|
1942
|
+
type: string;
|
1943
1943
|
direction: "incoming" | "outgoing" | "system";
|
1944
1944
|
id?: string | undefined;
|
1945
1945
|
message?: string | undefined;
|
@@ -1974,7 +1974,7 @@ export declare const telegramContract: {
|
|
1974
1974
|
editedAt?: string | Date | null | undefined;
|
1975
1975
|
label?: string | undefined;
|
1976
1976
|
}, {
|
1977
|
-
type:
|
1977
|
+
type: string;
|
1978
1978
|
direction: "incoming" | "outgoing" | "system";
|
1979
1979
|
id?: string | undefined;
|
1980
1980
|
message?: string | undefined;
|
@@ -2011,7 +2011,7 @@ export declare const telegramContract: {
|
|
2011
2011
|
}>;
|
2012
2012
|
}, "strip", z.ZodTypeAny, {
|
2013
2013
|
message: {
|
2014
|
-
type:
|
2014
|
+
type: string;
|
2015
2015
|
direction: "incoming" | "outgoing" | "system";
|
2016
2016
|
id?: string | undefined;
|
2017
2017
|
message?: string | undefined;
|
@@ -2146,7 +2146,7 @@ export declare const telegramContract: {
|
|
2146
2146
|
isBot: boolean | null;
|
2147
2147
|
}, {
|
2148
2148
|
message: {
|
2149
|
-
type:
|
2149
|
+
type: string;
|
2150
2150
|
direction: "incoming" | "outgoing" | "system";
|
2151
2151
|
id?: string | undefined;
|
2152
2152
|
message?: string | undefined;
|
@@ -2285,11 +2285,11 @@ export declare const telegramContract: {
|
|
2285
2285
|
200: z.ZodObject<{
|
2286
2286
|
requestId: z.ZodString;
|
2287
2287
|
data: z.ZodObject<{
|
2288
|
-
type: z.
|
2288
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
2289
2289
|
message: z.ZodString;
|
2290
2290
|
id: z.ZodString;
|
2291
2291
|
url: z.ZodString;
|
2292
|
-
direction: z.
|
2292
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
2293
2293
|
label: z.ZodOptional<z.ZodString>;
|
2294
2294
|
template: z.ZodAny;
|
2295
2295
|
metadata: z.ZodAny;
|
@@ -2754,7 +2754,7 @@ export declare const telegramContract: {
|
|
2754
2754
|
firstResponseTime: z.ZodNumber;
|
2755
2755
|
isLatest: z.ZodBoolean;
|
2756
2756
|
isBotRoom: z.ZodBoolean;
|
2757
|
-
direction: z.
|
2757
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
2758
2758
|
platformContact: z.ZodObject<{
|
2759
2759
|
id: z.ZodString;
|
2760
2760
|
createdAt: z.ZodDate;
|
@@ -6267,8 +6267,8 @@ export declare const telegramContract: {
|
|
6267
6267
|
updatedAt: z.ZodDate;
|
6268
6268
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6269
6269
|
message: z.ZodString;
|
6270
|
-
direction: z.
|
6271
|
-
type: z.
|
6270
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
6271
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
6272
6272
|
readAt: z.ZodDate;
|
6273
6273
|
metadata: z.ZodAny;
|
6274
6274
|
platformId: z.ZodString;
|
@@ -6926,7 +6926,7 @@ export declare const telegramContract: {
|
|
6926
6926
|
};
|
6927
6927
|
}>;
|
6928
6928
|
}, "strip", z.ZodTypeAny, {
|
6929
|
-
type:
|
6929
|
+
type: string;
|
6930
6930
|
message: string;
|
6931
6931
|
id: string;
|
6932
6932
|
url: string;
|
@@ -7088,7 +7088,7 @@ export declare const telegramContract: {
|
|
7088
7088
|
metadata?: any;
|
7089
7089
|
template?: any;
|
7090
7090
|
}, {
|
7091
|
-
type:
|
7091
|
+
type: string;
|
7092
7092
|
message: string;
|
7093
7093
|
id: string;
|
7094
7094
|
url: string;
|
@@ -7461,8 +7461,8 @@ export declare const telegramContract: {
|
|
7461
7461
|
updatedAt: z.ZodDate;
|
7462
7462
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7463
7463
|
message: z.ZodString;
|
7464
|
-
direction: z.
|
7465
|
-
type: z.
|
7464
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
7465
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
7466
7466
|
readAt: z.ZodDate;
|
7467
7467
|
metadata: z.ZodAny;
|
7468
7468
|
platformId: z.ZodString;
|
@@ -7488,7 +7488,7 @@ export declare const telegramContract: {
|
|
7488
7488
|
firstResponseTime: z.ZodNumber;
|
7489
7489
|
isLatest: z.ZodBoolean;
|
7490
7490
|
isBotRoom: z.ZodBoolean;
|
7491
|
-
direction: z.
|
7491
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
7492
7492
|
platformContact: z.ZodObject<{
|
7493
7493
|
id: z.ZodString;
|
7494
7494
|
createdAt: z.ZodDate;
|
@@ -11004,8 +11004,8 @@ export declare const telegramContract: {
|
|
11004
11004
|
updatedAt: z.ZodDate;
|
11005
11005
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11006
11006
|
message: z.ZodString;
|
11007
|
-
direction: z.
|
11008
|
-
type: z.
|
11007
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
11008
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
11009
11009
|
readAt: z.ZodDate;
|
11010
11010
|
metadata: z.ZodAny;
|
11011
11011
|
platformId: z.ZodString;
|
@@ -11663,7 +11663,7 @@ export declare const telegramContract: {
|
|
11663
11663
|
};
|
11664
11664
|
}>;
|
11665
11665
|
}, "strip", z.ZodTypeAny, {
|
11666
|
-
type:
|
11666
|
+
type: string;
|
11667
11667
|
message: string;
|
11668
11668
|
id: string;
|
11669
11669
|
url: string;
|
@@ -11825,7 +11825,7 @@ export declare const telegramContract: {
|
|
11825
11825
|
metadata?: any;
|
11826
11826
|
template?: any;
|
11827
11827
|
}, {
|
11828
|
-
type:
|
11828
|
+
type: string;
|
11829
11829
|
message: string;
|
11830
11830
|
id: string;
|
11831
11831
|
url: string;
|
@@ -12627,7 +12627,7 @@ export declare const telegramContract: {
|
|
12627
12627
|
editedMessageid: z.ZodString;
|
12628
12628
|
label: z.ZodOptional<z.ZodString>;
|
12629
12629
|
}, "strip", z.ZodTypeAny, {
|
12630
|
-
type:
|
12630
|
+
type: string;
|
12631
12631
|
message: string;
|
12632
12632
|
id: string;
|
12633
12633
|
url: string;
|
@@ -13189,7 +13189,7 @@ export declare const telegramContract: {
|
|
13189
13189
|
previewUrl: string;
|
13190
13190
|
imageSetId: string;
|
13191
13191
|
repliedMessage: {
|
13192
|
-
type:
|
13192
|
+
type: string;
|
13193
13193
|
message: string;
|
13194
13194
|
id: string;
|
13195
13195
|
url: string;
|
@@ -13400,7 +13400,7 @@ export declare const telegramContract: {
|
|
13400
13400
|
template?: any;
|
13401
13401
|
label?: string | undefined;
|
13402
13402
|
}, {
|
13403
|
-
type:
|
13403
|
+
type: string;
|
13404
13404
|
message: string;
|
13405
13405
|
id: string;
|
13406
13406
|
url: string;
|
@@ -13962,7 +13962,7 @@ export declare const telegramContract: {
|
|
13962
13962
|
previewUrl: string;
|
13963
13963
|
imageSetId: string;
|
13964
13964
|
repliedMessage: {
|
13965
|
-
type:
|
13965
|
+
type: string;
|
13966
13966
|
message: string;
|
13967
13967
|
id: string;
|
13968
13968
|
url: string;
|
@@ -14174,7 +14174,7 @@ export declare const telegramContract: {
|
|
14174
14174
|
label?: string | undefined;
|
14175
14175
|
}>>>;
|
14176
14176
|
}, "strip", z.ZodTypeAny, {
|
14177
|
-
type:
|
14177
|
+
type: string;
|
14178
14178
|
message: string;
|
14179
14179
|
id: string;
|
14180
14180
|
url: string;
|
@@ -14736,7 +14736,7 @@ export declare const telegramContract: {
|
|
14736
14736
|
previewUrl: string;
|
14737
14737
|
imageSetId: string;
|
14738
14738
|
repliedMessage: {
|
14739
|
-
type:
|
14739
|
+
type: string;
|
14740
14740
|
message: string;
|
14741
14741
|
id: string;
|
14742
14742
|
url: string;
|
@@ -14947,7 +14947,7 @@ export declare const telegramContract: {
|
|
14947
14947
|
template?: any;
|
14948
14948
|
metadata?: any;
|
14949
14949
|
fromMessage?: {
|
14950
|
-
type:
|
14950
|
+
type: string;
|
14951
14951
|
message: string;
|
14952
14952
|
id: string;
|
14953
14953
|
url: string;
|
@@ -15509,7 +15509,7 @@ export declare const telegramContract: {
|
|
15509
15509
|
previewUrl: string;
|
15510
15510
|
imageSetId: string;
|
15511
15511
|
repliedMessage: {
|
15512
|
-
type:
|
15512
|
+
type: string;
|
15513
15513
|
message: string;
|
15514
15514
|
id: string;
|
15515
15515
|
url: string;
|
@@ -15721,7 +15721,7 @@ export declare const telegramContract: {
|
|
15721
15721
|
label?: string | undefined;
|
15722
15722
|
} | null | undefined;
|
15723
15723
|
}, {
|
15724
|
-
type:
|
15724
|
+
type: string;
|
15725
15725
|
message: string;
|
15726
15726
|
id: string;
|
15727
15727
|
url: string;
|
@@ -16283,7 +16283,7 @@ export declare const telegramContract: {
|
|
16283
16283
|
previewUrl: string;
|
16284
16284
|
imageSetId: string;
|
16285
16285
|
repliedMessage: {
|
16286
|
-
type:
|
16286
|
+
type: string;
|
16287
16287
|
message: string;
|
16288
16288
|
id: string;
|
16289
16289
|
url: string;
|
@@ -16494,7 +16494,7 @@ export declare const telegramContract: {
|
|
16494
16494
|
template?: any;
|
16495
16495
|
metadata?: any;
|
16496
16496
|
fromMessage?: {
|
16497
|
-
type:
|
16497
|
+
type: string;
|
16498
16498
|
message: string;
|
16499
16499
|
id: string;
|
16500
16500
|
url: string;
|
@@ -17056,7 +17056,7 @@ export declare const telegramContract: {
|
|
17056
17056
|
previewUrl: string;
|
17057
17057
|
imageSetId: string;
|
17058
17058
|
repliedMessage: {
|
17059
|
-
type:
|
17059
|
+
type: string;
|
17060
17060
|
message: string;
|
17061
17061
|
id: string;
|
17062
17062
|
url: string;
|
@@ -17270,7 +17270,7 @@ export declare const telegramContract: {
|
|
17270
17270
|
}>;
|
17271
17271
|
}, "strip", z.ZodTypeAny, {
|
17272
17272
|
data: {
|
17273
|
-
type:
|
17273
|
+
type: string;
|
17274
17274
|
message: string;
|
17275
17275
|
id: string;
|
17276
17276
|
url: string;
|
@@ -17832,7 +17832,7 @@ export declare const telegramContract: {
|
|
17832
17832
|
previewUrl: string;
|
17833
17833
|
imageSetId: string;
|
17834
17834
|
repliedMessage: {
|
17835
|
-
type:
|
17835
|
+
type: string;
|
17836
17836
|
message: string;
|
17837
17837
|
id: string;
|
17838
17838
|
url: string;
|
@@ -18043,7 +18043,7 @@ export declare const telegramContract: {
|
|
18043
18043
|
template?: any;
|
18044
18044
|
metadata?: any;
|
18045
18045
|
fromMessage?: {
|
18046
|
-
type:
|
18046
|
+
type: string;
|
18047
18047
|
message: string;
|
18048
18048
|
id: string;
|
18049
18049
|
url: string;
|
@@ -18605,7 +18605,7 @@ export declare const telegramContract: {
|
|
18605
18605
|
previewUrl: string;
|
18606
18606
|
imageSetId: string;
|
18607
18607
|
repliedMessage: {
|
18608
|
-
type:
|
18608
|
+
type: string;
|
18609
18609
|
message: string;
|
18610
18610
|
id: string;
|
18611
18611
|
url: string;
|
@@ -18820,7 +18820,7 @@ export declare const telegramContract: {
|
|
18820
18820
|
requestId: string;
|
18821
18821
|
}, {
|
18822
18822
|
data: {
|
18823
|
-
type:
|
18823
|
+
type: string;
|
18824
18824
|
message: string;
|
18825
18825
|
id: string;
|
18826
18826
|
url: string;
|
@@ -19382,7 +19382,7 @@ export declare const telegramContract: {
|
|
19382
19382
|
previewUrl: string;
|
19383
19383
|
imageSetId: string;
|
19384
19384
|
repliedMessage: {
|
19385
|
-
type:
|
19385
|
+
type: string;
|
19386
19386
|
message: string;
|
19387
19387
|
id: string;
|
19388
19388
|
url: string;
|
@@ -19593,7 +19593,7 @@ export declare const telegramContract: {
|
|
19593
19593
|
template?: any;
|
19594
19594
|
metadata?: any;
|
19595
19595
|
fromMessage?: {
|
19596
|
-
type:
|
19596
|
+
type: string;
|
19597
19597
|
message: string;
|
19598
19598
|
id: string;
|
19599
19599
|
url: string;
|
@@ -20155,7 +20155,7 @@ export declare const telegramContract: {
|
|
20155
20155
|
previewUrl: string;
|
20156
20156
|
imageSetId: string;
|
20157
20157
|
repliedMessage: {
|
20158
|
-
type:
|
20158
|
+
type: string;
|
20159
20159
|
message: string;
|
20160
20160
|
id: string;
|
20161
20161
|
url: string;
|