samva 0.41.0 → 0.43.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.
- package/dist/client/sdk.gen.d.ts +56 -9
- package/dist/client/sdk.gen.js +185 -9
- package/dist/client/types.gen.d.ts +316 -5
- package/dist/effect/email.d.ts +8 -0
- package/dist/effect/generated/api-keys.js +5 -5
- package/dist/effect/generated/email.d.ts +198 -4
- package/dist/effect/generated/email.js +32 -8
- package/dist/effect/generated/mailboxes.d.ts +46 -0
- package/dist/effect/generated/mailboxes.js +4 -2
- package/dist/effect/generated/namespaces.d.ts +536 -1
- package/dist/effect/generated/namespaces.js +112 -3
- package/dist/effect/generated/organizations.d.ts +251 -2
- package/dist/effect/generated/organizations.js +58 -3
- package/dist/effect/generated/shared.d.ts +16 -0
- package/dist/effect/generated/shared.js +9 -1
- package/dist/effect/generated-metadata.d.ts +24 -0
- package/dist/effect/generated-metadata.js +4 -0
- package/dist/effect/mailboxes.d.ts +6 -0
- package/dist/effect/namespaces.d.ts +55 -0
- package/dist/effect/namespaces.js +7 -1
- package/dist/effect/organizations.d.ts +9 -1
- package/dist/effect/organizations.js +3 -1
- package/dist/package.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +21 -2
- package/dist/service-map.js +9 -2
- package/package.json +2 -2
package/dist/client/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Client, type ClientMeta, type Options as Options2, type RequestResult, type TDataShape } from "./client";
|
|
2
|
-
import type { AgentDefinition, AgentId, AgentName, AgentsContinueOnStandardErrors, AgentsContinueOnStandardResponses, AgentsCreateErrors, AgentsCreateResponses, AgentSetupJob, AgentsGetErrors, AgentsGetResponses, AgentsGetVersionErrors, AgentsGetVersionResponses, AgentsListErrors, AgentsListModelsErrors, AgentsListModelsResponses, AgentsListResponses, AgentsListVersionsErrors, AgentsListVersionsResponses, AgentsPublishErrors, AgentsPublishResponses, AgentsRemoveErrors, AgentsRemoveResponses, AgentsReplaceDraftErrors, AgentsReplaceDraftResponses, AgentsRerunTestsErrors, AgentsRerunTestsResponses, AgentsUpdateErrors, AgentsUpdateResponses, AnalyticsExportDataErrors, AnalyticsExportDataResponses, AnalyticsGetChannelStatsErrors, AnalyticsGetChannelStatsResponses, AnalyticsGetDeliveryMetricsErrors, AnalyticsGetDeliveryMetricsResponses, AnalyticsGetHourlyDistributionErrors, AnalyticsGetHourlyDistributionResponses, AnalyticsGetStatsErrors, AnalyticsGetStatsResponses, AnalyticsGetTopContactsErrors, AnalyticsGetTopContactsResponses, ApiKeyAccess, ApiKeyId, ApiKeysCreateErrors, ApiKeysCreateResponses, ApiKeysGetActivityErrors, ApiKeysGetActivityResponses, ApiKeysGetErrors, ApiKeysGetResponses, ApiKeysGetStatsErrors, ApiKeysGetStatsResponses, ApiKeysListErrors, ApiKeysListResponses, ApiKeysRevokeErrors, ApiKeysRevokeResponses, ApiKeysRotateErrors, ApiKeysRotateResponses, ApiKeysUpdateErrors, ApiKeysUpdateResponses, 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, 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, ExtensionInstallationId, ExtensionInstallationsDisableErrors, ExtensionInstallationsDisableResponses, ExtensionInstallationsEnableErrors, ExtensionInstallationsEnableResponses, ExtensionInstallationsGetErrors, ExtensionInstallationsGetResponses, ExtensionInstallationsGetRunErrors, ExtensionInstallationsGetRunResponses, ExtensionInstallationsInstallErrors, ExtensionInstallationsInstallResponses, ExtensionInstallationsListErrors, ExtensionInstallationsListResponses, ExtensionInstallationsListRunsErrors, ExtensionInstallationsListRunsResponses, ExtensionInstallationsUninstallErrors, ExtensionInstallationsUninstallResponses, ExtensionInstallationsUpgradeErrors, ExtensionInstallationsUpgradeResponses, ExtensionsGetErrors, ExtensionsGetResponses, ExtensionsGetVersionErrors, ExtensionsGetVersionResponses, ExtensionsListErrors, ExtensionsListResponses, ExtensionsListVersionsErrors, ExtensionsListVersionsResponses, ExtensionsPublishErrors, ExtensionsPublishResponses, ExtensionVersionId, FeedbackContext, FeedbackSendErrors, FeedbackSendResponses, ForwardingConditions, IanaTimezone, JourneyDefinitionWritable, JourneyId, JourneyName, JourneyRunId, JourneyRunStatus, JourneysArchiveErrors, JourneysArchiveResponses, JourneysCreateErrors, JourneysCreateResponses, JourneysGetErrors, JourneysGetResponses, JourneysGetRunErrors, JourneysGetRunResponses, JourneysGetVersionErrors, JourneysGetVersionResponses, JourneysListErrors, JourneysListResponses, JourneysListRunsErrors, JourneysListRunsResponses, JourneysPauseErrors, JourneysPauseResponses, JourneysPublishErrors, JourneysPublishResponses, JourneysRemoveErrors, JourneysRemoveResponses, JourneysReplaceDraftErrors, JourneysReplaceDraftResponses, JourneysResumeErrors, JourneysResumeResponses, JourneysStatsErrors, JourneysStatsResponses, JourneyStatus, JourneysUpdateErrors, JourneysUpdateResponses, JsonObjectWritable, JsonValueWritable, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxesAddThreadLabelsErrors, MailboxesAddThreadLabelsResponses, MailboxesApproveActionErrors, MailboxesApproveActionResponses, MailboxesCancelActionErrors, MailboxesCancelActionResponses, MailboxesCopyMessageAttachmentErrors, MailboxesCopyMessageAttachmentResponses, MailboxesCreateDraftErrors, MailboxesCreateDraftResponses, MailboxesCreateEndpointErrors, MailboxesCreateEndpointResponses, MailboxesCreateErrors, MailboxesCreateGrantErrors, MailboxesCreateGrantResponses, MailboxesCreateLabelErrors, MailboxesCreateLabelResponses, MailboxesCreateNoteErrors, MailboxesCreateNoteResponses, MailboxesCreateResponses, MailboxesDeleteDraftErrors, MailboxesDeleteDraftResponses, MailboxesDeleteLabelErrors, MailboxesDeleteLabelResponses, MailboxesDeleteNoteErrors, MailboxesDeleteNoteResponses, MailboxesDenyActionErrors, MailboxesDenyActionResponses, MailboxesDiscardMessageErrors, MailboxesDiscardMessageResponses, MailboxesForwardErrors, MailboxesForwardResponses, MailboxesGetActionErrors, MailboxesGetActionResponses, MailboxesGetAgentActivityErrors, MailboxesGetAgentActivityResponses, MailboxesGetDraftErrors, MailboxesGetDraftResponses, MailboxesGetErrors, MailboxesGetMessageAttachmentErrors, MailboxesGetMessageAttachmentResponses, MailboxesGetMessageErrors, MailboxesGetMessageRawErrors, MailboxesGetMessageRawResponses, MailboxesGetMessageResponses, MailboxesGetNeedsYouErrors, MailboxesGetNeedsYouResponses, MailboxesGetResponses, MailboxesGetThreadContentErrors, MailboxesGetThreadContentResponses, MailboxesGetThreadErrors, MailboxesGetThreadResponses, MailboxesListActionsErrors, MailboxesListActionsResponses, MailboxesListDraftsErrors, MailboxesListDraftsResponses, MailboxesListErrors, MailboxesListEventsErrors, MailboxesListEventsResponses, MailboxesListFoldersErrors, MailboxesListFoldersResponses, MailboxesListGrantsErrors, MailboxesListGrantsResponses, MailboxesListLabelsErrors, MailboxesListLabelsResponses, MailboxesListOrganizationDraftsErrors, MailboxesListOrganizationDraftsResponses, MailboxesListOrganizationThreadsErrors, MailboxesListOrganizationThreadsResponses, MailboxesListQuarantineErrors, MailboxesListQuarantineResponses, MailboxesListResponses, MailboxesListThreadMessagesErrors, MailboxesListThreadMessagesResponses, MailboxesListThreadNotesErrors, MailboxesListThreadNotesResponses, MailboxesListThreadsErrors, MailboxesListThreadsResponses, MailboxesPauseErrors, MailboxesPauseResponses, MailboxesReleaseMessageErrors, MailboxesReleaseMessageResponses, MailboxesRemoveEndpointErrors, MailboxesRemoveEndpointResponses, MailboxesRemoveErrors, MailboxesRemoveResponses, MailboxesRemoveThreadLabelsErrors, MailboxesRemoveThreadLabelsResponses, MailboxesReplyAllErrors, MailboxesReplyAllResponses, MailboxesReplyErrors, MailboxesReplyResponses, MailboxesResumeErrors, MailboxesResumeResponses, MailboxesRetryActionErrors, MailboxesRetryActionResponses, MailboxesRevokeGrantErrors, MailboxesRevokeGrantResponses, MailboxesSendDraftErrors, MailboxesSendDraftResponses, MailboxesSendMessageErrors, MailboxesSendMessageResponses, MailboxesUpdateDraftErrors, MailboxesUpdateDraftResponses, MailboxesUpdateEndpointErrors, MailboxesUpdateEndpointResponses, MailboxesUpdateErrors, MailboxesUpdateGrantErrors, MailboxesUpdateGrantResponses, MailboxesUpdateLabelErrors, MailboxesUpdateLabelResponses, MailboxesUpdateNoteErrors, MailboxesUpdateNoteResponses, MailboxesUpdateResponses, MailboxesUpdateThreadErrors, MailboxesUpdateThreadResponses, MailboxGrantId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadataPatch, MailboxMetadataWritable, MailboxNoteId, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MediaCompleteErrors, MediaCompleteResponses, MediaCreateErrors, MediaCreateResponses, MediaDownloadUrlErrors, MediaDownloadUrlResponses, MediaGetByIdErrors, MediaGetByIdResponses, MediaId, MediaRemoveErrors, MediaRemoveResponses, 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, NamespaceResourceType, NamespacesAssignResourceErrors, NamespacesAssignResourceResponses, NamespacesCreateErrors, NamespacesCreateResponses, NamespacesGetErrors, NamespacesGetResponses, NamespacesGetUsageErrors, NamespacesGetUsageResponses, NamespacesListErrors, NamespacesListResponses, NamespacesRemoveErrors, NamespacesRemoveResourceErrors, NamespacesRemoveResourceResponses, NamespacesRemoveResponses, 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, OrganizationsListPersonalMailboxAssignmentsErrors, OrganizationsListPersonalMailboxAssignmentsResponses, OrganizationsUpdateErrors, OrganizationsUpdateResponses, PhoneRegion, PoliciesDeletePolicyErrors, PoliciesDeletePolicyResponses, PoliciesGetPolicyErrors, PoliciesGetPolicyResponses, PoliciesSetPolicyErrors, PoliciesSetPolicyResponses, PolicyConfiguration, PolicyReviewRound, PolicyRule, PolicyVersion, RenderLocale, RenderTimeZone, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ScheduledMessageId, ScheduledMessagesCancelErrors, ScheduledMessagesCancelResponses, ScheduledMessagesCreateErrors, ScheduledMessagesCreateResponses, ScheduledMessagesGetErrors, ScheduledMessagesGetResponses, ScheduledMessagesListErrors, ScheduledMessagesListResponses, ScheduledMessagesResumeErrors, ScheduledMessagesResumeResponses, SendMailboxChatPayload, SendMailboxEmailPayload, SmsSendMessagePayload, SubscriptionsSubscribeErrors, SubscriptionsSubscribeResponses, SuppressionId, TemplateFamilyId, TemplateFromDefaultInput, TemplateId, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplatesAddEntryErrors, TemplatesAddEntryResponses, TemplatesAttachFamilyMemberErrors, TemplatesAttachFamilyMemberResponses, TemplatesAttachWorkspaceResourceErrors, TemplatesAttachWorkspaceResourceResponses, TemplatesCheckWorkspaceErrors, TemplatesCheckWorkspaceResponses, TemplatesCreateErrors, TemplatesCreateFamilyErrors, TemplatesCreateFamilyFromTemplateErrors, TemplatesCreateFamilyFromTemplateResponses, TemplatesCreateFamilyResponses, TemplatesCreateFromWebsiteErrors, TemplatesCreateFromWebsiteResponses, TemplatesCreateResponses, TemplatesDeleteErrors, TemplatesDeleteFamilyErrors, TemplatesDeleteFamilyResponses, TemplatesDeleteProjectErrors, TemplatesDeleteProjectResponses, TemplatesDeleteResponses, TemplatesDetachFamilyMemberErrors, TemplatesDetachFamilyMemberResponses, TemplatesDiffWorkspaceErrors, TemplatesDiffWorkspaceResponses, TemplatesGetByIdErrors, TemplatesGetByIdResponses, TemplatesGetFamilyErrors, TemplatesGetFamilyResponses, TemplatesGetGitRepositoryErrors, TemplatesGetGitRepositoryResponses, TemplatesGetInputContractErrors, TemplatesGetInputContractResponses, TemplatesGetPublicationErrors, TemplatesGetPublicationResponses, 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, 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, WhatsAppSendMessagePayload, WhoamiGetErrors, WhoamiGetResponses } from "./types.gen";
|
|
2
|
+
import type { AgentDefinition, AgentId, AgentName, AgentsContinueOnStandardErrors, AgentsContinueOnStandardResponses, AgentsCreateErrors, AgentsCreateResponses, AgentSetupJob, AgentsGetErrors, AgentsGetResponses, AgentsGetVersionErrors, AgentsGetVersionResponses, AgentsListErrors, AgentsListModelsErrors, AgentsListModelsResponses, AgentsListResponses, AgentsListVersionsErrors, AgentsListVersionsResponses, AgentsPublishErrors, AgentsPublishResponses, AgentsRemoveErrors, AgentsRemoveResponses, AgentsReplaceDraftErrors, AgentsReplaceDraftResponses, AgentsRerunTestsErrors, AgentsRerunTestsResponses, AgentsUpdateErrors, AgentsUpdateResponses, AnalyticsExportDataErrors, AnalyticsExportDataResponses, AnalyticsGetChannelStatsErrors, AnalyticsGetChannelStatsResponses, AnalyticsGetDeliveryMetricsErrors, AnalyticsGetDeliveryMetricsResponses, AnalyticsGetHourlyDistributionErrors, AnalyticsGetHourlyDistributionResponses, AnalyticsGetStatsErrors, AnalyticsGetStatsResponses, AnalyticsGetTopContactsErrors, AnalyticsGetTopContactsResponses, ApiKeyAccess, ApiKeyId, ApiKeysCreateErrors, ApiKeysCreateResponses, ApiKeysGetActivityErrors, ApiKeysGetActivityResponses, ApiKeysGetErrors, ApiKeysGetResponses, ApiKeysGetStatsErrors, ApiKeysGetStatsResponses, ApiKeysListErrors, ApiKeysListResponses, ApiKeysRevokeErrors, ApiKeysRevokeResponses, ApiKeysRotateErrors, ApiKeysRotateResponses, ApiKeysUpdateErrors, ApiKeysUpdateResponses, 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, 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, ExtensionInstallationId, ExtensionInstallationsDisableErrors, ExtensionInstallationsDisableResponses, ExtensionInstallationsEnableErrors, ExtensionInstallationsEnableResponses, ExtensionInstallationsGetErrors, ExtensionInstallationsGetResponses, ExtensionInstallationsGetRunErrors, ExtensionInstallationsGetRunResponses, ExtensionInstallationsInstallErrors, ExtensionInstallationsInstallResponses, ExtensionInstallationsListErrors, ExtensionInstallationsListResponses, ExtensionInstallationsListRunsErrors, ExtensionInstallationsListRunsResponses, ExtensionInstallationsUninstallErrors, ExtensionInstallationsUninstallResponses, ExtensionInstallationsUpgradeErrors, ExtensionInstallationsUpgradeResponses, ExtensionsGetErrors, ExtensionsGetResponses, ExtensionsGetVersionErrors, ExtensionsGetVersionResponses, ExtensionsListErrors, ExtensionsListResponses, ExtensionsListVersionsErrors, ExtensionsListVersionsResponses, ExtensionsPublishErrors, ExtensionsPublishResponses, ExtensionVersionId, FeedbackContext, FeedbackSendErrors, FeedbackSendResponses, ForwardingConditions, IanaTimezone, JourneyDefinitionWritable, JourneyId, JourneyName, JourneyRunId, JourneyRunStatus, JourneysArchiveErrors, JourneysArchiveResponses, JourneysCreateErrors, JourneysCreateResponses, JourneysGetErrors, JourneysGetResponses, JourneysGetRunErrors, JourneysGetRunResponses, JourneysGetVersionErrors, JourneysGetVersionResponses, JourneysListErrors, JourneysListResponses, JourneysListRunsErrors, JourneysListRunsResponses, JourneysPauseErrors, JourneysPauseResponses, JourneysPublishErrors, JourneysPublishResponses, JourneysRemoveErrors, JourneysRemoveResponses, JourneysReplaceDraftErrors, JourneysReplaceDraftResponses, JourneysResumeErrors, JourneysResumeResponses, JourneysStatsErrors, JourneysStatsResponses, JourneyStatus, JourneysUpdateErrors, JourneysUpdateResponses, JsonObjectWritable, JsonValueWritable, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxesAddThreadLabelsErrors, MailboxesAddThreadLabelsResponses, MailboxesApproveActionErrors, MailboxesApproveActionResponses, MailboxesCancelActionErrors, MailboxesCancelActionResponses, MailboxesCopyMessageAttachmentErrors, MailboxesCopyMessageAttachmentResponses, MailboxesCreateDraftErrors, MailboxesCreateDraftResponses, MailboxesCreateEndpointErrors, MailboxesCreateEndpointResponses, MailboxesCreateErrors, MailboxesCreateGrantErrors, MailboxesCreateGrantResponses, MailboxesCreateLabelErrors, MailboxesCreateLabelResponses, MailboxesCreateNoteErrors, MailboxesCreateNoteResponses, MailboxesCreateResponses, MailboxesDeleteDraftErrors, MailboxesDeleteDraftResponses, MailboxesDeleteLabelErrors, MailboxesDeleteLabelResponses, MailboxesDeleteNoteErrors, MailboxesDeleteNoteResponses, MailboxesDenyActionErrors, MailboxesDenyActionResponses, MailboxesDiscardMessageErrors, MailboxesDiscardMessageResponses, MailboxesForwardErrors, MailboxesForwardResponses, MailboxesGetActionErrors, MailboxesGetActionResponses, MailboxesGetAgentActivityErrors, MailboxesGetAgentActivityResponses, MailboxesGetDraftErrors, MailboxesGetDraftResponses, MailboxesGetErrors, MailboxesGetMessageAttachmentErrors, MailboxesGetMessageAttachmentResponses, MailboxesGetMessageErrors, MailboxesGetMessageRawErrors, MailboxesGetMessageRawResponses, MailboxesGetMessageResponses, MailboxesGetNeedsYouErrors, MailboxesGetNeedsYouResponses, MailboxesGetResponses, MailboxesGetThreadContentErrors, MailboxesGetThreadContentResponses, MailboxesGetThreadErrors, MailboxesGetThreadResponses, MailboxesListActionsErrors, MailboxesListActionsResponses, MailboxesListDraftsErrors, MailboxesListDraftsResponses, MailboxesListErrors, MailboxesListEventsErrors, MailboxesListEventsResponses, MailboxesListFoldersErrors, MailboxesListFoldersResponses, MailboxesListGrantsErrors, MailboxesListGrantsResponses, MailboxesListLabelsErrors, MailboxesListLabelsResponses, MailboxesListOrganizationDraftsErrors, MailboxesListOrganizationDraftsResponses, MailboxesListOrganizationThreadsErrors, MailboxesListOrganizationThreadsResponses, MailboxesListQuarantineErrors, MailboxesListQuarantineResponses, MailboxesListResponses, MailboxesListThreadMessagesErrors, MailboxesListThreadMessagesResponses, MailboxesListThreadNotesErrors, MailboxesListThreadNotesResponses, MailboxesListThreadsErrors, MailboxesListThreadsResponses, MailboxesPauseErrors, MailboxesPauseResponses, MailboxesReleaseMessageErrors, MailboxesReleaseMessageResponses, MailboxesRemoveEndpointErrors, MailboxesRemoveEndpointResponses, MailboxesRemoveErrors, MailboxesRemoveResponses, MailboxesRemoveThreadLabelsErrors, MailboxesRemoveThreadLabelsResponses, MailboxesReplyAllErrors, MailboxesReplyAllResponses, MailboxesReplyErrors, MailboxesReplyResponses, MailboxesResumeErrors, MailboxesResumeResponses, MailboxesRetryActionErrors, MailboxesRetryActionResponses, MailboxesRevokeGrantErrors, MailboxesRevokeGrantResponses, MailboxesSendDraftErrors, MailboxesSendDraftResponses, MailboxesSendMessageErrors, MailboxesSendMessageResponses, MailboxesUpdateDraftErrors, MailboxesUpdateDraftResponses, MailboxesUpdateEndpointErrors, MailboxesUpdateEndpointResponses, MailboxesUpdateErrors, MailboxesUpdateGrantErrors, MailboxesUpdateGrantResponses, MailboxesUpdateLabelErrors, MailboxesUpdateLabelResponses, MailboxesUpdateNoteErrors, MailboxesUpdateNoteResponses, MailboxesUpdateResponses, MailboxesUpdateThreadErrors, MailboxesUpdateThreadResponses, MailboxGrantId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadataPatch, MailboxMetadataWritable, MailboxNoteId, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MediaCompleteErrors, MediaCompleteResponses, MediaCreateErrors, MediaCreateResponses, MediaDownloadUrlErrors, MediaDownloadUrlResponses, MediaGetByIdErrors, MediaGetByIdResponses, MediaId, MediaRemoveErrors, MediaRemoveResponses, 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, PolicyConfiguration, PolicyReviewRound, PolicyRule, PolicyVersion, RenderLocale, RenderTimeZone, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ScheduledMessageId, ScheduledMessagesCancelErrors, ScheduledMessagesCancelResponses, ScheduledMessagesCreateErrors, ScheduledMessagesCreateResponses, ScheduledMessagesGetErrors, ScheduledMessagesGetResponses, ScheduledMessagesListErrors, ScheduledMessagesListResponses, ScheduledMessagesResumeErrors, ScheduledMessagesResumeResponses, SendMailboxChatPayload, SendMailboxEmailPayload, SmsSendMessagePayload, SubscriptionsSubscribeErrors, SubscriptionsSubscribeResponses, SuppressionId, TemplateFamilyId, TemplateFromDefaultInput, TemplateId, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplatesAddEntryErrors, TemplatesAddEntryResponses, TemplatesAttachFamilyMemberErrors, TemplatesAttachFamilyMemberResponses, TemplatesAttachWorkspaceResourceErrors, TemplatesAttachWorkspaceResourceResponses, TemplatesCheckWorkspaceErrors, TemplatesCheckWorkspaceResponses, TemplatesCreateErrors, TemplatesCreateFamilyErrors, TemplatesCreateFamilyFromTemplateErrors, TemplatesCreateFamilyFromTemplateResponses, TemplatesCreateFamilyResponses, TemplatesCreateFromWebsiteErrors, TemplatesCreateFromWebsiteResponses, TemplatesCreateResponses, TemplatesDeleteErrors, TemplatesDeleteFamilyErrors, TemplatesDeleteFamilyResponses, TemplatesDeleteProjectErrors, TemplatesDeleteProjectResponses, TemplatesDeleteResponses, TemplatesDetachFamilyMemberErrors, TemplatesDetachFamilyMemberResponses, TemplatesDiffWorkspaceErrors, TemplatesDiffWorkspaceResponses, TemplatesGetByIdErrors, TemplatesGetByIdResponses, TemplatesGetFamilyErrors, TemplatesGetFamilyResponses, TemplatesGetGitRepositoryErrors, TemplatesGetGitRepositoryResponses, TemplatesGetInputContractErrors, TemplatesGetInputContractResponses, TemplatesGetPublicationErrors, TemplatesGetPublicationResponses, 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, 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, WhatsAppSendMessagePayload, WhatsAppSetupLinkRedirectUrl, WhoamiGetErrors, WhoamiGetResponses } from "./types.gen";
|
|
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
|
|
@@ -421,13 +421,14 @@ export declare class Email {
|
|
|
421
421
|
/**
|
|
422
422
|
* List sending domains
|
|
423
423
|
*
|
|
424
|
-
* Returns the organization's sending domains, newest first. A namespace-scoped
|
|
424
|
+
* Returns the organization's sending domains, newest first. A namespace-scoped caller lists its namespace's domains and shared organization domains; an organization-wide caller lists every domain, or one namespace's with `namespaceId`. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page. `sendable=true` lists only domains a send can use now: active, and verified, or verified before and degraded since. Each row carries `deliverability` (bounce and complaint rates over the last 24 hours, the window the 5% bounce limit is enforced over) and `series`, the last 14 days of daily email sends attributed to the domain, oldest first.
|
|
425
425
|
*/
|
|
426
426
|
static listDomains<ThrowOnError extends boolean = false>(parameters?: {
|
|
427
427
|
limit?: number | null | undefined;
|
|
428
428
|
cursor?: string | undefined;
|
|
429
429
|
sendable?: true | null | undefined;
|
|
430
430
|
namespaceId?: NamespaceId | undefined;
|
|
431
|
+
shared?: boolean | null | undefined;
|
|
431
432
|
}, options?: Options<never, ThrowOnError>): RequestResult<EmailListDomainsResponses, EmailListDomainsErrors, ThrowOnError>;
|
|
432
433
|
/**
|
|
433
434
|
* Add a sending domain
|
|
@@ -441,6 +442,7 @@ export declare class Email {
|
|
|
441
442
|
zone: string;
|
|
442
443
|
} | null | undefined;
|
|
443
444
|
namespaceId?: NamespaceId | null | undefined;
|
|
445
|
+
shared?: boolean | null | undefined;
|
|
444
446
|
}, options?: Options<never, ThrowOnError>): RequestResult<EmailAddDomainResponses, EmailAddDomainErrors, ThrowOnError>;
|
|
445
447
|
/**
|
|
446
448
|
* Get domain verification
|
|
@@ -555,6 +557,7 @@ export declare class Email {
|
|
|
555
557
|
*/
|
|
556
558
|
static updateDomainConfig<ThrowOnError extends boolean = false>(parameters: {
|
|
557
559
|
id: EmailDomainId;
|
|
560
|
+
shared?: boolean | null | undefined;
|
|
558
561
|
openTracking?: boolean | null | undefined;
|
|
559
562
|
clickTracking?: boolean | null | undefined;
|
|
560
563
|
replyTo?: Array<string> | null | undefined;
|
|
@@ -626,7 +629,7 @@ export declare class Email {
|
|
|
626
629
|
/**
|
|
627
630
|
* List senders
|
|
628
631
|
*
|
|
629
|
-
* Returns senders, newest first. A namespace-scoped
|
|
632
|
+
* Returns senders, newest first. A namespace-scoped caller lists its namespace's senders and senders on shared organization domains; an organization-wide caller lists every sender, or one namespace's with `namespaceId`. Optionally filtered by verification status, active state, or default flag. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page. Each row carries `deliverability` (bounce and complaint rates over the last 24 hours) and `series`, the last 14 days of daily email sends from the address, oldest first.
|
|
630
633
|
*/
|
|
631
634
|
static listSenders<ThrowOnError extends boolean = false>(parameters?: {
|
|
632
635
|
limit?: number | null | undefined;
|
|
@@ -675,10 +678,11 @@ export declare class Email {
|
|
|
675
678
|
/**
|
|
676
679
|
* Set the default sender
|
|
677
680
|
*
|
|
678
|
-
*
|
|
681
|
+
* Sets a verified, active sender as the default for the caller's namespace, the explicit namespaceId, or the sender's own scope. A namespace can select its own sender or a sender on a shared organization domain. This changes only the namespace's default; it does not change a shared sender. Omitted-`from` sends use this default when neither the request nor the template names a `from`.
|
|
679
682
|
*/
|
|
680
683
|
static setDefaultSender<ThrowOnError extends boolean = false>(parameters: {
|
|
681
684
|
id: EmailSenderId;
|
|
685
|
+
namespaceId?: NamespaceId | null | undefined;
|
|
682
686
|
}, options?: Options<never, ThrowOnError>): RequestResult<EmailSetDefaultSenderResponses, EmailSetDefaultSenderErrors, ThrowOnError>;
|
|
683
687
|
/**
|
|
684
688
|
* Get email statistics
|
|
@@ -2996,6 +3000,17 @@ export declare class Webhooks2 {
|
|
|
2996
3000
|
static webhooks: typeof Webhooks;
|
|
2997
3001
|
}
|
|
2998
3002
|
export declare class Organizations {
|
|
3003
|
+
/**
|
|
3004
|
+
* Invite an organization member
|
|
3005
|
+
*
|
|
3006
|
+
* Invites a member with a personal mailbox address. A namespace confines the member and their credentials to its resources and requires a verified receiving domain in that namespace.
|
|
3007
|
+
*/
|
|
3008
|
+
static inviteMember<ThrowOnError extends boolean = false>(parameters: {
|
|
3009
|
+
email: string;
|
|
3010
|
+
role: "member" | "admin" | "mail_user";
|
|
3011
|
+
mailboxAddress: string;
|
|
3012
|
+
namespaceId?: NamespaceId | null | undefined;
|
|
3013
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<OrganizationsInviteMemberResponses, OrganizationsInviteMemberErrors, ThrowOnError>;
|
|
2999
3014
|
/**
|
|
3000
3015
|
* Create an organization
|
|
3001
3016
|
*
|
|
@@ -3054,7 +3069,9 @@ export declare class Organizations {
|
|
|
3054
3069
|
*
|
|
3055
3070
|
* Returns this organization's verified active receiving domains and a default domain. When none are available, returns the organization's hosted mail domain. Only organization owners and admins may read these options.
|
|
3056
3071
|
*/
|
|
3057
|
-
static getPersonalMailboxAddressOptions<ThrowOnError extends boolean = false>(
|
|
3072
|
+
static getPersonalMailboxAddressOptions<ThrowOnError extends boolean = false>(parameters?: {
|
|
3073
|
+
namespaceId?: NamespaceId | undefined;
|
|
3074
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<OrganizationsGetPersonalMailboxAddressOptionsResponses, OrganizationsGetPersonalMailboxAddressOptionsErrors, ThrowOnError>;
|
|
3058
3075
|
/**
|
|
3059
3076
|
* Get organization trust tier and sending limits
|
|
3060
3077
|
*
|
|
@@ -3092,7 +3109,7 @@ export declare class ApiKeys {
|
|
|
3092
3109
|
/**
|
|
3093
3110
|
* List API keys
|
|
3094
3111
|
*
|
|
3095
|
-
* Returns the organization's API keys, newest first, filterable by namespace (`namespaceId`), status and a search term matched against name and description. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page.
|
|
3112
|
+
* Returns the organization's API keys, newest first, filterable by namespace (`namespaceId`), status and a search term matched against name and description. Restricted members receive only keys stored in their namespace. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page.
|
|
3096
3113
|
*/
|
|
3097
3114
|
static list<ThrowOnError extends boolean = false>(parameters?: {
|
|
3098
3115
|
limit?: number | null | undefined;
|
|
@@ -3104,7 +3121,7 @@ export declare class ApiKeys {
|
|
|
3104
3121
|
/**
|
|
3105
3122
|
* Create an API key
|
|
3106
3123
|
*
|
|
3107
|
-
* Creates a new API key for the organization and returns the created key, including the plaintext secret, with a 201 response.
|
|
3124
|
+
* Creates a new API key for the organization and returns the created key, including the plaintext secret, with a 201 response. A restricted member can issue keys only in their namespace, capped by its available resources.
|
|
3108
3125
|
*/
|
|
3109
3126
|
static create<ThrowOnError extends boolean = false>(parameters: {
|
|
3110
3127
|
name: string;
|
|
@@ -3115,7 +3132,7 @@ export declare class ApiKeys {
|
|
|
3115
3132
|
/**
|
|
3116
3133
|
* Get an API key
|
|
3117
3134
|
*
|
|
3118
|
-
* Returns the API key with the given ID, including its metadata and access.
|
|
3135
|
+
* Returns the API key with the given ID, including its metadata and access. Restricted members can read only keys stored in their namespace.
|
|
3119
3136
|
*/
|
|
3120
3137
|
static get<ThrowOnError extends boolean = false>(parameters: {
|
|
3121
3138
|
id: ApiKeyId;
|
|
@@ -3133,7 +3150,7 @@ export declare class ApiKeys {
|
|
|
3133
3150
|
/**
|
|
3134
3151
|
* Revoke an API key
|
|
3135
3152
|
*
|
|
3136
|
-
* Deactivates an API key so it can no longer authenticate requests. Revocation is final: a revoked key never authenticates again. Its record stays listable, so the messages it sent stay attributed to it.
|
|
3153
|
+
* Deactivates an API key so it can no longer authenticate requests. Restricted members can revoke only keys stored in their namespace. Revocation is final: a revoked key never authenticates again. Its record stays listable, so the messages it sent stay attributed to it.
|
|
3137
3154
|
*/
|
|
3138
3155
|
static revoke<ThrowOnError extends boolean = false>(parameters: {
|
|
3139
3156
|
id: ApiKeyId;
|
|
@@ -3925,6 +3942,36 @@ export declare class Namespaces {
|
|
|
3925
3942
|
type: NamespaceResourceType;
|
|
3926
3943
|
resourceId: string;
|
|
3927
3944
|
}, options?: Options<never, ThrowOnError>): RequestResult<NamespacesRemoveResourceResponses, NamespacesRemoveResourceErrors, ThrowOnError>;
|
|
3945
|
+
/**
|
|
3946
|
+
* List namespace portal links
|
|
3947
|
+
*
|
|
3948
|
+
* Lists links newest first without their tokens. Only organization-wide callers may list links.
|
|
3949
|
+
*/
|
|
3950
|
+
static listPortalLinks<ThrowOnError extends boolean = false>(parameters: {
|
|
3951
|
+
id: NamespaceId;
|
|
3952
|
+
limit?: number | null | undefined;
|
|
3953
|
+
cursor?: string | undefined;
|
|
3954
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<NamespacesListPortalLinksResponses, NamespacesListPortalLinksErrors, ThrowOnError>;
|
|
3955
|
+
/**
|
|
3956
|
+
* Create a namespace portal link
|
|
3957
|
+
*
|
|
3958
|
+
* Creates a reusable hosted portal link without a Samva account. Only organization-wide callers may mint links. The token appears once in the returned URL fragment; Samva stores only its hash. expiresIn is seconds, defaults to 7 days, and cannot exceed 30 days.
|
|
3959
|
+
*/
|
|
3960
|
+
static createPortalLink<ThrowOnError extends boolean = false>(parameters: {
|
|
3961
|
+
id: NamespaceId;
|
|
3962
|
+
redirectUrl?: WhatsAppSetupLinkRedirectUrl | null | undefined;
|
|
3963
|
+
metadata?: NamespacePortalLinkMetadataWritable | null | undefined;
|
|
3964
|
+
expiresIn?: number | null | undefined;
|
|
3965
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<NamespacesCreatePortalLinkResponses, NamespacesCreatePortalLinkErrors, ThrowOnError>;
|
|
3966
|
+
/**
|
|
3967
|
+
* Revoke a namespace portal link
|
|
3968
|
+
*
|
|
3969
|
+
* Revokes the link and ends sessions using it. Only organization-wide callers may revoke links.
|
|
3970
|
+
*/
|
|
3971
|
+
static revokePortalLink<ThrowOnError extends boolean = false>(parameters: {
|
|
3972
|
+
id: NamespaceId;
|
|
3973
|
+
linkId: NamespacePortalLinkId;
|
|
3974
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<NamespacesRevokePortalLinkResponses, NamespacesRevokePortalLinkErrors, ThrowOnError>;
|
|
3928
3975
|
/**
|
|
3929
3976
|
* Get namespace usage
|
|
3930
3977
|
*
|
package/dist/client/sdk.gen.js
CHANGED
|
@@ -1229,7 +1229,7 @@ var Email = class {
|
|
|
1229
1229
|
/**
|
|
1230
1230
|
* List sending domains
|
|
1231
1231
|
*
|
|
1232
|
-
* Returns the organization's sending domains, newest first. A namespace-scoped
|
|
1232
|
+
* Returns the organization's sending domains, newest first. A namespace-scoped caller lists its namespace's domains and shared organization domains; an organization-wide caller lists every domain, or one namespace's with `namespaceId`. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page. `sendable=true` lists only domains a send can use now: active, and verified, or verified before and degraded since. Each row carries `deliverability` (bounce and complaint rates over the last 24 hours, the window the 5% bounce limit is enforced over) and `series`, the last 14 days of daily email sends attributed to the domain, oldest first.
|
|
1233
1233
|
*/
|
|
1234
1234
|
static listDomains(parameters, options) {
|
|
1235
1235
|
const params = buildClientParams([parameters], [{ args: [
|
|
@@ -1248,6 +1248,10 @@ var Email = class {
|
|
|
1248
1248
|
{
|
|
1249
1249
|
in: "query",
|
|
1250
1250
|
key: "namespaceId"
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
in: "query",
|
|
1254
|
+
key: "shared"
|
|
1251
1255
|
}
|
|
1252
1256
|
] }]);
|
|
1253
1257
|
return requestWithPolicy(options?.client ?? client, "emailListDomains", options, (headers) => (options?.client ?? client).get({
|
|
@@ -1279,6 +1283,10 @@ var Email = class {
|
|
|
1279
1283
|
{
|
|
1280
1284
|
in: "body",
|
|
1281
1285
|
key: "namespaceId"
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
in: "body",
|
|
1289
|
+
key: "shared"
|
|
1282
1290
|
}
|
|
1283
1291
|
] }]);
|
|
1284
1292
|
return requestWithPolicy(options?.client ?? client, "emailAddDomain", options, (headers) => (options?.client ?? client).post({
|
|
@@ -1641,6 +1649,10 @@ var Email = class {
|
|
|
1641
1649
|
in: "path",
|
|
1642
1650
|
key: "id"
|
|
1643
1651
|
},
|
|
1652
|
+
{
|
|
1653
|
+
in: "body",
|
|
1654
|
+
key: "shared"
|
|
1655
|
+
},
|
|
1644
1656
|
{
|
|
1645
1657
|
in: "body",
|
|
1646
1658
|
key: "openTracking"
|
|
@@ -1878,7 +1890,7 @@ var Email = class {
|
|
|
1878
1890
|
/**
|
|
1879
1891
|
* List senders
|
|
1880
1892
|
*
|
|
1881
|
-
* Returns senders, newest first. A namespace-scoped
|
|
1893
|
+
* Returns senders, newest first. A namespace-scoped caller lists its namespace's senders and senders on shared organization domains; an organization-wide caller lists every sender, or one namespace's with `namespaceId`. Optionally filtered by verification status, active state, or default flag. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page. Each row carries `deliverability` (bounce and complaint rates over the last 24 hours) and `series`, the last 14 days of daily email sends from the address, oldest first.
|
|
1882
1894
|
*/
|
|
1883
1895
|
static listSenders(parameters, options) {
|
|
1884
1896
|
const params = buildClientParams([parameters], [{ args: [
|
|
@@ -2032,12 +2044,15 @@ var Email = class {
|
|
|
2032
2044
|
/**
|
|
2033
2045
|
* Set the default sender
|
|
2034
2046
|
*
|
|
2035
|
-
*
|
|
2047
|
+
* Sets a verified, active sender as the default for the caller's namespace, the explicit namespaceId, or the sender's own scope. A namespace can select its own sender or a sender on a shared organization domain. This changes only the namespace's default; it does not change a shared sender. Omitted-`from` sends use this default when neither the request nor the template names a `from`.
|
|
2036
2048
|
*/
|
|
2037
2049
|
static setDefaultSender(parameters, options) {
|
|
2038
2050
|
const params = buildClientParams([parameters], [{ args: [{
|
|
2039
2051
|
in: "path",
|
|
2040
2052
|
key: "id"
|
|
2053
|
+
}, {
|
|
2054
|
+
in: "body",
|
|
2055
|
+
key: "namespaceId"
|
|
2041
2056
|
}] }]);
|
|
2042
2057
|
return requestWithPolicy(options?.client ?? client, "emailSetDefaultSender", options, (headers) => (options?.client ?? client).post({
|
|
2043
2058
|
security: [{
|
|
@@ -2047,7 +2062,16 @@ var Email = class {
|
|
|
2047
2062
|
url: "/v1/email/senders/{id}/default",
|
|
2048
2063
|
...options,
|
|
2049
2064
|
...params,
|
|
2050
|
-
|
|
2065
|
+
body: params.body ?? {},
|
|
2066
|
+
headers: {
|
|
2067
|
+
"Content-Type": "application/json",
|
|
2068
|
+
...options?.headers,
|
|
2069
|
+
...params.headers
|
|
2070
|
+
},
|
|
2071
|
+
headers: {
|
|
2072
|
+
"Content-Type": "application/json",
|
|
2073
|
+
...headers
|
|
2074
|
+
}
|
|
2051
2075
|
}));
|
|
2052
2076
|
}
|
|
2053
2077
|
/**
|
|
@@ -9215,6 +9239,50 @@ var Webhooks = class {
|
|
|
9215
9239
|
}
|
|
9216
9240
|
};
|
|
9217
9241
|
var Organizations = class {
|
|
9242
|
+
/**
|
|
9243
|
+
* Invite an organization member
|
|
9244
|
+
*
|
|
9245
|
+
* Invites a member with a personal mailbox address. A namespace confines the member and their credentials to its resources and requires a verified receiving domain in that namespace.
|
|
9246
|
+
*/
|
|
9247
|
+
static inviteMember(parameters, options) {
|
|
9248
|
+
const params = buildClientParams([parameters], [{ args: [
|
|
9249
|
+
{
|
|
9250
|
+
in: "body",
|
|
9251
|
+
key: "email"
|
|
9252
|
+
},
|
|
9253
|
+
{
|
|
9254
|
+
in: "body",
|
|
9255
|
+
key: "role"
|
|
9256
|
+
},
|
|
9257
|
+
{
|
|
9258
|
+
in: "body",
|
|
9259
|
+
key: "mailboxAddress"
|
|
9260
|
+
},
|
|
9261
|
+
{
|
|
9262
|
+
in: "body",
|
|
9263
|
+
key: "namespaceId"
|
|
9264
|
+
}
|
|
9265
|
+
] }]);
|
|
9266
|
+
return requestWithPolicy(options?.client ?? client, "organizationsInviteMember", options, (headers) => (options?.client ?? client).post({
|
|
9267
|
+
security: [{
|
|
9268
|
+
name: "x-api-key",
|
|
9269
|
+
type: "apiKey"
|
|
9270
|
+
}],
|
|
9271
|
+
url: "/v1/organizations/members/invitations",
|
|
9272
|
+
...options,
|
|
9273
|
+
...params,
|
|
9274
|
+
body: params.body ?? {},
|
|
9275
|
+
headers: {
|
|
9276
|
+
"Content-Type": "application/json",
|
|
9277
|
+
...options?.headers,
|
|
9278
|
+
...params.headers
|
|
9279
|
+
},
|
|
9280
|
+
headers: {
|
|
9281
|
+
"Content-Type": "application/json",
|
|
9282
|
+
...headers
|
|
9283
|
+
}
|
|
9284
|
+
}));
|
|
9285
|
+
}
|
|
9218
9286
|
/**
|
|
9219
9287
|
* Create an organization
|
|
9220
9288
|
*
|
|
@@ -9395,7 +9463,11 @@ var Organizations = class {
|
|
|
9395
9463
|
*
|
|
9396
9464
|
* Returns this organization's verified active receiving domains and a default domain. When none are available, returns the organization's hosted mail domain. Only organization owners and admins may read these options.
|
|
9397
9465
|
*/
|
|
9398
|
-
static getPersonalMailboxAddressOptions(options) {
|
|
9466
|
+
static getPersonalMailboxAddressOptions(parameters, options) {
|
|
9467
|
+
const params = buildClientParams([parameters], [{ args: [{
|
|
9468
|
+
in: "query",
|
|
9469
|
+
key: "namespaceId"
|
|
9470
|
+
}] }]);
|
|
9399
9471
|
return requestWithPolicy(options?.client ?? client, "organizationsGetPersonalMailboxAddressOptions", options, (headers) => (options?.client ?? client).get({
|
|
9400
9472
|
security: [{
|
|
9401
9473
|
name: "x-api-key",
|
|
@@ -9403,6 +9475,7 @@ var Organizations = class {
|
|
|
9403
9475
|
}],
|
|
9404
9476
|
url: "/v1/organizations/personal-mailboxes/address-options",
|
|
9405
9477
|
...options,
|
|
9478
|
+
...params,
|
|
9406
9479
|
headers
|
|
9407
9480
|
}));
|
|
9408
9481
|
}
|
|
@@ -9497,7 +9570,7 @@ var ApiKeys = class {
|
|
|
9497
9570
|
/**
|
|
9498
9571
|
* List API keys
|
|
9499
9572
|
*
|
|
9500
|
-
* Returns the organization's API keys, newest first, filterable by namespace (`namespaceId`), status and a search term matched against name and description. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page.
|
|
9573
|
+
* Returns the organization's API keys, newest first, filterable by namespace (`namespaceId`), status and a search term matched against name and description. Restricted members receive only keys stored in their namespace. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page.
|
|
9501
9574
|
*/
|
|
9502
9575
|
static list(parameters, options) {
|
|
9503
9576
|
const params = buildClientParams([parameters], [{ args: [
|
|
@@ -9536,7 +9609,7 @@ var ApiKeys = class {
|
|
|
9536
9609
|
/**
|
|
9537
9610
|
* Create an API key
|
|
9538
9611
|
*
|
|
9539
|
-
* Creates a new API key for the organization and returns the created key, including the plaintext secret, with a 201 response.
|
|
9612
|
+
* Creates a new API key for the organization and returns the created key, including the plaintext secret, with a 201 response. A restricted member can issue keys only in their namespace, capped by its available resources.
|
|
9540
9613
|
*/
|
|
9541
9614
|
static create(parameters, options) {
|
|
9542
9615
|
const params = buildClientParams([parameters], [{ args: [
|
|
@@ -9580,7 +9653,7 @@ var ApiKeys = class {
|
|
|
9580
9653
|
/**
|
|
9581
9654
|
* Get an API key
|
|
9582
9655
|
*
|
|
9583
|
-
* Returns the API key with the given ID, including its metadata and access.
|
|
9656
|
+
* Returns the API key with the given ID, including its metadata and access. Restricted members can read only keys stored in their namespace.
|
|
9584
9657
|
*/
|
|
9585
9658
|
static get(parameters, options) {
|
|
9586
9659
|
const params = buildClientParams([parameters], [{ args: [{
|
|
@@ -9641,7 +9714,7 @@ var ApiKeys = class {
|
|
|
9641
9714
|
/**
|
|
9642
9715
|
* Revoke an API key
|
|
9643
9716
|
*
|
|
9644
|
-
* Deactivates an API key so it can no longer authenticate requests. Revocation is final: a revoked key never authenticates again. Its record stays listable, so the messages it sent stay attributed to it.
|
|
9717
|
+
* Deactivates an API key so it can no longer authenticate requests. Restricted members can revoke only keys stored in their namespace. Revocation is final: a revoked key never authenticates again. Its record stays listable, so the messages it sent stay attributed to it.
|
|
9645
9718
|
*/
|
|
9646
9719
|
static revoke(parameters, options) {
|
|
9647
9720
|
const params = buildClientParams([parameters], [{ args: [{
|
|
@@ -12197,6 +12270,105 @@ var Namespaces = class {
|
|
|
12197
12270
|
}));
|
|
12198
12271
|
}
|
|
12199
12272
|
/**
|
|
12273
|
+
* List namespace portal links
|
|
12274
|
+
*
|
|
12275
|
+
* Lists links newest first without their tokens. Only organization-wide callers may list links.
|
|
12276
|
+
*/
|
|
12277
|
+
static listPortalLinks(parameters, options) {
|
|
12278
|
+
const params = buildClientParams([parameters], [{ args: [
|
|
12279
|
+
{
|
|
12280
|
+
in: "path",
|
|
12281
|
+
key: "id"
|
|
12282
|
+
},
|
|
12283
|
+
{
|
|
12284
|
+
in: "query",
|
|
12285
|
+
key: "limit"
|
|
12286
|
+
},
|
|
12287
|
+
{
|
|
12288
|
+
in: "query",
|
|
12289
|
+
key: "cursor"
|
|
12290
|
+
}
|
|
12291
|
+
] }]);
|
|
12292
|
+
return requestWithPolicy(options?.client ?? client, "namespacesListPortalLinks", options, (headers) => (options?.client ?? client).get({
|
|
12293
|
+
security: [{
|
|
12294
|
+
name: "x-api-key",
|
|
12295
|
+
type: "apiKey"
|
|
12296
|
+
}],
|
|
12297
|
+
url: "/v1/namespaces/{id}/portal-links",
|
|
12298
|
+
...options,
|
|
12299
|
+
...params,
|
|
12300
|
+
headers
|
|
12301
|
+
}));
|
|
12302
|
+
}
|
|
12303
|
+
/**
|
|
12304
|
+
* Create a namespace portal link
|
|
12305
|
+
*
|
|
12306
|
+
* Creates a reusable hosted portal link without a Samva account. Only organization-wide callers may mint links. The token appears once in the returned URL fragment; Samva stores only its hash. expiresIn is seconds, defaults to 7 days, and cannot exceed 30 days.
|
|
12307
|
+
*/
|
|
12308
|
+
static createPortalLink(parameters, options) {
|
|
12309
|
+
const params = buildClientParams([parameters], [{ args: [
|
|
12310
|
+
{
|
|
12311
|
+
in: "path",
|
|
12312
|
+
key: "id"
|
|
12313
|
+
},
|
|
12314
|
+
{
|
|
12315
|
+
in: "body",
|
|
12316
|
+
key: "redirectUrl"
|
|
12317
|
+
},
|
|
12318
|
+
{
|
|
12319
|
+
in: "body",
|
|
12320
|
+
key: "metadata"
|
|
12321
|
+
},
|
|
12322
|
+
{
|
|
12323
|
+
in: "body",
|
|
12324
|
+
key: "expiresIn"
|
|
12325
|
+
}
|
|
12326
|
+
] }]);
|
|
12327
|
+
return requestWithPolicy(options?.client ?? client, "namespacesCreatePortalLink", options, (headers) => (options?.client ?? client).post({
|
|
12328
|
+
security: [{
|
|
12329
|
+
name: "x-api-key",
|
|
12330
|
+
type: "apiKey"
|
|
12331
|
+
}],
|
|
12332
|
+
url: "/v1/namespaces/{id}/portal-links",
|
|
12333
|
+
...options,
|
|
12334
|
+
...params,
|
|
12335
|
+
body: params.body ?? {},
|
|
12336
|
+
headers: {
|
|
12337
|
+
"Content-Type": "application/json",
|
|
12338
|
+
...options?.headers,
|
|
12339
|
+
...params.headers
|
|
12340
|
+
},
|
|
12341
|
+
headers: {
|
|
12342
|
+
"Content-Type": "application/json",
|
|
12343
|
+
...headers
|
|
12344
|
+
}
|
|
12345
|
+
}));
|
|
12346
|
+
}
|
|
12347
|
+
/**
|
|
12348
|
+
* Revoke a namespace portal link
|
|
12349
|
+
*
|
|
12350
|
+
* Revokes the link and ends sessions using it. Only organization-wide callers may revoke links.
|
|
12351
|
+
*/
|
|
12352
|
+
static revokePortalLink(parameters, options) {
|
|
12353
|
+
const params = buildClientParams([parameters], [{ args: [{
|
|
12354
|
+
in: "path",
|
|
12355
|
+
key: "id"
|
|
12356
|
+
}, {
|
|
12357
|
+
in: "path",
|
|
12358
|
+
key: "linkId"
|
|
12359
|
+
}] }]);
|
|
12360
|
+
return requestWithPolicy(options?.client ?? client, "namespacesRevokePortalLink", options, (headers) => (options?.client ?? client).delete({
|
|
12361
|
+
security: [{
|
|
12362
|
+
name: "x-api-key",
|
|
12363
|
+
type: "apiKey"
|
|
12364
|
+
}],
|
|
12365
|
+
url: "/v1/namespaces/{id}/portal-links/{linkId}",
|
|
12366
|
+
...options,
|
|
12367
|
+
...params,
|
|
12368
|
+
headers
|
|
12369
|
+
}));
|
|
12370
|
+
}
|
|
12371
|
+
/**
|
|
12200
12372
|
* Get namespace usage
|
|
12201
12373
|
*
|
|
12202
12374
|
* Counts the messages the namespace sent and received in the window that count toward usage, by channel, with the same statuses as `GET /v1/organizations/usage`. A message counts toward the namespace it was sent or received in: that of the sender, mailbox, or key it used. The organization is billed for every namespace; read this to charge your own customer.
|
|
@@ -12915,6 +13087,7 @@ Object.assign(Webhooks.getStats, { operation: "webhooksGetStats" });
|
|
|
12915
13087
|
Object.assign(Webhooks.retryDelivery, { operation: "webhooksRetryDelivery" });
|
|
12916
13088
|
Object.assign(Webhooks.regenerateSecret, { operation: "webhooksRegenerateSecret" });
|
|
12917
13089
|
Object.assign(Webhooks.getSecret, { operation: "webhooksGetSecret" });
|
|
13090
|
+
Object.assign(Organizations.inviteMember, { operation: "organizationsInviteMember" });
|
|
12918
13091
|
Object.assign(Organizations.create, { operation: "organizationsCreate" });
|
|
12919
13092
|
Object.assign(Organizations.get, { operation: "organizationsGet" });
|
|
12920
13093
|
Object.assign(Organizations.update, { operation: "organizationsUpdate" });
|
|
@@ -13004,6 +13177,9 @@ Object.assign(Namespaces.get, { operation: "namespacesGet" });
|
|
|
13004
13177
|
Object.assign(Namespaces.update, { operation: "namespacesUpdate" });
|
|
13005
13178
|
Object.assign(Namespaces.assignResource, { operation: "namespacesAssignResource" });
|
|
13006
13179
|
Object.assign(Namespaces.removeResource, { operation: "namespacesRemoveResource" });
|
|
13180
|
+
Object.assign(Namespaces.listPortalLinks, { operation: "namespacesListPortalLinks" });
|
|
13181
|
+
Object.assign(Namespaces.createPortalLink, { operation: "namespacesCreatePortalLink" });
|
|
13182
|
+
Object.assign(Namespaces.revokePortalLink, { operation: "namespacesRevokePortalLink" });
|
|
13007
13183
|
Object.assign(Namespaces.getUsage, { operation: "namespacesGetUsage" });
|
|
13008
13184
|
Object.assign(Extensions.list, { operation: "extensionsList" });
|
|
13009
13185
|
Object.assign(Extensions.publish, { operation: "extensionsPublish" });
|