@kl1/contracts 1.2.25-uat → 1.2.26-uat
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.
|
@@ -34578,6 +34578,49 @@ export declare const mainChatRoomContract: {
|
|
|
34578
34578
|
metadata?: any;
|
|
34579
34579
|
template?: any;
|
|
34580
34580
|
}>;
|
|
34581
|
+
latestMessage: z.ZodObject<{
|
|
34582
|
+
message: z.ZodString;
|
|
34583
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
34584
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
|
|
34585
|
+
readAt: z.ZodDate;
|
|
34586
|
+
metadata: z.ZodAny;
|
|
34587
|
+
platformId: z.ZodString;
|
|
34588
|
+
platformMessageId: z.ZodString;
|
|
34589
|
+
replyPlatformMessageId: z.ZodString;
|
|
34590
|
+
template: z.ZodAny;
|
|
34591
|
+
locale: z.ZodEnum<["mm", "en", "th", ""]>;
|
|
34592
|
+
url: z.ZodString;
|
|
34593
|
+
previewUrl: z.ZodString;
|
|
34594
|
+
imageSetId: z.ZodString;
|
|
34595
|
+
}, "strip", z.ZodTypeAny, {
|
|
34596
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
34597
|
+
message: string;
|
|
34598
|
+
url: string;
|
|
34599
|
+
direction: "incoming" | "outgoing" | "system";
|
|
34600
|
+
platformId: string;
|
|
34601
|
+
platformMessageId: string;
|
|
34602
|
+
readAt: Date;
|
|
34603
|
+
replyPlatformMessageId: string;
|
|
34604
|
+
locale: "" | "th" | "mm" | "en";
|
|
34605
|
+
previewUrl: string;
|
|
34606
|
+
imageSetId: string;
|
|
34607
|
+
metadata?: any;
|
|
34608
|
+
template?: any;
|
|
34609
|
+
}, {
|
|
34610
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
34611
|
+
message: string;
|
|
34612
|
+
url: string;
|
|
34613
|
+
direction: "incoming" | "outgoing" | "system";
|
|
34614
|
+
platformId: string;
|
|
34615
|
+
platformMessageId: string;
|
|
34616
|
+
readAt: Date;
|
|
34617
|
+
replyPlatformMessageId: string;
|
|
34618
|
+
locale: "" | "th" | "mm" | "en";
|
|
34619
|
+
previewUrl: string;
|
|
34620
|
+
imageSetId: string;
|
|
34621
|
+
metadata?: any;
|
|
34622
|
+
template?: any;
|
|
34623
|
+
}>;
|
|
34581
34624
|
}, "strip", z.ZodTypeAny, {
|
|
34582
34625
|
room: {
|
|
34583
34626
|
id: string;
|
|
@@ -34995,6 +35038,21 @@ export declare const mainChatRoomContract: {
|
|
|
34995
35038
|
metadata?: any;
|
|
34996
35039
|
template?: any;
|
|
34997
35040
|
};
|
|
35041
|
+
latestMessage: {
|
|
35042
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
35043
|
+
message: string;
|
|
35044
|
+
url: string;
|
|
35045
|
+
direction: "incoming" | "outgoing" | "system";
|
|
35046
|
+
platformId: string;
|
|
35047
|
+
platformMessageId: string;
|
|
35048
|
+
readAt: Date;
|
|
35049
|
+
replyPlatformMessageId: string;
|
|
35050
|
+
locale: "" | "th" | "mm" | "en";
|
|
35051
|
+
previewUrl: string;
|
|
35052
|
+
imageSetId: string;
|
|
35053
|
+
metadata?: any;
|
|
35054
|
+
template?: any;
|
|
35055
|
+
};
|
|
34998
35056
|
}, {
|
|
34999
35057
|
room: {
|
|
35000
35058
|
id: string;
|
|
@@ -35412,6 +35470,21 @@ export declare const mainChatRoomContract: {
|
|
|
35412
35470
|
metadata?: any;
|
|
35413
35471
|
template?: any;
|
|
35414
35472
|
};
|
|
35473
|
+
latestMessage: {
|
|
35474
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
35475
|
+
message: string;
|
|
35476
|
+
url: string;
|
|
35477
|
+
direction: "incoming" | "outgoing" | "system";
|
|
35478
|
+
platformId: string;
|
|
35479
|
+
platformMessageId: string;
|
|
35480
|
+
readAt: Date;
|
|
35481
|
+
replyPlatformMessageId: string;
|
|
35482
|
+
locale: "" | "th" | "mm" | "en";
|
|
35483
|
+
previewUrl: string;
|
|
35484
|
+
imageSetId: string;
|
|
35485
|
+
metadata?: any;
|
|
35486
|
+
template?: any;
|
|
35487
|
+
};
|
|
35415
35488
|
}>;
|
|
35416
35489
|
}, "strip", z.ZodTypeAny, {
|
|
35417
35490
|
data: {
|
|
@@ -35831,6 +35904,21 @@ export declare const mainChatRoomContract: {
|
|
|
35831
35904
|
metadata?: any;
|
|
35832
35905
|
template?: any;
|
|
35833
35906
|
};
|
|
35907
|
+
latestMessage: {
|
|
35908
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
35909
|
+
message: string;
|
|
35910
|
+
url: string;
|
|
35911
|
+
direction: "incoming" | "outgoing" | "system";
|
|
35912
|
+
platformId: string;
|
|
35913
|
+
platformMessageId: string;
|
|
35914
|
+
readAt: Date;
|
|
35915
|
+
replyPlatformMessageId: string;
|
|
35916
|
+
locale: "" | "th" | "mm" | "en";
|
|
35917
|
+
previewUrl: string;
|
|
35918
|
+
imageSetId: string;
|
|
35919
|
+
metadata?: any;
|
|
35920
|
+
template?: any;
|
|
35921
|
+
};
|
|
35834
35922
|
};
|
|
35835
35923
|
requestId: string;
|
|
35836
35924
|
}, {
|
|
@@ -36251,6 +36339,21 @@ export declare const mainChatRoomContract: {
|
|
|
36251
36339
|
metadata?: any;
|
|
36252
36340
|
template?: any;
|
|
36253
36341
|
};
|
|
36342
|
+
latestMessage: {
|
|
36343
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
36344
|
+
message: string;
|
|
36345
|
+
url: string;
|
|
36346
|
+
direction: "incoming" | "outgoing" | "system";
|
|
36347
|
+
platformId: string;
|
|
36348
|
+
platformMessageId: string;
|
|
36349
|
+
readAt: Date;
|
|
36350
|
+
replyPlatformMessageId: string;
|
|
36351
|
+
locale: "" | "th" | "mm" | "en";
|
|
36352
|
+
previewUrl: string;
|
|
36353
|
+
imageSetId: string;
|
|
36354
|
+
metadata?: any;
|
|
36355
|
+
template?: any;
|
|
36356
|
+
};
|
|
36254
36357
|
};
|
|
36255
36358
|
requestId: string;
|
|
36256
36359
|
}>;
|