samva 0.47.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 (90) hide show
  1. package/dist/agent/index.d.ts +1 -0
  2. package/dist/agent/index.js +2 -1
  3. package/dist/agent/runtime.js +26 -5
  4. package/dist/agent/types.d.ts +27 -0
  5. package/dist/client/sdk.gen.d.ts +234 -34
  6. package/dist/client/sdk.gen.js +574 -60
  7. package/dist/client/types.gen.d.ts +1363 -164
  8. package/dist/effect/accounts.d.ts +6 -6
  9. package/dist/effect/agents.d.ts +13 -13
  10. package/dist/effect/analytics.d.ts +6 -6
  11. package/dist/effect/api-keys.d.ts +13 -11
  12. package/dist/effect/approval-requests.d.ts +4 -4
  13. package/dist/effect/attachments.d.ts +4 -4
  14. package/dist/effect/brands.d.ts +6 -6
  15. package/dist/effect/campaigns.d.ts +15 -15
  16. package/dist/effect/contact-groups.d.ts +10 -10
  17. package/dist/effect/contacts.d.ts +25 -25
  18. package/dist/effect/conversations.d.ts +13 -13
  19. package/dist/effect/custom-fields.d.ts +4 -4
  20. package/dist/effect/descriptors/integrations-catalog.d.ts +134 -0
  21. package/dist/effect/descriptors/integrations-catalog.js +122 -0
  22. package/dist/effect/descriptors/mailboxes.d.ts +32 -12
  23. package/dist/effect/descriptors/mailboxes.js +32 -12
  24. package/dist/effect/email.d.ts +61 -61
  25. package/dist/effect/events.d.ts +2 -2
  26. package/dist/effect/feedback.d.ts +1 -1
  27. package/dist/effect/generated/accounts.d.ts +1 -3
  28. package/dist/effect/generated/accounts.js +2 -7
  29. package/dist/effect/generated/api-keys.d.ts +30 -15
  30. package/dist/effect/generated/api-keys.js +2 -0
  31. package/dist/effect/generated/attachments.js +1 -1
  32. package/dist/effect/generated/integrations-catalog.d.ts +2702 -1
  33. package/dist/effect/generated/integrations-catalog.js +578 -3
  34. package/dist/effect/generated/journeys.d.ts +105 -107
  35. package/dist/effect/generated/journeys.js +6 -12
  36. package/dist/effect/generated/mailboxes.d.ts +752 -463
  37. package/dist/effect/generated/mailboxes.js +163 -98
  38. package/dist/effect/generated/messages.d.ts +109 -4
  39. package/dist/effect/generated/messages.js +41 -8
  40. package/dist/effect/generated/shared.d.ts +255 -59
  41. package/dist/effect/generated/shared.js +64 -18
  42. package/dist/effect/generated/template-registrations.d.ts +53 -4
  43. package/dist/effect/generated/template-registrations.js +13 -5
  44. package/dist/effect/generated/templates.d.ts +77 -15
  45. package/dist/effect/generated/templates.js +26 -17
  46. package/dist/effect/generated/webhooks.d.ts +19 -19
  47. package/dist/effect/generated/webhooks.js +8 -8
  48. package/dist/effect/generated/whoami.d.ts +4 -4
  49. package/dist/effect/generated-metadata.d.ts +114 -18
  50. package/dist/effect/generated-metadata.js +362 -340
  51. package/dist/effect/integrations-catalog.d.ts +228 -3
  52. package/dist/effect/integrations-catalog.js +29 -1
  53. package/dist/effect/integrations.d.ts +7 -7
  54. package/dist/effect/internal/client.d.ts +7 -3
  55. package/dist/effect/internal/operation.d.ts +10 -6
  56. package/dist/effect/internal/operation.js +3 -3
  57. package/dist/effect/journeys.d.ts +14 -14
  58. package/dist/effect/mailboxes.d.ts +117 -91
  59. package/dist/effect/mailboxes.js +11 -7
  60. package/dist/effect/media.d.ts +5 -5
  61. package/dist/effect/messages.d.ts +9 -9
  62. package/dist/effect/namespaces.d.ts +11 -11
  63. package/dist/effect/newsletter-domains.d.ts +4 -4
  64. package/dist/effect/newsletter-issues.d.ts +11 -11
  65. package/dist/effect/newsletters.d.ts +5 -5
  66. package/dist/effect/operations.d.ts +3 -3
  67. package/dist/effect/organizations.d.ts +12 -12
  68. package/dist/effect/policies.d.ts +3 -3
  69. package/dist/effect/retry.js +1 -1
  70. package/dist/effect/scheduled-messages.d.ts +5 -5
  71. package/dist/effect/subscriptions.d.ts +1 -1
  72. package/dist/effect/template-registrations.d.ts +9 -3
  73. package/dist/effect/template-share-links.d.ts +5 -5
  74. package/dist/effect/templates.d.ts +46 -37
  75. package/dist/effect/topic-forms.d.ts +5 -5
  76. package/dist/effect/topics.d.ts +9 -9
  77. package/dist/effect/webhooks.d.ts +15 -15
  78. package/dist/effect/whatsapp-flows.d.ts +10 -10
  79. package/dist/effect/whatsapp-setup-links.d.ts +4 -4
  80. package/dist/effect/whatsapp.d.ts +12 -12
  81. package/dist/effect/whoami.d.ts +1 -1
  82. package/dist/inline-attachments.d.ts +0 -5
  83. package/dist/mailbox-events.d.ts +1 -5
  84. package/dist/mailbox-events.js +2 -2
  85. package/dist/package.js +1 -1
  86. package/dist/promises/client.d.ts +4 -4
  87. package/dist/promises/client.js +8 -4
  88. package/dist/promises/types.gen.d.ts +1 -1
  89. package/dist/service-map.d.ts +83 -9
  90. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { type Client, type ClientMeta, type Options as Options2, type RequestResult, type TDataShape } from "./client/index.js";
