samva 0.51.0 → 0.53.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 (89) hide show
  1. package/AGENTS.md +5 -2
  2. package/README.md +1 -0
  3. package/dist/client/sdk.gen.d.ts +82 -36
  4. package/dist/client/sdk.gen.js +192 -57
  5. package/dist/client/types.gen.d.ts +607 -291
  6. package/dist/effect/campaigns.d.ts +56 -56
  7. package/dist/effect/descriptors/integrations-catalog.d.ts +1 -1
  8. package/dist/effect/descriptors/integrations-catalog.js +1 -1
  9. package/dist/effect/descriptors/integrations.d.ts +1 -1
  10. package/dist/effect/descriptors/integrations.js +1 -1
  11. package/dist/effect/descriptors/logs.d.ts +21 -0
  12. package/dist/effect/descriptors/logs.js +23 -0
  13. package/dist/effect/descriptors/whats-app.d.ts +1 -1
  14. package/dist/effect/descriptors/whats-app.js +1 -1
  15. package/dist/effect/events.d.ts +16 -0
  16. package/dist/effect/generated/agents.js +4 -4
  17. package/dist/effect/generated/campaigns.d.ts +18 -6
  18. package/dist/effect/generated/campaigns.js +2 -6
  19. package/dist/effect/generated/email.js +3 -3
  20. package/dist/effect/generated/events.d.ts +48 -0
  21. package/dist/effect/generated/events.js +1 -1
  22. package/dist/effect/generated/index.d.ts +3 -1
  23. package/dist/effect/generated/integrations-catalog.d.ts +93 -49
  24. package/dist/effect/generated/integrations-catalog.js +17 -28
  25. package/dist/effect/generated/integrations.d.ts +20 -40
  26. package/dist/effect/generated/integrations.js +9 -13
  27. package/dist/effect/generated/journeys.d.ts +1113 -67
  28. package/dist/effect/generated/journeys.js +14 -8
  29. package/dist/effect/generated/logs.d.ts +2323 -0
  30. package/dist/effect/generated/logs.js +312 -0
  31. package/dist/effect/generated/mailboxes.d.ts +38 -24
  32. package/dist/effect/generated/mailboxes.js +22 -21
  33. package/dist/effect/generated/messages.d.ts +11 -882
  34. package/dist/effect/generated/messages.js +4 -243
  35. package/dist/effect/generated/newsletter-domains.d.ts +61 -13
  36. package/dist/effect/generated/newsletter-domains.js +5 -5
  37. package/dist/effect/generated/newsletter-issues.d.ts +166 -34
  38. package/dist/effect/generated/newsletter-issues.js +12 -12
  39. package/dist/effect/generated/newsletters.d.ts +76 -16
  40. package/dist/effect/generated/newsletters.js +6 -6
  41. package/dist/effect/generated/organizations.js +1 -1
  42. package/dist/effect/generated/scheduled-messages.d.ts +36 -0
  43. package/dist/effect/generated/scheduled-messages.js +1 -1
  44. package/dist/effect/generated/shared.d.ts +1706 -442
  45. package/dist/effect/generated/shared.js +370 -93
  46. package/dist/effect/generated/subscriptions.d.ts +4 -4
  47. package/dist/effect/generated/subscriptions.js +2 -6
  48. package/dist/effect/generated/template-registrations.d.ts +46 -10
  49. package/dist/effect/generated/template-registrations.js +4 -4
  50. package/dist/effect/generated/templates.js +2 -2
  51. package/dist/effect/generated/whats-app-flows.d.ts +173 -35
  52. package/dist/effect/generated/whats-app-flows.js +19 -17
  53. package/dist/effect/generated/whats-app-setup-links.d.ts +61 -13
  54. package/dist/effect/generated/whats-app-setup-links.js +5 -5
  55. package/dist/effect/generated/whats-app.d.ts +187 -65
  56. package/dist/effect/generated/whats-app.js +18 -24
  57. package/dist/effect/generated-metadata.d.ts +15 -3
  58. package/dist/effect/generated-metadata.js +375 -349
  59. package/dist/effect/index.d.ts +1 -0
  60. package/dist/effect/index.js +2 -1
  61. package/dist/effect/integrations-catalog.d.ts +92 -4
  62. package/dist/effect/integrations.d.ts +40 -8
  63. package/dist/effect/internal/client.js +25 -3
  64. package/dist/effect/internal/log-events.d.ts +19 -0
  65. package/dist/effect/internal/log-events.js +53 -0
  66. package/dist/effect/internal/mailbox-events.d.ts +6 -2
  67. package/dist/effect/internal/mailbox-events.js +4 -3
  68. package/dist/effect/journeys.d.ts +212 -146
  69. package/dist/effect/logs.d.ts +149 -0
  70. package/dist/effect/logs.js +18 -0
  71. package/dist/effect/mailboxes.d.ts +158 -150
  72. package/dist/effect/mailboxes.js +1 -1
  73. package/dist/effect/newsletter-domains.d.ts +2 -2
  74. package/dist/effect/scheduled-messages.d.ts +66 -0
  75. package/dist/effect/whatsapp-flows.d.ts +30 -0
  76. package/dist/effect/whatsapp-setup-links.d.ts +2 -2
  77. package/dist/effect/whatsapp.d.ts +73 -3
  78. package/dist/mailbox-events.d.ts +50 -3
  79. package/dist/mailbox-events.js +38 -19
  80. package/dist/package.js +1 -1
  81. package/dist/promises/client.d.ts +3 -1
  82. package/dist/promises/client.js +3 -1
  83. package/dist/promises/errors.gen.d.ts +2 -0
  84. package/dist/promises/errors.gen.js +137 -34
  85. package/dist/promises/types.gen.d.ts +1 -1
  86. package/dist/request-id.d.ts +3 -0
  87. package/dist/request-id.js +7 -0
  88. package/dist/service-map.d.ts +14 -3
  89. package/package.json +6 -2
