hostinger-api-sdk 2.3.0 → 2.4.1
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/README.md +2 -2
- package/api.ts +795 -13
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +481 -13
- package/dist/api.js +588 -23
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +481 -13
- package/dist/esm/api.js +574 -13
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/DomainsPortfolioApi.md +1 -1
- package/docs/ReachCampaignsApi.md +1 -1
- package/docs/ReachIntegrationsApi.md +349 -0
- package/docs/ReachTemplatesApi.md +58 -1
- package/docs/ReachV1StoresStoreResource.md +32 -0
- package/docs/ReachV1StoresStoreResourceSalesChannelsInner.md +26 -0
- package/docs/ReachV1TemplatesTemplateDetailsResource.md +28 -0
- package/docs/ReachV1WebsitesWebsiteBuilderConnectRequest.md +21 -0
- package/docs/ReachV1WebsitesWebsiteBuilderDisconnectRequest.md +21 -0
- package/docs/ReachV1WebsitesWebsiteResource.md +22 -0
- package/docs/ReachV1WebsitesWordPressDisconnectRequest.md +21 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.
|
|
7
|
+
* API Version: 2.4.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -21,16 +21,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
22
|
exports.HorizonsV1WebsitesPublishedWebsiteResourceStatusEnum = exports.HorizonsV1WebsitesEditWebsiteRequestMessageInnerTypeEnum = exports.HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum = exports.EcommerceV1StoreStoreRequestSalesChannelTypeEnum = exports.EcommerceV1StoreStoreCreationResourceSalesChannelTypeEnum = exports.EcommerceV1SalesChannelStoreRequestTypeEnum = exports.EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInnerTypeEnum = exports.EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannelTypeEnum = exports.EcommerceV1ProductUpdateRequestStatusEnum = exports.EcommerceV1ProductProductResourceStatusEnum = exports.EcommerceV1ProductProductCreationResourceProductTypeEnum = exports.EcommerceV1PaymentProviderPaymentProviderListResourceDataConnectedInnerStatusEnum = exports.EcommerceV1DiscountDiscountResourceAllocationEnum = exports.EcommerceV1DiscountDiscountResourceTypeEnum = exports.EcommerceV1DiscountCreateDiscountRequestAllocationEnum = exports.EcommerceV1DiscountCreateDiscountRequestTypeEnum = exports.DomainsV1WHOISStoreRequestEntityTypeEnum = exports.DomainsV1WHOISProfileResourceEntityTypeEnum = exports.DomainsV1WHOISChangeUpdateRequestChangeForEnum = exports.DomainsV1PortfolioClaimResourceStatusEnum = exports.DomainsV1MoveMoveResourceStatusEnum = exports.DomainsV1IRTPVerificationResourceStatusEnum = exports.DomainsV1ForwardingUpdateRequestRedirectTypeEnum = exports.DomainsV1ForwardingStoreRequestRedirectTypeEnum = exports.DomainsV1ForwardingForwardingResourceRedirectTypeEnum = exports.DomainsV1DomainDomainResourceStatusEnum = exports.DomainsV1DomainDomainResourceTypeEnum = exports.DomainsV1DomainDomainExtendedResourceStatusEnum = exports.DNSV1ZoneUpdateRequestZoneInnerTypeEnum = exports.DNSV1ZoneRecordResourceTypeEnum = exports.DNSV1ZoneDestroyRequestFiltersInnerTypeEnum = exports.BillingV1SubscriptionSubscriptionResourceStatusEnum = exports.BillingV1SubscriptionCancelRequestCancelOptionEnum = exports.BillingV1SubscriptionCancelRequestReasonCodeEnum = exports.BillingV1OrderPaymentProcessingResourceStatusEnum = exports.BillingV1OrderOrderResourceStatusEnum = exports.BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum = exports.AgentReadinessV1ScansScanResourceStatusEnum = exports.AgentReadinessV1ScansCheckResultResourceStatusEnum = exports.AgencyHostingV1WebsitesWebsiteResourceStateEnum = exports.AgencyHostingV1WebsitesWebsiteProcessResourceStatusEnum = exports.AgencyHostingV1WebsitesWebsiteListItemResourcePlatformEnum = exports.AgencyHostingV1WebsitesU4sWebsiteDetailsResourceTypeEnum = exports.AgencyHostingV1WebsitesH5gWebsiteDetailsResourceStateEnum = exports.AgencyHostingV1WebsitesH5gWebsiteDetailsResourceTypeEnum = exports.AgencyHostingV1SslSslStatusResourceStatusEnum = exports.AgencyHostingV1SetupsWebsiteSetupStatusResourceStatusEnum = exports.AgencyHostingV1SetupsCreateSetupRequestTypeEnum = exports.AgencyHostingV1PhpOptionResourceTypeEnum = exports.AgencyHostingV1PhpExtensionResourceStateEnum = void 0;
|
|
23
23
|
exports.MailV1WebhooksWebhookSecretResourceStatusEnum = exports.MailV1WebhooksWebhookSecretResourceEventsEnum = exports.MailV1WebhooksWebhookResourceStatusEnum = exports.MailV1WebhooksWebhookResourceEventsEnum = exports.MailV1WebhooksWebhookCreatedResourceStatusEnum = exports.MailV1WebhooksWebhookCreatedResourceEventsEnum = exports.MailV1SchemaUpdateWebhookRequestSchemaStatusEnum = exports.MailV1SchemaUpdateWebhookRequestSchemaEventsEnum = exports.MailV1SchemaCreateWebhookRequestSchemaStatusEnum = exports.MailV1SchemaCreateWebhookRequestSchemaEventsEnum = exports.MailV1OrdersOrderResourceStatusEnum = exports.MailV1MailboxesMailboxResourceStatusEnum = exports.MailV1LogsMailboxActionsMailboxActionLogResourceEventEnum = exports.MailV1LogsActionActionLogResourceResponseStatusEnum = exports.MailV1ApiTokensApiTokenResourceTypeEnum = exports.MailV1ApiTokensApiTokenCreatedResourceTypeEnum = exports.HostingV1WebsitesWebsiteResourceWebsiteTypeEnum = exports.HostingV1WebsitesWebsiteResourceVhostTypeEnum = exports.HostingV1SslSslStatusResourceProviderEnum = exports.HostingV1SslSslStatusResourceStatusEnum = exports.HostingV1OnboardingsStartOnboardingRequestTypeEnum = exports.HostingV1OnboardingsOnboardingResourceStatusEnum = exports.HostingV1NodeJsVulnerabilityResourceSeverityEnum = exports.HostingV1NodeJsUpdateBuildSettingsRequestPackageManagerEnum = exports.HostingV1NodeJsUpdateBuildSettingsRequestAppTypeEnum = exports.HostingV1NodeJsUpdateBuildSettingsRequestNodeVersionEnum = exports.HostingV1NodeJsStoredBuildSettingsResourcePackageManagerEnum = exports.HostingV1NodeJsStoredBuildSettingsResourceAppTypeEnum = exports.HostingV1NodeJsStartBuildRequestSourceTypeEnum = exports.HostingV1NodeJsStartBuildRequestPackageManagerEnum = exports.HostingV1NodeJsStartBuildRequestAppTypeEnum = exports.HostingV1NodeJsStartBuildRequestNodeVersionEnum = exports.HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = exports.HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum = exports.HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum = exports.HostingV1NodeJsBuildSettingsResourcePackageManagerEnum = exports.HostingV1NodeJsBuildSettingsResourceAppTypeEnum = exports.HostingV1NodeJsBuildResourceStateEnum = exports.HostingV1NodeJsBuildOptionsResourceSourceTypeEnum = exports.HostingV1NodeJsBuildOptionsResourcePackageManagerEnum = exports.HostingV1NodeJsBuildOptionsResourceAppTypeEnum = exports.HostingV1HeadlessStoreAgentReportRequestRunKindEnum = exports.HostingV1HeadlessStoreAgentReportRequestInfoOutcomeEnum = exports.HostingV1HeadlessStoreAgentReportRequestSchemaVersionEnum = exports.HostingV1GitGitInstallationResourceStatusEnum = exports.HostingV1GitGitInstallationResourceAccountTypeEnum = exports.HostingV1GitGitInstallationResourceProviderEnum = exports.HostingV1FilesFilesResourceItemsInnerTypeEnum = exports.HostingV1DomainsParkedDomainResourceTypeEnum = exports.HorizonsV1WebsitesWebsiteResourceStatusEnum = void 0;
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.WordPressThemesApi = exports.WordPressThemesApiFactory = exports.WordPressThemesApiFp = exports.WordPressThemesApiAxiosParamCreator = exports.ListInstalledWordPressPluginsV1CategoryEnum = exports.WordPressPluginsApi = exports.WordPressPluginsApiFactory = exports.WordPressPluginsApiFp = exports.WordPressPluginsApiAxiosParamCreator = exports.WordPressObjectCacheApi = exports.WordPressObjectCacheApiFactory = exports.WordPressObjectCacheApiFp = exports.WordPressObjectCacheApiAxiosParamCreator = exports.WordPressMaintenanceApi = exports.WordPressMaintenanceApiFactory = exports.WordPressMaintenanceApiFp = exports.WordPressMaintenanceApiAxiosParamCreator = exports.WordPressLoginApi = exports.WordPressLoginApiFactory = exports.WordPressLoginApiFp = exports.WordPressLoginApiAxiosParamCreator = exports.WordPressLiteSpeedCacheApi = exports.WordPressLiteSpeedCacheApiFactory = exports.WordPressLiteSpeedCacheApiFp = exports.WordPressLiteSpeedCacheApiAxiosParamCreator = exports.ListWordPressInstallationsV1OwnershipEnum = exports.WordPressInstallationsApi = exports.WordPressInstallationsApiFactory = exports.WordPressInstallationsApiFp = exports.WordPressInstallationsApiAxiosParamCreator = exports.ShowAIOptionStatusV1OptionEnum = exports.WordPressAIToolsApi = exports.WordPressAIToolsApiFactory = exports.WordPressAIToolsApiFp = exports.WordPressAIToolsApiAxiosParamCreator = exports.GetGenerationResultV1TypeEnum = exports.WordPressAIContentApi = exports.WordPressAIContentApiFactory = exports.WordPressAIContentApiFp = exports.WordPressAIContentApiAxiosParamCreator = exports.VPSVirtualMachineApi = exports.VPSVirtualMachineApiFactory = void 0;
|
|
24
|
+
exports.VPSV1ActionActionResourceStateEnum = exports.ReachV1WebsitesWebsiteResourcePlatformTypeEnum = exports.ReachV1StoresStoreResourceConnectionStatusEnum = exports.ReachV1StoresStoreResourceVersionEnum = exports.ReachV1ProfilesFeaturesPlanFeatureResourceFeatureEnum = exports.ReachV1ProfilesDomainsSendingDomainResourceStatusEnum = exports.ReachV1FormsUpdateRequestStatusEnum = exports.ReachV1FormsFormTemplateVersionResourceEditTypeEnum = exports.ReachV1FormsFormTagResourceTypeEnum = exports.ReachV1FormsFormResourceTypeEnum = exports.ReachV1FormsFormResourceStatusEnum = exports.ReachV1FormsFormDetailsResourceTypeEnum = exports.ReachV1FormsFormDetailsResourceStatusEnum = exports.ReachV1ContactsUpdateRequestSubscriptionStatusEnum = exports.ReachV1ContactsTagsTagResourceTypeEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerAttributeEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum = exports.ReachV1ContactsSegmentsStoreRequestLogicEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsSegmentsSegmentFilterOperatorResourceInputTypeEnum = exports.ReachV1ContactsSegmentsSegmentFilterOperatorResourceOperatorEnum = exports.ReachV1ContactsSegmentsSegmentFilterAttributeResourceTypeEnum = exports.ReachV1ContactsSegmentsProfileUpdateRequestLogicEnum = exports.ReachV1ContactsSegmentsProfileStoreRequestConditionsInnerOperatorEnum = exports.ReachV1ContactsSegmentsProfileStoreRequestLogicEnum = exports.ReachV1ContactsSegmentsProfileFilterContactsRequestConditionsInnerOperatorEnum = exports.ReachV1ContactsSegmentsProfileFilterContactsRequestSortDirectionEnum = exports.ReachV1ContactsSegmentsProfileFilterContactsRequestSortByEnum = exports.ReachV1ContactsSegmentsProfileFilterContactsRequestLogicEnum = exports.ReachV1ContactsProfileContactUpdateResourceSubscriptionStatusEnum = exports.ReachV1ContactsProfileContactResourceSourceEnum = exports.ReachV1ContactsProfileContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsFieldsStoreRequestTypeEnum = exports.ReachV1ContactsFieldsContactFieldValueResourceTypeEnum = exports.ReachV1ContactsFieldsContactFieldResourceTypeEnum = exports.ReachV1ContactsContactResourceSourceEnum = exports.ReachV1ContactsContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsContactDetailsResourceSourceEnum = exports.ReachV1ContactsContactDetailsResourceSubscriptionStatusEnum = exports.ReachV1CampaignsCreatedCampaignResourceTypeEnum = exports.ReachV1CampaignsCreatedCampaignResourceStatusEnum = exports.ReachV1CampaignsCampaignResourceTypeEnum = exports.ReachV1CampaignsCampaignResourceStatusEnum = exports.ReachV1CampaignsCampaignDetailsResourceTypeEnum = exports.ReachV1CampaignsCampaignDetailsResourceStatusEnum = exports.ReachV1AutomationsStepsAutomationStepResourceValueEnum = exports.ReachV1AutomationsStepsAutomationStepResourceTypeEnum = exports.ReachV1AutomationsAutomationResourceTypeEnum = exports.ReachV1AutomationsAutomationResourceStatusEnum = void 0;
|
|
25
|
+
exports.AgencyHostingFilesApi = exports.AgencyHostingFilesApiFactory = exports.AgencyHostingFilesApiFp = exports.AgencyHostingFilesApiAxiosParamCreator = exports.AgencyHostingDomainsApi = exports.AgencyHostingDomainsApiFactory = exports.AgencyHostingDomainsApiFp = exports.AgencyHostingDomainsApiAxiosParamCreator = exports.AgencyHostingDatacentersApi = exports.AgencyHostingDatacentersApiFactory = exports.AgencyHostingDatacentersApiFp = exports.AgencyHostingDatacentersApiAxiosParamCreator = exports.AgencyHostingDatabasesApi = exports.AgencyHostingDatabasesApiFactory = exports.AgencyHostingDatabasesApiFp = exports.AgencyHostingDatabasesApiAxiosParamCreator = exports.AgencyHostingCronJobsApi = exports.AgencyHostingCronJobsApiFactory = exports.AgencyHostingCronJobsApiFp = exports.AgencyHostingCronJobsApiAxiosParamCreator = exports.AgencyHostingCacheApi = exports.AgencyHostingCacheApiFactory = exports.AgencyHostingCacheApiFp = exports.AgencyHostingCacheApiAxiosParamCreator = exports.WordPressV1ThemesInstalledThemeResourceStatusEnum = exports.WordPressV1ThemesInstallThemeRequestFontEnum = exports.WordPressV1PluginsUpdateHostingerPluginRequestSlugEnum = exports.WordPressV1PluginsSuggestedPluginGroupResourceWebsiteTypeEnum = exports.WordPressV1PluginsInstalledPluginResourceStatusEnum = exports.WordPressV1MemcachedMemcachedStatusResourceStatusEnum = exports.WordPressV1McpExecuteMcpToolRequestServerEnum = exports.WordPressV1MaintenanceMaintenanceStatusResourceStatusEnum = exports.WordPressV1InstallationsUpdateResourceTypeEnum = exports.WordPressV1InstallationsInstallWordPressRequestAutoUpdatesEnum = exports.WordPressV1InstallationsInstallWordPressRequestTypeEnum = exports.WordPressV1HostingerPluginsUpdateAiOptionStatusRequestOptionEnum = exports.WordPressV1ContentGenerationResourceStatusEnum = exports.WordPressV1ContentGenerationResourceTypeEnum = exports.WordPressV1ContentGenerateImagesRequestImageTypeEnum = exports.VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = exports.VPSV1VirtualMachineVirtualMachineResourceStateEnum = exports.VPSV1FirewallRulesStoreRequestSourceEnum = exports.VPSV1FirewallRulesStoreRequestProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceActionEnum = exports.VPSV1DockerManagerProjectResourceStateEnum = exports.VPSV1DockerManagerContainerResourceHealthEnum = exports.VPSV1DockerManagerContainerResourceStateEnum = exports.VPSV1DockerManagerContainerPortResourceProtocolEnum = exports.VPSV1DockerManagerContainerPortResourceTypeEnum = void 0;
|
|
26
|
+
exports.BillingPaymentMethodsApiAxiosParamCreator = exports.BillingOrdersApi = exports.BillingOrdersApiFactory = exports.BillingOrdersApiFp = exports.BillingOrdersApiAxiosParamCreator = exports.GetCatalogItemListV1CategoryEnum = exports.BillingCatalogApi = exports.BillingCatalogApiFactory = exports.BillingCatalogApiFp = exports.BillingCatalogApiAxiosParamCreator = exports.AgentReadinessScansApi = exports.AgentReadinessScansApiFactory = exports.AgentReadinessScansApiFp = exports.AgentReadinessScansApiAxiosParamCreator = exports.AgentReadinessChecksApi = exports.AgentReadinessChecksApiFactory = exports.AgentReadinessChecksApiFp = exports.AgentReadinessChecksApiAxiosParamCreator = exports.AgencyHostingWordPressApi = exports.AgencyHostingWordPressApiFactory = exports.AgencyHostingWordPressApiFp = exports.AgencyHostingWordPressApiAxiosParamCreator = exports.ListAgencyPlanWebsitesV1WebsiteTypesEnum = exports.ListAgencyPlanWebsitesV1StatesEnum = exports.AgencyHostingWebsitesApi = exports.AgencyHostingWebsitesApiFactory = exports.AgencyHostingWebsitesApiFp = exports.AgencyHostingWebsitesApiAxiosParamCreator = exports.AgencyHostingWebsiteSetupsApi = exports.AgencyHostingWebsiteSetupsApiFactory = exports.AgencyHostingWebsiteSetupsApiFp = exports.AgencyHostingWebsiteSetupsApiAxiosParamCreator = exports.AgencyHostingSSLApi = exports.AgencyHostingSSLApiFactory = exports.AgencyHostingSSLApiFp = exports.AgencyHostingSSLApiAxiosParamCreator = exports.AgencyHostingPHPApi = exports.AgencyHostingPHPApiFactory = exports.AgencyHostingPHPApiFp = exports.AgencyHostingPHPApiAxiosParamCreator = exports.AgencyHostingOrdersApi = exports.AgencyHostingOrdersApiFactory = exports.AgencyHostingOrdersApiFp = exports.AgencyHostingOrdersApiAxiosParamCreator = exports.ListOrderResourceUsageMetricsV1TimeFrameHoursEnum = exports.ListAgencyPlanOrderDiskUsageMetricsV1TimeFrameDaysEnum = exports.AgencyHostingMetricsApi = exports.AgencyHostingMetricsApiFactory = exports.AgencyHostingMetricsApiFp = exports.AgencyHostingMetricsApiAxiosParamCreator = void 0;
|
|
27
|
+
exports.EcommerceMiscellaneousApiFp = exports.EcommerceMiscellaneousApiAxiosParamCreator = exports.ListDiscountsV1IsDisabledEnum = exports.EcommerceDiscountsApi = exports.EcommerceDiscountsApiFactory = exports.EcommerceDiscountsApiFp = exports.EcommerceDiscountsApiAxiosParamCreator = exports.DomainsWHOISApi = exports.DomainsWHOISApiFactory = exports.DomainsWHOISApiFp = exports.DomainsWHOISApiAxiosParamCreator = exports.DomainsTransferApi = exports.DomainsTransferApiFactory = exports.DomainsTransferApiFp = exports.DomainsTransferApiAxiosParamCreator = exports.DomainsPortfolioApi = exports.DomainsPortfolioApiFactory = exports.DomainsPortfolioApiFp = exports.DomainsPortfolioApiAxiosParamCreator = exports.DomainsMoveApi = exports.DomainsMoveApiFactory = exports.DomainsMoveApiFp = exports.DomainsMoveApiAxiosParamCreator = exports.DomainsForwardingApi = exports.DomainsForwardingApiFactory = exports.DomainsForwardingApiFp = exports.DomainsForwardingApiAxiosParamCreator = exports.DomainsAvailabilityApi = exports.DomainsAvailabilityApiFactory = exports.DomainsAvailabilityApiFp = exports.DomainsAvailabilityApiAxiosParamCreator = exports.DomainAccessVerifierVerificationsApi = exports.DomainAccessVerifierVerificationsApiFactory = exports.DomainAccessVerifierVerificationsApiFp = exports.DomainAccessVerifierVerificationsApiAxiosParamCreator = exports.DNSZoneApi = exports.DNSZoneApiFactory = exports.DNSZoneApiFp = exports.DNSZoneApiAxiosParamCreator = exports.DNSSnapshotApi = exports.DNSSnapshotApiFactory = exports.DNSSnapshotApiFp = exports.DNSSnapshotApiAxiosParamCreator = exports.BillingSubscriptionsApi = exports.BillingSubscriptionsApiFactory = exports.BillingSubscriptionsApiFp = exports.BillingSubscriptionsApiAxiosParamCreator = exports.BillingPaymentMethodsApi = exports.BillingPaymentMethodsApiFactory = exports.BillingPaymentMethodsApiFp = void 0;
|
|
28
|
+
exports.HostingCronJobsApiFactory = exports.HostingCronJobsApiFp = exports.HostingCronJobsApiAxiosParamCreator = exports.HostingCacheApi = exports.HostingCacheApiFactory = exports.HostingCacheApiFp = exports.HostingCacheApiAxiosParamCreator = exports.HostingCDNApi = exports.HostingCDNApiFactory = exports.HostingCDNApiFp = exports.HostingCDNApiAxiosParamCreator = exports.HorizonsWebsitesApi = exports.HorizonsWebsitesApiFactory = exports.HorizonsWebsitesApiFp = exports.HorizonsWebsitesApiAxiosParamCreator = exports.EcommerceStoresApi = exports.EcommerceStoresApiFactory = exports.EcommerceStoresApiFp = exports.EcommerceStoresApiAxiosParamCreator = exports.EcommerceShippingApi = exports.EcommerceShippingApiFactory = exports.EcommerceShippingApiFp = exports.EcommerceShippingApiAxiosParamCreator = exports.EcommerceSalesChannelsApi = exports.EcommerceSalesChannelsApiFactory = exports.EcommerceSalesChannelsApiFp = exports.EcommerceSalesChannelsApiAxiosParamCreator = exports.ListProductsV1IncludeEnum = exports.ListProductsV1StatusEnum = exports.EcommerceProductsApi = exports.EcommerceProductsApiFactory = exports.EcommerceProductsApiFp = exports.EcommerceProductsApiAxiosParamCreator = exports.EcommerceProductVariantsApi = exports.EcommerceProductVariantsApiFactory = exports.EcommerceProductVariantsApiFp = exports.EcommerceProductVariantsApiAxiosParamCreator = exports.EcommercePaymentsApi = exports.EcommercePaymentsApiFactory = exports.EcommercePaymentsApiFp = exports.EcommercePaymentsApiAxiosParamCreator = exports.ListStoreOrdersV1FulfillmentStatusEnum = exports.ListStoreOrdersV1PaymentStatusEnum = exports.ListStoreOrdersV1StatusEnum = exports.EcommerceOrdersApi = exports.EcommerceOrdersApiFactory = exports.EcommerceOrdersApiFp = exports.EcommerceOrdersApiAxiosParamCreator = exports.EcommerceMiscellaneousApi = exports.EcommerceMiscellaneousApiFactory = void 0;
|
|
29
|
+
exports.HostingSSLApiAxiosParamCreator = exports.HostingRedirectsApi = exports.HostingRedirectsApiFactory = exports.HostingRedirectsApiFp = exports.HostingRedirectsApiAxiosParamCreator = exports.HostingPHPApi = exports.HostingPHPApiFactory = exports.HostingPHPApiFp = exports.HostingPHPApiAxiosParamCreator = exports.ListOrdersV1StatusesEnum = exports.HostingOrdersApi = exports.HostingOrdersApiFactory = exports.HostingOrdersApiFp = exports.HostingOrdersApiAxiosParamCreator = exports.ListNodeJsVulnerabilitiesV1SeveritiesEnum = exports.ListNodeJSBuildsV1StatesEnum = exports.GetNodeJsRuntimeLogsV1LevelsEnum = exports.GetNodeJsRuntimeLogsV1PeriodEnum = exports.HostingNodeJSApi = exports.HostingNodeJSApiFactory = exports.HostingNodeJSApiFp = exports.HostingNodeJSApiAxiosParamCreator = exports.HostingHeadlessApi = exports.HostingHeadlessApiFactory = exports.HostingHeadlessApiFp = exports.HostingHeadlessApiAxiosParamCreator = exports.ListGitInstallationsV1StatusEnum = exports.ListGitInstallationsV1ProviderEnum = exports.HostingGitApi = exports.HostingGitApiFactory = exports.HostingGitApiFp = exports.HostingGitApiAxiosParamCreator = exports.ListWebsiteFilesAndDirectoriesV1FileTypesEnum = exports.HostingFilesApi = exports.HostingFilesApiFactory = exports.HostingFilesApiFp = exports.HostingFilesApiAxiosParamCreator = exports.HostingDomainsApi = exports.HostingDomainsApiFactory = exports.HostingDomainsApiFp = exports.HostingDomainsApiAxiosParamCreator = exports.HostingDatacentersApi = exports.HostingDatacentersApiFactory = exports.HostingDatacentersApiFp = exports.HostingDatacentersApiAxiosParamCreator = exports.HostingDatabasesApi = exports.HostingDatabasesApiFactory = exports.HostingDatabasesApiFp = exports.HostingDatabasesApiAxiosParamCreator = exports.HostingCronJobsApi = void 0;
|
|
30
|
+
exports.MailWebhooksApiAxiosParamCreator = exports.ListOrdersV1SortEnum = exports.ListOrdersV1StatusEnum = exports.MailOrdersApi = exports.MailOrdersApiFactory = exports.MailOrdersApiFp = exports.MailOrdersApiAxiosParamCreator = exports.ListMailboxesV1SortEnum = exports.MailMailboxesApi = exports.MailMailboxesApiFactory = exports.MailMailboxesApiFp = exports.MailMailboxesApiAxiosParamCreator = exports.ListOutboundLogsV1StatusEnum = exports.ListMailboxActionLogsV1EventEnum = exports.ListInboundLogsV1StatusEnum = exports.ListActionLogsV1StatusEnum = exports.ListAccessLogsV1ProtocolEnum = exports.ListAccessLogsV1StatusEnum = exports.MailLogsApi = exports.MailLogsApiFactory = exports.MailLogsApiFp = exports.MailLogsApiAxiosParamCreator = exports.MailForwardersApi = exports.MailForwardersApiFactory = exports.MailForwardersApiFp = exports.MailForwardersApiAxiosParamCreator = exports.MailCatchallsApi = exports.MailCatchallsApiFactory = exports.MailCatchallsApiFp = exports.MailCatchallsApiAxiosParamCreator = exports.MailAutorepliesApi = exports.MailAutorepliesApiFactory = exports.MailAutorepliesApiFp = exports.MailAutorepliesApiAxiosParamCreator = exports.MailAliasesApi = exports.MailAliasesApiFactory = exports.MailAliasesApiFp = exports.MailAliasesApiAxiosParamCreator = exports.MailAPITokensApi = exports.MailAPITokensApiFactory = exports.MailAPITokensApiFp = exports.MailAPITokensApiAxiosParamCreator = exports.ListWebsitesV1WebsiteTypesEnum = exports.HostingWebsitesApi = exports.HostingWebsitesApiFactory = exports.HostingWebsitesApiFp = exports.HostingWebsitesApiAxiosParamCreator = exports.HostingSSLApi = exports.HostingSSLApiFactory = exports.HostingSSLApiFp = void 0;
|
|
31
|
+
exports.ReachTemplatesApiAxiosParamCreator = exports.ReachTagsApi = exports.ReachTagsApiFactory = exports.ReachTagsApiFp = exports.ReachTagsApiAxiosParamCreator = exports.ListProfileSegmentsV1CountTypeEnum = exports.ReachSegmentsApi = exports.ReachSegmentsApiFactory = exports.ReachSegmentsApiFp = exports.ReachSegmentsApiAxiosParamCreator = exports.ReachProfilesApi = exports.ReachProfilesApiFactory = exports.ReachProfilesApiFp = exports.ReachProfilesApiAxiosParamCreator = exports.ReachIntegrationsApi = exports.ReachIntegrationsApiFactory = exports.ReachIntegrationsApiFp = exports.ReachIntegrationsApiAxiosParamCreator = exports.ListFormsV1StatusEnum = exports.ReachFormsApi = exports.ReachFormsApiFactory = exports.ReachFormsApiFp = exports.ReachFormsApiAxiosParamCreator = exports.ListProfileContactsV1SubscriptionStatusEnum = exports.ListContactsV1SubscriptionStatusEnum = exports.ReachContactsApi = exports.ReachContactsApiFactory = exports.ReachContactsApiFp = exports.ReachContactsApiAxiosParamCreator = exports.ReachContactFieldsApi = exports.ReachContactFieldsApiFactory = exports.ReachContactFieldsApiFp = exports.ReachContactFieldsApiAxiosParamCreator = exports.ListCampaignsV1SortDirectionEnum = exports.ListCampaignsV1TypeEnum = exports.ListCampaignsV1StatusEnum = exports.ReachCampaignsApi = exports.ReachCampaignsApiFactory = exports.ReachCampaignsApiFp = exports.ReachCampaignsApiAxiosParamCreator = exports.ListAutomationsV1SortDirectionEnum = exports.ListAutomationsV1StatusEnum = exports.ReachAutomationsApi = exports.ReachAutomationsApiFactory = exports.ReachAutomationsApiFp = exports.ReachAutomationsApiAxiosParamCreator = exports.ListWebhooksV1StatusEnum = exports.MailWebhooksApi = exports.MailWebhooksApiFactory = exports.MailWebhooksApiFp = void 0;
|
|
32
|
+
exports.VPSSSHKeysApiFactory = exports.VPSSSHKeysApiFp = exports.VPSSSHKeysApiAxiosParamCreator = exports.VPSRecoveryApi = exports.VPSRecoveryApiFactory = exports.VPSRecoveryApiFp = exports.VPSRecoveryApiAxiosParamCreator = exports.VPSPublicKeysApi = exports.VPSPublicKeysApiFactory = exports.VPSPublicKeysApiFp = exports.VPSPublicKeysApiAxiosParamCreator = exports.VPSPostInstallScriptsApi = exports.VPSPostInstallScriptsApiFactory = exports.VPSPostInstallScriptsApiFp = exports.VPSPostInstallScriptsApiAxiosParamCreator = exports.VPSPTRRecordsApi = exports.VPSPTRRecordsApiFactory = exports.VPSPTRRecordsApiFp = exports.VPSPTRRecordsApiAxiosParamCreator = exports.VPSOSTemplatesApi = exports.VPSOSTemplatesApiFactory = exports.VPSOSTemplatesApiFp = exports.VPSOSTemplatesApiAxiosParamCreator = exports.VPSMalwareScannerApi = exports.VPSMalwareScannerApiFactory = exports.VPSMalwareScannerApiFp = exports.VPSMalwareScannerApiAxiosParamCreator = exports.VPSFirewallApi = exports.VPSFirewallApiFactory = exports.VPSFirewallApiFp = exports.VPSFirewallApiAxiosParamCreator = exports.VPSDockerManagerApi = exports.VPSDockerManagerApiFactory = exports.VPSDockerManagerApiFp = exports.VPSDockerManagerApiAxiosParamCreator = exports.VPSDataCentersApi = exports.VPSDataCentersApiFactory = exports.VPSDataCentersApiFp = exports.VPSDataCentersApiAxiosParamCreator = exports.VPSBackupsApi = exports.VPSBackupsApiFactory = exports.VPSBackupsApiFp = exports.VPSBackupsApiAxiosParamCreator = exports.VPSActionsApi = exports.VPSActionsApiFactory = exports.VPSActionsApiFp = exports.VPSActionsApiAxiosParamCreator = exports.ReachTemplatesApi = exports.ReachTemplatesApiFactory = exports.ReachTemplatesApiFp = void 0;
|
|
33
|
+
exports.WordPressThemesApi = exports.WordPressThemesApiFactory = exports.WordPressThemesApiFp = exports.WordPressThemesApiAxiosParamCreator = exports.ListInstalledWordPressPluginsV1CategoryEnum = exports.WordPressPluginsApi = exports.WordPressPluginsApiFactory = exports.WordPressPluginsApiFp = exports.WordPressPluginsApiAxiosParamCreator = exports.WordPressObjectCacheApi = exports.WordPressObjectCacheApiFactory = exports.WordPressObjectCacheApiFp = exports.WordPressObjectCacheApiAxiosParamCreator = exports.WordPressMaintenanceApi = exports.WordPressMaintenanceApiFactory = exports.WordPressMaintenanceApiFp = exports.WordPressMaintenanceApiAxiosParamCreator = exports.WordPressLoginApi = exports.WordPressLoginApiFactory = exports.WordPressLoginApiFp = exports.WordPressLoginApiAxiosParamCreator = exports.WordPressLiteSpeedCacheApi = exports.WordPressLiteSpeedCacheApiFactory = exports.WordPressLiteSpeedCacheApiFp = exports.WordPressLiteSpeedCacheApiAxiosParamCreator = exports.ListWordPressInstallationsV1OwnershipEnum = exports.WordPressInstallationsApi = exports.WordPressInstallationsApiFactory = exports.WordPressInstallationsApiFp = exports.WordPressInstallationsApiAxiosParamCreator = exports.ShowAIOptionStatusV1OptionEnum = exports.WordPressAIToolsApi = exports.WordPressAIToolsApiFactory = exports.WordPressAIToolsApiFp = exports.WordPressAIToolsApiAxiosParamCreator = exports.GetGenerationResultV1TypeEnum = exports.WordPressAIContentApi = exports.WordPressAIContentApiFactory = exports.WordPressAIContentApiFp = exports.WordPressAIContentApiAxiosParamCreator = exports.VPSVirtualMachineApi = exports.VPSVirtualMachineApiFactory = exports.VPSVirtualMachineApiFp = exports.VPSVirtualMachineApiAxiosParamCreator = exports.VPSSnapshotsApi = exports.VPSSnapshotsApiFactory = exports.VPSSnapshotsApiFp = exports.VPSSnapshotsApiAxiosParamCreator = exports.VPSSSHKeysApi = void 0;
|
|
34
34
|
const axios_1 = require("axios");
|
|
35
35
|
// Some imports not used depending on template conditions
|
|
36
36
|
// @ts-ignore
|
|
@@ -1067,6 +1067,19 @@ exports.ReachV1ProfilesFeaturesPlanFeatureResourceFeatureEnum = {
|
|
|
1067
1067
|
Collaborators: 'Collaborators',
|
|
1068
1068
|
HtmlCodeEditor: 'HtmlCodeEditor'
|
|
1069
1069
|
};
|
|
1070
|
+
exports.ReachV1StoresStoreResourceVersionEnum = {
|
|
1071
|
+
V2Standalone: 'v2_standalone'
|
|
1072
|
+
};
|
|
1073
|
+
exports.ReachV1StoresStoreResourceConnectionStatusEnum = {
|
|
1074
|
+
Connected: 'connected',
|
|
1075
|
+
ConnectedToOtherProfile: 'connected_to_other_profile',
|
|
1076
|
+
NotConnected: 'not_connected'
|
|
1077
|
+
};
|
|
1078
|
+
exports.ReachV1WebsitesWebsiteResourcePlatformTypeEnum = {
|
|
1079
|
+
Wordpress: 'wordpress',
|
|
1080
|
+
WebsiteBuilder: 'website_builder',
|
|
1081
|
+
Horizons: 'horizons'
|
|
1082
|
+
};
|
|
1070
1083
|
exports.VPSV1ActionActionResourceStateEnum = {
|
|
1071
1084
|
Success: 'success',
|
|
1072
1085
|
Error: 'error',
|
|
@@ -7790,7 +7803,7 @@ const DomainsPortfolioApiAxiosParamCreator = function (configuration) {
|
|
|
7790
7803
|
};
|
|
7791
7804
|
}),
|
|
7792
7805
|
/**
|
|
7793
|
-
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and
|
|
7806
|
+
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
7794
7807
|
* @summary Complete domain setup
|
|
7795
7808
|
* @param {string} domain Domain name
|
|
7796
7809
|
* @param {DomainsV1PortfolioSetupRequest} domainsV1PortfolioSetupRequest
|
|
@@ -8174,7 +8187,7 @@ const DomainsPortfolioApiFp = function (configuration) {
|
|
|
8174
8187
|
});
|
|
8175
8188
|
},
|
|
8176
8189
|
/**
|
|
8177
|
-
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and
|
|
8190
|
+
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
8178
8191
|
* @summary Complete domain setup
|
|
8179
8192
|
* @param {string} domain Domain name
|
|
8180
8193
|
* @param {DomainsV1PortfolioSetupRequest} domainsV1PortfolioSetupRequest
|
|
@@ -8360,7 +8373,7 @@ const DomainsPortfolioApiFactory = function (configuration, basePath, axios) {
|
|
|
8360
8373
|
return localVarFp.claimFreeDomainV1(domainsV1PortfolioClaimRequest, options).then((request) => request(axios, basePath));
|
|
8361
8374
|
},
|
|
8362
8375
|
/**
|
|
8363
|
-
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and
|
|
8376
|
+
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
8364
8377
|
* @summary Complete domain setup
|
|
8365
8378
|
* @param {string} domain Domain name
|
|
8366
8379
|
* @param {DomainsV1PortfolioSetupRequest} domainsV1PortfolioSetupRequest
|
|
@@ -8492,7 +8505,7 @@ class DomainsPortfolioApi extends base_1.BaseAPI {
|
|
|
8492
8505
|
return (0, exports.DomainsPortfolioApiFp)(this.configuration).claimFreeDomainV1(domainsV1PortfolioClaimRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8493
8506
|
}
|
|
8494
8507
|
/**
|
|
8495
|
-
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and
|
|
8508
|
+
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
8496
8509
|
* @summary Complete domain setup
|
|
8497
8510
|
* @param {string} domain Domain name
|
|
8498
8511
|
* @param {DomainsV1PortfolioSetupRequest} domainsV1PortfolioSetupRequest
|
|
@@ -23709,7 +23722,7 @@ const ReachCampaignsApiAxiosParamCreator = function (configuration) {
|
|
|
23709
23722
|
};
|
|
23710
23723
|
}),
|
|
23711
23724
|
/**
|
|
23712
|
-
* Get a single campaign with its sender, subject, template reference, targeting and delivery progress. This describes how the campaign was set up and how far it has got. For opens, clicks and unsubscribes use the campaign statistics endpoint.
|
|
23725
|
+
* Get a single campaign with its sender, subject, template reference, targeting and delivery progress. This describes how the campaign was set up and how far it has got. For opens, clicks and unsubscribes use the campaign statistics endpoint. The email content is not included: pass `template_uuid` to the get email template endpoint to read its HTML.
|
|
23713
23726
|
* @summary Get campaign details
|
|
23714
23727
|
* @param {string} profileUuid Profile uuid parameter
|
|
23715
23728
|
* @param {string} campaignUuid Campaign uuid parameter
|
|
@@ -23859,7 +23872,7 @@ const ReachCampaignsApiFp = function (configuration) {
|
|
|
23859
23872
|
});
|
|
23860
23873
|
},
|
|
23861
23874
|
/**
|
|
23862
|
-
* Get a single campaign with its sender, subject, template reference, targeting and delivery progress. This describes how the campaign was set up and how far it has got. For opens, clicks and unsubscribes use the campaign statistics endpoint.
|
|
23875
|
+
* Get a single campaign with its sender, subject, template reference, targeting and delivery progress. This describes how the campaign was set up and how far it has got. For opens, clicks and unsubscribes use the campaign statistics endpoint. The email content is not included: pass `template_uuid` to the get email template endpoint to read its HTML.
|
|
23863
23876
|
* @summary Get campaign details
|
|
23864
23877
|
* @param {string} profileUuid Profile uuid parameter
|
|
23865
23878
|
* @param {string} campaignUuid Campaign uuid parameter
|
|
@@ -23932,7 +23945,7 @@ const ReachCampaignsApiFactory = function (configuration, basePath, axios) {
|
|
|
23932
23945
|
return localVarFp.createADraftCampaignV1(profileUuid, reachV1CampaignsStoreRequest, options).then((request) => request(axios, basePath));
|
|
23933
23946
|
},
|
|
23934
23947
|
/**
|
|
23935
|
-
* Get a single campaign with its sender, subject, template reference, targeting and delivery progress. This describes how the campaign was set up and how far it has got. For opens, clicks and unsubscribes use the campaign statistics endpoint.
|
|
23948
|
+
* Get a single campaign with its sender, subject, template reference, targeting and delivery progress. This describes how the campaign was set up and how far it has got. For opens, clicks and unsubscribes use the campaign statistics endpoint. The email content is not included: pass `template_uuid` to the get email template endpoint to read its HTML.
|
|
23936
23949
|
* @summary Get campaign details
|
|
23937
23950
|
* @param {string} profileUuid Profile uuid parameter
|
|
23938
23951
|
* @param {string} campaignUuid Campaign uuid parameter
|
|
@@ -23991,7 +24004,7 @@ class ReachCampaignsApi extends base_1.BaseAPI {
|
|
|
23991
24004
|
return (0, exports.ReachCampaignsApiFp)(this.configuration).createADraftCampaignV1(profileUuid, reachV1CampaignsStoreRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23992
24005
|
}
|
|
23993
24006
|
/**
|
|
23994
|
-
* Get a single campaign with its sender, subject, template reference, targeting and delivery progress. This describes how the campaign was set up and how far it has got. For opens, clicks and unsubscribes use the campaign statistics endpoint.
|
|
24007
|
+
* Get a single campaign with its sender, subject, template reference, targeting and delivery progress. This describes how the campaign was set up and how far it has got. For opens, clicks and unsubscribes use the campaign statistics endpoint. The email content is not included: pass `template_uuid` to the get email template endpoint to read its HTML.
|
|
23995
24008
|
* @summary Get campaign details
|
|
23996
24009
|
* @param {string} profileUuid Profile uuid parameter
|
|
23997
24010
|
* @param {string} campaignUuid Campaign uuid parameter
|
|
@@ -26005,6 +26018,483 @@ exports.ListFormsV1StatusEnum = {
|
|
|
26005
26018
|
Paused: 'paused',
|
|
26006
26019
|
Draft: 'draft'
|
|
26007
26020
|
};
|
|
26021
|
+
/**
|
|
26022
|
+
* ReachIntegrationsApi - axios parameter creator
|
|
26023
|
+
* @export
|
|
26024
|
+
*/
|
|
26025
|
+
const ReachIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
26026
|
+
return {
|
|
26027
|
+
/**
|
|
26028
|
+
* Connect an AI Website Builder site the customer built manually to the profile, so its subscribers flow into Reach. Fails with not found when the customer owns no AI Website Builder site with that domain. Fails with `DOMAIN_ALREADY_EXISTS` when the domain is connected to any profile - to move a site to another plan, disconnect it from the old profile first - and with `WEBSITE_CONNECTION_ALREADY_EXISTS` when this profile already has an AI Website Builder site. The eCommerce store selling on the site, if it is not connected anywhere, is connected too. WordPress sites and sites made with the agentic AI Website Builder cannot be connected here.
|
|
26029
|
+
* @summary Connect AI Website Builder site
|
|
26030
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26031
|
+
* @param {ReachV1WebsitesWebsiteBuilderConnectRequest} reachV1WebsitesWebsiteBuilderConnectRequest
|
|
26032
|
+
* @param {*} [options] Override http request option.
|
|
26033
|
+
* @throws {RequiredError}
|
|
26034
|
+
*/
|
|
26035
|
+
connectAIWebsiteBuilderSiteV1: (profileUuid_1, reachV1WebsitesWebsiteBuilderConnectRequest_1, ...args_1) => __awaiter(this, [profileUuid_1, reachV1WebsitesWebsiteBuilderConnectRequest_1, ...args_1], void 0, function* (profileUuid, reachV1WebsitesWebsiteBuilderConnectRequest, options = {}) {
|
|
26036
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
26037
|
+
(0, common_1.assertParamExists)('connectAIWebsiteBuilderSiteV1', 'profileUuid', profileUuid);
|
|
26038
|
+
// verify required parameter 'reachV1WebsitesWebsiteBuilderConnectRequest' is not null or undefined
|
|
26039
|
+
(0, common_1.assertParamExists)('connectAIWebsiteBuilderSiteV1', 'reachV1WebsitesWebsiteBuilderConnectRequest', reachV1WebsitesWebsiteBuilderConnectRequest);
|
|
26040
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/websites/website-builder`
|
|
26041
|
+
.replace(`{${"profileUuid"}}`, encodeURIComponent(String(profileUuid)));
|
|
26042
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26043
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26044
|
+
let baseOptions;
|
|
26045
|
+
if (configuration) {
|
|
26046
|
+
baseOptions = configuration.baseOptions;
|
|
26047
|
+
}
|
|
26048
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
26049
|
+
const localVarHeaderParameter = {};
|
|
26050
|
+
const localVarQueryParameter = {};
|
|
26051
|
+
// authentication apiToken required
|
|
26052
|
+
// http bearer authentication required
|
|
26053
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
26054
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26055
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
26056
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26057
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26058
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(reachV1WebsitesWebsiteBuilderConnectRequest, localVarRequestOptions, configuration);
|
|
26059
|
+
return {
|
|
26060
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
26061
|
+
options: localVarRequestOptions,
|
|
26062
|
+
};
|
|
26063
|
+
}),
|
|
26064
|
+
/**
|
|
26065
|
+
* Disconnect an AI Website Builder site from the profile; the site stops sending subscribers to Reach. Take `domain` from the list connected websites endpoint. Works for a site that was already deleted in the builder. Fails with not found when the domain is not connected to this profile. Contacts and any connected eCommerce store stay. The site stays disconnected until it is connected again, so confirm the site and the plan with the customer before calling.
|
|
26066
|
+
* @summary Disconnect AI Website Builder site
|
|
26067
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26068
|
+
* @param {ReachV1WebsitesWebsiteBuilderDisconnectRequest} reachV1WebsitesWebsiteBuilderDisconnectRequest
|
|
26069
|
+
* @param {*} [options] Override http request option.
|
|
26070
|
+
* @throws {RequiredError}
|
|
26071
|
+
*/
|
|
26072
|
+
disconnectAIWebsiteBuilderSiteV1: (profileUuid_1, reachV1WebsitesWebsiteBuilderDisconnectRequest_1, ...args_1) => __awaiter(this, [profileUuid_1, reachV1WebsitesWebsiteBuilderDisconnectRequest_1, ...args_1], void 0, function* (profileUuid, reachV1WebsitesWebsiteBuilderDisconnectRequest, options = {}) {
|
|
26073
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
26074
|
+
(0, common_1.assertParamExists)('disconnectAIWebsiteBuilderSiteV1', 'profileUuid', profileUuid);
|
|
26075
|
+
// verify required parameter 'reachV1WebsitesWebsiteBuilderDisconnectRequest' is not null or undefined
|
|
26076
|
+
(0, common_1.assertParamExists)('disconnectAIWebsiteBuilderSiteV1', 'reachV1WebsitesWebsiteBuilderDisconnectRequest', reachV1WebsitesWebsiteBuilderDisconnectRequest);
|
|
26077
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/websites/website-builder`
|
|
26078
|
+
.replace(`{${"profileUuid"}}`, encodeURIComponent(String(profileUuid)));
|
|
26079
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26080
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26081
|
+
let baseOptions;
|
|
26082
|
+
if (configuration) {
|
|
26083
|
+
baseOptions = configuration.baseOptions;
|
|
26084
|
+
}
|
|
26085
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
26086
|
+
const localVarHeaderParameter = {};
|
|
26087
|
+
const localVarQueryParameter = {};
|
|
26088
|
+
// authentication apiToken required
|
|
26089
|
+
// http bearer authentication required
|
|
26090
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
26091
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26092
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
26093
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26094
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26095
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(reachV1WebsitesWebsiteBuilderDisconnectRequest, localVarRequestOptions, configuration);
|
|
26096
|
+
return {
|
|
26097
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
26098
|
+
options: localVarRequestOptions,
|
|
26099
|
+
};
|
|
26100
|
+
}),
|
|
26101
|
+
/**
|
|
26102
|
+
* Disconnect an eCommerce store from the profile. Reach stops receiving the store\'s customers and orders, and its products and coupons are removed from Reach; contacts and past orders stay. Take `store_id` from the list eCommerce stores endpoint; for a store that is `connected_to_other_profile`, call this with that profile. Also succeeds when the store is not connected to this profile, so success is not proof that anything was disconnected. Confirm the store and the plan with the customer before calling.
|
|
26103
|
+
* @summary Disconnect Ecommerce store
|
|
26104
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26105
|
+
* @param {string} storeId Hostinger eCommerce store ID, as returned by the eCommerce stores list
|
|
26106
|
+
* @param {*} [options] Override http request option.
|
|
26107
|
+
* @throws {RequiredError}
|
|
26108
|
+
*/
|
|
26109
|
+
disconnectEcommerceStoreV1: (profileUuid_1, storeId_1, ...args_1) => __awaiter(this, [profileUuid_1, storeId_1, ...args_1], void 0, function* (profileUuid, storeId, options = {}) {
|
|
26110
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
26111
|
+
(0, common_1.assertParamExists)('disconnectEcommerceStoreV1', 'profileUuid', profileUuid);
|
|
26112
|
+
// verify required parameter 'storeId' is not null or undefined
|
|
26113
|
+
(0, common_1.assertParamExists)('disconnectEcommerceStoreV1', 'storeId', storeId);
|
|
26114
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/ecommerce/stores/{storeId}`
|
|
26115
|
+
.replace(`{${"profileUuid"}}`, encodeURIComponent(String(profileUuid)))
|
|
26116
|
+
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
|
|
26117
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26118
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26119
|
+
let baseOptions;
|
|
26120
|
+
if (configuration) {
|
|
26121
|
+
baseOptions = configuration.baseOptions;
|
|
26122
|
+
}
|
|
26123
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
26124
|
+
const localVarHeaderParameter = {};
|
|
26125
|
+
const localVarQueryParameter = {};
|
|
26126
|
+
// authentication apiToken required
|
|
26127
|
+
// http bearer authentication required
|
|
26128
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
26129
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
26130
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26131
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26132
|
+
return {
|
|
26133
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
26134
|
+
options: localVarRequestOptions,
|
|
26135
|
+
};
|
|
26136
|
+
}),
|
|
26137
|
+
/**
|
|
26138
|
+
* Disconnect a WordPress site from the profile. The Reach plugin on the site stops sending subscribers and store data, and the site\'s products and coupons are removed from Reach; contacts and past orders stay. Take `domain` from the list connected websites endpoint. Fails with not found when the domain is not connected to this profile. This cannot be undone through the API - the customer reconnects from the WordPress plugin - so confirm the site and the plan with the customer before calling.
|
|
26139
|
+
* @summary Disconnect WordPress site
|
|
26140
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26141
|
+
* @param {ReachV1WebsitesWordPressDisconnectRequest} reachV1WebsitesWordPressDisconnectRequest
|
|
26142
|
+
* @param {*} [options] Override http request option.
|
|
26143
|
+
* @throws {RequiredError}
|
|
26144
|
+
*/
|
|
26145
|
+
disconnectWordPressSiteV1: (profileUuid_1, reachV1WebsitesWordPressDisconnectRequest_1, ...args_1) => __awaiter(this, [profileUuid_1, reachV1WebsitesWordPressDisconnectRequest_1, ...args_1], void 0, function* (profileUuid, reachV1WebsitesWordPressDisconnectRequest, options = {}) {
|
|
26146
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
26147
|
+
(0, common_1.assertParamExists)('disconnectWordPressSiteV1', 'profileUuid', profileUuid);
|
|
26148
|
+
// verify required parameter 'reachV1WebsitesWordPressDisconnectRequest' is not null or undefined
|
|
26149
|
+
(0, common_1.assertParamExists)('disconnectWordPressSiteV1', 'reachV1WebsitesWordPressDisconnectRequest', reachV1WebsitesWordPressDisconnectRequest);
|
|
26150
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/websites/wordpress`
|
|
26151
|
+
.replace(`{${"profileUuid"}}`, encodeURIComponent(String(profileUuid)));
|
|
26152
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26153
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26154
|
+
let baseOptions;
|
|
26155
|
+
if (configuration) {
|
|
26156
|
+
baseOptions = configuration.baseOptions;
|
|
26157
|
+
}
|
|
26158
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
26159
|
+
const localVarHeaderParameter = {};
|
|
26160
|
+
const localVarQueryParameter = {};
|
|
26161
|
+
// authentication apiToken required
|
|
26162
|
+
// http bearer authentication required
|
|
26163
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
26164
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26165
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
26166
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26167
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26168
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(reachV1WebsitesWordPressDisconnectRequest, localVarRequestOptions, configuration);
|
|
26169
|
+
return {
|
|
26170
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
26171
|
+
options: localVarRequestOptions,
|
|
26172
|
+
};
|
|
26173
|
+
}),
|
|
26174
|
+
/**
|
|
26175
|
+
* Get the websites connected to the profile, each with its `domain` and `platform_type`. A domain is connected to at most one profile, so to find which plan a site is on, call this for each profile. Only connected sites are listed, not every website the customer owns, and eCommerce stores are not included - use the list eCommerce stores endpoint for those. Pass `domain` to the disconnect WordPress site or disconnect AI Website Builder site endpoint.
|
|
26176
|
+
* @summary List connected websites
|
|
26177
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26178
|
+
* @param {*} [options] Override http request option.
|
|
26179
|
+
* @throws {RequiredError}
|
|
26180
|
+
*/
|
|
26181
|
+
listConnectedWebsitesV1: (profileUuid_1, ...args_1) => __awaiter(this, [profileUuid_1, ...args_1], void 0, function* (profileUuid, options = {}) {
|
|
26182
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
26183
|
+
(0, common_1.assertParamExists)('listConnectedWebsitesV1', 'profileUuid', profileUuid);
|
|
26184
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/websites`
|
|
26185
|
+
.replace(`{${"profileUuid"}}`, encodeURIComponent(String(profileUuid)));
|
|
26186
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26187
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26188
|
+
let baseOptions;
|
|
26189
|
+
if (configuration) {
|
|
26190
|
+
baseOptions = configuration.baseOptions;
|
|
26191
|
+
}
|
|
26192
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
26193
|
+
const localVarHeaderParameter = {};
|
|
26194
|
+
const localVarQueryParameter = {};
|
|
26195
|
+
// authentication apiToken required
|
|
26196
|
+
// http bearer authentication required
|
|
26197
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
26198
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
26199
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26200
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26201
|
+
return {
|
|
26202
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
26203
|
+
options: localVarRequestOptions,
|
|
26204
|
+
};
|
|
26205
|
+
}),
|
|
26206
|
+
/**
|
|
26207
|
+
* Get all of the customer\'s Hostinger eCommerce stores, each with its `store_id` and `connection_status` for the profile in the path. A store is connected to at most one profile. `connected_to_other_profile` does not name that profile - call this for each profile to find it. The list is empty, not an error, when the eCommerce service cannot be reached. Pass `store_id` to the disconnect eCommerce store endpoint. Connecting an AI Website Builder site connects the store selling on it.
|
|
26208
|
+
* @summary List Ecommerce stores
|
|
26209
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26210
|
+
* @param {*} [options] Override http request option.
|
|
26211
|
+
* @throws {RequiredError}
|
|
26212
|
+
*/
|
|
26213
|
+
listEcommerceStoresV1: (profileUuid_1, ...args_1) => __awaiter(this, [profileUuid_1, ...args_1], void 0, function* (profileUuid, options = {}) {
|
|
26214
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
26215
|
+
(0, common_1.assertParamExists)('listEcommerceStoresV1', 'profileUuid', profileUuid);
|
|
26216
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/ecommerce/stores`
|
|
26217
|
+
.replace(`{${"profileUuid"}}`, encodeURIComponent(String(profileUuid)));
|
|
26218
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26219
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26220
|
+
let baseOptions;
|
|
26221
|
+
if (configuration) {
|
|
26222
|
+
baseOptions = configuration.baseOptions;
|
|
26223
|
+
}
|
|
26224
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
26225
|
+
const localVarHeaderParameter = {};
|
|
26226
|
+
const localVarQueryParameter = {};
|
|
26227
|
+
// authentication apiToken required
|
|
26228
|
+
// http bearer authentication required
|
|
26229
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
26230
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
26231
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26232
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26233
|
+
return {
|
|
26234
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
26235
|
+
options: localVarRequestOptions,
|
|
26236
|
+
};
|
|
26237
|
+
}),
|
|
26238
|
+
};
|
|
26239
|
+
};
|
|
26240
|
+
exports.ReachIntegrationsApiAxiosParamCreator = ReachIntegrationsApiAxiosParamCreator;
|
|
26241
|
+
/**
|
|
26242
|
+
* ReachIntegrationsApi - functional programming interface
|
|
26243
|
+
* @export
|
|
26244
|
+
*/
|
|
26245
|
+
const ReachIntegrationsApiFp = function (configuration) {
|
|
26246
|
+
const localVarAxiosParamCreator = (0, exports.ReachIntegrationsApiAxiosParamCreator)(configuration);
|
|
26247
|
+
return {
|
|
26248
|
+
/**
|
|
26249
|
+
* Connect an AI Website Builder site the customer built manually to the profile, so its subscribers flow into Reach. Fails with not found when the customer owns no AI Website Builder site with that domain. Fails with `DOMAIN_ALREADY_EXISTS` when the domain is connected to any profile - to move a site to another plan, disconnect it from the old profile first - and with `WEBSITE_CONNECTION_ALREADY_EXISTS` when this profile already has an AI Website Builder site. The eCommerce store selling on the site, if it is not connected anywhere, is connected too. WordPress sites and sites made with the agentic AI Website Builder cannot be connected here.
|
|
26250
|
+
* @summary Connect AI Website Builder site
|
|
26251
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26252
|
+
* @param {ReachV1WebsitesWebsiteBuilderConnectRequest} reachV1WebsitesWebsiteBuilderConnectRequest
|
|
26253
|
+
* @param {*} [options] Override http request option.
|
|
26254
|
+
* @throws {RequiredError}
|
|
26255
|
+
*/
|
|
26256
|
+
connectAIWebsiteBuilderSiteV1(profileUuid, reachV1WebsitesWebsiteBuilderConnectRequest, options) {
|
|
26257
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26258
|
+
var _a, _b;
|
|
26259
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.connectAIWebsiteBuilderSiteV1(profileUuid, reachV1WebsitesWebsiteBuilderConnectRequest, options);
|
|
26260
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['ReachIntegrationsApi.connectAIWebsiteBuilderSiteV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
26261
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26262
|
+
});
|
|
26263
|
+
},
|
|
26264
|
+
/**
|
|
26265
|
+
* Disconnect an AI Website Builder site from the profile; the site stops sending subscribers to Reach. Take `domain` from the list connected websites endpoint. Works for a site that was already deleted in the builder. Fails with not found when the domain is not connected to this profile. Contacts and any connected eCommerce store stay. The site stays disconnected until it is connected again, so confirm the site and the plan with the customer before calling.
|
|
26266
|
+
* @summary Disconnect AI Website Builder site
|
|
26267
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26268
|
+
* @param {ReachV1WebsitesWebsiteBuilderDisconnectRequest} reachV1WebsitesWebsiteBuilderDisconnectRequest
|
|
26269
|
+
* @param {*} [options] Override http request option.
|
|
26270
|
+
* @throws {RequiredError}
|
|
26271
|
+
*/
|
|
26272
|
+
disconnectAIWebsiteBuilderSiteV1(profileUuid, reachV1WebsitesWebsiteBuilderDisconnectRequest, options) {
|
|
26273
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26274
|
+
var _a, _b;
|
|
26275
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.disconnectAIWebsiteBuilderSiteV1(profileUuid, reachV1WebsitesWebsiteBuilderDisconnectRequest, options);
|
|
26276
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['ReachIntegrationsApi.disconnectAIWebsiteBuilderSiteV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
26277
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26278
|
+
});
|
|
26279
|
+
},
|
|
26280
|
+
/**
|
|
26281
|
+
* Disconnect an eCommerce store from the profile. Reach stops receiving the store\'s customers and orders, and its products and coupons are removed from Reach; contacts and past orders stay. Take `store_id` from the list eCommerce stores endpoint; for a store that is `connected_to_other_profile`, call this with that profile. Also succeeds when the store is not connected to this profile, so success is not proof that anything was disconnected. Confirm the store and the plan with the customer before calling.
|
|
26282
|
+
* @summary Disconnect Ecommerce store
|
|
26283
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26284
|
+
* @param {string} storeId Hostinger eCommerce store ID, as returned by the eCommerce stores list
|
|
26285
|
+
* @param {*} [options] Override http request option.
|
|
26286
|
+
* @throws {RequiredError}
|
|
26287
|
+
*/
|
|
26288
|
+
disconnectEcommerceStoreV1(profileUuid, storeId, options) {
|
|
26289
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26290
|
+
var _a, _b;
|
|
26291
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.disconnectEcommerceStoreV1(profileUuid, storeId, options);
|
|
26292
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['ReachIntegrationsApi.disconnectEcommerceStoreV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
26293
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26294
|
+
});
|
|
26295
|
+
},
|
|
26296
|
+
/**
|
|
26297
|
+
* Disconnect a WordPress site from the profile. The Reach plugin on the site stops sending subscribers and store data, and the site\'s products and coupons are removed from Reach; contacts and past orders stay. Take `domain` from the list connected websites endpoint. Fails with not found when the domain is not connected to this profile. This cannot be undone through the API - the customer reconnects from the WordPress plugin - so confirm the site and the plan with the customer before calling.
|
|
26298
|
+
* @summary Disconnect WordPress site
|
|
26299
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26300
|
+
* @param {ReachV1WebsitesWordPressDisconnectRequest} reachV1WebsitesWordPressDisconnectRequest
|
|
26301
|
+
* @param {*} [options] Override http request option.
|
|
26302
|
+
* @throws {RequiredError}
|
|
26303
|
+
*/
|
|
26304
|
+
disconnectWordPressSiteV1(profileUuid, reachV1WebsitesWordPressDisconnectRequest, options) {
|
|
26305
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26306
|
+
var _a, _b;
|
|
26307
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.disconnectWordPressSiteV1(profileUuid, reachV1WebsitesWordPressDisconnectRequest, options);
|
|
26308
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['ReachIntegrationsApi.disconnectWordPressSiteV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
26309
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26310
|
+
});
|
|
26311
|
+
},
|
|
26312
|
+
/**
|
|
26313
|
+
* Get the websites connected to the profile, each with its `domain` and `platform_type`. A domain is connected to at most one profile, so to find which plan a site is on, call this for each profile. Only connected sites are listed, not every website the customer owns, and eCommerce stores are not included - use the list eCommerce stores endpoint for those. Pass `domain` to the disconnect WordPress site or disconnect AI Website Builder site endpoint.
|
|
26314
|
+
* @summary List connected websites
|
|
26315
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26316
|
+
* @param {*} [options] Override http request option.
|
|
26317
|
+
* @throws {RequiredError}
|
|
26318
|
+
*/
|
|
26319
|
+
listConnectedWebsitesV1(profileUuid, options) {
|
|
26320
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26321
|
+
var _a, _b;
|
|
26322
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listConnectedWebsitesV1(profileUuid, options);
|
|
26323
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['ReachIntegrationsApi.listConnectedWebsitesV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
26324
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26325
|
+
});
|
|
26326
|
+
},
|
|
26327
|
+
/**
|
|
26328
|
+
* Get all of the customer\'s Hostinger eCommerce stores, each with its `store_id` and `connection_status` for the profile in the path. A store is connected to at most one profile. `connected_to_other_profile` does not name that profile - call this for each profile to find it. The list is empty, not an error, when the eCommerce service cannot be reached. Pass `store_id` to the disconnect eCommerce store endpoint. Connecting an AI Website Builder site connects the store selling on it.
|
|
26329
|
+
* @summary List Ecommerce stores
|
|
26330
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26331
|
+
* @param {*} [options] Override http request option.
|
|
26332
|
+
* @throws {RequiredError}
|
|
26333
|
+
*/
|
|
26334
|
+
listEcommerceStoresV1(profileUuid, options) {
|
|
26335
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26336
|
+
var _a, _b;
|
|
26337
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listEcommerceStoresV1(profileUuid, options);
|
|
26338
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['ReachIntegrationsApi.listEcommerceStoresV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
26339
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26340
|
+
});
|
|
26341
|
+
},
|
|
26342
|
+
};
|
|
26343
|
+
};
|
|
26344
|
+
exports.ReachIntegrationsApiFp = ReachIntegrationsApiFp;
|
|
26345
|
+
/**
|
|
26346
|
+
* ReachIntegrationsApi - factory interface
|
|
26347
|
+
* @export
|
|
26348
|
+
*/
|
|
26349
|
+
const ReachIntegrationsApiFactory = function (configuration, basePath, axios) {
|
|
26350
|
+
const localVarFp = (0, exports.ReachIntegrationsApiFp)(configuration);
|
|
26351
|
+
return {
|
|
26352
|
+
/**
|
|
26353
|
+
* Connect an AI Website Builder site the customer built manually to the profile, so its subscribers flow into Reach. Fails with not found when the customer owns no AI Website Builder site with that domain. Fails with `DOMAIN_ALREADY_EXISTS` when the domain is connected to any profile - to move a site to another plan, disconnect it from the old profile first - and with `WEBSITE_CONNECTION_ALREADY_EXISTS` when this profile already has an AI Website Builder site. The eCommerce store selling on the site, if it is not connected anywhere, is connected too. WordPress sites and sites made with the agentic AI Website Builder cannot be connected here.
|
|
26354
|
+
* @summary Connect AI Website Builder site
|
|
26355
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26356
|
+
* @param {ReachV1WebsitesWebsiteBuilderConnectRequest} reachV1WebsitesWebsiteBuilderConnectRequest
|
|
26357
|
+
* @param {*} [options] Override http request option.
|
|
26358
|
+
* @throws {RequiredError}
|
|
26359
|
+
*/
|
|
26360
|
+
connectAIWebsiteBuilderSiteV1(profileUuid, reachV1WebsitesWebsiteBuilderConnectRequest, options) {
|
|
26361
|
+
return localVarFp.connectAIWebsiteBuilderSiteV1(profileUuid, reachV1WebsitesWebsiteBuilderConnectRequest, options).then((request) => request(axios, basePath));
|
|
26362
|
+
},
|
|
26363
|
+
/**
|
|
26364
|
+
* Disconnect an AI Website Builder site from the profile; the site stops sending subscribers to Reach. Take `domain` from the list connected websites endpoint. Works for a site that was already deleted in the builder. Fails with not found when the domain is not connected to this profile. Contacts and any connected eCommerce store stay. The site stays disconnected until it is connected again, so confirm the site and the plan with the customer before calling.
|
|
26365
|
+
* @summary Disconnect AI Website Builder site
|
|
26366
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26367
|
+
* @param {ReachV1WebsitesWebsiteBuilderDisconnectRequest} reachV1WebsitesWebsiteBuilderDisconnectRequest
|
|
26368
|
+
* @param {*} [options] Override http request option.
|
|
26369
|
+
* @throws {RequiredError}
|
|
26370
|
+
*/
|
|
26371
|
+
disconnectAIWebsiteBuilderSiteV1(profileUuid, reachV1WebsitesWebsiteBuilderDisconnectRequest, options) {
|
|
26372
|
+
return localVarFp.disconnectAIWebsiteBuilderSiteV1(profileUuid, reachV1WebsitesWebsiteBuilderDisconnectRequest, options).then((request) => request(axios, basePath));
|
|
26373
|
+
},
|
|
26374
|
+
/**
|
|
26375
|
+
* Disconnect an eCommerce store from the profile. Reach stops receiving the store\'s customers and orders, and its products and coupons are removed from Reach; contacts and past orders stay. Take `store_id` from the list eCommerce stores endpoint; for a store that is `connected_to_other_profile`, call this with that profile. Also succeeds when the store is not connected to this profile, so success is not proof that anything was disconnected. Confirm the store and the plan with the customer before calling.
|
|
26376
|
+
* @summary Disconnect Ecommerce store
|
|
26377
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26378
|
+
* @param {string} storeId Hostinger eCommerce store ID, as returned by the eCommerce stores list
|
|
26379
|
+
* @param {*} [options] Override http request option.
|
|
26380
|
+
* @throws {RequiredError}
|
|
26381
|
+
*/
|
|
26382
|
+
disconnectEcommerceStoreV1(profileUuid, storeId, options) {
|
|
26383
|
+
return localVarFp.disconnectEcommerceStoreV1(profileUuid, storeId, options).then((request) => request(axios, basePath));
|
|
26384
|
+
},
|
|
26385
|
+
/**
|
|
26386
|
+
* Disconnect a WordPress site from the profile. The Reach plugin on the site stops sending subscribers and store data, and the site\'s products and coupons are removed from Reach; contacts and past orders stay. Take `domain` from the list connected websites endpoint. Fails with not found when the domain is not connected to this profile. This cannot be undone through the API - the customer reconnects from the WordPress plugin - so confirm the site and the plan with the customer before calling.
|
|
26387
|
+
* @summary Disconnect WordPress site
|
|
26388
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26389
|
+
* @param {ReachV1WebsitesWordPressDisconnectRequest} reachV1WebsitesWordPressDisconnectRequest
|
|
26390
|
+
* @param {*} [options] Override http request option.
|
|
26391
|
+
* @throws {RequiredError}
|
|
26392
|
+
*/
|
|
26393
|
+
disconnectWordPressSiteV1(profileUuid, reachV1WebsitesWordPressDisconnectRequest, options) {
|
|
26394
|
+
return localVarFp.disconnectWordPressSiteV1(profileUuid, reachV1WebsitesWordPressDisconnectRequest, options).then((request) => request(axios, basePath));
|
|
26395
|
+
},
|
|
26396
|
+
/**
|
|
26397
|
+
* Get the websites connected to the profile, each with its `domain` and `platform_type`. A domain is connected to at most one profile, so to find which plan a site is on, call this for each profile. Only connected sites are listed, not every website the customer owns, and eCommerce stores are not included - use the list eCommerce stores endpoint for those. Pass `domain` to the disconnect WordPress site or disconnect AI Website Builder site endpoint.
|
|
26398
|
+
* @summary List connected websites
|
|
26399
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26400
|
+
* @param {*} [options] Override http request option.
|
|
26401
|
+
* @throws {RequiredError}
|
|
26402
|
+
*/
|
|
26403
|
+
listConnectedWebsitesV1(profileUuid, options) {
|
|
26404
|
+
return localVarFp.listConnectedWebsitesV1(profileUuid, options).then((request) => request(axios, basePath));
|
|
26405
|
+
},
|
|
26406
|
+
/**
|
|
26407
|
+
* Get all of the customer\'s Hostinger eCommerce stores, each with its `store_id` and `connection_status` for the profile in the path. A store is connected to at most one profile. `connected_to_other_profile` does not name that profile - call this for each profile to find it. The list is empty, not an error, when the eCommerce service cannot be reached. Pass `store_id` to the disconnect eCommerce store endpoint. Connecting an AI Website Builder site connects the store selling on it.
|
|
26408
|
+
* @summary List Ecommerce stores
|
|
26409
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26410
|
+
* @param {*} [options] Override http request option.
|
|
26411
|
+
* @throws {RequiredError}
|
|
26412
|
+
*/
|
|
26413
|
+
listEcommerceStoresV1(profileUuid, options) {
|
|
26414
|
+
return localVarFp.listEcommerceStoresV1(profileUuid, options).then((request) => request(axios, basePath));
|
|
26415
|
+
},
|
|
26416
|
+
};
|
|
26417
|
+
};
|
|
26418
|
+
exports.ReachIntegrationsApiFactory = ReachIntegrationsApiFactory;
|
|
26419
|
+
/**
|
|
26420
|
+
* ReachIntegrationsApi - object-oriented interface
|
|
26421
|
+
* @export
|
|
26422
|
+
* @class ReachIntegrationsApi
|
|
26423
|
+
* @extends {BaseAPI}
|
|
26424
|
+
*/
|
|
26425
|
+
class ReachIntegrationsApi extends base_1.BaseAPI {
|
|
26426
|
+
/**
|
|
26427
|
+
* Connect an AI Website Builder site the customer built manually to the profile, so its subscribers flow into Reach. Fails with not found when the customer owns no AI Website Builder site with that domain. Fails with `DOMAIN_ALREADY_EXISTS` when the domain is connected to any profile - to move a site to another plan, disconnect it from the old profile first - and with `WEBSITE_CONNECTION_ALREADY_EXISTS` when this profile already has an AI Website Builder site. The eCommerce store selling on the site, if it is not connected anywhere, is connected too. WordPress sites and sites made with the agentic AI Website Builder cannot be connected here.
|
|
26428
|
+
* @summary Connect AI Website Builder site
|
|
26429
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26430
|
+
* @param {ReachV1WebsitesWebsiteBuilderConnectRequest} reachV1WebsitesWebsiteBuilderConnectRequest
|
|
26431
|
+
* @param {*} [options] Override http request option.
|
|
26432
|
+
* @throws {RequiredError}
|
|
26433
|
+
* @memberof ReachIntegrationsApi
|
|
26434
|
+
*/
|
|
26435
|
+
connectAIWebsiteBuilderSiteV1(profileUuid, reachV1WebsitesWebsiteBuilderConnectRequest, options) {
|
|
26436
|
+
return (0, exports.ReachIntegrationsApiFp)(this.configuration).connectAIWebsiteBuilderSiteV1(profileUuid, reachV1WebsitesWebsiteBuilderConnectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26437
|
+
}
|
|
26438
|
+
/**
|
|
26439
|
+
* Disconnect an AI Website Builder site from the profile; the site stops sending subscribers to Reach. Take `domain` from the list connected websites endpoint. Works for a site that was already deleted in the builder. Fails with not found when the domain is not connected to this profile. Contacts and any connected eCommerce store stay. The site stays disconnected until it is connected again, so confirm the site and the plan with the customer before calling.
|
|
26440
|
+
* @summary Disconnect AI Website Builder site
|
|
26441
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26442
|
+
* @param {ReachV1WebsitesWebsiteBuilderDisconnectRequest} reachV1WebsitesWebsiteBuilderDisconnectRequest
|
|
26443
|
+
* @param {*} [options] Override http request option.
|
|
26444
|
+
* @throws {RequiredError}
|
|
26445
|
+
* @memberof ReachIntegrationsApi
|
|
26446
|
+
*/
|
|
26447
|
+
disconnectAIWebsiteBuilderSiteV1(profileUuid, reachV1WebsitesWebsiteBuilderDisconnectRequest, options) {
|
|
26448
|
+
return (0, exports.ReachIntegrationsApiFp)(this.configuration).disconnectAIWebsiteBuilderSiteV1(profileUuid, reachV1WebsitesWebsiteBuilderDisconnectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26449
|
+
}
|
|
26450
|
+
/**
|
|
26451
|
+
* Disconnect an eCommerce store from the profile. Reach stops receiving the store\'s customers and orders, and its products and coupons are removed from Reach; contacts and past orders stay. Take `store_id` from the list eCommerce stores endpoint; for a store that is `connected_to_other_profile`, call this with that profile. Also succeeds when the store is not connected to this profile, so success is not proof that anything was disconnected. Confirm the store and the plan with the customer before calling.
|
|
26452
|
+
* @summary Disconnect Ecommerce store
|
|
26453
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26454
|
+
* @param {string} storeId Hostinger eCommerce store ID, as returned by the eCommerce stores list
|
|
26455
|
+
* @param {*} [options] Override http request option.
|
|
26456
|
+
* @throws {RequiredError}
|
|
26457
|
+
* @memberof ReachIntegrationsApi
|
|
26458
|
+
*/
|
|
26459
|
+
disconnectEcommerceStoreV1(profileUuid, storeId, options) {
|
|
26460
|
+
return (0, exports.ReachIntegrationsApiFp)(this.configuration).disconnectEcommerceStoreV1(profileUuid, storeId, options).then((request) => request(this.axios, this.basePath));
|
|
26461
|
+
}
|
|
26462
|
+
/**
|
|
26463
|
+
* Disconnect a WordPress site from the profile. The Reach plugin on the site stops sending subscribers and store data, and the site\'s products and coupons are removed from Reach; contacts and past orders stay. Take `domain` from the list connected websites endpoint. Fails with not found when the domain is not connected to this profile. This cannot be undone through the API - the customer reconnects from the WordPress plugin - so confirm the site and the plan with the customer before calling.
|
|
26464
|
+
* @summary Disconnect WordPress site
|
|
26465
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26466
|
+
* @param {ReachV1WebsitesWordPressDisconnectRequest} reachV1WebsitesWordPressDisconnectRequest
|
|
26467
|
+
* @param {*} [options] Override http request option.
|
|
26468
|
+
* @throws {RequiredError}
|
|
26469
|
+
* @memberof ReachIntegrationsApi
|
|
26470
|
+
*/
|
|
26471
|
+
disconnectWordPressSiteV1(profileUuid, reachV1WebsitesWordPressDisconnectRequest, options) {
|
|
26472
|
+
return (0, exports.ReachIntegrationsApiFp)(this.configuration).disconnectWordPressSiteV1(profileUuid, reachV1WebsitesWordPressDisconnectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26473
|
+
}
|
|
26474
|
+
/**
|
|
26475
|
+
* Get the websites connected to the profile, each with its `domain` and `platform_type`. A domain is connected to at most one profile, so to find which plan a site is on, call this for each profile. Only connected sites are listed, not every website the customer owns, and eCommerce stores are not included - use the list eCommerce stores endpoint for those. Pass `domain` to the disconnect WordPress site or disconnect AI Website Builder site endpoint.
|
|
26476
|
+
* @summary List connected websites
|
|
26477
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26478
|
+
* @param {*} [options] Override http request option.
|
|
26479
|
+
* @throws {RequiredError}
|
|
26480
|
+
* @memberof ReachIntegrationsApi
|
|
26481
|
+
*/
|
|
26482
|
+
listConnectedWebsitesV1(profileUuid, options) {
|
|
26483
|
+
return (0, exports.ReachIntegrationsApiFp)(this.configuration).listConnectedWebsitesV1(profileUuid, options).then((request) => request(this.axios, this.basePath));
|
|
26484
|
+
}
|
|
26485
|
+
/**
|
|
26486
|
+
* Get all of the customer\'s Hostinger eCommerce stores, each with its `store_id` and `connection_status` for the profile in the path. A store is connected to at most one profile. `connected_to_other_profile` does not name that profile - call this for each profile to find it. The list is empty, not an error, when the eCommerce service cannot be reached. Pass `store_id` to the disconnect eCommerce store endpoint. Connecting an AI Website Builder site connects the store selling on it.
|
|
26487
|
+
* @summary List Ecommerce stores
|
|
26488
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
26489
|
+
* @param {*} [options] Override http request option.
|
|
26490
|
+
* @throws {RequiredError}
|
|
26491
|
+
* @memberof ReachIntegrationsApi
|
|
26492
|
+
*/
|
|
26493
|
+
listEcommerceStoresV1(profileUuid, options) {
|
|
26494
|
+
return (0, exports.ReachIntegrationsApiFp)(this.configuration).listEcommerceStoresV1(profileUuid, options).then((request) => request(this.axios, this.basePath));
|
|
26495
|
+
}
|
|
26496
|
+
}
|
|
26497
|
+
exports.ReachIntegrationsApi = ReachIntegrationsApi;
|
|
26008
26498
|
/**
|
|
26009
26499
|
* ReachProfilesApi - axios parameter creator
|
|
26010
26500
|
* @export
|
|
@@ -28433,7 +28923,43 @@ const ReachTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
28433
28923
|
};
|
|
28434
28924
|
}),
|
|
28435
28925
|
/**
|
|
28436
|
-
* Get
|
|
28926
|
+
* Get one email template of the profile with its full HTML in `template_content`. A campaign\'s email content is its template: to read what a campaign sends, get the campaign and pass its `template_uuid` here. The HTML can be large, so fetch it only when the content itself is needed, never to browse or pick templates - the list email templates endpoint does that without content. Personalization tags such as `{{name}}` come back unrendered.
|
|
28927
|
+
* @summary Get email template
|
|
28928
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
28929
|
+
* @param {string} templateUuid Template uuid parameter
|
|
28930
|
+
* @param {*} [options] Override http request option.
|
|
28931
|
+
* @throws {RequiredError}
|
|
28932
|
+
*/
|
|
28933
|
+
getEmailTemplateV1: (profileUuid_1, templateUuid_1, ...args_1) => __awaiter(this, [profileUuid_1, templateUuid_1, ...args_1], void 0, function* (profileUuid, templateUuid, options = {}) {
|
|
28934
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
28935
|
+
(0, common_1.assertParamExists)('getEmailTemplateV1', 'profileUuid', profileUuid);
|
|
28936
|
+
// verify required parameter 'templateUuid' is not null or undefined
|
|
28937
|
+
(0, common_1.assertParamExists)('getEmailTemplateV1', 'templateUuid', templateUuid);
|
|
28938
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/templates/{templateUuid}`
|
|
28939
|
+
.replace(`{${"profileUuid"}}`, encodeURIComponent(String(profileUuid)))
|
|
28940
|
+
.replace(`{${"templateUuid"}}`, encodeURIComponent(String(templateUuid)));
|
|
28941
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28942
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
28943
|
+
let baseOptions;
|
|
28944
|
+
if (configuration) {
|
|
28945
|
+
baseOptions = configuration.baseOptions;
|
|
28946
|
+
}
|
|
28947
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
28948
|
+
const localVarHeaderParameter = {};
|
|
28949
|
+
const localVarQueryParameter = {};
|
|
28950
|
+
// authentication apiToken required
|
|
28951
|
+
// http bearer authentication required
|
|
28952
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
28953
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
28954
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28955
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
28956
|
+
return {
|
|
28957
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
28958
|
+
options: localVarRequestOptions,
|
|
28959
|
+
};
|
|
28960
|
+
}),
|
|
28961
|
+
/**
|
|
28962
|
+
* Get a list of the email templates in a profile, most recently updated first. Templates are the reusable email bodies a campaign is built from. The list is not paginated and only the metadata is returned, without the HTML content. Use the `uuid` of a template as the `template_uuid` when creating a campaign. To read one template\'s HTML use the get email template endpoint, and only when the content itself is needed.
|
|
28437
28963
|
* @summary List email templates
|
|
28438
28964
|
* @param {string} profileUuid Profile uuid parameter
|
|
28439
28965
|
* @param {*} [options] Override http request option.
|
|
@@ -28491,7 +29017,23 @@ const ReachTemplatesApiFp = function (configuration) {
|
|
|
28491
29017
|
});
|
|
28492
29018
|
},
|
|
28493
29019
|
/**
|
|
28494
|
-
* Get
|
|
29020
|
+
* Get one email template of the profile with its full HTML in `template_content`. A campaign\'s email content is its template: to read what a campaign sends, get the campaign and pass its `template_uuid` here. The HTML can be large, so fetch it only when the content itself is needed, never to browse or pick templates - the list email templates endpoint does that without content. Personalization tags such as `{{name}}` come back unrendered.
|
|
29021
|
+
* @summary Get email template
|
|
29022
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
29023
|
+
* @param {string} templateUuid Template uuid parameter
|
|
29024
|
+
* @param {*} [options] Override http request option.
|
|
29025
|
+
* @throws {RequiredError}
|
|
29026
|
+
*/
|
|
29027
|
+
getEmailTemplateV1(profileUuid, templateUuid, options) {
|
|
29028
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29029
|
+
var _a, _b;
|
|
29030
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEmailTemplateV1(profileUuid, templateUuid, options);
|
|
29031
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['ReachTemplatesApi.getEmailTemplateV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
29032
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29033
|
+
});
|
|
29034
|
+
},
|
|
29035
|
+
/**
|
|
29036
|
+
* Get a list of the email templates in a profile, most recently updated first. Templates are the reusable email bodies a campaign is built from. The list is not paginated and only the metadata is returned, without the HTML content. Use the `uuid` of a template as the `template_uuid` when creating a campaign. To read one template\'s HTML use the get email template endpoint, and only when the content itself is needed.
|
|
28495
29037
|
* @summary List email templates
|
|
28496
29038
|
* @param {string} profileUuid Profile uuid parameter
|
|
28497
29039
|
* @param {*} [options] Override http request option.
|
|
@@ -28527,7 +29069,18 @@ const ReachTemplatesApiFactory = function (configuration, basePath, axios) {
|
|
|
28527
29069
|
return localVarFp.createAnEmailTemplateV1(profileUuid, reachV1TemplatesStoreRequest, options).then((request) => request(axios, basePath));
|
|
28528
29070
|
},
|
|
28529
29071
|
/**
|
|
28530
|
-
* Get
|
|
29072
|
+
* Get one email template of the profile with its full HTML in `template_content`. A campaign\'s email content is its template: to read what a campaign sends, get the campaign and pass its `template_uuid` here. The HTML can be large, so fetch it only when the content itself is needed, never to browse or pick templates - the list email templates endpoint does that without content. Personalization tags such as `{{name}}` come back unrendered.
|
|
29073
|
+
* @summary Get email template
|
|
29074
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
29075
|
+
* @param {string} templateUuid Template uuid parameter
|
|
29076
|
+
* @param {*} [options] Override http request option.
|
|
29077
|
+
* @throws {RequiredError}
|
|
29078
|
+
*/
|
|
29079
|
+
getEmailTemplateV1(profileUuid, templateUuid, options) {
|
|
29080
|
+
return localVarFp.getEmailTemplateV1(profileUuid, templateUuid, options).then((request) => request(axios, basePath));
|
|
29081
|
+
},
|
|
29082
|
+
/**
|
|
29083
|
+
* Get a list of the email templates in a profile, most recently updated first. Templates are the reusable email bodies a campaign is built from. The list is not paginated and only the metadata is returned, without the HTML content. Use the `uuid` of a template as the `template_uuid` when creating a campaign. To read one template\'s HTML use the get email template endpoint, and only when the content itself is needed.
|
|
28531
29084
|
* @summary List email templates
|
|
28532
29085
|
* @param {string} profileUuid Profile uuid parameter
|
|
28533
29086
|
* @param {*} [options] Override http request option.
|
|
@@ -28559,7 +29112,19 @@ class ReachTemplatesApi extends base_1.BaseAPI {
|
|
|
28559
29112
|
return (0, exports.ReachTemplatesApiFp)(this.configuration).createAnEmailTemplateV1(profileUuid, reachV1TemplatesStoreRequest, options).then((request) => request(this.axios, this.basePath));
|
|
28560
29113
|
}
|
|
28561
29114
|
/**
|
|
28562
|
-
* Get
|
|
29115
|
+
* Get one email template of the profile with its full HTML in `template_content`. A campaign\'s email content is its template: to read what a campaign sends, get the campaign and pass its `template_uuid` here. The HTML can be large, so fetch it only when the content itself is needed, never to browse or pick templates - the list email templates endpoint does that without content. Personalization tags such as `{{name}}` come back unrendered.
|
|
29116
|
+
* @summary Get email template
|
|
29117
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
29118
|
+
* @param {string} templateUuid Template uuid parameter
|
|
29119
|
+
* @param {*} [options] Override http request option.
|
|
29120
|
+
* @throws {RequiredError}
|
|
29121
|
+
* @memberof ReachTemplatesApi
|
|
29122
|
+
*/
|
|
29123
|
+
getEmailTemplateV1(profileUuid, templateUuid, options) {
|
|
29124
|
+
return (0, exports.ReachTemplatesApiFp)(this.configuration).getEmailTemplateV1(profileUuid, templateUuid, options).then((request) => request(this.axios, this.basePath));
|
|
29125
|
+
}
|
|
29126
|
+
/**
|
|
29127
|
+
* Get a list of the email templates in a profile, most recently updated first. Templates are the reusable email bodies a campaign is built from. The list is not paginated and only the metadata is returned, without the HTML content. Use the `uuid` of a template as the `template_uuid` when creating a campaign. To read one template\'s HTML use the get email template endpoint, and only when the content itself is needed.
|
|
28563
29128
|
* @summary List email templates
|
|
28564
29129
|
* @param {string} profileUuid Profile uuid parameter
|
|
28565
29130
|
* @param {*} [options] Override http request option.
|