@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
@@ -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;
|
@@ -607,8 +607,8 @@ export declare const instagramContract: {
|
|
607
607
|
message: z.ZodObject<{
|
608
608
|
id: z.ZodOptional<z.ZodString>;
|
609
609
|
message: z.ZodOptional<z.ZodString>;
|
610
|
-
direction: z.
|
611
|
-
type: z.
|
610
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
611
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
612
612
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
613
613
|
metadata: z.ZodOptional<z.ZodAny>;
|
614
614
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -664,7 +664,7 @@ export declare const instagramContract: {
|
|
664
664
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
665
665
|
label: z.ZodOptional<z.ZodString>;
|
666
666
|
}, "strip", z.ZodTypeAny, {
|
667
|
-
type:
|
667
|
+
type: string;
|
668
668
|
direction: "incoming" | "outgoing" | "system";
|
669
669
|
id?: string | undefined;
|
670
670
|
message?: string | undefined;
|
@@ -699,7 +699,7 @@ export declare const instagramContract: {
|
|
699
699
|
editedAt?: string | Date | null | undefined;
|
700
700
|
label?: string | undefined;
|
701
701
|
}, {
|
702
|
-
type:
|
702
|
+
type: string;
|
703
703
|
direction: "incoming" | "outgoing" | "system";
|
704
704
|
id?: string | undefined;
|
705
705
|
message?: string | undefined;
|
@@ -736,7 +736,7 @@ export declare const instagramContract: {
|
|
736
736
|
}>;
|
737
737
|
}, "strip", z.ZodTypeAny, {
|
738
738
|
message: {
|
739
|
-
type:
|
739
|
+
type: string;
|
740
740
|
direction: "incoming" | "outgoing" | "system";
|
741
741
|
id?: string | undefined;
|
742
742
|
message?: string | undefined;
|
@@ -872,7 +872,7 @@ export declare const instagramContract: {
|
|
872
872
|
isBot: boolean | null;
|
873
873
|
}, {
|
874
874
|
message: {
|
875
|
-
type:
|
875
|
+
type: string;
|
876
876
|
direction: "incoming" | "outgoing" | "system";
|
877
877
|
id?: string | undefined;
|
878
878
|
message?: string | undefined;
|
@@ -1012,11 +1012,11 @@ export declare const instagramContract: {
|
|
1012
1012
|
200: z.ZodObject<{
|
1013
1013
|
requestId: z.ZodString;
|
1014
1014
|
data: z.ZodObject<{
|
1015
|
-
type: z.
|
1015
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
1016
1016
|
message: z.ZodString;
|
1017
1017
|
id: z.ZodString;
|
1018
1018
|
url: z.ZodString;
|
1019
|
-
direction: z.
|
1019
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
1020
1020
|
label: z.ZodOptional<z.ZodString>;
|
1021
1021
|
template: z.ZodAny;
|
1022
1022
|
metadata: z.ZodAny;
|
@@ -1481,7 +1481,7 @@ export declare const instagramContract: {
|
|
1481
1481
|
firstResponseTime: z.ZodNumber;
|
1482
1482
|
isLatest: z.ZodBoolean;
|
1483
1483
|
isBotRoom: z.ZodBoolean;
|
1484
|
-
direction: z.
|
1484
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
1485
1485
|
platformContact: z.ZodObject<{
|
1486
1486
|
id: z.ZodString;
|
1487
1487
|
createdAt: z.ZodDate;
|
@@ -4994,8 +4994,8 @@ export declare const instagramContract: {
|
|
4994
4994
|
updatedAt: z.ZodDate;
|
4995
4995
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4996
4996
|
message: z.ZodString;
|
4997
|
-
direction: z.
|
4998
|
-
type: z.
|
4997
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
4998
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
4999
4999
|
readAt: z.ZodDate;
|
5000
5000
|
metadata: z.ZodAny;
|
5001
5001
|
platformId: z.ZodString;
|
@@ -5653,7 +5653,7 @@ export declare const instagramContract: {
|
|
5653
5653
|
};
|
5654
5654
|
}>;
|
5655
5655
|
}, "strip", z.ZodTypeAny, {
|
5656
|
-
type:
|
5656
|
+
type: string;
|
5657
5657
|
message: string;
|
5658
5658
|
id: string;
|
5659
5659
|
url: string;
|
@@ -5815,7 +5815,7 @@ export declare const instagramContract: {
|
|
5815
5815
|
metadata?: any;
|
5816
5816
|
template?: any;
|
5817
5817
|
}, {
|
5818
|
-
type:
|
5818
|
+
type: string;
|
5819
5819
|
message: string;
|
5820
5820
|
id: string;
|
5821
5821
|
url: string;
|
@@ -6188,8 +6188,8 @@ export declare const instagramContract: {
|
|
6188
6188
|
updatedAt: z.ZodDate;
|
6189
6189
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6190
6190
|
message: z.ZodString;
|
6191
|
-
direction: z.
|
6192
|
-
type: z.
|
6191
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
6192
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
6193
6193
|
readAt: z.ZodDate;
|
6194
6194
|
metadata: z.ZodAny;
|
6195
6195
|
platformId: z.ZodString;
|
@@ -6215,7 +6215,7 @@ export declare const instagramContract: {
|
|
6215
6215
|
firstResponseTime: z.ZodNumber;
|
6216
6216
|
isLatest: z.ZodBoolean;
|
6217
6217
|
isBotRoom: z.ZodBoolean;
|
6218
|
-
direction: z.
|
6218
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
6219
6219
|
platformContact: z.ZodObject<{
|
6220
6220
|
id: z.ZodString;
|
6221
6221
|
createdAt: z.ZodDate;
|
@@ -9731,8 +9731,8 @@ export declare const instagramContract: {
|
|
9731
9731
|
updatedAt: z.ZodDate;
|
9732
9732
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9733
9733
|
message: z.ZodString;
|
9734
|
-
direction: z.
|
9735
|
-
type: z.
|
9734
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
9735
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
9736
9736
|
readAt: z.ZodDate;
|
9737
9737
|
metadata: z.ZodAny;
|
9738
9738
|
platformId: z.ZodString;
|
@@ -10390,7 +10390,7 @@ export declare const instagramContract: {
|
|
10390
10390
|
};
|
10391
10391
|
}>;
|
10392
10392
|
}, "strip", z.ZodTypeAny, {
|
10393
|
-
type:
|
10393
|
+
type: string;
|
10394
10394
|
message: string;
|
10395
10395
|
id: string;
|
10396
10396
|
url: string;
|
@@ -10552,7 +10552,7 @@ export declare const instagramContract: {
|
|
10552
10552
|
metadata?: any;
|
10553
10553
|
template?: any;
|
10554
10554
|
}, {
|
10555
|
-
type:
|
10555
|
+
type: string;
|
10556
10556
|
message: string;
|
10557
10557
|
id: string;
|
10558
10558
|
url: string;
|
@@ -11354,7 +11354,7 @@ export declare const instagramContract: {
|
|
11354
11354
|
editedMessageid: z.ZodString;
|
11355
11355
|
label: z.ZodOptional<z.ZodString>;
|
11356
11356
|
}, "strip", z.ZodTypeAny, {
|
11357
|
-
type:
|
11357
|
+
type: string;
|
11358
11358
|
message: string;
|
11359
11359
|
id: string;
|
11360
11360
|
url: string;
|
@@ -11916,7 +11916,7 @@ export declare const instagramContract: {
|
|
11916
11916
|
previewUrl: string;
|
11917
11917
|
imageSetId: string;
|
11918
11918
|
repliedMessage: {
|
11919
|
-
type:
|
11919
|
+
type: string;
|
11920
11920
|
message: string;
|
11921
11921
|
id: string;
|
11922
11922
|
url: string;
|
@@ -12127,7 +12127,7 @@ export declare const instagramContract: {
|
|
12127
12127
|
template?: any;
|
12128
12128
|
label?: string | undefined;
|
12129
12129
|
}, {
|
12130
|
-
type:
|
12130
|
+
type: string;
|
12131
12131
|
message: string;
|
12132
12132
|
id: string;
|
12133
12133
|
url: string;
|
@@ -12689,7 +12689,7 @@ export declare const instagramContract: {
|
|
12689
12689
|
previewUrl: string;
|
12690
12690
|
imageSetId: string;
|
12691
12691
|
repliedMessage: {
|
12692
|
-
type:
|
12692
|
+
type: string;
|
12693
12693
|
message: string;
|
12694
12694
|
id: string;
|
12695
12695
|
url: string;
|
@@ -12901,7 +12901,7 @@ export declare const instagramContract: {
|
|
12901
12901
|
label?: string | undefined;
|
12902
12902
|
}>>>;
|
12903
12903
|
}, "strip", z.ZodTypeAny, {
|
12904
|
-
type:
|
12904
|
+
type: string;
|
12905
12905
|
message: string;
|
12906
12906
|
id: string;
|
12907
12907
|
url: string;
|
@@ -13463,7 +13463,7 @@ export declare const instagramContract: {
|
|
13463
13463
|
previewUrl: string;
|
13464
13464
|
imageSetId: string;
|
13465
13465
|
repliedMessage: {
|
13466
|
-
type:
|
13466
|
+
type: string;
|
13467
13467
|
message: string;
|
13468
13468
|
id: string;
|
13469
13469
|
url: string;
|
@@ -13674,7 +13674,7 @@ export declare const instagramContract: {
|
|
13674
13674
|
template?: any;
|
13675
13675
|
metadata?: any;
|
13676
13676
|
fromMessage?: {
|
13677
|
-
type:
|
13677
|
+
type: string;
|
13678
13678
|
message: string;
|
13679
13679
|
id: string;
|
13680
13680
|
url: string;
|
@@ -14236,7 +14236,7 @@ export declare const instagramContract: {
|
|
14236
14236
|
previewUrl: string;
|
14237
14237
|
imageSetId: string;
|
14238
14238
|
repliedMessage: {
|
14239
|
-
type:
|
14239
|
+
type: string;
|
14240
14240
|
message: string;
|
14241
14241
|
id: string;
|
14242
14242
|
url: string;
|
@@ -14448,7 +14448,7 @@ export declare const instagramContract: {
|
|
14448
14448
|
label?: string | undefined;
|
14449
14449
|
} | null | undefined;
|
14450
14450
|
}, {
|
14451
|
-
type:
|
14451
|
+
type: string;
|
14452
14452
|
message: string;
|
14453
14453
|
id: string;
|
14454
14454
|
url: string;
|
@@ -15010,7 +15010,7 @@ export declare const instagramContract: {
|
|
15010
15010
|
previewUrl: string;
|
15011
15011
|
imageSetId: string;
|
15012
15012
|
repliedMessage: {
|
15013
|
-
type:
|
15013
|
+
type: string;
|
15014
15014
|
message: string;
|
15015
15015
|
id: string;
|
15016
15016
|
url: string;
|
@@ -15221,7 +15221,7 @@ export declare const instagramContract: {
|
|
15221
15221
|
template?: any;
|
15222
15222
|
metadata?: any;
|
15223
15223
|
fromMessage?: {
|
15224
|
-
type:
|
15224
|
+
type: string;
|
15225
15225
|
message: string;
|
15226
15226
|
id: string;
|
15227
15227
|
url: string;
|
@@ -15783,7 +15783,7 @@ export declare const instagramContract: {
|
|
15783
15783
|
previewUrl: string;
|
15784
15784
|
imageSetId: string;
|
15785
15785
|
repliedMessage: {
|
15786
|
-
type:
|
15786
|
+
type: string;
|
15787
15787
|
message: string;
|
15788
15788
|
id: string;
|
15789
15789
|
url: string;
|
@@ -15997,7 +15997,7 @@ export declare const instagramContract: {
|
|
15997
15997
|
}>;
|
15998
15998
|
}, "strip", z.ZodTypeAny, {
|
15999
15999
|
data: {
|
16000
|
-
type:
|
16000
|
+
type: string;
|
16001
16001
|
message: string;
|
16002
16002
|
id: string;
|
16003
16003
|
url: string;
|
@@ -16559,7 +16559,7 @@ export declare const instagramContract: {
|
|
16559
16559
|
previewUrl: string;
|
16560
16560
|
imageSetId: string;
|
16561
16561
|
repliedMessage: {
|
16562
|
-
type:
|
16562
|
+
type: string;
|
16563
16563
|
message: string;
|
16564
16564
|
id: string;
|
16565
16565
|
url: string;
|
@@ -16770,7 +16770,7 @@ export declare const instagramContract: {
|
|
16770
16770
|
template?: any;
|
16771
16771
|
metadata?: any;
|
16772
16772
|
fromMessage?: {
|
16773
|
-
type:
|
16773
|
+
type: string;
|
16774
16774
|
message: string;
|
16775
16775
|
id: string;
|
16776
16776
|
url: string;
|
@@ -17332,7 +17332,7 @@ export declare const instagramContract: {
|
|
17332
17332
|
previewUrl: string;
|
17333
17333
|
imageSetId: string;
|
17334
17334
|
repliedMessage: {
|
17335
|
-
type:
|
17335
|
+
type: string;
|
17336
17336
|
message: string;
|
17337
17337
|
id: string;
|
17338
17338
|
url: string;
|
@@ -17547,7 +17547,7 @@ export declare const instagramContract: {
|
|
17547
17547
|
requestId: string;
|
17548
17548
|
}, {
|
17549
17549
|
data: {
|
17550
|
-
type:
|
17550
|
+
type: string;
|
17551
17551
|
message: string;
|
17552
17552
|
id: string;
|
17553
17553
|
url: string;
|
@@ -18109,7 +18109,7 @@ export declare const instagramContract: {
|
|
18109
18109
|
previewUrl: string;
|
18110
18110
|
imageSetId: string;
|
18111
18111
|
repliedMessage: {
|
18112
|
-
type:
|
18112
|
+
type: string;
|
18113
18113
|
message: string;
|
18114
18114
|
id: string;
|
18115
18115
|
url: string;
|
@@ -18320,7 +18320,7 @@ export declare const instagramContract: {
|
|
18320
18320
|
template?: any;
|
18321
18321
|
metadata?: any;
|
18322
18322
|
fromMessage?: {
|
18323
|
-
type:
|
18323
|
+
type: string;
|
18324
18324
|
message: string;
|
18325
18325
|
id: string;
|
18326
18326
|
url: string;
|
@@ -18882,7 +18882,7 @@ export declare const instagramContract: {
|
|
18882
18882
|
previewUrl: string;
|
18883
18883
|
imageSetId: string;
|
18884
18884
|
repliedMessage: {
|
18885
|
-
type:
|
18885
|
+
type: string;
|
18886
18886
|
message: string;
|
18887
18887
|
id: string;
|
18888
18888
|
url: string;
|