package/AGENTS.md CHANGED
@@ -71,8 +71,11 @@ workspace call carries the workspace `revision` as `expectedRevision`, and Save
71
71
  `expectedHead`. See https://samva.dev/docs/sml/create-and-publish-from-code.
72
72
 
73
73
  Use `client.policies` or `Policies` from `samva/effect/policies` to read, replace, or clear an
74
- organization, mailbox, or API key's decision rules. Policy writes require a person's OAuth session
75
- (`authToken` and `orgSlug`), not an API key. Each rule sets `decide` (a default) or `atLeast`
74
+ organization, mailbox, or API key's decision rules. A permitted person can write with an OAuth
75
+ session (`authToken` and `orgSlug`). A full-access, organization-wide API key owned by an
76
+ organization owner or admin can change another key's policy and can only tighten mailbox policy.
77
+ It can also change a hosted agent's definition policy and an integration tool's approval settings.
78
+ Each rule sets `decide` (a default) or `atLeast`
76
79
  (a binding floor). Scope policy reads return a flat snapshot with `version`, initially `0` when
77
80
  unset. Replacement requires the observed `ifVersion`; `deletePolicy({ kind, id, ifVersion })`
78
81
  clears the configuration. Both return the next snapshot, and clear keeps the counter. On
package/README.md CHANGED
@@ -405,6 +405,7 @@ The Promise client exposes:
405
405
  - `integrationCatalog`
406
406
  - `integrations`
407
407
  - `journeys`
408
+ - `logs`
408
409
  - `mailboxes`
409
410
  - `media`
410
411
  - `messages`
