samva 0.48.0 → 0.49.0

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 (85) hide show
  1. package/dist/client/sdk.gen.d.ts +224 -29
  2. package/dist/client/sdk.gen.js +541 -48
  3. package/dist/client/types.gen.d.ts +1291 -153
  4. package/dist/effect/accounts.d.ts +6 -6
  5. package/dist/effect/agents.d.ts +13 -13
  6. package/dist/effect/analytics.d.ts +6 -6
  7. package/dist/effect/api-keys.d.ts +11 -11
  8. package/dist/effect/approval-requests.d.ts +4 -4
  9. package/dist/effect/attachments.d.ts +4 -4
  10. package/dist/effect/brands.d.ts +6 -6
  11. package/dist/effect/campaigns.d.ts +15 -15
  12. package/dist/effect/contact-groups.d.ts +10 -10
  13. package/dist/effect/contacts.d.ts +25 -25
  14. package/dist/effect/conversations.d.ts +13 -13
  15. package/dist/effect/custom-fields.d.ts +4 -4
  16. package/dist/effect/descriptors/integrations-catalog.d.ts +134 -0
  17. package/dist/effect/descriptors/integrations-catalog.js +122 -0
  18. package/dist/effect/descriptors/mailboxes.d.ts +32 -12
  19. package/dist/effect/descriptors/mailboxes.js +32 -12
  20. package/dist/effect/email.d.ts +61 -61
  21. package/dist/effect/events.d.ts +2 -2
  22. package/dist/effect/feedback.d.ts +1 -1
  23. package/dist/effect/generated/accounts.d.ts +1 -3
  24. package/dist/effect/generated/accounts.js +2 -7
  25. package/dist/effect/generated/api-keys.d.ts +15 -15
  26. package/dist/effect/generated/attachments.js +1 -1
  27. package/dist/effect/generated/integrations-catalog.d.ts +2702 -1
  28. package/dist/effect/generated/integrations-catalog.js +578 -3
  29. package/dist/effect/generated/journeys.d.ts +9 -11
  30. package/dist/effect/generated/journeys.js +6 -12
  31. package/dist/effect/generated/mailboxes.d.ts +752 -463
  32. package/dist/effect/generated/mailboxes.js +163 -98
  33. package/dist/effect/generated/messages.d.ts +109 -4
  34. package/dist/effect/generated/messages.js +41 -8
  35. package/dist/effect/generated/shared.d.ts +203 -21
  36. package/dist/effect/generated/shared.js +58 -13
  37. package/dist/effect/generated/template-registrations.d.ts +35 -4
  38. package/dist/effect/generated/template-registrations.js +7 -4
  39. package/dist/effect/generated/templates.d.ts +1 -4
  40. package/dist/effect/generated/templates.js +2 -6
  41. package/dist/effect/generated/webhooks.d.ts +19 -19
  42. package/dist/effect/generated/webhooks.js +8 -8
  43. package/dist/effect/generated/whoami.d.ts +4 -4
  44. package/dist/effect/generated-metadata.d.ts +114 -18
  45. package/dist/effect/generated-metadata.js +362 -340
  46. package/dist/effect/integrations-catalog.d.ts +228 -3
  47. package/dist/effect/integrations-catalog.js +29 -1
  48. package/dist/effect/integrations.d.ts +7 -7
  49. package/dist/effect/internal/client.d.ts +7 -3
  50. package/dist/effect/internal/operation.d.ts +10 -6
  51. package/dist/effect/internal/operation.js +3 -3
  52. package/dist/effect/journeys.d.ts +14 -14
  53. package/dist/effect/mailboxes.d.ts +117 -91
  54. package/dist/effect/mailboxes.js +11 -7
  55. package/dist/effect/media.d.ts +5 -5
  56. package/dist/effect/messages.d.ts +9 -9
  57. package/dist/effect/namespaces.d.ts +11 -11
  58. package/dist/effect/newsletter-domains.d.ts +4 -4
  59. package/dist/effect/newsletter-issues.d.ts +11 -11
  60. package/dist/effect/newsletters.d.ts +5 -5
  61. package/dist/effect/operations.d.ts +3 -3
  62. package/dist/effect/organizations.d.ts +12 -12
  63. package/dist/effect/policies.d.ts +3 -3
  64. package/dist/effect/retry.js +1 -1
  65. package/dist/effect/scheduled-messages.d.ts +5 -5
  66. package/dist/effect/subscriptions.d.ts +1 -1
  67. package/dist/effect/template-registrations.d.ts +9 -3
  68. package/dist/effect/template-share-links.d.ts +5 -5
  69. package/dist/effect/templates.d.ts +37 -37
  70. package/dist/effect/topic-forms.d.ts +5 -5
  71. package/dist/effect/topics.d.ts +9 -9
  72. package/dist/effect/webhooks.d.ts +15 -15
  73. package/dist/effect/whatsapp-flows.d.ts +10 -10
  74. package/dist/effect/whatsapp-setup-links.d.ts +4 -4
  75. package/dist/effect/whatsapp.d.ts +12 -12
  76. package/dist/effect/whoami.d.ts +1 -1
  77. package/dist/inline-attachments.d.ts +0 -5
  78. package/dist/mailbox-events.d.ts +1 -5
  79. package/dist/mailbox-events.js +2 -2
  80. package/dist/package.js +1 -1
  81. package/dist/promises/client.d.ts +4 -4
  82. package/dist/promises/client.js +8 -4
  83. package/dist/promises/types.gen.d.ts +1 -1
  84. package/dist/service-map.d.ts +83 -9
  85. package/package.json +2 -2
@@ -14,6 +14,8 @@ export type JsonObject = {
14
14
  export declare const JsonObject: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>;
15
15
  export type IntegrationAccountId = string & EffectBrand.Brand<"IntegrationAccountId">;
16
16
  export declare const IntegrationAccountId: Schema.brand<Schema.String, "IntegrationAccountId">;
17
+ export type AccountStatus = "pending" | "connected" | "needsReconnect";
18
+ export declare const AccountStatus: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"connected">, Schema.Literal<"needsReconnect">]>;
17
19
  export type UserId = string & EffectBrand.Brand<"UserId">;
18
20
  export declare const UserId: Schema.brand<Schema.String, "UserId">;
