@kl1/contracts 1.1.94-uat → 1.1.95-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/chat/index.d.ts +24 -24
- package/dist/api-contracts/src/chat/schema.d.ts +18 -32
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +10 -10
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +6 -6
- package/dist/entities/src/enums/chat.d.ts +1 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -183555,13 +183555,14 @@ export declare const feedPostContract: {
|
|
183555
183555
|
updatedAt: import("zod").ZodDate;
|
183556
183556
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
183557
183557
|
message: import("zod").ZodNullable<import("zod").ZodString>;
|
183558
|
-
type: import("zod").ZodUnion<[import("zod").ZodEnum<["text", "added_photos", "shared_story", "mobile_status_update", "no_data"]>, import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>]>;
|
183558
|
+
type: import("zod").ZodUnion<[import("zod").ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>]>;
|
183559
183559
|
metadata: import("zod").ZodAny;
|
183560
183560
|
platformId: import("zod").ZodString;
|
183561
183561
|
platformMessageId: import("zod").ZodString;
|
183562
183562
|
postCreatedAt: import("zod").ZodDate;
|
183563
183563
|
postUpdatedAt: import("zod").ZodDate;
|
183564
183564
|
socialPlatformId: import("zod").ZodString;
|
183565
|
+
template: import("zod").ZodAny;
|
183565
183566
|
channel: import("zod").ZodObject<{
|
183566
183567
|
id: import("zod").ZodString;
|
183567
183568
|
createdAt: import("zod").ZodDate;
|
@@ -185249,10 +185250,9 @@ export declare const feedPostContract: {
|
|
185249
185250
|
telephonySignature: string | null;
|
185250
185251
|
};
|
185251
185252
|
}>;
|
185252
|
-
imageURL: import("zod").ZodString;
|
185253
185253
|
permalinkURL: import("zod").ZodString;
|
185254
185254
|
}, "strip", import("zod").ZodTypeAny, {
|
185255
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
185255
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
185256
185256
|
message: string | null;
|
185257
185257
|
id: string;
|
185258
185258
|
channel: {
|
@@ -185512,11 +185512,11 @@ export declare const feedPostContract: {
|
|
185512
185512
|
platformMessageId: string;
|
185513
185513
|
postCreatedAt: Date;
|
185514
185514
|
postUpdatedAt: Date;
|
185515
|
-
imageURL: string;
|
185516
185515
|
permalinkURL: string;
|
185517
185516
|
metadata?: any;
|
185517
|
+
template?: any;
|
185518
185518
|
}, {
|
185519
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
185519
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
185520
185520
|
message: string | null;
|
185521
185521
|
id: string;
|
185522
185522
|
channel: {
|
@@ -185776,13 +185776,13 @@ export declare const feedPostContract: {
|
|
185776
185776
|
platformMessageId: string;
|
185777
185777
|
postCreatedAt: Date;
|
185778
185778
|
postUpdatedAt: Date;
|
185779
|
-
imageURL: string;
|
185780
185779
|
permalinkURL: string;
|
185781
185780
|
metadata?: any;
|
185781
|
+
template?: any;
|
185782
185782
|
}>;
|
185783
185783
|
}, "strip", import("zod").ZodTypeAny, {
|
185784
185784
|
data: {
|
185785
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
185785
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
185786
185786
|
message: string | null;
|
185787
185787
|
id: string;
|
185788
185788
|
channel: {
|
@@ -186042,14 +186042,14 @@ export declare const feedPostContract: {
|
|
186042
186042
|
platformMessageId: string;
|
186043
186043
|
postCreatedAt: Date;
|
186044
186044
|
postUpdatedAt: Date;
|
186045
|
-
imageURL: string;
|
186046
186045
|
permalinkURL: string;
|
186047
186046
|
metadata?: any;
|
186047
|
+
template?: any;
|
186048
186048
|
};
|
186049
186049
|
requestId: string;
|
186050
186050
|
}, {
|
186051
186051
|
data: {
|
186052
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
186052
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
186053
186053
|
message: string | null;
|
186054
186054
|
id: string;
|
186055
186055
|
channel: {
|
@@ -186309,9 +186309,9 @@ export declare const feedPostContract: {
|
|
186309
186309
|
platformMessageId: string;
|
186310
186310
|
postCreatedAt: Date;
|
186311
186311
|
postUpdatedAt: Date;
|
186312
|
-
imageURL: string;
|
186313
186312
|
permalinkURL: string;
|
186314
186313
|
metadata?: any;
|
186314
|
+
template?: any;
|
186315
186315
|
};
|
186316
186316
|
requestId: string;
|
186317
186317
|
}>;
|
@@ -5,13 +5,14 @@ export declare const FeedPostSchema: z.ZodObject<{
|
|
5
5
|
updatedAt: z.ZodDate;
|
6
6
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7
7
|
message: z.ZodNullable<z.ZodString>;
|
8
|
-
type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "shared_story", "mobile_status_update", "no_data"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>]>;
|
8
|
+
type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>]>;
|
9
9
|
metadata: z.ZodAny;
|
10
10
|
platformId: z.ZodString;
|
11
11
|
platformMessageId: z.ZodString;
|
12
12
|
postCreatedAt: z.ZodDate;
|
13
13
|
postUpdatedAt: z.ZodDate;
|
14
14
|
socialPlatformId: z.ZodString;
|
15
|
+
template: z.ZodAny;
|
15
16
|
channel: z.ZodObject<{
|
16
17
|
id: z.ZodString;
|
17
18
|
createdAt: z.ZodDate;
|
@@ -1699,10 +1700,9 @@ export declare const FeedPostSchema: z.ZodObject<{
|
|
1699
1700
|
telephonySignature: string | null;
|
1700
1701
|
};
|
1701
1702
|
}>;
|
1702
|
-
imageURL: z.ZodString;
|
1703
1703
|
permalinkURL: z.ZodString;
|
1704
1704
|
}, "strip", z.ZodTypeAny, {
|
1705
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1705
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1706
1706
|
message: string | null;
|
1707
1707
|
id: string;
|
1708
1708
|
channel: {
|
@@ -1962,11 +1962,11 @@ export declare const FeedPostSchema: z.ZodObject<{
|
|
1962
1962
|
platformMessageId: string;
|
1963
1963
|
postCreatedAt: Date;
|
1964
1964
|
postUpdatedAt: Date;
|
1965
|
-
imageURL: string;
|
1966
1965
|
permalinkURL: string;
|
1967
1966
|
metadata?: any;
|
1967
|
+
template?: any;
|
1968
1968
|
}, {
|
1969
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1969
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1970
1970
|
message: string | null;
|
1971
1971
|
id: string;
|
1972
1972
|
channel: {
|
@@ -2226,8 +2226,8 @@ export declare const FeedPostSchema: z.ZodObject<{
|
|
2226
2226
|
platformMessageId: string;
|
2227
2227
|
postCreatedAt: Date;
|
2228
2228
|
postUpdatedAt: Date;
|
2229
|
-
imageURL: string;
|
2230
2229
|
permalinkURL: string;
|
2231
2230
|
metadata?: any;
|
2231
|
+
template?: any;
|
2232
2232
|
}>;
|
2233
2233
|
//# sourceMappingURL=schema.d.ts.map
|
@@ -59,6 +59,7 @@ export type TMessageType = `${EMessageType}`;
|
|
59
59
|
export declare enum EFeedPostType {
|
60
60
|
TEXT = "text",
|
61
61
|
ADDED_PHOTOS = "added_photos",
|
62
|
+
ADDED_VIDEO = "added_video",
|
62
63
|
SHARED_STORY = "shared_story",
|
63
64
|
MOBILE_STATUS_UPDATE = "mobile_status_update",
|
64
65
|
NO_DATA = "no_data",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../../../entities/src/enums/chat.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,QAAQ,YAAY;IACpB,aAAa,kBAAkB;IAG/B,UAAU,eAAe;CAC1B;AAED,MAAM,MAAM,YAAY,GAAG,GAAG,YAAY,EAAE,CAAC;AAE7C,oBAAY,iBAAiB;IAC3B,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,MAAM,WAAW;CAClB;AAED,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,YAAY,iBAAiB;CAC9B;AAED,MAAM,MAAM,iBAAiB,GAAG,GAAG,iBAAiB,EAAE,CAAC;AAEvD,oBAAY,cAAc;IACxB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,MAAM,MAAM,cAAc,GAAG,GAAG,cAAc,EAAE,CAAC;AAEjD,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;IACf,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,QAAQ,aAAa;IAGrB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,QAAQ,aAAa;IAGrB,MAAM,W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GAAG,cAAc,EAAE,CAAC;AAEjD,oBAAY,cAAc;IACxB,oBAAoB,yBAAyB;IAC7C,cAAc,mBAAmB;IACjC,sBAAsB,2BAA2B;IACjD,WAAW,gBAAgB;CAC5B;AAED,oBAAY,eAAe;IACzB,KAAK,KAAK;IACV,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,aAAa,kBAAkB;CAChC"}
|
package/dist/index.js
CHANGED
@@ -1312,10 +1312,10 @@ var FeedPostSchema = DefaultEntitySchema.extend({
|
|
1312
1312
|
postCreatedAt: import_zod29.default.date(),
|
1313
1313
|
postUpdatedAt: import_zod29.default.date(),
|
1314
1314
|
socialPlatformId: import_zod29.default.string(),
|
1315
|
+
template: import_zod29.default.any(),
|
1315
1316
|
channel: ChannelSchema,
|
1316
1317
|
platformContact: PlatformContactSchema,
|
1317
1318
|
actor: UserSchema,
|
1318
|
-
imageURL: import_zod29.default.string(),
|
1319
1319
|
permalinkURL: import_zod29.default.string()
|
1320
1320
|
});
|
1321
1321
|
|
@@ -1365,6 +1365,7 @@ var MessageTypeSchema = import_zod30.default.enum([
|
|
1365
1365
|
var FeedPostTypeSchema = import_zod30.default.enum([
|
1366
1366
|
"text",
|
1367
1367
|
"added_photos",
|
1368
|
+
"added_video",
|
1368
1369
|
"shared_story",
|
1369
1370
|
"mobile_status_update",
|
1370
1371
|
"no_data"
|