@kl1/contracts 1.3.41 → 1.3.42
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/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 -5926
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +1 -12
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +1 -4
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +0 -3
- 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 +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 +1604 -1612
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1603 -1611
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -15,7 +15,7 @@ export declare const messengerContract: {
|
|
15
15
|
lastMessage: z.ZodOptional<z.ZodString>;
|
16
16
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
17
17
|
isLatest: z.ZodBoolean;
|
18
|
-
direction: z.
|
18
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
19
19
|
metadata: z.ZodOptional<z.ZodAny>;
|
20
20
|
createdAt: z.ZodString;
|
21
21
|
updatedAt: z.ZodString;
|
@@ -608,8 +608,8 @@ export declare const messengerContract: {
|
|
608
608
|
message: z.ZodObject<{
|
609
609
|
id: z.ZodOptional<z.ZodString>;
|
610
610
|
message: z.ZodOptional<z.ZodString>;
|
611
|
-
direction: z.
|
612
|
-
type: z.
|
611
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
612
|
+
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"]>;
|
613
613
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
614
614
|
metadata: z.ZodOptional<z.ZodAny>;
|
615
615
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -665,7 +665,7 @@ export declare const messengerContract: {
|
|
665
665
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
666
666
|
label: z.ZodOptional<z.ZodString>;
|
667
667
|
}, "strip", z.ZodTypeAny, {
|
668
|
-
type:
|
668
|
+
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";
|
669
669
|
direction: "incoming" | "outgoing" | "system";
|
670
670
|
id?: string | undefined;
|
671
671
|
message?: string | undefined;
|
@@ -700,7 +700,7 @@ export declare const messengerContract: {
|
|
700
700
|
editedAt?: string | Date | null | undefined;
|
701
701
|
label?: string | undefined;
|
702
702
|
}, {
|
703
|
-
type:
|
703
|
+
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";
|
704
704
|
direction: "incoming" | "outgoing" | "system";
|
705
705
|
id?: string | undefined;
|
706
706
|
message?: string | undefined;
|
@@ -737,7 +737,7 @@ export declare const messengerContract: {
|
|
737
737
|
}>;
|
738
738
|
}, "strip", z.ZodTypeAny, {
|
739
739
|
message: {
|
740
|
-
type:
|
740
|
+
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";
|
741
741
|
direction: "incoming" | "outgoing" | "system";
|
742
742
|
id?: string | undefined;
|
743
743
|
message?: string | undefined;
|
@@ -872,7 +872,7 @@ export declare const messengerContract: {
|
|
872
872
|
isBot: boolean | null;
|
873
873
|
}, {
|
874
874
|
message: {
|
875
|
-
type:
|
875
|
+
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";
|
876
876
|
direction: "incoming" | "outgoing" | "system";
|
877
877
|
id?: string | undefined;
|
878
878
|
message?: string | undefined;
|
@@ -1011,11 +1011,11 @@ export declare const messengerContract: {
|
|
1011
1011
|
200: z.ZodObject<{
|
1012
1012
|
requestId: z.ZodString;
|
1013
1013
|
data: z.ZodObject<{
|
1014
|
-
type: z.
|
1014
|
+
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"]>;
|
1015
1015
|
message: z.ZodString;
|
1016
1016
|
id: z.ZodString;
|
1017
1017
|
url: z.ZodString;
|
1018
|
-
direction: z.
|
1018
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1019
1019
|
label: z.ZodOptional<z.ZodString>;
|
1020
1020
|
template: z.ZodAny;
|
1021
1021
|
metadata: z.ZodAny;
|
@@ -1480,7 +1480,7 @@ export declare const messengerContract: {
|
|
1480
1480
|
firstResponseTime: z.ZodNumber;
|
1481
1481
|
isLatest: z.ZodBoolean;
|
1482
1482
|
isBotRoom: z.ZodBoolean;
|
1483
|
-
direction: z.
|
1483
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1484
1484
|
platformContact: z.ZodObject<{
|
1485
1485
|
id: z.ZodString;
|
1486
1486
|
createdAt: z.ZodDate;
|
@@ -4993,8 +4993,8 @@ export declare const messengerContract: {
|
|
4993
4993
|
updatedAt: z.ZodDate;
|
4994
4994
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4995
4995
|
message: z.ZodString;
|
4996
|
-
direction: z.
|
4997
|
-
type: z.
|
4996
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4997
|
+
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"]>;
|
4998
4998
|
readAt: z.ZodDate;
|
4999
4999
|
metadata: z.ZodAny;
|
5000
5000
|
platformId: z.ZodString;
|
@@ -5652,7 +5652,7 @@ export declare const messengerContract: {
|
|
5652
5652
|
};
|
5653
5653
|
}>;
|
5654
5654
|
}, "strip", z.ZodTypeAny, {
|
5655
|
-
type:
|
5655
|
+
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";
|
5656
5656
|
message: string;
|
5657
5657
|
id: string;
|
5658
5658
|
url: string;
|
@@ -5814,7 +5814,7 @@ export declare const messengerContract: {
|
|
5814
5814
|
metadata?: any;
|
5815
5815
|
template?: any;
|
5816
5816
|
}, {
|
5817
|
-
type:
|
5817
|
+
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";
|
5818
5818
|
message: string;
|
5819
5819
|
id: string;
|
5820
5820
|
url: string;
|
@@ -6187,8 +6187,8 @@ export declare const messengerContract: {
|
|
6187
6187
|
updatedAt: z.ZodDate;
|
6188
6188
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6189
6189
|
message: z.ZodString;
|
6190
|
-
direction: z.
|
6191
|
-
type: z.
|
6190
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6191
|
+
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"]>;
|
6192
6192
|
readAt: z.ZodDate;
|
6193
6193
|
metadata: z.ZodAny;
|
6194
6194
|
platformId: z.ZodString;
|
@@ -6214,7 +6214,7 @@ export declare const messengerContract: {
|
|
6214
6214
|
firstResponseTime: z.ZodNumber;
|
6215
6215
|
isLatest: z.ZodBoolean;
|
6216
6216
|
isBotRoom: z.ZodBoolean;
|
6217
|
-
direction: z.
|
6217
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6218
6218
|
platformContact: z.ZodObject<{
|
6219
6219
|
id: z.ZodString;
|
6220
6220
|
createdAt: z.ZodDate;
|
@@ -9730,8 +9730,8 @@ export declare const messengerContract: {
|
|
9730
9730
|
updatedAt: z.ZodDate;
|
9731
9731
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9732
9732
|
message: z.ZodString;
|
9733
|
-
direction: z.
|
9734
|
-
type: z.
|
9733
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
9734
|
+
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"]>;
|
9735
9735
|
readAt: z.ZodDate;
|
9736
9736
|
metadata: z.ZodAny;
|
9737
9737
|
platformId: z.ZodString;
|
@@ -10389,7 +10389,7 @@ export declare const messengerContract: {
|
|
10389
10389
|
};
|
10390
10390
|
}>;
|
10391
10391
|
}, "strip", z.ZodTypeAny, {
|
10392
|
-
type:
|
10392
|
+
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";
|
10393
10393
|
message: string;
|
10394
10394
|
id: string;
|
10395
10395
|
url: string;
|
@@ -10551,7 +10551,7 @@ export declare const messengerContract: {
|
|
10551
10551
|
metadata?: any;
|
10552
10552
|
template?: any;
|
10553
10553
|
}, {
|
10554
|
-
type:
|
10554
|
+
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";
|
10555
10555
|
message: string;
|
10556
10556
|
id: string;
|
10557
10557
|
url: string;
|
@@ -11353,7 +11353,7 @@ export declare const messengerContract: {
|
|
11353
11353
|
editedMessageid: z.ZodString;
|
11354
11354
|
label: z.ZodOptional<z.ZodString>;
|
11355
11355
|
}, "strip", z.ZodTypeAny, {
|
11356
|
-
type:
|
11356
|
+
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";
|
11357
11357
|
message: string;
|
11358
11358
|
id: string;
|
11359
11359
|
url: string;
|
@@ -11915,7 +11915,7 @@ export declare const messengerContract: {
|
|
11915
11915
|
previewUrl: string;
|
11916
11916
|
imageSetId: string;
|
11917
11917
|
repliedMessage: {
|
11918
|
-
type:
|
11918
|
+
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";
|
11919
11919
|
message: string;
|
11920
11920
|
id: string;
|
11921
11921
|
url: string;
|
@@ -12126,7 +12126,7 @@ export declare const messengerContract: {
|
|
12126
12126
|
template?: any;
|
12127
12127
|
label?: string | undefined;
|
12128
12128
|
}, {
|
12129
|
-
type:
|
12129
|
+
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";
|
12130
12130
|
message: string;
|
12131
12131
|
id: string;
|
12132
12132
|
url: string;
|
@@ -12688,7 +12688,7 @@ export declare const messengerContract: {
|
|
12688
12688
|
previewUrl: string;
|
12689
12689
|
imageSetId: string;
|
12690
12690
|
repliedMessage: {
|
12691
|
-
type:
|
12691
|
+
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";
|
12692
12692
|
message: string;
|
12693
12693
|
id: string;
|
12694
12694
|
url: string;
|
@@ -12900,7 +12900,7 @@ export declare const messengerContract: {
|
|
12900
12900
|
label?: string | undefined;
|
12901
12901
|
}>>>;
|
12902
12902
|
}, "strip", z.ZodTypeAny, {
|
12903
|
-
type:
|
12903
|
+
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";
|
12904
12904
|
message: string;
|
12905
12905
|
id: string;
|
12906
12906
|
url: string;
|
@@ -13462,7 +13462,7 @@ export declare const messengerContract: {
|
|
13462
13462
|
previewUrl: string;
|
13463
13463
|
imageSetId: string;
|
13464
13464
|
repliedMessage: {
|
13465
|
-
type:
|
13465
|
+
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";
|
13466
13466
|
message: string;
|
13467
13467
|
id: string;
|
13468
13468
|
url: string;
|
@@ -13673,7 +13673,7 @@ export declare const messengerContract: {
|
|
13673
13673
|
template?: any;
|
13674
13674
|
metadata?: any;
|
13675
13675
|
fromMessage?: {
|
13676
|
-
type:
|
13676
|
+
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";
|
13677
13677
|
message: string;
|
13678
13678
|
id: string;
|
13679
13679
|
url: string;
|
@@ -14235,7 +14235,7 @@ export declare const messengerContract: {
|
|
14235
14235
|
previewUrl: string;
|
14236
14236
|
imageSetId: string;
|
14237
14237
|
repliedMessage: {
|
14238
|
-
type:
|
14238
|
+
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";
|
14239
14239
|
message: string;
|
14240
14240
|
id: string;
|
14241
14241
|
url: string;
|
@@ -14447,7 +14447,7 @@ export declare const messengerContract: {
|
|
14447
14447
|
label?: string | undefined;
|
14448
14448
|
} | null | undefined;
|
14449
14449
|
}, {
|
14450
|
-
type:
|
14450
|
+
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";
|
14451
14451
|
message: string;
|
14452
14452
|
id: string;
|
14453
14453
|
url: string;
|
@@ -15009,7 +15009,7 @@ export declare const messengerContract: {
|
|
15009
15009
|
previewUrl: string;
|
15010
15010
|
imageSetId: string;
|
15011
15011
|
repliedMessage: {
|
15012
|
-
type:
|
15012
|
+
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";
|
15013
15013
|
message: string;
|
15014
15014
|
id: string;
|
15015
15015
|
url: string;
|
@@ -15220,7 +15220,7 @@ export declare const messengerContract: {
|
|
15220
15220
|
template?: any;
|
15221
15221
|
metadata?: any;
|
15222
15222
|
fromMessage?: {
|
15223
|
-
type:
|
15223
|
+
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";
|
15224
15224
|
message: string;
|
15225
15225
|
id: string;
|
15226
15226
|
url: string;
|
@@ -15782,7 +15782,7 @@ export declare const messengerContract: {
|
|
15782
15782
|
previewUrl: string;
|
15783
15783
|
imageSetId: string;
|
15784
15784
|
repliedMessage: {
|
15785
|
-
type:
|
15785
|
+
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";
|
15786
15786
|
message: string;
|
15787
15787
|
id: string;
|
15788
15788
|
url: string;
|
@@ -15996,7 +15996,7 @@ export declare const messengerContract: {
|
|
15996
15996
|
}>;
|
15997
15997
|
}, "strip", z.ZodTypeAny, {
|
15998
15998
|
data: {
|
15999
|
-
type:
|
15999
|
+
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";
|
16000
16000
|
message: string;
|
16001
16001
|
id: string;
|
16002
16002
|
url: string;
|
@@ -16558,7 +16558,7 @@ export declare const messengerContract: {
|
|
16558
16558
|
previewUrl: string;
|
16559
16559
|
imageSetId: string;
|
16560
16560
|
repliedMessage: {
|
16561
|
-
type:
|
16561
|
+
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";
|
16562
16562
|
message: string;
|
16563
16563
|
id: string;
|
16564
16564
|
url: string;
|
@@ -16769,7 +16769,7 @@ export declare const messengerContract: {
|
|
16769
16769
|
template?: any;
|
16770
16770
|
metadata?: any;
|
16771
16771
|
fromMessage?: {
|
16772
|
-
type:
|
16772
|
+
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";
|
16773
16773
|
message: string;
|
16774
16774
|
id: string;
|
16775
16775
|
url: string;
|
@@ -17331,7 +17331,7 @@ export declare const messengerContract: {
|
|
17331
17331
|
previewUrl: string;
|
17332
17332
|
imageSetId: string;
|
17333
17333
|
repliedMessage: {
|
17334
|
-
type:
|
17334
|
+
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";
|
17335
17335
|
message: string;
|
17336
17336
|
id: string;
|
17337
17337
|
url: string;
|
@@ -17546,7 +17546,7 @@ export declare const messengerContract: {
|
|
17546
17546
|
requestId: string;
|
17547
17547
|
}, {
|
17548
17548
|
data: {
|
17549
|
-
type:
|
17549
|
+
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";
|
17550
17550
|
message: string;
|
17551
17551
|
id: string;
|
17552
17552
|
url: string;
|
@@ -18108,7 +18108,7 @@ export declare const messengerContract: {
|
|
18108
18108
|
previewUrl: string;
|
18109
18109
|
imageSetId: string;
|
18110
18110
|
repliedMessage: {
|
18111
|
-
type:
|
18111
|
+
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";
|
18112
18112
|
message: string;
|
18113
18113
|
id: string;
|
18114
18114
|
url: string;
|
@@ -18319,7 +18319,7 @@ export declare const messengerContract: {
|
|
18319
18319
|
template?: any;
|
18320
18320
|
metadata?: any;
|
18321
18321
|
fromMessage?: {
|
18322
|
-
type:
|
18322
|
+
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";
|
18323
18323
|
message: string;
|
18324
18324
|
id: string;
|
18325
18325
|
url: string;
|
@@ -18881,7 +18881,7 @@ export declare const messengerContract: {
|
|
18881
18881
|
previewUrl: string;
|
18882
18882
|
imageSetId: string;
|
18883
18883
|
repliedMessage: {
|
18884
|
-
type:
|
18884
|
+
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";
|
18885
18885
|
message: string;
|
18886
18886
|
id: string;
|
18887
18887
|
url: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import z from 'zod';
|
2
|
-
import {
|
2
|
+
import { TPresenceStatusOption, PresenceStatusSchema, UserPresenceStatusSchema } from './schema';
|
3
3
|
import { CreatePresenceStatusSchema, UpdatePresenceStatusSchema } from './validation';
|
4
4
|
export type CreatePresenceStatusRequest = z.infer<typeof CreatePresenceStatusSchema>;
|
5
5
|
export type UpdatePresenceStatusRequest = z.infer<typeof UpdatePresenceStatusSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EACL,oBAAoB,EACpB,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,0BAA0B,CAClC,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,0BAA0B,CAClC,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAC5E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACzE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8GlC,CAAC"}
|
@@ -3371,7 +3371,7 @@ export declare const smsContract: {
|
|
3371
3371
|
lastMessage: z.ZodOptional<z.ZodString>;
|
3372
3372
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
3373
3373
|
isLatest: z.ZodBoolean;
|
3374
|
-
direction: z.
|
3374
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3375
3375
|
metadata: z.ZodOptional<z.ZodAny>;
|
3376
3376
|
createdAt: z.ZodString;
|
3377
3377
|
updatedAt: z.ZodString;
|
@@ -3964,8 +3964,8 @@ export declare const smsContract: {
|
|
3964
3964
|
message: z.ZodObject<{
|
3965
3965
|
id: z.ZodOptional<z.ZodString>;
|
3966
3966
|
message: z.ZodOptional<z.ZodString>;
|
3967
|
-
direction: z.
|
3968
|
-
type: z.
|
3967
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3968
|
+
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"]>;
|
3969
3969
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
3970
3970
|
metadata: z.ZodOptional<z.ZodAny>;
|
3971
3971
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -4021,7 +4021,7 @@ export declare const smsContract: {
|
|
4021
4021
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
4022
4022
|
label: z.ZodOptional<z.ZodString>;
|
4023
4023
|
}, "strip", z.ZodTypeAny, {
|
4024
|
-
type:
|
4024
|
+
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";
|
4025
4025
|
direction: "incoming" | "outgoing" | "system";
|
4026
4026
|
id?: string | undefined;
|
4027
4027
|
message?: string | undefined;
|
@@ -4056,7 +4056,7 @@ export declare const smsContract: {
|
|
4056
4056
|
editedAt?: string | Date | null | undefined;
|
4057
4057
|
label?: string | undefined;
|
4058
4058
|
}, {
|
4059
|
-
type:
|
4059
|
+
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";
|
4060
4060
|
direction: "incoming" | "outgoing" | "system";
|
4061
4061
|
id?: string | undefined;
|
4062
4062
|
message?: string | undefined;
|
@@ -4093,7 +4093,7 @@ export declare const smsContract: {
|
|
4093
4093
|
}>;
|
4094
4094
|
}, "strip", z.ZodTypeAny, {
|
4095
4095
|
message: {
|
4096
|
-
type:
|
4096
|
+
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";
|
4097
4097
|
direction: "incoming" | "outgoing" | "system";
|
4098
4098
|
id?: string | undefined;
|
4099
4099
|
message?: string | undefined;
|
@@ -4228,7 +4228,7 @@ export declare const smsContract: {
|
|
4228
4228
|
isBot: boolean | null;
|
4229
4229
|
}, {
|
4230
4230
|
message: {
|
4231
|
-
type:
|
4231
|
+
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";
|
4232
4232
|
direction: "incoming" | "outgoing" | "system";
|
4233
4233
|
id?: string | undefined;
|
4234
4234
|
message?: string | undefined;
|