19
21
  declare const MalformedRequestError_base: Schema.Class<MalformedRequestError, Schema.Struct<{
@@ -443,8 +445,14 @@ export type AnswerWithoutApproval = boolean;
443
445
  export declare const AnswerWithoutApproval: Schema.Boolean;
444
446
  export type IntegrationTool = string;
445
447
  export declare const IntegrationTool: Schema.String;
448
+ export type TemplateRegistrationId = string & EffectBrand.Brand<"TemplateRegistrationId">;
449
+ export declare const TemplateRegistrationId: Schema.brand<Schema.String, "TemplateRegistrationId">;
450
+ export type TemplateFamilyId = string & EffectBrand.Brand<"TemplateFamilyId">;
451
+ export declare const TemplateFamilyId: Schema.brand<Schema.String, "TemplateFamilyId">;
446
452
  export type JourneyId = string & EffectBrand.Brand<"JourneyId">;
447
453
  export declare const JourneyId: Schema.brand<Schema.String, "JourneyId">;
454
+ export type JourneyStatus = "draft" | "active" | "paused" | "archived";
455
+ export declare const JourneyStatus: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
448
456
  export type JourneyName = string;
449
457
  export declare const JourneyName: Schema.String;
450
458
  export type JourneyCustomEventName = string;
@@ -465,8 +473,6 @@ export declare const JourneyTagAddedTrigger: Schema.Struct<{
465
473
  }>;
466
474
  export type JourneyNodeId = string;
467
475
  export declare const JourneyNodeId: Schema.String;
468
- export type TemplateRegistrationId = string & EffectBrand.Brand<"TemplateRegistrationId">;
469
- export declare const TemplateRegistrationId: Schema.brand<Schema.String, "TemplateRegistrationId">;
470
476
  export type TemplateChannelVariantId = string & EffectBrand.Brand<"TemplateChannelVariantId">;
471
477
  export declare const TemplateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
472
478
  export type JourneyWaitConfig = {
@@ -627,8 +633,8 @@ declare const WhatsAppServiceWindowClosedError_base: Schema.Class<WhatsAppServic
627
633
  }>, import("effect/Cause").YieldableError>;
628
634
  export declare class WhatsAppServiceWindowClosedError extends WhatsAppServiceWindowClosedError_base {
629
635
  }
630
- export type MailboxThreadFolder = "inbox" | "assigned" | "pending" | "sent" | "archived" | "trash";
631
- export declare const MailboxThreadFolder: Schema.Union<readonly [Schema.Literal<"inbox">, Schema.Literal<"assigned">, Schema.Literal<"pending">, Schema.Literal<"sent">, Schema.Literal<"archived">, Schema.Literal<"trash">]>;
636
+ export type MailboxThreadFolder = "inbox" | "assigned" | "pending" | "sent" | "archived" | "trash" | "spam";
637
+ export declare const MailboxThreadFolder: Schema.Union<readonly [Schema.Literal<"inbox">, Schema.Literal<"assigned">, Schema.Literal<"pending">, Schema.Literal<"sent">, Schema.Literal<"archived">, Schema.Literal<"trash">, Schema.Literal<"spam">]>;
632
638
  export type MailboxGrantRole = "admin" | "collaborator" | "viewer";
633
639
  export declare const MailboxGrantRole: Schema.Union<readonly [Schema.Literal<"admin">, Schema.Literal<"collaborator">, Schema.Literal<"viewer">]>;
634
640
  export type MailboxLabelId = string & EffectBrand.Brand<"MailboxLabelId">;
@@ -919,6 +925,10 @@ export declare const TemplateFromDefaultInput: Schema.Struct<{
919
925
  readonly email: Schema.String;
920
926
  readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
921
927
  }>;
928
+ export type WhatsAppBusinessAccountId_1 = string;
929
+ export declare const WhatsAppBusinessAccountId_1: Schema.String;
930
+ export type WhatsAppBusinessAccountId_2 = string;
931
+ export declare const WhatsAppBusinessAccountId_2: Schema.String;
922
932
  declare const CredentialsError_base: Schema.Class<CredentialsError, Schema.Struct<{
923
933
  readonly _tag: Schema.tag<"CredentialsError">;
924
934
  readonly message: Schema.String;
@@ -1629,13 +1639,13 @@ export declare const UpdateAgentPayload: Schema.Struct<{
1629
1639
  }>;
1630
1640
  export type ApiKeyMailboxAccess = {
1631
1641
  readonly permissions: readonly [
1632
- "read" | "update" | "send" | "quarantine.read",
1633
- ...Array<"read" | "update" | "send" | "quarantine.read">
1642
+ "read" | "update" | "send" | "spam.read",
1643
+ ...Array<"read" | "update" | "send" | "spam.read">
1634
1644
  ];
1635
1645
  readonly mailboxIds?: readonly [MailboxId, ...Array<MailboxId>] | null;
1636
1646
  };
1637
1647
  export declare const ApiKeyMailboxAccess: Schema.Struct<{
1638
- readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
1648
+ readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"spam.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"spam.read">]>]>;
1639
1649
  readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
1640
1650
  }>;
1641
1651
  export type CampaignReplyMailbox = MailboxId | null;
@@ -1643,7 +1653,7 @@ export declare const CampaignReplyMailbox: Schema.Union<readonly [Schema.brand<S
1643
1653
  export type CreateWebhookPayload = {
1644
1654
  readonly name: string;
1645
1655
  readonly url: string;
1646
- readonly eventTypes: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "message.opened" | "message.clicked" | "contact.created" | "contact.updated" | "contact.deleted" | "contact.subscribed" | "contact.unsubscribed" | "contact.resubscribed" | "contact.consent_changed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated" | "email.sending.paused" | "email.sending.resumed" | "template.registration.updated" | "flow.registration.updated" | "whatsapp.number.connected" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.quarantined" | "mailbox.message.released" | "mailbox.message.discarded" | "mailbox.message.delivered" | "mailbox.message.read" | "mailbox.message.failed" | "journey.webhook">;
1656
+ readonly eventTypes: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "message.opened" | "message.clicked" | "contact.created" | "contact.updated" | "contact.deleted" | "contact.subscribed" | "contact.unsubscribed" | "contact.resubscribed" | "contact.consent_changed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated" | "email.sending.paused" | "email.sending.resumed" | "template.registration.updated" | "flow.registration.updated" | "whatsapp.number.connected" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.spam" | "mailbox.message.discarded" | "mailbox.thread.deleted" | "mailbox.message.delivered" | "mailbox.message.read" | "mailbox.message.failed" | "journey.webhook">;
1647
1657
  readonly channels?: ReadonlyArray<"sms" | "whatsapp" | "email"> | null;
1648
1658
  readonly mailboxIds?: readonly [MailboxId, ...Array<MailboxId>] | null;
1649
1659
  readonly namespaceId?: NamespaceId | null;
@@ -1655,7 +1665,7 @@ export type CreateWebhookPayload = {
1655
1665
  export declare const CreateWebhookPayload: Schema.Struct<{
1656
1666
  readonly name: Schema.String;
1657
1667
  readonly url: Schema.String;
1658
- readonly eventTypes: Schema.$Array<Schema.Union<readonly [Schema.Literal<"message.sent">, Schema.Literal<"message.delivered">, Schema.Literal<"message.read">, Schema.Literal<"message.failed">, Schema.Literal<"message.bounced">, Schema.Literal<"message.complained">, Schema.Literal<"message.received">, Schema.Literal<"message.opened">, Schema.Literal<"message.clicked">, Schema.Literal<"contact.created">, Schema.Literal<"contact.updated">, Schema.Literal<"contact.deleted">, Schema.Literal<"contact.subscribed">, Schema.Literal<"contact.unsubscribed">, Schema.Literal<"contact.resubscribed">, Schema.Literal<"contact.consent_changed">, Schema.Literal<"conversation.created">, Schema.Literal<"conversation.updated">, Schema.Literal<"conversation.archived">, Schema.Literal<"webhook.created">, Schema.Literal<"webhook.updated">, Schema.Literal<"webhook.deleted">, Schema.Literal<"webhook.test">, Schema.Literal<"domain.updated">, Schema.Literal<"domain.warming.updated">, Schema.Literal<"email.sending.paused">, Schema.Literal<"email.sending.resumed">, Schema.Literal<"template.registration.updated">, Schema.Literal<"flow.registration.updated">, Schema.Literal<"whatsapp.number.connected">, Schema.Literal<"mailbox.message.received">, Schema.Literal<"mailbox.message.sent">, Schema.Literal<"mailbox.action.pending_approval">, Schema.Literal<"mailbox.action.resolved">, Schema.Literal<"mailbox.message.quarantined">, Schema.Literal<"mailbox.message.released">, Schema.Literal<"mailbox.message.discarded">, Schema.Literal<"mailbox.message.delivered">, Schema.Literal<"mailbox.message.read">, Schema.Literal<"mailbox.message.failed">, Schema.Literal<"journey.webhook">]>>;
1668
+ readonly eventTypes: Schema.$Array<Schema.Union<readonly [Schema.Literal<"message.sent">, Schema.Literal<"message.delivered">, Schema.Literal<"message.read">, Schema.Literal<"message.failed">, Schema.Literal<"message.bounced">, Schema.Literal<"message.complained">, Schema.Literal<"message.received">, Schema.Literal<"message.opened">, Schema.Literal<"message.clicked">, Schema.Literal<"contact.created">, Schema.Literal<"contact.updated">, Schema.Literal<"contact.deleted">, Schema.Literal<"contact.subscribed">, Schema.Literal<"contact.unsubscribed">, Schema.Literal<"contact.resubscribed">, Schema.Literal<"contact.consent_changed">, Schema.Literal<"conversation.created">, Schema.Literal<"conversation.updated">, Schema.Literal<"conversation.archived">, Schema.Literal<"webhook.created">, Schema.Literal<"webhook.updated">, Schema.Literal<"webhook.deleted">, Schema.Literal<"webhook.test">, Schema.Literal<"domain.updated">, Schema.Literal<"domain.warming.updated">, Schema.Literal<"email.sending.paused">, Schema.Literal<"email.sending.resumed">, Schema.Literal<"template.registration.updated">, Schema.Literal<"flow.registration.updated">, Schema.Literal<"whatsapp.number.connected">, Schema.Literal<"mailbox.message.received">, Schema.Literal<"mailbox.message.sent">, Schema.Literal<"mailbox.action.pending_approval">, Schema.Literal<"mailbox.action.resolved">, Schema.Literal<"mailbox.message.spam">, Schema.Literal<"mailbox.message.discarded">, Schema.Literal<"mailbox.thread.deleted">, Schema.Literal<"mailbox.message.delivered">, Schema.Literal<"mailbox.message.read">, Schema.Literal<"mailbox.message.failed">, Schema.Literal<"journey.webhook">]>>;
1659
1669
  readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Union<readonly [Schema.Literal<"sms">, Schema.Literal<"whatsapp">, Schema.Literal<"email">]>>, Schema.Null]>>;
1660
1670
  readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
1661
1671
  readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
@@ -1665,7 +1675,7 @@ export declare const CreateWebhookPayload: Schema.Struct<{
1665
1675
  export type UpdateWebhookPayload = {
1666
1676
  readonly name?: string | null;
1667
1677
  readonly url?: string | null;
1668
- readonly eventTypes?: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "message.opened" | "message.clicked" | "contact.created" | "contact.updated" | "contact.deleted" | "contact.subscribed" | "contact.unsubscribed" | "contact.resubscribed" | "contact.consent_changed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated" | "email.sending.paused" | "email.sending.resumed" | "template.registration.updated" | "flow.registration.updated" | "whatsapp.number.connected" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.quarantined" | "mailbox.message.released" | "mailbox.message.discarded" | "mailbox.message.delivered" | "mailbox.message.read" | "mailbox.message.failed" | "journey.webhook"> | null;
1678
+ readonly eventTypes?: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "message.opened" | "message.clicked" | "contact.created" | "contact.updated" | "contact.deleted" | "contact.subscribed" | "contact.unsubscribed" | "contact.resubscribed" | "contact.consent_changed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated" | "email.sending.paused" | "email.sending.resumed" | "template.registration.updated" | "flow.registration.updated" | "whatsapp.number.connected" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.spam" | "mailbox.message.discarded" | "mailbox.thread.deleted" | "mailbox.message.delivered" | "mailbox.message.read" | "mailbox.message.failed" | "journey.webhook"> | null;
1669
1679
  readonly channels?: ReadonlyArray<"sms" | "whatsapp" | "email"> | null;
1670
1680
  readonly mailboxIds?: readonly [MailboxId, ...Array<MailboxId>] | null;
1671
1681
  readonly namespaceId?: NamespaceId | null;
@@ -1677,7 +1687,7 @@ export type UpdateWebhookPayload = {
1677
1687
  export declare const UpdateWebhookPayload: Schema.Struct<{
1678
1688
  readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1679
1689
  readonly url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1680
- readonly eventTypes: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Union<readonly [Schema.Literal<"message.sent">, Schema.Literal<"message.delivered">, Schema.Literal<"message.read">, Schema.Literal<"message.failed">, Schema.Literal<"message.bounced">, Schema.Literal<"message.complained">, Schema.Literal<"message.received">, Schema.Literal<"message.opened">, Schema.Literal<"message.clicked">, Schema.Literal<"contact.created">, Schema.Literal<"contact.updated">, Schema.Literal<"contact.deleted">, Schema.Literal<"contact.subscribed">, Schema.Literal<"contact.unsubscribed">, Schema.Literal<"contact.resubscribed">, Schema.Literal<"contact.consent_changed">, Schema.Literal<"conversation.created">, Schema.Literal<"conversation.updated">, Schema.Literal<"conversation.archived">, Schema.Literal<"webhook.created">, Schema.Literal<"webhook.updated">, Schema.Literal<"webhook.deleted">, Schema.Literal<"webhook.test">, Schema.Literal<"domain.updated">, Schema.Literal<"domain.warming.updated">, Schema.Literal<"email.sending.paused">, Schema.Literal<"email.sending.resumed">, Schema.Literal<"template.registration.updated">, Schema.Literal<"flow.registration.updated">, Schema.Literal<"whatsapp.number.connected">, Schema.Literal<"mailbox.message.received">, Schema.Literal<"mailbox.message.sent">, Schema.Literal<"mailbox.action.pending_approval">, Schema.Literal<"mailbox.action.resolved">, Schema.Literal<"mailbox.message.quarantined">, Schema.Literal<"mailbox.message.released">, Schema.Literal<"mailbox.message.discarded">, Schema.Literal<"mailbox.message.delivered">, Schema.Literal<"mailbox.message.read">, Schema.Literal<"mailbox.message.failed">, Schema.Literal<"journey.webhook">]>>, Schema.Null]>>;
1690
+ readonly eventTypes: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Union<readonly [Schema.Literal<"message.sent">, Schema.Literal<"message.delivered">, Schema.Literal<"message.read">, Schema.Literal<"message.failed">, Schema.Literal<"message.bounced">, Schema.Literal<"message.complained">, Schema.Literal<"message.received">, Schema.Literal<"message.opened">, Schema.Literal<"message.clicked">, Schema.Literal<"contact.created">, Schema.Literal<"contact.updated">, Schema.Literal<"contact.deleted">, Schema.Literal<"contact.subscribed">, Schema.Literal<"contact.unsubscribed">, Schema.Literal<"contact.resubscribed">, Schema.Literal<"contact.consent_changed">, Schema.Literal<"conversation.created">, Schema.Literal<"conversation.updated">, Schema.Literal<"conversation.archived">, Schema.Literal<"webhook.created">, Schema.Literal<"webhook.updated">, Schema.Literal<"webhook.deleted">, Schema.Literal<"webhook.test">, Schema.Literal<"domain.updated">, Schema.Literal<"domain.warming.updated">, Schema.Literal<"email.sending.paused">, Schema.Literal<"email.sending.resumed">, Schema.Literal<"template.registration.updated">, Schema.Literal<"flow.registration.updated">, Schema.Literal<"whatsapp.number.connected">, Schema.Literal<"mailbox.message.received">, Schema.Literal<"mailbox.message.sent">, Schema.Literal<"mailbox.action.pending_approval">, Schema.Literal<"mailbox.action.resolved">, Schema.Literal<"mailbox.message.spam">, Schema.Literal<"mailbox.message.discarded">, Schema.Literal<"mailbox.thread.deleted">, Schema.Literal<"mailbox.message.delivered">, Schema.Literal<"mailbox.message.read">, Schema.Literal<"mailbox.message.failed">, Schema.Literal<"journey.webhook">]>>, Schema.Null]>>;
1681
1691
  readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Union<readonly [Schema.Literal<"sms">, Schema.Literal<"whatsapp">, Schema.Literal<"email">]>>, Schema.Null]>>;
1682
1692
  readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
1683
1693
  readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
@@ -1824,6 +1834,36 @@ export declare const RespondToOnboardingInformationRequestInput: Schema.Struct<{
1824
1834
  readonly responseText: Schema.String;
1825
1835
  readonly evidenceMediaIds: Schema.$Array<Schema.brand<Schema.String, "MediaId">>;
1826
1836
  }>;
1837
+ export type RecipePreviewPayload = {
1838
+ readonly templateId: TemplateId;
1839
+ readonly publicationId: TemplatePublicationId;
1840
+ readonly fixture?: string;
1841
+ readonly templateData?: JsonObject;
1842
+ readonly channel: "email";
1843
+ } | {
1844
+ readonly templateId: TemplateId;
1845
+ readonly publicationId: TemplatePublicationId;
1846
+ readonly fixture?: string;
1847
+ readonly templateData?: JsonObject;
1848
+ readonly channel: "whatsapp";
1849
+ readonly eventBindings?: {
1850
+ readonly [x: string]: string;
1851
+ };
1852
+ };
1853
+ export declare const RecipePreviewPayload: Schema.Union<readonly [Schema.Struct<{
1854
+ readonly templateId: Schema.brand<Schema.String, "TemplateId">;
1855
+ readonly publicationId: Schema.brand<Schema.String, "TemplatePublicationId">;
1856
+ readonly fixture: Schema.optionalKey<Schema.String>;
1857
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>>;
1858
+ readonly channel: Schema.Literal<"email">;
1859
+ }>, Schema.Struct<{
1860
+ readonly templateId: Schema.brand<Schema.String, "TemplateId">;
1861
+ readonly publicationId: Schema.brand<Schema.String, "TemplatePublicationId">;
1862
+ readonly fixture: Schema.optionalKey<Schema.String>;
1863
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>>;
1864
+ readonly channel: Schema.Literal<"whatsapp">;
1865
+ readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1866
+ }>]>;
1827
1867
  export type RenderTemplatePublicationPayload = {
1828
1868
  readonly data: {
1829
1869
  readonly [x: string]: JsonValue;
@@ -1904,14 +1944,6 @@ export type RotateWhatsAppFlowEncryptionKeyPayload = {
1904
1944
  export declare const RotateWhatsAppFlowEncryptionKeyPayload: Schema.Struct<{
1905
1945
  readonly businessAccountId: Schema.optionalKey<Schema.brand<Schema.String, "WhatsAppBusinessAccountId">>;
1906
1946
  }>;
1907
- export type SubmitTemplateRegistrationPayload = {
1908
- readonly provider: "whatsapp";
1909
- readonly businessAccountId?: WhatsAppBusinessAccountId;
1910
- };
1911
- export declare const SubmitTemplateRegistrationPayload: Schema.Struct<{
1912
- readonly provider: Schema.Literal<"whatsapp">;
1913
- readonly businessAccountId: Schema.optionalKey<Schema.brand<Schema.String, "WhatsAppBusinessAccountId">>;
1914
- }>;
1915
1947
  export type CampaignAudience = {
1916
1948
  readonly topicId: TopicId;
1917
1949
  readonly includeTags?: ReadonlyArray<string> | null;
@@ -2067,6 +2099,110 @@ export declare const UpdateIntegrationPayload: Schema.Struct<{
2067
2099
  }>>;
2068
2100
  readonly settings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>>;
2069
2101
  }>;
2102
+ export type ActivateRecipeSetup = {
2103
+ readonly revision: string;
2104
+ readonly selection: {
2105
+ readonly channel: "email";
2106
+ readonly publicationId: TemplatePublicationId;
2107
+ readonly senderId?: EmailSenderId;
2108
+ } | {
2109
+ readonly channel: "whatsapp";
2110
+ readonly whatsappAccountId: WhatsAppBusinessAccountId;
2111
+ readonly registrationId: TemplateRegistrationId;
2112
+ readonly eventBindings: {
2113
+ readonly [x: string]: string;
2114
+ };
2115
+ };
2116
+ };
2117
+ export declare const ActivateRecipeSetup: Schema.Struct<{
2118
+ readonly revision: Schema.String;
2119
+ readonly selection: Schema.Union<readonly [Schema.Struct<{
2120
+ readonly channel: Schema.Literal<"email">;
2121
+ readonly publicationId: Schema.brand<Schema.String, "TemplatePublicationId">;
2122
+ readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
2123
+ }>, Schema.Struct<{
2124
+ readonly channel: Schema.Literal<"whatsapp">;
2125
+ readonly whatsappAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
2126
+ readonly registrationId: Schema.brand<Schema.String, "TemplateRegistrationId">;
2127
+ readonly eventBindings: Schema.$Record<Schema.String, Schema.String>;
2128
+ }>]>;
2129
+ }>;
2130
+ export type RecipeTestPayload = {
2131
+ readonly templateId: TemplateId;
2132
+ readonly publicationId: TemplatePublicationId;
2133
+ readonly fixture?: string;
2134
+ readonly templateData?: JsonObject;
2135
+ readonly channel: "email";
2136
+ readonly requestId: string;
2137
+ readonly mailboxEndpointId: MailboxEndpointId;
2138
+ readonly topicId?: TopicId;
2139
+ readonly senderId?: EmailSenderId;
2140
+ } | {
2141
+ readonly templateId: TemplateId;
2142
+ readonly publicationId: TemplatePublicationId;
2143
+ readonly fixture?: string;
2144
+ readonly templateData?: JsonObject;
2145
+ readonly channel: "whatsapp";
2146
+ readonly eventBindings?: {
2147
+ readonly [x: string]: string;
2148
+ };
2149
+ readonly requestId: string;
2150
+ readonly mailboxEndpointId: MailboxEndpointId;
2151
+ readonly topicId?: TopicId;
2152
+ readonly businessAccountId: WhatsAppBusinessAccountId;
2153
+ readonly registrationId: TemplateRegistrationId;
2154
+ readonly challengeId: string;
2155
+ };
2156
+ export declare const RecipeTestPayload: Schema.Union<readonly [Schema.Struct<{
2157
+ readonly templateId: Schema.brand<Schema.String, "TemplateId">;
2158
+ readonly publicationId: Schema.brand<Schema.String, "TemplatePublicationId">;
2159
+ readonly fixture: Schema.optionalKey<Schema.String>;
2160
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>>;
2161
+ readonly channel: Schema.Literal<"email">;
2162
+ readonly requestId: Schema.String;
2163
+ readonly mailboxEndpointId: Schema.brand<Schema.String, "MailboxEndpointId">;
2164
+ readonly topicId: Schema.optionalKey<Schema.brand<Schema.String, "TopicId">>;
2165
+ readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
2166
+ }>, Schema.Struct<{
2167
+ readonly templateId: Schema.brand<Schema.String, "TemplateId">;
2168
+ readonly publicationId: Schema.brand<Schema.String, "TemplatePublicationId">;
2169
+ readonly fixture: Schema.optionalKey<Schema.String>;
2170
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>>;
2171
+ readonly channel: Schema.Literal<"whatsapp">;
2172
+ readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2173
+ readonly requestId: Schema.String;
2174
+ readonly mailboxEndpointId: Schema.brand<Schema.String, "MailboxEndpointId">;
2175
+ readonly topicId: Schema.optionalKey<Schema.brand<Schema.String, "TopicId">>;
2176
+ readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
2177
+ readonly registrationId: Schema.brand<Schema.String, "TemplateRegistrationId">;
2178
+ readonly challengeId: Schema.String;
2179
+ }>]>;
2180
+ export type RecipeSetupReferences = {
2181
+ readonly channel: "email" | "whatsapp";
2182
+ readonly templateFamilyId?: TemplateFamilyId;
2183
+ readonly integrationAccountId?: IntegrationAccountId;
2184
+ readonly publicationId?: TemplatePublicationId;
2185
+ readonly senderId?: EmailSenderId;
2186
+ readonly whatsappAccountId?: WhatsAppBusinessAccountId;
2187
+ readonly registrationId?: TemplateRegistrationId;
2188
+ readonly mailboxEndpointId?: MailboxEndpointId;
2189
+ readonly journeyId?: JourneyId;
2190
+ readonly eventBindings?: {
2191
+ readonly [x: string]: string;
2192
+ };
2193
+ };
2194
+ export declare const RecipeSetupReferences: Schema.Struct<{
2195
+ readonly channel: Schema.Union<readonly [Schema.Literal<"email">, Schema.Literal<"whatsapp">]>;
2196
+ readonly templateFamilyId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateFamilyId">>;
2197
+ readonly integrationAccountId: Schema.optionalKey<Schema.brand<Schema.String, "IntegrationAccountId">>;
2198
+ readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
2199
+ readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
2200
+ readonly whatsappAccountId: Schema.optionalKey<Schema.brand<Schema.String, "WhatsAppBusinessAccountId">>;
2201
+ readonly registrationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateRegistrationId">>;
2202
+ readonly mailboxEndpointId: Schema.optionalKey<Schema.brand<Schema.String, "MailboxEndpointId">>;
2203
+ readonly journeyId: Schema.optionalKey<Schema.brand<Schema.String, "JourneyId">>;
2204
+ readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2205
+ }>;
2070
2206
  export type UpdateJourneyPayload = {
2071
2207
  readonly name: JourneyName;
2072
2208
  };
@@ -2304,7 +2440,7 @@ export type UpdateMailboxThreadPayload = {
2304
2440
  readonly reminderInboxAt?: string | null;
2305
2441
  };
2306
2442
  export declare const UpdateMailboxThreadPayload: Schema.Struct<{
2307
- readonly folder: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"inbox">, Schema.Literal<"assigned">, Schema.Literal<"pending">, Schema.Literal<"sent">, Schema.Literal<"archived">, Schema.Literal<"trash">]>, Schema.Null]>>;
2443
+ readonly folder: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"inbox">, Schema.Literal<"assigned">, Schema.Literal<"pending">, Schema.Literal<"sent">, Schema.Literal<"archived">, Schema.Literal<"trash">, Schema.Literal<"spam">]>, Schema.Null]>>;
2308
2444
  readonly priority: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"low">, Schema.Literal<"normal">, Schema.Literal<"high">, Schema.Literal<"urgent">]>, Schema.Null]>>;
2309
2445
  readonly done: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
2310
2446
  readonly closed: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
@@ -2551,6 +2687,18 @@ export declare const UpdateTemplatePayload: Schema.Struct<{
2551
2687
  readonly shared: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
2552
2688
  }>;
2553
2689
  }>;
2690
+ export type TemplateRegistrationApproval = {
2691
+ readonly publicationId: TemplatePublicationId;
2692
+ readonly businessAccountId: WhatsAppBusinessAccountId_2;
2693
+ readonly expectedWabaId: string;
2694
+ readonly expectedWorkspaceRevision: string;
2695
+ };
2696
+ export declare const TemplateRegistrationApproval: Schema.Struct<{
2697
+ readonly publicationId: Schema.brand<Schema.String, "TemplatePublicationId">;
2698
+ readonly businessAccountId: Schema.String;
2699
+ readonly expectedWabaId: Schema.String;
2700
+ readonly expectedWorkspaceRevision: Schema.String;
2701
+ }>;
2554
2702
  export type CreateWhatsAppSetupLinkPayload = {
2555
2703
  readonly namespaceId: NamespaceId;
2556
2704
  readonly redirectUrl?: WhatsAppSetupLinkRedirectUrl | null;
@@ -2755,7 +2903,7 @@ export declare const ApiKeyAccess: Schema.Union<readonly [Schema.Struct<{
2755
2903
  readonly analytics: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
2756
2904
  }>;
2757
2905
  readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2758
- readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
2906
+ readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"spam.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"spam.read">]>]>;
2759
2907
  readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
2760
2908
  }>, Schema.Null]>>;
2761
2909
  readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
@@ -3087,6 +3235,25 @@ export declare const MessagePage: Schema.Struct<{
3087
3235
  }>>;
3088
3236
  readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
3089
3237
  }>;
3238
+ export type ReplaceRecipeSetup = {
3239
+ readonly references: RecipeSetupReferences;
3240
+ readonly revision: string | null;
3241
+ };
3242
+ export declare const ReplaceRecipeSetup: Schema.Struct<{
3243
+ readonly references: Schema.Struct<{
3244
+ readonly channel: Schema.Union<readonly [Schema.Literal<"email">, Schema.Literal<"whatsapp">]>;
3245
+ readonly templateFamilyId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateFamilyId">>;
3246
+ readonly integrationAccountId: Schema.optionalKey<Schema.brand<Schema.String, "IntegrationAccountId">>;
3247
+ readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
3248
+ readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
3249
+ readonly whatsappAccountId: Schema.optionalKey<Schema.brand<Schema.String, "WhatsAppBusinessAccountId">>;
3250
+ readonly registrationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateRegistrationId">>;
3251
+ readonly mailboxEndpointId: Schema.optionalKey<Schema.brand<Schema.String, "MailboxEndpointId">>;
3252
+ readonly journeyId: Schema.optionalKey<Schema.brand<Schema.String, "JourneyId">>;
3253
+ readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
3254
+ }>;
3255
+ readonly revision: Schema.Union<readonly [Schema.String, Schema.Null]>;
3256
+ }>;
3090
3257
  export type JourneyTrigger = JourneyCustomEventTrigger | JourneyContactCreatedTrigger | JourneyTagAddedTrigger | JourneyGroupJoinedTrigger;
3091
3258
  export declare const JourneyTrigger: Schema.Union<readonly [Schema.Struct<{
3092
3259
  readonly type: Schema.Literal<"event">;
@@ -3419,6 +3586,21 @@ export declare const OperationAccepted: Schema.Struct<{
3419
3586
  }>;
3420
3587
  }>;
3421
3588
  }>;
3589
+ export type SubmitTemplateRegistrationPayload = {
3590
+ readonly provider: "whatsapp";
3591
+ readonly businessAccountId?: WhatsAppBusinessAccountId_1;
3592
+ readonly approval?: TemplateRegistrationApproval;
3593
+ };
3594
+ export declare const SubmitTemplateRegistrationPayload: Schema.Struct<{
3595
+ readonly provider: Schema.Literal<"whatsapp">;
3596
+ readonly businessAccountId: Schema.optionalKey<Schema.String>;
3597
+ readonly approval: Schema.optionalKey<Schema.Struct<{
3598
+ readonly publicationId: Schema.brand<Schema.String, "TemplatePublicationId">;
3599
+ readonly businessAccountId: Schema.String;
3600
+ readonly expectedWabaId: Schema.String;
3601
+ readonly expectedWorkspaceRevision: Schema.String;
3602
+ }>>;
3603
+ }>;
3422
3604
  export type SmsCampaignContentInput = {
3423
3605
  readonly channel: "sms";
3424
3606
  readonly sms: SmsDispatchContent;
@@ -12,6 +12,11 @@ const IntegrationAccountId = /* @__PURE__ */ (() => Schema.String.check(Schema.i
12
12
  expected: "a string matching the RegExp ^intgacct_[0-9a-hjkmnp-tv-z]{16,24}$",
13
13
  identifier: "IntegrationAccountId"
14
14
  })).pipe(Schema.brand("IntegrationAccountId")))();
15
+ const AccountStatus = /* @__PURE__ */ (() => Schema.Union([
16
+ Schema.Literal("pending"),
17
+ Schema.Literal("connected"),
18
+ Schema.Literal("needsReconnect")
19
+ ]).annotate({ identifier: "AccountStatus" }))();
15
20
  const UserId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^user_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
16
21
  expected: "a string matching the RegExp ^user_[0-9a-hjkmnp-tv-z]{16,24}$",
17
22
  identifier: "UserId"
@@ -422,10 +427,24 @@ const IntegrationTool = /* @__PURE__ */ (() => Schema.String.check(Schema.isPatt
422
427
  expected: "a string matching the RegExp ^[a-z][a-z0-9_.]{0,63}$",
423
428
  identifier: "IntegrationTool"
424
429
  })))();
