samva 0.50.0 → 0.52.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 (121) hide show
  1. package/AGENTS.md +49 -5
  2. package/README.md +137 -7
  3. package/dist/client/sdk.gen.d.ts +78 -38
  4. package/dist/client/sdk.gen.js +1554 -967
  5. package/dist/client/types.gen.d.ts +541 -291
  6. package/dist/effect/agents.d.ts +4 -4
  7. package/dist/effect/api-keys.d.ts +4 -6
  8. package/dist/effect/campaigns.d.ts +222 -230
  9. package/dist/effect/categories.d.ts +2 -2
  10. package/dist/effect/categories.js +6 -4
  11. package/dist/effect/contact-groups.d.ts +4 -4
  12. package/dist/effect/contacts.d.ts +8 -8
  13. package/dist/effect/conversations.d.ts +4 -4
  14. package/dist/effect/descriptors/integrations-catalog.d.ts +1 -1
  15. package/dist/effect/descriptors/integrations-catalog.js +1 -1
  16. package/dist/effect/descriptors/integrations.d.ts +1 -1
  17. package/dist/effect/descriptors/integrations.js +1 -1
  18. package/dist/effect/descriptors/logs.d.ts +21 -0
  19. package/dist/effect/descriptors/logs.js +23 -0
  20. package/dist/effect/descriptors/whats-app.d.ts +1 -1
  21. package/dist/effect/descriptors/whats-app.js +1 -1
  22. package/dist/effect/email.d.ts +17 -16
  23. package/dist/effect/errors.d.ts +1 -0
  24. package/dist/effect/errors.js +2 -1
  25. package/dist/effect/generated/agents.js +4 -4
  26. package/dist/effect/generated/api-keys.d.ts +0 -15
  27. package/dist/effect/generated/api-keys.js +1 -2
  28. package/dist/effect/generated/campaigns.d.ts +18 -68
  29. package/dist/effect/generated/campaigns.js +5 -15
  30. package/dist/effect/generated/email.d.ts +10 -3
  31. package/dist/effect/generated/email.js +6 -5
  32. package/dist/effect/generated/index.d.ts +3 -1
  33. package/dist/effect/generated/integrations-catalog.d.ts +93 -49
  34. package/dist/effect/generated/integrations-catalog.js +17 -28
  35. package/dist/effect/generated/integrations.d.ts +20 -40
  36. package/dist/effect/generated/integrations.js +9 -13
  37. package/dist/effect/generated/journeys.d.ts +61 -13
  38. package/dist/effect/generated/journeys.js +5 -5
  39. package/dist/effect/generated/logs.d.ts +2311 -0
  40. package/dist/effect/generated/logs.js +312 -0
  41. package/dist/effect/generated/mailboxes.d.ts +30 -24
  42. package/dist/effect/generated/mailboxes.js +25 -25
  43. package/dist/effect/generated/messages.d.ts +1 -882
  44. package/dist/effect/generated/messages.js +4 -243
  45. package/dist/effect/generated/namespaces.js +1 -1
  46. package/dist/effect/generated/newsletter-domains.d.ts +61 -13
  47. package/dist/effect/generated/newsletter-domains.js +5 -5
  48. package/dist/effect/generated/newsletter-issues.d.ts +166 -34
  49. package/dist/effect/generated/newsletter-issues.js +12 -12
  50. package/dist/effect/generated/newsletters.d.ts +76 -16
  51. package/dist/effect/generated/newsletters.js +6 -6
  52. package/dist/effect/generated/organizations.js +1 -1
  53. package/dist/effect/generated/policies.js +2 -2
  54. package/dist/effect/generated/scheduled-messages.d.ts +0 -26
  55. package/dist/effect/generated/scheduled-messages.js +2 -4
  56. package/dist/effect/generated/shared.d.ts +1139 -257
  57. package/dist/effect/generated/shared.js +323 -83
  58. package/dist/effect/generated/subscriptions.d.ts +4 -4
  59. package/dist/effect/generated/subscriptions.js +2 -6
  60. package/dist/effect/generated/template-registrations.d.ts +46 -10
  61. package/dist/effect/generated/template-registrations.js +4 -4
  62. package/dist/effect/generated/templates.js +2 -2
  63. package/dist/effect/generated/whats-app-flows.d.ts +151 -31
  64. package/dist/effect/generated/whats-app-flows.js +11 -11
  65. package/dist/effect/generated/whats-app-setup-links.d.ts +61 -13
  66. package/dist/effect/generated/whats-app-setup-links.js +5 -5
  67. package/dist/effect/generated/whats-app.d.ts +187 -65
  68. package/dist/effect/generated/whats-app.js +18 -24
  69. package/dist/effect/generated-metadata.d.ts +15 -3
  70. package/dist/effect/generated-metadata.js +375 -349
  71. package/dist/effect/index.d.ts +1 -0
  72. package/dist/effect/index.js +3 -1
  73. package/dist/effect/integrations-catalog.d.ts +92 -4
  74. package/dist/effect/integrations.d.ts +42 -10
  75. package/dist/effect/internal/client.d.ts +19 -2
  76. package/dist/effect/internal/client.js +35 -5
  77. package/dist/effect/internal/email-sender.d.ts +4 -4
  78. package/dist/effect/internal/email-sender.js +5 -3
  79. package/dist/effect/internal/log-events.d.ts +19 -0
  80. package/dist/effect/internal/log-events.js +53 -0
  81. package/dist/effect/internal/mailbox-events.d.ts +6 -2
  82. package/dist/effect/internal/mailbox-events.js +4 -3
  83. package/dist/effect/internal/operation.d.ts +11 -0
  84. package/dist/effect/internal/operation.js +10 -6
  85. package/dist/effect/internal/send.d.ts +4 -0
  86. package/dist/effect/internal/send.js +11 -8
  87. package/dist/effect/internal/timeout.d.ts +16 -0
  88. package/dist/effect/internal/timeout.js +20 -0
  89. package/dist/effect/journeys.d.ts +4 -4
  90. package/dist/effect/logs.d.ts +149 -0
  91. package/dist/effect/logs.js +18 -0
  92. package/dist/effect/mailboxes.d.ts +184 -178
  93. package/dist/effect/mailboxes.js +1 -1
  94. package/dist/effect/messages.d.ts +5 -5
  95. package/dist/effect/namespaces.d.ts +4 -4
  96. package/dist/effect/newsletter-domains.d.ts +2 -2
  97. package/dist/effect/operations.d.ts +2 -2
  98. package/dist/effect/scheduled-messages.d.ts +2 -6
  99. package/dist/effect/templates.d.ts +6 -6
  100. package/dist/effect/topics.d.ts +4 -4
  101. package/dist/effect/webhooks.d.ts +4 -4
  102. package/dist/effect/whatsapp-setup-links.d.ts +2 -2
  103. package/dist/effect/whatsapp.d.ts +73 -3
  104. package/dist/index.js +2 -2
  105. package/dist/mailbox-events.d.ts +50 -3
  106. package/dist/mailbox-events.js +38 -19
  107. package/dist/package.js +1 -1
  108. package/dist/promises/client.d.ts +8 -1
  109. package/dist/promises/client.js +15 -9
  110. package/dist/promises/errors.gen.d.ts +14 -1
  111. package/dist/promises/errors.gen.js +158 -36
  112. package/dist/promises/index.js +2 -2
  113. package/dist/promises/request.d.ts +31 -2
  114. package/dist/promises/request.js +42 -7
  115. package/dist/promises/types.gen.d.ts +1 -1
  116. package/dist/request-id.d.ts +3 -0
  117. package/dist/request-id.js +7 -0
  118. package/dist/request-policy.d.ts +9 -0
  119. package/dist/request-policy.js +16 -1
  120. package/dist/service-map.d.ts +14 -3
  121. package/package.json +6 -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, 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, MailboxesCompleteImportUploadErrors, MailboxesCompleteImportUploadResponses, 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, MailboxesDiscardImportErrors, MailboxesDiscardImportResponses, MailboxesDiscardImportUploadErrors, MailboxesDiscardImportUploadResponses, 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, MailboxesSignImportUploadPartsErrors, MailboxesSignImportUploadPartsResponses, 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, 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, LogsGetErrors, LogsGetResponses, LogsListErrors, LogsListResponses, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxesAddThreadLabelsErrors, MailboxesAddThreadLabelsResponses, MailboxesApproveActionErrors, MailboxesApproveActionResponses, MailboxesCancelActionErrors, MailboxesCancelActionResponses, MailboxesCompleteImportUploadErrors, MailboxesCompleteImportUploadResponses, 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, MailboxesDiscardImportErrors, MailboxesDiscardImportResponses, MailboxesDiscardImportUploadErrors, MailboxesDiscardImportUploadResponses, 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, MailboxesSignImportUploadPartsErrors, MailboxesSignImportUploadPartsResponses, 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, 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
