@kl1/contracts 1.3.46 → 1.3.47

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. package/dist/api-contracts/src/botpress/index.d.ts +2 -2
  2. package/dist/api-contracts/src/channel/index.d.ts +837 -2
  3. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  4. package/dist/api-contracts/src/channel/validation.d.ts +20 -0
  5. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  6. package/dist/api-contracts/src/chat/index.d.ts +233 -211
  7. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  8. package/dist/api-contracts/src/chat/schema.d.ts +60 -63
  9. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  10. package/dist/api-contracts/src/chat/validation.d.ts +95 -69
  11. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  12. package/dist/api-contracts/src/contract.d.ts +3109 -1833
  13. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  14. package/dist/api-contracts/src/cx-log/index.d.ts +1 -1
  15. package/dist/api-contracts/src/cx-log/schema.d.ts +1 -1
  16. package/dist/api-contracts/src/facebook-feed/index.d.ts +58 -53
  17. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
  19. package/dist/api-contracts/src/index.d.ts +1 -0
  20. package/dist/api-contracts/src/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/instagram/index.d.ts +46 -41
  22. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  23. package/dist/api-contracts/src/line/index.d.ts +53 -48
  24. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  25. package/dist/api-contracts/src/line/validation.d.ts +7 -7
  26. package/dist/api-contracts/src/messenger/index.d.ts +46 -41
  27. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  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 +12 -7
  31. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  32. package/dist/api-contracts/src/telegram/index.d.ts +46 -41
  33. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +0 -430
  35. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +0 -3
  37. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  39. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  40. package/dist/api-contracts/src/viber/index.d.ts +46 -41
  41. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/webchat/index.d.ts +46 -41
  43. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/whatsapp/index.d.ts +46 -41
  45. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/workflow-rule/index.d.ts +17 -17
  47. package/dist/index.js +1617 -1604
  48. package/dist/index.js.map +1 -1
  49. package/dist/index.mjs +1615 -1603
  50. package/dist/index.mjs.map +1 -1
  51. package/package.json +1 -1