@@ -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
@@ -79,7 +79,7 @@ export declare class Messages {
79
79
  /**
80
80
  * Send a message
81
81
  *
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. 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.
83
83
  */
84
84
  static send<ThrowOnError extends boolean = false>(parameters: EmailSendMessagePayload | SmsSendMessagePayload | WhatsAppSendMessagePayload, options?: Options<never, ThrowOnError>): RequestResult<MessagesSendResponses, MessagesSendErrors, ThrowOnError>;
85
85
  /**
@@ -161,6 +161,43 @@ export declare class Messages {
161
161
  export declare class Messages2 {
162
162
  static messages: typeof Messages;
163
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
+ }
164
201
  export declare class Operations {
165
202
  /**
166
203
  * List asynchronous operations
@@ -236,7 +273,7 @@ export declare class ScheduledMessages {
236
273
  /**
237
274
  * Resume a review-paused scheduled message
238
275
  *
239
- * 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.
240
277
  */
241
278
  static resume<ThrowOnError extends boolean = false>(parameters: {
242
279
  id: ScheduledMessageId;
@@ -405,13 +442,13 @@ export declare class Campaigns2 {
405
442
  }
406
443
  export declare class Email {
407
444
  /**
408
- * Get email onboarding review status
445
+ * Get email review status
409
446
  *
410
- * 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`.
411
448
  */
412
449
  static getOnboardingReview<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<EmailGetOnboardingReviewResponses, EmailGetOnboardingReviewErrors, ThrowOnError>;
413
450
  /**
414
- * Reapply for email onboarding review
451
+ * Reapply for email review
415
452
  *
416
453
  * Allows an organization owner or admin to submit a rejected organization for review again. The expected generation prevents acting on stale status.
417
454
  */
@@ -419,7 +456,7 @@ export declare class Email {
419
456
  expectedGeneration: number;
420
457
  }, options?: Options<never, ThrowOnError>): RequestResult<EmailReapplyOnboardingReviewResponses, EmailReapplyOnboardingReviewErrors, ThrowOnError>;
421
458
  /**
422
- * Respond to an email onboarding information request
459
+ * Respond to an email review information request
423
460
  *
424
461
  * Allows organization owners and admins to submit a text response and up to three evidence uploads for the current information request.
425
462
  */
@@ -1591,7 +1628,7 @@ export declare class Events {
1591
1628
  /**
1592
1629
  * Record a contact event
1593
1630
  *
1594
- * Records a custom contact event. Identify the contact by exactly one ID, external ID, or email. A missing email or external ID creates a contact; an unknown contact ID returns 404. An organization-scoped idempotency key replays the original event. Event names use letters, digits, underscores, hyphens, and dots, up to 255 characters; contact. and samva. prefixes are reserved. Properties allow at most 50 keys and 32 KiB of UTF-8 JSON. Events are retained for 90 days.
1631
+ * Records a custom contact event. Identify the contact by exactly one ID, external ID, email, or E.164 phone number. An unmatched external ID, email, or phone number creates a contact; an unknown contact ID returns 404. An idempotency key replays the original event in the credential’s scope. Event names use letters, digits, underscores, hyphens, and dots, up to 255 characters; contact. and samva. prefixes are reserved. Properties allow at most 50 keys and 32 KiB of UTF-8 JSON. Events are retained for 90 days.
1595
1632
  */
1596
1633
  static create<ThrowOnError extends boolean = false>(parameters: {
1597
1634
  contact: ContactEventReference;
@@ -1630,9 +1667,10 @@ export declare class Journeys {
1630
1667
  /**
1631
1668
  * List journeys
1632
1669
  *
1633
- * Returns the organization's journeys, newest first, optionally filtered by status. Pass nextCursor back as cursor for the next page.
1670
+ * Returns the journeys the caller can access, newest first. Filter by namespaceId or status. Pass nextCursor back as cursor for the next page.
1634
1671
  */
1635
1672
  static list<ThrowOnError extends boolean = false>(parameters?: {
1673
+ namespaceId?: NamespaceId | undefined;
1636
1674
  status?: JourneyStatus | undefined;
1637
1675
  limit?: number | null | undefined;
1638
1676
  cursor?: string | undefined;
@@ -1640,10 +1678,11 @@ export declare class Journeys {
1640
1678
  /**
1641
1679
  * Create a journey
1642
1680
  *
1643
- * Creates a draft journey from a definition: a trigger, a root node, and a graph of at most 200 nodes that is acyclic and fully reachable. Templates, senders, and groups the definition names must belong to the organization. Requires a plan that includes journeys.
1681
+ * Creates a draft journey from a definition: a trigger, a root node, and a graph of at most 200 nodes that is acyclic and fully reachable. A namespace key creates in its own namespace. An organization key can pass namespaceId to place the journey in a namespace. The journey can use resources available in its scope. Requires a plan that includes journeys.
1644
1682
  */
1645
1683
  static create<ThrowOnError extends boolean = false>(parameters: {
1646
1684
  name: JourneyName;
1685
+ namespaceId?: NamespaceId | undefined;
1647
1686
  definition: JourneyDefinitionWritable;
1648
1687
  }, options?: Options<never, ThrowOnError>): RequestResult<JourneysCreateResponses, JourneysCreateErrors, ThrowOnError>;
1649
1688
  /**
@@ -1781,7 +1820,7 @@ export declare class Agents {
1781
1820
  /**
1782
1821
  * Create an agent
1783
1822
  *
1784
- * 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.
1823
+ * 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.
1785
1824
  */
1786
1825
  static create<ThrowOnError extends boolean = false>(parameters: {
1787
1826
  name: AgentName;
@@ -1824,7 +1863,7 @@ export declare class Agents {
1824
1863
  /**
1825
1864
  * Replace an agent draft
1826
1865
  *
1827
- * 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.
1866
+ * 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.
1828
1867
  */
1829
1868
  static replaceDraft<ThrowOnError extends boolean = false>(parameters: {
1830
1869
  id: AgentId;
@@ -1834,7 +1873,7 @@ export declare class Agents {
1834
1873
  /**
1835
1874
  * Publish an agent
1836
1875
  *
1837
- * 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.
1876
+ * 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.
1838
1877
  */
1839
1878
  static publish<ThrowOnError extends boolean = false>(parameters: {
1840
1879
  id: AgentId;
@@ -1853,7 +1892,7 @@ export declare class Agents {
1853
1892
  /**
1854
1893
  * Publish an agent module
1855
1894
  *
1856
- * 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.
1895
+ * 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.
1857
1896
  */
1858
1897
  static publishVersion<ThrowOnError extends boolean = false>(parameters: {
1859
1898
  id: AgentId;
@@ -2108,7 +2147,7 @@ export declare class IntegrationCatalog {
2108
2147
  /**
2109
2148
  * Read Shopify post-delivery check-in readiness
2110
2149
  *
2111
- * 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.
2150
+ * 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.
2112
2151
  */
2113
2152
  static recipeReadiness<ThrowOnError extends boolean = false>(parameters: {
2114
2153
  channel: "email" | "whatsapp";
@@ -2131,14 +2170,14 @@ export declare class IntegrationCatalog {
2131
2170
  /**
2132
2171
  * Search the integrations catalog
2133
2172
  *
2134
- * 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.
2173
+ * 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.
2135
2174
  */
2136
2175
  static search<ThrowOnError extends boolean = false>(parameters?: {
2137
2176
  key?: IntegrationKey | undefined;
2138
2177
  query?: string | undefined;
2139
2178
  category?: "commerce" | "payments" | "shipping" | "calendar" | "crm" | "helpdesk" | "knowledge" | "forms" | "accounting" | "reviews" | "productivity" | "dns" | "channel" | "other" | undefined;
2140
- offset?: number | undefined;
2141
- limit?: number | undefined;
2179
+ limit?: number | null | undefined;
2180
+ cursor?: string | undefined;
2142
2181
  }, options?: Options<never, ThrowOnError>): RequestResult<IntegrationCatalogSearchResponses, IntegrationCatalogSearchErrors, ThrowOnError>;
2143
2182
  /**
2144
2183
  * List the integrations catalog
@@ -2154,7 +2193,7 @@ export declare class Integrations {
2154
2193
  /**
2155
2194
  * List integrations
2156
2195
  *
2157
- * 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.
2196
+ * 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.
2158
2197
  */
2159
2198
  static list<ThrowOnError extends boolean = false>(parameters?: {
2160
2199
  limit?: number | null | undefined;
@@ -2173,17 +2212,17 @@ export declare class Integrations {
2173
2212
  /**
2174
2213
  * List integration tools
2175
2214
  *
2176
- * 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.
2215
+ * 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.
2177
2216
  */
2178
2217
  static listTools<ThrowOnError extends boolean = false>(parameters: {
2179
2218
  integrationId: IntegrationId;
2180
- offset?: number | null | undefined;
2181
- revision?: string | undefined;
2219
+ limit?: number | null | undefined;
2220
+ cursor?: string | undefined;
2182
2221
  }, options?: Options<never, ThrowOnError>): RequestResult<IntegrationsListToolsResponses, IntegrationsListToolsErrors, ThrowOnError>;
2183
2222
  /**
2184
2223
  * Read an integration tool descriptor
2185
2224
  *
2186
- * Returns one tool's full descriptor. A revision that no longer matches the integration's tools returns 409.
2225
+ * 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.
2187
2226
  */
2188
2227
  static readTool<ThrowOnError extends boolean = false>(parameters: {
2189
2228
  integrationId: IntegrationId;
@@ -2210,7 +2249,7 @@ export declare class Integrations {
2210
2249
  /**
2211
2250
  * Update an integration
2212
2251
  *
2213
- * 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.
2252
+ * 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.
2214
2253
  */
2215
2254
  static update<ThrowOnError extends boolean = false>(parameters: {
2216
2255
  integrationId: IntegrationId;
@@ -3569,9 +3608,9 @@ export declare class Organizations {
3569
3608
  namespaceId?: NamespaceId | undefined;
3570
3609
  }, options?: Options<never, ThrowOnError>): RequestResult<OrganizationsGetPersonalMailboxAddressOptionsResponses, OrganizationsGetPersonalMailboxAddressOptionsErrors, ThrowOnError>;
3571
3610
  /**
3572
- * Get organization trust tier and sending limits
3611
+ * Get the organization's sending limits
3573
3612
  *
3574
- * 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.
3613
+ * 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.
3575
3614
  */
3576
3615
  static getTrustTier<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<OrganizationsGetTrustTierResponses, OrganizationsGetTrustTierErrors, ThrowOnError>;
3577
3616
  /**
@@ -3989,7 +4028,7 @@ export declare class Mailboxes {
3989
4028
  /**
3990
4029
  * List mailbox decisions awaiting you
3991
4030
  *
3992
- * 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.
4031
+ * 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.
3993
4032
  */
3994
4033
  static getNeedsYou<ThrowOnError extends boolean = false>(parameters?: {
3995
4034
  limit?: number | null | undefined;
@@ -4010,7 +4049,7 @@ export declare class Mailboxes {
4010
4049
  /**
4011
4050
  * List threads across your mailboxes
4012
4051
  *
4013
- * 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.
4052
+ * 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.
4014
4053
  */
4015
4054
  static listOrganizationThreads<ThrowOnError extends boolean = false>(parameters?: {
4016
4055
  limit?: number | null | undefined;
@@ -4027,6 +4066,7 @@ export declare class Mailboxes {
4027
4066
  unread?: boolean | null | undefined;
4028
4067
  starred?: boolean | null | undefined;
4029
4068
  snoozed?: boolean | null | undefined;
4069
+ order?: "wake" | undefined;
4030
4070
  mailboxId?: MailboxId | Array<MailboxId> | undefined;
4031
4071
  kind?: "personal" | "shared" | undefined;
4032
4072
  conversation?: ConversationId | undefined;
@@ -4034,7 +4074,7 @@ export declare class Mailboxes {
4034
4074
  /**
4035
4075
  * List threads in a mailbox
4036
4076
  *
4037
- * 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. 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`.
4077
+ * 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`.
4038
4078
  */
4039
4079
  static listThreads<ThrowOnError extends boolean = false>(parameters: {
4040
4080
  id: MailboxId;
@@ -4052,6 +4092,7 @@ export declare class Mailboxes {
4052
4092
  unread?: boolean | null | undefined;
4053
4093
  starred?: boolean | null | undefined;
4054
4094
  snoozed?: boolean | null | undefined;
4095
+ order?: "wake" | undefined;
4055
4096
  }, options?: Options<never, ThrowOnError>): RequestResult<MailboxesListThreadsResponses, MailboxesListThreadsErrors, ThrowOnError>;
4056
4097
  /**
4057
4098
  * Permanently delete a mailbox thread
@@ -4769,11 +4810,11 @@ export declare class Whatsapp {
4769
4810
  /**
4770
4811
  * List WhatsApp business accounts
4771
4812
  *
4772
- * Returns a paginated list of the organization's connected WhatsApp business accounts.
4813
+ * Lists connected WhatsApp business accounts, newest first. Pass nextCursor back as cursor to continue.
4773
4814
  */
4774
4815
  static listBusinessAccounts<ThrowOnError extends boolean = false>(parameters?: {
4775
- page?: number | null | undefined;
4776
4816
  limit?: number | null | undefined;
4817
+ cursor?: string | undefined;
4777
4818
  isActive?: boolean | null | undefined;
4778
4819
  verificationStatus?: "pending" | "verified" | "failed" | "suspended" | undefined;
4779
4820
  namespaceId?: NamespaceId | undefined;
@@ -4839,18 +4880,19 @@ export declare class WhatsappFlows {
4839
4880
  /**
4840
4881
  * List flows
4841
4882
  *
4842
- * Returns the organization's flows, newest first, each with its current version.
4883
+ * Returns flows visible to the caller, newest first, each with its current version.
4843
4884
  */
4844
4885
  static list<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<WhatsappFlowsListResponses, WhatsappFlowsListErrors, ThrowOnError>;
4845
4886
  /**
4846
4887
  * Create a flow
4847
4888
  *
4848
- * Creates a WhatsApp flow whose versions read `flows/<handle>.json` in the template project. The handle is unique in the organization; the categories are Meta's and go with every version to Meta.
4889
+ * Creates a WhatsApp flow whose versions read `flows/<handle>.json` in the template project. The handle is unique in its namespace or at organization level; the categories are Meta's and go with every version to Meta.
4849
4890
  */
4850
4891
  static create<ThrowOnError extends boolean = false>(parameters: {
4851
4892
  projectId: TemplateProjectId;
4852
4893
  handle: string;
4853
4894
  categories: Array<"SIGN_UP" | "SIGN_IN" | "APPOINTMENT_BOOKING" | "LEAD_GENERATION" | "CONTACT_US" | "CUSTOMER_SUPPORT" | "SURVEY" | "OTHER">;
4895
+ submissionHandler?: "agent" | "app" | undefined;
4854
4896
  }, options?: Options<never, ThrowOnError>): RequestResult<WhatsappFlowsCreateResponses, WhatsappFlowsCreateErrors, ThrowOnError>;
4855
4897
  /**
4856
4898
  * Get a flow
@@ -4871,12 +4913,16 @@ export declare class WhatsappFlows {
4871
4913
  /**
4872
4914
  * Record a flow version
4873
4915
  *
4874
- * Reads the flow's file at a commit on the project's default branch, checks it is Flow JSON Samva sends, and records it as the flow's current version. The same content returns the version that already recorded it.
4916
+ * Supply Flow JSON to commit the flow's file and record its version, or name a commit and workspace revision to record a file already on the project's default branch. The same content returns the version that already recorded it.
4875
4917
  */
4876
4918
  static recordVersion<ThrowOnError extends boolean = false>(parameters: {
4877
4919
  id: WhatsAppFlowId;
4878
- commitSha: string;
4879
- expectedWorkspaceRevision: string;
4920
+ body: {
4921
+ commitSha: string;
4922
+ expectedWorkspaceRevision: string;
4923
+ } | {
4924
+ flowJson: JsonObjectWritable;
4925
+ };
4880
4926
  }, options?: Options<never, ThrowOnError>): RequestResult<WhatsappFlowsRecordVersionResponses, WhatsappFlowsRecordVersionErrors, ThrowOnError>;
4881
4927
  /**
4882
4928
  * List a flow's registrations