@kl1/contracts 1.3.48 → 1.3.49
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -1674,7 +1674,7 @@ export declare const viberContract: {
|
|
1674
1674
|
lastMessage: z.ZodOptional<z.ZodString>;
|
1675
1675
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
1676
1676
|
isLatest: z.ZodBoolean;
|
1677
|
-
direction: z.
|
1677
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
1678
1678
|
metadata: z.ZodOptional<z.ZodAny>;
|
1679
1679
|
createdAt: z.ZodString;
|
1680
1680
|
updatedAt: z.ZodString;
|
@@ -2270,8 +2270,8 @@ export declare const viberContract: {
|
|
2270
2270
|
message: z.ZodObject<{
|
2271
2271
|
id: z.ZodOptional<z.ZodString>;
|
2272
2272
|
message: z.ZodOptional<z.ZodString>;
|
2273
|
-
direction: z.
|
2274
|
-
type: z.
|
2273
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
2274
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
2275
2275
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
2276
2276
|
metadata: z.ZodOptional<z.ZodAny>;
|
2277
2277
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -2327,7 +2327,7 @@ export declare const viberContract: {
|
|
2327
2327
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
2328
2328
|
label: z.ZodOptional<z.ZodString>;
|
2329
2329
|
}, "strip", z.ZodTypeAny, {
|
2330
|
-
type:
|
2330
|
+
type: string;
|
2331
2331
|
direction: "incoming" | "outgoing" | "system";
|
2332
2332
|
id?: string | undefined;
|
2333
2333
|
message?: string | undefined;
|
@@ -2362,7 +2362,7 @@ export declare const viberContract: {
|
|
2362
2362
|
editedAt?: string | Date | null | undefined;
|
2363
2363
|
label?: string | undefined;
|
2364
2364
|
}, {
|
2365
|
-
type:
|
2365
|
+
type: string;
|
2366
2366
|
direction: "incoming" | "outgoing" | "system";
|
2367
2367
|
id?: string | undefined;
|
2368
2368
|
message?: string | undefined;
|
@@ -2399,7 +2399,7 @@ export declare const viberContract: {
|
|
2399
2399
|
}>;
|
2400
2400
|
}, "strip", z.ZodTypeAny, {
|
2401
2401
|
message: {
|
2402
|
-
type:
|
2402
|
+
type: string;
|
2403
2403
|
direction: "incoming" | "outgoing" | "system";
|
2404
2404
|
id?: string | undefined;
|
2405
2405
|
message?: string | undefined;
|
@@ -2535,7 +2535,7 @@ export declare const viberContract: {
|
|
2535
2535
|
isBot: boolean | null;
|
2536
2536
|
}, {
|
2537
2537
|
message: {
|
2538
|
-
type:
|
2538
|
+
type: string;
|
2539
2539
|
direction: "incoming" | "outgoing" | "system";
|
2540
2540
|
id?: string | undefined;
|
2541
2541
|
message?: string | undefined;
|
@@ -2675,11 +2675,11 @@ export declare const viberContract: {
|
|
2675
2675
|
200: z.ZodObject<{
|
2676
2676
|
requestId: z.ZodString;
|
2677
2677
|
data: z.ZodObject<{
|
2678
|
-
type: z.
|
2678
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
2679
2679
|
message: z.ZodString;
|
2680
2680
|
id: z.ZodString;
|
2681
2681
|
url: z.ZodString;
|
2682
|
-
direction: z.
|
2682
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
2683
2683
|
label: z.ZodOptional<z.ZodString>;
|
2684
2684
|
template: z.ZodAny;
|
2685
2685
|
metadata: z.ZodAny;
|
@@ -3144,7 +3144,7 @@ export declare const viberContract: {
|
|
3144
3144
|
firstResponseTime: z.ZodNumber;
|
3145
3145
|
isLatest: z.ZodBoolean;
|
3146
3146
|
isBotRoom: z.ZodBoolean;
|
3147
|
-
direction: z.
|
3147
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
3148
3148
|
platformContact: z.ZodObject<{
|
3149
3149
|
id: z.ZodString;
|
3150
3150
|
createdAt: z.ZodDate;
|
@@ -6657,8 +6657,8 @@ export declare const viberContract: {
|
|
6657
6657
|
updatedAt: z.ZodDate;
|
6658
6658
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6659
6659
|
message: z.ZodString;
|
6660
|
-
direction: z.
|
6661
|
-
type: z.
|
6660
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
6661
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
6662
6662
|
readAt: z.ZodDate;
|
6663
6663
|
metadata: z.ZodAny;
|
6664
6664
|
platformId: z.ZodString;
|
@@ -7316,7 +7316,7 @@ export declare const viberContract: {
|
|
7316
7316
|
};
|
7317
7317
|
}>;
|
7318
7318
|
}, "strip", z.ZodTypeAny, {
|
7319
|
-
type:
|
7319
|
+
type: string;
|
7320
7320
|
message: string;
|
7321
7321
|
id: string;
|
7322
7322
|
url: string;
|
@@ -7478,7 +7478,7 @@ export declare const viberContract: {
|
|
7478
7478
|
metadata?: any;
|
7479
7479
|
template?: any;
|
7480
7480
|
}, {
|
7481
|
-
type:
|
7481
|
+
type: string;
|
7482
7482
|
message: string;
|
7483
7483
|
id: string;
|
7484
7484
|
url: string;
|
@@ -7851,8 +7851,8 @@ export declare const viberContract: {
|
|
7851
7851
|
updatedAt: z.ZodDate;
|
7852
7852
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7853
7853
|
message: z.ZodString;
|
7854
|
-
direction: z.
|
7855
|
-
type: z.
|
7854
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
7855
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
7856
7856
|
readAt: z.ZodDate;
|
7857
7857
|
metadata: z.ZodAny;
|
7858
7858
|
platformId: z.ZodString;
|
@@ -7878,7 +7878,7 @@ export declare const viberContract: {
|
|
7878
7878
|
firstResponseTime: z.ZodNumber;
|
7879
7879
|
isLatest: z.ZodBoolean;
|
7880
7880
|
isBotRoom: z.ZodBoolean;
|
7881
|
-
direction: z.
|
7881
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
7882
7882
|
platformContact: z.ZodObject<{
|
7883
7883
|
id: z.ZodString;
|
7884
7884
|
createdAt: z.ZodDate;
|
@@ -11394,8 +11394,8 @@ export declare const viberContract: {
|
|
11394
11394
|
updatedAt: z.ZodDate;
|
11395
11395
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11396
11396
|
message: z.ZodString;
|
11397
|
-
direction: z.
|
11398
|
-
type: z.
|
11397
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
11398
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
11399
11399
|
readAt: z.ZodDate;
|
11400
11400
|
metadata: z.ZodAny;
|
11401
11401
|
platformId: z.ZodString;
|
@@ -12053,7 +12053,7 @@ export declare const viberContract: {
|
|
12053
12053
|
};
|
12054
12054
|
}>;
|
12055
12055
|
}, "strip", z.ZodTypeAny, {
|
12056
|
-
type:
|
12056
|
+
type: string;
|
12057
12057
|
message: string;
|
12058
12058
|
id: string;
|
12059
12059
|
url: string;
|
@@ -12215,7 +12215,7 @@ export declare const viberContract: {
|
|
12215
12215
|
metadata?: any;
|
12216
12216
|
template?: any;
|
12217
12217
|
}, {
|
12218
|
-
type:
|
12218
|
+
type: string;
|
12219
12219
|
message: string;
|
12220
12220
|
id: string;
|
12221
12221
|
url: string;
|
@@ -13017,7 +13017,7 @@ export declare const viberContract: {
|
|
13017
13017
|
editedMessageid: z.ZodString;
|
13018
13018
|
label: z.ZodOptional<z.ZodString>;
|
13019
13019
|
}, "strip", z.ZodTypeAny, {
|
13020
|
-
type:
|
13020
|
+
type: string;
|
13021
13021
|
message: string;
|
13022
13022
|
id: string;
|
13023
13023
|
url: string;
|
@@ -13579,7 +13579,7 @@ export declare const viberContract: {
|
|
13579
13579
|
previewUrl: string;
|
13580
13580
|
imageSetId: string;
|
13581
13581
|
repliedMessage: {
|
13582
|
-
type:
|
13582
|
+
type: string;
|
13583
13583
|
message: string;
|
13584
13584
|
id: string;
|
13585
13585
|
url: string;
|
@@ -13790,7 +13790,7 @@ export declare const viberContract: {
|
|
13790
13790
|
template?: any;
|
13791
13791
|
label?: string | undefined;
|
13792
13792
|
}, {
|
13793
|
-
type:
|
13793
|
+
type: string;
|
13794
13794
|
message: string;
|
13795
13795
|
id: string;
|
13796
13796
|
url: string;
|
@@ -14352,7 +14352,7 @@ export declare const viberContract: {
|
|
14352
14352
|
previewUrl: string;
|
14353
14353
|
imageSetId: string;
|
14354
14354
|
repliedMessage: {
|
14355
|
-
type:
|
14355
|
+
type: string;
|
14356
14356
|
message: string;
|
14357
14357
|
id: string;
|
14358
14358
|
url: string;
|
@@ -14564,7 +14564,7 @@ export declare const viberContract: {
|
|
14564
14564
|
label?: string | undefined;
|
14565
14565
|
}>>>;
|
14566
14566
|
}, "strip", z.ZodTypeAny, {
|
14567
|
-
type:
|
14567
|
+
type: string;
|
14568
14568
|
message: string;
|
14569
14569
|
id: string;
|
14570
14570
|
url: string;
|
@@ -15126,7 +15126,7 @@ export declare const viberContract: {
|
|
15126
15126
|
previewUrl: string;
|
15127
15127
|
imageSetId: string;
|
15128
15128
|
repliedMessage: {
|
15129
|
-
type:
|
15129
|
+
type: string;
|
15130
15130
|
message: string;
|
15131
15131
|
id: string;
|
15132
15132
|
url: string;
|
@@ -15337,7 +15337,7 @@ export declare const viberContract: {
|
|
15337
15337
|
template?: any;
|
15338
15338
|
metadata?: any;
|
15339
15339
|
fromMessage?: {
|
15340
|
-
type:
|
15340
|
+
type: string;
|
15341
15341
|
message: string;
|
15342
15342
|
id: string;
|
15343
15343
|
url: string;
|
@@ -15899,7 +15899,7 @@ export declare const viberContract: {
|
|
15899
15899
|
previewUrl: string;
|
15900
15900
|
imageSetId: string;
|
15901
15901
|
repliedMessage: {
|
15902
|
-
type:
|
15902
|
+
type: string;
|
15903
15903
|
message: string;
|
15904
15904
|
id: string;
|
15905
15905
|
url: string;
|
@@ -16111,7 +16111,7 @@ export declare const viberContract: {
|
|
16111
16111
|
label?: string | undefined;
|
16112
16112
|
} | null | undefined;
|
16113
16113
|
}, {
|
16114
|
-
type:
|
16114
|
+
type: string;
|
16115
16115
|
message: string;
|
16116
16116
|
id: string;
|
16117
16117
|
url: string;
|
@@ -16673,7 +16673,7 @@ export declare const viberContract: {
|
|
16673
16673
|
previewUrl: string;
|
16674
16674
|
imageSetId: string;
|
16675
16675
|
repliedMessage: {
|
16676
|
-
type:
|
16676
|
+
type: string;
|
16677
16677
|
message: string;
|
16678
16678
|
id: string;
|
16679
16679
|
url: string;
|
@@ -16884,7 +16884,7 @@ export declare const viberContract: {
|
|
16884
16884
|
template?: any;
|
16885
16885
|
metadata?: any;
|
16886
16886
|
fromMessage?: {
|
16887
|
-
type:
|
16887
|
+
type: string;
|
16888
16888
|
message: string;
|
16889
16889
|
id: string;
|
16890
16890
|
url: string;
|
@@ -17446,7 +17446,7 @@ export declare const viberContract: {
|
|
17446
17446
|
previewUrl: string;
|
17447
17447
|
imageSetId: string;
|
17448
17448
|
repliedMessage: {
|
17449
|
-
type:
|
17449
|
+
type: string;
|
17450
17450
|
message: string;
|
17451
17451
|
id: string;
|
17452
17452
|
url: string;
|
@@ -17660,7 +17660,7 @@ export declare const viberContract: {
|
|
17660
17660
|
}>;
|
17661
17661
|
}, "strip", z.ZodTypeAny, {
|
17662
17662
|
data: {
|
17663
|
-
type:
|
17663
|
+
type: string;
|
17664
17664
|
message: string;
|
17665
17665
|
id: string;
|
17666
17666
|
url: string;
|
@@ -18222,7 +18222,7 @@ export declare const viberContract: {
|
|
18222
18222
|
previewUrl: string;
|
18223
18223
|
imageSetId: string;
|
18224
18224
|
repliedMessage: {
|
18225
|
-
type:
|
18225
|
+
type: string;
|
18226
18226
|
message: string;
|
18227
18227
|
id: string;
|
18228
18228
|
url: string;
|
@@ -18433,7 +18433,7 @@ export declare const viberContract: {
|
|
18433
18433
|
template?: any;
|
18434
18434
|
metadata?: any;
|
18435
18435
|
fromMessage?: {
|
18436
|
-
type:
|
18436
|
+
type: string;
|
18437
18437
|
message: string;
|
18438
18438
|
id: string;
|
18439
18439
|
url: string;
|
@@ -18995,7 +18995,7 @@ export declare const viberContract: {
|
|
18995
18995
|
previewUrl: string;
|
18996
18996
|
imageSetId: string;
|
18997
18997
|
repliedMessage: {
|
18998
|
-
type:
|
18998
|
+
type: string;
|
18999
18999
|
message: string;
|
19000
19000
|
id: string;
|
19001
19001
|
url: string;
|
@@ -19210,7 +19210,7 @@ export declare const viberContract: {
|
|
19210
19210
|
requestId: string;
|
19211
19211
|
}, {
|
19212
19212
|
data: {
|
19213
|
-
type:
|
19213
|
+
type: string;
|
19214
19214
|
message: string;
|
19215
19215
|
id: string;
|
19216
19216
|
url: string;
|
@@ -19772,7 +19772,7 @@ export declare const viberContract: {
|
|
19772
19772
|
previewUrl: string;
|
19773
19773
|
imageSetId: string;
|
19774
19774
|
repliedMessage: {
|
19775
|
-
type:
|
19775
|
+
type: string;
|
19776
19776
|
message: string;
|
19777
19777
|
id: string;
|
19778
19778
|
url: string;
|
@@ -19983,7 +19983,7 @@ export declare const viberContract: {
|
|
19983
19983
|
template?: any;
|
19984
19984
|
metadata?: any;
|
19985
19985
|
fromMessage?: {
|
19986
|
-
type:
|
19986
|
+
type: string;
|
19987
19987
|
message: string;
|
19988
19988
|
id: string;
|
19989
19989
|
url: string;
|
@@ -20545,7 +20545,7 @@ export declare const viberContract: {
|
|
20545
20545
|
previewUrl: string;
|
20546
20546
|
imageSetId: string;
|
20547
20547
|
repliedMessage: {
|
20548
|
-
type:
|
20548
|
+
type: string;
|
20549
20549
|
message: string;
|
20550
20550
|
id: string;
|
20551
20551
|
url: string;
|