@kl1/contracts 1.3.44 → 1.3.46
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 +2 -833
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +0 -10
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +211 -233
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +63 -60
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +69 -85
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +4687 -5915
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +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 +0 -1
- 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 +430 -0
- 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 +3 -0
- 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 +3 -0
- 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 +1602 -1608
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1601 -1607
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -14,7 +14,7 @@ export declare const whatsappContract: {
|
|
14
14
|
lastMessage: z.ZodOptional<z.ZodString>;
|
15
15
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
16
16
|
isLatest: z.ZodBoolean;
|
17
|
-
direction: z.
|
17
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
18
18
|
metadata: z.ZodOptional<z.ZodAny>;
|
19
19
|
createdAt: z.ZodString;
|
20
20
|
updatedAt: z.ZodString;
|
@@ -607,8 +607,8 @@ export declare const whatsappContract: {
|
|
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.ZodEnum<["incoming", "outgoing", "system"]>;
|
611
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
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 whatsappContract: {
|
|
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: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
668
668
|
direction: "incoming" | "outgoing" | "system";
|
669
669
|
id?: string | undefined;
|
670
670
|
message?: string | undefined;
|
@@ -699,7 +699,7 @@ export declare const whatsappContract: {
|
|
699
699
|
editedAt?: string | Date | null | undefined;
|
700
700
|
label?: string | undefined;
|
701
701
|
}, {
|
702
|
-
type:
|
702
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
703
703
|
direction: "incoming" | "outgoing" | "system";
|
704
704
|
id?: string | undefined;
|
705
705
|
message?: string | undefined;
|
@@ -736,7 +736,7 @@ export declare const whatsappContract: {
|
|
736
736
|
}>;
|
737
737
|
}, "strip", z.ZodTypeAny, {
|
738
738
|
message: {
|
739
|
-
type:
|
739
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
740
740
|
direction: "incoming" | "outgoing" | "system";
|
741
741
|
id?: string | undefined;
|
742
742
|
message?: string | undefined;
|
@@ -871,7 +871,7 @@ export declare const whatsappContract: {
|
|
871
871
|
isBot: boolean | null;
|
872
872
|
}, {
|
873
873
|
message: {
|
874
|
-
type:
|
874
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
875
875
|
direction: "incoming" | "outgoing" | "system";
|
876
876
|
id?: string | undefined;
|
877
877
|
message?: string | undefined;
|
@@ -1010,11 +1010,11 @@ export declare const whatsappContract: {
|
|
1010
1010
|
200: z.ZodObject<{
|
1011
1011
|
requestId: z.ZodString;
|
1012
1012
|
data: z.ZodObject<{
|
1013
|
-
type: z.
|
1013
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
1014
1014
|
message: z.ZodString;
|
1015
1015
|
id: z.ZodString;
|
1016
1016
|
url: z.ZodString;
|
1017
|
-
direction: z.
|
1017
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1018
1018
|
label: z.ZodOptional<z.ZodString>;
|
1019
1019
|
template: z.ZodAny;
|
1020
1020
|
metadata: z.ZodAny;
|
@@ -1479,7 +1479,7 @@ export declare const whatsappContract: {
|
|
1479
1479
|
firstResponseTime: z.ZodNumber;
|
1480
1480
|
isLatest: z.ZodBoolean;
|
1481
1481
|
isBotRoom: z.ZodBoolean;
|
1482
|
-
direction: z.
|
1482
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1483
1483
|
platformContact: z.ZodObject<{
|
1484
1484
|
id: z.ZodString;
|
1485
1485
|
createdAt: z.ZodDate;
|
@@ -4992,8 +4992,8 @@ export declare const whatsappContract: {
|
|
4992
4992
|
updatedAt: z.ZodDate;
|
4993
4993
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4994
4994
|
message: z.ZodString;
|
4995
|
-
direction: z.
|
4996
|
-
type: z.
|
4995
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4996
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
4997
4997
|
readAt: z.ZodDate;
|
4998
4998
|
metadata: z.ZodAny;
|
4999
4999
|
platformId: z.ZodString;
|
@@ -5651,7 +5651,7 @@ export declare const whatsappContract: {
|
|
5651
5651
|
};
|
5652
5652
|
}>;
|
5653
5653
|
}, "strip", z.ZodTypeAny, {
|
5654
|
-
type:
|
5654
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
5655
5655
|
message: string;
|
5656
5656
|
id: string;
|
5657
5657
|
url: string;
|
@@ -5813,7 +5813,7 @@ export declare const whatsappContract: {
|
|
5813
5813
|
metadata?: any;
|
5814
5814
|
template?: any;
|
5815
5815
|
}, {
|
5816
|
-
type:
|
5816
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
5817
5817
|
message: string;
|
5818
5818
|
id: string;
|
5819
5819
|
url: string;
|
@@ -6186,8 +6186,8 @@ export declare const whatsappContract: {
|
|
6186
6186
|
updatedAt: z.ZodDate;
|
6187
6187
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6188
6188
|
message: z.ZodString;
|
6189
|
-
direction: z.
|
6190
|
-
type: z.
|
6189
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6190
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
6191
6191
|
readAt: z.ZodDate;
|
6192
6192
|
metadata: z.ZodAny;
|
6193
6193
|
platformId: z.ZodString;
|
@@ -6213,7 +6213,7 @@ export declare const whatsappContract: {
|
|
6213
6213
|
firstResponseTime: z.ZodNumber;
|
6214
6214
|
isLatest: z.ZodBoolean;
|
6215
6215
|
isBotRoom: z.ZodBoolean;
|
6216
|
-
direction: z.
|
6216
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6217
6217
|
platformContact: z.ZodObject<{
|
6218
6218
|
id: z.ZodString;
|
6219
6219
|
createdAt: z.ZodDate;
|
@@ -9729,8 +9729,8 @@ export declare const whatsappContract: {
|
|
9729
9729
|
updatedAt: z.ZodDate;
|
9730
9730
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9731
9731
|
message: z.ZodString;
|
9732
|
-
direction: z.
|
9733
|
-
type: z.
|
9732
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
9733
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
9734
9734
|
readAt: z.ZodDate;
|
9735
9735
|
metadata: z.ZodAny;
|
9736
9736
|
platformId: z.ZodString;
|
@@ -10388,7 +10388,7 @@ export declare const whatsappContract: {
|
|
10388
10388
|
};
|
10389
10389
|
}>;
|
10390
10390
|
}, "strip", z.ZodTypeAny, {
|
10391
|
-
type:
|
10391
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
10392
10392
|
message: string;
|
10393
10393
|
id: string;
|
10394
10394
|
url: string;
|
@@ -10550,7 +10550,7 @@ export declare const whatsappContract: {
|
|
10550
10550
|
metadata?: any;
|
10551
10551
|
template?: any;
|
10552
10552
|
}, {
|
10553
|
-
type:
|
10553
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
10554
10554
|
message: string;
|
10555
10555
|
id: string;
|
10556
10556
|
url: string;
|
@@ -11352,7 +11352,7 @@ export declare const whatsappContract: {
|
|
11352
11352
|
editedMessageid: z.ZodString;
|
11353
11353
|
label: z.ZodOptional<z.ZodString>;
|
11354
11354
|
}, "strip", z.ZodTypeAny, {
|
11355
|
-
type:
|
11355
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
11356
11356
|
message: string;
|
11357
11357
|
id: string;
|
11358
11358
|
url: string;
|
@@ -11914,7 +11914,7 @@ export declare const whatsappContract: {
|
|
11914
11914
|
previewUrl: string;
|
11915
11915
|
imageSetId: string;
|
11916
11916
|
repliedMessage: {
|
11917
|
-
type:
|
11917
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
11918
11918
|
message: string;
|
11919
11919
|
id: string;
|
11920
11920
|
url: string;
|
@@ -12125,7 +12125,7 @@ export declare const whatsappContract: {
|
|
12125
12125
|
template?: any;
|
12126
12126
|
label?: string | undefined;
|
12127
12127
|
}, {
|
12128
|
-
type:
|
12128
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
12129
12129
|
message: string;
|
12130
12130
|
id: string;
|
12131
12131
|
url: string;
|
@@ -12687,7 +12687,7 @@ export declare const whatsappContract: {
|
|
12687
12687
|
previewUrl: string;
|
12688
12688
|
imageSetId: string;
|
12689
12689
|
repliedMessage: {
|
12690
|
-
type:
|
12690
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
12691
12691
|
message: string;
|
12692
12692
|
id: string;
|
12693
12693
|
url: string;
|
@@ -12899,7 +12899,7 @@ export declare const whatsappContract: {
|
|
12899
12899
|
label?: string | undefined;
|
12900
12900
|
}>>>;
|
12901
12901
|
}, "strip", z.ZodTypeAny, {
|
12902
|
-
type:
|
12902
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
12903
12903
|
message: string;
|
12904
12904
|
id: string;
|
12905
12905
|
url: string;
|
@@ -13461,7 +13461,7 @@ export declare const whatsappContract: {
|
|
13461
13461
|
previewUrl: string;
|
13462
13462
|
imageSetId: string;
|
13463
13463
|
repliedMessage: {
|
13464
|
-
type:
|
13464
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
13465
13465
|
message: string;
|
13466
13466
|
id: string;
|
13467
13467
|
url: string;
|
@@ -13672,7 +13672,7 @@ export declare const whatsappContract: {
|
|
13672
13672
|
template?: any;
|
13673
13673
|
metadata?: any;
|
13674
13674
|
fromMessage?: {
|
13675
|
-
type:
|
13675
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
13676
13676
|
message: string;
|
13677
13677
|
id: string;
|
13678
13678
|
url: string;
|
@@ -14234,7 +14234,7 @@ export declare const whatsappContract: {
|
|
14234
14234
|
previewUrl: string;
|
14235
14235
|
imageSetId: string;
|
14236
14236
|
repliedMessage: {
|
14237
|
-
type:
|
14237
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
14238
14238
|
message: string;
|
14239
14239
|
id: string;
|
14240
14240
|
url: string;
|
@@ -14446,7 +14446,7 @@ export declare const whatsappContract: {
|
|
14446
14446
|
label?: string | undefined;
|
14447
14447
|
} | null | undefined;
|
14448
14448
|
}, {
|
14449
|
-
type:
|
14449
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
14450
14450
|
message: string;
|
14451
14451
|
id: string;
|
14452
14452
|
url: string;
|
@@ -15008,7 +15008,7 @@ export declare const whatsappContract: {
|
|
15008
15008
|
previewUrl: string;
|
15009
15009
|
imageSetId: string;
|
15010
15010
|
repliedMessage: {
|
15011
|
-
type:
|
15011
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
15012
15012
|
message: string;
|
15013
15013
|
id: string;
|
15014
15014
|
url: string;
|
@@ -15219,7 +15219,7 @@ export declare const whatsappContract: {
|
|
15219
15219
|
template?: any;
|
15220
15220
|
metadata?: any;
|
15221
15221
|
fromMessage?: {
|
15222
|
-
type:
|
15222
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
15223
15223
|
message: string;
|
15224
15224
|
id: string;
|
15225
15225
|
url: string;
|
@@ -15781,7 +15781,7 @@ export declare const whatsappContract: {
|
|
15781
15781
|
previewUrl: string;
|
15782
15782
|
imageSetId: string;
|
15783
15783
|
repliedMessage: {
|
15784
|
-
type:
|
15784
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
15785
15785
|
message: string;
|
15786
15786
|
id: string;
|
15787
15787
|
url: string;
|
@@ -15995,7 +15995,7 @@ export declare const whatsappContract: {
|
|
15995
15995
|
}>;
|
15996
15996
|
}, "strip", z.ZodTypeAny, {
|
15997
15997
|
data: {
|
15998
|
-
type:
|
15998
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
15999
15999
|
message: string;
|
16000
16000
|
id: string;
|
16001
16001
|
url: string;
|
@@ -16557,7 +16557,7 @@ export declare const whatsappContract: {
|
|
16557
16557
|
previewUrl: string;
|
16558
16558
|
imageSetId: string;
|
16559
16559
|
repliedMessage: {
|
16560
|
-
type:
|
16560
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
16561
16561
|
message: string;
|
16562
16562
|
id: string;
|
16563
16563
|
url: string;
|
@@ -16768,7 +16768,7 @@ export declare const whatsappContract: {
|
|
16768
16768
|
template?: any;
|
16769
16769
|
metadata?: any;
|
16770
16770
|
fromMessage?: {
|
16771
|
-
type:
|
16771
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
16772
16772
|
message: string;
|
16773
16773
|
id: string;
|
16774
16774
|
url: string;
|
@@ -17330,7 +17330,7 @@ export declare const whatsappContract: {
|
|
17330
17330
|
previewUrl: string;
|
17331
17331
|
imageSetId: string;
|
17332
17332
|
repliedMessage: {
|
17333
|
-
type:
|
17333
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
17334
17334
|
message: string;
|
17335
17335
|
id: string;
|
17336
17336
|
url: string;
|
@@ -17545,7 +17545,7 @@ export declare const whatsappContract: {
|
|
17545
17545
|
requestId: string;
|
17546
17546
|
}, {
|
17547
17547
|
data: {
|
17548
|
-
type:
|
17548
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
17549
17549
|
message: string;
|
17550
17550
|
id: string;
|
17551
17551
|
url: string;
|
@@ -18107,7 +18107,7 @@ export declare const whatsappContract: {
|
|
18107
18107
|
previewUrl: string;
|
18108
18108
|
imageSetId: string;
|
18109
18109
|
repliedMessage: {
|
18110
|
-
type:
|
18110
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
18111
18111
|
message: string;
|
18112
18112
|
id: string;
|
18113
18113
|
url: string;
|
@@ -18318,7 +18318,7 @@ export declare const whatsappContract: {
|
|
18318
18318
|
template?: any;
|
18319
18319
|
metadata?: any;
|
18320
18320
|
fromMessage?: {
|
18321
|
-
type:
|
18321
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
18322
18322
|
message: string;
|
18323
18323
|
id: string;
|
18324
18324
|
url: string;
|
@@ -18880,7 +18880,7 @@ export declare const whatsappContract: {
|
|
18880
18880
|
previewUrl: string;
|
18881
18881
|
imageSetId: string;
|
18882
18882
|
repliedMessage: {
|
18883
|
-
type:
|
18883
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
18884
18884
|
message: string;
|
18885
18885
|
id: string;
|
18886
18886
|
url: string;
|
@@ -37,7 +37,7 @@ export declare const chatContract: {
|
|
37
37
|
firstResponseTime: z.ZodNumber;
|
38
38
|
isLatest: z.ZodBoolean;
|
39
39
|
isBotRoom: z.ZodBoolean;
|
40
|
-
direction: z.
|
40
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
41
41
|
platformContact: z.ZodObject<{
|
42
42
|
id: z.ZodString;
|
43
43
|
createdAt: z.ZodDate;
|
@@ -4440,8 +4440,8 @@ export declare const chatContract: {
|
|
4440
4440
|
updatedAt: z.ZodDate;
|
4441
4441
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4442
4442
|
message: z.ZodString;
|
4443
|
-
direction: z.
|
4444
|
-
type: z.
|
4443
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4444
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
4445
4445
|
readAt: z.ZodDate;
|
4446
4446
|
metadata: z.ZodAny;
|
4447
4447
|
platformId: z.ZodString;
|
@@ -4467,7 +4467,7 @@ export declare const chatContract: {
|
|
4467
4467
|
firstResponseTime: z.ZodNumber;
|
4468
4468
|
isLatest: z.ZodBoolean;
|
4469
4469
|
isBotRoom: z.ZodBoolean;
|
4470
|
-
direction: z.
|
4470
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4471
4471
|
platformContact: z.ZodObject<{
|
4472
4472
|
id: z.ZodString;
|
4473
4473
|
createdAt: z.ZodDate;
|
@@ -7983,8 +7983,8 @@ export declare const chatContract: {
|
|
7983
7983
|
updatedAt: z.ZodDate;
|
7984
7984
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7985
7985
|
message: z.ZodString;
|
7986
|
-
direction: z.
|
7987
|
-
type: z.
|
7986
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
7987
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
7988
7988
|
readAt: z.ZodDate;
|
7989
7989
|
metadata: z.ZodAny;
|
7990
7990
|
platformId: z.ZodString;
|
@@ -8642,7 +8642,7 @@ export declare const chatContract: {
|
|
8642
8642
|
};
|
8643
8643
|
}>;
|
8644
8644
|
}, "strip", z.ZodTypeAny, {
|
8645
|
-
type:
|
8645
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
8646
8646
|
message: string;
|
8647
8647
|
id: string;
|
8648
8648
|
url: string;
|
@@ -8804,7 +8804,7 @@ export declare const chatContract: {
|
|
8804
8804
|
metadata?: any;
|
8805
8805
|
template?: any;
|
8806
8806
|
}, {
|
8807
|
-
type:
|
8807
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
8808
8808
|
message: string;
|
8809
8809
|
id: string;
|
8810
8810
|
url: string;
|
@@ -9606,7 +9606,7 @@ export declare const chatContract: {
|
|
9606
9606
|
editedMessageid: z.ZodString;
|
9607
9607
|
label: z.ZodOptional<z.ZodString>;
|
9608
9608
|
}, "strip", z.ZodTypeAny, {
|
9609
|
-
type:
|
9609
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
9610
9610
|
message: string;
|
9611
9611
|
id: string;
|
9612
9612
|
url: string;
|
@@ -10168,7 +10168,7 @@ export declare const chatContract: {
|
|
10168
10168
|
previewUrl: string;
|
10169
10169
|
imageSetId: string;
|
10170
10170
|
repliedMessage: {
|
10171
|
-
type:
|
10171
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
10172
10172
|
message: string;
|
10173
10173
|
id: string;
|
10174
10174
|
url: string;
|
@@ -10379,7 +10379,7 @@ export declare const chatContract: {
|
|
10379
10379
|
template?: any;
|
10380
10380
|
label?: string | undefined;
|
10381
10381
|
}, {
|
10382
|
-
type:
|
10382
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
10383
10383
|
message: string;
|
10384
10384
|
id: string;
|
10385
10385
|
url: string;
|
@@ -10941,7 +10941,7 @@ export declare const chatContract: {
|
|
10941
10941
|
previewUrl: string;
|
10942
10942
|
imageSetId: string;
|
10943
10943
|
repliedMessage: {
|
10944
|
-
type:
|
10944
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
10945
10945
|
message: string;
|
10946
10946
|
id: string;
|
10947
10947
|
url: string;
|
@@ -11154,7 +11154,7 @@ export declare const chatContract: {
|
|
11154
11154
|
}>;
|
11155
11155
|
}, "strip", z.ZodTypeAny, {
|
11156
11156
|
data: {
|
11157
|
-
type:
|
11157
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
11158
11158
|
message: string;
|
11159
11159
|
id: string;
|
11160
11160
|
url: string;
|
@@ -11716,7 +11716,7 @@ export declare const chatContract: {
|
|
11716
11716
|
previewUrl: string;
|
11717
11717
|
imageSetId: string;
|
11718
11718
|
repliedMessage: {
|
11719
|
-
type:
|
11719
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
11720
11720
|
message: string;
|
11721
11721
|
id: string;
|
11722
11722
|
url: string;
|
@@ -11930,7 +11930,7 @@ export declare const chatContract: {
|
|
11930
11930
|
requestId: string;
|
11931
11931
|
}, {
|
11932
11932
|
data: {
|
11933
|
-
type:
|
11933
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
11934
11934
|
message: string;
|
11935
11935
|
id: string;
|
11936
11936
|
url: string;
|
@@ -12492,7 +12492,7 @@ export declare const chatContract: {
|
|
12492
12492
|
previewUrl: string;
|
12493
12493
|
imageSetId: string;
|
12494
12494
|
repliedMessage: {
|
12495
|
-
type:
|
12495
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
12496
12496
|
message: string;
|
12497
12497
|
id: string;
|
12498
12498
|
url: string;
|
@@ -13327,7 +13327,7 @@ export declare const chatContract: {
|
|
13327
13327
|
integrationId: string;
|
13328
13328
|
} | null;
|
13329
13329
|
}>;
|
13330
|
-
direction: z.
|
13330
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
13331
13331
|
status: z.ZodNumber;
|
13332
13332
|
createdAt: z.ZodDate;
|
13333
13333
|
updatedAt: z.ZodDate;
|