430
+ const TemplateRegistrationId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^treg_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
431
+ expected: "a string matching the RegExp ^treg_[0-9a-hjkmnp-tv-z]{16,24}$",
432
+ identifier: "TemplateRegistrationId"
433
+ })).pipe(Schema.brand("TemplateRegistrationId")))();
434
+ const TemplateFamilyId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^tfam_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
435
+ expected: "a string matching the RegExp ^tfam_[0-9a-hjkmnp-tv-z]{16,24}$",
436
+ identifier: "TemplateFamilyId"
437
+ })).pipe(Schema.brand("TemplateFamilyId")))();
425
438
  const JourneyId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^jrny_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
426
439
  expected: "a string matching the RegExp ^jrny_[0-9a-hjkmnp-tv-z]{16,24}$",
427
440
  identifier: "JourneyId"
428
441
  })).pipe(Schema.brand("JourneyId")))();
442
+ const JourneyStatus = /* @__PURE__ */ (() => Schema.Union([
443
+ Schema.Literal("draft"),
444
+ Schema.Literal("active"),
445
+ Schema.Literal("paused"),
446
+ Schema.Literal("archived")
447
+ ]).annotate({ identifier: "JourneyStatus" }))();
429
448
  const JourneyName = /* @__PURE__ */ (() => Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(Schema.isPattern(new globalThis.RegExp("^\\S[\\s\\S]*\\S$|^\\S$|^$", "u")).annotate({
430
449
  expected: "a string matching the RegExp ^\\S[\\s\\S]*\\S$|^\\S$|^$",
431
450
  identifier: "JourneyName"
@@ -443,10 +462,6 @@ const JourneyNodeId = /* @__PURE__ */ (() => Schema.String.check(Schema.isMinLen
443
462
  expected: "a value with a length of at least 1",
444
463
  identifier: "JourneyNodeId"
445
464
  })))();
446
- const TemplateRegistrationId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^treg_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
447
- expected: "a string matching the RegExp ^treg_[0-9a-hjkmnp-tv-z]{16,24}$",
448
- identifier: "TemplateRegistrationId"
449
- })).pipe(Schema.brand("TemplateRegistrationId")))();
450
465
  const TemplateChannelVariantId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^tvar_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
