hostinger-api-sdk 1.39.0 → 1.40.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 +518 -116
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +440 -66
- package/dist/api.js +199 -121
- 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 +440 -66
- package/dist/esm/api.js +189 -111
- 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/AgencyHostingListAgencyPlanWebsitesV1200Response.md +22 -0
- package/docs/AgencyHostingV1WebsitesBuilderWebsiteDetailsResource.md +28 -0
- package/docs/AgencyHostingV1WebsitesH5gWebsiteDetailsResource.md +46 -0
- package/docs/AgencyHostingV1WebsitesPlanResource.md +25 -0
- package/docs/AgencyHostingV1WebsitesU4sWebsiteDetailsResource.md +36 -0
- package/docs/AgencyHostingV1WebsitesWebsiteListItemResource.md +37 -0
- package/docs/AgencyHostingV1WebsitesWebsiteListItemResourceDetails.md +59 -0
- package/docs/AgencyHostingWebsitesApi.md +69 -0
- package/docs/HostingDatabasesApi.md +2 -2
- package/docs/HostingNodeJSApi.md +0 -62
- package/docs/HostingWebsitesApi.md +7 -4
- package/docs/WordPressInstallationsApi.md +2 -2
- package/docs/WordPressPluginsApi.md +2 -2
- 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: 1.
|
|
7
|
+
* API Version: 1.42.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
|
|
@@ -19,16 +19,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
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 = void 0;
|
|
22
|
+
exports.HostingV1NodeJsStartBuildRequestAppTypeEnum = exports.HostingV1NodeJsStartBuildRequestNodeVersionEnum = exports.HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = exports.HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum = exports.HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum = exports.HostingV1NodeJsBuildSettingsResourcePackageManagerEnum = exports.HostingV1NodeJsBuildSettingsResourceAppTypeEnum = exports.HostingV1NodeJsBuildResourceStateEnum = exports.HostingV1NodeJsBuildOptionsResourceSourceTypeEnum = exports.HostingV1NodeJsBuildOptionsResourcePackageManagerEnum = exports.HostingV1NodeJsBuildOptionsResourceAppTypeEnum = exports.HostingV1FilesFilesResourceItemsInnerTypeEnum = exports.HostingV1DomainsParkedDomainResourceTypeEnum = exports.HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum = exports.EcommerceV1StoreStoreRequestSalesChannelTypeEnum = exports.EcommerceV1StoreStoreCreationResourceSalesChannelTypeEnum = exports.EcommerceV1SalesChannelStoreRequestTypeEnum = exports.EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInnerTypeEnum = exports.EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannelTypeEnum = exports.EcommerceV1ProductProductCreationResourceProductTypeEnum = 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.BillingV1OrderOrderResourceStatusEnum = exports.BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum = exports.AgencyHostingV1WebsitesWebsiteResourceStateEnum = exports.AgencyHostingV1WebsitesWebsiteProcessResourceStatusEnum = exports.AgencyHostingV1WebsitesWebsiteListItemResourcePlatformEnum = exports.AgencyHostingV1WebsitesU4sWebsiteDetailsResourceTypeEnum = exports.AgencyHostingV1WebsitesH5gWebsiteDetailsResourceStateEnum = exports.AgencyHostingV1WebsitesH5gWebsiteDetailsResourceTypeEnum = exports.AgencyHostingV1SetupsWebsiteSetupStatusResourceStatusEnum = exports.AgencyHostingV1SetupsCreateSetupRequestTypeEnum = exports.AgencyHostingV1PhpOptionResourceTypeEnum = exports.AgencyHostingV1PhpExtensionResourceStateEnum = void 0;
|
|
23
|
+
exports.ReachV1FormsFormDetailsResourceStatusEnum = exports.ReachV1ContactsUpdateRequestSubscriptionStatusEnum = exports.ReachV1ContactsTagsTagResourceTypeEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerAttributeEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum = exports.ReachV1ContactsSegmentsStoreRequestLogicEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsSegmentsProfileUpdateRequestLogicEnum = exports.ReachV1ContactsSegmentsProfileStoreRequestConditionsInnerOperatorEnum = exports.ReachV1ContactsSegmentsProfileStoreRequestLogicEnum = exports.ReachV1ContactsProfileContactUpdateResourceSubscriptionStatusEnum = exports.ReachV1ContactsProfileContactResourceSourceEnum = exports.ReachV1ContactsProfileContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsFieldsStoreRequestTypeEnum = exports.ReachV1ContactsFieldsContactFieldValueResourceTypeEnum = exports.ReachV1ContactsFieldsContactFieldResourceTypeEnum = exports.ReachV1ContactsContactResourceSourceEnum = exports.ReachV1ContactsContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsContactDetailsResourceSourceEnum = exports.ReachV1ContactsContactDetailsResourceSubscriptionStatusEnum = exports.ReachV1CampaignsCampaignResourceTypeEnum = exports.ReachV1CampaignsCampaignResourceStatusEnum = exports.ReachV1CampaignsCampaignDetailsResourceTypeEnum = exports.ReachV1CampaignsCampaignDetailsResourceStatusEnum = exports.ReachV1AutomationsStepsAutomationStepResourceValueEnum = exports.ReachV1AutomationsStepsAutomationStepResourceTypeEnum = exports.ReachV1AutomationsAutomationResourceTypeEnum = exports.ReachV1AutomationsAutomationResourceStatusEnum = 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.HostingV1NodeJsVulnerabilityResourceSeverityEnum = exports.HostingV1NodeJsStartBuildRequestSourceTypeEnum = exports.HostingV1NodeJsStartBuildRequestPackageManagerEnum = void 0;
|
|
24
|
+
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.WordPressV1MaintenanceMaintenanceStatusResourceStatusEnum = exports.WordPressV1InstallationsUpdateResourceTypeEnum = exports.WordPressV1InstallationsInstallWordPressRequestAutoUpdatesEnum = exports.WordPressV1HostingerPluginsUpdateAiOptionStatusRequestOptionEnum = exports.VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = exports.VPSV1VirtualMachineVirtualMachineResourceStateEnum = exports.VPSV1FirewallRulesStoreRequestSourceEnum = exports.VPSV1FirewallRulesStoreRequestProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceActionEnum = exports.VPSV1DockerManagerProjectResourceStateEnum = exports.VPSV1DockerManagerContainerResourceHealthEnum = exports.VPSV1DockerManagerContainerResourceStateEnum = exports.VPSV1DockerManagerContainerPortResourceProtocolEnum = exports.VPSV1DockerManagerContainerPortResourceTypeEnum = exports.VPSV1ActionActionResourceStateEnum = exports.ReachV1FormsFormTagResourceTypeEnum = exports.ReachV1FormsFormResourceTypeEnum = exports.ReachV1FormsFormResourceStatusEnum = exports.ReachV1FormsFormDetailsResourceTypeEnum = void 0;
|
|
25
|
+
exports.DNSZoneApiAxiosParamCreator = exports.DNSSnapshotApi = exports.DNSSnapshotApiFactory = exports.DNSSnapshotApiFp = exports.DNSSnapshotApiAxiosParamCreator = exports.BillingSubscriptionsApi = exports.BillingSubscriptionsApiFactory = exports.BillingSubscriptionsApiFp = exports.BillingSubscriptionsApiAxiosParamCreator = exports.BillingPaymentMethodsApi = exports.BillingPaymentMethodsApiFactory = exports.BillingPaymentMethodsApiFp = exports.BillingPaymentMethodsApiAxiosParamCreator = exports.BillingOrdersApi = exports.BillingOrdersApiFactory = exports.BillingOrdersApiFp = exports.BillingOrdersApiAxiosParamCreator = exports.GetCatalogItemListV1CategoryEnum = exports.BillingCatalogApi = exports.BillingCatalogApiFactory = exports.BillingCatalogApiFp = exports.BillingCatalogApiAxiosParamCreator = 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.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;
|
|
26
|
+
exports.EcommerceShippingApiFactory = exports.EcommerceShippingApiFp = exports.EcommerceShippingApiAxiosParamCreator = exports.EcommerceSalesChannelsApi = exports.EcommerceSalesChannelsApiFactory = exports.EcommerceSalesChannelsApiFp = exports.EcommerceSalesChannelsApiAxiosParamCreator = exports.EcommerceProductsApi = exports.EcommerceProductsApiFactory = exports.EcommerceProductsApiFp = exports.EcommerceProductsApiAxiosParamCreator = exports.EcommercePaymentsApi = exports.EcommercePaymentsApiFactory = exports.EcommercePaymentsApiFp = exports.EcommercePaymentsApiAxiosParamCreator = exports.EcommerceMiscellaneousApi = exports.EcommerceMiscellaneousApiFactory = exports.EcommerceMiscellaneousApiFp = exports.EcommerceMiscellaneousApiAxiosParamCreator = 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 = void 0;
|
|
27
|
+
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.HostingNodeJSApi = exports.HostingNodeJSApiFactory = exports.HostingNodeJSApiFp = exports.HostingNodeJSApiAxiosParamCreator = 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 = exports.HostingCronJobsApiFactory = exports.HostingCronJobsApiFp = exports.HostingCronJobsApiAxiosParamCreator = exports.HostingCacheApi = exports.HostingCacheApiFactory = exports.HostingCacheApiFp = exports.HostingCacheApiAxiosParamCreator = exports.HorizonsWebsitesApi = exports.HorizonsWebsitesApiFactory = exports.HorizonsWebsitesApiFp = exports.HorizonsWebsitesApiAxiosParamCreator = exports.EcommerceStoresApi = exports.EcommerceStoresApiFactory = exports.EcommerceStoresApiFp = exports.EcommerceStoresApiAxiosParamCreator = exports.EcommerceShippingApi = void 0;
|
|
28
|
+
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.HostingRedirectsApi = exports.HostingRedirectsApiFactory = exports.HostingRedirectsApiFp = void 0;
|
|
29
|
+
exports.VPSBackupsApiFp = exports.VPSBackupsApiAxiosParamCreator = exports.VPSActionsApi = exports.VPSActionsApiFactory = exports.VPSActionsApiFp = exports.VPSActionsApiAxiosParamCreator = 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.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;
|
|
30
|
+
exports.WordPressAIToolsApi = exports.WordPressAIToolsApiFactory = exports.WordPressAIToolsApiFp = exports.WordPressAIToolsApiAxiosParamCreator = exports.VPSVirtualMachineApi = exports.VPSVirtualMachineApiFactory = exports.VPSVirtualMachineApiFp = exports.VPSVirtualMachineApiAxiosParamCreator = exports.VPSSnapshotsApi = exports.VPSSnapshotsApiFactory = exports.VPSSnapshotsApiFp = exports.VPSSnapshotsApiAxiosParamCreator = 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 = void 0;
|
|
31
|
+
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 = void 0;
|
|
32
32
|
const axios_1 = require("axios");
|
|
33
33
|
// Some imports not used depending on template conditions
|
|
34
34
|
// @ts-ignore
|
|
@@ -52,6 +52,27 @@ exports.AgencyHostingV1SetupsWebsiteSetupStatusResourceStatusEnum = {
|
|
|
52
52
|
Running: 'running',
|
|
53
53
|
Completed: 'completed'
|
|
54
54
|
};
|
|
55
|
+
exports.AgencyHostingV1WebsitesH5gWebsiteDetailsResourceTypeEnum = {
|
|
56
|
+
Wordpress: 'wordpress',
|
|
57
|
+
Builder: 'builder',
|
|
58
|
+
Horizons: 'horizons',
|
|
59
|
+
Nodejs: 'nodejs',
|
|
60
|
+
U4s: 'u4s',
|
|
61
|
+
Other: 'other'
|
|
62
|
+
};
|
|
63
|
+
exports.AgencyHostingV1WebsitesH5gWebsiteDetailsResourceStateEnum = {
|
|
64
|
+
Active: 'active',
|
|
65
|
+
Suspended: 'suspended'
|
|
66
|
+
};
|
|
67
|
+
exports.AgencyHostingV1WebsitesU4sWebsiteDetailsResourceTypeEnum = {
|
|
68
|
+
U4s: 'u4s',
|
|
69
|
+
Horizons: 'horizons'
|
|
70
|
+
};
|
|
71
|
+
exports.AgencyHostingV1WebsitesWebsiteListItemResourcePlatformEnum = {
|
|
72
|
+
H5g: 'h5g',
|
|
73
|
+
Builder: 'builder',
|
|
74
|
+
U4s: 'u4s'
|
|
75
|
+
};
|
|
55
76
|
exports.AgencyHostingV1WebsitesWebsiteProcessResourceStatusEnum = {
|
|
56
77
|
Running: 'running',
|
|
57
78
|
Completed: 'completed',
|
|
@@ -3496,6 +3517,58 @@ const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration) {
|
|
|
3496
3517
|
options: localVarRequestOptions,
|
|
3497
3518
|
};
|
|
3498
3519
|
}),
|
|
3520
|
+
/**
|
|
3521
|
+
* Retrieve a paginated list of Agency Plan websites (H5G, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. The response shape differs per platform — see the `platform` field on each item. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with `order_ids`, `states`, or `domain` for more targeted results.
|
|
3522
|
+
* @summary List Agency Plan websites
|
|
3523
|
+
* @param {number} [page] Page number
|
|
3524
|
+
* @param {number} [perPage] Number of items per page
|
|
3525
|
+
* @param {Array<number> | null} [orderIds] Filter by order IDs. Accepts a comma-separated list.
|
|
3526
|
+
* @param {Array<ListAgencyPlanWebsitesV1StatesEnum>} [states] Filter by website state. Accepts a comma-separated list.
|
|
3527
|
+
* @param {Array<ListAgencyPlanWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
3528
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
3529
|
+
* @param {*} [options] Override http request option.
|
|
3530
|
+
* @throws {RequiredError}
|
|
3531
|
+
*/
|
|
3532
|
+
listAgencyPlanWebsitesV1: (page_1, perPage_1, orderIds_1, states_1, websiteTypes_1, domain_1, ...args_1) => __awaiter(this, [page_1, perPage_1, orderIds_1, states_1, websiteTypes_1, domain_1, ...args_1], void 0, function* (page, perPage, orderIds, states, websiteTypes, domain, options = {}) {
|
|
3533
|
+
const localVarPath = `/api/agency-hosting/v1/websites`;
|
|
3534
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3535
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3536
|
+
let baseOptions;
|
|
3537
|
+
if (configuration) {
|
|
3538
|
+
baseOptions = configuration.baseOptions;
|
|
3539
|
+
}
|
|
3540
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3541
|
+
const localVarHeaderParameter = {};
|
|
3542
|
+
const localVarQueryParameter = {};
|
|
3543
|
+
// authentication apiToken required
|
|
3544
|
+
// http bearer authentication required
|
|
3545
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3546
|
+
if (page !== undefined) {
|
|
3547
|
+
localVarQueryParameter['page'] = page;
|
|
3548
|
+
}
|
|
3549
|
+
if (perPage !== undefined) {
|
|
3550
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
3551
|
+
}
|
|
3552
|
+
if (orderIds) {
|
|
3553
|
+
localVarQueryParameter['order_ids'] = orderIds.join(base_1.COLLECTION_FORMATS.csv);
|
|
3554
|
+
}
|
|
3555
|
+
if (states) {
|
|
3556
|
+
localVarQueryParameter['states'] = states.join(base_1.COLLECTION_FORMATS.csv);
|
|
3557
|
+
}
|
|
3558
|
+
if (websiteTypes) {
|
|
3559
|
+
localVarQueryParameter['website_types'] = websiteTypes.join(base_1.COLLECTION_FORMATS.csv);
|
|
3560
|
+
}
|
|
3561
|
+
if (domain !== undefined) {
|
|
3562
|
+
localVarQueryParameter['domain'] = domain;
|
|
3563
|
+
}
|
|
3564
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3565
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3566
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3567
|
+
return {
|
|
3568
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3569
|
+
options: localVarRequestOptions,
|
|
3570
|
+
};
|
|
3571
|
+
}),
|
|
3499
3572
|
/**
|
|
3500
3573
|
* Lists active and recently completed asynchronous processes for an Agency Plan website. Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.
|
|
3501
3574
|
* @summary List website processes
|
|
@@ -3584,6 +3657,26 @@ const AgencyHostingWebsitesApiFp = function (configuration) {
|
|
|
3584
3657
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3585
3658
|
});
|
|
3586
3659
|
},
|
|
3660
|
+
/**
|
|
3661
|
+
* Retrieve a paginated list of Agency Plan websites (H5G, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. The response shape differs per platform — see the `platform` field on each item. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with `order_ids`, `states`, or `domain` for more targeted results.
|
|
3662
|
+
* @summary List Agency Plan websites
|
|
3663
|
+
* @param {number} [page] Page number
|
|
3664
|
+
* @param {number} [perPage] Number of items per page
|
|
3665
|
+
* @param {Array<number> | null} [orderIds] Filter by order IDs. Accepts a comma-separated list.
|
|
3666
|
+
* @param {Array<ListAgencyPlanWebsitesV1StatesEnum>} [states] Filter by website state. Accepts a comma-separated list.
|
|
3667
|
+
* @param {Array<ListAgencyPlanWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
3668
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
3669
|
+
* @param {*} [options] Override http request option.
|
|
3670
|
+
* @throws {RequiredError}
|
|
3671
|
+
*/
|
|
3672
|
+
listAgencyPlanWebsitesV1(page, perPage, orderIds, states, websiteTypes, domain, options) {
|
|
3673
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3674
|
+
var _a, _b;
|
|
3675
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAgencyPlanWebsitesV1(page, perPage, orderIds, states, websiteTypes, domain, options);
|
|
3676
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['AgencyHostingWebsitesApi.listAgencyPlanWebsitesV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
3677
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3678
|
+
});
|
|
3679
|
+
},
|
|
3587
3680
|
/**
|
|
3588
3681
|
* Lists active and recently completed asynchronous processes for an Agency Plan website. Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.
|
|
3589
3682
|
* @summary List website processes
|
|
@@ -3640,6 +3733,21 @@ const AgencyHostingWebsitesApiFactory = function (configuration, basePath, axios
|
|
|
3640
3733
|
getWebsiteDetailsV1(websiteUid, options) {
|
|
3641
3734
|
return localVarFp.getWebsiteDetailsV1(websiteUid, options).then((request) => request(axios, basePath));
|
|
3642
3735
|
},
|
|
3736
|
+
/**
|
|
3737
|
+
* Retrieve a paginated list of Agency Plan websites (H5G, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. The response shape differs per platform — see the `platform` field on each item. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with `order_ids`, `states`, or `domain` for more targeted results.
|
|
3738
|
+
* @summary List Agency Plan websites
|
|
3739
|
+
* @param {number} [page] Page number
|
|
3740
|
+
* @param {number} [perPage] Number of items per page
|
|
3741
|
+
* @param {Array<number> | null} [orderIds] Filter by order IDs. Accepts a comma-separated list.
|
|
3742
|
+
* @param {Array<ListAgencyPlanWebsitesV1StatesEnum>} [states] Filter by website state. Accepts a comma-separated list.
|
|
3743
|
+
* @param {Array<ListAgencyPlanWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
3744
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
3745
|
+
* @param {*} [options] Override http request option.
|
|
3746
|
+
* @throws {RequiredError}
|
|
3747
|
+
*/
|
|
3748
|
+
listAgencyPlanWebsitesV1(page, perPage, orderIds, states, websiteTypes, domain, options) {
|
|
3749
|
+
return localVarFp.listAgencyPlanWebsitesV1(page, perPage, orderIds, states, websiteTypes, domain, options).then((request) => request(axios, basePath));
|
|
3750
|
+
},
|
|
3643
3751
|
/**
|
|
3644
3752
|
* Lists active and recently completed asynchronous processes for an Agency Plan website. Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.
|
|
3645
3753
|
* @summary List website processes
|
|
@@ -3694,6 +3802,22 @@ class AgencyHostingWebsitesApi extends base_1.BaseAPI {
|
|
|
3694
3802
|
getWebsiteDetailsV1(websiteUid, options) {
|
|
3695
3803
|
return (0, exports.AgencyHostingWebsitesApiFp)(this.configuration).getWebsiteDetailsV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
|
|
3696
3804
|
}
|
|
3805
|
+
/**
|
|
3806
|
+
* Retrieve a paginated list of Agency Plan websites (H5G, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. The response shape differs per platform — see the `platform` field on each item. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with `order_ids`, `states`, or `domain` for more targeted results.
|
|
3807
|
+
* @summary List Agency Plan websites
|
|
3808
|
+
* @param {number} [page] Page number
|
|
3809
|
+
* @param {number} [perPage] Number of items per page
|
|
3810
|
+
* @param {Array<number> | null} [orderIds] Filter by order IDs. Accepts a comma-separated list.
|
|
3811
|
+
* @param {Array<ListAgencyPlanWebsitesV1StatesEnum>} [states] Filter by website state. Accepts a comma-separated list.
|
|
3812
|
+
* @param {Array<ListAgencyPlanWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
3813
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
3814
|
+
* @param {*} [options] Override http request option.
|
|
3815
|
+
* @throws {RequiredError}
|
|
3816
|
+
* @memberof AgencyHostingWebsitesApi
|
|
3817
|
+
*/
|
|
3818
|
+
listAgencyPlanWebsitesV1(page, perPage, orderIds, states, websiteTypes, domain, options) {
|
|
3819
|
+
return (0, exports.AgencyHostingWebsitesApiFp)(this.configuration).listAgencyPlanWebsitesV1(page, perPage, orderIds, states, websiteTypes, domain, options).then((request) => request(this.axios, this.basePath));
|
|
3820
|
+
}
|
|
3697
3821
|
/**
|
|
3698
3822
|
* Lists active and recently completed asynchronous processes for an Agency Plan website. Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.
|
|
3699
3823
|
* @summary List website processes
|
|
@@ -3707,6 +3831,26 @@ class AgencyHostingWebsitesApi extends base_1.BaseAPI {
|
|
|
3707
3831
|
}
|
|
3708
3832
|
}
|
|
3709
3833
|
exports.AgencyHostingWebsitesApi = AgencyHostingWebsitesApi;
|
|
3834
|
+
/**
|
|
3835
|
+
* @export
|
|
3836
|
+
*/
|
|
3837
|
+
exports.ListAgencyPlanWebsitesV1StatesEnum = {
|
|
3838
|
+
Active: 'active',
|
|
3839
|
+
Locked: 'locked',
|
|
3840
|
+
Suspended: 'suspended',
|
|
3841
|
+
Deleting: 'deleting',
|
|
3842
|
+
Deleted: 'deleted'
|
|
3843
|
+
};
|
|
3844
|
+
/**
|
|
3845
|
+
* @export
|
|
3846
|
+
*/
|
|
3847
|
+
exports.ListAgencyPlanWebsitesV1WebsiteTypesEnum = {
|
|
3848
|
+
Wordpress: 'wordpress',
|
|
3849
|
+
Builder: 'builder',
|
|
3850
|
+
Horizons: 'horizons',
|
|
3851
|
+
Nodejs: 'nodejs',
|
|
3852
|
+
Other: 'other'
|
|
3853
|
+
};
|
|
3710
3854
|
/**
|
|
3711
3855
|
* AgencyHostingWordPressApi - axios parameter creator
|
|
3712
3856
|
* @export
|
|
@@ -10691,7 +10835,7 @@ const HostingDatabasesApiAxiosParamCreator = function (configuration) {
|
|
|
10691
10835
|
* @param {string} username
|
|
10692
10836
|
* @param {number} [page] Page number
|
|
10693
10837
|
* @param {number} [perPage] Number of items per page
|
|
10694
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
10838
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
10695
10839
|
* @param {boolean | null} [isAssigned] When used with domain, return only databases assigned to that domain.
|
|
10696
10840
|
* @param {string | null} [search] Search databases by name, user, or creation date.
|
|
10697
10841
|
* @param {*} [options] Override http request option.
|
|
@@ -10924,7 +11068,7 @@ const HostingDatabasesApiFp = function (configuration) {
|
|
|
10924
11068
|
* @param {string} username
|
|
10925
11069
|
* @param {number} [page] Page number
|
|
10926
11070
|
* @param {number} [perPage] Number of items per page
|
|
10927
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
11071
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
10928
11072
|
* @param {boolean | null} [isAssigned] When used with domain, return only databases assigned to that domain.
|
|
10929
11073
|
* @param {string | null} [search] Search databases by name, user, or creation date.
|
|
10930
11074
|
* @param {*} [options] Override http request option.
|
|
@@ -11055,7 +11199,7 @@ const HostingDatabasesApiFactory = function (configuration, basePath, axios) {
|
|
|
11055
11199
|
* @param {string} username
|
|
11056
11200
|
* @param {number} [page] Page number
|
|
11057
11201
|
* @param {number} [perPage] Number of items per page
|
|
11058
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
11202
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
11059
11203
|
* @param {boolean | null} [isAssigned] When used with domain, return only databases assigned to that domain.
|
|
11060
11204
|
* @param {string | null} [search] Search databases by name, user, or creation date.
|
|
11061
11205
|
* @param {*} [options] Override http request option.
|
|
@@ -11177,7 +11321,7 @@ class HostingDatabasesApi extends base_1.BaseAPI {
|
|
|
11177
11321
|
* @param {string} username
|
|
11178
11322
|
* @param {number} [page] Page number
|
|
11179
11323
|
* @param {number} [perPage] Number of items per page
|
|
11180
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
11324
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
11181
11325
|
* @param {boolean | null} [isAssigned] When used with domain, return only databases assigned to that domain.
|
|
11182
11326
|
* @param {string | null} [search] Search databases by name, user, or creation date.
|
|
11183
11327
|
* @param {*} [options] Override http request option.
|
|
@@ -12299,47 +12443,6 @@ exports.ListWebsiteFilesAndDirectoriesV1FileTypesEnum = {
|
|
|
12299
12443
|
*/
|
|
12300
12444
|
const HostingNodeJSApiAxiosParamCreator = function (configuration) {
|
|
12301
12445
|
return {
|
|
12302
|
-
/**
|
|
12303
|
-
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
12304
|
-
* @summary Create NodeJS build from archive
|
|
12305
|
-
* @param {string} username
|
|
12306
|
-
* @param {string} domain Domain name
|
|
12307
|
-
* @param {HostingV1NodeJsCreateFromArchiveRequest} hostingV1NodeJsCreateFromArchiveRequest
|
|
12308
|
-
* @param {*} [options] Override http request option.
|
|
12309
|
-
* @throws {RequiredError}
|
|
12310
|
-
*/
|
|
12311
|
-
createNodeJSBuildFromArchiveV1: (username_1, domain_1, hostingV1NodeJsCreateFromArchiveRequest_1, ...args_1) => __awaiter(this, [username_1, domain_1, hostingV1NodeJsCreateFromArchiveRequest_1, ...args_1], void 0, function* (username, domain, hostingV1NodeJsCreateFromArchiveRequest, options = {}) {
|
|
12312
|
-
// verify required parameter 'username' is not null or undefined
|
|
12313
|
-
(0, common_1.assertParamExists)('createNodeJSBuildFromArchiveV1', 'username', username);
|
|
12314
|
-
// verify required parameter 'domain' is not null or undefined
|
|
12315
|
-
(0, common_1.assertParamExists)('createNodeJSBuildFromArchiveV1', 'domain', domain);
|
|
12316
|
-
// verify required parameter 'hostingV1NodeJsCreateFromArchiveRequest' is not null or undefined
|
|
12317
|
-
(0, common_1.assertParamExists)('createNodeJSBuildFromArchiveV1', 'hostingV1NodeJsCreateFromArchiveRequest', hostingV1NodeJsCreateFromArchiveRequest);
|
|
12318
|
-
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archive`
|
|
12319
|
-
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
12320
|
-
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
12321
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12322
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12323
|
-
let baseOptions;
|
|
12324
|
-
if (configuration) {
|
|
12325
|
-
baseOptions = configuration.baseOptions;
|
|
12326
|
-
}
|
|
12327
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
12328
|
-
const localVarHeaderParameter = {};
|
|
12329
|
-
const localVarQueryParameter = {};
|
|
12330
|
-
// authentication apiToken required
|
|
12331
|
-
// http bearer authentication required
|
|
12332
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12333
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12334
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12335
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12336
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12337
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(hostingV1NodeJsCreateFromArchiveRequest, localVarRequestOptions, configuration);
|
|
12338
|
-
return {
|
|
12339
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12340
|
-
options: localVarRequestOptions,
|
|
12341
|
-
};
|
|
12342
|
-
}),
|
|
12343
12446
|
/**
|
|
12344
12447
|
* Retrieve logs from a specific Node.js build process. To stream live output while a build is running, poll this endpoint repeatedly while the build state is `running`, passing the previously returned `lines` count as `from_line` to fetch only new output since the last call. Log content may contain ANSI escape sequences (color codes).
|
|
12345
12448
|
* @summary Get NodeJS build logs
|
|
@@ -12642,23 +12745,6 @@ exports.HostingNodeJSApiAxiosParamCreator = HostingNodeJSApiAxiosParamCreator;
|
|
|
12642
12745
|
const HostingNodeJSApiFp = function (configuration) {
|
|
12643
12746
|
const localVarAxiosParamCreator = (0, exports.HostingNodeJSApiAxiosParamCreator)(configuration);
|
|
12644
12747
|
return {
|
|
12645
|
-
/**
|
|
12646
|
-
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
12647
|
-
* @summary Create NodeJS build from archive
|
|
12648
|
-
* @param {string} username
|
|
12649
|
-
* @param {string} domain Domain name
|
|
12650
|
-
* @param {HostingV1NodeJsCreateFromArchiveRequest} hostingV1NodeJsCreateFromArchiveRequest
|
|
12651
|
-
* @param {*} [options] Override http request option.
|
|
12652
|
-
* @throws {RequiredError}
|
|
12653
|
-
*/
|
|
12654
|
-
createNodeJSBuildFromArchiveV1(username, domain, hostingV1NodeJsCreateFromArchiveRequest, options) {
|
|
12655
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
12656
|
-
var _a, _b;
|
|
12657
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createNodeJSBuildFromArchiveV1(username, domain, hostingV1NodeJsCreateFromArchiveRequest, options);
|
|
12658
|
-
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['HostingNodeJSApi.createNodeJSBuildFromArchiveV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
12659
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12660
|
-
});
|
|
12661
|
-
},
|
|
12662
12748
|
/**
|
|
12663
12749
|
* Retrieve logs from a specific Node.js build process. To stream live output while a build is running, poll this endpoint repeatedly while the build state is `running`, passing the previously returned `lines` count as `from_line` to fetch only new output since the last call. Log content may contain ANSI escape sequences (color codes).
|
|
12664
12750
|
* @summary Get NodeJS build logs
|
|
@@ -12790,18 +12876,6 @@ exports.HostingNodeJSApiFp = HostingNodeJSApiFp;
|
|
|
12790
12876
|
const HostingNodeJSApiFactory = function (configuration, basePath, axios) {
|
|
12791
12877
|
const localVarFp = (0, exports.HostingNodeJSApiFp)(configuration);
|
|
12792
12878
|
return {
|
|
12793
|
-
/**
|
|
12794
|
-
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
12795
|
-
* @summary Create NodeJS build from archive
|
|
12796
|
-
* @param {string} username
|
|
12797
|
-
* @param {string} domain Domain name
|
|
12798
|
-
* @param {HostingV1NodeJsCreateFromArchiveRequest} hostingV1NodeJsCreateFromArchiveRequest
|
|
12799
|
-
* @param {*} [options] Override http request option.
|
|
12800
|
-
* @throws {RequiredError}
|
|
12801
|
-
*/
|
|
12802
|
-
createNodeJSBuildFromArchiveV1(username, domain, hostingV1NodeJsCreateFromArchiveRequest, options) {
|
|
12803
|
-
return localVarFp.createNodeJSBuildFromArchiveV1(username, domain, hostingV1NodeJsCreateFromArchiveRequest, options).then((request) => request(axios, basePath));
|
|
12804
|
-
},
|
|
12805
12879
|
/**
|
|
12806
12880
|
* Retrieve logs from a specific Node.js build process. To stream live output while a build is running, poll this endpoint repeatedly while the build state is `running`, passing the previously returned `lines` count as `from_line` to fetch only new output since the last call. Log content may contain ANSI escape sequences (color codes).
|
|
12807
12881
|
* @summary Get NodeJS build logs
|
|
@@ -12898,19 +12972,6 @@ exports.HostingNodeJSApiFactory = HostingNodeJSApiFactory;
|
|
|
12898
12972
|
* @extends {BaseAPI}
|
|
12899
12973
|
*/
|
|
12900
12974
|
class HostingNodeJSApi extends base_1.BaseAPI {
|
|
12901
|
-
/**
|
|
12902
|
-
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
12903
|
-
* @summary Create NodeJS build from archive
|
|
12904
|
-
* @param {string} username
|
|
12905
|
-
* @param {string} domain Domain name
|
|
12906
|
-
* @param {HostingV1NodeJsCreateFromArchiveRequest} hostingV1NodeJsCreateFromArchiveRequest
|
|
12907
|
-
* @param {*} [options] Override http request option.
|
|
12908
|
-
* @throws {RequiredError}
|
|
12909
|
-
* @memberof HostingNodeJSApi
|
|
12910
|
-
*/
|
|
12911
|
-
createNodeJSBuildFromArchiveV1(username, domain, hostingV1NodeJsCreateFromArchiveRequest, options) {
|
|
12912
|
-
return (0, exports.HostingNodeJSApiFp)(this.configuration).createNodeJSBuildFromArchiveV1(username, domain, hostingV1NodeJsCreateFromArchiveRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12913
|
-
}
|
|
12914
12975
|
/**
|
|
12915
12976
|
* Retrieve logs from a specific Node.js build process. To stream live output while a build is running, poll this endpoint repeatedly while the build state is `running`, passing the previously returned `lines` count as `from_line` to fetch only new output since the last call. Log content may contain ANSI escape sequences (color codes).
|
|
12916
12977
|
* @summary Get NodeJS build logs
|
|
@@ -14080,18 +14141,19 @@ const HostingWebsitesApiAxiosParamCreator = function (configuration) {
|
|
|
14080
14141
|
};
|
|
14081
14142
|
}),
|
|
14082
14143
|
/**
|
|
14083
|
-
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use the available query parameters to filter
|
|
14144
|
+
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with the other available query parameters to filter by username, order ID, enabled status, or domain name for more targeted results.
|
|
14084
14145
|
* @summary List websites
|
|
14085
14146
|
* @param {number} [page] Page number
|
|
14086
14147
|
* @param {number} [perPage] Number of items per page
|
|
14087
14148
|
* @param {string | null} [username] Filter by specific username
|
|
14088
14149
|
* @param {number | null} [orderId] Order ID
|
|
14089
14150
|
* @param {boolean | null} [isEnabled] Filter by enabled status
|
|
14090
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
14151
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
14152
|
+
* @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
14091
14153
|
* @param {*} [options] Override http request option.
|
|
14092
14154
|
* @throws {RequiredError}
|
|
14093
14155
|
*/
|
|
14094
|
-
listWebsitesV1: (page_1, perPage_1, username_1, orderId_1, isEnabled_1, domain_1, ...args_1) => __awaiter(this, [page_1, perPage_1, username_1, orderId_1, isEnabled_1, domain_1, ...args_1], void 0, function* (page, perPage, username, orderId, isEnabled, domain, options = {}) {
|
|
14156
|
+
listWebsitesV1: (page_1, perPage_1, username_1, orderId_1, isEnabled_1, domain_1, websiteTypes_1, ...args_1) => __awaiter(this, [page_1, perPage_1, username_1, orderId_1, isEnabled_1, domain_1, websiteTypes_1, ...args_1], void 0, function* (page, perPage, username, orderId, isEnabled, domain, websiteTypes, options = {}) {
|
|
14095
14157
|
const localVarPath = `/api/hosting/v1/websites`;
|
|
14096
14158
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14097
14159
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -14123,6 +14185,9 @@ const HostingWebsitesApiAxiosParamCreator = function (configuration) {
|
|
|
14123
14185
|
if (domain !== undefined) {
|
|
14124
14186
|
localVarQueryParameter['domain'] = domain;
|
|
14125
14187
|
}
|
|
14188
|
+
if (websiteTypes) {
|
|
14189
|
+
localVarQueryParameter['website_types'] = websiteTypes.join(base_1.COLLECTION_FORMATS.csv);
|
|
14190
|
+
}
|
|
14126
14191
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14127
14192
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14128
14193
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -14189,21 +14254,22 @@ const HostingWebsitesApiFp = function (configuration) {
|
|
|
14189
14254
|
});
|
|
14190
14255
|
},
|
|
14191
14256
|
/**
|
|
14192
|
-
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use the available query parameters to filter
|
|
14257
|
+
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with the other available query parameters to filter by username, order ID, enabled status, or domain name for more targeted results.
|
|
14193
14258
|
* @summary List websites
|
|
14194
14259
|
* @param {number} [page] Page number
|
|
14195
14260
|
* @param {number} [perPage] Number of items per page
|
|
14196
14261
|
* @param {string | null} [username] Filter by specific username
|
|
14197
14262
|
* @param {number | null} [orderId] Order ID
|
|
14198
14263
|
* @param {boolean | null} [isEnabled] Filter by enabled status
|
|
14199
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
14264
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
14265
|
+
* @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
14200
14266
|
* @param {*} [options] Override http request option.
|
|
14201
14267
|
* @throws {RequiredError}
|
|
14202
14268
|
*/
|
|
14203
|
-
listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options) {
|
|
14269
|
+
listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options) {
|
|
14204
14270
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14205
14271
|
var _a, _b;
|
|
14206
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options);
|
|
14272
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options);
|
|
14207
14273
|
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['HostingWebsitesApi.listWebsitesV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
14208
14274
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14209
14275
|
});
|
|
@@ -14251,19 +14317,20 @@ const HostingWebsitesApiFactory = function (configuration, basePath, axios) {
|
|
|
14251
14317
|
return localVarFp.deployStaticSiteArchiveV1(username, domain, hostingV1WebsitesDeployArchiveRequest, options).then((request) => request(axios, basePath));
|
|
14252
14318
|
},
|
|
14253
14319
|
/**
|
|
14254
|
-
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use the available query parameters to filter
|
|
14320
|
+
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with the other available query parameters to filter by username, order ID, enabled status, or domain name for more targeted results.
|
|
14255
14321
|
* @summary List websites
|
|
14256
14322
|
* @param {number} [page] Page number
|
|
14257
14323
|
* @param {number} [perPage] Number of items per page
|
|
14258
14324
|
* @param {string | null} [username] Filter by specific username
|
|
14259
14325
|
* @param {number | null} [orderId] Order ID
|
|
14260
14326
|
* @param {boolean | null} [isEnabled] Filter by enabled status
|
|
14261
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
14327
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
14328
|
+
* @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
14262
14329
|
* @param {*} [options] Override http request option.
|
|
14263
14330
|
* @throws {RequiredError}
|
|
14264
14331
|
*/
|
|
14265
|
-
listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options) {
|
|
14266
|
-
return localVarFp.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options).then((request) => request(axios, basePath));
|
|
14332
|
+
listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options) {
|
|
14333
|
+
return localVarFp.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options).then((request) => request(axios, basePath));
|
|
14267
14334
|
},
|
|
14268
14335
|
};
|
|
14269
14336
|
};
|
|
@@ -14311,23 +14378,34 @@ class HostingWebsitesApi extends base_1.BaseAPI {
|
|
|
14311
14378
|
return (0, exports.HostingWebsitesApiFp)(this.configuration).deployStaticSiteArchiveV1(username, domain, hostingV1WebsitesDeployArchiveRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14312
14379
|
}
|
|
14313
14380
|
/**
|
|
14314
|
-
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use the available query parameters to filter
|
|
14381
|
+
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with the other available query parameters to filter by username, order ID, enabled status, or domain name for more targeted results.
|
|
14315
14382
|
* @summary List websites
|
|
14316
14383
|
* @param {number} [page] Page number
|
|
14317
14384
|
* @param {number} [perPage] Number of items per page
|
|
14318
14385
|
* @param {string | null} [username] Filter by specific username
|
|
14319
14386
|
* @param {number | null} [orderId] Order ID
|
|
14320
14387
|
* @param {boolean | null} [isEnabled] Filter by enabled status
|
|
14321
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
14388
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
14389
|
+
* @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
14322
14390
|
* @param {*} [options] Override http request option.
|
|
14323
14391
|
* @throws {RequiredError}
|
|
14324
14392
|
* @memberof HostingWebsitesApi
|
|
14325
14393
|
*/
|
|
14326
|
-
listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options) {
|
|
14327
|
-
return (0, exports.HostingWebsitesApiFp)(this.configuration).listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options).then((request) => request(this.axios, this.basePath));
|
|
14394
|
+
listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options) {
|
|
14395
|
+
return (0, exports.HostingWebsitesApiFp)(this.configuration).listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options).then((request) => request(this.axios, this.basePath));
|
|
14328
14396
|
}
|
|
14329
14397
|
}
|
|
14330
14398
|
exports.HostingWebsitesApi = HostingWebsitesApi;
|
|
14399
|
+
/**
|
|
14400
|
+
* @export
|
|
14401
|
+
*/
|
|
14402
|
+
exports.ListWebsitesV1WebsiteTypesEnum = {
|
|
14403
|
+
Wordpress: 'wordpress',
|
|
14404
|
+
Builder: 'builder',
|
|
14405
|
+
Horizons: 'horizons',
|
|
14406
|
+
Nodejs: 'nodejs',
|
|
14407
|
+
Other: 'other'
|
|
14408
|
+
};
|
|
14331
14409
|
/**
|
|
14332
14410
|
* MailAPITokensApi - axios parameter creator
|
|
14333
14411
|
* @export
|
|
@@ -27227,7 +27305,7 @@ const WordPressInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
27227
27305
|
* List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
|
|
27228
27306
|
* @summary List WordPress installations
|
|
27229
27307
|
* @param {string | null} [username] Filter by specific username
|
|
27230
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
27308
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
27231
27309
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
27232
27310
|
* @param {*} [options] Override http request option.
|
|
27233
27311
|
* @throws {RequiredError}
|
|
@@ -27467,7 +27545,7 @@ const WordPressInstallationsApiFp = function (configuration) {
|
|
|
27467
27545
|
* List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
|
|
27468
27546
|
* @summary List WordPress installations
|
|
27469
27547
|
* @param {string | null} [username] Filter by specific username
|
|
27470
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
27548
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
27471
27549
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
27472
27550
|
* @param {*} [options] Override http request option.
|
|
27473
27551
|
* @throws {RequiredError}
|
|
@@ -27605,7 +27683,7 @@ const WordPressInstallationsApiFactory = function (configuration, basePath, axio
|
|
|
27605
27683
|
* List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
|
|
27606
27684
|
* @summary List WordPress installations
|
|
27607
27685
|
* @param {string | null} [username] Filter by specific username
|
|
27608
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
27686
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
27609
27687
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
27610
27688
|
* @param {*} [options] Override http request option.
|
|
27611
27689
|
* @throws {RequiredError}
|
|
@@ -27735,7 +27813,7 @@ class WordPressInstallationsApi extends base_1.BaseAPI {
|
|
|
27735
27813
|
* List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
|
|
27736
27814
|
* @summary List WordPress installations
|
|
27737
27815
|
* @param {string | null} [username] Filter by specific username
|
|
27738
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
27816
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
27739
27817
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
27740
27818
|
* @param {*} [options] Override http request option.
|
|
27741
27819
|
* @throws {RequiredError}
|
|
@@ -28522,7 +28600,7 @@ const WordPressPluginsApiAxiosParamCreator = function (configuration) {
|
|
|
28522
28600
|
/**
|
|
28523
28601
|
* Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
|
|
28524
28602
|
* @summary Check if WooCommerce is installed
|
|
28525
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
28603
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
28526
28604
|
* @param {*} [options] Override http request option.
|
|
28527
28605
|
* @throws {RequiredError}
|
|
28528
28606
|
*/
|
|
@@ -28969,7 +29047,7 @@ const WordPressPluginsApiFp = function (configuration) {
|
|
|
28969
29047
|
/**
|
|
28970
29048
|
* Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
|
|
28971
29049
|
* @summary Check if WooCommerce is installed
|
|
28972
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
29050
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
28973
29051
|
* @param {*} [options] Override http request option.
|
|
28974
29052
|
* @throws {RequiredError}
|
|
28975
29053
|
*/
|
|
@@ -29171,7 +29249,7 @@ const WordPressPluginsApiFactory = function (configuration, basePath, axios) {
|
|
|
29171
29249
|
/**
|
|
29172
29250
|
* Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
|
|
29173
29251
|
* @summary Check if WooCommerce is installed
|
|
29174
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
29252
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
29175
29253
|
* @param {*} [options] Override http request option.
|
|
29176
29254
|
* @throws {RequiredError}
|
|
29177
29255
|
*/
|
|
@@ -29319,7 +29397,7 @@ class WordPressPluginsApi extends base_1.BaseAPI {
|
|
|
29319
29397
|
/**
|
|
29320
29398
|
* Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
|
|
29321
29399
|
* @summary Check if WooCommerce is installed
|
|
29322
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
29400
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
29323
29401
|
* @param {*} [options] Override http request option.
|
|
29324
29402
|
* @throws {RequiredError}
|
|
29325
29403
|
* @memberof WordPressPluginsApi
|