hostinger-api-sdk 1.24.0 → 1.25.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 +725 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +389 -1
- package/dist/api.js +605 -9
- 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 +389 -1
- package/dist/esm/api.js +593 -1
- 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/DomainsMoveApi.md +438 -0
- package/docs/DomainsV1MoveIncomingUpdateRequest.md +20 -0
- package/docs/DomainsV1MoveIncomingUpdateRequestDomainContacts.md +27 -0
- package/docs/DomainsV1MoveMoveResource.md +26 -0
- package/docs/DomainsV1MoveOutgoingStoreRequest.md +20 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.26.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,14 +19,14 @@ 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.WordPressThemesApi = exports.WordPressThemesApiFactory = exports.WordPressThemesApiFp = exports.WordPressThemesApiAxiosParamCreator = exports.ListInstalledWordPressPluginsV1CategoryEnum = exports.WordPressPluginsApi = exports.WordPressPluginsApiFactory = exports.WordPressPluginsApiFp = exports.WordPressPluginsApiAxiosParamCreator = exports.WordPressObjectCacheApi = exports.WordPressObjectCacheApiFactory = exports.WordPressObjectCacheApiFp = exports.WordPressObjectCacheApiAxiosParamCreator = exports.WordPressMaintenanceApi = exports.WordPressMaintenanceApiFactory = exports.WordPressMaintenanceApiFp = exports.WordPressMaintenanceApiAxiosParamCreator = exports.WordPressLoginApi = exports.WordPressLoginApiFactory = exports.WordPressLoginApiFp = exports.WordPressLoginApiAxiosParamCreator = exports.WordPressLiteSpeedCacheApi = exports.WordPressLiteSpeedCacheApiFactory = exports.WordPressLiteSpeedCacheApiFp = exports.WordPressLiteSpeedCacheApiAxiosParamCreator = exports.ListWordPressInstallationsV1OwnershipEnum = exports.WordPressInstallationsApi = exports.WordPressInstallationsApiFactory = exports.WordPressInstallationsApiFp = exports.WordPressInstallationsApiAxiosParamCreator = exports.ShowAIOptionStatusV1OptionEnum = exports.WordPressAIToolsApi = exports.WordPressAIToolsApiFactory = exports.WordPressAIToolsApiFp = exports.WordPressAIToolsApiAxiosParamCreator = exports.VPSVirtualMachineApi = void 0;
|
|
22
|
+
exports.MailV1SchemaUpdateWebhookRequestSchemaStatusEnum = exports.MailV1SchemaUpdateWebhookRequestSchemaEventsEnum = exports.MailV1SchemaCreateWebhookRequestSchemaStatusEnum = exports.MailV1SchemaCreateWebhookRequestSchemaEventsEnum = exports.MailV1OrdersOrderResourceStatusEnum = exports.MailV1MailboxesMailboxResourceStatusEnum = exports.MailV1LogsMailboxActionsMailboxActionLogResourceEventEnum = exports.MailV1LogsActionActionLogResourceResponseStatusEnum = exports.MailV1ApiTokensApiTokenResourceTypeEnum = exports.MailV1ApiTokensApiTokenCreatedResourceTypeEnum = exports.HostingV1WebsitesWebsiteResourceVhostTypeEnum = exports.HostingV1NodeJsVulnerabilityResourceSeverityEnum = exports.HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = exports.HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum = exports.HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum = exports.HostingV1NodeJsBuildResourceStateEnum = exports.HostingV1NodeJsBuildOptionsResourceSourceTypeEnum = exports.HostingV1NodeJsBuildOptionsResourcePackageManagerEnum = exports.HostingV1NodeJsBuildOptionsResourceAppTypeEnum = exports.HostingV1DomainsParkedDomainResourceTypeEnum = exports.HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum = exports.EcommerceV1StoreStoreRequestSalesChannelTypeEnum = exports.EcommerceV1StoreStoreCreationResourceSalesChannelTypeEnum = exports.EcommerceV1SalesChannelStoreRequestTypeEnum = exports.EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInnerTypeEnum = exports.EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannelTypeEnum = exports.EcommerceV1ProductProductCreationResourceProductTypeEnum = exports.DomainsV1WHOISStoreRequestEntityTypeEnum = exports.DomainsV1WHOISProfileResourceEntityTypeEnum = exports.DomainsV1WHOISChangeUpdateRequestChangeForEnum = 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.AgencyHostingV1SetupsWebsiteSetupStatusResourceStatusEnum = exports.AgencyHostingV1SetupsCreateSetupRequestTypeEnum = void 0;
|
|
23
|
+
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.ReachV1ContactsSegmentsStoreRequestConditionsInnerAttributeEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum = exports.ReachV1ContactsSegmentsStoreRequestLogicEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsContactResourceSourceEnum = exports.ReachV1ContactsContactResourceSubscriptionStatusEnum = exports.MailV1WebhooksWebhookSecretResourceStatusEnum = exports.MailV1WebhooksWebhookSecretResourceEventsEnum = exports.MailV1WebhooksWebhookResourceStatusEnum = exports.MailV1WebhooksWebhookResourceEventsEnum = exports.MailV1WebhooksWebhookCreatedResourceStatusEnum = exports.MailV1WebhooksWebhookCreatedResourceEventsEnum = void 0;
|
|
24
|
+
exports.DNSZoneApi = exports.DNSZoneApiFactory = exports.DNSZoneApiFp = exports.DNSZoneApiAxiosParamCreator = exports.DNSSnapshotApi = exports.DNSSnapshotApiFactory = exports.DNSSnapshotApiFp = exports.DNSSnapshotApiAxiosParamCreator = exports.BillingSubscriptionsApi = exports.BillingSubscriptionsApiFactory = exports.BillingSubscriptionsApiFp = exports.BillingSubscriptionsApiAxiosParamCreator = exports.BillingPaymentMethodsApi = exports.BillingPaymentMethodsApiFactory = exports.BillingPaymentMethodsApiFp = 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.AgencyHostingWebsitesApi = exports.AgencyHostingWebsitesApiFactory = exports.AgencyHostingWebsitesApiFp = exports.AgencyHostingWebsitesApiAxiosParamCreator = exports.AgencyHostingWebsiteSetupsApi = exports.AgencyHostingWebsiteSetupsApiFactory = exports.AgencyHostingWebsiteSetupsApiFp = exports.AgencyHostingWebsiteSetupsApiAxiosParamCreator = exports.AgencyHostingOrdersApi = exports.AgencyHostingOrdersApiFactory = exports.AgencyHostingOrdersApiFp = exports.AgencyHostingOrdersApiAxiosParamCreator = exports.AgencyHostingFilesApi = exports.AgencyHostingFilesApiFactory = exports.AgencyHostingFilesApiFp = exports.AgencyHostingFilesApiAxiosParamCreator = exports.AgencyHostingDomainsApi = exports.AgencyHostingDomainsApiFactory = exports.AgencyHostingDomainsApiFp = exports.AgencyHostingDomainsApiAxiosParamCreator = exports.AgencyHostingDatacentersApi = void 0;
|
|
25
|
+
exports.EcommerceStoresApiFp = exports.EcommerceStoresApiAxiosParamCreator = exports.EcommerceShippingApi = 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 = void 0;
|
|
26
|
+
exports.MailAliasesApiAxiosParamCreator = exports.MailAPITokensApi = exports.MailAPITokensApiFactory = exports.MailAPITokensApiFp = exports.MailAPITokensApiAxiosParamCreator = exports.HostingWebsitesApi = exports.HostingWebsitesApiFactory = exports.HostingWebsitesApiFp = exports.HostingWebsitesApiAxiosParamCreator = 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.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 = void 0;
|
|
27
|
+
exports.ReachProfilesApi = exports.ReachProfilesApiFactory = exports.ReachProfilesApiFp = exports.ReachProfilesApiAxiosParamCreator = exports.ListContactsV1SubscriptionStatusEnum = exports.ReachContactsApi = exports.ReachContactsApiFactory = exports.ReachContactsApiFp = exports.ReachContactsApiAxiosParamCreator = exports.ListWebhooksV1StatusEnum = exports.MailWebhooksApi = exports.MailWebhooksApiFactory = exports.MailWebhooksApiFp = 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 = void 0;
|
|
28
|
+
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 = exports.VPSBackupsApiFp = exports.VPSBackupsApiAxiosParamCreator = exports.VPSActionsApi = exports.VPSActionsApiFactory = exports.VPSActionsApiFp = exports.VPSActionsApiAxiosParamCreator = exports.ReachSegmentsApi = exports.ReachSegmentsApiFactory = exports.ReachSegmentsApiFp = exports.ReachSegmentsApiAxiosParamCreator = void 0;
|
|
29
|
+
exports.WordPressThemesApi = exports.WordPressThemesApiFactory = exports.WordPressThemesApiFp = exports.WordPressThemesApiAxiosParamCreator = exports.ListInstalledWordPressPluginsV1CategoryEnum = exports.WordPressPluginsApi = exports.WordPressPluginsApiFactory = exports.WordPressPluginsApiFp = exports.WordPressPluginsApiAxiosParamCreator = exports.WordPressObjectCacheApi = exports.WordPressObjectCacheApiFactory = exports.WordPressObjectCacheApiFp = exports.WordPressObjectCacheApiAxiosParamCreator = exports.WordPressMaintenanceApi = exports.WordPressMaintenanceApiFactory = exports.WordPressMaintenanceApiFp = exports.WordPressMaintenanceApiAxiosParamCreator = exports.WordPressLoginApi = exports.WordPressLoginApiFactory = exports.WordPressLoginApiFp = exports.WordPressLoginApiAxiosParamCreator = exports.WordPressLiteSpeedCacheApi = exports.WordPressLiteSpeedCacheApiFactory = exports.WordPressLiteSpeedCacheApiFp = exports.WordPressLiteSpeedCacheApiAxiosParamCreator = exports.ListWordPressInstallationsV1OwnershipEnum = exports.WordPressInstallationsApi = exports.WordPressInstallationsApiFactory = exports.WordPressInstallationsApiFp = exports.WordPressInstallationsApiAxiosParamCreator = exports.ShowAIOptionStatusV1OptionEnum = exports.WordPressAIToolsApi = exports.WordPressAIToolsApiFactory = exports.WordPressAIToolsApiFp = exports.WordPressAIToolsApiAxiosParamCreator = exports.VPSVirtualMachineApi = exports.VPSVirtualMachineApiFactory = exports.VPSVirtualMachineApiFp = exports.VPSVirtualMachineApiAxiosParamCreator = exports.VPSSnapshotsApi = exports.VPSSnapshotsApiFactory = void 0;
|
|
30
30
|
const axios_1 = require("axios");
|
|
31
31
|
// Some imports not used depending on template conditions
|
|
32
32
|
// @ts-ignore
|
|
@@ -162,6 +162,11 @@ exports.DomainsV1IRTPVerificationResourceStatusEnum = {
|
|
|
162
162
|
Completed: 'completed',
|
|
163
163
|
Canceled: 'canceled'
|
|
164
164
|
};
|
|
165
|
+
exports.DomainsV1MoveMoveResourceStatusEnum = {
|
|
166
|
+
Initiated: 'initiated',
|
|
167
|
+
Activating: 'activating',
|
|
168
|
+
Completed: 'completed'
|
|
169
|
+
};
|
|
165
170
|
exports.DomainsV1WHOISChangeUpdateRequestChangeForEnum = {
|
|
166
171
|
Owner: 'owner',
|
|
167
172
|
Admin: 'admin',
|
|
@@ -4794,6 +4799,597 @@ class DomainsForwardingApi extends base_1.BaseAPI {
|
|
|
4794
4799
|
}
|
|
4795
4800
|
}
|
|
4796
4801
|
exports.DomainsForwardingApi = DomainsForwardingApi;
|
|
4802
|
+
/**
|
|
4803
|
+
* DomainsMoveApi - axios parameter creator
|
|
4804
|
+
* @export
|
|
4805
|
+
*/
|
|
4806
|
+
const DomainsMoveApiAxiosParamCreator = function (configuration) {
|
|
4807
|
+
return {
|
|
4808
|
+
/**
|
|
4809
|
+
* Accept an incoming move for a specified domain. The provided WHOIS profiles become the contacts of the domain, so they must belong to your account and satisfy the requirements of the TLD. Only the contact types the domain actually uses are applied, but all four profile IDs have to be provided. The move has to still be waiting for your decision, already accepted moves cannot be accepted again. Accepting does not complete the move. A confirmation email is sent to the email address of the new owner contact, and the domain changes hands only after the change is confirmed from it. Until then the move stays in the `activating` status, which can be followed with the [incoming move endpoint](#tag/domains-move). Use this endpoint to take ownership of a domain offered to you.
|
|
4810
|
+
* @summary Accept incoming domain move
|
|
4811
|
+
* @param {string} domain Domain name
|
|
4812
|
+
* @param {DomainsV1MoveIncomingUpdateRequest} domainsV1MoveIncomingUpdateRequest
|
|
4813
|
+
* @param {*} [options] Override http request option.
|
|
4814
|
+
* @throws {RequiredError}
|
|
4815
|
+
*/
|
|
4816
|
+
acceptIncomingDomainMoveV1: (domain_1, domainsV1MoveIncomingUpdateRequest_1, ...args_1) => __awaiter(this, [domain_1, domainsV1MoveIncomingUpdateRequest_1, ...args_1], void 0, function* (domain, domainsV1MoveIncomingUpdateRequest, options = {}) {
|
|
4817
|
+
// verify required parameter 'domain' is not null or undefined
|
|
4818
|
+
(0, common_1.assertParamExists)('acceptIncomingDomainMoveV1', 'domain', domain);
|
|
4819
|
+
// verify required parameter 'domainsV1MoveIncomingUpdateRequest' is not null or undefined
|
|
4820
|
+
(0, common_1.assertParamExists)('acceptIncomingDomainMoveV1', 'domainsV1MoveIncomingUpdateRequest', domainsV1MoveIncomingUpdateRequest);
|
|
4821
|
+
const localVarPath = `/api/domains/v1/move/incoming/{domain}`
|
|
4822
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
4823
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4824
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4825
|
+
let baseOptions;
|
|
4826
|
+
if (configuration) {
|
|
4827
|
+
baseOptions = configuration.baseOptions;
|
|
4828
|
+
}
|
|
4829
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
4830
|
+
const localVarHeaderParameter = {};
|
|
4831
|
+
const localVarQueryParameter = {};
|
|
4832
|
+
// authentication apiToken required
|
|
4833
|
+
// http bearer authentication required
|
|
4834
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4835
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4836
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4837
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4838
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4839
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(domainsV1MoveIncomingUpdateRequest, localVarRequestOptions, configuration);
|
|
4840
|
+
return {
|
|
4841
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4842
|
+
options: localVarRequestOptions,
|
|
4843
|
+
};
|
|
4844
|
+
}),
|
|
4845
|
+
/**
|
|
4846
|
+
* Cancel an outgoing move for a specified domain. The move can only be cancelled while the receiving account has not accepted it yet. The domain stays in your account. Use this endpoint to withdraw a move you no longer want to complete.
|
|
4847
|
+
* @summary Cancel outgoing domain move
|
|
4848
|
+
* @param {string} domain Domain name
|
|
4849
|
+
* @param {*} [options] Override http request option.
|
|
4850
|
+
* @throws {RequiredError}
|
|
4851
|
+
*/
|
|
4852
|
+
cancelOutgoingDomainMoveV1: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
|
|
4853
|
+
// verify required parameter 'domain' is not null or undefined
|
|
4854
|
+
(0, common_1.assertParamExists)('cancelOutgoingDomainMoveV1', 'domain', domain);
|
|
4855
|
+
const localVarPath = `/api/domains/v1/move/outgoing/{domain}`
|
|
4856
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
4857
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4858
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4859
|
+
let baseOptions;
|
|
4860
|
+
if (configuration) {
|
|
4861
|
+
baseOptions = configuration.baseOptions;
|
|
4862
|
+
}
|
|
4863
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
4864
|
+
const localVarHeaderParameter = {};
|
|
4865
|
+
const localVarQueryParameter = {};
|
|
4866
|
+
// authentication apiToken required
|
|
4867
|
+
// http bearer authentication required
|
|
4868
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4869
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4870
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4871
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4872
|
+
return {
|
|
4873
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4874
|
+
options: localVarRequestOptions,
|
|
4875
|
+
};
|
|
4876
|
+
}),
|
|
4877
|
+
/**
|
|
4878
|
+
* Retrieve all domains other Hostinger accounts are moving to your account. Moves of every status are returned, including the ones which already completed. Use this endpoint to find domains waiting for you to accept them.
|
|
4879
|
+
* @summary Get incoming domain move list
|
|
4880
|
+
* @param {*} [options] Override http request option.
|
|
4881
|
+
* @throws {RequiredError}
|
|
4882
|
+
*/
|
|
4883
|
+
getIncomingDomainMoveListV1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
4884
|
+
const localVarPath = `/api/domains/v1/move/incoming`;
|
|
4885
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4886
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4887
|
+
let baseOptions;
|
|
4888
|
+
if (configuration) {
|
|
4889
|
+
baseOptions = configuration.baseOptions;
|
|
4890
|
+
}
|
|
4891
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4892
|
+
const localVarHeaderParameter = {};
|
|
4893
|
+
const localVarQueryParameter = {};
|
|
4894
|
+
// authentication apiToken required
|
|
4895
|
+
// http bearer authentication required
|
|
4896
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4897
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4898
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4899
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4900
|
+
return {
|
|
4901
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4902
|
+
options: localVarRequestOptions,
|
|
4903
|
+
};
|
|
4904
|
+
}),
|
|
4905
|
+
/**
|
|
4906
|
+
* Retrieve the incoming move for a specified domain. Returns 404 when no account is moving this domain to you. Use this endpoint to check whether a domain addressed to you is still waiting to be accepted.
|
|
4907
|
+
* @summary Get incoming domain move
|
|
4908
|
+
* @param {string} domain Domain name
|
|
4909
|
+
* @param {boolean} [forceSync] Re-check the move against the registry before responding. Only has an effect while the move is in the `activating` status.
|
|
4910
|
+
* @param {*} [options] Override http request option.
|
|
4911
|
+
* @throws {RequiredError}
|
|
4912
|
+
*/
|
|
4913
|
+
getIncomingDomainMoveV1: (domain_1, forceSync_1, ...args_1) => __awaiter(this, [domain_1, forceSync_1, ...args_1], void 0, function* (domain, forceSync, options = {}) {
|
|
4914
|
+
// verify required parameter 'domain' is not null or undefined
|
|
4915
|
+
(0, common_1.assertParamExists)('getIncomingDomainMoveV1', 'domain', domain);
|
|
4916
|
+
const localVarPath = `/api/domains/v1/move/incoming/{domain}`
|
|
4917
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
4918
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4919
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4920
|
+
let baseOptions;
|
|
4921
|
+
if (configuration) {
|
|
4922
|
+
baseOptions = configuration.baseOptions;
|
|
4923
|
+
}
|
|
4924
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4925
|
+
const localVarHeaderParameter = {};
|
|
4926
|
+
const localVarQueryParameter = {};
|
|
4927
|
+
// authentication apiToken required
|
|
4928
|
+
// http bearer authentication required
|
|
4929
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4930
|
+
if (forceSync !== undefined) {
|
|
4931
|
+
localVarQueryParameter['force_sync'] = forceSync;
|
|
4932
|
+
}
|
|
4933
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4934
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4935
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4936
|
+
return {
|
|
4937
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4938
|
+
options: localVarRequestOptions,
|
|
4939
|
+
};
|
|
4940
|
+
}),
|
|
4941
|
+
/**
|
|
4942
|
+
* Retrieve all domains you are moving to other Hostinger accounts. Only moves which have not completed yet are returned. Use this endpoint to track moves you have initiated and the accounts they are addressed to.
|
|
4943
|
+
* @summary Get outgoing domain move list
|
|
4944
|
+
* @param {*} [options] Override http request option.
|
|
4945
|
+
* @throws {RequiredError}
|
|
4946
|
+
*/
|
|
4947
|
+
getOutgoingDomainMoveListV1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
4948
|
+
const localVarPath = `/api/domains/v1/move/outgoing`;
|
|
4949
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4950
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4951
|
+
let baseOptions;
|
|
4952
|
+
if (configuration) {
|
|
4953
|
+
baseOptions = configuration.baseOptions;
|
|
4954
|
+
}
|
|
4955
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4956
|
+
const localVarHeaderParameter = {};
|
|
4957
|
+
const localVarQueryParameter = {};
|
|
4958
|
+
// authentication apiToken required
|
|
4959
|
+
// http bearer authentication required
|
|
4960
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4961
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4962
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4963
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4964
|
+
return {
|
|
4965
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4966
|
+
options: localVarRequestOptions,
|
|
4967
|
+
};
|
|
4968
|
+
}),
|
|
4969
|
+
/**
|
|
4970
|
+
* Retrieve the outgoing move for a specified domain. Returns 404 when the domain has no move in progress. Use this endpoint to track the status of a move you have initiated for a single domain.
|
|
4971
|
+
* @summary Get outgoing domain move
|
|
4972
|
+
* @param {string} domain Domain name
|
|
4973
|
+
* @param {*} [options] Override http request option.
|
|
4974
|
+
* @throws {RequiredError}
|
|
4975
|
+
*/
|
|
4976
|
+
getOutgoingDomainMoveV1: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
|
|
4977
|
+
// verify required parameter 'domain' is not null or undefined
|
|
4978
|
+
(0, common_1.assertParamExists)('getOutgoingDomainMoveV1', 'domain', domain);
|
|
4979
|
+
const localVarPath = `/api/domains/v1/move/outgoing/{domain}`
|
|
4980
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
4981
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4982
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4983
|
+
let baseOptions;
|
|
4984
|
+
if (configuration) {
|
|
4985
|
+
baseOptions = configuration.baseOptions;
|
|
4986
|
+
}
|
|
4987
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4988
|
+
const localVarHeaderParameter = {};
|
|
4989
|
+
const localVarQueryParameter = {};
|
|
4990
|
+
// authentication apiToken required
|
|
4991
|
+
// http bearer authentication required
|
|
4992
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4993
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4994
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4995
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4996
|
+
return {
|
|
4997
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4998
|
+
options: localVarRequestOptions,
|
|
4999
|
+
};
|
|
5000
|
+
}),
|
|
5001
|
+
/**
|
|
5002
|
+
* Reject an incoming move for a specified domain. The domain stays in the account which initiated the move. Moves you have already accepted cannot be rejected anymore. Use this endpoint to decline a domain you do not want to take over.
|
|
5003
|
+
* @summary Reject incoming domain move
|
|
5004
|
+
* @param {string} domain Domain name
|
|
5005
|
+
* @param {*} [options] Override http request option.
|
|
5006
|
+
* @throws {RequiredError}
|
|
5007
|
+
*/
|
|
5008
|
+
rejectIncomingDomainMoveV1: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
|
|
5009
|
+
// verify required parameter 'domain' is not null or undefined
|
|
5010
|
+
(0, common_1.assertParamExists)('rejectIncomingDomainMoveV1', 'domain', domain);
|
|
5011
|
+
const localVarPath = `/api/domains/v1/move/incoming/{domain}`
|
|
5012
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
5013
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5014
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5015
|
+
let baseOptions;
|
|
5016
|
+
if (configuration) {
|
|
5017
|
+
baseOptions = configuration.baseOptions;
|
|
5018
|
+
}
|
|
5019
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
5020
|
+
const localVarHeaderParameter = {};
|
|
5021
|
+
const localVarQueryParameter = {};
|
|
5022
|
+
// authentication apiToken required
|
|
5023
|
+
// http bearer authentication required
|
|
5024
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5025
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5026
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5027
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5028
|
+
return {
|
|
5029
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5030
|
+
options: localVarRequestOptions,
|
|
5031
|
+
};
|
|
5032
|
+
}),
|
|
5033
|
+
/**
|
|
5034
|
+
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
5035
|
+
* @summary Start outgoing domain move
|
|
5036
|
+
* @param {string} domain Domain name
|
|
5037
|
+
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
5038
|
+
* @param {*} [options] Override http request option.
|
|
5039
|
+
* @throws {RequiredError}
|
|
5040
|
+
*/
|
|
5041
|
+
startOutgoingDomainMoveV1: (domain_1, domainsV1MoveOutgoingStoreRequest_1, ...args_1) => __awaiter(this, [domain_1, domainsV1MoveOutgoingStoreRequest_1, ...args_1], void 0, function* (domain, domainsV1MoveOutgoingStoreRequest, options = {}) {
|
|
5042
|
+
// verify required parameter 'domain' is not null or undefined
|
|
5043
|
+
(0, common_1.assertParamExists)('startOutgoingDomainMoveV1', 'domain', domain);
|
|
5044
|
+
// verify required parameter 'domainsV1MoveOutgoingStoreRequest' is not null or undefined
|
|
5045
|
+
(0, common_1.assertParamExists)('startOutgoingDomainMoveV1', 'domainsV1MoveOutgoingStoreRequest', domainsV1MoveOutgoingStoreRequest);
|
|
5046
|
+
const localVarPath = `/api/domains/v1/move/outgoing/{domain}`
|
|
5047
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
5048
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5049
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5050
|
+
let baseOptions;
|
|
5051
|
+
if (configuration) {
|
|
5052
|
+
baseOptions = configuration.baseOptions;
|
|
5053
|
+
}
|
|
5054
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5055
|
+
const localVarHeaderParameter = {};
|
|
5056
|
+
const localVarQueryParameter = {};
|
|
5057
|
+
// authentication apiToken required
|
|
5058
|
+
// http bearer authentication required
|
|
5059
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5060
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5061
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5062
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5063
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5064
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(domainsV1MoveOutgoingStoreRequest, localVarRequestOptions, configuration);
|
|
5065
|
+
return {
|
|
5066
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5067
|
+
options: localVarRequestOptions,
|
|
5068
|
+
};
|
|
5069
|
+
}),
|
|
5070
|
+
};
|
|
5071
|
+
};
|
|
5072
|
+
exports.DomainsMoveApiAxiosParamCreator = DomainsMoveApiAxiosParamCreator;
|
|
5073
|
+
/**
|
|
5074
|
+
* DomainsMoveApi - functional programming interface
|
|
5075
|
+
* @export
|
|
5076
|
+
*/
|
|
5077
|
+
const DomainsMoveApiFp = function (configuration) {
|
|
5078
|
+
const localVarAxiosParamCreator = (0, exports.DomainsMoveApiAxiosParamCreator)(configuration);
|
|
5079
|
+
return {
|
|
5080
|
+
/**
|
|
5081
|
+
* Accept an incoming move for a specified domain. The provided WHOIS profiles become the contacts of the domain, so they must belong to your account and satisfy the requirements of the TLD. Only the contact types the domain actually uses are applied, but all four profile IDs have to be provided. The move has to still be waiting for your decision, already accepted moves cannot be accepted again. Accepting does not complete the move. A confirmation email is sent to the email address of the new owner contact, and the domain changes hands only after the change is confirmed from it. Until then the move stays in the `activating` status, which can be followed with the [incoming move endpoint](#tag/domains-move). Use this endpoint to take ownership of a domain offered to you.
|
|
5082
|
+
* @summary Accept incoming domain move
|
|
5083
|
+
* @param {string} domain Domain name
|
|
5084
|
+
* @param {DomainsV1MoveIncomingUpdateRequest} domainsV1MoveIncomingUpdateRequest
|
|
5085
|
+
* @param {*} [options] Override http request option.
|
|
5086
|
+
* @throws {RequiredError}
|
|
5087
|
+
*/
|
|
5088
|
+
acceptIncomingDomainMoveV1(domain, domainsV1MoveIncomingUpdateRequest, options) {
|
|
5089
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5090
|
+
var _a, _b;
|
|
5091
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.acceptIncomingDomainMoveV1(domain, domainsV1MoveIncomingUpdateRequest, options);
|
|
5092
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsMoveApi.acceptIncomingDomainMoveV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
5093
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5094
|
+
});
|
|
5095
|
+
},
|
|
5096
|
+
/**
|
|
5097
|
+
* Cancel an outgoing move for a specified domain. The move can only be cancelled while the receiving account has not accepted it yet. The domain stays in your account. Use this endpoint to withdraw a move you no longer want to complete.
|
|
5098
|
+
* @summary Cancel outgoing domain move
|
|
5099
|
+
* @param {string} domain Domain name
|
|
5100
|
+
* @param {*} [options] Override http request option.
|
|
5101
|
+
* @throws {RequiredError}
|
|
5102
|
+
*/
|
|
5103
|
+
cancelOutgoingDomainMoveV1(domain, options) {
|
|
5104
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5105
|
+
var _a, _b;
|
|
5106
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelOutgoingDomainMoveV1(domain, options);
|
|
5107
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsMoveApi.cancelOutgoingDomainMoveV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
5108
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5109
|
+
});
|
|
5110
|
+
},
|
|
5111
|
+
/**
|
|
5112
|
+
* Retrieve all domains other Hostinger accounts are moving to your account. Moves of every status are returned, including the ones which already completed. Use this endpoint to find domains waiting for you to accept them.
|
|
5113
|
+
* @summary Get incoming domain move list
|
|
5114
|
+
* @param {*} [options] Override http request option.
|
|
5115
|
+
* @throws {RequiredError}
|
|
5116
|
+
*/
|
|
5117
|
+
getIncomingDomainMoveListV1(options) {
|
|
5118
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5119
|
+
var _a, _b;
|
|
5120
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIncomingDomainMoveListV1(options);
|
|
5121
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsMoveApi.getIncomingDomainMoveListV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
5122
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5123
|
+
});
|
|
5124
|
+
},
|
|
5125
|
+
/**
|
|
5126
|
+
* Retrieve the incoming move for a specified domain. Returns 404 when no account is moving this domain to you. Use this endpoint to check whether a domain addressed to you is still waiting to be accepted.
|
|
5127
|
+
* @summary Get incoming domain move
|
|
5128
|
+
* @param {string} domain Domain name
|
|
5129
|
+
* @param {boolean} [forceSync] Re-check the move against the registry before responding. Only has an effect while the move is in the `activating` status.
|
|
5130
|
+
* @param {*} [options] Override http request option.
|
|
5131
|
+
* @throws {RequiredError}
|
|
5132
|
+
*/
|
|
5133
|
+
getIncomingDomainMoveV1(domain, forceSync, options) {
|
|
5134
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5135
|
+
var _a, _b;
|
|
5136
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIncomingDomainMoveV1(domain, forceSync, options);
|
|
5137
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsMoveApi.getIncomingDomainMoveV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
5138
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5139
|
+
});
|
|
5140
|
+
},
|
|
5141
|
+
/**
|
|
5142
|
+
* Retrieve all domains you are moving to other Hostinger accounts. Only moves which have not completed yet are returned. Use this endpoint to track moves you have initiated and the accounts they are addressed to.
|
|
5143
|
+
* @summary Get outgoing domain move list
|
|
5144
|
+
* @param {*} [options] Override http request option.
|
|
5145
|
+
* @throws {RequiredError}
|
|
5146
|
+
*/
|
|
5147
|
+
getOutgoingDomainMoveListV1(options) {
|
|
5148
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5149
|
+
var _a, _b;
|
|
5150
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOutgoingDomainMoveListV1(options);
|
|
5151
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsMoveApi.getOutgoingDomainMoveListV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
5152
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5153
|
+
});
|
|
5154
|
+
},
|
|
5155
|
+
/**
|
|
5156
|
+
* Retrieve the outgoing move for a specified domain. Returns 404 when the domain has no move in progress. Use this endpoint to track the status of a move you have initiated for a single domain.
|
|
5157
|
+
* @summary Get outgoing domain move
|
|
5158
|
+
* @param {string} domain Domain name
|
|
5159
|
+
* @param {*} [options] Override http request option.
|
|
5160
|
+
* @throws {RequiredError}
|
|
5161
|
+
*/
|
|
5162
|
+
getOutgoingDomainMoveV1(domain, options) {
|
|
5163
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5164
|
+
var _a, _b;
|
|
5165
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOutgoingDomainMoveV1(domain, options);
|
|
5166
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsMoveApi.getOutgoingDomainMoveV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
5167
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5168
|
+
});
|
|
5169
|
+
},
|
|
5170
|
+
/**
|
|
5171
|
+
* Reject an incoming move for a specified domain. The domain stays in the account which initiated the move. Moves you have already accepted cannot be rejected anymore. Use this endpoint to decline a domain you do not want to take over.
|
|
5172
|
+
* @summary Reject incoming domain move
|
|
5173
|
+
* @param {string} domain Domain name
|
|
5174
|
+
* @param {*} [options] Override http request option.
|
|
5175
|
+
* @throws {RequiredError}
|
|
5176
|
+
*/
|
|
5177
|
+
rejectIncomingDomainMoveV1(domain, options) {
|
|
5178
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5179
|
+
var _a, _b;
|
|
5180
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.rejectIncomingDomainMoveV1(domain, options);
|
|
5181
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsMoveApi.rejectIncomingDomainMoveV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
5182
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5183
|
+
});
|
|
5184
|
+
},
|
|
5185
|
+
/**
|
|
5186
|
+
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
5187
|
+
* @summary Start outgoing domain move
|
|
5188
|
+
* @param {string} domain Domain name
|
|
5189
|
+
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
5190
|
+
* @param {*} [options] Override http request option.
|
|
5191
|
+
* @throws {RequiredError}
|
|
5192
|
+
*/
|
|
5193
|
+
startOutgoingDomainMoveV1(domain, domainsV1MoveOutgoingStoreRequest, options) {
|
|
5194
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5195
|
+
var _a, _b;
|
|
5196
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.startOutgoingDomainMoveV1(domain, domainsV1MoveOutgoingStoreRequest, options);
|
|
5197
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsMoveApi.startOutgoingDomainMoveV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
5198
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5199
|
+
});
|
|
5200
|
+
},
|
|
5201
|
+
};
|
|
5202
|
+
};
|
|
5203
|
+
exports.DomainsMoveApiFp = DomainsMoveApiFp;
|
|
5204
|
+
/**
|
|
5205
|
+
* DomainsMoveApi - factory interface
|
|
5206
|
+
* @export
|
|
5207
|
+
*/
|
|
5208
|
+
const DomainsMoveApiFactory = function (configuration, basePath, axios) {
|
|
5209
|
+
const localVarFp = (0, exports.DomainsMoveApiFp)(configuration);
|
|
5210
|
+
return {
|
|
5211
|
+
/**
|
|
5212
|
+
* Accept an incoming move for a specified domain. The provided WHOIS profiles become the contacts of the domain, so they must belong to your account and satisfy the requirements of the TLD. Only the contact types the domain actually uses are applied, but all four profile IDs have to be provided. The move has to still be waiting for your decision, already accepted moves cannot be accepted again. Accepting does not complete the move. A confirmation email is sent to the email address of the new owner contact, and the domain changes hands only after the change is confirmed from it. Until then the move stays in the `activating` status, which can be followed with the [incoming move endpoint](#tag/domains-move). Use this endpoint to take ownership of a domain offered to you.
|
|
5213
|
+
* @summary Accept incoming domain move
|
|
5214
|
+
* @param {string} domain Domain name
|
|
5215
|
+
* @param {DomainsV1MoveIncomingUpdateRequest} domainsV1MoveIncomingUpdateRequest
|
|
5216
|
+
* @param {*} [options] Override http request option.
|
|
5217
|
+
* @throws {RequiredError}
|
|
5218
|
+
*/
|
|
5219
|
+
acceptIncomingDomainMoveV1(domain, domainsV1MoveIncomingUpdateRequest, options) {
|
|
5220
|
+
return localVarFp.acceptIncomingDomainMoveV1(domain, domainsV1MoveIncomingUpdateRequest, options).then((request) => request(axios, basePath));
|
|
5221
|
+
},
|
|
5222
|
+
/**
|
|
5223
|
+
* Cancel an outgoing move for a specified domain. The move can only be cancelled while the receiving account has not accepted it yet. The domain stays in your account. Use this endpoint to withdraw a move you no longer want to complete.
|
|
5224
|
+
* @summary Cancel outgoing domain move
|
|
5225
|
+
* @param {string} domain Domain name
|
|
5226
|
+
* @param {*} [options] Override http request option.
|
|
5227
|
+
* @throws {RequiredError}
|
|
5228
|
+
*/
|
|
5229
|
+
cancelOutgoingDomainMoveV1(domain, options) {
|
|
5230
|
+
return localVarFp.cancelOutgoingDomainMoveV1(domain, options).then((request) => request(axios, basePath));
|
|
5231
|
+
},
|
|
5232
|
+
/**
|
|
5233
|
+
* Retrieve all domains other Hostinger accounts are moving to your account. Moves of every status are returned, including the ones which already completed. Use this endpoint to find domains waiting for you to accept them.
|
|
5234
|
+
* @summary Get incoming domain move list
|
|
5235
|
+
* @param {*} [options] Override http request option.
|
|
5236
|
+
* @throws {RequiredError}
|
|
5237
|
+
*/
|
|
5238
|
+
getIncomingDomainMoveListV1(options) {
|
|
5239
|
+
return localVarFp.getIncomingDomainMoveListV1(options).then((request) => request(axios, basePath));
|
|
5240
|
+
},
|
|
5241
|
+
/**
|
|
5242
|
+
* Retrieve the incoming move for a specified domain. Returns 404 when no account is moving this domain to you. Use this endpoint to check whether a domain addressed to you is still waiting to be accepted.
|
|
5243
|
+
* @summary Get incoming domain move
|
|
5244
|
+
* @param {string} domain Domain name
|
|
5245
|
+
* @param {boolean} [forceSync] Re-check the move against the registry before responding. Only has an effect while the move is in the `activating` status.
|
|
5246
|
+
* @param {*} [options] Override http request option.
|
|
5247
|
+
* @throws {RequiredError}
|
|
5248
|
+
*/
|
|
5249
|
+
getIncomingDomainMoveV1(domain, forceSync, options) {
|
|
5250
|
+
return localVarFp.getIncomingDomainMoveV1(domain, forceSync, options).then((request) => request(axios, basePath));
|
|
5251
|
+
},
|
|
5252
|
+
/**
|
|
5253
|
+
* Retrieve all domains you are moving to other Hostinger accounts. Only moves which have not completed yet are returned. Use this endpoint to track moves you have initiated and the accounts they are addressed to.
|
|
5254
|
+
* @summary Get outgoing domain move list
|
|
5255
|
+
* @param {*} [options] Override http request option.
|
|
5256
|
+
* @throws {RequiredError}
|
|
5257
|
+
*/
|
|
5258
|
+
getOutgoingDomainMoveListV1(options) {
|
|
5259
|
+
return localVarFp.getOutgoingDomainMoveListV1(options).then((request) => request(axios, basePath));
|
|
5260
|
+
},
|
|
5261
|
+
/**
|
|
5262
|
+
* Retrieve the outgoing move for a specified domain. Returns 404 when the domain has no move in progress. Use this endpoint to track the status of a move you have initiated for a single domain.
|
|
5263
|
+
* @summary Get outgoing domain move
|
|
5264
|
+
* @param {string} domain Domain name
|
|
5265
|
+
* @param {*} [options] Override http request option.
|
|
5266
|
+
* @throws {RequiredError}
|
|
5267
|
+
*/
|
|
5268
|
+
getOutgoingDomainMoveV1(domain, options) {
|
|
5269
|
+
return localVarFp.getOutgoingDomainMoveV1(domain, options).then((request) => request(axios, basePath));
|
|
5270
|
+
},
|
|
5271
|
+
/**
|
|
5272
|
+
* Reject an incoming move for a specified domain. The domain stays in the account which initiated the move. Moves you have already accepted cannot be rejected anymore. Use this endpoint to decline a domain you do not want to take over.
|
|
5273
|
+
* @summary Reject incoming domain move
|
|
5274
|
+
* @param {string} domain Domain name
|
|
5275
|
+
* @param {*} [options] Override http request option.
|
|
5276
|
+
* @throws {RequiredError}
|
|
5277
|
+
*/
|
|
5278
|
+
rejectIncomingDomainMoveV1(domain, options) {
|
|
5279
|
+
return localVarFp.rejectIncomingDomainMoveV1(domain, options).then((request) => request(axios, basePath));
|
|
5280
|
+
},
|
|
5281
|
+
/**
|
|
5282
|
+
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
5283
|
+
* @summary Start outgoing domain move
|
|
5284
|
+
* @param {string} domain Domain name
|
|
5285
|
+
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
5286
|
+
* @param {*} [options] Override http request option.
|
|
5287
|
+
* @throws {RequiredError}
|
|
5288
|
+
*/
|
|
5289
|
+
startOutgoingDomainMoveV1(domain, domainsV1MoveOutgoingStoreRequest, options) {
|
|
5290
|
+
return localVarFp.startOutgoingDomainMoveV1(domain, domainsV1MoveOutgoingStoreRequest, options).then((request) => request(axios, basePath));
|
|
5291
|
+
},
|
|
5292
|
+
};
|
|
5293
|
+
};
|
|
5294
|
+
exports.DomainsMoveApiFactory = DomainsMoveApiFactory;
|
|
5295
|
+
/**
|
|
5296
|
+
* DomainsMoveApi - object-oriented interface
|
|
5297
|
+
* @export
|
|
5298
|
+
* @class DomainsMoveApi
|
|
5299
|
+
* @extends {BaseAPI}
|
|
5300
|
+
*/
|
|
5301
|
+
class DomainsMoveApi extends base_1.BaseAPI {
|
|
5302
|
+
/**
|
|
5303
|
+
* Accept an incoming move for a specified domain. The provided WHOIS profiles become the contacts of the domain, so they must belong to your account and satisfy the requirements of the TLD. Only the contact types the domain actually uses are applied, but all four profile IDs have to be provided. The move has to still be waiting for your decision, already accepted moves cannot be accepted again. Accepting does not complete the move. A confirmation email is sent to the email address of the new owner contact, and the domain changes hands only after the change is confirmed from it. Until then the move stays in the `activating` status, which can be followed with the [incoming move endpoint](#tag/domains-move). Use this endpoint to take ownership of a domain offered to you.
|
|
5304
|
+
* @summary Accept incoming domain move
|
|
5305
|
+
* @param {string} domain Domain name
|
|
5306
|
+
* @param {DomainsV1MoveIncomingUpdateRequest} domainsV1MoveIncomingUpdateRequest
|
|
5307
|
+
* @param {*} [options] Override http request option.
|
|
5308
|
+
* @throws {RequiredError}
|
|
5309
|
+
* @memberof DomainsMoveApi
|
|
5310
|
+
*/
|
|
5311
|
+
acceptIncomingDomainMoveV1(domain, domainsV1MoveIncomingUpdateRequest, options) {
|
|
5312
|
+
return (0, exports.DomainsMoveApiFp)(this.configuration).acceptIncomingDomainMoveV1(domain, domainsV1MoveIncomingUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5313
|
+
}
|
|
5314
|
+
/**
|
|
5315
|
+
* Cancel an outgoing move for a specified domain. The move can only be cancelled while the receiving account has not accepted it yet. The domain stays in your account. Use this endpoint to withdraw a move you no longer want to complete.
|
|
5316
|
+
* @summary Cancel outgoing domain move
|
|
5317
|
+
* @param {string} domain Domain name
|
|
5318
|
+
* @param {*} [options] Override http request option.
|
|
5319
|
+
* @throws {RequiredError}
|
|
5320
|
+
* @memberof DomainsMoveApi
|
|
5321
|
+
*/
|
|
5322
|
+
cancelOutgoingDomainMoveV1(domain, options) {
|
|
5323
|
+
return (0, exports.DomainsMoveApiFp)(this.configuration).cancelOutgoingDomainMoveV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
5324
|
+
}
|
|
5325
|
+
/**
|
|
5326
|
+
* Retrieve all domains other Hostinger accounts are moving to your account. Moves of every status are returned, including the ones which already completed. Use this endpoint to find domains waiting for you to accept them.
|
|
5327
|
+
* @summary Get incoming domain move list
|
|
5328
|
+
* @param {*} [options] Override http request option.
|
|
5329
|
+
* @throws {RequiredError}
|
|
5330
|
+
* @memberof DomainsMoveApi
|
|
5331
|
+
*/
|
|
5332
|
+
getIncomingDomainMoveListV1(options) {
|
|
5333
|
+
return (0, exports.DomainsMoveApiFp)(this.configuration).getIncomingDomainMoveListV1(options).then((request) => request(this.axios, this.basePath));
|
|
5334
|
+
}
|
|
5335
|
+
/**
|
|
5336
|
+
* Retrieve the incoming move for a specified domain. Returns 404 when no account is moving this domain to you. Use this endpoint to check whether a domain addressed to you is still waiting to be accepted.
|
|
5337
|
+
* @summary Get incoming domain move
|
|
5338
|
+
* @param {string} domain Domain name
|
|
5339
|
+
* @param {boolean} [forceSync] Re-check the move against the registry before responding. Only has an effect while the move is in the `activating` status.
|
|
5340
|
+
* @param {*} [options] Override http request option.
|
|
5341
|
+
* @throws {RequiredError}
|
|
5342
|
+
* @memberof DomainsMoveApi
|
|
5343
|
+
*/
|
|
5344
|
+
getIncomingDomainMoveV1(domain, forceSync, options) {
|
|
5345
|
+
return (0, exports.DomainsMoveApiFp)(this.configuration).getIncomingDomainMoveV1(domain, forceSync, options).then((request) => request(this.axios, this.basePath));
|
|
5346
|
+
}
|
|
5347
|
+
/**
|
|
5348
|
+
* Retrieve all domains you are moving to other Hostinger accounts. Only moves which have not completed yet are returned. Use this endpoint to track moves you have initiated and the accounts they are addressed to.
|
|
5349
|
+
* @summary Get outgoing domain move list
|
|
5350
|
+
* @param {*} [options] Override http request option.
|
|
5351
|
+
* @throws {RequiredError}
|
|
5352
|
+
* @memberof DomainsMoveApi
|
|
5353
|
+
*/
|
|
5354
|
+
getOutgoingDomainMoveListV1(options) {
|
|
5355
|
+
return (0, exports.DomainsMoveApiFp)(this.configuration).getOutgoingDomainMoveListV1(options).then((request) => request(this.axios, this.basePath));
|
|
5356
|
+
}
|
|
5357
|
+
/**
|
|
5358
|
+
* Retrieve the outgoing move for a specified domain. Returns 404 when the domain has no move in progress. Use this endpoint to track the status of a move you have initiated for a single domain.
|
|
5359
|
+
* @summary Get outgoing domain move
|
|
5360
|
+
* @param {string} domain Domain name
|
|
5361
|
+
* @param {*} [options] Override http request option.
|
|
5362
|
+
* @throws {RequiredError}
|
|
5363
|
+
* @memberof DomainsMoveApi
|
|
5364
|
+
*/
|
|
5365
|
+
getOutgoingDomainMoveV1(domain, options) {
|
|
5366
|
+
return (0, exports.DomainsMoveApiFp)(this.configuration).getOutgoingDomainMoveV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
5367
|
+
}
|
|
5368
|
+
/**
|
|
5369
|
+
* Reject an incoming move for a specified domain. The domain stays in the account which initiated the move. Moves you have already accepted cannot be rejected anymore. Use this endpoint to decline a domain you do not want to take over.
|
|
5370
|
+
* @summary Reject incoming domain move
|
|
5371
|
+
* @param {string} domain Domain name
|
|
5372
|
+
* @param {*} [options] Override http request option.
|
|
5373
|
+
* @throws {RequiredError}
|
|
5374
|
+
* @memberof DomainsMoveApi
|
|
5375
|
+
*/
|
|
5376
|
+
rejectIncomingDomainMoveV1(domain, options) {
|
|
5377
|
+
return (0, exports.DomainsMoveApiFp)(this.configuration).rejectIncomingDomainMoveV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
5378
|
+
}
|
|
5379
|
+
/**
|
|
5380
|
+
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
5381
|
+
* @summary Start outgoing domain move
|
|
5382
|
+
* @param {string} domain Domain name
|
|
5383
|
+
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
5384
|
+
* @param {*} [options] Override http request option.
|
|
5385
|
+
* @throws {RequiredError}
|
|
5386
|
+
* @memberof DomainsMoveApi
|
|
5387
|
+
*/
|
|
5388
|
+
startOutgoingDomainMoveV1(domain, domainsV1MoveOutgoingStoreRequest, options) {
|
|
5389
|
+
return (0, exports.DomainsMoveApiFp)(this.configuration).startOutgoingDomainMoveV1(domain, domainsV1MoveOutgoingStoreRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5390
|
+
}
|
|
5391
|
+
}
|
|
5392
|
+
exports.DomainsMoveApi = DomainsMoveApi;
|
|
4797
5393
|
/**
|
|
4798
5394
|
* DomainsPortfolioApi - axios parameter creator
|
|
4799
5395
|
* @export
|