451
466
  expected: "a string matching the RegExp ^tvar_[0-9a-hjkmnp-tv-z]{16,24}$",
452
467
  identifier: "TemplateChannelVariantId"
@@ -620,7 +635,8 @@ const MailboxThreadFolder = /* @__PURE__ */ (() => Schema.Union([
620
635
  Schema.Literal("pending"),
621
636
  Schema.Literal("sent"),
622
637
  Schema.Literal("archived"),
623
- Schema.Literal("trash")
638
+ Schema.Literal("trash"),
639
+ Schema.Literal("spam")
624
640
  ]).annotate({ identifier: "MailboxThreadFolder" }))();
625
641
  const MailboxGrantRole = /* @__PURE__ */ (() => Schema.Union([
626
642
  Schema.Literal("admin"),
@@ -808,6 +824,14 @@ const TemplateFromDefaultInput = /* @__PURE__ */ (() => Schema.Struct({
808
824
  email: Schema.String,
809
825
  name: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null]))
810
826
  }).annotate({ identifier: "TemplateFromDefaultInput" }))();
827
+ const WhatsAppBusinessAccountId_1 = /* @__PURE__ */ (() => Schema.String.annotate({ description: "For an immediate submission, the connected number to register on. Defaults to the number for the template's scope." }).check(Schema.isPattern(new globalThis.RegExp("^waba_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
828
+ expected: "a string matching the RegExp ^waba_[0-9a-hjkmnp-tv-z]{16,24}$",
829
+ identifier: "WhatsAppBusinessAccountId_1"
830
+ })))();
831
+ const WhatsAppBusinessAccountId_2 = /* @__PURE__ */ (() => Schema.String.annotate({ description: "The connected WhatsApp number selected for this submission." }).check(Schema.isPattern(new globalThis.RegExp("^waba_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
832
+ expected: "a string matching the RegExp ^waba_[0-9a-hjkmnp-tv-z]{16,24}$",
833
+ identifier: "WhatsAppBusinessAccountId_2"
834
+ })))();
811
835
  var CredentialsError = class extends Schema.TaggedError()("CredentialsError", Schema.Struct({
812
836
  message: Schema.String,
813
837
  retryable: Schema.Boolean
@@ -965,13 +989,13 @@ const ApiKeyMailboxAccess = /* @__PURE__ */ (() => Schema.Struct({
965
989
  Schema.Literal("read"),
966
990
  Schema.Literal("update"),
967
991
  Schema.Literal("send"),
968
- Schema.Literal("quarantine.read")
992
+ Schema.Literal("spam.read")
969
993
  ])]), [Schema.Union([
970
994
  Schema.Literal("read"),
971
995
  Schema.Literal("update"),
972
996
  Schema.Literal("send"),
973
- Schema.Literal("quarantine.read")
974
- ])]).annotate({ description: "`read` reads mailboxes, threads, and messages; `update` changes thread state, labels, drafts, and notes; `send` sends and replies; `quarantine.read` reads quarantined mail." }),
997
+ Schema.Literal("spam.read")
998
+ ])]).annotate({ description: "`read` reads mailboxes, threads, and messages; `update` changes thread state, labels, drafts, and notes; `send` sends and replies; `spam.read` reads quarantined mail." }),
975
999
  mailboxIds: Schema.optionalKey(Schema.Union([Schema.TupleWithRest(Schema.Tuple([MailboxId]), [MailboxId]), Schema.Null]).annotate({ description: "The mailboxes the key may act on. Omit to reach every mailbox the owner can." }))
