@kl1/contracts 1.3.47 → 1.3.48

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +1 -832
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +10 -0
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +0 -10
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +211 -233
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +63 -60
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +69 -85
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/contract.d.ts +1828 -3069
  14. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  15. package/dist/api-contracts/src/cx-log/index.d.ts +1 -12
  16. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  17. package/dist/api-contracts/src/cx-log/schema.d.ts +1 -4
  18. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  19. package/dist/api-contracts/src/cx-log/validation.d.ts +0 -3
  20. package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
  21. package/dist/api-contracts/src/facebook-feed/index.d.ts +53 -53
  22. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
  23. package/dist/api-contracts/src/index.d.ts +0 -1
  24. package/dist/api-contracts/src/index.d.ts.map +1 -1
  25. package/dist/api-contracts/src/instagram/index.d.ts +41 -41
  26. package/dist/api-contracts/src/line/index.d.ts +48 -48
  27. package/dist/api-contracts/src/line/validation.d.ts +7 -7
  28. package/dist/api-contracts/src/messenger/index.d.ts +41 -41
  29. package/dist/api-contracts/src/presence-status/index.d.ts +1 -1
  30. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  31. package/dist/api-contracts/src/sms/index.d.ts +7 -7
  32. package/dist/api-contracts/src/telegram/index.d.ts +41 -41
  33. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +430 -0
  34. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  35. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -0
  36. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  37. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  38. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  39. package/dist/api-contracts/src/viber/index.d.ts +41 -41
  40. package/dist/api-contracts/src/webchat/index.d.ts +41 -41
  41. package/dist/api-contracts/src/whatsapp/index.d.ts +41 -41
  42. package/dist/api-contracts/src/workflow-rule/index.d.ts +17 -17
  43. package/dist/index.js +1600 -1610
  44. package/dist/index.js.map +1 -1
  45. package/dist/index.mjs +1600 -1609
  46. package/dist/index.mjs.map +1 -1
  47. package/package.json +1 -1
