@kl1/contracts 1.3.41 → 1.3.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/api-contracts/src/botpress/index.d.ts +2 -2
  2. package/dist/api-contracts/src/channel/index.d.ts +2 -833
  3. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  4. package/dist/api-contracts/src/channel/validation.d.ts +0 -10
  5. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  6. package/dist/api-contracts/src/chat/index.d.ts +211 -233
  7. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  8. package/dist/api-contracts/src/chat/schema.d.ts +63 -60
  9. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  10. package/dist/api-contracts/src/chat/validation.d.ts +69 -85
  11. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  12. package/dist/api-contracts/src/contract.d.ts +4687 -5926
  13. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  14. package/dist/api-contracts/src/cx-log/index.d.ts +1 -12
  15. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/cx-log/schema.d.ts +1 -4
  17. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  18. package/dist/api-contracts/src/cx-log/validation.d.ts +0 -3
  19. package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
  20. package/dist/api-contracts/src/facebook-feed/index.d.ts +53 -53
  21. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
  22. package/dist/api-contracts/src/index.d.ts +0 -1
  23. package/dist/api-contracts/src/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/instagram/index.d.ts +41 -41
  25. package/dist/api-contracts/src/line/index.d.ts +48 -48
  26. package/dist/api-contracts/src/line/validation.d.ts +7 -7
  27. package/dist/api-contracts/src/messenger/index.d.ts +41 -41
  28. package/dist/api-contracts/src/presence-status/index.d.ts +1 -1
  29. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  30. package/dist/api-contracts/src/sms/index.d.ts +7 -7
  31. package/dist/api-contracts/src/telegram/index.d.ts +41 -41
  32. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +430 -0
  33. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -0
  35. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  36. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  37. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/viber/index.d.ts +41 -41
  39. package/dist/api-contracts/src/webchat/index.d.ts +41 -41
  40. package/dist/api-contracts/src/whatsapp/index.d.ts +41 -41
  41. package/dist/api-contracts/src/workflow-rule/index.d.ts +17 -17
  42. package/dist/index.js +1604 -1612
  43. package/dist/index.js.map +1 -1
  44. package/dist/index.mjs +1603 -1611
  45. package/dist/index.mjs.map +1 -1
  46. 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;