976
1000
  }).annotate({ identifier: "ApiKeyMailboxAccess" }))();
977
1001
  const CampaignReplyMailbox = /* @__PURE__ */ (() => Schema.Union([MailboxId, Schema.Null]).annotate({
@@ -1016,9 +1040,9 @@ const CreateWebhookPayload = /* @__PURE__ */ (() => Schema.Struct({
1016
1040
  Schema.Literal("mailbox.message.sent"),
1017
1041
  Schema.Literal("mailbox.action.pending_approval"),
1018
1042
  Schema.Literal("mailbox.action.resolved"),
1019
- Schema.Literal("mailbox.message.quarantined"),
1020
- Schema.Literal("mailbox.message.released"),
1043
+ Schema.Literal("mailbox.message.spam"),
1021
1044
  Schema.Literal("mailbox.message.discarded"),
1045
+ Schema.Literal("mailbox.thread.deleted"),
1022
1046
  Schema.Literal("mailbox.message.delivered"),
1023
1047
  Schema.Literal("mailbox.message.read"),
1024
1048
  Schema.Literal("mailbox.message.failed"),
@@ -1072,9 +1096,9 @@ const UpdateWebhookPayload = /* @__PURE__ */ (() => Schema.Struct({
1072
1096
  Schema.Literal("mailbox.message.sent"),
1073
1097
  Schema.Literal("mailbox.action.pending_approval"),
1074
1098
  Schema.Literal("mailbox.action.resolved"),
1075
- Schema.Literal("mailbox.message.quarantined"),
1076
- Schema.Literal("mailbox.message.released"),
1099
+ Schema.Literal("mailbox.message.spam"),
1077
1100
  Schema.Literal("mailbox.message.discarded"),
1101
+ Schema.Literal("mailbox.thread.deleted"),
1078
1102
  Schema.Literal("mailbox.message.delivered"),
1079
1103
  Schema.Literal("mailbox.message.read"),
1080
1104
  Schema.Literal("mailbox.message.failed"),
@@ -1252,6 +1276,18 @@ const SendFeedback = /* @__PURE__ */ (() => Schema.Struct({
1252
1276
  ]).annotate({ description: "`bug`: the API behaved wrongly. `confusing`: a response, error, or doc was hard to act on. `missing`: a capability or field you needed does not exist. `other`: anything else." }), Schema.Null])),
1253
1277
  context: Schema.optionalKey(Schema.Union([FeedbackContext, Schema.Null]))
1254
1278
  }).annotate({ identifier: "SendFeedback" }))();
1279
+ const RecipeSetupReferences = /* @__PURE__ */ (() => Schema.Struct({
1280
+ channel: Schema.Union([Schema.Literal("email"), Schema.Literal("whatsapp")]),
1281
+ templateFamilyId: Schema.optionalKey(TemplateFamilyId),
1282
+ integrationAccountId: Schema.optionalKey(IntegrationAccountId),
1283
+ publicationId: Schema.optionalKey(TemplatePublicationId),
1284
+ senderId: Schema.optionalKey(EmailSenderId),
1285
+ whatsappAccountId: Schema.optionalKey(WhatsAppBusinessAccountId),
1286
+ registrationId: Schema.optionalKey(TemplateRegistrationId),
1287
+ mailboxEndpointId: Schema.optionalKey(MailboxEndpointId),
1288
+ journeyId: Schema.optionalKey(JourneyId),
1289
+ eventBindings: Schema.optionalKey(Schema.Record(Schema.String, Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isPattern(new globalThis.RegExp("^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-zA-Z0-9_]+(?:\\.[a-zA-Z0-9_]+)*$" }))).check(Schema.isPropertyNames(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))).annotate({ expected: "an object with property names matching the schema" })))
1290
+ }).annotate({ identifier: "RecipeSetupReferences" }))();
1255
1291
  const JourneyCustomEventTrigger = /* @__PURE__ */ (() => Schema.Struct({
1256
1292
  type: Schema.Literal("event"),
1257
1293
  eventName: JourneyCustomEventName
@@ -1440,6 +1476,15 @@ const UpdateTemplatePayload = /* @__PURE__ */ (() => Schema.Struct({ data: Schem
1440
1476
  trackingDefault: Schema.optionalKey(Schema.Union([TemplateTrackingDefault, Schema.Null]).annotate({ description: "Engagement tracking for sends of this template: `opens` and `clicks`, each inherited from the domain and organization defaults when omitted. A send request's own `tracking` still wins. Null clears the template's default." })),
1441
1477
  shared: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]).annotate({ description: "Share the template's project with every namespace, or stop sharing it. Applies to every entry in the project. Only an organization-level project is shared." }))
1442
1478
  }) }).annotate({ identifier: "UpdateTemplatePayload" }))();