2
- import type { AccountLinksWritable, AccountsCheckErrors, AccountsCheckResponses, AccountsConnectErrors, AccountsConnectResponses, AccountsGetErrors, AccountsGetResponses, AccountsListContactConnectionsErrors, AccountsListContactConnectionsResponses, AccountsListErrors, AccountsListResponses, AccountsRemoveErrors, AccountsRemoveResponses, AgentDefinition, AgentId, AgentModuleBundle, AgentName, AgentsContinueOnStandardErrors, AgentsContinueOnStandardResponses, AgentsCreateErrors, AgentsCreateResponses, AgentSetupJob, AgentsGetErrors, AgentsGetResponses, AgentsGetVersionErrors, AgentsGetVersionResponses, AgentsListErrors, AgentsListModelsErrors, AgentsListModelsResponses, AgentsListResponses, AgentsListVersionsErrors, AgentsListVersionsResponses, AgentsPublishErrors, AgentsPublishResponses, AgentsPublishVersionErrors, AgentsPublishVersionResponses, AgentsRemoveErrors, AgentsRemoveResponses, AgentsReplaceDraftErrors, AgentsReplaceDraftResponses, AgentsRerunTestsErrors, AgentsRerunTestsResponses, AgentsUpdateErrors, AgentsUpdateResponses, AnalyticsExportDataErrors, AnalyticsExportDataResponses, AnalyticsGetChannelStatsErrors, AnalyticsGetChannelStatsResponses, AnalyticsGetDeliveryMetricsErrors, AnalyticsGetDeliveryMetricsResponses, AnalyticsGetHourlyDistributionErrors, AnalyticsGetHourlyDistributionResponses, AnalyticsGetStatsErrors, AnalyticsGetStatsResponses, AnalyticsGetTopContactsErrors, AnalyticsGetTopContactsResponses, AnswerWithoutApproval, ApiKeyAccess, ApiKeyId, ApiKeysCreateErrors, ApiKeysCreateResponses, ApiKeysGetActivityErrors, ApiKeysGetActivityResponses, ApiKeysGetErrors, ApiKeysGetResponses, ApiKeysGetStatsErrors, ApiKeysGetStatsResponses, ApiKeysListErrors, ApiKeysListResponses, ApiKeysRevokeErrors, ApiKeysRevokeResponses, ApiKeysRotateErrors, ApiKeysRotateResponses, ApiKeysUpdateErrors, ApiKeysUpdateResponses, ApprovalCallWritable, ApprovalRequestId, ApprovalRequestsApproveErrors, ApprovalRequestsApproveResponses, ApprovalRequestsCreateErrors, ApprovalRequestsCreateResponses, ApprovalRequestsGetErrors, ApprovalRequestsGetResponses, ApprovalRequestsRejectErrors, ApprovalRequestsRejectResponses, AttachmentId, AttachmentsDownloadUrlErrors, AttachmentsDownloadUrlResponses, AttachmentsGetByIdErrors, AttachmentsGetByIdResponses, AttachmentsListErrors, AttachmentsListResponses, AttachmentsRemoveErrors, AttachmentsRemoveResponses, BlockedEmailId, BrandAssets, BrandFooter, BrandsCreateErrors, BrandsCreateResponses, BrandsGetErrors, BrandsGetResponses, BrandsListErrors, BrandsListResponses, BrandsRemoveErrors, BrandsRemoveResponses, BrandsSetDefaultErrors, BrandsSetDefaultResponses, BrandsUpdateErrors, BrandsUpdateResponses, CampaignAudience, CampaignContentInput, CampaignId, CampaignPolicy, CampaignRunId, CampaignsArchiveErrors, CampaignsArchiveResponses, CampaignsCancelRunErrors, CampaignsCancelRunResponses, CampaignsCreateErrors, CampaignsCreateResponses, CampaignsGetErrors, CampaignsGetResponses, CampaignsGetRunErrors, CampaignsGetRunReportErrors, CampaignsGetRunReportResponses, CampaignsGetRunResponses, CampaignsListErrors, CampaignsListRecipientsErrors, CampaignsListRecipientsResponses, CampaignsListResponses, CampaignsListRunsErrors, CampaignsListRunsResponses, CampaignsPauseRunErrors, CampaignsPauseRunResponses, CampaignsPreviewErrors, CampaignsPreviewResponses, CampaignsResumeRunErrors, CampaignsResumeRunResponses, CampaignsScheduleRunErrors, CampaignsScheduleRunResponses, CampaignsSendTestErrors, CampaignsSendTestResponses, CampaignsUpdateErrors, CampaignsUpdateResponses, ContactEventReference, ContactEventsListEventsErrors, ContactEventsListEventsResponses, ContactGroupId, ContactGroupsAddMembersErrors, ContactGroupsAddMembersResponses, ContactGroupsCreateErrors, ContactGroupsCreateResponses, ContactGroupsEvaluateDynamicErrors, ContactGroupsEvaluateDynamicResponses, ContactGroupsGetByIdErrors, ContactGroupsGetByIdResponses, ContactGroupsGetMembersErrors, ContactGroupsGetMembersResponses, ContactGroupsListErrors, ContactGroupsListResponses, ContactGroupsPreviewErrors, ContactGroupsPreviewResponses, ContactGroupsRemoveErrors, ContactGroupsRemoveMembersErrors, ContactGroupsRemoveMembersResponses, ContactGroupsRemoveResponses, ContactGroupsUpdateErrors, ContactGroupsUpdateResponses, ContactId, ContactIdentityId, ContactIdentityInput, ContactImportJobId, ContactLookup, ContactPreferences, ContactProfileUpdate, ContactProfileWritable, ContactsAddIdentityErrors, ContactsAddIdentityResponses, ContactsAddTagsErrors, ContactsAddTagsResponses, ContactsBulkDeleteErrors, ContactsBulkDeleteResponses, ContactsBulkUpdateStatusErrors, ContactsBulkUpdateStatusResponses, ContactsBulkUpdateTagsErrors, ContactsBulkUpdateTagsResponses, ContactsCreateErrors, ContactsCreateResponses, ContactsExportErrors, ContactsExportResponses, ContactsFindErrors, ContactsFindOrCreateErrors, ContactsFindOrCreateResponses, ContactsFindResponses, ContactsGetActivityTimelineErrors, ContactsGetActivityTimelineResponses, ContactsGetEngagementErrors, ContactsGetEngagementResponses, ContactsGetErrors, ContactsGetGroupMembershipsErrors, ContactsGetGroupMembershipsResponses, ContactsGetImportJobErrors, ContactsGetImportJobResponses, ContactsGetResponses, ContactsListErrors, ContactsListResponses, ContactsMergeByConnectionErrors, ContactsMergeByConnectionResponses, ContactsMergeErrors, ContactsMergeResponses, ContactsPlanImportErrors, ContactsPlanImportResponses, ContactsRemoveErrors, ContactsRemoveIdentityErrors, ContactsRemoveIdentityResponses, ContactsRemoveResponses, ContactsRemoveTagsErrors, ContactsRemoveTagsResponses, ContactsSetConsentErrors, ContactsSetConsentResponses, ContactsStartImportErrors, ContactsStartImportResponses, ContactsUpdateErrors, ContactsUpdateResponses, ConversationContextWritable, ConversationId, ConversationsAddCategoriesErrors, ConversationsAddCategoriesResponses, ConversationsAddChannelsErrors, ConversationsAddChannelsResponses, ConversationsAddContactsErrors, ConversationsAddContactsResponses, ConversationsAddTagsErrors, ConversationsAddTagsResponses, ConversationsCreateErrors, ConversationsCreateResponses, ConversationsGetByIdErrors, ConversationsGetByIdResponses, ConversationsListErrors, ConversationsListMessagesErrors, ConversationsListMessagesResponses, ConversationsListResponses, ConversationsRemoveCategoriesErrors, ConversationsRemoveCategoriesResponses, ConversationsRemoveChannelsErrors, ConversationsRemoveChannelsResponses, ConversationsRemoveContactsErrors, ConversationsRemoveContactsResponses, ConversationsRemoveTagsErrors, ConversationsRemoveTagsResponses, ConversationsUpdateErrors, ConversationsUpdateResponses, CreateEventPayload, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, CustomFieldDefinitionId, CustomFieldsCreateErrors, CustomFieldsCreateResponses, CustomFieldsListErrors, CustomFieldsListResponses, CustomFieldsRemoveErrors, CustomFieldsRemoveResponses, CustomFieldsUpdateErrors, CustomFieldsUpdateResponses, DispatchSendMessagePayload, EmailAddBlockErrors, EmailAddBlockResponses, EmailAddDomainErrors, EmailAddDomainResponses, EmailAddSenderErrors, EmailAddSenderResponses, EmailAdvanceDomainVerificationErrors, EmailAdvanceDomainVerificationResponses, EmailAttachment, EmailBccRecipients, EmailBuildCustomTrackingDomainConnectApplyUrlErrors, EmailBuildCustomTrackingDomainConnectApplyUrlResponses, EmailBuildDomainConnectApplyUrlErrors, EmailBuildDomainConnectApplyUrlResponses, EmailCancelDomainWarmingBatchErrors, EmailCancelDomainWarmingBatchResponses, EmailCcRecipients, EmailCheckBlockedErrors, EmailCheckBlockedResponses, EmailCheckSenderVerificationErrors, EmailCheckSenderVerificationResponses, EmailCompleteCustomTrackingDomainConnectErrors, EmailCompleteCustomTrackingDomainConnectResponses, EmailCompleteDomainConnectErrors, EmailCompleteDomainConnectResponses, EmailCompleteDomainWarmingErrors, EmailCompleteDomainWarmingResponses, EmailContent, EmailCountSuppressionsErrors, EmailCountSuppressionsResponses, EmailCreateDomainWarmingPlanErrors, EmailCreateDomainWarmingPlanResponses, EmailCreateForwardingRuleErrors, EmailCreateForwardingRuleResponses, EmailDeleteForwardingRuleErrors, EmailDeleteForwardingRuleResponses, EmailDetectRegistrarErrors, EmailDetectRegistrarResponses, EmailDisableCatchAllErrors, EmailDisableCatchAllResponses, EmailDisableCustomTrackingErrors, EmailDisableCustomTrackingResponses, EmailDomainId, EmailDomainWarmingBatchId, EmailEnableCatchAllErrors, EmailEnableCatchAllResponses, EmailEnableCustomTrackingErrors, EmailEnableCustomTrackingResponses, EmailEnableReceivingErrors, EmailEnableReceivingResponses, EmailForwardingRuleId, EmailGetBlockLogsErrors, EmailGetBlockLogsResponses, EmailGetCatchAllConfigErrors, EmailGetCatchAllConfigResponses, EmailGetCatchAllStatsErrors, EmailGetCatchAllStatsResponses, EmailGetCustomTrackingDomainConnectErrors, EmailGetCustomTrackingDomainConnectResponses, EmailGetCustomTrackingErrors, EmailGetCustomTrackingResponses, EmailGetDomainByIdErrors, EmailGetDomainByIdResponses, EmailGetDomainConnectErrors, EmailGetDomainConnectResponses, EmailGetDomainVerificationErrors, EmailGetDomainVerificationResponses, EmailGetDomainWarmingErrors, EmailGetDomainWarmingResponses, EmailGetForwardingLogErrors, EmailGetForwardingLogResponses, EmailGetOnboardingReviewErrors, EmailGetOnboardingReviewResponses, EmailGetReceivingStatusErrors, EmailGetReceivingStatusResponses, EmailGetRecipientTrackingPreferenceErrors, EmailGetRecipientTrackingPreferenceResponses, EmailGetSenderErrors, EmailGetSenderResponses, EmailGetStatsErrors, EmailGetStatsResponses, EmailGetTrackingDefaultsErrors, EmailGetTrackingDefaultsResponses, EmailListBlocksErrors, EmailListBlocksResponses, EmailListDomainsErrors, EmailListDomainsResponses, EmailListForwardingRulesErrors, EmailListForwardingRulesResponses, EmailListSendersErrors, EmailListSendersResponses, EmailListSuppressionsErrors, EmailListSuppressionsResponses, EmailPauseDomainWarmingErrors, EmailPauseDomainWarmingResponses, EmailReapplyOnboardingReviewErrors, EmailReapplyOnboardingReviewResponses, EmailRecheckCustomTrackingErrors, EmailRecheckCustomTrackingResponses, EmailRecipients, EmailRemoveBlockErrors, EmailRemoveBlockResponses, EmailRemoveDomainErrors, EmailRemoveDomainResponses, EmailRemoveSenderErrors, EmailRemoveSenderResponses, EmailRemoveSuppressionErrors, EmailRemoveSuppressionResponses, EmailRespondToOnboardingInformationRequestErrors, EmailRespondToOnboardingInformationRequestResponses, EmailResumeDomainWarmingErrors, EmailResumeDomainWarmingResponses, EmailRotateDomainDkimErrors, EmailRotateDomainDkimResponses, EmailSender, EmailSenderId, EmailSendMessagePayload, EmailSetDefaultDomainErrors, EmailSetDefaultDomainResponses, EmailSetDefaultSenderErrors, EmailSetDefaultSenderResponses, EmailUpdateBlockErrors, EmailUpdateBlockResponses, EmailUpdateCatchAllConfigErrors, EmailUpdateCatchAllConfigResponses, EmailUpdateDomainConfigErrors, EmailUpdateDomainConfigResponses, EmailUpdateDomainWarmingPolicyErrors, EmailUpdateDomainWarmingPolicyResponses, EmailUpdateForwardingRuleErrors, EmailUpdateForwardingRuleResponses, EmailUpdateRecipientTrackingPreferenceErrors, EmailUpdateRecipientTrackingPreferenceResponses, EmailUpdateTrackingDefaultsErrors, EmailUpdateTrackingDefaultsResponses, EventsBatchErrors, EventsBatchResponses, EventsCreateErrors, EventsCreateResponses, FeedbackContext, FeedbackSendErrors, FeedbackSendResponses, ForwardingConditions, IanaTimezone, IntegrationAccountId, IntegrationCatalogListErrors, IntegrationCatalogListResponses, IntegrationCatalogPrepareErrors, IntegrationCatalogPrepareResponses, IntegrationCatalogSearchErrors, IntegrationCatalogSearchResponses, IntegrationId, IntegrationKey, IntegrationReturnTo, IntegrationsGetErrors, IntegrationsGetResponses, IntegrationsInstallErrors, IntegrationsInstallResponses, IntegrationsListErrors, IntegrationsListResponses, IntegrationsListToolsErrors, IntegrationsListToolsResponses, IntegrationsReadToolErrors, IntegrationsReadToolResponses, IntegrationsRemoveErrors, IntegrationsRemoveResponses, IntegrationsUpdateErrors, IntegrationsUpdateResponses, IntegrationTool, JourneyDefinitionWritable, JourneyId, JourneyName, JourneyRunId, JourneyRunStatus, JourneysArchiveErrors, JourneysArchiveResponses, JourneysCreateErrors, JourneysCreateResponses, JourneysGetErrors, JourneysGetResponses, JourneysGetRunErrors, JourneysGetRunResponses, JourneysGetVersionErrors, JourneysGetVersionResponses, JourneysListErrors, JourneysListResponses, JourneysListRunsErrors, JourneysListRunsResponses, JourneysPauseErrors, JourneysPauseResponses, JourneysPublishErrors, JourneysPublishResponses, JourneysRemoveErrors, JourneysRemoveResponses, JourneysReplaceDraftErrors, JourneysReplaceDraftResponses, JourneysResumeErrors, JourneysResumeResponses, JourneysStatsErrors, JourneysStatsResponses, JourneyStatus, JourneysUpdateErrors, JourneysUpdateResponses, JsonObjectWritable, JsonValueWritable, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxesAddThreadLabelsErrors, MailboxesAddThreadLabelsResponses, MailboxesApproveActionErrors, MailboxesApproveActionResponses, MailboxesCancelActionErrors, MailboxesCancelActionResponses, MailboxesCopyMessageAttachmentErrors, MailboxesCopyMessageAttachmentResponses, MailboxesCountSplitsErrors, MailboxesCountSplitsResponses, MailboxesCreateDraftErrors, MailboxesCreateDraftResponses, MailboxesCreateEndpointErrors, MailboxesCreateEndpointResponses, MailboxesCreateErrors, MailboxesCreateGrantErrors, MailboxesCreateGrantResponses, MailboxesCreateImportUploadErrors, MailboxesCreateImportUploadResponses, MailboxesCreateLabelErrors, MailboxesCreateLabelResponses, MailboxesCreateNoteErrors, MailboxesCreateNoteResponses, MailboxesCreateResponses, MailboxesCreateSplitErrors, MailboxesCreateSplitResponses, MailboxesDeleteDraftErrors, MailboxesDeleteDraftResponses, MailboxesDeleteLabelErrors, MailboxesDeleteLabelResponses, MailboxesDeleteNoteErrors, MailboxesDeleteNoteResponses, MailboxesDeleteSplitErrors, MailboxesDeleteSplitResponses, MailboxesDenyActionErrors, MailboxesDenyActionResponses, MailboxesDiscardMessageErrors, MailboxesDiscardMessageResponses, MailboxesForwardErrors, MailboxesForwardResponses, MailboxesGetActionErrors, MailboxesGetActionResponses, MailboxesGetAgentActivityErrors, MailboxesGetAgentActivityResponses, MailboxesGetDraftErrors, MailboxesGetDraftResponses, MailboxesGetErrors, MailboxesGetImportErrors, MailboxesGetImportResponses, MailboxesGetMessageAttachmentErrors, MailboxesGetMessageAttachmentResponses, MailboxesGetMessageErrors, MailboxesGetMessageRawErrors, MailboxesGetMessageRawResponses, MailboxesGetMessageResponses, MailboxesGetNeedsYouErrors, MailboxesGetNeedsYouResponses, MailboxesGetResponses, MailboxesGetThreadContentErrors, MailboxesGetThreadContentResponses, MailboxesGetThreadErrors, MailboxesGetThreadResponses, MailboxesListActionsErrors, MailboxesListActionsResponses, MailboxesListAddressesErrors, MailboxesListAddressesResponses, MailboxesListDraftsErrors, MailboxesListDraftsResponses, MailboxesListErrors, MailboxesListEventsErrors, MailboxesListEventsResponses, MailboxesListFoldersErrors, MailboxesListFoldersResponses, MailboxesListGrantsErrors, MailboxesListGrantsResponses, MailboxesListImportsErrors, MailboxesListImportsResponses, MailboxesListLabelsErrors, MailboxesListLabelsResponses, MailboxesListOrganizationDraftsErrors, MailboxesListOrganizationDraftsResponses, MailboxesListOrganizationThreadsErrors, MailboxesListOrganizationThreadsResponses, MailboxesListQuarantineErrors, MailboxesListQuarantineResponses, MailboxesListResponses, MailboxesListScheduledSendsErrors, MailboxesListScheduledSendsResponses, MailboxesListSplitsErrors, MailboxesListSplitsResponses, MailboxesListThreadMessagesErrors, MailboxesListThreadMessagesResponses, MailboxesListThreadNotesErrors, MailboxesListThreadNotesResponses, MailboxesListThreadsErrors, MailboxesListThreadsResponses, MailboxesPauseErrors, MailboxesPauseResponses, MailboxesReleaseMessageErrors, MailboxesReleaseMessageResponses, MailboxesRemoveEndpointErrors, MailboxesRemoveEndpointResponses, MailboxesRemoveErrors, MailboxesRemoveResponses, MailboxesRemoveThreadLabelsErrors, MailboxesRemoveThreadLabelsResponses, MailboxesReplyAllErrors, MailboxesReplyAllResponses, MailboxesReplyErrors, MailboxesReplyResponses, MailboxesRescheduleSendErrors, MailboxesRescheduleSendResponses, MailboxesResumeErrors, MailboxesResumeResponses, MailboxesRetryActionErrors, MailboxesRetryActionResponses, MailboxesRevokeGrantErrors, MailboxesRevokeGrantResponses, MailboxesScheduleDraftErrors, MailboxesScheduleDraftResponses, MailboxesSendDraftErrors, MailboxesSendDraftResponses, MailboxesSendMessageErrors, MailboxesSendMessageResponses, MailboxesSendScheduledNowErrors, MailboxesSendScheduledNowResponses, MailboxesStartImportErrors, MailboxesStartImportResponses, MailboxesUnscheduleSendErrors, MailboxesUnscheduleSendResponses, MailboxesUpdateDraftErrors, MailboxesUpdateDraftResponses, MailboxesUpdateEndpointErrors, MailboxesUpdateEndpointResponses, MailboxesUpdateErrors, MailboxesUpdateGrantErrors, MailboxesUpdateGrantResponses, MailboxesUpdateLabelErrors, MailboxesUpdateLabelResponses, MailboxesUpdateNoteErrors, MailboxesUpdateNoteResponses, MailboxesUpdateResponses, MailboxesUpdateSplitErrors, MailboxesUpdateSplitResponses, MailboxesUpdateThreadErrors, MailboxesUpdateThreadResponses, MailboxGrantId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadataPatch, MailboxMetadataWritable, MailboxNoteId, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MailOutboxItemId, MediaCompleteErrors, MediaCompleteResponses, MediaCreateErrors, MediaCreateResponses, MediaDownloadUrlErrors, MediaDownloadUrlResponses, MediaGetByIdErrors, MediaGetByIdResponses, MediaId, MediaRemoveErrors, MediaRemoveResponses, MessageDeliveryId, MessageId, MessageMetadataWritable, MessagesGetContentErrors, MessagesGetContentResponses, MessagesGetEmailErrors, MessagesGetEmailResponses, MessagesGetErrors, MessagesGetEventsErrors, MessagesGetEventsResponses, MessagesGetResponses, MessagesGetStatusErrors, MessagesGetStatusResponses, MessagesListDeliveriesErrors, MessagesListDeliveriesResponses, MessagesListErrors, MessagesListResponses, MessagesRemoveErrors, MessagesRemoveResponses, MessagesSendErrors, MessagesSendResponses, MessagesValidateEmailErrors, MessagesValidateEmailResponses, MonthlySpendCapDollars, NamespaceId, NamespaceMetadataWritable, NamespacePortalLinkId, NamespacePortalLinkMetadataWritable, NamespaceResourceType, NamespacesAssignResourceErrors, NamespacesAssignResourceResponses, NamespacesCreateErrors, NamespacesCreatePortalLinkErrors, NamespacesCreatePortalLinkResponses, NamespacesCreateResponses, NamespacesGetErrors, NamespacesGetResponses, NamespacesGetUsageErrors, NamespacesGetUsageResponses, NamespacesListErrors, NamespacesListPortalLinksErrors, NamespacesListPortalLinksResponses, NamespacesListResponses, NamespacesRemoveErrors, NamespacesRemoveResourceErrors, NamespacesRemoveResourceResponses, NamespacesRemoveResponses, NamespacesRevokePortalLinkErrors, NamespacesRevokePortalLinkResponses, NamespacesUpdateErrors, NamespacesUpdateResponses, NewsletterDomainsAddErrors, NewsletterDomainsAddResponses, NewsletterDomainsGetErrors, NewsletterDomainsGetResponses, NewsletterDomainsListErrors, NewsletterDomainsListResponses, NewsletterDomainsRemoveErrors, NewsletterDomainsRemoveResponses, NewsletterId, NewsletterIssuesCheckErrors, NewsletterIssuesCheckResponses, NewsletterIssuesCreateErrors, NewsletterIssuesCreateResponses, NewsletterIssuesGetErrors, NewsletterIssuesGetResponses, NewsletterIssuesHeadErrors, NewsletterIssuesHeadResponses, NewsletterIssuesHistoryErrors, NewsletterIssuesHistoryResponses, NewsletterIssuesListErrors, NewsletterIssuesListResponses, NewsletterIssuesOpenErrors, NewsletterIssuesOpenResponses, NewsletterIssuesRemoveErrors, NewsletterIssuesRemoveResponses, NewsletterIssuesRenderErrors, NewsletterIssuesRenderResponses, NewsletterIssuesSaveErrors, NewsletterIssuesSaveResponses, NewsletterIssuesUpdateErrors, NewsletterIssuesUpdateResponses, NewslettersCreateErrors, NewslettersCreateResponses, NewslettersGetErrors, NewslettersGetResponses, NewslettersListErrors, NewslettersListResponses, NewslettersRemoveErrors, NewslettersRemoveResponses, NewslettersUpdateErrors, NewslettersUpdateResponses, OperationId, OperationsGetErrors, OperationsGetResponses, OperationsListErrors, OperationsListResponses, OperationsRetryErrors, OperationsRetryResponses, OrganizationsAssignPersonalMailboxErrors, OrganizationsAssignPersonalMailboxResponses, OrganizationsCreateAvatarUploadErrors, OrganizationsCreateAvatarUploadResponses, OrganizationsCreateErrors, OrganizationsCreateResponses, OrganizationsDeleteErrors, OrganizationsDeleteResponses, OrganizationsGetErrors, OrganizationsGetPersonalMailboxAddressOptionsErrors, OrganizationsGetPersonalMailboxAddressOptionsResponses, OrganizationsGetProfileErrors, OrganizationsGetProfileResponses, OrganizationsGetResponses, OrganizationsGetTrustTierErrors, OrganizationsGetTrustTierResponses, OrganizationsGetUsageErrors, OrganizationsGetUsageResponses, OrganizationsInviteMemberErrors, OrganizationsInviteMemberResponses, OrganizationsListPersonalMailboxAssignmentsErrors, OrganizationsListPersonalMailboxAssignmentsResponses, OrganizationsUpdateErrors, OrganizationsUpdateResponses, PhoneRegion, PoliciesDeletePolicyErrors, PoliciesDeletePolicyResponses, PoliciesGetPolicyErrors, PoliciesGetPolicyResponses, PoliciesSetPolicyErrors, PoliciesSetPolicyResponses, PolicyReviewRound, PolicyRule, PolicyVersion, RenderLocale, RenderTimeZone, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ScheduledMessageId, ScheduledMessagesCancelErrors, ScheduledMessagesCancelResponses, ScheduledMessagesCreateErrors, ScheduledMessagesCreateResponses, ScheduledMessagesGetErrors, ScheduledMessagesGetResponses, ScheduledMessagesListErrors, ScheduledMessagesListResponses, ScheduledMessagesResumeErrors, ScheduledMessagesResumeResponses, SendMailboxChatPayload, SendMailboxEmailPayload, SmsSendMessagePayload, SubscriptionsSubscribeErrors, SubscriptionsSubscribeResponses, SuppressionId, TemplateFamilyId, TemplateFromDefaultInput, TemplateId, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplateRegistrationId, TemplateRegistrationsGetErrors, TemplateRegistrationsGetResponses, TemplateRegistrationsListErrors, TemplateRegistrationsListResponses, TemplateRegistrationsSubmitErrors, TemplateRegistrationsSubmitResponses, TemplatesAddEntryErrors, TemplatesAddEntryResponses, TemplatesAttachFamilyMemberErrors, TemplatesAttachFamilyMemberResponses, TemplatesAttachWorkspaceResourceErrors, TemplatesAttachWorkspaceResourceResponses, TemplatesCheckWorkspaceErrors, TemplatesCheckWorkspaceResponses, TemplatesCreateErrors, TemplatesCreateFamilyErrors, TemplatesCreateFamilyFromTemplateErrors, TemplatesCreateFamilyFromTemplateResponses, TemplatesCreateFamilyResponses, TemplatesCreateFromBriefErrors, TemplatesCreateFromBriefResponses, TemplatesCreateFromWebsiteErrors, TemplatesCreateFromWebsiteResponses, TemplatesCreateResponses, TemplatesDeleteErrors, TemplatesDeleteFamilyErrors, TemplatesDeleteFamilyResponses, TemplatesDeleteProjectErrors, TemplatesDeleteProjectResponses, TemplatesDeleteResponses, TemplatesDetachFamilyMemberErrors, TemplatesDetachFamilyMemberResponses, TemplatesDiffWorkspaceErrors, TemplatesDiffWorkspaceResponses, TemplatesGetByIdErrors, TemplatesGetByIdResponses, TemplatesGetFamilyErrors, TemplatesGetFamilyResponses, TemplatesGetGitRepositoryErrors, TemplatesGetGitRepositoryResponses, TemplatesGetInputContractErrors, TemplatesGetInputContractResponses, TemplatesGetPublicationErrors, TemplatesGetPublicationResponses, TemplateShareLinksCreateErrors, TemplateShareLinksCreateResponses, TemplateShareLinksDeleteErrors, TemplateShareLinksDeleteResponses, TemplateShareLinksGetErrors, TemplateShareLinksGetResponses, TemplateShareLinksRenameErrors, TemplateShareLinksRenameResponses, TemplateShareLinksUpdateErrors, TemplateShareLinksUpdateResponses, TemplatesIssueGitCredentialErrors, TemplatesIssueGitCredentialResponses, TemplatesListErrors, TemplatesListFamiliesErrors, TemplatesListFamiliesResponses, TemplatesListInputContractsErrors, TemplatesListInputContractsResponses, TemplatesListResponses, TemplatesOpenWorkspaceErrors, TemplatesOpenWorkspaceResponses, TemplatesPatchWorkspaceErrors, TemplatesPatchWorkspaceResponses, TemplatesPublishErrors, TemplatesPublishResponses, TemplatesPutWorkspaceAssetErrors, TemplatesPutWorkspaceAssetResponses, TemplatesRemoveWorkspaceResourceErrors, TemplatesRemoveWorkspaceResourceResponses, TemplatesRenameFamilyErrors, TemplatesRenameFamilyResponses, TemplatesRenderPublicationErrors, TemplatesRenderPublicationResponses, TemplatesRenderWorkspaceFixtureErrors, TemplatesRenderWorkspaceFixtureResponses, TemplatesResolveWorkspaceConflictErrors, TemplatesResolveWorkspaceConflictResponses, TemplatesRestoreWorkspaceErrors, TemplatesRestoreWorkspaceResponses, TemplatesSaveWorkspaceErrors, TemplatesSaveWorkspaceResponses, TemplatesSuggestStartersErrors, TemplatesSuggestStartersResponses, TemplatesUpdateErrors, TemplatesUpdateResponses, TemplatesWorkspaceHistoryErrors, TemplatesWorkspaceHistoryResponses, TemplateTrackingDefault, TopicContactRef, TopicFormsCreateErrors, TopicFormsCreateResponses, TopicFormsGetErrors, TopicFormsGetResponses, TopicFormsListErrors, TopicFormsListResponses, TopicFormsRemoveErrors, TopicFormsRemoveResponses, TopicFormsUpdateErrors, TopicFormsUpdateResponses, TopicId, TopicsCheckSubscriptionErrors, TopicsCheckSubscriptionResponses, TopicsCreateErrors, TopicsCreateResponses, TopicsGetErrors, TopicsGetResponses, TopicsListErrors, TopicsListResponses, TopicsListSubscriptionsErrors, TopicsListSubscriptionsResponses, TopicsRemoveErrors, TopicsRemoveResponses, TopicsSetDefaultErrors, TopicsSetDefaultResponses, TopicsSetSubscriptionsErrors, TopicsSetSubscriptionsResponses, TopicsUpdateErrors, TopicsUpdateResponses, TrackingRecipientEmail, UserId, WebhookDeliveryId, WebhookEndpointId, WebhooksCreateErrors, WebhooksCreateResponses, WebhooksGetErrors, WebhooksGetLogsErrors, WebhooksGetLogsResponses, WebhooksGetResponses, WebhooksGetSecretErrors, WebhooksGetSecretResponses, WebhooksGetStatsErrors, WebhooksGetStatsResponses, WebhooksListErrors, WebhooksListResponses, WebhooksRegenerateSecretErrors, WebhooksRegenerateSecretResponses, WebhooksRemoveErrors, WebhooksRemoveResponses, WebhooksRetryDeliveryErrors, WebhooksRetryDeliveryResponses, WebhooksTestErrors, WebhooksTestResponses, WebhooksUpdateErrors, WebhooksUpdateResponses, WhatsAppBusinessAccountId, WhatsappConnectBusinessAccountErrors, WhatsappConnectBusinessAccountResponses, WhatsappDisconnectBusinessAccountErrors, WhatsappDisconnectBusinessAccountResponses, WhatsAppFlowId, WhatsappFlowsCreateErrors, WhatsappFlowsCreateResponses, WhatsappFlowsGetErrors, WhatsappFlowsGetResponses, WhatsappFlowsListErrors, WhatsappFlowsListRegistrationsErrors, WhatsappFlowsListRegistrationsResponses, WhatsappFlowsListResponses, WhatsappFlowsListVersionsErrors, WhatsappFlowsListVersionsResponses, WhatsappFlowsRecordVersionErrors, WhatsappFlowsRecordVersionResponses, WhatsappFlowsRegisterErrors, WhatsappFlowsRegisterResponses, WhatsappFlowsRotateEncryptionKeyErrors, WhatsappFlowsRotateEncryptionKeyResponses, WhatsappFlowsRotateEndpointSecretErrors, WhatsappFlowsRotateEndpointSecretResponses, WhatsappFlowsSetEndpointErrors, WhatsappFlowsSetEndpointResponses, WhatsappGetBusinessAccountErrors, WhatsappGetBusinessAccountResponses, WhatsappGetMediaDownloadUrlErrors, WhatsappGetMediaDownloadUrlResponses, WhatsappGetServiceWindowBillingErrors, WhatsappGetServiceWindowBillingResponses, WhatsappGetServiceWindowStatusErrors, WhatsappGetServiceWindowStatusResponses, WhatsappGetStatsErrors, WhatsappGetStatsResponses, WhatsappGetTemplateStatsErrors, WhatsappGetTemplateStatsResponses, WhatsappListBusinessAccountsErrors, WhatsappListBusinessAccountsResponses, WhatsAppSendMessagePayload, WhatsAppServiceWindowId, WhatsappSetDefaultBusinessAccountErrors, WhatsappSetDefaultBusinessAccountResponses, WhatsAppSetupLinkId, WhatsAppSetupLinkMetadataWritable, WhatsAppSetupLinkRedirectUrl, WhatsappSetupLinksCreateErrors, WhatsappSetupLinksCreateResponses, WhatsappSetupLinksGetErrors, WhatsappSetupLinksGetResponses, WhatsappSetupLinksListErrors, WhatsappSetupLinksListResponses, WhatsappSetupLinksRevokeErrors, WhatsappSetupLinksRevokeResponses, WhatsAppSetupLinkStatus, WhatsappSyncAccountStatusErrors, WhatsappSyncAccountStatusResponses, WhatsappUpdateBusinessAccountErrors, WhatsappUpdateBusinessAccountResponses, WhoamiGetErrors, WhoamiGetResponses } from "./types.gen.js";
2
+ import type { AccountLinksWritable, AccountsCheckErrors, AccountsCheckResponses, AccountsConnectErrors, AccountsConnectResponses, AccountsGetErrors, AccountsGetResponses, AccountsListContactConnectionsErrors, AccountsListContactConnectionsResponses, AccountsListErrors, AccountsListResponses, AccountsRemoveErrors, AccountsRemoveResponses, AgentDefinition, AgentId, AgentModuleBundle, AgentName, AgentsContinueOnStandardErrors, AgentsContinueOnStandardResponses, AgentsCreateErrors, AgentsCreateResponses, AgentSetupJob, AgentsGetErrors, AgentsGetResponses, AgentsGetVersionErrors, AgentsGetVersionResponses, AgentsListErrors, AgentsListModelsErrors, AgentsListModelsResponses, AgentsListResponses, AgentsListVersionsErrors, AgentsListVersionsResponses, AgentsPublishErrors, AgentsPublishResponses, AgentsPublishVersionErrors, AgentsPublishVersionResponses, AgentsRemoveErrors, AgentsRemoveResponses, AgentsReplaceDraftErrors, AgentsReplaceDraftResponses, AgentsRerunTestsErrors, AgentsRerunTestsResponses, AgentsUpdateErrors, AgentsUpdateResponses, AnalyticsExportDataErrors, AnalyticsExportDataResponses, AnalyticsGetChannelStatsErrors, AnalyticsGetChannelStatsResponses, AnalyticsGetDeliveryMetricsErrors, AnalyticsGetDeliveryMetricsResponses, AnalyticsGetHourlyDistributionErrors, AnalyticsGetHourlyDistributionResponses, AnalyticsGetStatsErrors, AnalyticsGetStatsResponses, AnalyticsGetTopContactsErrors, AnalyticsGetTopContactsResponses, AnswerWithoutApproval, ApiKeyAccess, ApiKeyId, ApiKeysCreateErrors, ApiKeysCreateResponses, ApiKeysGetActivityErrors, ApiKeysGetActivityResponses, ApiKeysGetErrors, ApiKeysGetResponses, ApiKeysGetStatsErrors, ApiKeysGetStatsResponses, ApiKeysListErrors, ApiKeysListResponses, ApiKeysRevokeErrors, ApiKeysRevokeResponses, ApiKeysRotateErrors, ApiKeysRotateResponses, ApiKeysUpdateErrors, ApiKeysUpdateResponses, ApprovalCallWritable, ApprovalRequestId, ApprovalRequestsApproveErrors, ApprovalRequestsApproveResponses, ApprovalRequestsCreateErrors, ApprovalRequestsCreateResponses, ApprovalRequestsGetErrors, ApprovalRequestsGetResponses, ApprovalRequestsRejectErrors, ApprovalRequestsRejectResponses, AttachmentId, AttachmentsDownloadUrlErrors, AttachmentsDownloadUrlResponses, AttachmentsGetByIdErrors, AttachmentsGetByIdResponses, AttachmentsListErrors, AttachmentsListResponses, AttachmentsRemoveErrors, AttachmentsRemoveResponses, BlockedEmailId, BrandAssets, BrandFooter, BrandsCreateErrors, BrandsCreateResponses, BrandsGetErrors, BrandsGetResponses, BrandsListErrors, BrandsListResponses, BrandsRemoveErrors, BrandsRemoveResponses, BrandsSetDefaultErrors, BrandsSetDefaultResponses, BrandsUpdateErrors, BrandsUpdateResponses, CampaignAudience, CampaignContentInput, CampaignId, CampaignPolicy, CampaignRunId, CampaignsArchiveErrors, CampaignsArchiveResponses, CampaignsCancelRunErrors, CampaignsCancelRunResponses, CampaignsCreateErrors, CampaignsCreateResponses, CampaignsGetErrors, CampaignsGetResponses, CampaignsGetRunErrors, CampaignsGetRunReportErrors, CampaignsGetRunReportResponses, CampaignsGetRunResponses, CampaignsListErrors, CampaignsListRecipientsErrors, CampaignsListRecipientsResponses, CampaignsListResponses, CampaignsListRunsErrors, CampaignsListRunsResponses, CampaignsPauseRunErrors, CampaignsPauseRunResponses, CampaignsPreviewErrors, CampaignsPreviewResponses, CampaignsResumeRunErrors, CampaignsResumeRunResponses, CampaignsScheduleRunErrors, CampaignsScheduleRunResponses, CampaignsSendTestErrors, CampaignsSendTestResponses, CampaignsUpdateErrors, CampaignsUpdateResponses, ContactEventReference, ContactEventsListEventsErrors, ContactEventsListEventsResponses, ContactGroupId, ContactGroupsAddMembersErrors, ContactGroupsAddMembersResponses, ContactGroupsCreateErrors, ContactGroupsCreateResponses, ContactGroupsEvaluateDynamicErrors, ContactGroupsEvaluateDynamicResponses, ContactGroupsGetByIdErrors, ContactGroupsGetByIdResponses, ContactGroupsGetMembersErrors, ContactGroupsGetMembersResponses, ContactGroupsListErrors, ContactGroupsListResponses, ContactGroupsPreviewErrors, ContactGroupsPreviewResponses, ContactGroupsRemoveErrors, ContactGroupsRemoveMembersErrors, ContactGroupsRemoveMembersResponses, ContactGroupsRemoveResponses, ContactGroupsUpdateErrors, ContactGroupsUpdateResponses, ContactId, ContactIdentityId, ContactIdentityInput, ContactImportJobId, ContactLookup, ContactPreferences, ContactProfileUpdate, ContactProfileWritable, ContactsAddIdentityErrors, ContactsAddIdentityResponses, ContactsAddTagsErrors, ContactsAddTagsResponses, ContactsBulkDeleteErrors, ContactsBulkDeleteResponses, ContactsBulkUpdateStatusErrors, ContactsBulkUpdateStatusResponses, ContactsBulkUpdateTagsErrors, ContactsBulkUpdateTagsResponses, ContactsCreateErrors, ContactsCreateResponses, ContactsExportErrors, ContactsExportResponses, ContactsFindErrors, ContactsFindOrCreateErrors, ContactsFindOrCreateResponses, ContactsFindResponses, ContactsGetActivityTimelineErrors, ContactsGetActivityTimelineResponses, ContactsGetEngagementErrors, ContactsGetEngagementResponses, ContactsGetErrors, ContactsGetGroupMembershipsErrors, ContactsGetGroupMembershipsResponses, ContactsGetImportJobErrors, ContactsGetImportJobResponses, ContactsGetResponses, ContactsListErrors, ContactsListResponses, ContactsMergeByConnectionErrors, ContactsMergeByConnectionResponses, ContactsMergeErrors, ContactsMergeResponses, ContactsPlanImportErrors, ContactsPlanImportResponses, ContactsRemoveErrors, ContactsRemoveIdentityErrors, ContactsRemoveIdentityResponses, ContactsRemoveResponses, ContactsRemoveTagsErrors, ContactsRemoveTagsResponses, ContactsSetConsentErrors, ContactsSetConsentResponses, ContactsStartImportErrors, ContactsStartImportResponses, ContactsUpdateErrors, ContactsUpdateResponses, ConversationContextWritable, ConversationId, ConversationsAddCategoriesErrors, ConversationsAddCategoriesResponses, ConversationsAddChannelsErrors, ConversationsAddChannelsResponses, ConversationsAddContactsErrors, ConversationsAddContactsResponses, ConversationsAddTagsErrors, ConversationsAddTagsResponses, ConversationsCreateErrors, ConversationsCreateResponses, ConversationsGetByIdErrors, ConversationsGetByIdResponses, ConversationsListErrors, ConversationsListMessagesErrors, ConversationsListMessagesResponses, ConversationsListResponses, ConversationsRemoveCategoriesErrors, ConversationsRemoveCategoriesResponses, ConversationsRemoveChannelsErrors, ConversationsRemoveChannelsResponses, ConversationsRemoveContactsErrors, ConversationsRemoveContactsResponses, ConversationsRemoveTagsErrors, ConversationsRemoveTagsResponses, ConversationsUpdateErrors, ConversationsUpdateResponses, CreateEventPayload, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, CustomFieldDefinitionId, CustomFieldsCreateErrors, CustomFieldsCreateResponses, CustomFieldsListErrors, CustomFieldsListResponses, CustomFieldsRemoveErrors, CustomFieldsRemoveResponses, CustomFieldsUpdateErrors, CustomFieldsUpdateResponses, DispatchSendMessagePayload, EmailAddBlockErrors, EmailAddBlockResponses, EmailAddDomainErrors, EmailAddDomainResponses, EmailAddSenderErrors, EmailAddSenderResponses, EmailAdvanceDomainVerificationErrors, EmailAdvanceDomainVerificationResponses, EmailAttachment, EmailBccRecipients, EmailBuildCustomTrackingDomainConnectApplyUrlErrors, EmailBuildCustomTrackingDomainConnectApplyUrlResponses, EmailBuildDomainConnectApplyUrlErrors, EmailBuildDomainConnectApplyUrlResponses, EmailCancelDomainWarmingBatchErrors, EmailCancelDomainWarmingBatchResponses, EmailCcRecipients, EmailCheckBlockedErrors, EmailCheckBlockedResponses, EmailCheckSenderVerificationErrors, EmailCheckSenderVerificationResponses, EmailCompleteCustomTrackingDomainConnectErrors, EmailCompleteCustomTrackingDomainConnectResponses, EmailCompleteDomainConnectErrors, EmailCompleteDomainConnectResponses, EmailCompleteDomainWarmingErrors, EmailCompleteDomainWarmingResponses, EmailContent, EmailCountSuppressionsErrors, EmailCountSuppressionsResponses, EmailCreateDomainWarmingPlanErrors, EmailCreateDomainWarmingPlanResponses, EmailCreateForwardingRuleErrors, EmailCreateForwardingRuleResponses, EmailDeleteForwardingRuleErrors, EmailDeleteForwardingRuleResponses, EmailDetectRegistrarErrors, EmailDetectRegistrarResponses, EmailDisableCatchAllErrors, EmailDisableCatchAllResponses, EmailDisableCustomTrackingErrors, EmailDisableCustomTrackingResponses, EmailDomainId, EmailDomainWarmingBatchId, EmailEnableCatchAllErrors, EmailEnableCatchAllResponses, EmailEnableCustomTrackingErrors, EmailEnableCustomTrackingResponses, EmailEnableReceivingErrors, EmailEnableReceivingResponses, EmailForwardingRuleId, EmailGetBlockLogsErrors, EmailGetBlockLogsResponses, EmailGetCatchAllConfigErrors, EmailGetCatchAllConfigResponses, EmailGetCatchAllStatsErrors, EmailGetCatchAllStatsResponses, EmailGetCustomTrackingDomainConnectErrors, EmailGetCustomTrackingDomainConnectResponses, EmailGetCustomTrackingErrors, EmailGetCustomTrackingResponses, EmailGetDomainByIdErrors, EmailGetDomainByIdResponses, EmailGetDomainConnectErrors, EmailGetDomainConnectResponses, EmailGetDomainVerificationErrors, EmailGetDomainVerificationResponses, EmailGetDomainWarmingErrors, EmailGetDomainWarmingResponses, EmailGetForwardingLogErrors, EmailGetForwardingLogResponses, EmailGetOnboardingReviewErrors, EmailGetOnboardingReviewResponses, EmailGetReceivingStatusErrors, EmailGetReceivingStatusResponses, EmailGetRecipientTrackingPreferenceErrors, EmailGetRecipientTrackingPreferenceResponses, EmailGetSenderErrors, EmailGetSenderResponses, EmailGetStatsErrors, EmailGetStatsResponses, EmailGetTrackingDefaultsErrors, EmailGetTrackingDefaultsResponses, EmailListBlocksErrors, EmailListBlocksResponses, EmailListDomainsErrors, EmailListDomainsResponses, EmailListForwardingRulesErrors, EmailListForwardingRulesResponses, EmailListSendersErrors, EmailListSendersResponses, EmailListSuppressionsErrors, EmailListSuppressionsResponses, EmailPauseDomainWarmingErrors, EmailPauseDomainWarmingResponses, EmailReapplyOnboardingReviewErrors, EmailReapplyOnboardingReviewResponses, EmailRecheckCustomTrackingErrors, EmailRecheckCustomTrackingResponses, EmailRecipients, EmailRemoveBlockErrors, EmailRemoveBlockResponses, EmailRemoveDomainErrors, EmailRemoveDomainResponses, EmailRemoveSenderErrors, EmailRemoveSenderResponses, EmailRemoveSuppressionErrors, EmailRemoveSuppressionResponses, EmailRespondToOnboardingInformationRequestErrors, EmailRespondToOnboardingInformationRequestResponses, EmailResumeDomainWarmingErrors, EmailResumeDomainWarmingResponses, EmailRotateDomainDkimErrors, EmailRotateDomainDkimResponses, EmailSender, EmailSenderId, EmailSendMessagePayload, EmailSetDefaultDomainErrors, EmailSetDefaultDomainResponses, EmailSetDefaultSenderErrors, EmailSetDefaultSenderResponses, EmailUpdateBlockErrors, EmailUpdateBlockResponses, EmailUpdateCatchAllConfigErrors, EmailUpdateCatchAllConfigResponses, EmailUpdateDomainConfigErrors, EmailUpdateDomainConfigResponses, EmailUpdateDomainWarmingPolicyErrors, EmailUpdateDomainWarmingPolicyResponses, EmailUpdateForwardingRuleErrors, EmailUpdateForwardingRuleResponses, EmailUpdateRecipientTrackingPreferenceErrors, EmailUpdateRecipientTrackingPreferenceResponses, EmailUpdateTrackingDefaultsErrors, EmailUpdateTrackingDefaultsResponses, EventsBatchErrors, EventsBatchResponses, EventsCreateErrors, EventsCreateResponses, FeedbackContext, FeedbackSendErrors, FeedbackSendResponses, ForwardingConditions, IanaTimezone, IntegrationAccountId, IntegrationCatalogListErrors, IntegrationCatalogListResponses, IntegrationCatalogPrepareErrors, IntegrationCatalogPrepareResponses, IntegrationCatalogRecipeCatalogErrors, IntegrationCatalogRecipeCatalogResponses, IntegrationCatalogRecipeConnectionHandoffErrors, IntegrationCatalogRecipeConnectionHandoffResponses, IntegrationCatalogRecipePreviewErrors, IntegrationCatalogRecipePreviewResponses, IntegrationCatalogRecipeReadinessErrors, IntegrationCatalogRecipeReadinessResponses, IntegrationCatalogRecipeSetupActivateErrors, IntegrationCatalogRecipeSetupActivateResponses, IntegrationCatalogRecipeSetupGetErrors, IntegrationCatalogRecipeSetupGetResponses, IntegrationCatalogRecipeSetupReplaceErrors, IntegrationCatalogRecipeSetupReplaceResponses, IntegrationCatalogRecipeSetupsListErrors, IntegrationCatalogRecipeSetupsListResponses, IntegrationCatalogRecipeTestErrors, IntegrationCatalogRecipeTestHandoffErrors, IntegrationCatalogRecipeTestHandoffResponses, IntegrationCatalogRecipeTestReceiptErrors, IntegrationCatalogRecipeTestReceiptResponses, IntegrationCatalogRecipeTestResponses, IntegrationCatalogRecipeWhatsAppChallengeBeginErrors, IntegrationCatalogRecipeWhatsAppChallengeBeginResponses, IntegrationCatalogRecipeWhatsAppChallengeConfirmErrors, IntegrationCatalogRecipeWhatsAppChallengeConfirmResponses, IntegrationCatalogRecipeWhatsAppChallengeGetErrors, IntegrationCatalogRecipeWhatsAppChallengeGetResponses, IntegrationCatalogSearchErrors, IntegrationCatalogSearchResponses, IntegrationId, IntegrationKey, IntegrationReturnTo, IntegrationsGetErrors, IntegrationsGetResponses, IntegrationsInstallErrors, IntegrationsInstallResponses, IntegrationsListErrors, IntegrationsListResponses, IntegrationsListToolsErrors, IntegrationsListToolsResponses, IntegrationsReadToolErrors, IntegrationsReadToolResponses, IntegrationsRemoveErrors, IntegrationsRemoveResponses, IntegrationsUpdateErrors, IntegrationsUpdateResponses, IntegrationTool, JourneyDefinitionWritable, JourneyId, JourneyName, JourneyRunId, JourneyRunStatus, JourneysArchiveErrors, JourneysArchiveResponses, JourneysCreateErrors, JourneysCreateResponses, JourneysGetErrors, JourneysGetResponses, JourneysGetRunErrors, JourneysGetRunResponses, JourneysGetVersionErrors, JourneysGetVersionResponses, JourneysListErrors, JourneysListResponses, JourneysListRunsErrors, JourneysListRunsResponses, JourneysPauseErrors, JourneysPauseResponses, JourneysPublishErrors, JourneysPublishResponses, JourneysRemoveErrors, JourneysRemoveResponses, JourneysReplaceDraftErrors, JourneysReplaceDraftResponses, JourneysResumeErrors, JourneysResumeResponses, JourneysStatsErrors, JourneysStatsResponses, JourneyStatus, JourneysUpdateErrors, JourneysUpdateResponses, JsonObjectWritable, JsonValueWritable, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxesAddThreadLabelsErrors, MailboxesAddThreadLabelsResponses, MailboxesApproveActionErrors, MailboxesApproveActionResponses, MailboxesCancelActionErrors, MailboxesCancelActionResponses, MailboxesCopyMessageAttachmentErrors, MailboxesCopyMessageAttachmentResponses, MailboxesCountSplitsErrors, MailboxesCountSplitsResponses, MailboxesCreateDraftErrors, MailboxesCreateDraftResponses, MailboxesCreateEndpointErrors, MailboxesCreateEndpointResponses, MailboxesCreateErrors, MailboxesCreateGrantErrors, MailboxesCreateGrantResponses, MailboxesCreateImportUploadErrors, MailboxesCreateImportUploadResponses, MailboxesCreateLabelErrors, MailboxesCreateLabelResponses, MailboxesCreateNoteErrors, MailboxesCreateNoteResponses, MailboxesCreateResponses, MailboxesCreateSplitErrors, MailboxesCreateSplitResponses, MailboxesDeleteDraftErrors, MailboxesDeleteDraftResponses, MailboxesDeleteLabelErrors, MailboxesDeleteLabelResponses, MailboxesDeleteNoteErrors, MailboxesDeleteNoteResponses, MailboxesDeleteSplitErrors, MailboxesDeleteSplitResponses, MailboxesDeleteThreadErrors, MailboxesDeleteThreadResponses, MailboxesDenyActionErrors, MailboxesDenyActionResponses, MailboxesDiscardSpamHeldErrors, MailboxesDiscardSpamHeldResponses, MailboxesEmptySpamErrors, MailboxesEmptySpamResponses, MailboxesEmptyTrashErrors, MailboxesEmptyTrashResponses, MailboxesForwardErrors, MailboxesForwardResponses, MailboxesGetActionErrors, MailboxesGetActionResponses, MailboxesGetAgentActivityErrors, MailboxesGetAgentActivityResponses, MailboxesGetDraftErrors, MailboxesGetDraftResponses, MailboxesGetErrors, MailboxesGetImportErrors, MailboxesGetImportResponses, MailboxesGetMessageAttachmentErrors, MailboxesGetMessageAttachmentResponses, MailboxesGetMessageErrors, MailboxesGetMessageRawErrors, MailboxesGetMessageRawResponses, MailboxesGetMessageResponses, MailboxesGetNeedsYouErrors, MailboxesGetNeedsYouResponses, MailboxesGetResponses, MailboxesGetThreadContentErrors, MailboxesGetThreadContentResponses, MailboxesGetThreadErrors, MailboxesGetThreadResponses, MailboxesListActionsErrors, MailboxesListActionsResponses, MailboxesListAddressesErrors, MailboxesListAddressesResponses, MailboxesListDraftsErrors, MailboxesListDraftsResponses, MailboxesListErrors, MailboxesListEventsErrors, MailboxesListEventsResponses, MailboxesListFoldersErrors, MailboxesListFoldersResponses, MailboxesListGrantsErrors, MailboxesListGrantsResponses, MailboxesListImportsErrors, MailboxesListImportsResponses, MailboxesListLabelsErrors, MailboxesListLabelsResponses, MailboxesListOrganizationDraftsErrors, MailboxesListOrganizationDraftsResponses, MailboxesListOrganizationThreadsErrors, MailboxesListOrganizationThreadsResponses, MailboxesListResponses, MailboxesListScheduledSendsErrors, MailboxesListScheduledSendsResponses, MailboxesListSpamHeldErrors, MailboxesListSpamHeldResponses, MailboxesListSplitsErrors, MailboxesListSplitsResponses, MailboxesListThreadMessagesErrors, MailboxesListThreadMessagesResponses, MailboxesListThreadNotesErrors, MailboxesListThreadNotesResponses, MailboxesListThreadsErrors, MailboxesListThreadsResponses, MailboxesPauseErrors, MailboxesPauseResponses, MailboxesRemoveEndpointErrors, MailboxesRemoveEndpointResponses, MailboxesRemoveErrors, MailboxesRemoveResponses, MailboxesRemoveThreadLabelsErrors, MailboxesRemoveThreadLabelsResponses, MailboxesReplyAllErrors, MailboxesReplyAllResponses, MailboxesReplyErrors, MailboxesReplyResponses, MailboxesRescheduleSendErrors, MailboxesRescheduleSendResponses, MailboxesResumeErrors, MailboxesResumeResponses, MailboxesRetryActionErrors, MailboxesRetryActionResponses, MailboxesRevokeGrantErrors, MailboxesRevokeGrantResponses, MailboxesScheduleDraftErrors, MailboxesScheduleDraftResponses, MailboxesSendDraftErrors, MailboxesSendDraftResponses, MailboxesSendMessageErrors, MailboxesSendMessageResponses, MailboxesSendScheduledNowErrors, MailboxesSendScheduledNowResponses, MailboxesStartImportErrors, MailboxesStartImportResponses, MailboxesUnscheduleSendErrors, MailboxesUnscheduleSendResponses, MailboxesUpdateDraftErrors, MailboxesUpdateDraftResponses, MailboxesUpdateEndpointErrors, MailboxesUpdateEndpointResponses, MailboxesUpdateErrors, MailboxesUpdateGrantErrors, MailboxesUpdateGrantResponses, MailboxesUpdateLabelErrors, MailboxesUpdateLabelResponses, MailboxesUpdateNoteErrors, MailboxesUpdateNoteResponses, MailboxesUpdateResponses, MailboxesUpdateSplitErrors, MailboxesUpdateSplitResponses, MailboxesUpdateThreadErrors, MailboxesUpdateThreadResponses, MailboxGrantId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadataPatch, MailboxMetadataWritable, MailboxNoteId, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MailOutboxItemId, MediaCompleteErrors, MediaCompleteResponses, MediaCreateErrors, MediaCreateResponses, MediaDownloadUrlErrors, MediaDownloadUrlResponses, MediaGetByIdErrors, MediaGetByIdResponses, MediaId, MediaRemoveErrors, MediaRemoveResponses, MessageDeliveryId, MessageId, MessageMetadataWritable, MessagesGetContentErrors, MessagesGetContentResponses, MessagesGetEmailErrors, MessagesGetEmailResponses, MessagesGetErrors, MessagesGetEventsErrors, MessagesGetEventsResponses, MessagesGetResponses, MessagesGetStatusErrors, MessagesGetStatusResponses, MessagesListDeliveriesErrors, MessagesListDeliveriesResponses, MessagesListErrors, MessagesListResponses, MessagesRemoveErrors, MessagesRemoveResponses, MessagesSendErrors, MessagesSendResponses, MessagesValidateEmailErrors, MessagesValidateEmailResponses, MonthlySpendCapDollars, NamespaceId, NamespaceMetadataWritable, NamespacePortalLinkId, NamespacePortalLinkMetadataWritable, NamespaceResourceType, NamespacesAssignResourceErrors, NamespacesAssignResourceResponses, NamespacesCreateErrors, NamespacesCreatePortalLinkErrors, NamespacesCreatePortalLinkResponses, NamespacesCreateResponses, NamespacesGetErrors, NamespacesGetResponses, NamespacesGetUsageErrors, NamespacesGetUsageResponses, NamespacesListErrors, NamespacesListPortalLinksErrors, NamespacesListPortalLinksResponses, NamespacesListResponses, NamespacesRemoveErrors, NamespacesRemoveResourceErrors, NamespacesRemoveResourceResponses, NamespacesRemoveResponses, NamespacesRevokePortalLinkErrors, NamespacesRevokePortalLinkResponses, NamespacesUpdateErrors, NamespacesUpdateResponses, NewsletterDomainsAddErrors, NewsletterDomainsAddResponses, NewsletterDomainsGetErrors, NewsletterDomainsGetResponses, NewsletterDomainsListErrors, NewsletterDomainsListResponses, NewsletterDomainsRemoveErrors, NewsletterDomainsRemoveResponses, NewsletterId, NewsletterIssuesCheckErrors, NewsletterIssuesCheckResponses, NewsletterIssuesCreateErrors, NewsletterIssuesCreateResponses, NewsletterIssuesGetErrors, NewsletterIssuesGetResponses, NewsletterIssuesHeadErrors, NewsletterIssuesHeadResponses, NewsletterIssuesHistoryErrors, NewsletterIssuesHistoryResponses, NewsletterIssuesListErrors, NewsletterIssuesListResponses, NewsletterIssuesOpenErrors, NewsletterIssuesOpenResponses, NewsletterIssuesRemoveErrors, NewsletterIssuesRemoveResponses, NewsletterIssuesRenderErrors, NewsletterIssuesRenderResponses, NewsletterIssuesSaveErrors, NewsletterIssuesSaveResponses, NewsletterIssuesUpdateErrors, NewsletterIssuesUpdateResponses, NewslettersCreateErrors, NewslettersCreateResponses, NewslettersGetErrors, NewslettersGetResponses, NewslettersListErrors, NewslettersListResponses, NewslettersRemoveErrors, NewslettersRemoveResponses, NewslettersUpdateErrors, NewslettersUpdateResponses, OperationId, OperationsGetErrors, OperationsGetResponses, OperationsListErrors, OperationsListResponses, OperationsRetryErrors, OperationsRetryResponses, OrganizationsAssignPersonalMailboxErrors, OrganizationsAssignPersonalMailboxResponses, OrganizationsCreateAvatarUploadErrors, OrganizationsCreateAvatarUploadResponses, OrganizationsCreateErrors, OrganizationsCreateResponses, OrganizationsDeleteErrors, OrganizationsDeleteResponses, OrganizationsGetErrors, OrganizationsGetPersonalMailboxAddressOptionsErrors, OrganizationsGetPersonalMailboxAddressOptionsResponses, OrganizationsGetProfileErrors, OrganizationsGetProfileResponses, OrganizationsGetResponses, OrganizationsGetTrustTierErrors, OrganizationsGetTrustTierResponses, OrganizationsGetUsageErrors, OrganizationsGetUsageResponses, OrganizationsInviteMemberErrors, OrganizationsInviteMemberResponses, OrganizationsListPersonalMailboxAssignmentsErrors, OrganizationsListPersonalMailboxAssignmentsResponses, OrganizationsUpdateErrors, OrganizationsUpdateResponses, PhoneRegion, PoliciesDeletePolicyErrors, PoliciesDeletePolicyResponses, PoliciesGetPolicyErrors, PoliciesGetPolicyResponses, PoliciesSetPolicyErrors, PoliciesSetPolicyResponses, PolicyReviewRound, PolicyRule, PolicyVersion, RecipeSetupReferencesWritable, RenderLocale, RenderTimeZone, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ScheduledMessageId, ScheduledMessagesCancelErrors, ScheduledMessagesCancelResponses, ScheduledMessagesCreateErrors, ScheduledMessagesCreateResponses, ScheduledMessagesGetErrors, ScheduledMessagesGetResponses, ScheduledMessagesListErrors, ScheduledMessagesListResponses, ScheduledMessagesResumeErrors, ScheduledMessagesResumeResponses, SendMailboxChatPayload, SendMailboxEmailPayload, SmsSendMessagePayload, SubscriptionsSubscribeErrors, SubscriptionsSubscribeResponses, SuppressionId, TemplateFamilyId, TemplateFromDefaultInput, TemplateId, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplateRegistrationApproval, TemplateRegistrationId, TemplateRegistrationsGetErrors, TemplateRegistrationsGetResponses, TemplateRegistrationsListErrors, TemplateRegistrationsListResponses, TemplateRegistrationsSubmitErrors, TemplateRegistrationsSubmitResponses, TemplatesAddEntryErrors, TemplatesAddEntryResponses, TemplatesAttachFamilyMemberErrors, TemplatesAttachFamilyMemberResponses, TemplatesAttachWorkspaceResourceErrors, TemplatesAttachWorkspaceResourceResponses, TemplatesCheckWorkspaceErrors, TemplatesCheckWorkspaceResponses, TemplatesCreateErrors, TemplatesCreateFamilyErrors, TemplatesCreateFamilyFromTemplateErrors, TemplatesCreateFamilyFromTemplateResponses, TemplatesCreateFamilyResponses, TemplatesCreateFromBriefErrors, TemplatesCreateFromBriefResponses, TemplatesCreateFromWebsiteErrors, TemplatesCreateFromWebsiteResponses, TemplatesCreateResponses, TemplatesDeleteErrors, TemplatesDeleteFamilyErrors, TemplatesDeleteFamilyResponses, TemplatesDeleteProjectErrors, TemplatesDeleteProjectResponses, TemplatesDeleteResponses, TemplatesDetachFamilyMemberErrors, TemplatesDetachFamilyMemberResponses, TemplatesDiffWorkspaceErrors, TemplatesDiffWorkspaceResponses, TemplatesGetByIdErrors, TemplatesGetByIdResponses, TemplatesGetFamilyErrors, TemplatesGetFamilyResponses, TemplatesGetGitRepositoryErrors, TemplatesGetGitRepositoryResponses, TemplatesGetInputContractErrors, TemplatesGetInputContractResponses, TemplatesGetPublicationErrors, TemplatesGetPublicationResponses, TemplateShareLinksCreateErrors, TemplateShareLinksCreateResponses, TemplateShareLinksDeleteErrors, TemplateShareLinksDeleteResponses, TemplateShareLinksGetErrors, TemplateShareLinksGetResponses, TemplateShareLinksRenameErrors, TemplateShareLinksRenameResponses, TemplateShareLinksUpdateErrors, TemplateShareLinksUpdateResponses, TemplatesIssueGitCredentialErrors, TemplatesIssueGitCredentialResponses, TemplatesListErrors, TemplatesListFamiliesErrors, TemplatesListFamiliesResponses, TemplatesListInputContractsErrors, TemplatesListInputContractsResponses, TemplatesListResponses, TemplatesOpenWorkspaceErrors, TemplatesOpenWorkspaceResponses, TemplatesPatchWorkspaceErrors, TemplatesPatchWorkspaceResponses, TemplatesPublishErrors, TemplatesPublishResponses, TemplatesPutWorkspaceAssetErrors, TemplatesPutWorkspaceAssetResponses, TemplatesRemoveWorkspaceResourceErrors, TemplatesRemoveWorkspaceResourceResponses, TemplatesRenameFamilyErrors, TemplatesRenameFamilyResponses, TemplatesRenderPublicationErrors, TemplatesRenderPublicationResponses, TemplatesRenderWorkspaceFixtureErrors, TemplatesRenderWorkspaceFixtureResponses, TemplatesResolveWorkspaceConflictErrors, TemplatesResolveWorkspaceConflictResponses, TemplatesRestoreWorkspaceErrors, TemplatesRestoreWorkspaceResponses, TemplatesSaveWorkspaceErrors, TemplatesSaveWorkspaceResponses, TemplatesSuggestStartersErrors, TemplatesSuggestStartersResponses, TemplatesUpdateErrors, TemplatesUpdateResponses, TemplatesWorkspaceHistoryErrors, TemplatesWorkspaceHistoryResponses, TemplateTrackingDefault, TopicContactRef, TopicFormsCreateErrors, TopicFormsCreateResponses, TopicFormsGetErrors, TopicFormsGetResponses, TopicFormsListErrors, TopicFormsListResponses, TopicFormsRemoveErrors, TopicFormsRemoveResponses, TopicFormsUpdateErrors, TopicFormsUpdateResponses, TopicId, TopicsCheckSubscriptionErrors, TopicsCheckSubscriptionResponses, TopicsCreateErrors, TopicsCreateResponses, TopicsGetErrors, TopicsGetResponses, TopicsListErrors, TopicsListResponses, TopicsListSubscriptionsErrors, TopicsListSubscriptionsResponses, TopicsRemoveErrors, TopicsRemoveResponses, TopicsSetDefaultErrors, TopicsSetDefaultResponses, TopicsSetSubscriptionsErrors, TopicsSetSubscriptionsResponses, TopicsUpdateErrors, TopicsUpdateResponses, TrackingRecipientEmail, UserId, WebhookDeliveryId, WebhookEndpointId, WebhooksCreateErrors, WebhooksCreateResponses, WebhooksGetErrors, WebhooksGetLogsErrors, WebhooksGetLogsResponses, WebhooksGetResponses, WebhooksGetSecretErrors, WebhooksGetSecretResponses, WebhooksGetStatsErrors, WebhooksGetStatsResponses, WebhooksListErrors, WebhooksListResponses, WebhooksRegenerateSecretErrors, WebhooksRegenerateSecretResponses, WebhooksRemoveErrors, WebhooksRemoveResponses, WebhooksRetryDeliveryErrors, WebhooksRetryDeliveryResponses, WebhooksTestErrors, WebhooksTestResponses, WebhooksUpdateErrors, WebhooksUpdateResponses, WhatsAppBusinessAccountId, WhatsAppBusinessAccountId1, WhatsappConnectBusinessAccountErrors, WhatsappConnectBusinessAccountResponses, WhatsappDisconnectBusinessAccountErrors, WhatsappDisconnectBusinessAccountResponses, WhatsAppFlowId, WhatsappFlowsCreateErrors, WhatsappFlowsCreateResponses, WhatsappFlowsGetErrors, WhatsappFlowsGetResponses, WhatsappFlowsListErrors, WhatsappFlowsListRegistrationsErrors, WhatsappFlowsListRegistrationsResponses, WhatsappFlowsListResponses, WhatsappFlowsListVersionsErrors, WhatsappFlowsListVersionsResponses, WhatsappFlowsRecordVersionErrors, WhatsappFlowsRecordVersionResponses, WhatsappFlowsRegisterErrors, WhatsappFlowsRegisterResponses, WhatsappFlowsRotateEncryptionKeyErrors, WhatsappFlowsRotateEncryptionKeyResponses, WhatsappFlowsRotateEndpointSecretErrors, WhatsappFlowsRotateEndpointSecretResponses, WhatsappFlowsSetEndpointErrors, WhatsappFlowsSetEndpointResponses, WhatsappGetBusinessAccountErrors, WhatsappGetBusinessAccountResponses, WhatsappGetMediaDownloadUrlErrors, WhatsappGetMediaDownloadUrlResponses, WhatsappGetServiceWindowBillingErrors, WhatsappGetServiceWindowBillingResponses, WhatsappGetServiceWindowStatusErrors, WhatsappGetServiceWindowStatusResponses, WhatsappGetStatsErrors, WhatsappGetStatsResponses, WhatsappGetTemplateStatsErrors, WhatsappGetTemplateStatsResponses, WhatsappListBusinessAccountsErrors, WhatsappListBusinessAccountsResponses, WhatsAppSendMessagePayload, WhatsAppServiceWindowId, WhatsappSetDefaultBusinessAccountErrors, WhatsappSetDefaultBusinessAccountResponses, WhatsAppSetupLinkId, WhatsAppSetupLinkMetadataWritable, WhatsAppSetupLinkRedirectUrl, WhatsappSetupLinksCreateErrors, WhatsappSetupLinksCreateResponses, WhatsappSetupLinksGetErrors, WhatsappSetupLinksGetResponses, WhatsappSetupLinksListErrors, WhatsappSetupLinksListResponses, WhatsappSetupLinksRevokeErrors, WhatsappSetupLinksRevokeResponses, WhatsAppSetupLinkStatus, WhatsappSyncAccountStatusErrors, WhatsappSyncAccountStatusResponses, WhatsappUpdateBusinessAccountErrors, WhatsappUpdateBusinessAccountResponses, WhoamiGetErrors, WhoamiGetResponses } from "./types.gen.js";
3
3
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
@@ -99,7 +99,7 @@ export declare class Messages {
99
99
  /**
100
100
  * List message deliveries
101
101
  *
102
- * Returns one delivery per recipient: its status, attempts, delivery times, and why it failed or is waiting.
102
+ * Returns per-recipient queueing, provider acceptance (sentAt), delivery and read times, failures and waits. Includes recipients skipped at admission and the first reply linked by a message reference. Mailbox endpoints and threads require mailbox read access.
103
103
  */
104
104
  static listDeliveries<ThrowOnError extends boolean = false>(parameters: {
105
105
  id: MessageId;
@@ -115,7 +115,7 @@ export declare class Messages {
115
115
  /**
116
116
  * Get email message details
117
117
  *
118
- * Returns email delivery details for a message, optionally including signed URLs for its raw MIME, HTML, and text content.
118
+ * Returns email delivery details for a message, optionally including signed URLs for its raw MIME, HTML, and text content. Requesting download URLs for inbound email without a passing malware scan returns 404 (`ResourceNotFoundError`). Omit `includeDownloadUrls` to read the details.
119
119
  */
120
120
  static getEmail<ThrowOnError extends boolean = false>(parameters: {
121
121
  id: MessageId;
@@ -1090,7 +1090,7 @@ export declare class Attachments {
1090
1090
  /**
1091
1091
  * Get an attachment download URL
1092
1092
  *
1093
- * Generates a presigned, time-limited download URL for the attachment; expiry is configurable via the expiresIn query parameter.
1093
+ * Generates a presigned, time-limited download URL for the attachment. Set `expiresIn` to configure expiry. Returns 404 (`ResourceNotFoundError`) for an inbound email attachment without a passing malware scan.
1094
1094
  */
1095
1095
  static downloadUrl<ThrowOnError extends boolean = false>(parameters: {
1096
1096
  id: AttachmentId;
@@ -1940,6 +1940,184 @@ export declare class Accounts2 {
1940
1940
  static accounts: typeof Accounts;
1941
1941
  }
1942
1942
  export declare class IntegrationCatalog {
1943
+ /**
1944
+ * Get a Shopify or WhatsApp browser connection handoff
1945
+ *
1946
+ * Returns a browser link for an organization administrator. Shopify opens the saved check-in when setupId is supplied and the Shopify integration page otherwise. WhatsApp opens its settings page with the specified account, if any, even when setupId is supplied. Provider authorization takes place in the browser.
1947
+ */
1948
+ static recipeConnectionHandoff<ThrowOnError extends boolean = false>(parameters: {
1949
+ provider: "shopify" | "whatsapp";
1950
+ integrationAccountId?: IntegrationAccountId | undefined;
1951
+ whatsappAccountId?: WhatsAppBusinessAccountId | undefined;
1952
+ setupId?: string | undefined;
1953
+ }, options?: Options<never, ThrowOnError>): RequestResult<IntegrationCatalogRecipeConnectionHandoffResponses, IntegrationCatalogRecipeConnectionHandoffErrors, ThrowOnError>;
1954
+ /**
1955
+ * Get a browser handoff for a verified owner test
1956
+ *
1957
+ * Opens the owner review screen for the specified publication and reply mailbox endpoint. Creating this link submits no message or provider request.
1958
+ */
1959
+ static recipeTestHandoff<ThrowOnError extends boolean = false>(parameters: {
1960
+ channel: "email" | "whatsapp";
1961
+ templateId: TemplateId;
1962
+ publicationId: TemplatePublicationId;
1963
+ mailboxEndpointId: MailboxEndpointId;
1964
+ fixture?: string | undefined;
1965
+ senderId?: EmailSenderId | undefined;
1966
+ businessAccountId?: WhatsAppBusinessAccountId | undefined;
1967
+ registrationId?: TemplateRegistrationId | undefined;
1968
+ }, options?: Options<never, ThrowOnError>): RequestResult<IntegrationCatalogRecipeTestHandoffResponses, IntegrationCatalogRecipeTestHandoffErrors, ThrowOnError>;
1969
+ /**
1970
+ * List saved post-delivery check-in setups
1971
+ *
1972
+ * Requires organization-wide access. Lists the 100 most recently updated selections the caller can read. Read live readiness separately.
1973
+ */
1974
+ static recipeSetupsList<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<IntegrationCatalogRecipeSetupsListResponses, IntegrationCatalogRecipeSetupsListErrors, ThrowOnError>;
1975
+ /**
1976
+ * Read post-delivery check-in setup references
1977
+ *
1978
+ * Requires organization-wide access. Returns the saved resource IDs and revision for a setup the caller can read.
1979
+ */
1980
+ static recipeSetupGet<ThrowOnError extends boolean = false>(parameters: {
1981
+ id: string;
1982
+ }, options?: Options<never, ThrowOnError>): RequestResult<IntegrationCatalogRecipeSetupGetResponses, IntegrationCatalogRecipeSetupGetErrors, ThrowOnError>;
1983
+ /**
1984
+ * Save post-delivery check-in setup references
1985
+ *
1986
+ * Requires organization-wide access. Creates a setup under a new UUID with a null revision or replaces it with its current revision. Validates references without submitting provider requests.
1987
+ */
1988
+ static recipeSetupReplace<ThrowOnError extends boolean = false>(parameters: {
1989
+ id: string;
1990
+ references: RecipeSetupReferencesWritable;
1991
+ revision: string | null;
1992
+ }, options?: Options<never, ThrowOnError>): RequestResult<IntegrationCatalogRecipeSetupReplaceResponses, IntegrationCatalogRecipeSetupReplaceErrors, ThrowOnError>;
1993
+ /**
1994
+ * Activate the reviewed Shopify post-delivery check-in
1995
+ *
1996
+ * Publishes the saved setup's reviewed send selection on its own journey. Reuse the same revision and selection after an interrupted response. A changed setup returns 409. Existing runs keep their published version.
1997
+ */
1998
+ static recipeSetupActivate<ThrowOnError extends boolean = false>(parameters: {
1999
+ id: string;
2000
+ revision: string;
2001
+ selection: {
2002
+ channel: "email";
2003
+ publicationId: TemplatePublicationId;
2004
+ senderId?: EmailSenderId | undefined;
2005
+ } | {
2006
+ channel: "whatsapp";
2007
+ whatsappAccountId: WhatsAppBusinessAccountId;
2008
+ registrationId: TemplateRegistrationId;
2009
+ eventBindings: {
2010
+ [key: string]: string | undefined;
2011
+ };
2012
+ };
2013
+ }, options?: Options<never, ThrowOnError>): RequestResult<IntegrationCatalogRecipeSetupActivateResponses, IntegrationCatalogRecipeSetupActivateErrors, ThrowOnError>;
2014
+ /**
2015
+ * Render a check-in preview with a labelled sample order
2016
+ *
2017
+ * Renders the exact publication without sending, enrolling a recipient, or requiring a verified test destination.
2018
+ */
2019
+ static recipePreview<ThrowOnError extends boolean = false>(parameters: {
2020
+ templateId: TemplateId;
2021
+ publicationId: TemplatePublicationId;
2022
+ fixture?: string | undefined;
2023
+ templateData?: JsonObjectWritable | undefined;
2024
+ channel: "email";
2025
+ } | {
2026
+ templateId: TemplateId;
2027
+ publicationId: TemplatePublicationId;
2028
+ fixture?: string | undefined;
2029
+ templateData?: JsonObjectWritable | undefined;
2030
+ channel: "whatsapp";
2031
+ eventBindings?: {
2032
+ [key: string]: string | undefined;
2033
+ } | undefined;
2034
+ }, options?: Options<never, ThrowOnError>): RequestResult<IntegrationCatalogRecipePreviewResponses, IntegrationCatalogRecipePreviewErrors, ThrowOnError>;
2035
+ /**
2036
+ * Open a WhatsApp owner verification challenge
2037
+ *
2038
+ * Requires a signed-in owner. The owner sends the returned code directly from their personal WhatsApp to the listed business number before the code expires.
2039
+ */
2040
+ static recipeWhatsAppChallengeBegin<ThrowOnError extends boolean = false>(parameters: {
2041
+ accountId: WhatsAppBusinessAccountId;
2042
+ }, options?: Options<never, ThrowOnError>): RequestResult<IntegrationCatalogRecipeWhatsAppChallengeBeginResponses, IntegrationCatalogRecipeWhatsAppChallengeBeginErrors, ThrowOnError>;
2043
+ /**
2044
+ * Read the observed sender for a WhatsApp owner challenge
2045
+ *
2046
+ * Requires the same signed-in owner. The observed phone is available only after authenticated inbound delivery on the selected business number.
2047
+ */
2048
+ static recipeWhatsAppChallengeGet<ThrowOnError extends boolean = false>(parameters: {
2049
+ accountId: WhatsAppBusinessAccountId;
2050
+ id: string;
2051
+ }, options?: Options<never, ThrowOnError>): RequestResult<IntegrationCatalogRecipeWhatsAppChallengeGetResponses, IntegrationCatalogRecipeWhatsAppChallengeGetErrors, ThrowOnError>;
2052
+ /**
2053
+ * Confirm the phone observed on a WhatsApp test challenge
2054
+ *
2055
+ * Requires the same signed-in owner and an exact match with the number reported by WhatsApp. Confirmation does not record consent.
2056
+ */
2057
+ static recipeWhatsAppChallengeConfirm<ThrowOnError extends boolean = false>(parameters: {
2058
+ accountId: WhatsAppBusinessAccountId;
2059
+ id: string;
2060
+ observedPhone: string;
2061
+ }, options?: Options<never, ThrowOnError>): RequestResult<IntegrationCatalogRecipeWhatsAppChallengeConfirmResponses, IntegrationCatalogRecipeWhatsAppChallengeConfirmErrors, ThrowOnError>;
2062
+ /**
2063
+ * Run an owner-only test of a Shopify check-in
2064
+ *
2065
+ * Takes no recipient. Samva resolves the acting owner's signed-in verified email or confirmed WhatsApp challenge. Normal send admission, billing, suppression and consent apply. Reuse the same request ID to reconcile an uncertain response.
2066
+ */
2067
+ static recipeTest<ThrowOnError extends boolean = false>(parameters: {
2068
+ templateId: TemplateId;
2069
+ publicationId: TemplatePublicationId;
2070
+ fixture?: string | undefined;
2071
+ templateData?: JsonObjectWritable | undefined;
2072
+ channel: "email";
2073
+ requestId: string;
2074
+ mailboxEndpointId: MailboxEndpointId;
2075
+ topicId?: TopicId | undefined;
2076
+ senderId?: EmailSenderId | undefined;
2077
+ } | {
2078
+ templateId: TemplateId;
2079
+ publicationId: TemplatePublicationId;
2080
+ fixture?: string | undefined;
2081
+ templateData?: JsonObjectWritable | undefined;
2082
+ channel: "whatsapp";
2083
+ eventBindings?: {
2084
+ [key: string]: string | undefined;
2085
+ } | undefined;
2086
+ requestId: string;
2087
+ mailboxEndpointId: MailboxEndpointId;
2088
+ topicId?: TopicId | undefined;
2089
+ businessAccountId: WhatsAppBusinessAccountId;
2090
+ registrationId: TemplateRegistrationId;
2091
+ challengeId: string;
2092
+ }, options?: Options<never, ThrowOnError>): RequestResult<IntegrationCatalogRecipeTestResponses, IntegrationCatalogRecipeTestErrors, ThrowOnError>;
2093
+ /**
2094
+ * Reconcile an owner test after an uncertain response
2095
+ *
2096
+ * Requires messages:read and the signed-in owner in the dashboard or Samva CLI. Returns that owner's test receipt by request ID. Read message deliveries for provider and reply state.
2097
+ */
2098
+ static recipeTestReceipt<ThrowOnError extends boolean = false>(parameters: {
2099
+ requestId: string;
2100
+ }, options?: Options<never, ThrowOnError>): RequestResult<IntegrationCatalogRecipeTestReceiptResponses, IntegrationCatalogRecipeTestReceiptErrors, ThrowOnError>;
2101
+ /**
2102
+ * List Shopify journey recipes and event inputs
2103
+ *
2104
+ * Returns recipe defaults, event property schemas and labelled sample payloads.
2105
+ */
2106
+ static recipeCatalog<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<IntegrationCatalogRecipeCatalogResponses, IntegrationCatalogRecipeCatalogErrors, ThrowOnError>;
2107
+ /**
2108
+ * Read Shopify post-delivery check-in readiness
2109
+ *
2110
+ * Checks selected resources and current feature availability. A namespace caller sees its reachable resources. Shopify account and plan fields are null, and full recipe readiness requires organization-wide access. Omit the email sender or WhatsApp account to see the sender or number selected for the publication and caller scope. Requires email:read and domains:read for email, or whatsappAccounts:read for WhatsApp.
2111
+ */
2112
+ static recipeReadiness<ThrowOnError extends boolean = false>(parameters: {
2113
+ channel: "email" | "whatsapp";
2114
+ integrationAccountId?: IntegrationAccountId | undefined;
2115
+ publicationId?: TemplatePublicationId | undefined;
2116
+ senderId?: EmailSenderId | undefined;
2117
+ whatsappAccountId?: WhatsAppBusinessAccountId | undefined;
2118
+ registrationId?: TemplateRegistrationId | undefined;
2119
+ mailboxEndpointId?: MailboxEndpointId | undefined;
2120
+ }, options?: Options<never, ThrowOnError>): RequestResult<IntegrationCatalogRecipeReadinessResponses, IntegrationCatalogRecipeReadinessErrors, ThrowOnError>;
1943
2121
  /**
1944
2122
  * Prepare an integration connection
1945
2123
  *
@@ -2712,14 +2890,16 @@ export declare class Templates {
2712
2890
  static listFamilies<ThrowOnError extends boolean = false>(parameters?: {
2713
2891
  limit?: number | null | undefined;
2714
2892
  cursor?: string | undefined;
2893
+ namespaceId?: NamespaceId | undefined;
2715
2894
  }, options?: Options<never, ThrowOnError>): RequestResult<TemplatesListFamiliesResponses, TemplatesListFamiliesErrors, ThrowOnError>;
2716
2895
  /**
2717
2896
  * Create a template family
2718
2897
  *
2719
- * Creates an empty template family with the supplied name and returns it with status 201.
2898
+ * Creates an empty template family with the supplied name, in `namespaceId` or at organization level, and returns it with status 201.
2720
2899
  */
2721
2900
  static createFamily<ThrowOnError extends boolean = false>(parameters: {
2722
2901
  name: string;
2902
+ namespaceId?: NamespaceId | null | undefined;
2723
2903
  }, options?: Options<never, ThrowOnError>): RequestResult<TemplatesCreateFamilyResponses, TemplatesCreateFamilyErrors, ThrowOnError>;
2724
2904
  /**
2725
2905
  * Delete a template family
@@ -2749,7 +2929,7 @@ export declare class Templates {
2749
2929
  /**
2750
2930
  * Create a family from a template
2751
2931
  *
2752
- * Creates a template family containing the specified template and returns the new family with status 201.
2932
+ * Creates a template family containing the specified template, in that template's namespace, and returns the new family with status 201.
2753
2933
  */
2754
2934
  static createFamilyFromTemplate<ThrowOnError extends boolean = false>(parameters: {
2755
2935
  templateId: TemplateId;
@@ -2767,7 +2947,7 @@ export declare class Templates {
2767
2947
  /**
2768
2948
  * Attach a template to a family
2769
2949
  *
2770
- * Adds an existing template as a channel member of the family and returns the updated family.
2950
+ * Adds an existing template as a channel member of the family and returns the updated family. The template must be in the family's namespace; another namespace's template answers 409.
2771
2951
  */
2772
2952
  static attachFamilyMember<ThrowOnError extends boolean = false>(parameters: {
2773
2953
  id: TemplateFamilyId;
@@ -2817,22 +2997,25 @@ export declare class Templates {
2817
2997
  /**
2818
2998
  * Suggest designs for a brief
2819
2999
  *
2820
- * Ranks Samva's gallery designs for a brief and returns the three to start a new email from, best first, each with the `galleryTemplateId` that creates a template from it. When the brief names a company's email, `recreation` says whether the gallery recreates that kind of email from it, recreates another kind (start from it for the look), or has none. The ranking is deterministic: the same brief returns the same designs.
3000
+ * Ranks Samva's gallery designs for a brief and returns the three to start a new email from (or, with `channel: "whatsapp"`, Samva's WhatsApp starters), best first, each with the `galleryTemplateId` that creates a template from it. When the brief names a company's email, `recreation` says whether the gallery recreates that kind of email from it, recreates another kind (start from it for the look), or has none. The ranking is deterministic: the same brief returns the same designs.
2821
3001
  */
2822
3002
  static suggestStarters<ThrowOnError extends boolean = false>(parameters: {
2823
3003
  brief: string;
3004
+ channel?: "email" | "whatsapp" | null | undefined;
2824
3005
  }, options?: Options<never, ThrowOnError>): RequestResult<TemplatesSuggestStartersResponses, TemplatesSuggestStartersErrors, ThrowOnError>;
2825
3006
  /**
2826
3007
  * Create a template from a brief
2827
3008
  *
2828
- * Creates an email template project from the gallery design that best fits a brief (the first of `POST /v1/templates/suggestions`, or the `galleryTemplateId` you name) and returns it with status 201, the design it started from, the other suggestions, any company email the brief named, and the request that makes the template assistant adapt the design. The assistant runs when that request is sent in the editor; an agent of your own adapts the design through the workspace endpoints instead.
3009
+ * Creates an email template project (or a WhatsApp one, with `channel: "whatsapp"`) from the gallery design that best fits a brief (the first of `POST /v1/templates/suggestions`, or the `galleryTemplateId` you name) and returns it with status 201, the design it started from, the other suggestions, any company email the brief named, and the request that makes the template assistant adapt the design. The assistant runs when that request is sent in the editor; an agent of your own adapts the design through the workspace endpoints instead.
2829
3010
  */
2830
3011
  static createFromBrief<ThrowOnError extends boolean = false>(parameters: {
2831
3012
  brief: string;
3013
+ channel?: "email" | "whatsapp" | null | undefined;
2832
3014
  name?: string | null | undefined;
2833
3015
  galleryTemplateId?: string | null | undefined;
2834
3016
  useBrand?: boolean | null | undefined;
2835
3017
  namespaceId?: NamespaceId | null | undefined;
3018
+ variantOf?: TemplateId | null | undefined;
2836
3019
  }, options?: Options<never, ThrowOnError>): RequestResult<TemplatesCreateFromBriefResponses, TemplatesCreateFromBriefErrors, ThrowOnError>;
2837
3020
  /**
2838
3021
  * Create a template from a website
@@ -3208,7 +3391,7 @@ export declare class Webhooks {
3208
3391
  static create<ThrowOnError extends boolean = false>(parameters: {
3209
3392
  name: string;
3210
3393
  url: string;
3211
- eventTypes: Array<"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">;
3394
+ eventTypes: Array<"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">;
3212
3395
  channels?: Array<"sms" | "whatsapp" | "email"> | null | undefined;
3213
3396
  mailboxIds?: [MailboxId, ...Array<MailboxId>] | null | undefined;
3214
3397
  namespaceId?: NamespaceId | null | undefined;
@@ -3242,7 +3425,7 @@ export declare class Webhooks {
3242
3425
  id: WebhookEndpointId;
3243
3426
  name?: string | null | undefined;
3244
3427
  url?: string | null | undefined;
3245
- eventTypes?: Array<"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 | undefined;
3428
+ eventTypes?: Array<"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 | undefined;
3246
3429
  channels?: Array<"sms" | "whatsapp" | "email"> | null | undefined;
3247
3430
  mailboxIds?: [MailboxId, ...Array<MailboxId>] | null | undefined;
3248
3431
  namespaceId?: NamespaceId | null | undefined;
@@ -3825,6 +4008,15 @@ export declare class Mailboxes {
3825
4008
  starred?: boolean | null | undefined;
3826
4009
  snoozed?: boolean | null | undefined;
3827
4010
  }, options?: Options<never, ThrowOnError>): RequestResult<MailboxesListThreadsResponses, MailboxesListThreadsErrors, ThrowOnError>;
4011
+ /**
4012
+ * Permanently delete a mailbox thread
4013
+ *
4014
+ * Deletes a thread from Trash or Spam. Requires thread:write. Returns 409 if the thread is outside those folders. Publishes mailbox.thread.deleted. Cleanup of stored files runs after the deletion commits.
4015
+ */
4016
+ static deleteThread<ThrowOnError extends boolean = false>(parameters: {
4017
+ id: MailboxId;
4018
+ threadId: MailboxThreadId;
4019
+ }, options?: Options<never, ThrowOnError>): RequestResult<MailboxesDeleteThreadResponses, MailboxesDeleteThreadErrors, ThrowOnError>;
3828
4020
  /**
3829
4021
  * Get a mailbox thread
3830
4022
  *
@@ -3852,6 +4044,22 @@ export declare class Mailboxes {
3852
4044
  ifNoReply?: boolean | undefined;
3853
4045
  reminderInboxAt?: string | null | undefined;
3854
4046
  }, options?: Options<never, ThrowOnError>): RequestResult<MailboxesUpdateThreadResponses, MailboxesUpdateThreadErrors, ThrowOnError>;
4047
+ /**
4048
+ * Empty a mailbox's Trash
4049
+ *
4050
+ * Queues permanent deletion of the threads currently in Trash and returns their count. Requires thread:write. A thread restored before processing is skipped.
4051
+ */
4052
+ static emptyTrash<ThrowOnError extends boolean = false>(parameters: {
4053
+ id: MailboxId;
4054
+ }, options?: Options<never, ThrowOnError>): RequestResult<MailboxesEmptyTrashResponses, MailboxesEmptyTrashErrors, ThrowOnError>;
4055
+ /**
4056
+ * Empty a mailbox's Spam
4057
+ *
4058
+ * Queues permanent deletion of the threads currently in Spam and returns their count. Requires thread:write. A thread restored before processing is skipped.
4059
+ */
4060
+ static emptySpam<ThrowOnError extends boolean = false>(parameters: {
4061
+ id: MailboxId;
4062
+ }, options?: Options<never, ThrowOnError>): RequestResult<MailboxesEmptySpamResponses, MailboxesEmptySpamErrors, ThrowOnError>;
3855
4063
  /**
3856
4064
  * Remove thread labels
3857
4065
  *
@@ -3960,7 +4168,7 @@ export declare class Mailboxes {
3960
4168
  /**
3961
4169
  * Get a message's raw MIME
3962
4170
  *
3963
- * Returns a short-lived URL for the message exactly as it was received (`message/rfc822`). Sent messages have no stored MIME.
4171
+ * Returns a short-lived URL for the message exactly as it was received (`message/rfc822`). Sent messages have no stored MIME. Inbound email without a passing malware scan returns 404 (`ResourceNotFoundError`).
3964
4172
  */
3965
4173
  static getMessageRaw<ThrowOnError extends boolean = false>(parameters: {
3966
4174
  id: MailboxId;
@@ -3969,7 +4177,7 @@ export declare class Mailboxes {
3969
4177
  /**
3970
4178
  * Get a message attachment
3971
4179
  *
3972
- * Returns a short-lived download URL for one of the message's attachments.
4180
+ * Returns a short-lived download URL for one of the message's attachments. Inbound email without a passing malware scan returns 404 (`ResourceNotFoundError`).
3973
4181
  */
3974
4182
  static getMessageAttachment<ThrowOnError extends boolean = false>(parameters: {
3975
4183
  id: MailboxId;
@@ -3979,7 +4187,7 @@ export declare class Mailboxes {
3979
4187
  /**
3980
4188
  * Copy a message attachment
3981
4189
  *
3982
- * Copies one of a received message's attachments into the organization's media and returns it as a draft attachment (`mediaId`), so a draft can carry it. A draft that forwards a message saves each original attachment this way.
4190
+ * Copies one of a received message's attachments into the organization's media and returns it as a draft attachment (`mediaId`), so a draft can carry it. A draft that forwards a message saves each original attachment this way. Inbound email without a passing malware scan returns 404 (`ResourceNotFoundError`).
3983
4191
  */
3984
4192
  static copyMessageAttachment<ThrowOnError extends boolean = false>(parameters: {
3985
4193
  id: MailboxId;
@@ -4007,7 +4215,7 @@ export declare class Mailboxes {
4007
4215
  /**
4008
4216
  * Forward a message
4009
4217
  *
4010
- * Forwards an email to new recipients as a new conversation from the thread's endpoint, with the original quoted below the caller's text and its attachments attached ahead of any the caller adds. The combined attachments must fit the email attachment limits.
4218
+ * Forwards an email to new recipients as a new conversation from the thread's endpoint, with the original quoted below the caller's text and its attachments attached ahead of any the caller adds. The combined attachments must fit the email attachment limits. Forwarding an inbound email with attachments and without a passing malware scan returns 404 (`ResourceNotFoundError`).
4011
4219
  */
4012
4220
  static forward<ThrowOnError extends boolean = false>(parameters: {
4013
4221
  id: MailboxId;
@@ -4020,35 +4228,26 @@ export declare class Mailboxes {
4020
4228
  attachments?: Array<EmailAttachment> | null | undefined;
4021
4229
  }, options?: Options<never, ThrowOnError>): RequestResult<MailboxesForwardResponses, MailboxesForwardErrors, ThrowOnError>;
4022
4230
  /**
4023
- * List quarantined messages
4231
+ * List malware held outside Spam threads
4024
4232
  *
4025
- * Returns the messages this mailbox holds instead of delivering, most recently held first: suspected spam, phishing, fraud, or prompt injection (`quarantined`), and malware (`isolated`). Each is metadata only; a held message appears in no thread, search, or `mailbox.message.received` event until a person releases it. `after` and `before` filter by when the message was held. Needs `quarantine.read`.
4233
+ * Lists isolated messages, newest first. Only metadata is stored. Use the thread list with folder=spam to read Spam. The after and before filters apply to when the message was held.
4026
4234
  */
4027
- static listQuarantine<ThrowOnError extends boolean = false>(parameters: {
4235
+ static listSpamHeld<ThrowOnError extends boolean = false>(parameters: {
4028
4236
  id: MailboxId;
4029
4237
  limit?: number | null | undefined;
4030
4238
  cursor?: string | undefined;
4031
4239
  after?: string | undefined;
4032
4240
  before?: string | undefined;
4033
- }, options?: Options<never, ThrowOnError>): RequestResult<MailboxesListQuarantineResponses, MailboxesListQuarantineErrors, ThrowOnError>;
4241
+ }, options?: Options<never, ThrowOnError>): RequestResult<MailboxesListSpamHeldResponses, MailboxesListSpamHeldErrors, ThrowOnError>;
4034
4242
  /**
4035
- * Release a quarantined message
4243
+ * Discard held malware
4036
4244
  *
4037
- * Delivers a quarantined message into the thread it would have joined and publishes one `mailbox.message.released` event. Releasing it again returns the same result and publishes nothing. Only a person can release; API keys never hold `quarantine.release`. Isolated (malware) messages and discarded messages cannot be released: 409.
4245
+ * Permanently removes isolated malware from the mailbox's held list. Publishes one `mailbox.message.discarded` event. Retrying returns the same result and publishes nothing. Delete readable Spam through the thread delete endpoint. Only a person with `spam.discard` can discard held mail.
4038
4246
  */
4039
- static releaseMessage<ThrowOnError extends boolean = false>(parameters: {
4247
+ static discardSpamHeld<ThrowOnError extends boolean = false>(parameters: {
4040
4248
  id: MailboxId;
4041
4249
  messageId: MessageId;
4042
- }, options?: Options<never, ThrowOnError>): RequestResult<MailboxesReleaseMessageResponses, MailboxesReleaseMessageErrors, ThrowOnError>;
4043
- /**
4044
- * Discard a quarantined message
4045
- *
4046
- * Removes a held message from the mailbox's quarantine for good: it leaves the quarantine list, never reaches a thread, and can no longer be released. Quarantined and isolated (malware) messages can both be discarded. Publishes one `mailbox.message.discarded` event; discarding it again returns the same result and publishes nothing. A released message is in its thread and cannot be discarded: 409. Only a person can discard; API keys never hold `quarantine.release`.
4047
- */
4048
- static discardMessage<ThrowOnError extends boolean = false>(parameters: {
4049
- id: MailboxId;
4050
- messageId: MessageId;
4051
- }, options?: Options<never, ThrowOnError>): RequestResult<MailboxesDiscardMessageResponses, MailboxesDiscardMessageErrors, ThrowOnError>;
4250
+ }, options?: Options<never, ThrowOnError>): RequestResult<MailboxesDiscardSpamHeldResponses, MailboxesDiscardSpamHeldErrors, ThrowOnError>;
4052
4251
  /**
4053
4252
  * Schedule a mailbox draft
4054
4253
  *
@@ -4735,12 +4934,13 @@ export declare class TemplateRegistrations {
4735
4934
  /**
4736
4935
  * Submit a template registration
4737
4936
  *
4738
- * Submits the template's current publication for the provider's review: for WhatsApp, as a message template on the business account of the named number, or of the default number. A first submission creates the provider template; a later one resubmits the newer publication's content to the same template.
4937
+ * Submits the template's current publication for review on a WhatsApp business account. Pass approval to bind a reviewed submission to the exact publication, workspace revision, connected number and Meta business account. A changed selection returns a conflict. An immediate submission uses the named or default number. A first submission creates the provider template. A later one resubmits through the same registration.
4739
4938
  */
4740
4939
  static submit<ThrowOnError extends boolean = false>(parameters: {
4741
4940
  id: TemplateId;
4742
4941
  provider: "whatsapp";
4743
- businessAccountId?: WhatsAppBusinessAccountId | undefined;
4942
+ businessAccountId?: WhatsAppBusinessAccountId1 | undefined;
4943
+ approval?: TemplateRegistrationApproval | undefined;
4744
4944
  }, options?: Options<never, ThrowOnError>): RequestResult<TemplateRegistrationsSubmitResponses, TemplateRegistrationsSubmitErrors, ThrowOnError>;
4745
4945
  /**
4746
4946
  * Get a template registration