@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
@@ -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;
|
@@ -1885,8 +1885,8 @@ export declare const telegramContract: {
|
|
1885
1885
|
message: z.ZodObject<{
|
1886
1886
|
id: z.ZodOptional<z.ZodString>;
|
1887
1887
|
message: z.ZodOptional<z.ZodString>;
|
1888
|
-
direction: z.
|
1889
|
-
type: z.
|
1888
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
1889
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
1890
1890
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
1891
1891
|
metadata: z.ZodOptional<z.ZodAny>;
|
1892
1892
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -1942,7 +1942,7 @@ export declare const telegramContract: {
|
|
1942
1942
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
1943
1943
|
label: z.ZodOptional<z.ZodString>;
|
1944
1944
|
}, "strip", z.ZodTypeAny, {
|
1945
|
-
type:
|
1945
|
+
type: string;
|
1946
1946
|
direction: "incoming" | "outgoing" | "system";
|
1947
1947
|
id?: string | undefined;
|
1948
1948
|
message?: string | undefined;
|
@@ -1977,7 +1977,7 @@ export declare const telegramContract: {
|
|
1977
1977
|
editedAt?: string | Date | null | undefined;
|
1978
1978
|
label?: string | undefined;
|
1979
1979
|
}, {
|
1980
|
-
type:
|
1980
|
+
type: string;
|
1981
1981
|
direction: "incoming" | "outgoing" | "system";
|
1982
1982
|
id?: string | undefined;
|
1983
1983
|
message?: string | undefined;
|
@@ -2014,7 +2014,7 @@ export declare const telegramContract: {
|
|
2014
2014
|
}>;
|
2015
2015
|
}, "strip", z.ZodTypeAny, {
|
2016
2016
|
message: {
|
2017
|
-
type:
|
2017
|
+
type: string;
|
2018
2018
|
direction: "incoming" | "outgoing" | "system";
|
2019
2019
|
id?: string | undefined;
|
2020
2020
|
message?: string | undefined;
|
@@ -2150,7 +2150,7 @@ export declare const telegramContract: {
|
|
2150
2150
|
isBot: boolean | null;
|
2151
2151
|
}, {
|
2152
2152
|
message: {
|
2153
|
-
type:
|
2153
|
+
type: string;
|
2154
2154
|
direction: "incoming" | "outgoing" | "system";
|
2155
2155
|
id?: string | undefined;
|
2156
2156
|
message?: string | undefined;
|
@@ -2290,11 +2290,11 @@ export declare const telegramContract: {
|
|
2290
2290
|
200: z.ZodObject<{
|
2291
2291
|
requestId: z.ZodString;
|
2292
2292
|
data: z.ZodObject<{
|
2293
|
-
type: z.
|
2293
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
2294
2294
|
message: z.ZodString;
|
2295
2295
|
id: z.ZodString;
|
2296
2296
|
url: z.ZodString;
|
2297
|
-
direction: z.
|
2297
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
2298
2298
|
label: z.ZodOptional<z.ZodString>;
|
2299
2299
|
template: z.ZodAny;
|
2300
2300
|
metadata: z.ZodAny;
|
@@ -2759,7 +2759,7 @@ export declare const telegramContract: {
|
|
2759
2759
|
firstResponseTime: z.ZodNumber;
|
2760
2760
|
isLatest: z.ZodBoolean;
|
2761
2761
|
isBotRoom: z.ZodBoolean;
|
2762
|
-
direction: z.
|
2762
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
2763
2763
|
platformContact: z.ZodObject<{
|
2764
2764
|
id: z.ZodString;
|
2765
2765
|
createdAt: z.ZodDate;
|
@@ -6272,8 +6272,8 @@ export declare const telegramContract: {
|
|
6272
6272
|
updatedAt: z.ZodDate;
|
6273
6273
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6274
6274
|
message: z.ZodString;
|
6275
|
-
direction: z.
|
6276
|
-
type: z.
|
6275
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
6276
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
6277
6277
|
readAt: z.ZodDate;
|
6278
6278
|
metadata: z.ZodAny;
|
6279
6279
|
platformId: z.ZodString;
|
@@ -6931,7 +6931,7 @@ export declare const telegramContract: {
|
|
6931
6931
|
};
|
6932
6932
|
}>;
|
6933
6933
|
}, "strip", z.ZodTypeAny, {
|
6934
|
-
type:
|
6934
|
+
type: string;
|
6935
6935
|
message: string;
|
6936
6936
|
id: string;
|
6937
6937
|
url: string;
|
@@ -7093,7 +7093,7 @@ export declare const telegramContract: {
|
|
7093
7093
|
metadata?: any;
|
7094
7094
|
template?: any;
|
7095
7095
|
}, {
|
7096
|
-
type:
|
7096
|
+
type: string;
|
7097
7097
|
message: string;
|
7098
7098
|
id: string;
|
7099
7099
|
url: string;
|
@@ -7466,8 +7466,8 @@ export declare const telegramContract: {
|
|
7466
7466
|
updatedAt: z.ZodDate;
|
7467
7467
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7468
7468
|
message: z.ZodString;
|
7469
|
-
direction: z.
|
7470
|
-
type: z.
|
7469
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
7470
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
7471
7471
|
readAt: z.ZodDate;
|
7472
7472
|
metadata: z.ZodAny;
|
7473
7473
|
platformId: z.ZodString;
|
@@ -7493,7 +7493,7 @@ export declare const telegramContract: {
|
|
7493
7493
|
firstResponseTime: z.ZodNumber;
|
7494
7494
|
isLatest: z.ZodBoolean;
|
7495
7495
|
isBotRoom: z.ZodBoolean;
|
7496
|
-
direction: z.
|
7496
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
7497
7497
|
platformContact: z.ZodObject<{
|
7498
7498
|
id: z.ZodString;
|
7499
7499
|
createdAt: z.ZodDate;
|
@@ -11009,8 +11009,8 @@ export declare const telegramContract: {
|
|
11009
11009
|
updatedAt: z.ZodDate;
|
11010
11010
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11011
11011
|
message: z.ZodString;
|
11012
|
-
direction: z.
|
11013
|
-
type: z.
|
11012
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
11013
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
11014
11014
|
readAt: z.ZodDate;
|
11015
11015
|
metadata: z.ZodAny;
|
11016
11016
|
platformId: z.ZodString;
|
@@ -11668,7 +11668,7 @@ export declare const telegramContract: {
|
|
11668
11668
|
};
|
11669
11669
|
}>;
|
11670
11670
|
}, "strip", z.ZodTypeAny, {
|
11671
|
-
type:
|
11671
|
+
type: string;
|
11672
11672
|
message: string;
|
11673
11673
|
id: string;
|
11674
11674
|
url: string;
|
@@ -11830,7 +11830,7 @@ export declare const telegramContract: {
|
|
11830
11830
|
metadata?: any;
|
11831
11831
|
template?: any;
|
11832
11832
|
}, {
|
11833
|
-
type:
|
11833
|
+
type: string;
|
11834
11834
|
message: string;
|
11835
11835
|
id: string;
|
11836
11836
|
url: string;
|
@@ -12632,7 +12632,7 @@ export declare const telegramContract: {
|
|
12632
12632
|
editedMessageid: z.ZodString;
|
12633
12633
|
label: z.ZodOptional<z.ZodString>;
|
12634
12634
|
}, "strip", z.ZodTypeAny, {
|
12635
|
-
type:
|
12635
|
+
type: string;
|
12636
12636
|
message: string;
|
12637
12637
|
id: string;
|
12638
12638
|
url: string;
|
@@ -13194,7 +13194,7 @@ export declare const telegramContract: {
|
|
13194
13194
|
previewUrl: string;
|
13195
13195
|
imageSetId: string;
|
13196
13196
|
repliedMessage: {
|
13197
|
-
type:
|
13197
|
+
type: string;
|
13198
13198
|
message: string;
|
13199
13199
|
id: string;
|
13200
13200
|
url: string;
|
@@ -13405,7 +13405,7 @@ export declare const telegramContract: {
|
|
13405
13405
|
template?: any;
|
13406
13406
|
label?: string | undefined;
|
13407
13407
|
}, {
|
13408
|
-
type:
|
13408
|
+
type: string;
|
13409
13409
|
message: string;
|
13410
13410
|
id: string;
|
13411
13411
|
url: string;
|
@@ -13967,7 +13967,7 @@ export declare const telegramContract: {
|
|
13967
13967
|
previewUrl: string;
|
13968
13968
|
imageSetId: string;
|
13969
13969
|
repliedMessage: {
|
13970
|
-
type:
|
13970
|
+
type: string;
|
13971
13971
|
message: string;
|
13972
13972
|
id: string;
|
13973
13973
|
url: string;
|
@@ -14179,7 +14179,7 @@ export declare const telegramContract: {
|
|
14179
14179
|
label?: string | undefined;
|
14180
14180
|
}>>>;
|
14181
14181
|
}, "strip", z.ZodTypeAny, {
|
14182
|
-
type:
|
14182
|
+
type: string;
|
14183
14183
|
message: string;
|
14184
14184
|
id: string;
|
14185
14185
|
url: string;
|
@@ -14741,7 +14741,7 @@ export declare const telegramContract: {
|
|
14741
14741
|
previewUrl: string;
|
14742
14742
|
imageSetId: string;
|
14743
14743
|
repliedMessage: {
|
14744
|
-
type:
|
14744
|
+
type: string;
|
14745
14745
|
message: string;
|
14746
14746
|
id: string;
|
14747
14747
|
url: string;
|
@@ -14952,7 +14952,7 @@ export declare const telegramContract: {
|
|
14952
14952
|
template?: any;
|
14953
14953
|
metadata?: any;
|
14954
14954
|
fromMessage?: {
|
14955
|
-
type:
|
14955
|
+
type: string;
|
14956
14956
|
message: string;
|
14957
14957
|
id: string;
|
14958
14958
|
url: string;
|
@@ -15514,7 +15514,7 @@ export declare const telegramContract: {
|
|
15514
15514
|
previewUrl: string;
|
15515
15515
|
imageSetId: string;
|
15516
15516
|
repliedMessage: {
|
15517
|
-
type:
|
15517
|
+
type: string;
|
15518
15518
|
message: string;
|
15519
15519
|
id: string;
|
15520
15520
|
url: string;
|
@@ -15726,7 +15726,7 @@ export declare const telegramContract: {
|
|
15726
15726
|
label?: string | undefined;
|
15727
15727
|
} | null | undefined;
|
15728
15728
|
}, {
|
15729
|
-
type:
|
15729
|
+
type: string;
|
15730
15730
|
message: string;
|
15731
15731
|
id: string;
|
15732
15732
|
url: string;
|
@@ -16288,7 +16288,7 @@ export declare const telegramContract: {
|
|
16288
16288
|
previewUrl: string;
|
16289
16289
|
imageSetId: string;
|
16290
16290
|
repliedMessage: {
|
16291
|
-
type:
|
16291
|
+
type: string;
|
16292
16292
|
message: string;
|
16293
16293
|
id: string;
|
16294
16294
|
url: string;
|
@@ -16499,7 +16499,7 @@ export declare const telegramContract: {
|
|
16499
16499
|
template?: any;
|
16500
16500
|
metadata?: any;
|
16501
16501
|
fromMessage?: {
|
16502
|
-
type:
|
16502
|
+
type: string;
|
16503
16503
|
message: string;
|
16504
16504
|
id: string;
|
16505
16505
|
url: string;
|
@@ -17061,7 +17061,7 @@ export declare const telegramContract: {
|
|
17061
17061
|
previewUrl: string;
|
17062
17062
|
imageSetId: string;
|
17063
17063
|
repliedMessage: {
|
17064
|
-
type:
|
17064
|
+
type: string;
|
17065
17065
|
message: string;
|
17066
17066
|
id: string;
|
17067
17067
|
url: string;
|
@@ -17275,7 +17275,7 @@ export declare const telegramContract: {
|
|
17275
17275
|
}>;
|
17276
17276
|
}, "strip", z.ZodTypeAny, {
|
17277
17277
|
data: {
|
17278
|
-
type:
|
17278
|
+
type: string;
|
17279
17279
|
message: string;
|
17280
17280
|
id: string;
|
17281
17281
|
url: string;
|
@@ -17837,7 +17837,7 @@ export declare const telegramContract: {
|
|
17837
17837
|
previewUrl: string;
|
17838
17838
|
imageSetId: string;
|
17839
17839
|
repliedMessage: {
|
17840
|
-
type:
|
17840
|
+
type: string;
|
17841
17841
|
message: string;
|
17842
17842
|
id: string;
|
17843
17843
|
url: string;
|
@@ -18048,7 +18048,7 @@ export declare const telegramContract: {
|
|
18048
18048
|
template?: any;
|
18049
18049
|
metadata?: any;
|
18050
18050
|
fromMessage?: {
|
18051
|
-
type:
|
18051
|
+
type: string;
|
18052
18052
|
message: string;
|
18053
18053
|
id: string;
|
18054
18054
|
url: string;
|
@@ -18610,7 +18610,7 @@ export declare const telegramContract: {
|
|
18610
18610
|
previewUrl: string;
|
18611
18611
|
imageSetId: string;
|
18612
18612
|
repliedMessage: {
|
18613
|
-
type:
|
18613
|
+
type: string;
|
18614
18614
|
message: string;
|
18615
18615
|
id: string;
|
18616
18616
|
url: string;
|
@@ -18825,7 +18825,7 @@ export declare const telegramContract: {
|
|
18825
18825
|
requestId: string;
|
18826
18826
|
}, {
|
18827
18827
|
data: {
|
18828
|
-
type:
|
18828
|
+
type: string;
|
18829
18829
|
message: string;
|
18830
18830
|
id: string;
|
18831
18831
|
url: string;
|
@@ -19387,7 +19387,7 @@ export declare const telegramContract: {
|
|
19387
19387
|
previewUrl: string;
|
19388
19388
|
imageSetId: string;
|
19389
19389
|
repliedMessage: {
|
19390
|
-
type:
|
19390
|
+
type: string;
|
19391
19391
|
message: string;
|
19392
19392
|
id: string;
|
19393
19393
|
url: string;
|
@@ -19598,7 +19598,7 @@ export declare const telegramContract: {
|
|
19598
19598
|
template?: any;
|
19599
19599
|
metadata?: any;
|
19600
19600
|
fromMessage?: {
|
19601
|
-
type:
|
19601
|
+
type: string;
|
19602
19602
|
message: string;
|
19603
19603
|
id: string;
|
19604
19604
|
url: string;
|
@@ -20160,7 +20160,7 @@ export declare const telegramContract: {
|
|
20160
20160
|
previewUrl: string;
|
20161
20161
|
imageSetId: string;
|
20162
20162
|
repliedMessage: {
|
20163
|
-
type:
|
20163
|
+
type: string;
|
20164
20164
|
message: string;
|
20165
20165
|
id: string;
|
20166
20166
|
url: string;
|