@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
@@ -8,7 +8,7 @@ export declare const platformWebchatContract: {
|
|
8
8
|
lastMessage: z.ZodOptional<z.ZodString>;
|
9
9
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
10
10
|
isLatest: z.ZodBoolean;
|
11
|
-
direction: z.
|
11
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
12
12
|
metadata: z.ZodOptional<z.ZodAny>;
|
13
13
|
createdAt: z.ZodString;
|
14
14
|
updatedAt: z.ZodString;
|
@@ -604,8 +604,8 @@ export declare const platformWebchatContract: {
|
|
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 platformWebchatContract: {
|
|
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 platformWebchatContract: {
|
|
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 platformWebchatContract: {
|
|
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;
|
@@ -869,7 +869,7 @@ export declare const platformWebchatContract: {
|
|
869
869
|
isBot: boolean | null;
|
870
870
|
}, {
|
871
871
|
message: {
|
872
|
-
type:
|
872
|
+
type: string;
|
873
873
|
direction: "incoming" | "outgoing" | "system";
|
874
874
|
id?: string | undefined;
|
875
875
|
message?: string | undefined;
|
@@ -1009,11 +1009,11 @@ export declare const platformWebchatContract: {
|
|
1009
1009
|
200: z.ZodObject<{
|
1010
1010
|
requestId: z.ZodString;
|
1011
1011
|
data: z.ZodObject<{
|
1012
|
-
type: z.
|
1012
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
1013
1013
|
message: z.ZodString;
|
1014
1014
|
id: z.ZodString;
|
1015
1015
|
url: z.ZodString;
|
1016
|
-
direction: z.
|
1016
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
1017
1017
|
label: z.ZodOptional<z.ZodString>;
|
1018
1018
|
template: z.ZodAny;
|
1019
1019
|
metadata: z.ZodAny;
|
@@ -1478,7 +1478,7 @@ export declare const platformWebchatContract: {
|
|
1478
1478
|
firstResponseTime: z.ZodNumber;
|
1479
1479
|
isLatest: z.ZodBoolean;
|
1480
1480
|
isBotRoom: z.ZodBoolean;
|
1481
|
-
direction: z.
|
1481
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
1482
1482
|
platformContact: z.ZodObject<{
|
1483
1483
|
id: z.ZodString;
|
1484
1484
|
createdAt: z.ZodDate;
|
@@ -4991,8 +4991,8 @@ export declare const platformWebchatContract: {
|
|
4991
4991
|
updatedAt: z.ZodDate;
|
4992
4992
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4993
4993
|
message: z.ZodString;
|
4994
|
-
direction: z.
|
4995
|
-
type: z.
|
4994
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
4995
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
4996
4996
|
readAt: z.ZodDate;
|
4997
4997
|
metadata: z.ZodAny;
|
4998
4998
|
platformId: z.ZodString;
|
@@ -5650,7 +5650,7 @@ export declare const platformWebchatContract: {
|
|
5650
5650
|
};
|
5651
5651
|
}>;
|
5652
5652
|
}, "strip", z.ZodTypeAny, {
|
5653
|
-
type:
|
5653
|
+
type: string;
|
5654
5654
|
message: string;
|
5655
5655
|
id: string;
|
5656
5656
|
url: string;
|
@@ -5812,7 +5812,7 @@ export declare const platformWebchatContract: {
|
|
5812
5812
|
metadata?: any;
|
5813
5813
|
template?: any;
|
5814
5814
|
}, {
|
5815
|
-
type:
|
5815
|
+
type: string;
|
5816
5816
|
message: string;
|
5817
5817
|
id: string;
|
5818
5818
|
url: string;
|
@@ -6185,8 +6185,8 @@ export declare const platformWebchatContract: {
|
|
6185
6185
|
updatedAt: z.ZodDate;
|
6186
6186
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6187
6187
|
message: z.ZodString;
|
6188
|
-
direction: z.
|
6189
|
-
type: z.
|
6188
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
6189
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
6190
6190
|
readAt: z.ZodDate;
|
6191
6191
|
metadata: z.ZodAny;
|
6192
6192
|
platformId: z.ZodString;
|
@@ -6212,7 +6212,7 @@ export declare const platformWebchatContract: {
|
|
6212
6212
|
firstResponseTime: z.ZodNumber;
|
6213
6213
|
isLatest: z.ZodBoolean;
|
6214
6214
|
isBotRoom: z.ZodBoolean;
|
6215
|
-
direction: z.
|
6215
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
6216
6216
|
platformContact: z.ZodObject<{
|
6217
6217
|
id: z.ZodString;
|
6218
6218
|
createdAt: z.ZodDate;
|
@@ -9728,8 +9728,8 @@ export declare const platformWebchatContract: {
|
|
9728
9728
|
updatedAt: z.ZodDate;
|
9729
9729
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9730
9730
|
message: z.ZodString;
|
9731
|
-
direction: z.
|
9732
|
-
type: z.
|
9731
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
9732
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
9733
9733
|
readAt: z.ZodDate;
|
9734
9734
|
metadata: z.ZodAny;
|
9735
9735
|
platformId: z.ZodString;
|
@@ -10387,7 +10387,7 @@ export declare const platformWebchatContract: {
|
|
10387
10387
|
};
|
10388
10388
|
}>;
|
10389
10389
|
}, "strip", z.ZodTypeAny, {
|
10390
|
-
type:
|
10390
|
+
type: string;
|
10391
10391
|
message: string;
|
10392
10392
|
id: string;
|
10393
10393
|
url: string;
|
@@ -10549,7 +10549,7 @@ export declare const platformWebchatContract: {
|
|
10549
10549
|
metadata?: any;
|
10550
10550
|
template?: any;
|
10551
10551
|
}, {
|
10552
|
-
type:
|
10552
|
+
type: string;
|
10553
10553
|
message: string;
|
10554
10554
|
id: string;
|
10555
10555
|
url: string;
|
@@ -11351,7 +11351,7 @@ export declare const platformWebchatContract: {
|
|
11351
11351
|
editedMessageid: z.ZodString;
|
11352
11352
|
label: z.ZodOptional<z.ZodString>;
|
11353
11353
|
}, "strip", z.ZodTypeAny, {
|
11354
|
-
type:
|
11354
|
+
type: string;
|
11355
11355
|
message: string;
|
11356
11356
|
id: string;
|
11357
11357
|
url: string;
|
@@ -11913,7 +11913,7 @@ export declare const platformWebchatContract: {
|
|
11913
11913
|
previewUrl: string;
|
11914
11914
|
imageSetId: string;
|
11915
11915
|
repliedMessage: {
|
11916
|
-
type:
|
11916
|
+
type: string;
|
11917
11917
|
message: string;
|
11918
11918
|
id: string;
|
11919
11919
|
url: string;
|
@@ -12124,7 +12124,7 @@ export declare const platformWebchatContract: {
|
|
12124
12124
|
template?: any;
|
12125
12125
|
label?: string | undefined;
|
12126
12126
|
}, {
|
12127
|
-
type:
|
12127
|
+
type: string;
|
12128
12128
|
message: string;
|
12129
12129
|
id: string;
|
12130
12130
|
url: string;
|
@@ -12686,7 +12686,7 @@ export declare const platformWebchatContract: {
|
|
12686
12686
|
previewUrl: string;
|
12687
12687
|
imageSetId: string;
|
12688
12688
|
repliedMessage: {
|
12689
|
-
type:
|
12689
|
+
type: string;
|
12690
12690
|
message: string;
|
12691
12691
|
id: string;
|
12692
12692
|
url: string;
|
@@ -12898,7 +12898,7 @@ export declare const platformWebchatContract: {
|
|
12898
12898
|
label?: string | undefined;
|
12899
12899
|
}>>>;
|
12900
12900
|
}, "strip", z.ZodTypeAny, {
|
12901
|
-
type:
|
12901
|
+
type: string;
|
12902
12902
|
message: string;
|
12903
12903
|
id: string;
|
12904
12904
|
url: string;
|
@@ -13460,7 +13460,7 @@ export declare const platformWebchatContract: {
|
|
13460
13460
|
previewUrl: string;
|
13461
13461
|
imageSetId: string;
|
13462
13462
|
repliedMessage: {
|
13463
|
-
type:
|
13463
|
+
type: string;
|
13464
13464
|
message: string;
|
13465
13465
|
id: string;
|
13466
13466
|
url: string;
|
@@ -13671,7 +13671,7 @@ export declare const platformWebchatContract: {
|
|
13671
13671
|
template?: any;
|
13672
13672
|
metadata?: any;
|
13673
13673
|
fromMessage?: {
|
13674
|
-
type:
|
13674
|
+
type: string;
|
13675
13675
|
message: string;
|
13676
13676
|
id: string;
|
13677
13677
|
url: string;
|
@@ -14233,7 +14233,7 @@ export declare const platformWebchatContract: {
|
|
14233
14233
|
previewUrl: string;
|
14234
14234
|
imageSetId: string;
|
14235
14235
|
repliedMessage: {
|
14236
|
-
type:
|
14236
|
+
type: string;
|
14237
14237
|
message: string;
|
14238
14238
|
id: string;
|
14239
14239
|
url: string;
|
@@ -14445,7 +14445,7 @@ export declare const platformWebchatContract: {
|
|
14445
14445
|
label?: string | undefined;
|
14446
14446
|
} | null | undefined;
|
14447
14447
|
}, {
|
14448
|
-
type:
|
14448
|
+
type: string;
|
14449
14449
|
message: string;
|
14450
14450
|
id: string;
|
14451
14451
|
url: string;
|
@@ -15007,7 +15007,7 @@ export declare const platformWebchatContract: {
|
|
15007
15007
|
previewUrl: string;
|
15008
15008
|
imageSetId: string;
|
15009
15009
|
repliedMessage: {
|
15010
|
-
type:
|
15010
|
+
type: string;
|
15011
15011
|
message: string;
|
15012
15012
|
id: string;
|
15013
15013
|
url: string;
|
@@ -15218,7 +15218,7 @@ export declare const platformWebchatContract: {
|
|
15218
15218
|
template?: any;
|
15219
15219
|
metadata?: any;
|
15220
15220
|
fromMessage?: {
|
15221
|
-
type:
|
15221
|
+
type: string;
|
15222
15222
|
message: string;
|
15223
15223
|
id: string;
|
15224
15224
|
url: string;
|
@@ -15780,7 +15780,7 @@ export declare const platformWebchatContract: {
|
|
15780
15780
|
previewUrl: string;
|
15781
15781
|
imageSetId: string;
|
15782
15782
|
repliedMessage: {
|
15783
|
-
type:
|
15783
|
+
type: string;
|
15784
15784
|
message: string;
|
15785
15785
|
id: string;
|
15786
15786
|
url: string;
|
@@ -15994,7 +15994,7 @@ export declare const platformWebchatContract: {
|
|
15994
15994
|
}>;
|
15995
15995
|
}, "strip", z.ZodTypeAny, {
|
15996
15996
|
data: {
|
15997
|
-
type:
|
15997
|
+
type: string;
|
15998
15998
|
message: string;
|
15999
15999
|
id: string;
|
16000
16000
|
url: string;
|
@@ -16556,7 +16556,7 @@ export declare const platformWebchatContract: {
|
|
16556
16556
|
previewUrl: string;
|
16557
16557
|
imageSetId: string;
|
16558
16558
|
repliedMessage: {
|
16559
|
-
type:
|
16559
|
+
type: string;
|
16560
16560
|
message: string;
|
16561
16561
|
id: string;
|
16562
16562
|
url: string;
|
@@ -16767,7 +16767,7 @@ export declare const platformWebchatContract: {
|
|
16767
16767
|
template?: any;
|
16768
16768
|
metadata?: any;
|
16769
16769
|
fromMessage?: {
|
16770
|
-
type:
|
16770
|
+
type: string;
|
16771
16771
|
message: string;
|
16772
16772
|
id: string;
|
16773
16773
|
url: string;
|
@@ -17329,7 +17329,7 @@ export declare const platformWebchatContract: {
|
|
17329
17329
|
previewUrl: string;
|
17330
17330
|
imageSetId: string;
|
17331
17331
|
repliedMessage: {
|
17332
|
-
type:
|
17332
|
+
type: string;
|
17333
17333
|
message: string;
|
17334
17334
|
id: string;
|
17335
17335
|
url: string;
|
@@ -17544,7 +17544,7 @@ export declare const platformWebchatContract: {
|
|
17544
17544
|
requestId: string;
|
17545
17545
|
}, {
|
17546
17546
|
data: {
|
17547
|
-
type:
|
17547
|
+
type: string;
|
17548
17548
|
message: string;
|
17549
17549
|
id: string;
|
17550
17550
|
url: string;
|
@@ -18106,7 +18106,7 @@ export declare const platformWebchatContract: {
|
|
18106
18106
|
previewUrl: string;
|
18107
18107
|
imageSetId: string;
|
18108
18108
|
repliedMessage: {
|
18109
|
-
type:
|
18109
|
+
type: string;
|
18110
18110
|
message: string;
|
18111
18111
|
id: string;
|
18112
18112
|
url: string;
|
@@ -18317,7 +18317,7 @@ export declare const platformWebchatContract: {
|
|
18317
18317
|
template?: any;
|
18318
18318
|
metadata?: any;
|
18319
18319
|
fromMessage?: {
|
18320
|
-
type:
|
18320
|
+
type: string;
|
18321
18321
|
message: string;
|
18322
18322
|
id: string;
|
18323
18323
|
url: string;
|
@@ -18879,7 +18879,7 @@ export declare const platformWebchatContract: {
|
|
18879
18879
|
previewUrl: string;
|
18880
18880
|
imageSetId: string;
|
18881
18881
|
repliedMessage: {
|
18882
|
-
type:
|
18882
|
+
type: string;
|
18883
18883
|
message: string;
|
18884
18884
|
id: string;
|
18885
18885
|
url: string;
|