@@ -438,7 +438,7 @@ export declare const cxLogContract: {
438
438
  firstResponseAt: z.ZodDate;
439
439
  firstResponseTime: z.ZodNumber;
440
440
  isLatest: z.ZodBoolean;
441
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
441
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
442
442
  platformContact: z.ZodObject<{
443
443
  id: z.ZodString;
444
444
  createdAt: z.ZodDate;
@@ -860,7 +860,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
860
860
  firstResponseAt: z.ZodDate;
861
861
  firstResponseTime: z.ZodNumber;
862
862
  isLatest: z.ZodBoolean;
863
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
863
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
864
864
  platformContact: z.ZodObject<{
865
865
  id: z.ZodString;
866
866
  createdAt: z.ZodDate;
@@ -4948,8 +4948,8 @@ export declare const facebookFeedContract: {
4948
4948
  message: z.ZodObject<{
4949
4949
  id: z.ZodOptional<z.ZodString>;
4950
4950
  message: z.ZodOptional<z.ZodString>;
4951
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4952
- 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"]>;
4951
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
4952
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
4953
4953
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
4954
4954
  metadata: z.ZodOptional<z.ZodAny>;
4955
4955
  platformId: z.ZodOptional<z.ZodString>;
@@ -5005,7 +5005,7 @@ export declare const facebookFeedContract: {
5005
5005
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
5006
5006
  label: z.ZodOptional<z.ZodString>;
5007
5007
  }, "strip", z.ZodTypeAny, {
5008
- 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";
5008
+ type: string;
5009
5009
  direction: "incoming" | "outgoing" | "system";
5010
5010
  id?: string | undefined;
5011
5011
  message?: string | undefined;
@@ -5040,7 +5040,7 @@ export declare const facebookFeedContract: {
5040
5040
  editedAt?: string | Date | null | undefined;
5041
5041
  label?: string | undefined;
5042
5042
  }, {
5043
- 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";
5043
+ type: string;
5044
5044
  direction: "incoming" | "outgoing" | "system";
5045
5045
  id?: string | undefined;
5046
5046
  message?: string | undefined;
@@ -5080,7 +5080,7 @@ export declare const facebookFeedContract: {
5080
5080
  lastMessage: z.ZodOptional<z.ZodString>;
5081
5081
  handleTime: z.ZodOptional<z.ZodNumber>;
5082
5082
  isLatest: z.ZodBoolean;
5083
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
5083
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
5084
5084
  metadata: z.ZodOptional<z.ZodAny>;
5085
5085
  createdAt: z.ZodString;
5086
5086
  updatedAt: z.ZodString;
@@ -5477,6 +5477,7 @@ export declare const facebookFeedContract: {
5477
5477
  }>;
5478
5478
  messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
5479
5479
  telegramBusinessConnectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5480
+ isBotRoom: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
5480
5481
  }, "strip", z.ZodTypeAny, {
5481
5482
  id: string;
5482
5483
  channel: {
@@ -5568,6 +5569,7 @@ export declare const facebookFeedContract: {
5568
5569
  id: string;
5569
5570
  email: string;
5570
5571
  } | null;
5572
+ isBotRoom: boolean | null;
5571
5573
  lastMessage?: string | undefined;
5572
5574
  handleTime?: number | undefined;
5573
5575
  metadata?: any;
@@ -5669,6 +5671,7 @@ export declare const facebookFeedContract: {
5669
5671
  metadata?: any;
5670
5672
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
5671
5673
  telegramBusinessConnectionId?: string | null | undefined;
5674
+ isBotRoom?: boolean | null | undefined;
5672
5675
  }>;
5673
5676
  isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
5674
5677
  params: z.ZodOptional<z.ZodObject<{
@@ -5683,7 +5686,7 @@ export declare const facebookFeedContract: {
5683
5686
  }>>;
5684
5687
  }, "strip", z.ZodTypeAny, {
5685
5688
  message: {
5686
- 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";
5689
+ type: string;
5687
5690
  direction: "incoming" | "outgoing" | "system";
5688
5691
  id?: string | undefined;
5689
5692
  message?: string | undefined;
@@ -5809,6 +5812,7 @@ export declare const facebookFeedContract: {
5809
5812
  id: string;
5810
5813
  email: string;
5811
5814
  } | null;
5815
+ isBotRoom: boolean | null;
5812
5816
  lastMessage?: string | undefined;
5813
5817
  handleTime?: number | undefined;
5814
5818
  metadata?: any;
@@ -5822,7 +5826,7 @@ export declare const facebookFeedContract: {
5822
5826
  } | undefined;
5823
5827
  }, {
5824
5828
  message: {
5825
- 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";
5829
+ type: string;
5826
5830
  direction: "incoming" | "outgoing" | "system";
5827
5831
  id?: string | undefined;
5828
5832
  message?: string | undefined;
@@ -5953,6 +5957,7 @@ export declare const facebookFeedContract: {
5953
5957
  metadata?: any;
5954
5958
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
5955
5959
  telegramBusinessConnectionId?: string | null | undefined;
5960
+ isBotRoom?: boolean | null | undefined;
5956
5961
  };
5957
5962
  isBot?: boolean | null | undefined;
5958
5963
  params?: {
@@ -5965,11 +5970,11 @@ export declare const facebookFeedContract: {
5965
5970
  200: z.ZodObject<{
5966
5971
  requestId: z.ZodString;
5967
5972
  data: z.ZodObject<{
5968
- 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"]>;
5973
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
5969
5974
  message: z.ZodString;
5970
5975
  id: z.ZodString;
5971
5976
  url: z.ZodString;
5972
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
5977
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
5973
5978
  label: z.ZodOptional<z.ZodString>;
5974
5979
  template: z.ZodAny;
5975
5980
  metadata: z.ZodAny;
@@ -6434,7 +6439,7 @@ export declare const facebookFeedContract: {
6434
6439
  firstResponseTime: z.ZodNumber;
6435
6440
  isLatest: z.ZodBoolean;
6436
6441
  isBotRoom: z.ZodBoolean;
6437
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6442
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6438
6443
  platformContact: z.ZodObject<{
6439
6444
  id: z.ZodString;
6440
6445
  createdAt: z.ZodDate;
@@ -9947,8 +9952,8 @@ export declare const facebookFeedContract: {
9947
9952
  updatedAt: z.ZodDate;
9948
9953
  deletedAt: z.ZodNullable<z.ZodDate>;
9949
9954
  message: z.ZodString;
9950
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9951
- 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"]>;
9955
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
9956
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
9952
9957
  readAt: z.ZodDate;
9953
9958
  metadata: z.ZodAny;
9954
9959
  platformId: z.ZodString;
@@ -10606,7 +10611,7 @@ export declare const facebookFeedContract: {
10606
10611
  };
10607
10612
  }>;
10608
10613
  }, "strip", z.ZodTypeAny, {
10609
- 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";
10614
+ type: string;
10610
10615
  message: string;
10611
10616
  id: string;
10612
10617
  url: string;
@@ -10768,7 +10773,7 @@ export declare const facebookFeedContract: {
10768
10773
  metadata?: any;
10769
10774
  template?: any;
10770
10775
  }, {
10771
- 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";
10776
+ type: string;
10772
10777
  message: string;
10773
10778
  id: string;
10774
10779
  url: string;
@@ -11141,8 +11146,8 @@ export declare const facebookFeedContract: {
11141
11146
  updatedAt: z.ZodDate;
11142
11147
  deletedAt: z.ZodNullable<z.ZodDate>;
11143
11148
  message: z.ZodString;
11144
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
11145
- 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"]>;
11149
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
11150
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
11146
11151
  readAt: z.ZodDate;
11147
11152
  metadata: z.ZodAny;
11148
11153
  platformId: z.ZodString;
@@ -11168,7 +11173,7 @@ export declare const facebookFeedContract: {
11168
11173
  firstResponseTime: z.ZodNumber;
11169
11174
  isLatest: z.ZodBoolean;
11170
11175
  isBotRoom: z.ZodBoolean;
11171
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
11176
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
11172
11177
  platformContact: z.ZodObject<{
11173
11178
  id: z.ZodString;
11174
11179
  createdAt: z.ZodDate;
@@ -14684,8 +14689,8 @@ export declare const facebookFeedContract: {
14684
14689
  updatedAt: z.ZodDate;
14685
14690
  deletedAt: z.ZodNullable<z.ZodDate>;
14686
14691
  message: z.ZodString;
14687
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
14688
- 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"]>;
14692
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
14693
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
14689
14694
  readAt: z.ZodDate;
14690
14695
  metadata: z.ZodAny;
14691
14696
  platformId: z.ZodString;
@@ -15343,7 +15348,7 @@ export declare const facebookFeedContract: {
15343
15348
  };
15344
15349
  }>;
15345
15350
  }, "strip", z.ZodTypeAny, {
15346
- 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";
15351
+ type: string;
15347
15352
  message: string;
15348
15353
  id: string;
15349
15354
  url: string;
@@ -15505,7 +15510,7 @@ export declare const facebookFeedContract: {
15505
15510
  metadata?: any;
15506
15511
  template?: any;
15507
15512
  }, {
15508
- 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";
15513
+ type: string;
15509
15514
  message: string;
15510
15515
  id: string;
15511
15516
  url: string;
@@ -16307,7 +16312,7 @@ export declare const facebookFeedContract: {
16307
16312
  editedMessageid: z.ZodString;
16308
16313
  label: z.ZodOptional<z.ZodString>;
16309
16314
  }, "strip", z.ZodTypeAny, {
16310
- 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";
16315
+ type: string;
16311
16316
  message: string;
16312
16317
  id: string;
16313
16318
  url: string;
@@ -16869,7 +16874,7 @@ export declare const facebookFeedContract: {
16869
16874
  previewUrl: string;
16870
16875
  imageSetId: string;
16871
16876
  repliedMessage: {
16872
- 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";
16877
+ type: string;
16873
16878
  message: string;
16874
16879
  id: string;
16875
16880
  url: string;
@@ -17080,7 +17085,7 @@ export declare const facebookFeedContract: {
17080
17085
  template?: any;
17081
17086
  label?: string | undefined;
17082
17087
  }, {
17083
- 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";
17088
+ type: string;
17084
17089
  message: string;
17085
17090
  id: string;
17086
17091
  url: string;
@@ -17642,7 +17647,7 @@ export declare const facebookFeedContract: {
17642
17647
  previewUrl: string;
17643
17648
  imageSetId: string;
17644
17649
  repliedMessage: {
17645
- 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";
17650
+ type: string;
17646
17651
  message: string;
17647
17652
  id: string;
17648
17653
  url: string;
@@ -17854,7 +17859,7 @@ export declare const facebookFeedContract: {
17854
17859
  label?: string | undefined;
17855
17860
  }>>>;
17856
17861
  }, "strip", z.ZodTypeAny, {
17857
- 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";
17862
+ type: string;
17858
17863
  message: string;
17859
17864
  id: string;
17860
17865
  url: string;
@@ -18416,7 +18421,7 @@ export declare const facebookFeedContract: {
18416
18421
  previewUrl: string;
18417
18422
  imageSetId: string;
18418
18423
  repliedMessage: {
18419
- 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";
18424
+ type: string;
18420
18425
  message: string;
18421
18426
  id: string;
18422
18427
  url: string;
@@ -18627,7 +18632,7 @@ export declare const facebookFeedContract: {
18627
18632
  template?: any;
18628
18633
  metadata?: any;
18629
18634
  fromMessage?: {
18630
- 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";
18635
+ type: string;
18631
18636
  message: string;
18632
18637
  id: string;
18633
18638
  url: string;
@@ -19189,7 +19194,7 @@ export declare const facebookFeedContract: {
19189
19194
  previewUrl: string;
19190
19195
  imageSetId: string;
19191
19196
  repliedMessage: {
19192
- 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";
19197
+ type: string;
19193
19198
  message: string;
19194
19199
  id: string;
19195
19200
  url: string;
@@ -19401,7 +19406,7 @@ export declare const facebookFeedContract: {
19401
19406
  label?: string | undefined;
19402
19407
  } | null | undefined;
19403
19408
  }, {
19404
- 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";
19409
+ type: string;
19405
19410
  message: string;
19406
19411
  id: string;
19407
19412
  url: string;
@@ -19963,7 +19968,7 @@ export declare const facebookFeedContract: {
19963
19968
  previewUrl: string;
19964
19969
  imageSetId: string;
19965
19970
  repliedMessage: {
19966
- 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";
19971
+ type: string;
19967
19972
  message: string;
19968
19973
  id: string;
19969
19974
  url: string;
@@ -20174,7 +20179,7 @@ export declare const facebookFeedContract: {
20174
20179
  template?: any;
20175
20180
  metadata?: any;
20176
20181
  fromMessage?: {
20177
- 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";
20182
+ type: string;
20178
20183
  message: string;
20179
20184
  id: string;
20180
20185
  url: string;
@@ -20736,7 +20741,7 @@ export declare const facebookFeedContract: {
20736
20741
  previewUrl: string;
20737
20742
  imageSetId: string;
20738
20743
  repliedMessage: {
20739
- 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";
20744
+ type: string;
20740
20745
  message: string;
20741
20746
  id: string;
20742
20747
  url: string;
@@ -20950,7 +20955,7 @@ export declare const facebookFeedContract: {
20950
20955
  }>;
20951
20956
  }, "strip", z.ZodTypeAny, {
20952
20957
  data: {
20953
- 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";
20958
+ type: string;
20954
20959
  message: string;
20955
20960
  id: string;
20956
20961
  url: string;
@@ -21512,7 +21517,7 @@ export declare const facebookFeedContract: {
21512
21517
  previewUrl: string;
21513
21518
  imageSetId: string;
21514
21519
  repliedMessage: {
21515
- 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";
21520
+ type: string;
21516
21521
  message: string;
21517
21522
  id: string;
21518
21523
  url: string;
@@ -21723,7 +21728,7 @@ export declare const facebookFeedContract: {
21723
21728
  template?: any;
21724
21729
  metadata?: any;
21725
21730
  fromMessage?: {
21726
- 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";
21731
+ type: string;
21727
21732
  message: string;
21728
21733
  id: string;
21729
21734
  url: string;
@@ -22285,7 +22290,7 @@ export declare const facebookFeedContract: {
22285
22290
  previewUrl: string;
22286
22291
  imageSetId: string;
22287
22292
  repliedMessage: {
22288
- 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";
22293
+ type: string;
22289
22294
  message: string;
22290
22295
  id: string;
22291
22296
  url: string;
@@ -22500,7 +22505,7 @@ export declare const facebookFeedContract: {
22500
22505
  requestId: string;
22501
22506
  }, {
22502
22507
  data: {
22503
- 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";
22508
+ type: string;
22504
22509
  message: string;
22505
22510
  id: string;
22506
22511
  url: string;
@@ -23062,7 +23067,7 @@ export declare const facebookFeedContract: {
23062
23067
  previewUrl: string;
23063
23068
  imageSetId: string;
23064
23069
  repliedMessage: {
23065
- 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";
23070
+ type: string;
23066
23071
  message: string;
23067
23072
  id: string;
23068
23073
  url: string;
@@ -23273,7 +23278,7 @@ export declare const facebookFeedContract: {
23273
23278
  template?: any;
23274
23279
  metadata?: any;
23275
23280
  fromMessage?: {
23276
- 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";
23281
+ type: string;
23277
23282
  message: string;
23278
23283
  id: string;
23279
23284
  url: string;
@@ -23835,7 +23840,7 @@ export declare const facebookFeedContract: {
23835
23840
  previewUrl: string;
23836
23841
  imageSetId: string;
23837
23842
  repliedMessage: {
23838
- 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";
23843
+ type: string;
23839
23844
  message: string;
23840
23845
  id: string;
23841
23846
  url: string;
@@ -24467,8 +24472,8 @@ export declare const facebookFeedContract: {
24467
24472
  message: z.ZodObject<{
24468
24473
  id: z.ZodOptional<z.ZodString>;
24469
24474
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24470
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
24471
- 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"]>;
24475
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
24476
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
24472
24477
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
24473
24478
  metadata: z.ZodOptional<z.ZodAny>;
24474
24479
  platformId: z.ZodOptional<z.ZodString>;
@@ -24520,7 +24525,7 @@ export declare const facebookFeedContract: {
24520
24525
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24521
24526
  feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24522
24527
  }, "strip", z.ZodTypeAny, {
24523
- 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";
24528
+ type: string;
24524
24529
  direction: "incoming" | "outgoing" | "system";
24525
24530
  id?: string | undefined;
24526
24531
  message?: string | null | undefined;
@@ -24551,7 +24556,7 @@ export declare const facebookFeedContract: {
24551
24556
  parentMessageId?: string | null | undefined;
24552
24557
  feedPostId?: string | null | undefined;
24553
24558
  }, {
24554
- 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";
24559
+ type: string;
24555
24560
  direction: "incoming" | "outgoing" | "system";
24556
24561
  id?: string | undefined;
24557
24562
  message?: string | null | undefined;
@@ -24584,7 +24589,7 @@ export declare const facebookFeedContract: {
24584
24589
  }>;
24585
24590
  }, "strip", z.ZodTypeAny, {
24586
24591
  message: {
24587
- 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";
24592
+ type: string;
24588
24593
  direction: "incoming" | "outgoing" | "system";
24589
24594
  id?: string | undefined;
24590
24595
  message?: string | null | undefined;
@@ -24673,7 +24678,7 @@ export declare const facebookFeedContract: {
24673
24678
  };
24674
24679
  }, {
24675
24680
  message: {
24676
- 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";
24681
+ type: string;
24677
24682
  direction: "incoming" | "outgoing" | "system";
24678
24683
  id?: string | undefined;
24679
24684
  message?: string | null | undefined;
@@ -25157,8 +25162,8 @@ export declare const facebookFeedContract: {
25157
25162
  message: z.ZodObject<{
25158
25163
  id: z.ZodOptional<z.ZodString>;
25159
25164
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25160
- direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
25161
- 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"]>;
25165
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
25166
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
25162
25167
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
25163
25168
  metadata: z.ZodOptional<z.ZodAny>;
25164
25169
  platformId: z.ZodOptional<z.ZodString>;
@@ -25210,7 +25215,7 @@ export declare const facebookFeedContract: {
25210
25215
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25211
25216
  feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25212
25217
  }, "strip", z.ZodTypeAny, {
25213
- 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";
25218
+ type: string;
25214
25219
  direction: "incoming" | "outgoing" | "system";
25215
25220
  id?: string | undefined;
25216
25221
  message?: string | null | undefined;
@@ -25241,7 +25246,7 @@ export declare const facebookFeedContract: {
25241
25246
  parentMessageId?: string | null | undefined;
25242
25247
  feedPostId?: string | null | undefined;
25243
25248
  }, {
25244
- 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";
25249
+ type: string;
25245
25250
  direction: "incoming" | "outgoing" | "system";
25246
25251
  id?: string | undefined;
25247
25252
  message?: string | null | undefined;
@@ -25274,7 +25279,7 @@ export declare const facebookFeedContract: {
25274
25279
  }>;
25275
25280
  }, "strip", z.ZodTypeAny, {
25276
25281
  message: {
25277
- 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";
25282
+ type: string;
25278
25283
  direction: "incoming" | "outgoing" | "system";
25279
25284
  id?: string | undefined;
25280
25285
  message?: string | null | undefined;
@@ -25363,7 +25368,7 @@ export declare const facebookFeedContract: {
25363
25368
  };
25364
25369
  }, {
25365
25370
  message: {
25366
- 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";
25371
+ type: string;
25367
25372
  direction: "incoming" | "outgoing" | "system";
25368
25373
  id?: string | undefined;
25369
25374
  message?: string | null | undefined;