@@ -601,8 +601,8 @@ export declare const platformWebchatContract: {
601
601
  message: z.ZodObject<{
602
602
  id: z.ZodOptional<z.ZodString>;
603
603
  message: z.ZodOptional<z.ZodString>;
604
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
605
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
604
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
605
+ 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"]>;
606
606
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
607
607
  metadata: z.ZodOptional<z.ZodAny>;
608
608
  platformId: z.ZodOptional<z.ZodString>;
@@ -658,7 +658,7 @@ export declare const platformWebchatContract: {
658
658
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
659
659
  label: z.ZodOptional<z.ZodString>;
660
660
  }, "strip", z.ZodTypeAny, {
661
- type: string;
661
+ 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";
662
662
  direction: "incoming" | "outgoing" | "system";
663
663
  id?: string | undefined;
664
664
  message?: string | undefined;
@@ -693,7 +693,7 @@ export declare const platformWebchatContract: {
693
693
  editedAt?: string | Date | null | undefined;
694
694
  label?: string | undefined;
695
695
  }, {
696
- type: string;
696
+ 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";
697
697
  direction: "incoming" | "outgoing" | "system";
698
698
  id?: string | undefined;
699
699
  message?: string | undefined;
@@ -730,7 +730,7 @@ export declare const platformWebchatContract: {
730
730
  }>;
731
731
  }, "strip", z.ZodTypeAny, {
732
732
  message: {
733
- type: string;
733
+ 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";
734
734
  direction: "incoming" | "outgoing" | "system";
735
735
  id?: string | undefined;
736
736
  message?: string | undefined;
@@ -865,7 +865,7 @@ export declare const platformWebchatContract: {
865
865
  isBot: boolean | null;
866
866
  }, {
867
867
  message: {
868
- type: string;
868
+ 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";
869
869
  direction: "incoming" | "outgoing" | "system";
870
870
  id?: string | undefined;
871
871
  message?: string | undefined;
@@ -1004,11 +1004,11 @@ export declare const platformWebchatContract: {
1004
1004
  200: z.ZodObject<{
1005
1005
  requestId: z.ZodString;
1006
1006
  data: z.ZodObject<{
1007
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
1007
+ 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"]>;
1008
1008
  message: z.ZodString;
1009
1009
  id: z.ZodString;
1010
1010
  url: z.ZodString;
1011
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1011
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1012
1012
  label: z.ZodOptional<z.ZodString>;
1013
1013
  template: z.ZodAny;
1014
1014
  metadata: z.ZodAny;
@@ -1473,7 +1473,7 @@ export declare const platformWebchatContract: {
1473
1473
  firstResponseTime: z.ZodNumber;
1474
1474
  isLatest: z.ZodBoolean;
1475
1475
  isBotRoom: z.ZodBoolean;
1476
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1476
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1477
1477
  platformContact: z.ZodObject<{
1478
1478
  id: z.ZodString;
1479
1479
  createdAt: z.ZodDate;
@@ -4986,8 +4986,8 @@ export declare const platformWebchatContract: {
4986
4986
  updatedAt: z.ZodDate;
4987
4987
  deletedAt: z.ZodNullable<z.ZodDate>;
4988
4988
  message: z.ZodString;
4989
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
4990
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
4989
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4990
+ 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"]>;
4991
4991
  readAt: z.ZodDate;
4992
4992
  metadata: z.ZodAny;
4993
4993
  platformId: z.ZodString;
@@ -5645,7 +5645,7 @@ export declare const platformWebchatContract: {
5645
5645
  };
5646
5646
  }>;
5647
5647
  }, "strip", z.ZodTypeAny, {
5648
- type: string;
5648
+ 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";
5649
5649
  message: string;
5650
5650
  id: string;
5651
5651
  url: string;
@@ -5807,7 +5807,7 @@ export declare const platformWebchatContract: {
5807
5807
  metadata?: any;
5808
5808
  template?: any;
5809
5809
  }, {
5810
- type: string;
5810
+ 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";
5811
5811
  message: string;
5812
5812
  id: string;
5813
5813
  url: string;
@@ -6180,8 +6180,8 @@ export declare const platformWebchatContract: {
6180
6180
  updatedAt: z.ZodDate;
6181
6181
  deletedAt: z.ZodNullable<z.ZodDate>;
6182
6182
  message: z.ZodString;
6183
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6184
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
6183
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6184
+ 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"]>;
6185
6185
  readAt: z.ZodDate;
6186
6186
  metadata: z.ZodAny;
6187
6187
  platformId: z.ZodString;
@@ -6207,7 +6207,7 @@ export declare const platformWebchatContract: {
6207
6207
  firstResponseTime: z.ZodNumber;
6208
6208
  isLatest: z.ZodBoolean;
6209
6209
  isBotRoom: z.ZodBoolean;
6210
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6210
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6211
6211
  platformContact: z.ZodObject<{
6212
6212
  id: z.ZodString;
6213
6213
  createdAt: z.ZodDate;
@@ -9723,8 +9723,8 @@ export declare const platformWebchatContract: {
9723
9723
  updatedAt: z.ZodDate;
9724
9724
  deletedAt: z.ZodNullable<z.ZodDate>;
9725
9725
  message: z.ZodString;
9726
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
9727
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
9726
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9727
+ 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"]>;
9728
9728
  readAt: z.ZodDate;
9729
9729
  metadata: z.ZodAny;
9730
9730
  platformId: z.ZodString;
@@ -10382,7 +10382,7 @@ export declare const platformWebchatContract: {
10382
10382
  };
10383
10383
  }>;
10384
10384
  }, "strip", z.ZodTypeAny, {
10385
- type: string;
10385
+ 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";
10386
10386
  message: string;
10387
10387
  id: string;
10388
10388
  url: string;
@@ -10544,7 +10544,7 @@ export declare const platformWebchatContract: {
10544
10544
  metadata?: any;
10545
10545
  template?: any;
10546
10546
  }, {
10547
- type: string;
10547
+ 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";
10548
10548
  message: string;
10549
10549
  id: string;
10550
10550
  url: string;
@@ -11346,7 +11346,7 @@ export declare const platformWebchatContract: {
11346
11346
  editedMessageid: z.ZodString;
11347
11347
  label: z.ZodOptional<z.ZodString>;
11348
11348
  }, "strip", z.ZodTypeAny, {
11349
- type: string;
11349
+ 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";
11350
11350
  message: string;
11351
11351
  id: string;
11352
11352
  url: string;
@@ -11908,7 +11908,7 @@ export declare const platformWebchatContract: {
11908
11908
  previewUrl: string;
11909
11909
  imageSetId: string;
11910
11910
  repliedMessage: {
11911
- type: string;
11911
+ 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";
11912
11912
  message: string;
11913
11913
  id: string;
11914
11914
  url: string;
@@ -12119,7 +12119,7 @@ export declare const platformWebchatContract: {
12119
12119
  template?: any;
12120
12120
  label?: string | undefined;
12121
12121
  }, {
12122
- type: string;
12122
+ 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";
12123
12123
  message: string;
12124
12124
  id: string;
12125
12125
  url: string;
@@ -12681,7 +12681,7 @@ export declare const platformWebchatContract: {
12681
12681
  previewUrl: string;
12682
12682
  imageSetId: string;
12683
12683
  repliedMessage: {
12684
- type: string;
12684
+ 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";
12685
12685
  message: string;
12686
12686
  id: string;
12687
12687
  url: string;
@@ -12893,7 +12893,7 @@ export declare const platformWebchatContract: {
12893
12893
  label?: string | undefined;
12894
12894
  }>>>;
12895
12895
  }, "strip", z.ZodTypeAny, {
12896
- type: string;
12896
+ 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";
12897
12897
  message: string;
12898
12898
  id: string;
12899
12899
  url: string;
@@ -13455,7 +13455,7 @@ export declare const platformWebchatContract: {
13455
13455
  previewUrl: string;
13456
13456
  imageSetId: string;
13457
13457
  repliedMessage: {
13458
- type: string;
13458
+ 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";
13459
13459
  message: string;
13460
13460
  id: string;
13461
13461
  url: string;
@@ -13666,7 +13666,7 @@ export declare const platformWebchatContract: {
13666
13666
  template?: any;
13667
13667
  metadata?: any;
13668
13668
  fromMessage?: {
13669
- type: string;
13669
+ 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";
13670
13670
  message: string;
13671
13671
  id: string;
13672
13672
  url: string;
@@ -14228,7 +14228,7 @@ export declare const platformWebchatContract: {
14228
14228
  previewUrl: string;
14229
14229
  imageSetId: string;
14230
14230
  repliedMessage: {
14231
- type: string;
14231
+ 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";
14232
14232
  message: string;
14233
14233
  id: string;
14234
14234
  url: string;
@@ -14440,7 +14440,7 @@ export declare const platformWebchatContract: {
14440
14440
  label?: string | undefined;
14441
14441
  } | null | undefined;
14442
14442
  }, {
14443
- type: string;
14443
+ 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";
14444
14444
  message: string;
14445
14445
  id: string;
14446
14446
  url: string;
@@ -15002,7 +15002,7 @@ export declare const platformWebchatContract: {
15002
15002
  previewUrl: string;
15003
15003
  imageSetId: string;
15004
15004
  repliedMessage: {
15005
- type: string;
15005
+ 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";
15006
15006
  message: string;
15007
15007
  id: string;
15008
15008
  url: string;
@@ -15213,7 +15213,7 @@ export declare const platformWebchatContract: {
15213
15213
  template?: any;
15214
15214
  metadata?: any;
15215
15215
  fromMessage?: {
15216
- type: string;
15216
+ 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";
15217
15217
  message: string;
15218
15218
  id: string;
15219
15219
  url: string;
@@ -15775,7 +15775,7 @@ export declare const platformWebchatContract: {
15775
15775
  previewUrl: string;
15776
15776
  imageSetId: string;
15777
15777
  repliedMessage: {
15778
- type: string;
15778
+ 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";
15779
15779
  message: string;
15780
15780
  id: string;
15781
15781
  url: string;
@@ -15989,7 +15989,7 @@ export declare const platformWebchatContract: {
15989
15989
  }>;
15990
15990
  }, "strip", z.ZodTypeAny, {
15991
15991
  data: {
15992
- type: string;
15992
+ 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";
15993
15993
  message: string;
15994
15994
  id: string;
15995
15995
  url: string;
@@ -16551,7 +16551,7 @@ export declare const platformWebchatContract: {
16551
16551
  previewUrl: string;
16552
16552
  imageSetId: string;
16553
16553
  repliedMessage: {
16554
- type: string;
16554
+ 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";
16555
16555
  message: string;
16556
16556
  id: string;
16557
16557
  url: string;
@@ -16762,7 +16762,7 @@ export declare const platformWebchatContract: {
16762
16762
  template?: any;
16763
16763
  metadata?: any;
16764
16764
  fromMessage?: {
16765
- type: string;
16765
+ 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";
16766
16766
  message: string;
16767
16767
  id: string;
16768
16768
  url: string;
@@ -17324,7 +17324,7 @@ export declare const platformWebchatContract: {
17324
17324
  previewUrl: string;
17325
17325
  imageSetId: string;
17326
17326
  repliedMessage: {
17327
- type: string;
17327
+ 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";
17328
17328
  message: string;
17329
17329
  id: string;
17330
17330
  url: string;
@@ -17539,7 +17539,7 @@ export declare const platformWebchatContract: {
17539
17539
  requestId: string;
17540
17540
  }, {
17541
17541
  data: {
17542
- type: string;
17542
+ 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";
17543
17543
  message: string;
17544
17544
  id: string;
17545
17545
  url: string;
@@ -18101,7 +18101,7 @@ export declare const platformWebchatContract: {
18101
18101
  previewUrl: string;
18102
18102
  imageSetId: string;
18103
18103
  repliedMessage: {
18104
- type: string;
18104
+ 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";
18105
18105
  message: string;
18106
18106
  id: string;
18107
18107
  url: string;
@@ -18312,7 +18312,7 @@ export declare const platformWebchatContract: {
18312
18312
  template?: any;
18313
18313
  metadata?: any;
18314
18314
  fromMessage?: {
18315
- type: string;
18315
+ 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";
18316
18316
  message: string;
18317
18317
  id: string;
18318
18318
  url: string;
@@ -18874,7 +18874,7 @@ export declare const platformWebchatContract: {
18874
18874
  previewUrl: string;
18875
18875
  imageSetId: string;
18876
18876
  repliedMessage: {
18877
- type: string;
18877
+ 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";
18878
18878
  message: string;
18879
18879
  id: string;
18880
18880
  url: string;