@kl1/contracts 1.1.45 → 1.1.46

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.
Files changed (31) hide show
  1. package/dist/api-contracts/src/chat/index.d.ts +230 -174
  2. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/chat/schema.d.ts +65 -51
  4. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/chat/validation.d.ts +83 -56
  6. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/contract.d.ts +325 -223
  8. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  9. package/dist/api-contracts/src/facebook-feed/index.d.ts +60 -43
  10. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  11. package/dist/api-contracts/src/facebook-feed/schema.d.ts +6 -6
  12. package/dist/api-contracts/src/instagram/index.d.ts +50 -33
  13. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/line/index.d.ts +55 -38
  15. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/line/validation.d.ts +5 -5
  17. package/dist/api-contracts/src/messenger/index.d.ts +50 -33
  18. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/sms/index.d.ts +10 -5
  20. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/viber/index.d.ts +50 -33
  22. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  23. package/dist/api-contracts/src/webchat/index.d.ts +50 -33
  24. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  25. package/dist/entities/src/enums/chat.d.ts +5 -1
  26. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  27. package/dist/index.js +12 -5
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.mjs +12 -5
  30. package/dist/index.mjs.map +1 -1
  31. package/package.json +1 -1
@@ -6,8 +6,8 @@ export declare const MessageDirectionTypeSchema: z.ZodEnum<["incoming", "outgoin
6
6
  /**
7
7
  * Message Type Enum
8
8
  */
9
- export declare const MessageTypeSchema: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
10
- export declare const FeedPostTypeSchema: z.ZodEnum<["text", "added_photos", "shared_story", "mobile_status_update"]>;
9
+ export declare const MessageTypeSchema: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
10
+ export declare const FeedPostTypeSchema: z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>;
11
11
  /**
12
12
  * Message Type Enum
13
13
  */
@@ -4223,7 +4223,7 @@ export declare const MessageSchema: z.ZodObject<{
4223
4223
  deletedAt: z.ZodNullable<z.ZodDate>;
4224
4224
  message: z.ZodString;
4225
4225
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4226
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
4226
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
4227
4227
  readAt: z.ZodDate;
4228
4228
  metadata: z.ZodAny;
4229
4229
  platformId: z.ZodString;
@@ -7404,7 +7404,7 @@ export declare const MessageSchema: z.ZodObject<{
7404
7404
  deletedAt: z.ZodNullable<z.ZodDate>;
7405
7405
  message: z.ZodString;
7406
7406
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7407
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
7407
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
7408
7408
  readAt: z.ZodDate;
7409
7409
  metadata: z.ZodAny;
7410
7410
  platformId: z.ZodString;
@@ -8062,7 +8062,7 @@ export declare const MessageSchema: z.ZodObject<{
8062
8062
  };
8063
8063
  }>;
8064
8064
  }, "strip", z.ZodTypeAny, {
8065
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
8065
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
8066
8066
  message: string;
8067
8067
  id: string;
8068
8068
  url: string;
@@ -8224,7 +8224,7 @@ export declare const MessageSchema: z.ZodObject<{
8224
8224
  metadata?: any;
8225
8225
  template?: any;
8226
8226
  }, {
8227
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
8227
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
8228
8228
  message: string;
8229
8229
  id: string;
8230
8230
  url: string;
@@ -9024,8 +9024,9 @@ export declare const MessageSchema: z.ZodObject<{
9024
9024
  isActive: boolean;
9025
9025
  }>;
9026
9026
  editedMessageid: z.ZodString;
9027
+ label: z.ZodOptional<z.ZodString>;
9027
9028
  }, "strip", z.ZodTypeAny, {
9028
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
9029
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
9029
9030
  message: string;
9030
9031
  id: string;
9031
9032
  url: string;
@@ -9539,7 +9540,7 @@ export declare const MessageSchema: z.ZodObject<{
9539
9540
  previewUrl: string;
9540
9541
  imageSetId: string;
9541
9542
  repliedMessage: {
9542
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
9543
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
9543
9544
  message: string;
9544
9545
  id: string;
9545
9546
  url: string;
@@ -9748,8 +9749,9 @@ export declare const MessageSchema: z.ZodObject<{
9748
9749
  editedMessageid: string;
9749
9750
  metadata?: any;
9750
9751
  template?: any;
9752
+ label?: string | undefined;
9751
9753
  }, {
9752
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
9754
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
9753
9755
  message: string;
9754
9756
  id: string;
9755
9757
  url: string;
@@ -10263,7 +10265,7 @@ export declare const MessageSchema: z.ZodObject<{
10263
10265
  previewUrl: string;
10264
10266
  imageSetId: string;
10265
10267
  repliedMessage: {
10266
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
10268
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
10267
10269
  message: string;
10268
10270
  id: string;
10269
10271
  url: string;
@@ -10472,13 +10474,15 @@ export declare const MessageSchema: z.ZodObject<{
10472
10474
  editedMessageid: string;
10473
10475
  metadata?: any;
10474
10476
  template?: any;
10477
+ label?: string | undefined;
10475
10478
  }>;
10476
10479
  export declare const MessageWithFeedPostSchema: z.ZodObject<{
10477
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
10480
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
10478
10481
  message: z.ZodString;
10479
10482
  id: z.ZodString;
10480
10483
  url: z.ZodString;
10481
10484
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
10485
+ label: z.ZodOptional<z.ZodString>;
10482
10486
  template: z.ZodAny;
10483
10487
  metadata: z.ZodAny;
10484
10488
  createdAt: z.ZodDate;
@@ -14094,7 +14098,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14094
14098
  deletedAt: z.ZodNullable<z.ZodDate>;
14095
14099
  message: z.ZodString;
14096
14100
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
14097
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
14101
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
14098
14102
  readAt: z.ZodDate;
14099
14103
  metadata: z.ZodAny;
14100
14104
  platformId: z.ZodString;
@@ -14752,7 +14756,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14752
14756
  };
14753
14757
  }>;
14754
14758
  }, "strip", z.ZodTypeAny, {
14755
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
14759
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14756
14760
  message: string;
14757
14761
  id: string;
14758
14762
  url: string;
@@ -14914,7 +14918,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14914
14918
  metadata?: any;
14915
14919
  template?: any;
14916
14920
  }, {
14917
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
14921
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14918
14922
  message: string;
14919
14923
  id: string;
14920
14924
  url: string;
@@ -15289,13 +15293,14 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15289
15293
  updatedAt: z.ZodDate;
15290
15294
  deletedAt: z.ZodNullable<z.ZodDate>;
15291
15295
  message: z.ZodNullable<z.ZodString>;
15292
- type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "shared_story", "mobile_status_update"]>, z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>]>;
15296
+ 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", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>]>;
15293
15297
  metadata: z.ZodAny;
15294
15298
  platformId: z.ZodString;
15295
15299
  platformMessageId: z.ZodString;
15296
15300
  postCreatedAt: z.ZodDate;
15297
15301
  postUpdatedAt: z.ZodDate;
15298
15302
  socialPlatformId: z.ZodString;
15303
+ template: z.ZodAny;
15299
15304
  channel: z.ZodObject<{
15300
15305
  id: z.ZodString;
15301
15306
  createdAt: z.ZodDate;
@@ -16983,10 +16988,9 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
16983
16988
  telephonySignature: string | null;
16984
16989
  };
16985
16990
  }>;
16986
- imageURL: z.ZodString;
16987
16991
  permalinkURL: z.ZodString;
16988
16992
  }, "strip", z.ZodTypeAny, {
16989
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
16993
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16990
16994
  message: string | null;
16991
16995
  id: string;
16992
16996
  channel: {
@@ -17246,11 +17250,11 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17246
17250
  platformMessageId: string;
17247
17251
  postCreatedAt: Date;
17248
17252
  postUpdatedAt: Date;
17249
- imageURL: string;
17250
17253
  permalinkURL: string;
17251
17254
  metadata?: any;
17255
+ template?: any;
17252
17256
  }, {
17253
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
17257
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17254
17258
  message: string | null;
17255
17259
  id: string;
17256
17260
  channel: {
@@ -17510,13 +17514,13 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17510
17514
  platformMessageId: string;
17511
17515
  postCreatedAt: Date;
17512
17516
  postUpdatedAt: Date;
17513
- imageURL: string;
17514
17517
  permalinkURL: string;
17515
17518
  metadata?: any;
17519
+ template?: any;
17516
17520
  }>>;
17517
17521
  replyReaction: z.ZodNullable<z.ZodString>;
17518
17522
  }, "strip", z.ZodTypeAny, {
17519
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
17523
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17520
17524
  message: string;
17521
17525
  id: string;
17522
17526
  url: string;
@@ -18030,7 +18034,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18030
18034
  previewUrl: string;
18031
18035
  imageSetId: string;
18032
18036
  repliedMessage: {
18033
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
18037
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18034
18038
  message: string;
18035
18039
  id: string;
18036
18040
  url: string;
@@ -18240,7 +18244,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18240
18244
  parentMessageId: string | null;
18241
18245
  feedPostId: string | null;
18242
18246
  feedPost: {
18243
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
18247
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18244
18248
  message: string | null;
18245
18249
  id: string;
18246
18250
  channel: {
@@ -18500,15 +18504,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18500
18504
  platformMessageId: string;
18501
18505
  postCreatedAt: Date;
18502
18506
  postUpdatedAt: Date;
18503
- imageURL: string;
18504
18507
  permalinkURL: string;
18505
18508
  metadata?: any;
18509
+ template?: any;
18506
18510
  } | null;
18507
18511
  replyReaction: string | null;
18512
+ label?: string | undefined;
18508
18513
  template?: any;
18509
18514
  metadata?: any;
18510
18515
  }, {
18511
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
18516
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18512
18517
  message: string;
18513
18518
  id: string;
18514
18519
  url: string;
@@ -19022,7 +19027,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19022
19027
  previewUrl: string;
19023
19028
  imageSetId: string;
19024
19029
  repliedMessage: {
19025
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
19030
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19026
19031
  message: string;
19027
19032
  id: string;
19028
19033
  url: string;
@@ -19232,7 +19237,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19232
19237
  parentMessageId: string | null;
19233
19238
  feedPostId: string | null;
19234
19239
  feedPost: {
19235
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "shared_story" | "mobile_status_update" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
19240
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19236
19241
  message: string | null;
19237
19242
  id: string;
19238
19243
  channel: {
@@ -19492,11 +19497,12 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19492
19497
  platformMessageId: string;
19493
19498
  postCreatedAt: Date;
19494
19499
  postUpdatedAt: Date;
19495
- imageURL: string;
19496
19500
  permalinkURL: string;
19497
19501
  metadata?: any;
19502
+ template?: any;
19498
19503
  } | null;
19499
19504
  replyReaction: string | null;
19505
+ label?: string | undefined;
19500
19506
  template?: any;
19501
19507
  metadata?: any;
19502
19508
  }>;
@@ -19507,7 +19513,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
19507
19513
  deletedAt: z.ZodNullable<z.ZodDate>;
19508
19514
  message: z.ZodString;
19509
19515
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
19510
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
19516
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
19511
19517
  readAt: z.ZodDate;
19512
19518
  metadata: z.ZodAny;
19513
19519
  platformId: z.ZodString;
@@ -20165,7 +20171,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
20165
20171
  };
20166
20172
  }>;
20167
20173
  }, "strip", z.ZodTypeAny, {
20168
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
20174
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
20169
20175
  message: string;
20170
20176
  id: string;
20171
20177
  url: string;
@@ -20327,7 +20333,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
20327
20333
  metadata?: any;
20328
20334
  template?: any;
20329
20335
  }, {
20330
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
20336
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
20331
20337
  message: string;
20332
20338
  id: string;
20333
20339
  url: string;
@@ -20503,11 +20509,12 @@ export declare const UnreadCountsByAssigneeSchema: z.ZodObject<{
20503
20509
  totalUnreadCount: number;
20504
20510
  }>;
20505
20511
  export declare const MessageRelevanceSchema: z.ZodObject<{
20506
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
20512
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
20507
20513
  message: z.ZodString;
20508
20514
  id: z.ZodString;
20509
20515
  url: z.ZodString;
20510
20516
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
20517
+ label: z.ZodOptional<z.ZodString>;
20511
20518
  template: z.ZodAny;
20512
20519
  metadata: z.ZodAny;
20513
20520
  createdAt: z.ZodDate;
@@ -24123,7 +24130,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24123
24130
  deletedAt: z.ZodNullable<z.ZodDate>;
24124
24131
  message: z.ZodString;
24125
24132
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
24126
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
24133
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
24127
24134
  readAt: z.ZodDate;
24128
24135
  metadata: z.ZodAny;
24129
24136
  platformId: z.ZodString;
@@ -24781,7 +24788,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24781
24788
  };
24782
24789
  }>;
24783
24790
  }, "strip", z.ZodTypeAny, {
24784
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
24791
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
24785
24792
  message: string;
24786
24793
  id: string;
24787
24794
  url: string;
@@ -24943,7 +24950,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24943
24950
  metadata?: any;
24944
24951
  template?: any;
24945
24952
  }, {
24946
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
24953
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
24947
24954
  message: string;
24948
24955
  id: string;
24949
24956
  url: string;
@@ -26364,7 +26371,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
26364
26371
  deletedAt: z.ZodNullable<z.ZodDate>;
26365
26372
  message: z.ZodString;
26366
26373
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
26367
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
26374
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
26368
26375
  readAt: z.ZodDate;
26369
26376
  metadata: z.ZodAny;
26370
26377
  platformId: z.ZodString;
@@ -29545,7 +29552,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29545
29552
  deletedAt: z.ZodNullable<z.ZodDate>;
29546
29553
  message: z.ZodString;
29547
29554
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
29548
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
29555
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
29549
29556
  readAt: z.ZodDate;
29550
29557
  metadata: z.ZodAny;
29551
29558
  platformId: z.ZodString;
@@ -30203,7 +30210,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30203
30210
  };
30204
30211
  }>;
30205
30212
  }, "strip", z.ZodTypeAny, {
30206
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
30213
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
30207
30214
  message: string;
30208
30215
  id: string;
30209
30216
  url: string;
@@ -30365,7 +30372,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30365
30372
  metadata?: any;
30366
30373
  template?: any;
30367
30374
  }, {
30368
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
30375
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
30369
30376
  message: string;
30370
30377
  id: string;
30371
30378
  url: string;
@@ -31165,8 +31172,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31165
31172
  isActive: boolean;
31166
31173
  }>;
31167
31174
  editedMessageid: z.ZodString;
31175
+ label: z.ZodOptional<z.ZodString>;
31168
31176
  }, "strip", z.ZodTypeAny, {
31169
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
31177
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
31170
31178
  message: string;
31171
31179
  id: string;
31172
31180
  url: string;
@@ -31680,7 +31688,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31680
31688
  previewUrl: string;
31681
31689
  imageSetId: string;
31682
31690
  repliedMessage: {
31683
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
31691
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
31684
31692
  message: string;
31685
31693
  id: string;
31686
31694
  url: string;
@@ -31889,8 +31897,9 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31889
31897
  editedMessageid: string;
31890
31898
  metadata?: any;
31891
31899
  template?: any;
31900
+ label?: string | undefined;
31892
31901
  }, {
31893
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
31902
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
31894
31903
  message: string;
31895
31904
  id: string;
31896
31905
  url: string;
@@ -32404,7 +32413,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32404
32413
  previewUrl: string;
32405
32414
  imageSetId: string;
32406
32415
  repliedMessage: {
32407
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
32416
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
32408
32417
  message: string;
32409
32418
  id: string;
32410
32419
  url: string;
@@ -32613,15 +32622,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32613
32622
  editedMessageid: string;
32614
32623
  metadata?: any;
32615
32624
  template?: any;
32625
+ label?: string | undefined;
32616
32626
  }>, "many">;
32617
32627
  }, "strip", z.ZodTypeAny, {
32618
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
32628
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
32619
32629
  message: string;
32620
32630
  id: string;
32621
32631
  url: string;
32622
32632
  direction: "incoming" | "outgoing" | "system";
32623
32633
  children: {
32624
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
32634
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
32625
32635
  message: string;
32626
32636
  id: string;
32627
32637
  url: string;
@@ -33135,7 +33145,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33135
33145
  previewUrl: string;
33136
33146
  imageSetId: string;
33137
33147
  repliedMessage: {
33138
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
33148
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
33139
33149
  message: string;
33140
33150
  id: string;
33141
33151
  url: string;
@@ -33344,6 +33354,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33344
33354
  editedMessageid: string;
33345
33355
  metadata?: any;
33346
33356
  template?: any;
33357
+ label?: string | undefined;
33347
33358
  }[];
33348
33359
  createdAt: Date;
33349
33360
  updatedAt: Date;
@@ -33854,7 +33865,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33854
33865
  previewUrl: string;
33855
33866
  imageSetId: string;
33856
33867
  repliedMessage: {
33857
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
33868
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
33858
33869
  message: string;
33859
33870
  id: string;
33860
33871
  url: string;
@@ -34188,16 +34199,17 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34188
34199
  channelId: string;
34189
34200
  socialPlatformId: string;
34190
34201
  };
34202
+ label?: string | undefined;
34191
34203
  template?: any;
34192
34204
  metadata?: any;
34193
34205
  }, {
34194
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
34206
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
34195
34207
  message: string;
34196
34208
  id: string;
34197
34209
  url: string;
34198
34210
  direction: "incoming" | "outgoing" | "system";
34199
34211
  children: {
34200
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
34212
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
34201
34213
  message: string;
34202
34214
  id: string;
34203
34215
  url: string;
@@ -34711,7 +34723,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34711
34723
  previewUrl: string;
34712
34724
  imageSetId: string;
34713
34725
  repliedMessage: {
34714
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
34726
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
34715
34727
  message: string;
34716
34728
  id: string;
34717
34729
  url: string;
@@ -34920,6 +34932,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34920
34932
  editedMessageid: string;
34921
34933
  metadata?: any;
34922
34934
  template?: any;
34935
+ label?: string | undefined;
34923
34936
  }[];
34924
34937
  createdAt: Date;
34925
34938
  updatedAt: Date;
@@ -35430,7 +35443,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35430
35443
  previewUrl: string;
35431
35444
  imageSetId: string;
35432
35445
  repliedMessage: {
35433
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
35446
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
35434
35447
  message: string;
35435
35448
  id: string;
35436
35449
  url: string;
@@ -35764,6 +35777,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35764
35777
  channelId: string;
35765
35778
  socialPlatformId: string;
35766
35779
  };
35780
+ label?: string | undefined;
35767
35781
  template?: any;
35768
35782
  metadata?: any;
35769
35783
  }>;