@@ -9,6 +9,8 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
9
9
  client?: Client | undefined;
10
10
  idempotencyKey?: string | undefined;
11
11
  maxRetries?: number | undefined;
12
+ /** Milliseconds each attempt may take; `null` disables the bound, `undefined` inherits the client's. */
13
+ timeoutMs?: number | null | undefined;
12
14
  /**
13
15
  * You can pass arbitrary values through the `meta` object. This can be
14
16
  * used to access values that aren't defined as part of the SDK function.
@@ -77,7 +79,7 @@ export declare class Messages {
77
79
  /**
78
80
  * Send a message
79
81
  *
80
- * An email send whose namespace has no sending setup returns ValidationError: share the sender domain with namespaces, or use a sender owned by that namespace. Sending setup that has stopped after failure returns ValidationError; restart or reconcile the domain's sending setup. Setup still in progress returns ConflictError. Sends a message on the requested channel and returns its receipt (id, status, and why it waits when it does) with a 201 Created status. Requires `messages:create` or the send permission of the channel it sends on, such as `email:send`. `channel` selects the payload variant. Email and WhatsApp sends are available. Repeating an identical request with the same optional `Idempotency-Key` header returns the original receipt; reusing the key for different content returns a conflict.
82
+ * An email send whose namespace has no sending setup returns ValidationError: share the sender domain with namespaces, or use a sender owned by that namespace. Sending setup that has stopped after failure returns ValidationError; restart or reconcile the domain's sending setup. Setup still in progress returns ConflictError. Sends a message on the requested channel and returns its receipt (id, status, and why it waits when it does) with a 201 Created status. Requires `messages:create` or the send permission of the channel it sends on, such as `email:send`. `channel` selects the payload variant. Email and WhatsApp sends are available. Once a send succeeds, repeating the request with the same `Idempotency-Key` and body returns the original receipt. While it is still in progress, a 409 includes a `Retry-After` header. Reusing the key for different content returns a 409 without a retry hint.
81
83
  */
