hostinger-api-sdk 1.39.0 → 1.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +518 -28
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +440 -25
- package/dist/api.js +199 -38
- 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 -25
- package/dist/esm/api.js +189 -28
- 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/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.0
|
|
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.
|
|
@@ -14080,18 +14224,19 @@ const HostingWebsitesApiAxiosParamCreator = function (configuration) {
|
|
|
14080
14224
|
};
|
|
14081
14225
|
}),
|
|
14082
14226
|
/**
|
|
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
|
|
14227
|
+
* 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
14228
|
* @summary List websites
|
|
14085
14229
|
* @param {number} [page] Page number
|
|
14086
14230
|
* @param {number} [perPage] Number of items per page
|
|
14087
14231
|
* @param {string | null} [username] Filter by specific username
|
|
14088
14232
|
* @param {number | null} [orderId] Order ID
|
|
14089
14233
|
* @param {boolean | null} [isEnabled] Filter by enabled status
|
|
14090
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
14234
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
14235
|
+
* @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
14091
14236
|
* @param {*} [options] Override http request option.
|
|
14092
14237
|
* @throws {RequiredError}
|
|
14093
14238
|
*/
|
|
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 = {}) {
|
|
14239
|
+
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
14240
|
const localVarPath = `/api/hosting/v1/websites`;
|
|
14096
14241
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14097
14242
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -14123,6 +14268,9 @@ const HostingWebsitesApiAxiosParamCreator = function (configuration) {
|
|
|
14123
14268
|
if (domain !== undefined) {
|
|
14124
14269
|
localVarQueryParameter['domain'] = domain;
|
|
14125
14270
|
}
|
|
14271
|
+
if (websiteTypes) {
|
|
14272
|
+
localVarQueryParameter['website_types'] = websiteTypes.join(base_1.COLLECTION_FORMATS.csv);
|
|
14273
|
+
}
|
|
14126
14274
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14127
14275
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14128
14276
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -14189,21 +14337,22 @@ const HostingWebsitesApiFp = function (configuration) {
|
|
|
14189
14337
|
});
|
|
14190
14338
|
},
|
|
14191
14339
|
/**
|
|
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
|
|
14340
|
+
* 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
14341
|
* @summary List websites
|
|
14194
14342
|
* @param {number} [page] Page number
|
|
14195
14343
|
* @param {number} [perPage] Number of items per page
|
|
14196
14344
|
* @param {string | null} [username] Filter by specific username
|
|
14197
14345
|
* @param {number | null} [orderId] Order ID
|
|
14198
14346
|
* @param {boolean | null} [isEnabled] Filter by enabled status
|
|
14199
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
14347
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
14348
|
+
* @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
14200
14349
|
* @param {*} [options] Override http request option.
|
|
14201
14350
|
* @throws {RequiredError}
|
|
14202
14351
|
*/
|
|
14203
|
-
listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options) {
|
|
14352
|
+
listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options) {
|
|
14204
14353
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14205
14354
|
var _a, _b;
|
|
14206
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options);
|
|
14355
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options);
|
|
14207
14356
|
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
14357
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14209
14358
|
});
|
|
@@ -14251,19 +14400,20 @@ const HostingWebsitesApiFactory = function (configuration, basePath, axios) {
|
|
|
14251
14400
|
return localVarFp.deployStaticSiteArchiveV1(username, domain, hostingV1WebsitesDeployArchiveRequest, options).then((request) => request(axios, basePath));
|
|
14252
14401
|
},
|
|
14253
14402
|
/**
|
|
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
|
|
14403
|
+
* 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
14404
|
* @summary List websites
|
|
14256
14405
|
* @param {number} [page] Page number
|
|
14257
14406
|
* @param {number} [perPage] Number of items per page
|
|
14258
14407
|
* @param {string | null} [username] Filter by specific username
|
|
14259
14408
|
* @param {number | null} [orderId] Order ID
|
|
14260
14409
|
* @param {boolean | null} [isEnabled] Filter by enabled status
|
|
14261
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
14410
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
14411
|
+
* @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
14262
14412
|
* @param {*} [options] Override http request option.
|
|
14263
14413
|
* @throws {RequiredError}
|
|
14264
14414
|
*/
|
|
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));
|
|
14415
|
+
listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options) {
|
|
14416
|
+
return localVarFp.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options).then((request) => request(axios, basePath));
|
|
14267
14417
|
},
|
|
14268
14418
|
};
|
|
14269
14419
|
};
|
|
@@ -14311,23 +14461,34 @@ class HostingWebsitesApi extends base_1.BaseAPI {
|
|
|
14311
14461
|
return (0, exports.HostingWebsitesApiFp)(this.configuration).deployStaticSiteArchiveV1(username, domain, hostingV1WebsitesDeployArchiveRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14312
14462
|
}
|
|
14313
14463
|
/**
|
|
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
|
|
14464
|
+
* 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
14465
|
* @summary List websites
|
|
14316
14466
|
* @param {number} [page] Page number
|
|
14317
14467
|
* @param {number} [perPage] Number of items per page
|
|
14318
14468
|
* @param {string | null} [username] Filter by specific username
|
|
14319
14469
|
* @param {number | null} [orderId] Order ID
|
|
14320
14470
|
* @param {boolean | null} [isEnabled] Filter by enabled status
|
|
14321
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
14471
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
14472
|
+
* @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
14322
14473
|
* @param {*} [options] Override http request option.
|
|
14323
14474
|
* @throws {RequiredError}
|
|
14324
14475
|
* @memberof HostingWebsitesApi
|
|
14325
14476
|
*/
|
|
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));
|
|
14477
|
+
listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options) {
|
|
14478
|
+
return (0, exports.HostingWebsitesApiFp)(this.configuration).listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options).then((request) => request(this.axios, this.basePath));
|
|
14328
14479
|
}
|
|
14329
14480
|
}
|
|
14330
14481
|
exports.HostingWebsitesApi = HostingWebsitesApi;
|
|
14482
|
+
/**
|
|
14483
|
+
* @export
|
|
14484
|
+
*/
|
|
14485
|
+
exports.ListWebsitesV1WebsiteTypesEnum = {
|
|
14486
|
+
Wordpress: 'wordpress',
|
|
14487
|
+
Builder: 'builder',
|
|
14488
|
+
Horizons: 'horizons',
|
|
14489
|
+
Nodejs: 'nodejs',
|
|
14490
|
+
Other: 'other'
|
|
14491
|
+
};
|
|
14331
14492
|
/**
|
|
14332
14493
|
* MailAPITokensApi - axios parameter creator
|
|
14333
14494
|
* @export
|
|
@@ -27227,7 +27388,7 @@ const WordPressInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
27227
27388
|
* 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
27389
|
* @summary List WordPress installations
|
|
27229
27390
|
* @param {string | null} [username] Filter by specific username
|
|
27230
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
27391
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
27231
27392
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
27232
27393
|
* @param {*} [options] Override http request option.
|
|
27233
27394
|
* @throws {RequiredError}
|
|
@@ -27467,7 +27628,7 @@ const WordPressInstallationsApiFp = function (configuration) {
|
|
|
27467
27628
|
* 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
27629
|
* @summary List WordPress installations
|
|
27469
27630
|
* @param {string | null} [username] Filter by specific username
|
|
27470
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
27631
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
27471
27632
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
27472
27633
|
* @param {*} [options] Override http request option.
|
|
27473
27634
|
* @throws {RequiredError}
|
|
@@ -27605,7 +27766,7 @@ const WordPressInstallationsApiFactory = function (configuration, basePath, axio
|
|
|
27605
27766
|
* 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
27767
|
* @summary List WordPress installations
|
|
27607
27768
|
* @param {string | null} [username] Filter by specific username
|
|
27608
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
27769
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
27609
27770
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
27610
27771
|
* @param {*} [options] Override http request option.
|
|
27611
27772
|
* @throws {RequiredError}
|
|
@@ -27735,7 +27896,7 @@ class WordPressInstallationsApi extends base_1.BaseAPI {
|
|
|
27735
27896
|
* 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
27897
|
* @summary List WordPress installations
|
|
27737
27898
|
* @param {string | null} [username] Filter by specific username
|
|
27738
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
27899
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
27739
27900
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
27740
27901
|
* @param {*} [options] Override http request option.
|
|
27741
27902
|
* @throws {RequiredError}
|
|
@@ -28522,7 +28683,7 @@ const WordPressPluginsApiAxiosParamCreator = function (configuration) {
|
|
|
28522
28683
|
/**
|
|
28523
28684
|
* Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
|
|
28524
28685
|
* @summary Check if WooCommerce is installed
|
|
28525
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
28686
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
28526
28687
|
* @param {*} [options] Override http request option.
|
|
28527
28688
|
* @throws {RequiredError}
|
|
28528
28689
|
*/
|
|
@@ -28969,7 +29130,7 @@ const WordPressPluginsApiFp = function (configuration) {
|
|
|
28969
29130
|
/**
|
|
28970
29131
|
* Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
|
|
28971
29132
|
* @summary Check if WooCommerce is installed
|
|
28972
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
29133
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
28973
29134
|
* @param {*} [options] Override http request option.
|
|
28974
29135
|
* @throws {RequiredError}
|
|
28975
29136
|
*/
|
|
@@ -29171,7 +29332,7 @@ const WordPressPluginsApiFactory = function (configuration, basePath, axios) {
|
|
|
29171
29332
|
/**
|
|
29172
29333
|
* Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
|
|
29173
29334
|
* @summary Check if WooCommerce is installed
|
|
29174
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
29335
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
29175
29336
|
* @param {*} [options] Override http request option.
|
|
29176
29337
|
* @throws {RequiredError}
|
|
29177
29338
|
*/
|
|
@@ -29319,7 +29480,7 @@ class WordPressPluginsApi extends base_1.BaseAPI {
|
|
|
29319
29480
|
/**
|
|
29320
29481
|
* Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
|
|
29321
29482
|
* @summary Check if WooCommerce is installed
|
|
29322
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
29483
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
29323
29484
|
* @param {*} [options] Override http request option.
|
|
29324
29485
|
* @throws {RequiredError}
|
|
29325
29486
|
* @memberof WordPressPluginsApi
|
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.42.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.42.0
|
|
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
|
package/dist/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.42.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.42.0
|
|
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
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.42.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.42.0
|
|
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
|
|
@@ -16,7 +16,7 @@ class Configuration {
|
|
|
16
16
|
var _a;
|
|
17
17
|
this.accessToken = param.accessToken;
|
|
18
18
|
this.basePath = param.basePath;
|
|
19
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.40.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
20
20
|
this.formDataCtor = param.formDataCtor;
|
|
21
21
|
}
|
|
22
22
|
/**
|