@@ -8,7 +8,7 @@ export declare const platformWebchatContract: {
8
8
  lastMessage: z.ZodOptional<z.ZodString>;
9
9
  handleTime: z.ZodOptional<z.ZodNumber>;
10
10
  isLatest: z.ZodBoolean;
11
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
11
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
12
12
  metadata: z.ZodOptional<z.ZodAny>;
13
13
  createdAt: z.ZodString;
14
14
  updatedAt: z.ZodString;
@@ -604,8 +604,8 @@ export declare const platformWebchatContract: {
604
604
  message: z.ZodObject<{
605
605
  id: z.ZodOptional<z.ZodString>;
606
606
  message: z.ZodOptional<z.ZodString>;
607
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
608
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
607
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
608
+ 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"]>;
609
609
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
610
610
  metadata: z.ZodOptional<z.ZodAny>;
611
611
  platformId: z.ZodOptional<z.ZodString>;
@@ -661,7 +661,7 @@ export declare const platformWebchatContract: {
661
661
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
662
662
  label: z.ZodOptional<z.ZodString>;
663
663
  }, "strip", z.ZodTypeAny, {
664
- type: string;
664
+ 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";
665
665
  direction: "incoming" | "outgoing" | "system";
666
666
  id?: string | undefined;
667
667
  message?: string | undefined;
@@ -696,7 +696,7 @@ export declare const platformWebchatContract: {
696
696
  editedAt?: string | Date | null | undefined;
697
697
  label?: string | undefined;
698
698
  }, {
699
- type: string;
699
+ 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";
700
700
  direction: "incoming" | "outgoing" | "system";
701
701
  id?: string | undefined;
702
702
  message?: string | undefined;
@@ -733,7 +733,7 @@ export declare const platformWebchatContract: {
733
733
  }>;
734
734
  }, "strip", z.ZodTypeAny, {
735
735
  message: {
736
- type: string;
736
+ 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";
737
737
  direction: "incoming" | "outgoing" | "system";
738
738
  id?: string | undefined;
739
739
  message?: string | undefined;
@@ -869,7 +869,7 @@ export declare const platformWebchatContract: {
869
869
  isBot: boolean | null;
870
870
  }, {
871
871
  message: {
872
- type: string;
872
+ 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";
873
873
  direction: "incoming" | "outgoing" | "system";
874
874
  id?: string | undefined;
875
875
  message?: string | undefined;
@@ -1009,11 +1009,11 @@ export declare const platformWebchatContract: {
1009
1009
  200: z.ZodObject<{
1010
1010
  requestId: z.ZodString;
1011
1011
  data: z.ZodObject<{
1012
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
1012
+ 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"]>;
1013
1013
  message: z.ZodString;
1014
1014
  id: z.ZodString;
1015
1015
  url: z.ZodString;
1016
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1016
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1017
1017
  label: z.ZodOptional<z.ZodString>;
1018
1018
  template: z.ZodAny;
1019
1019
  metadata: z.ZodAny;
@@ -1478,7 +1478,7 @@ export declare const platformWebchatContract: {
1478
1478
  firstResponseTime: z.ZodNumber;
1479
1479
  isLatest: z.ZodBoolean;
1480
1480
  isBotRoom: z.ZodBoolean;
1481
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1481
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1482
1482
  platformContact: z.ZodObject<{
1483
1483
  id: z.ZodString;
1484
1484
  createdAt: z.ZodDate;
@@ -4991,8 +4991,8 @@ export declare const platformWebchatContract: {
4991
4991
  updatedAt: z.ZodDate;
4992
4992
  deletedAt: z.ZodNullable<z.ZodDate>;
4993
4993
  message: z.ZodString;
4994
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
4995
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
4994
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4995
+ 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"]>;
4996
4996
  readAt: z.ZodDate;
4997
4997
  metadata: z.ZodAny;
4998
4998
  platformId: z.ZodString;
@@ -5650,7 +5650,7 @@ export declare const platformWebchatContract: {
5650
5650
  };
5651
5651
  }>;
5652
5652
  }, "strip", z.ZodTypeAny, {
5653
- type: string;
5653
+ 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";
5654
5654
  message: string;
5655
5655
  id: string;
5656
5656
  url: string;
@@ -5812,7 +5812,7 @@ export declare const platformWebchatContract: {
5812
5812
  metadata?: any;
5813
5813
  template?: any;
5814
5814
  }, {
5815
- type: string;
5815
+ 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";
5816
5816
  message: string;
5817
5817
  id: string;
5818
5818
  url: string;
@@ -6185,8 +6185,8 @@ export declare const platformWebchatContract: {
6185
6185
  updatedAt: z.ZodDate;
6186
6186
  deletedAt: z.ZodNullable<z.ZodDate>;
6187
6187
  message: z.ZodString;
6188
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6189
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
6188
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6189
+ 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"]>;
6190
6190
  readAt: z.ZodDate;
6191
6191
  metadata: z.ZodAny;
6192
6192
  platformId: z.ZodString;
@@ -6212,7 +6212,7 @@ export declare const platformWebchatContract: {
6212
6212
  firstResponseTime: z.ZodNumber;
6213
6213
  isLatest: z.ZodBoolean;
6214
6214
  isBotRoom: z.ZodBoolean;
6215
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6215
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6216
6216
  platformContact: z.ZodObject<{
6217
6217
  id: z.ZodString;
6218
6218
  createdAt: z.ZodDate;
@@ -9728,8 +9728,8 @@ export declare const platformWebchatContract: {
9728
9728
  updatedAt: z.ZodDate;
9729
9729
  deletedAt: z.ZodNullable<z.ZodDate>;
9730
9730
  message: z.ZodString;
9731
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
9732
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
9731
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9732
+ 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"]>;
9733
9733
  readAt: z.ZodDate;
9734
9734
  metadata: z.ZodAny;
9735
9735
  platformId: z.ZodString;
@@ -10387,7 +10387,7 @@ export declare const platformWebchatContract: {
10387
10387
  };
10388
10388
  }>;
10389
10389
  }, "strip", z.ZodTypeAny, {
10390
- type: string;
10390
+ 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";
10391
10391
  message: string;
10392
10392
  id: string;
10393
10393
  url: string;
@@ -10549,7 +10549,7 @@ export declare const platformWebchatContract: {
10549
10549
  metadata?: any;
10550
10550
  template?: any;
10551
10551
  }, {
10552
- type: string;
10552
+ 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";
10553
10553
  message: string;
10554
10554
  id: string;
10555
10555
  url: string;
@@ -11351,7 +11351,7 @@ export declare const platformWebchatContract: {
11351
11351
  editedMessageid: z.ZodString;
11352
11352
  label: z.ZodOptional<z.ZodString>;
11353
11353
  }, "strip", z.ZodTypeAny, {
11354
- type: string;
11354
+ 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";
11355
11355
  message: string;
11356
11356
  id: string;
11357
11357
  url: string;
@@ -11913,7 +11913,7 @@ export declare const platformWebchatContract: {
11913
11913
  previewUrl: string;
11914
11914
  imageSetId: string;
11915
11915
  repliedMessage: {
11916
- type: string;
11916
+ 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";
11917
11917
  message: string;
11918
11918
  id: string;
11919
11919
  url: string;
@@ -12124,7 +12124,7 @@ export declare const platformWebchatContract: {
12124
12124
  template?: any;
12125
12125
  label?: string | undefined;
12126
12126
  }, {
12127
- type: string;
12127
+ 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";
12128
12128
  message: string;
12129
12129
  id: string;
12130
12130
  url: string;
@@ -12686,7 +12686,7 @@ export declare const platformWebchatContract: {
12686
12686
  previewUrl: string;
12687
12687
  imageSetId: string;
12688
12688
  repliedMessage: {
12689
- type: string;
12689
+ 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";
12690
12690
  message: string;
12691
12691
  id: string;
12692
12692
  url: string;
@@ -12898,7 +12898,7 @@ export declare const platformWebchatContract: {
12898
12898
  label?: string | undefined;
12899
12899
  }>>>;
12900
12900
  }, "strip", z.ZodTypeAny, {
12901
- type: string;
12901
+ 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";
12902
12902
  message: string;
12903
12903
  id: string;
12904
12904
  url: string;
@@ -13460,7 +13460,7 @@ export declare const platformWebchatContract: {
13460
13460
  previewUrl: string;
13461
13461
  imageSetId: string;
13462
13462
  repliedMessage: {
13463
- type: string;
13463
+ 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";
13464
13464
  message: string;
13465
13465
  id: string;
13466
13466
  url: string;
@@ -13671,7 +13671,7 @@ export declare const platformWebchatContract: {
13671
13671
  template?: any;
13672
13672
  metadata?: any;
13673
13673
  fromMessage?: {
13674
- type: string;
13674
+ 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";
13675
13675
  message: string;
13676
13676
  id: string;
13677
13677
  url: string;
@@ -14233,7 +14233,7 @@ export declare const platformWebchatContract: {
14233
14233
  previewUrl: string;
14234
14234
  imageSetId: string;
14235
14235
  repliedMessage: {
14236
- type: string;
14236
+ 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";
14237
14237
  message: string;
14238
14238
  id: string;
14239
14239
  url: string;
@@ -14445,7 +14445,7 @@ export declare const platformWebchatContract: {
14445
14445
  label?: string | undefined;
14446
14446
  } | null | undefined;
14447
14447
  }, {
14448
- type: string;
14448
+ 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";
14449
14449
  message: string;
14450
14450
  id: string;
14451
14451
  url: string;
@@ -15007,7 +15007,7 @@ export declare const platformWebchatContract: {
15007
15007
  previewUrl: string;
15008
15008
  imageSetId: string;
15009
15009
  repliedMessage: {
15010
- type: string;
15010
+ 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";
15011
15011
  message: string;
15012
15012
  id: string;
15013
15013
  url: string;
@@ -15218,7 +15218,7 @@ export declare const platformWebchatContract: {
15218
15218
  template?: any;
15219
15219
  metadata?: any;
15220
15220
  fromMessage?: {
15221
- type: string;
15221
+ 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";
15222
15222
  message: string;
15223
15223
  id: string;
15224
15224
  url: string;
@@ -15780,7 +15780,7 @@ export declare const platformWebchatContract: {
15780
15780
  previewUrl: string;
15781
15781
  imageSetId: string;
15782
15782
  repliedMessage: {
15783
- type: string;
15783
+ 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";
15784
15784
  message: string;
15785
15785
  id: string;
15786
15786
  url: string;
@@ -15994,7 +15994,7 @@ export declare const platformWebchatContract: {
15994
15994
  }>;
15995
15995
  }, "strip", z.ZodTypeAny, {
15996
15996
  data: {
15997
- type: string;
15997
+ 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";
15998
15998
  message: string;
15999
15999
  id: string;
16000
16000
  url: string;
@@ -16556,7 +16556,7 @@ export declare const platformWebchatContract: {
16556
16556
  previewUrl: string;
16557
16557
  imageSetId: string;
16558
16558
  repliedMessage: {
16559
- type: string;
16559
+ 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";
16560
16560
  message: string;
16561
16561
  id: string;
16562
16562
  url: string;
@@ -16767,7 +16767,7 @@ export declare const platformWebchatContract: {
16767
16767
  template?: any;
16768
16768
  metadata?: any;
16769
16769
  fromMessage?: {
16770
- type: string;
16770
+ 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";
16771
16771
  message: string;
16772
16772
  id: string;
16773
16773
  url: string;
@@ -17329,7 +17329,7 @@ export declare const platformWebchatContract: {
17329
17329
  previewUrl: string;
17330
17330
  imageSetId: string;
17331
17331
  repliedMessage: {
17332
- type: string;
17332
+ 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";
17333
17333
  message: string;
17334
17334
  id: string;
17335
17335
  url: string;
@@ -17544,7 +17544,7 @@ export declare const platformWebchatContract: {
17544
17544
  requestId: string;
17545
17545
  }, {
17546
17546
  data: {
17547
- type: string;
17547
+ 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";
17548
17548
  message: string;
17549
17549
  id: string;
17550
17550
  url: string;
@@ -18106,7 +18106,7 @@ export declare const platformWebchatContract: {
18106
18106
  previewUrl: string;
18107
18107
  imageSetId: string;
18108
18108
  repliedMessage: {
18109
- type: string;
18109
+ 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";
18110
18110
  message: string;
18111
18111
  id: string;
18112
18112
  url: string;
@@ -18317,7 +18317,7 @@ export declare const platformWebchatContract: {
18317
18317
  template?: any;
18318
18318
  metadata?: any;
18319
18319
  fromMessage?: {
18320
- type: string;
18320
+ 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";
18321
18321
  message: string;
18322
18322
  id: string;
18323
18323
  url: string;
@@ -18879,7 +18879,7 @@ export declare const platformWebchatContract: {
18879
18879
  previewUrl: string;
18880
18880
  imageSetId: string;
18881
18881
  repliedMessage: {
18882
- type: string;
18882
+ 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";
18883
18883
  message: string;
18884
18884
  id: string;
18885
18885
  url: string;