82
84
  static send<ThrowOnError extends boolean = false>(parameters: EmailSendMessagePayload | SmsSendMessagePayload | WhatsAppSendMessagePayload, options?: Options<never, ThrowOnError>): RequestResult<MessagesSendResponses, MessagesSendErrors, ThrowOnError>;
83
85
  /**
@@ -159,6 +161,43 @@ export declare class Messages {
159
161
  export declare class Messages2 {
160
162
  static messages: typeof Messages;
161
163
  }
164
+ export declare class Logs {
165
+ /**
166
+ * List message log events
167
+ *
168
+ * Lists the organization's message events in its plan's log window. The default sort is by event timestamp. Use orderBy=recorded and order=asc to poll events in ingestion order, including events with older timestamps. Pass the last event's cursor as after. Keep the same sort and direction when paging.
169
+ */
170
+ static list<ThrowOnError extends boolean = false>(parameters?: {
171
+ limit?: number | null | undefined;
172
+ cursor?: string | undefined;
173
+ after?: string | undefined;
174
+ orderBy?: "timestamp" | "recorded" | undefined;
175
+ order?: "asc" | "desc" | undefined;
176
+ since?: string | undefined;
177
+ until?: string | undefined;
178
+ status?: string | undefined;
179
+ event?: string | undefined;
180
+ channel?: "sms" | "whatsapp" | "email" | undefined;
181
+ direction?: "outbound" | "inbound" | undefined;
182
+ origin?: "direct" | "campaign" | "scheduled" | "mailbox" | "forwarding" | "journey" | "businessApp" | undefined;
183
+ credential?: string | undefined;
184
+ from?: string | undefined;
185
+ messageId?: MessageId | undefined;
186
+ mailboxId?: MailboxId | undefined;
187
+ requestId?: string | undefined;
188
+ }, options?: Options<never, ThrowOnError>): RequestResult<LogsListResponses, LogsListErrors, ThrowOnError>;
189
+ /**
190
+ * Get message log detail
191
+ *
192
+ * Returns the message and its event timeline, or a rejected submission, by message, rejection, or request ID.
193
+ */
194
+ static get<ThrowOnError extends boolean = false>(parameters: {
195
+ id: MessageId | string;
196
+ }, options?: Options<never, ThrowOnError>): RequestResult<LogsGetResponses, LogsGetErrors, ThrowOnError>;
197
+ }
198
+ export declare class Logs2 {
199
+ static logs: typeof Logs;
200
+ }
162
201
  export declare class Operations {
163
202
  /**
164
203
  * List asynchronous operations
@@ -234,7 +273,7 @@ export declare class ScheduledMessages {
234
273
  /**
235
274
  * Resume a review-paused scheduled message
236
275
  *
237
- * Explicitly resumes a scheduled message after onboarding review clearance. An overdue message requires either send_now or a new future scheduledFor value.
276
+ * Explicitly resumes a scheduled message once Samva's email review approves the organization. An overdue message requires either send_now or a new future scheduledFor value.
238
277
  */
239
278
  static resume<ThrowOnError extends boolean = false>(parameters: {
240
279
  id: ScheduledMessageId;
@@ -403,13 +442,13 @@ export declare class Campaigns2 {
403
442
  }
404
443
  export declare class Email {
405
444
  /**
406
- * Get email onboarding review status
445
+ * Get email review status
407
446
  *
408
- * Returns the customer-safe organization review decision, workflow stage, next action, and current sending-identity clearances. An organization that has not been reviewed yet is returned in the blocked initial state.
447
+ * Returns whether the organization's email can send and where Samva's review of it stands: the decision, stage, stable block reason, next action, and current sending-identity clearances. Samva reviews some new organizations before their first email; while it does, `canSend` is false and `nextAction` is `wait_for_review`. Mailbox sends wait as `queued` with wait reason `onboarding-review` and go out once the review approves the organization; other sends are refused with `OnboardingReviewRequiredError`.
409
448
  */
410
449
  static getOnboardingReview<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<EmailGetOnboardingReviewResponses, EmailGetOnboardingReviewErrors, ThrowOnError>;
411
450
  /**
412
- * Reapply for email onboarding review
451
+ * Reapply for email review
413
452
  *
414
453
  * Allows an organization owner or admin to submit a rejected organization for review again. The expected generation prevents acting on stale status.
415
454
  */
@@ -417,7 +456,7 @@ export declare class Email {
417
456
  expectedGeneration: number;
418
457
  }, options?: Options<never, ThrowOnError>): RequestResult<EmailReapplyOnboardingReviewResponses, EmailReapplyOnboardingReviewErrors, ThrowOnError>;
419
458
  /**
420
- * Respond to an email onboarding information request
459
+ * Respond to an email review information request
421
460
  *
422
461
  * Allows organization owners and admins to submit a text response and up to three evidence uploads for the current information request.
423
462
  */
@@ -511,7 +550,7 @@ export declare class Email {
511
550
  /**
512
551
  * Remove a sending domain
513
552
  *
514
- * Permanently deletes a sending domain from the organization.
553
+ * Permanently deletes a sending domain from the organization. Removal is asynchronous: a `200` means its teardown was accepted. The domain stays listed with `deleting: true` and sends nothing until teardown finishes, then reads as `404`. A repeat call while teardown runs answers `200` again; once it finishes, a `404` means the domain is gone.
515
554
  */
516
555
  static removeDomain<ThrowOnError extends boolean = false>(parameters: {
517
556
  id: EmailDomainId;
@@ -569,7 +608,6 @@ export declare class Email {
569
608
  */
570
609
  static enableReceiving<ThrowOnError extends boolean = false>(parameters: {
571
610
  id: EmailDomainId;
572
- domain: string;
573
611
  catchAll?: boolean | null | undefined;
574
612
  endpointId?: WebhookEndpointId | null | undefined;
575
613
  addresses?: Array<string> | null | undefined;
@@ -1780,7 +1818,7 @@ export declare class Agents {
1780
1818
  /**
1781
1819
  * Create an agent
1782
1820
  *
1783
- * Creates an agent with a draft and returns it with status 201. The agent answers nothing until its draft is published. The default policy requires a person to approve replies and final actions. The namespace is set at creation and cannot change.
1821
+ * Creates an agent with a draft and returns it with status 201. The agent answers nothing until its draft is published. The default policy requires a person to approve replies and final actions. API keys need organization-wide reach to create with a custom policy. The namespace is set at creation and cannot change.
1784
1822
  */
1785
1823
  static create<ThrowOnError extends boolean = false>(parameters: {
1786
1824
  name: AgentName;
@@ -1823,7 +1861,7 @@ export declare class Agents {
1823
1861
  /**
1824
1862
  * Replace an agent draft
1825
1863
  *
1826
- * Replaces the whole draft and returns the agent with a new revision. The request names the revision it read; a stale revision returns 409. Published versions, and the conversations answered on them, do not change. An endpoint answers for one agent at a time: a draft that names an endpoint another agent answers on returns 409. A draft that pins a catalog model returns 402 unless your plan is Growth or Scale, and 422 when the model is not available or does not support the reasoning level.
1864
+ * Replaces the whole draft and returns the agent with a new revision. The request names the revision it read; a stale revision returns 409. API keys need organization-wide reach to change the draft policy. Published versions, and the conversations answered on them, do not change. An endpoint answers for one agent at a time: a draft that names an endpoint another agent answers on returns 409. A draft that pins a catalog model returns 402 unless your plan is Growth or Scale, and 422 when the model is not available or does not support the reasoning level.
1827
1865
  */
1828
1866
  static replaceDraft<ThrowOnError extends boolean = false>(parameters: {
1829
1867
  id: AgentId;
@@ -1833,7 +1871,7 @@ export declare class Agents {
1833
1871
  /**
1834
1872
  * Publish an agent
1835
1873
  *
1836
- * Publishes the draft as the next immutable version. Each conversation moves to it from its next agent reply; a reply already running finishes on the version it started on. The request names the revision it read; a stale revision returns 409. Publishing a draft identical to the newest version changes nothing and answers published false. An endpoint answers for one agent at a time: publishing a draft whose endpoint another agent answers on returns 409. The published policy governs review of each proposed action.
1874
+ * Publishes the draft as the next immutable version. API keys need organization-wide reach to publish a policy change. Each conversation moves to it from its next agent reply; a reply already running finishes on the version it started on. The request names the revision it read; a stale revision returns 409. Publishing a draft identical to the newest version changes nothing and answers published false. An endpoint answers for one agent at a time: publishing a draft whose endpoint another agent answers on returns 409. The published policy governs review of each proposed action.
1837
1875
  */
1838
1876
  static publish<ThrowOnError extends boolean = false>(parameters: {
1839
1877
  id: AgentId;
@@ -1852,7 +1890,7 @@ export declare class Agents {
1852
1890
  /**
1853
1891
  * Publish an agent module
1854
1892
  *
1855
- * Publishes a self-contained JavaScript module and its manifest as the next immutable version. Source is stored by its SHA-256 digest without execution. The revision protects the draft read by the publisher; a stale revision returns 409. Publishing the same manifest, source, and definition again returns published false. The manifest controls the model, endpoints, integration grants, and action policy. Draft instructions and knowledge remain editable builder data; the hosted runtime reads instructions and tools from the published module.
1893
+ * Publishes a self-contained JavaScript module and its manifest as the next immutable version. API keys need organization-wide reach to publish a policy change. Source is stored by its SHA-256 digest without execution. The revision protects the draft read by the publisher; a stale revision returns 409. Publishing the same manifest, source, and definition again returns published false. The manifest controls the model, endpoints, integration grants, and action policy. Draft instructions and knowledge remain editable builder data; the hosted runtime reads instructions and tools from the published module.
1856
1894
  */
1857
1895
  static publishVersion<ThrowOnError extends boolean = false>(parameters: {
1858
1896
  id: AgentId;
@@ -2107,7 +2145,7 @@ export declare class IntegrationCatalog {
2107
2145
  /**
2108
2146
  * Read Shopify post-delivery check-in readiness
2109
2147
  *
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.
2148
+ * Checks selected resources and plan access. 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
2149
  */
2112
2150
  static recipeReadiness<ThrowOnError extends boolean = false>(parameters: {
2113
2151
  channel: "email" | "whatsapp";
@@ -2130,14 +2168,14 @@ export declare class IntegrationCatalog {
2130
2168
  /**
2131
2169
  * Search the integrations catalog
2132
2170
  *
2133
- * Searches the providers this organization can connect, by key, text or category. Each entry carries its connection requirements and whether it can connect. Follow nextOffset until it is null.
2171
+ * Searches the providers this organization can connect, by key, text or category. Each entry carries its connection requirements and whether it can connect. Pass nextCursor back as cursor until it is null.
2134
2172
  */
2135
2173
  static search<ThrowOnError extends boolean = false>(parameters?: {
2136
2174
  key?: IntegrationKey | undefined;
2137
2175
  query?: string | undefined;
2138
2176
  category?: "commerce" | "payments" | "shipping" | "calendar" | "crm" | "helpdesk" | "knowledge" | "forms" | "accounting" | "reviews" | "productivity" | "dns" | "channel" | "other" | undefined;
2139
- offset?: number | undefined;
2140
- limit?: number | undefined;
2177
+ limit?: number | null | undefined;
2178
+ cursor?: string | undefined;
2141
2179
  }, options?: Options<never, ThrowOnError>): RequestResult<IntegrationCatalogSearchResponses, IntegrationCatalogSearchErrors, ThrowOnError>;
2142
2180
  /**
2143
2181
  * List the integrations catalog
@@ -2153,7 +2191,7 @@ export declare class Integrations {
2153
2191
  /**
2154
2192
  * List integrations
2155
2193
  *
2156
- * Returns a bounded page of installed integrations, newest first, with compact tool summaries. Follow nextCursor and each integration's toolPage.nextOffset for the complete inventory.
2194
+ * Returns a bounded page of installed integrations, newest first, with compact tool summaries. Follow nextCursor and each integration's toolPage.nextCursor for the complete inventory.
2157
2195
  */
2158
2196
  static list<ThrowOnError extends boolean = false>(parameters?: {
2159
2197
  limit?: number | null | undefined;
@@ -2172,17 +2210,17 @@ export declare class Integrations {
2172
2210
  /**
2173
2211
  * List integration tools
2174
2212
  *
2175
- * Returns a page of the tools an integration gives agents. Send the first page's revision with each later offset; if the integration's tools change during the read, the request returns 409 and the read restarts at offset zero.
2213
+ * Returns a page of the tools an integration gives agents. Pass nextCursor back as cursor. If the integration's tools change during pagination, the request returns 409. Restart without a cursor.
2176
2214
  */
2177
2215
  static listTools<ThrowOnError extends boolean = false>(parameters: {
2178
2216
  integrationId: IntegrationId;
2179
- offset?: number | null | undefined;
2180
- revision?: string | undefined;
2217
+ limit?: number | null | undefined;
2218
+ cursor?: string | undefined;
2181
2219
  }, options?: Options<never, ThrowOnError>): RequestResult<IntegrationsListToolsResponses, IntegrationsListToolsErrors, ThrowOnError>;
2182
2220
  /**
2183
2221
  * Read an integration tool descriptor
2184
2222
  *
2185
- * Returns one tool's full descriptor. A revision that no longer matches the integration's tools returns 409.
2223
+ * Returns one tool's descriptor in chunks. Pass nextOffset back as offset with the same revision. A revision that no longer matches the integration's tools returns 409.
2186
2224
  */
2187
2225
  static readTool<ThrowOnError extends boolean = false>(parameters: {
2188
2226
  integrationId: IntegrationId;
@@ -2209,7 +2247,7 @@ export declare class Integrations {
2209
2247
  /**
2210
2248
  * Update an integration
2211
2249
  *
2212
- * Changes an integration's settings, enabled tools, which tools run without approval, and whether replies using its data need approval. Only an organization owner may change answerWithoutApproval or a tool's runsWithoutApproval: false makes a read tool ask first, true lets a tool that changes something run, each for the tool's current effect. Fields not named keep their values. What an agent may do with the integration is the agent's grant.
2250
+ * Changes an integration's settings, enabled tools, which tools run without approval, and whether replies using its data need approval. Changing answerWithoutApproval requires an organization owner and, for an API key, organization-wide reach. An organization owner or an API key with organization-wide reach can change a tool's runsWithoutApproval for its current effect. False makes a read tool ask first. True lets a tool that changes something run. Fields not named keep their values. What an agent may do with the integration is the agent's grant.
2213
2251
  */
2214
2252
  static update<ThrowOnError extends boolean = false>(parameters: {
2215
2253
  integrationId: IntegrationId;
@@ -3568,9 +3606,9 @@ export declare class Organizations {
3568
3606
  namespaceId?: NamespaceId | undefined;
3569
3607
  }, options?: Options<never, ThrowOnError>): RequestResult<OrganizationsGetPersonalMailboxAddressOptionsResponses, OrganizationsGetPersonalMailboxAddressOptionsErrors, ThrowOnError>;
3570
3608
  /**
3571
- * Get organization trust tier and sending limits
3609
+ * Get the organization's sending limits
3572
3610
  *
3573
- * Returns the current trust tier, plan and probation sending limits, and measured probation graduation progress. Limits are additional to billing allowance, domain readiness, and enforcement. Graduation is evaluated on delivery events.
3611
+ * Returns which sending limits apply to the organization and its progress toward the plan's limits. `tier` is `screened` while the organization waits for Samva's review before its first email, `probation` while a new organization sends on starting limits (`sendingLimits.probation`), and `established` once it sends on its plan's limits. `graduation` measures the delivery record a new organization needs before it moves to its plan's limits, and is checked as deliveries arrive. Billing allowance, domain readiness, and sending pauses apply as well.
3574
3612
  */
3575
3613
  static getTrustTier<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<OrganizationsGetTrustTierResponses, OrganizationsGetTrustTierErrors, ThrowOnError>;
3576
3614
  /**
@@ -3988,7 +4026,7 @@ export declare class Mailboxes {
3988
4026
  /**
3989
4027
  * List mailbox decisions awaiting you
3990
4028
  *
3991
- * Returns held actions this caller can approve and quarantined messages this caller may release across their visible mailboxes. Counts cover all actionable items, independent of the current cursor page. Metadata only; isolated messages, self approvals, and decisions the credential cannot perform are excluded.
4029
+ * Returns held actions this caller can approve across their visible mailboxes. Counts cover all actionable items across pages. The queue excludes the caller’s own proposals. Read Spam through the thread list and use the held-mail endpoint for malware metadata.
3992
4030
  */
3993
4031
  static getNeedsYou<ThrowOnError extends boolean = false>(parameters?: {
3994
4032
  limit?: number | null | undefined;
@@ -4009,7 +4047,7 @@ export declare class Mailboxes {
4009
4047
  /**
4010
4048
  * List threads across your mailboxes
4011
4049
  *
4012
- * Lists only threads in mailboxes the caller can read. With `q`, semantic and keyword search returns the best-matching threads in relevance order, capped across cursor pages. Without `q`, threads use newest activity first. Repeat mailboxId to narrow the scope; kind selects personal or shared mailboxes. conversation selects the threads of one conversation (the conversationId a thread reports), one per readable mailbox it reached. state=active excludes what the caller finished; state=done selects the caller's Done, closed shared threads, and personal-mailbox threads in the archived folder, without duplicates. Other filters and cursor pagination match the per-mailbox list.
4050
+ * Lists only threads in mailboxes the caller can read. With `q`, semantic and keyword search returns the best-matching threads in relevance order, capped across cursor pages. Without `q`, threads use newest activity first. Use `snoozed=true&order=wake` for earliest wake first, with ascending thread ID for ties. Repeat mailboxId to narrow the scope; kind selects personal or shared mailboxes. conversation selects the threads of one conversation (the conversationId a thread reports), one per readable mailbox it reached. state=active excludes what the caller finished; state=done selects the caller's Done, closed shared threads, and personal-mailbox threads in the archived folder, without duplicates. Other filters and cursor pagination match the per-mailbox list.
4013
4051
  */
4014
4052
  static listOrganizationThreads<ThrowOnError extends boolean = false>(parameters?: {
4015
4053
  limit?: number | null | undefined;
@@ -4026,6 +4064,7 @@ export declare class Mailboxes {
4026
4064
  unread?: boolean | null | undefined;
4027
4065
  starred?: boolean | null | undefined;
4028
4066
  snoozed?: boolean | null | undefined;
4067
+ order?: "wake" | undefined;
4029
4068
  mailboxId?: MailboxId | Array<MailboxId> | undefined;
4030
4069
  kind?: "personal" | "shared" | undefined;
4031
4070
  conversation?: ConversationId | undefined;
@@ -4033,7 +4072,7 @@ export declare class Mailboxes {
4033
4072
  /**
4034
4073
  * List threads in a mailbox
4035
4074
  *
4036
- * Returns thread summaries. With `q`, semantic and keyword search returns up to 100 best-matching threads in relevance order across cursor pages. It searches subjects, participants, message text including quoted history, and attachment filenames, not attachment contents. New mail can take a few seconds to become searchable. Other filters narrow the searchable set. Without `q`, threads use most recent activity first; `after` and `before` filter by last activity for polling. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page. In a list without `q`, a thread that gains activity while you page moves ahead of the cursor, so a walk lists each thread at most once.
4075
+ * Returns thread summaries. With `q`, semantic and keyword search returns up to 100 best-matching threads in relevance order across cursor pages. It searches subjects, participants, message text including quoted history, and attachment filenames, not attachment contents. New mail can take a few seconds to become searchable. Other filters narrow the searchable set. Without `q`, threads use most recent activity first. Use `snoozed=true&order=wake` for earliest wake first, with ascending thread ID for ties. The `after` and `before` filters always use last activity. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page. In an activity-ordered list, a thread that gains activity while you page moves ahead of the cursor, so a walk lists each thread at most once. Omit `folder` to list every folder. A thread's folder is set when it is created and does not move on later replies: a thread a send started stays in `sent`, so find replies with `unread: true` and no `folder`.
4037
4076
  */
4038
4077
  static listThreads<ThrowOnError extends boolean = false>(parameters: {
4039
4078
  id: MailboxId;
@@ -4051,6 +4090,7 @@ export declare class Mailboxes {
4051
4090
  unread?: boolean | null | undefined;
4052
4091
  starred?: boolean | null | undefined;
4053
4092
  snoozed?: boolean | null | undefined;
4093
+ order?: "wake" | undefined;
4054
4094
  }, options?: Options<never, ThrowOnError>): RequestResult<MailboxesListThreadsResponses, MailboxesListThreadsErrors, ThrowOnError>;
4055
4095
  /**
4056
4096
  * Permanently delete a mailbox thread
@@ -4286,7 +4326,7 @@ export declare class Mailboxes {
4286
4326
  /**
4287
4327
  * Discard held malware
4288
4328
  *
4289
- * 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.
4329
+ * 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 signed in to Samva with `spam.discard` can discard held mail; an API key is rejected with `403`.
4290
4330
  */
4291
4331
  static discardSpamHeld<ThrowOnError extends boolean = false>(parameters: {
4292
4332
  id: MailboxId;
@@ -4441,7 +4481,7 @@ export declare class Mailboxes {
4441
4481
  /**
4442
4482
  * Cancel a mailbox send
4443
4483
  *
4444
- * Cancels a definitely unsent action and reopens its draft atomically. Only an authorized person who proposed the send or can approve actions may cancel. Accepted sends return 409 with their winning receipt and cannot be withdrawn. An uncertain send requires reconciliation and cannot be cancelled as unsent. Cancelling a send held for approval records `resolution.outcome: cancelled` and publishes one `mailbox.action.resolved` event.
4484
+ * Cancels a definitely unsent action and reopens its draft atomically. Only an authorized person who proposed the send or can approve actions may cancel; an API key is rejected with `403`, even one with full access. Accepted sends return 409 with their winning receipt and cannot be withdrawn. An uncertain send requires reconciliation and cannot be cancelled as unsent. Cancelling a send held for approval records `resolution.outcome: cancelled` and publishes one `mailbox.action.resolved` event.
4445
4485
  */
4446
4486
  static cancelAction<ThrowOnError extends boolean = false>(parameters: {
4447
4487
  id: MailboxId;
@@ -4450,7 +4490,7 @@ export declare class Mailboxes {
4450
4490
  /**
4451
4491
  * Resume a mailbox send
4452
4492
  *
4453
- * Resumes the same eligible action while preserving its content, message identity, existing retry delays and original deadline. A queued action can resume while cleanup from an ended send attempt waits. A send attempt that is still running or whose status is unknown cannot be retried. Only an authorized person who proposed the send or can approve actions may retry. Automatic waits need no manual Retry. This does not grant new approval or resubmit an accepted or uncertain send.
4493
+ * Resumes the same eligible action while preserving its content, message identity, existing retry delays and original deadline. A queued action can resume while cleanup from an ended send attempt waits. A send attempt that is still running or whose status is unknown cannot be retried. Only an authorized person who proposed the send or can approve actions may retry; an API key is rejected with `403`, even one with full access. Automatic waits need no manual Retry. This does not grant new approval or resubmit an accepted or uncertain send.
4454
4494
  */
4455
4495
  static retryAction<ThrowOnError extends boolean = false>(parameters: {
4456
4496
  id: MailboxId;
@@ -4459,7 +4499,7 @@ export declare class Mailboxes {
4459
4499
  /**
4460
4500
  * Approve a mailbox action
4461
4501
  *
4462
- * Records approval of a send and returns 202 while it is pending. A send is queued for automatic retry within 15 minutes of approval; repeating approval does not extend this deadline. Accepted, completed, and notSent replays return 200. No expiry applies before approval. Only a person signed in or through OAuth may approve, and never the proposer. Non-send approvals execute synchronously and return 200 with their own execution states. Set `always: true` to add an actor-specific rule allowing matching future actions, subject to policy floors and guards. Remembering an allowance for a hosted agent or API key requires an organization owner or admin; for a hosted agent's integration tool call it lets that tool run without approval for every agent, which only the organization owner may do. A held action's `alwaysAllow` says who may and whether the caller can. A hand-off cannot be always allowed. The action's `resolution` names the approver; approving a held send publishes one `mailbox.action.resolved` event.
4502
+ * Records approval of a send and returns 202 while it is pending. A send is queued for automatic retry within 15 minutes of approval; repeating approval does not extend this deadline. Accepted, completed, and notSent replays return 200. No expiry applies before approval. Only a person signed in or through OAuth may approve, and never the proposer; an API key is rejected with `403`. Non-send approvals execute synchronously and return 200 with their own execution states. Set `always: true` to add an actor-specific rule allowing matching future actions, subject to policy floors and guards. Remembering an allowance for a hosted agent or API key requires an organization owner or admin; for a hosted agent's integration tool call it lets that tool run without approval for every agent, which only the organization owner may do. A held action's `alwaysAllow` says who may and whether the caller can. A hand-off cannot be always allowed. The action's `resolution` names the approver; approving a held send publishes one `mailbox.action.resolved` event.
4463
4503
  */
4464
4504
  static approveAction<ThrowOnError extends boolean = false>(parameters: {
4465
4505
  id: MailboxId;
@@ -4474,7 +4514,7 @@ export declare class Mailboxes {
4474
4514
  /**
4475
4515
  * Deny a mailbox action
4476
4516
  *
4477
- * Denies an action waiting for approval with a reason and returns it without executing it. Only a person signed in or through OAuth may deny, and never the one who proposed it. The action's `resolution` records the denier and reason; denying a held send publishes one `mailbox.action.resolved` event.
4517
+ * Denies an action waiting for approval with a reason and returns it without executing it. Only a person signed in or through OAuth may deny, and never the one who proposed it; an API key is rejected with `403`. The action's `resolution` records the denier and reason; denying a held send publishes one `mailbox.action.resolved` event.
4478
4518
  */
4479
4519
  static denyAction<ThrowOnError extends boolean = false>(parameters: {
4480
4520
  id: MailboxId;
@@ -4572,7 +4612,7 @@ export declare class Policies {
4572
4612
  /**
4573
4613
  * Clear decision rules
4574
4614
  *
4575
- * Clears this scope's rules and instructions only when ifVersion matches, and returns the next version. The stored version is retained. Other scopes and subject defaults continue to apply.
4615
+ * Clears this scope's rules and instructions only when ifVersion matches, and returns the next version. The stored version is retained. Other scopes and subject defaults continue to apply. An API key with organization-wide reach may clear another key's policy; clearing its own key, a mailbox that holds rules, the organization, or an agent returns 403.
4576
4616
  */
4577
4617
  static deletePolicy<ThrowOnError extends boolean = false>(parameters: {
4578
4618
  kind: "organization" | "mailbox" | "apiKey" | "agent";
@@ -4591,7 +4631,7 @@ export declare class Policies {
4591
4631
  /**
4592
4632
  * Set decision rules
4593
4633
  *
4594
- * Replaces this scope's rules and instructions only when ifVersion matches its current version. A stale version returns a conflict. More specific scopes replace defaults; atLeast floors remain binding. Identical rule matches in one scope are rejected.
4634
+ * Replaces this scope's rules and instructions only when ifVersion matches its current version. A stale version returns a conflict. More specific scopes replace defaults; atLeast floors remain binding. Identical rule matches in one scope are rejected. An API key changes policy only with organization-wide reach (full access, no namespace, owned by an organization owner or admin): it may set any rule on another key, and on a mailbox it can configure only add atLeast person or never floors or decide: never rules while keeping every existing rule. Its own key, the organization, and agents return 403; a person changes those.
4595
4635
  */
4596
4636
  static setPolicy<ThrowOnError extends boolean = false>(parameters: {
4597
4637
  kind: "organization" | "mailbox" | "apiKey" | "agent";
@@ -4629,7 +4669,7 @@ export declare class Namespaces {
4629
4669
  /**
4630
4670
  * Delete a namespace
4631
4671
  *
4632
- * Deletes an empty namespace. A namespace that still holds anything conflicts, and the error names and counts each resource kind that remains. Delete each, or return it to organization level with `DELETE /v1/namespaces/{id}/resources/{type}/{resourceId}`; mailboxes, keys, and webhook endpoints cannot move and are deleted. Messages keep the namespace they ran in.
4672
+ * Deletes an empty namespace. A namespace that still holds anything conflicts, and the error names and counts each resource kind that remains. Delete each, or return it to organization level with `DELETE /v1/namespaces/{id}/resources/{type}/{resourceId}`; mailboxes and webhook endpoints cannot move and are deleted. Only an enabled API key holds the namespace: revoke the namespace's keys, and deletion retires and detaches each one, keeping its record. Deletion also deletes the namespace's portal links and WhatsApp setup links, so their URLs stop working. Messages keep the namespace they ran in.
4633
4673
  */
4634
4674
  static remove<ThrowOnError extends boolean = false>(parameters: {
4635
4675
  id: NamespaceId;
@@ -4768,11 +4808,11 @@ export declare class Whatsapp {
4768
4808
  /**
4769
4809
  * List WhatsApp business accounts
4770
4810
  *
4771
- * Returns a paginated list of the organization's connected WhatsApp business accounts.
4811
+ * Lists connected WhatsApp business accounts, newest first. Pass nextCursor back as cursor to continue.
4772
4812
  */
4773
4813
  static listBusinessAccounts<ThrowOnError extends boolean = false>(parameters?: {
4774
- page?: number | null | undefined;
4775
4814
  limit?: number | null | undefined;
4815
+ cursor?: string | undefined;
4776
4816
  isActive?: boolean | null | undefined;
4777
4817
  verificationStatus?: "pending" | "verified" | "failed" | "suspended" | undefined;
4778
4818
  namespaceId?: NamespaceId | undefined;