1479
+ const TemplateRegistrationApproval = /* @__PURE__ */ (() => Schema.Struct({
1480
+ publicationId: TemplatePublicationId,
1481
+ businessAccountId: WhatsAppBusinessAccountId_2,
1482
+ expectedWabaId: Schema.String.annotate({ description: "The Meta business account ID shown for the selected number before approval." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
1483
+ expectedWorkspaceRevision: Schema.String.annotate({ description: "The workspace revision reviewed for this submission." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" }))
1484
+ }).annotate({
1485
+ description: "For a reviewed submission, the exact publication, workspace revision, number and Meta business account. Omit the separate businessAccountId when supplying approval.",
1486
+ identifier: "TemplateRegistrationApproval"
1487
+ }))();
1443
1488
  const SmsContent = /* @__PURE__ */ (() => Schema.Struct({
1444
1489
  text: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
1445
1490
  templateId: Schema.optionalKey(Schema.Union([TemplateId, Schema.Null])),
@@ -1986,6 +2031,6 @@ const ApiKeySecurity = HttpApiSecurity.apiKey({
1986
2031
  in: "header"
1987
2032
  });
1988
2033
  var ApiKeySecurityMiddleware = class extends HttpApiMiddleware.Service()("apiKey security", { security: { apiKey: ApiKeySecurity } }) {};
1989
- export { AccountLinks, AgentDefinition, AgentId, AgentIntegrationGrant, AgentModel, AgentModelChoice, AgentModuleBundle, AgentModuleManifest, AgentModuleTool, AgentName, AgentReasoning, AgentSetupJob, AgentToolScope, AnalyticsQueryError, AnswerWithoutApproval, ApiKeyAccess, ApiKeyId, ApiKeyMailboxAccess, ApiKeyResourceAccess, ApiKeySecurity, ApiKeySecurityMiddleware, AttachmentId, BillingProviderError, BrandAddress, BrandAddressRequiredError, BrandAssets, BrandFooter, BrandSocialLink, CampaignAudience, CampaignContentInput, CampaignContentMetadata, CampaignConversationRef, CampaignEmailInput, CampaignFooterRequiredError, CampaignFromInput, CampaignId, CampaignLatestRun, CampaignReplyMailbox, CampaignRunId, CatalogModelId, ClockTime, ConflictError, ContactConsent, ContactEvent, ContactEventReference, ContactGroupId, ContactId, ContactIdentity, ContactIdentityChannel, ContactIdentityId, ConversationId, CreateBrand, CreateEventPayload, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, CreateTemplatePayload, CreateWebhookPayload, CredentialsError, DeliveryUnavailableError, EmailAttachment, EmailAttachments, EmailBccRecipients, EmailCampaignContentInput, EmailCcRecipients, EmailChannelError, EmailContent, EmailCustomHeaders, EmailDomainId, EmailFooterOverride, EmailRecipient, EmailRecipients, EmailSendMessagePayload, EmailSender, EmailSenderId, EmailTrackingOverrideV1, ExtensionInstallationId, ExternalServiceError, FeedbackContext, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, IanaTimezone, IntegrationAccountId, IntegrationId, IntegrationKey, IntegrationReturnTo, IntegrationStatus, IntegrationTool, InternalError, JourneyBranchEdge, JourneyBranchNode, JourneyComparison, JourneyCondition, JourneyContactCreatedTrigger, JourneyContactProperty, JourneyCustomEventName, JourneyCustomEventTrigger, JourneyCustomFieldPredicate, JourneyDefinition, JourneyEmptyConfig, JourneyEqualityComparison, JourneyEventName, JourneyEventPredicate, JourneyExitNode, JourneyGoal, JourneyGroupJoinedTrigger, JourneyId, JourneyName, JourneyNextEdge, JourneyNode, JourneyNodeId, JourneyNumericComparison, JourneyPredicate, JourneyPresenceComparison, JourneyPropertyPredicate, JourneySendEmailConfig, JourneySendEmailNode, JourneySendWhatsAppConfig, JourneyStringComparison, JourneyTagAddedTrigger, JourneyTagPredicate, JourneyTrigger, JourneyUpdateTagsConfig, JourneyUpdateTagsNode, JourneyWaitConfig, JourneyWaitEventEdge, JourneyWaitForEventConfig, JourneyWaitForEventNode, JourneyWaitNode, JourneyWebhookConfig, JourneyWebhookNode, JsonObject, JsonValue, KnowledgeSourceId, MailboxActionDecision, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadata, MailboxMetadataPatch, MailboxSendConflictError, MailboxSendError, MailboxSendOutcome, MailboxSendReceipt, MailboxSendRefusedError, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MalformedRequestError, MediaId, MessageDeliveryId, MessageId, MessageMetadata, MessagePage, MessageSummary, MonthlySpendCapDollars, NamespaceId, NamespaceMetadata, NamespacePortalLinkMetadata, NamespaceResourceType, NewsletterId, OnboardingReviewRequiredError, Operation, OperationAccepted, OperationId, OperationResource, OperationResourceLink, OrganizationId, PaymentRequiredError, PolicyConfiguration, PolicyDecider, PolicyDecisionId, PolicyEffect, PolicyRequirement, PolicyReviewRound, PolicyRule, PolicyRuleMatch, PolicySubject, PolicyVersion, RateLimitedError, RenderLocale, RenderTimeZone, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ReplyToAddresses, ResourceNotFoundError, SendFeedback, SendMailboxChatPayload, SendMailboxEmailPayload, SenderNotReadyError, SendsSeries, ServiceUnavailableError, ShareLinkUnavailable, ShopifyShop, SkippedRecipient, SlugTaken, SmsCampaignContentInput, SmsContent, SmsDispatchContent, SmsRecipient, SmsRecipients, SmsSendMessagePayload, SmsTemplateData, StoredEmailAttachments, StoredReplyToAddresses, SuccessResponse, TemplateChannelVariantId, TemplateData, TemplateFromDefaultInput, TemplateId, TemplateInUseError, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplateRegistrationId, TemplateSourceError, TemplateTrackingDefault, TestWebhookPayload, TimeZone, TopicContactByEmail, TopicContactById, TopicContactByPhone, TopicContactRef, TopicId, UnauthorizedError, UpdateBrand, UpdateTemplatePayload, UpdateWebhookPayload, UserId, ValidationError, WebhookEndpointId, Weekday, WhatsAppAudio, WhatsAppAudioLink, WhatsAppAudioUpload, WhatsAppBusinessAccountId, WhatsAppButtonsMessage, WhatsAppCampaignContentInput, WhatsAppChannelError, WhatsAppContactCard, WhatsAppContactsContent, WhatsAppContent, WhatsAppCtaUrlMessage, WhatsAppDocument, WhatsAppDocumentHeader, WhatsAppDocumentHeaderLink, WhatsAppDocumentHeaderUpload, WhatsAppDocumentLink, WhatsAppDocumentUpload, WhatsAppFlowId, WhatsAppFlowMessage, WhatsAppFlowVersionId, WhatsAppImage, WhatsAppImageHeader, WhatsAppImageHeaderLink, WhatsAppImageHeaderUpload, WhatsAppImageLink, WhatsAppImageUpload, WhatsAppInteractive, WhatsAppInteractiveContent, WhatsAppInteractiveHeader, WhatsAppJourneySendNode, WhatsAppListMessage, WhatsAppListRow, WhatsAppListSection, WhatsAppLocation, WhatsAppLocationContent, WhatsAppMediaContent, WhatsAppOutboundMedia, WhatsAppReaction, WhatsAppReactionContent, WhatsAppRecipient, WhatsAppRecipients, WhatsAppReplyButton, WhatsAppSendMessagePayload, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkMetadata, WhatsAppSetupLinkRedirectUrl, WhatsAppSetupLinkUnavailableError, WhatsAppSticker, WhatsAppStickerLink, WhatsAppStickerUpload, WhatsAppTemplateBinding, WhatsAppTemplateBindings, WhatsAppTemplateContactBinding, WhatsAppTemplateCustomFieldBinding, WhatsAppTemplateData, WhatsAppTemplateDispatch, WhatsAppTemplateDispatchData, WhatsAppTemplateIdContent, WhatsAppTemplateSlugContent, WhatsAppTextContent, WhatsAppTextHeader, WhatsAppVideo, WhatsAppVideoHeader, WhatsAppVideoHeaderLink, WhatsAppVideoHeaderUpload, WhatsAppVideoLink, WhatsAppVideoUpload, WorkingHours, WorkingHoursRange, AbsoluteInstant as __SamvaRuntimeAbsoluteInstant, NonEmptySensitiveString as __SamvaRuntimeNonEmptySensitiveString, SensitiveString as __SamvaRuntimeSensitiveString };
2034
+ export { AccountLinks, AccountStatus, AgentDefinition, AgentId, AgentIntegrationGrant, AgentModel, AgentModelChoice, AgentModuleBundle, AgentModuleManifest, AgentModuleTool, AgentName, AgentReasoning, AgentSetupJob, AgentToolScope, AnalyticsQueryError, AnswerWithoutApproval, ApiKeyAccess, ApiKeyId, ApiKeyMailboxAccess, ApiKeyResourceAccess, ApiKeySecurity, ApiKeySecurityMiddleware, AttachmentId, BillingProviderError, BrandAddress, BrandAddressRequiredError, BrandAssets, BrandFooter, BrandSocialLink, CampaignAudience, CampaignContentInput, CampaignContentMetadata, CampaignConversationRef, CampaignEmailInput, CampaignFooterRequiredError, CampaignFromInput, CampaignId, CampaignLatestRun, CampaignReplyMailbox, CampaignRunId, CatalogModelId, ClockTime, ConflictError, ContactConsent, ContactEvent, ContactEventReference, ContactGroupId, ContactId, ContactIdentity, ContactIdentityChannel, ContactIdentityId, ConversationId, CreateBrand, CreateEventPayload, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, CreateTemplatePayload, CreateWebhookPayload, CredentialsError, DeliveryUnavailableError, EmailAttachment, EmailAttachments, EmailBccRecipients, EmailCampaignContentInput, EmailCcRecipients, EmailChannelError, EmailContent, EmailCustomHeaders, EmailDomainId, EmailFooterOverride, EmailRecipient, EmailRecipients, EmailSendMessagePayload, EmailSender, EmailSenderId, EmailTrackingOverrideV1, ExtensionInstallationId, ExternalServiceError, FeedbackContext, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, IanaTimezone, IntegrationAccountId, IntegrationId, IntegrationKey, IntegrationReturnTo, IntegrationStatus, IntegrationTool, InternalError, JourneyBranchEdge, JourneyBranchNode, JourneyComparison, JourneyCondition, JourneyContactCreatedTrigger, JourneyContactProperty, JourneyCustomEventName, JourneyCustomEventTrigger, JourneyCustomFieldPredicate, JourneyDefinition, JourneyEmptyConfig, JourneyEqualityComparison, JourneyEventName, JourneyEventPredicate, JourneyExitNode, JourneyGoal, JourneyGroupJoinedTrigger, JourneyId, JourneyName, JourneyNextEdge, JourneyNode, JourneyNodeId, JourneyNumericComparison, JourneyPredicate, JourneyPresenceComparison, JourneyPropertyPredicate, JourneySendEmailConfig, JourneySendEmailNode, JourneySendWhatsAppConfig, JourneyStatus, JourneyStringComparison, JourneyTagAddedTrigger, JourneyTagPredicate, JourneyTrigger, JourneyUpdateTagsConfig, JourneyUpdateTagsNode, JourneyWaitConfig, JourneyWaitEventEdge, JourneyWaitForEventConfig, JourneyWaitForEventNode, JourneyWaitNode, JourneyWebhookConfig, JourneyWebhookNode, JsonObject, JsonValue, KnowledgeSourceId, MailboxActionDecision, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadata, MailboxMetadataPatch, MailboxSendConflictError, MailboxSendError, MailboxSendOutcome, MailboxSendReceipt, MailboxSendRefusedError, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MalformedRequestError, MediaId, MessageDeliveryId, MessageId, MessageMetadata, MessagePage, MessageSummary, MonthlySpendCapDollars, NamespaceId, NamespaceMetadata, NamespacePortalLinkMetadata, NamespaceResourceType, NewsletterId, OnboardingReviewRequiredError, Operation, OperationAccepted, OperationId, OperationResource, OperationResourceLink, OrganizationId, PaymentRequiredError, PolicyConfiguration, PolicyDecider, PolicyDecisionId, PolicyEffect, PolicyRequirement, PolicyReviewRound, PolicyRule, PolicyRuleMatch, PolicySubject, PolicyVersion, RateLimitedError, RecipeSetupReferences, RenderLocale, RenderTimeZone, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ReplyToAddresses, ResourceNotFoundError, SendFeedback, SendMailboxChatPayload, SendMailboxEmailPayload, SenderNotReadyError, SendsSeries, ServiceUnavailableError, ShareLinkUnavailable, ShopifyShop, SkippedRecipient, SlugTaken, SmsCampaignContentInput, SmsContent, SmsDispatchContent, SmsRecipient, SmsRecipients, SmsSendMessagePayload, SmsTemplateData, StoredEmailAttachments, StoredReplyToAddresses, SuccessResponse, TemplateChannelVariantId, TemplateData, TemplateFamilyId, TemplateFromDefaultInput, TemplateId, TemplateInUseError, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplateRegistrationApproval, TemplateRegistrationId, TemplateSourceError, TemplateTrackingDefault, TestWebhookPayload, TimeZone, TopicContactByEmail, TopicContactById, TopicContactByPhone, TopicContactRef, TopicId, UnauthorizedError, UpdateBrand, UpdateTemplatePayload, UpdateWebhookPayload, UserId, ValidationError, WebhookEndpointId, Weekday, WhatsAppAudio, WhatsAppAudioLink, WhatsAppAudioUpload, WhatsAppBusinessAccountId, WhatsAppBusinessAccountId_1, WhatsAppBusinessAccountId_2, WhatsAppButtonsMessage, WhatsAppCampaignContentInput, WhatsAppChannelError, WhatsAppContactCard, WhatsAppContactsContent, WhatsAppContent, WhatsAppCtaUrlMessage, WhatsAppDocument, WhatsAppDocumentHeader, WhatsAppDocumentHeaderLink, WhatsAppDocumentHeaderUpload, WhatsAppDocumentLink, WhatsAppDocumentUpload, WhatsAppFlowId, WhatsAppFlowMessage, WhatsAppFlowVersionId, WhatsAppImage, WhatsAppImageHeader, WhatsAppImageHeaderLink, WhatsAppImageHeaderUpload, WhatsAppImageLink, WhatsAppImageUpload, WhatsAppInteractive, WhatsAppInteractiveContent, WhatsAppInteractiveHeader, WhatsAppJourneySendNode, WhatsAppListMessage, WhatsAppListRow, WhatsAppListSection, WhatsAppLocation, WhatsAppLocationContent, WhatsAppMediaContent, WhatsAppOutboundMedia, WhatsAppReaction, WhatsAppReactionContent, WhatsAppRecipient, WhatsAppRecipients, WhatsAppReplyButton, WhatsAppSendMessagePayload, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkMetadata, WhatsAppSetupLinkRedirectUrl, WhatsAppSetupLinkUnavailableError, WhatsAppSticker, WhatsAppStickerLink, WhatsAppStickerUpload, WhatsAppTemplateBinding, WhatsAppTemplateBindings, WhatsAppTemplateContactBinding, WhatsAppTemplateCustomFieldBinding, WhatsAppTemplateData, WhatsAppTemplateDispatch, WhatsAppTemplateDispatchData, WhatsAppTemplateIdContent, WhatsAppTemplateSlugContent, WhatsAppTextContent, WhatsAppTextHeader, WhatsAppVideo, WhatsAppVideoHeader, WhatsAppVideoHeaderLink, WhatsAppVideoHeaderUpload, WhatsAppVideoLink, WhatsAppVideoUpload, WorkingHours, WorkingHoursRange, AbsoluteInstant as __SamvaRuntimeAbsoluteInstant, NonEmptySensitiveString as __SamvaRuntimeNonEmptySensitiveString, SensitiveString as __SamvaRuntimeSensitiveString };
1990
2035
 
1991
2036
  //# sourceMappingURL=shared.js.map