hostinger-api-sdk 1.22.1 → 1.24.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 +460 -5
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +257 -5
- package/dist/api.js +365 -13
- 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 +257 -5
- package/dist/esm/api.js +357 -5
- 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/DomainsV1IRTPVerificationResource.md +32 -0
- package/docs/DomainsV1WHOISChangeUpdateRequest.md +24 -0
- package/docs/DomainsWHOISApi.md +272 -0
- package/docs/VPSVirtualMachineApi.md +1 -1
- 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.25.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 = void 0;
|
|
22
|
+
exports.MailV1WebhooksWebhookCreatedResourceEventsEnum = 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.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.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.ReachV1ContactsSegmentsStoreRequestConditionsInnerAttributeEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum = exports.ReachV1ContactsSegmentsStoreRequestLogicEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsContactResourceSourceEnum = exports.ReachV1ContactsContactResourceSubscriptionStatusEnum = exports.MailV1WebhooksWebhookSecretResourceStatusEnum = exports.MailV1WebhooksWebhookSecretResourceEventsEnum = exports.MailV1WebhooksWebhookResourceStatusEnum = exports.MailV1WebhooksWebhookResourceEventsEnum = exports.MailV1WebhooksWebhookCreatedResourceStatusEnum = void 0;
|
|
24
|
+
exports.DomainAccessVerifierVerificationsApiAxiosParamCreator = exports.DNSZoneApi = exports.DNSZoneApiFactory = exports.DNSZoneApiFp = exports.DNSZoneApiAxiosParamCreator = exports.DNSSnapshotApi = exports.DNSSnapshotApiFactory = exports.DNSSnapshotApiFp = exports.DNSSnapshotApiAxiosParamCreator = exports.BillingSubscriptionsApi = exports.BillingSubscriptionsApiFactory = exports.BillingSubscriptionsApiFp = exports.BillingSubscriptionsApiAxiosParamCreator = exports.BillingPaymentMethodsApi = exports.BillingPaymentMethodsApiFactory = exports.BillingPaymentMethodsApiFp = 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 = void 0;
|
|
25
|
+
exports.HorizonsWebsitesApiFactory = exports.HorizonsWebsitesApiFp = exports.HorizonsWebsitesApiAxiosParamCreator = exports.EcommerceStoresApi = exports.EcommerceStoresApiFactory = exports.EcommerceStoresApiFp = exports.EcommerceStoresApiAxiosParamCreator = exports.EcommerceShippingApi = exports.EcommerceShippingApiFactory = exports.EcommerceShippingApiFp = exports.EcommerceShippingApiAxiosParamCreator = exports.EcommerceSalesChannelsApi = exports.EcommerceSalesChannelsApiFactory = exports.EcommerceSalesChannelsApiFp = exports.EcommerceSalesChannelsApiAxiosParamCreator = exports.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.DomainsForwardingApi = exports.DomainsForwardingApiFactory = exports.DomainsForwardingApiFp = exports.DomainsForwardingApiAxiosParamCreator = exports.DomainsAvailabilityApi = exports.DomainsAvailabilityApiFactory = exports.DomainsAvailabilityApiFp = exports.DomainsAvailabilityApiAxiosParamCreator = exports.DomainAccessVerifierVerificationsApi = exports.DomainAccessVerifierVerificationsApiFactory = exports.DomainAccessVerifierVerificationsApiFp = void 0;
|
|
26
|
+
exports.MailAutorepliesApiFp = exports.MailAutorepliesApiAxiosParamCreator = exports.MailAliasesApi = exports.MailAliasesApiFactory = exports.MailAliasesApiFp = 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 = void 0;
|
|
27
|
+
exports.VPSActionsApiAxiosParamCreator = exports.ReachSegmentsApi = exports.ReachSegmentsApiFactory = exports.ReachSegmentsApiFp = exports.ReachSegmentsApiAxiosParamCreator = 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 = void 0;
|
|
28
|
+
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 = exports.VPSBackupsApiFp = exports.VPSBackupsApiAxiosParamCreator = exports.VPSActionsApi = exports.VPSActionsApiFactory = exports.VPSActionsApiFp = 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 = void 0;
|
|
30
30
|
const axios_1 = require("axios");
|
|
31
31
|
// Some imports not used depending on template conditions
|
|
32
32
|
// @ts-ignore
|
|
@@ -157,6 +157,17 @@ exports.DomainsV1ForwardingUpdateRequestRedirectTypeEnum = {
|
|
|
157
157
|
_301: '301',
|
|
158
158
|
_302: '302'
|
|
159
159
|
};
|
|
160
|
+
exports.DomainsV1IRTPVerificationResourceStatusEnum = {
|
|
161
|
+
Pending: 'pending',
|
|
162
|
+
Completed: 'completed',
|
|
163
|
+
Canceled: 'canceled'
|
|
164
|
+
};
|
|
165
|
+
exports.DomainsV1WHOISChangeUpdateRequestChangeForEnum = {
|
|
166
|
+
Owner: 'owner',
|
|
167
|
+
Admin: 'admin',
|
|
168
|
+
Billing: 'billing',
|
|
169
|
+
Tech: 'tech'
|
|
170
|
+
};
|
|
160
171
|
exports.DomainsV1WHOISProfileResourceEntityTypeEnum = {
|
|
161
172
|
Individual: 'individual',
|
|
162
173
|
Organization: 'organization'
|
|
@@ -5676,6 +5687,71 @@ exports.DomainsTransferApi = DomainsTransferApi;
|
|
|
5676
5687
|
*/
|
|
5677
5688
|
const DomainsWHOISApiAxiosParamCreator = function (configuration) {
|
|
5678
5689
|
return {
|
|
5690
|
+
/**
|
|
5691
|
+
* Cancel a pending IRTP verification. Use this endpoint to back out of a WHOIS change that is stuck waiting on registrant confirmation, for example when the confirmation email cannot be received, without waiting out the 5-day expiry.
|
|
5692
|
+
* @summary Cancel pending IRTP verification
|
|
5693
|
+
* @param {string} domain Domain name
|
|
5694
|
+
* @param {*} [options] Override http request option.
|
|
5695
|
+
* @throws {RequiredError}
|
|
5696
|
+
*/
|
|
5697
|
+
cancelPendingIRTPVerificationV1: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
|
|
5698
|
+
// verify required parameter 'domain' is not null or undefined
|
|
5699
|
+
(0, common_1.assertParamExists)('cancelPendingIRTPVerificationV1', 'domain', domain);
|
|
5700
|
+
const localVarPath = `/api/domains/v1/irtp/{domain}`
|
|
5701
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
5702
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5703
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5704
|
+
let baseOptions;
|
|
5705
|
+
if (configuration) {
|
|
5706
|
+
baseOptions = configuration.baseOptions;
|
|
5707
|
+
}
|
|
5708
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
5709
|
+
const localVarHeaderParameter = {};
|
|
5710
|
+
const localVarQueryParameter = {};
|
|
5711
|
+
// authentication apiToken required
|
|
5712
|
+
// http bearer authentication required
|
|
5713
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5714
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5715
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5716
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5717
|
+
return {
|
|
5718
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5719
|
+
options: localVarRequestOptions,
|
|
5720
|
+
};
|
|
5721
|
+
}),
|
|
5722
|
+
/**
|
|
5723
|
+
* Change WHOIS contact profile for a domain. Repoints the given contact roles to a new WHOIS profile and submits the change to the registry. The profile currently assigned to those roles is resolved automatically; the request fails if the given roles are not all on the same profile today. Changing transfer sensitive fields on the owner contact starts an IRTP verification. The change is processed asynchronously. Use this endpoint to move a registered domain onto different contact information.
|
|
5724
|
+
* @summary Change WHOIS profile for domain
|
|
5725
|
+
* @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
|
|
5726
|
+
* @param {*} [options] Override http request option.
|
|
5727
|
+
* @throws {RequiredError}
|
|
5728
|
+
*/
|
|
5729
|
+
changeWHOISProfileForDomainV1: (domainsV1WHOISChangeUpdateRequest_1, ...args_1) => __awaiter(this, [domainsV1WHOISChangeUpdateRequest_1, ...args_1], void 0, function* (domainsV1WHOISChangeUpdateRequest, options = {}) {
|
|
5730
|
+
// verify required parameter 'domainsV1WHOISChangeUpdateRequest' is not null or undefined
|
|
5731
|
+
(0, common_1.assertParamExists)('changeWHOISProfileForDomainV1', 'domainsV1WHOISChangeUpdateRequest', domainsV1WHOISChangeUpdateRequest);
|
|
5732
|
+
const localVarPath = `/api/domains/v1/whois/change`;
|
|
5733
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5734
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5735
|
+
let baseOptions;
|
|
5736
|
+
if (configuration) {
|
|
5737
|
+
baseOptions = configuration.baseOptions;
|
|
5738
|
+
}
|
|
5739
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
5740
|
+
const localVarHeaderParameter = {};
|
|
5741
|
+
const localVarQueryParameter = {};
|
|
5742
|
+
// authentication apiToken required
|
|
5743
|
+
// http bearer authentication required
|
|
5744
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5745
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5746
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5747
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5748
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5749
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(domainsV1WHOISChangeUpdateRequest, localVarRequestOptions, configuration);
|
|
5750
|
+
return {
|
|
5751
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5752
|
+
options: localVarRequestOptions,
|
|
5753
|
+
};
|
|
5754
|
+
}),
|
|
5679
5755
|
/**
|
|
5680
5756
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
5681
5757
|
* @summary Create WHOIS profile
|
|
@@ -5741,6 +5817,38 @@ const DomainsWHOISApiAxiosParamCreator = function (configuration) {
|
|
|
5741
5817
|
options: localVarRequestOptions,
|
|
5742
5818
|
};
|
|
5743
5819
|
}),
|
|
5820
|
+
/**
|
|
5821
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
5822
|
+
* @summary Get pending IRTP verification
|
|
5823
|
+
* @param {string} domain Domain name
|
|
5824
|
+
* @param {*} [options] Override http request option.
|
|
5825
|
+
* @throws {RequiredError}
|
|
5826
|
+
*/
|
|
5827
|
+
getPendingIRTPVerificationV1: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
|
|
5828
|
+
// verify required parameter 'domain' is not null or undefined
|
|
5829
|
+
(0, common_1.assertParamExists)('getPendingIRTPVerificationV1', 'domain', domain);
|
|
5830
|
+
const localVarPath = `/api/domains/v1/irtp/{domain}`
|
|
5831
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
5832
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5833
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5834
|
+
let baseOptions;
|
|
5835
|
+
if (configuration) {
|
|
5836
|
+
baseOptions = configuration.baseOptions;
|
|
5837
|
+
}
|
|
5838
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5839
|
+
const localVarHeaderParameter = {};
|
|
5840
|
+
const localVarQueryParameter = {};
|
|
5841
|
+
// authentication apiToken required
|
|
5842
|
+
// http bearer authentication required
|
|
5843
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5844
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5845
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5846
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5847
|
+
return {
|
|
5848
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5849
|
+
options: localVarRequestOptions,
|
|
5850
|
+
};
|
|
5851
|
+
}),
|
|
5744
5852
|
/**
|
|
5745
5853
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
5746
5854
|
* @summary Get WHOIS profile list
|
|
@@ -5837,6 +5945,70 @@ const DomainsWHOISApiAxiosParamCreator = function (configuration) {
|
|
|
5837
5945
|
options: localVarRequestOptions,
|
|
5838
5946
|
};
|
|
5839
5947
|
}),
|
|
5948
|
+
/**
|
|
5949
|
+
* Set WHOIS contact profile as default. The default profile is pre-selected for the TLD it belongs to when registering new domains. Use this endpoint to avoid picking contact information for every registration.
|
|
5950
|
+
* @summary Set WHOIS profile as default
|
|
5951
|
+
* @param {number} whoisId WHOIS ID
|
|
5952
|
+
* @param {*} [options] Override http request option.
|
|
5953
|
+
* @throws {RequiredError}
|
|
5954
|
+
*/
|
|
5955
|
+
setWHOISProfileAsDefaultV1: (whoisId_1, ...args_1) => __awaiter(this, [whoisId_1, ...args_1], void 0, function* (whoisId, options = {}) {
|
|
5956
|
+
// verify required parameter 'whoisId' is not null or undefined
|
|
5957
|
+
(0, common_1.assertParamExists)('setWHOISProfileAsDefaultV1', 'whoisId', whoisId);
|
|
5958
|
+
const localVarPath = `/api/domains/v1/whois/default/{whoisId}`
|
|
5959
|
+
.replace(`{${"whoisId"}}`, encodeURIComponent(String(whoisId)));
|
|
5960
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5961
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5962
|
+
let baseOptions;
|
|
5963
|
+
if (configuration) {
|
|
5964
|
+
baseOptions = configuration.baseOptions;
|
|
5965
|
+
}
|
|
5966
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
5967
|
+
const localVarHeaderParameter = {};
|
|
5968
|
+
const localVarQueryParameter = {};
|
|
5969
|
+
// authentication apiToken required
|
|
5970
|
+
// http bearer authentication required
|
|
5971
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5972
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5973
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5974
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5975
|
+
return {
|
|
5976
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5977
|
+
options: localVarRequestOptions,
|
|
5978
|
+
};
|
|
5979
|
+
}),
|
|
5980
|
+
/**
|
|
5981
|
+
* Unset WHOIS contact profile as default. The profile itself is kept, it is only no longer pre-selected for its TLD. Use this endpoint to stop reusing contact information for new registrations.
|
|
5982
|
+
* @summary Unset default WHOIS profile
|
|
5983
|
+
* @param {number} whoisId WHOIS ID
|
|
5984
|
+
* @param {*} [options] Override http request option.
|
|
5985
|
+
* @throws {RequiredError}
|
|
5986
|
+
*/
|
|
5987
|
+
unsetDefaultWHOISProfileV1: (whoisId_1, ...args_1) => __awaiter(this, [whoisId_1, ...args_1], void 0, function* (whoisId, options = {}) {
|
|
5988
|
+
// verify required parameter 'whoisId' is not null or undefined
|
|
5989
|
+
(0, common_1.assertParamExists)('unsetDefaultWHOISProfileV1', 'whoisId', whoisId);
|
|
5990
|
+
const localVarPath = `/api/domains/v1/whois/default/{whoisId}`
|
|
5991
|
+
.replace(`{${"whoisId"}}`, encodeURIComponent(String(whoisId)));
|
|
5992
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5993
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5994
|
+
let baseOptions;
|
|
5995
|
+
if (configuration) {
|
|
5996
|
+
baseOptions = configuration.baseOptions;
|
|
5997
|
+
}
|
|
5998
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
5999
|
+
const localVarHeaderParameter = {};
|
|
6000
|
+
const localVarQueryParameter = {};
|
|
6001
|
+
// authentication apiToken required
|
|
6002
|
+
// http bearer authentication required
|
|
6003
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6004
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6005
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6006
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6007
|
+
return {
|
|
6008
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6009
|
+
options: localVarRequestOptions,
|
|
6010
|
+
};
|
|
6011
|
+
}),
|
|
5840
6012
|
};
|
|
5841
6013
|
};
|
|
5842
6014
|
exports.DomainsWHOISApiAxiosParamCreator = DomainsWHOISApiAxiosParamCreator;
|
|
@@ -5847,6 +6019,36 @@ exports.DomainsWHOISApiAxiosParamCreator = DomainsWHOISApiAxiosParamCreator;
|
|
|
5847
6019
|
const DomainsWHOISApiFp = function (configuration) {
|
|
5848
6020
|
const localVarAxiosParamCreator = (0, exports.DomainsWHOISApiAxiosParamCreator)(configuration);
|
|
5849
6021
|
return {
|
|
6022
|
+
/**
|
|
6023
|
+
* Cancel a pending IRTP verification. Use this endpoint to back out of a WHOIS change that is stuck waiting on registrant confirmation, for example when the confirmation email cannot be received, without waiting out the 5-day expiry.
|
|
6024
|
+
* @summary Cancel pending IRTP verification
|
|
6025
|
+
* @param {string} domain Domain name
|
|
6026
|
+
* @param {*} [options] Override http request option.
|
|
6027
|
+
* @throws {RequiredError}
|
|
6028
|
+
*/
|
|
6029
|
+
cancelPendingIRTPVerificationV1(domain, options) {
|
|
6030
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6031
|
+
var _a, _b;
|
|
6032
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelPendingIRTPVerificationV1(domain, options);
|
|
6033
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsWHOISApi.cancelPendingIRTPVerificationV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
6034
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6035
|
+
});
|
|
6036
|
+
},
|
|
6037
|
+
/**
|
|
6038
|
+
* Change WHOIS contact profile for a domain. Repoints the given contact roles to a new WHOIS profile and submits the change to the registry. The profile currently assigned to those roles is resolved automatically; the request fails if the given roles are not all on the same profile today. Changing transfer sensitive fields on the owner contact starts an IRTP verification. The change is processed asynchronously. Use this endpoint to move a registered domain onto different contact information.
|
|
6039
|
+
* @summary Change WHOIS profile for domain
|
|
6040
|
+
* @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
|
|
6041
|
+
* @param {*} [options] Override http request option.
|
|
6042
|
+
* @throws {RequiredError}
|
|
6043
|
+
*/
|
|
6044
|
+
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options) {
|
|
6045
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6046
|
+
var _a, _b;
|
|
6047
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options);
|
|
6048
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsWHOISApi.changeWHOISProfileForDomainV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
6049
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6050
|
+
});
|
|
6051
|
+
},
|
|
5850
6052
|
/**
|
|
5851
6053
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
5852
6054
|
* @summary Create WHOIS profile
|
|
@@ -5877,6 +6079,21 @@ const DomainsWHOISApiFp = function (configuration) {
|
|
|
5877
6079
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5878
6080
|
});
|
|
5879
6081
|
},
|
|
6082
|
+
/**
|
|
6083
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
6084
|
+
* @summary Get pending IRTP verification
|
|
6085
|
+
* @param {string} domain Domain name
|
|
6086
|
+
* @param {*} [options] Override http request option.
|
|
6087
|
+
* @throws {RequiredError}
|
|
6088
|
+
*/
|
|
6089
|
+
getPendingIRTPVerificationV1(domain, options) {
|
|
6090
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6091
|
+
var _a, _b;
|
|
6092
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPendingIRTPVerificationV1(domain, options);
|
|
6093
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsWHOISApi.getPendingIRTPVerificationV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
6094
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6095
|
+
});
|
|
6096
|
+
},
|
|
5880
6097
|
/**
|
|
5881
6098
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
5882
6099
|
* @summary Get WHOIS profile list
|
|
@@ -5922,6 +6139,36 @@ const DomainsWHOISApiFp = function (configuration) {
|
|
|
5922
6139
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5923
6140
|
});
|
|
5924
6141
|
},
|
|
6142
|
+
/**
|
|
6143
|
+
* Set WHOIS contact profile as default. The default profile is pre-selected for the TLD it belongs to when registering new domains. Use this endpoint to avoid picking contact information for every registration.
|
|
6144
|
+
* @summary Set WHOIS profile as default
|
|
6145
|
+
* @param {number} whoisId WHOIS ID
|
|
6146
|
+
* @param {*} [options] Override http request option.
|
|
6147
|
+
* @throws {RequiredError}
|
|
6148
|
+
*/
|
|
6149
|
+
setWHOISProfileAsDefaultV1(whoisId, options) {
|
|
6150
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6151
|
+
var _a, _b;
|
|
6152
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.setWHOISProfileAsDefaultV1(whoisId, options);
|
|
6153
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsWHOISApi.setWHOISProfileAsDefaultV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
6154
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6155
|
+
});
|
|
6156
|
+
},
|
|
6157
|
+
/**
|
|
6158
|
+
* Unset WHOIS contact profile as default. The profile itself is kept, it is only no longer pre-selected for its TLD. Use this endpoint to stop reusing contact information for new registrations.
|
|
6159
|
+
* @summary Unset default WHOIS profile
|
|
6160
|
+
* @param {number} whoisId WHOIS ID
|
|
6161
|
+
* @param {*} [options] Override http request option.
|
|
6162
|
+
* @throws {RequiredError}
|
|
6163
|
+
*/
|
|
6164
|
+
unsetDefaultWHOISProfileV1(whoisId, options) {
|
|
6165
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6166
|
+
var _a, _b;
|
|
6167
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.unsetDefaultWHOISProfileV1(whoisId, options);
|
|
6168
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsWHOISApi.unsetDefaultWHOISProfileV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
6169
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6170
|
+
});
|
|
6171
|
+
},
|
|
5925
6172
|
};
|
|
5926
6173
|
};
|
|
5927
6174
|
exports.DomainsWHOISApiFp = DomainsWHOISApiFp;
|
|
@@ -5932,6 +6179,26 @@ exports.DomainsWHOISApiFp = DomainsWHOISApiFp;
|
|
|
5932
6179
|
const DomainsWHOISApiFactory = function (configuration, basePath, axios) {
|
|
5933
6180
|
const localVarFp = (0, exports.DomainsWHOISApiFp)(configuration);
|
|
5934
6181
|
return {
|
|
6182
|
+
/**
|
|
6183
|
+
* Cancel a pending IRTP verification. Use this endpoint to back out of a WHOIS change that is stuck waiting on registrant confirmation, for example when the confirmation email cannot be received, without waiting out the 5-day expiry.
|
|
6184
|
+
* @summary Cancel pending IRTP verification
|
|
6185
|
+
* @param {string} domain Domain name
|
|
6186
|
+
* @param {*} [options] Override http request option.
|
|
6187
|
+
* @throws {RequiredError}
|
|
6188
|
+
*/
|
|
6189
|
+
cancelPendingIRTPVerificationV1(domain, options) {
|
|
6190
|
+
return localVarFp.cancelPendingIRTPVerificationV1(domain, options).then((request) => request(axios, basePath));
|
|
6191
|
+
},
|
|
6192
|
+
/**
|
|
6193
|
+
* Change WHOIS contact profile for a domain. Repoints the given contact roles to a new WHOIS profile and submits the change to the registry. The profile currently assigned to those roles is resolved automatically; the request fails if the given roles are not all on the same profile today. Changing transfer sensitive fields on the owner contact starts an IRTP verification. The change is processed asynchronously. Use this endpoint to move a registered domain onto different contact information.
|
|
6194
|
+
* @summary Change WHOIS profile for domain
|
|
6195
|
+
* @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
|
|
6196
|
+
* @param {*} [options] Override http request option.
|
|
6197
|
+
* @throws {RequiredError}
|
|
6198
|
+
*/
|
|
6199
|
+
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options) {
|
|
6200
|
+
return localVarFp.changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options).then((request) => request(axios, basePath));
|
|
6201
|
+
},
|
|
5935
6202
|
/**
|
|
5936
6203
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
5937
6204
|
* @summary Create WHOIS profile
|
|
@@ -5952,6 +6219,16 @@ const DomainsWHOISApiFactory = function (configuration, basePath, axios) {
|
|
|
5952
6219
|
deleteWHOISProfileV1(whoisId, options) {
|
|
5953
6220
|
return localVarFp.deleteWHOISProfileV1(whoisId, options).then((request) => request(axios, basePath));
|
|
5954
6221
|
},
|
|
6222
|
+
/**
|
|
6223
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
6224
|
+
* @summary Get pending IRTP verification
|
|
6225
|
+
* @param {string} domain Domain name
|
|
6226
|
+
* @param {*} [options] Override http request option.
|
|
6227
|
+
* @throws {RequiredError}
|
|
6228
|
+
*/
|
|
6229
|
+
getPendingIRTPVerificationV1(domain, options) {
|
|
6230
|
+
return localVarFp.getPendingIRTPVerificationV1(domain, options).then((request) => request(axios, basePath));
|
|
6231
|
+
},
|
|
5955
6232
|
/**
|
|
5956
6233
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
5957
6234
|
* @summary Get WHOIS profile list
|
|
@@ -5982,6 +6259,26 @@ const DomainsWHOISApiFactory = function (configuration, basePath, axios) {
|
|
|
5982
6259
|
getWHOISProfileV1(whoisId, options) {
|
|
5983
6260
|
return localVarFp.getWHOISProfileV1(whoisId, options).then((request) => request(axios, basePath));
|
|
5984
6261
|
},
|
|
6262
|
+
/**
|
|
6263
|
+
* Set WHOIS contact profile as default. The default profile is pre-selected for the TLD it belongs to when registering new domains. Use this endpoint to avoid picking contact information for every registration.
|
|
6264
|
+
* @summary Set WHOIS profile as default
|
|
6265
|
+
* @param {number} whoisId WHOIS ID
|
|
6266
|
+
* @param {*} [options] Override http request option.
|
|
6267
|
+
* @throws {RequiredError}
|
|
6268
|
+
*/
|
|
6269
|
+
setWHOISProfileAsDefaultV1(whoisId, options) {
|
|
6270
|
+
return localVarFp.setWHOISProfileAsDefaultV1(whoisId, options).then((request) => request(axios, basePath));
|
|
6271
|
+
},
|
|
6272
|
+
/**
|
|
6273
|
+
* Unset WHOIS contact profile as default. The profile itself is kept, it is only no longer pre-selected for its TLD. Use this endpoint to stop reusing contact information for new registrations.
|
|
6274
|
+
* @summary Unset default WHOIS profile
|
|
6275
|
+
* @param {number} whoisId WHOIS ID
|
|
6276
|
+
* @param {*} [options] Override http request option.
|
|
6277
|
+
* @throws {RequiredError}
|
|
6278
|
+
*/
|
|
6279
|
+
unsetDefaultWHOISProfileV1(whoisId, options) {
|
|
6280
|
+
return localVarFp.unsetDefaultWHOISProfileV1(whoisId, options).then((request) => request(axios, basePath));
|
|
6281
|
+
},
|
|
5985
6282
|
};
|
|
5986
6283
|
};
|
|
5987
6284
|
exports.DomainsWHOISApiFactory = DomainsWHOISApiFactory;
|
|
@@ -5992,6 +6289,28 @@ exports.DomainsWHOISApiFactory = DomainsWHOISApiFactory;
|
|
|
5992
6289
|
* @extends {BaseAPI}
|
|
5993
6290
|
*/
|
|
5994
6291
|
class DomainsWHOISApi extends base_1.BaseAPI {
|
|
6292
|
+
/**
|
|
6293
|
+
* Cancel a pending IRTP verification. Use this endpoint to back out of a WHOIS change that is stuck waiting on registrant confirmation, for example when the confirmation email cannot be received, without waiting out the 5-day expiry.
|
|
6294
|
+
* @summary Cancel pending IRTP verification
|
|
6295
|
+
* @param {string} domain Domain name
|
|
6296
|
+
* @param {*} [options] Override http request option.
|
|
6297
|
+
* @throws {RequiredError}
|
|
6298
|
+
* @memberof DomainsWHOISApi
|
|
6299
|
+
*/
|
|
6300
|
+
cancelPendingIRTPVerificationV1(domain, options) {
|
|
6301
|
+
return (0, exports.DomainsWHOISApiFp)(this.configuration).cancelPendingIRTPVerificationV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
6302
|
+
}
|
|
6303
|
+
/**
|
|
6304
|
+
* Change WHOIS contact profile for a domain. Repoints the given contact roles to a new WHOIS profile and submits the change to the registry. The profile currently assigned to those roles is resolved automatically; the request fails if the given roles are not all on the same profile today. Changing transfer sensitive fields on the owner contact starts an IRTP verification. The change is processed asynchronously. Use this endpoint to move a registered domain onto different contact information.
|
|
6305
|
+
* @summary Change WHOIS profile for domain
|
|
6306
|
+
* @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
|
|
6307
|
+
* @param {*} [options] Override http request option.
|
|
6308
|
+
* @throws {RequiredError}
|
|
6309
|
+
* @memberof DomainsWHOISApi
|
|
6310
|
+
*/
|
|
6311
|
+
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options) {
|
|
6312
|
+
return (0, exports.DomainsWHOISApiFp)(this.configuration).changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6313
|
+
}
|
|
5995
6314
|
/**
|
|
5996
6315
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
5997
6316
|
* @summary Create WHOIS profile
|
|
@@ -6014,6 +6333,17 @@ class DomainsWHOISApi extends base_1.BaseAPI {
|
|
|
6014
6333
|
deleteWHOISProfileV1(whoisId, options) {
|
|
6015
6334
|
return (0, exports.DomainsWHOISApiFp)(this.configuration).deleteWHOISProfileV1(whoisId, options).then((request) => request(this.axios, this.basePath));
|
|
6016
6335
|
}
|
|
6336
|
+
/**
|
|
6337
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
6338
|
+
* @summary Get pending IRTP verification
|
|
6339
|
+
* @param {string} domain Domain name
|
|
6340
|
+
* @param {*} [options] Override http request option.
|
|
6341
|
+
* @throws {RequiredError}
|
|
6342
|
+
* @memberof DomainsWHOISApi
|
|
6343
|
+
*/
|
|
6344
|
+
getPendingIRTPVerificationV1(domain, options) {
|
|
6345
|
+
return (0, exports.DomainsWHOISApiFp)(this.configuration).getPendingIRTPVerificationV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
6346
|
+
}
|
|
6017
6347
|
/**
|
|
6018
6348
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
6019
6349
|
* @summary Get WHOIS profile list
|
|
@@ -6047,6 +6377,28 @@ class DomainsWHOISApi extends base_1.BaseAPI {
|
|
|
6047
6377
|
getWHOISProfileV1(whoisId, options) {
|
|
6048
6378
|
return (0, exports.DomainsWHOISApiFp)(this.configuration).getWHOISProfileV1(whoisId, options).then((request) => request(this.axios, this.basePath));
|
|
6049
6379
|
}
|
|
6380
|
+
/**
|
|
6381
|
+
* Set WHOIS contact profile as default. The default profile is pre-selected for the TLD it belongs to when registering new domains. Use this endpoint to avoid picking contact information for every registration.
|
|
6382
|
+
* @summary Set WHOIS profile as default
|
|
6383
|
+
* @param {number} whoisId WHOIS ID
|
|
6384
|
+
* @param {*} [options] Override http request option.
|
|
6385
|
+
* @throws {RequiredError}
|
|
6386
|
+
* @memberof DomainsWHOISApi
|
|
6387
|
+
*/
|
|
6388
|
+
setWHOISProfileAsDefaultV1(whoisId, options) {
|
|
6389
|
+
return (0, exports.DomainsWHOISApiFp)(this.configuration).setWHOISProfileAsDefaultV1(whoisId, options).then((request) => request(this.axios, this.basePath));
|
|
6390
|
+
}
|
|
6391
|
+
/**
|
|
6392
|
+
* Unset WHOIS contact profile as default. The profile itself is kept, it is only no longer pre-selected for its TLD. Use this endpoint to stop reusing contact information for new registrations.
|
|
6393
|
+
* @summary Unset default WHOIS profile
|
|
6394
|
+
* @param {number} whoisId WHOIS ID
|
|
6395
|
+
* @param {*} [options] Override http request option.
|
|
6396
|
+
* @throws {RequiredError}
|
|
6397
|
+
* @memberof DomainsWHOISApi
|
|
6398
|
+
*/
|
|
6399
|
+
unsetDefaultWHOISProfileV1(whoisId, options) {
|
|
6400
|
+
return (0, exports.DomainsWHOISApiFp)(this.configuration).unsetDefaultWHOISProfileV1(whoisId, options).then((request) => request(this.axios, this.basePath));
|
|
6401
|
+
}
|
|
6050
6402
|
}
|
|
6051
6403
|
exports.DomainsWHOISApi = DomainsWHOISApi;
|
|
6052
6404
|
/**
|
|
@@ -19859,7 +20211,7 @@ const VPSVirtualMachineApiAxiosParamCreator = function (configuration) {
|
|
|
19859
20211
|
};
|
|
19860
20212
|
}),
|
|
19861
20213
|
/**
|
|
19862
|
-
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. Use this endpoint to power off running VPS instances.
|
|
20214
|
+
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. This is a compute-only power state change and does not affect billing. To stop future charges, disable auto-renewal on the owning subscription. Use this endpoint to power off running VPS instances.
|
|
19863
20215
|
* @summary Stop virtual machine
|
|
19864
20216
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
19865
20217
|
* @param {*} [options] Override http request option.
|
|
@@ -20119,7 +20471,7 @@ const VPSVirtualMachineApiFp = function (configuration) {
|
|
|
20119
20471
|
});
|
|
20120
20472
|
},
|
|
20121
20473
|
/**
|
|
20122
|
-
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. Use this endpoint to power off running VPS instances.
|
|
20474
|
+
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. This is a compute-only power state change and does not affect billing. To stop future charges, disable auto-renewal on the owning subscription. Use this endpoint to power off running VPS instances.
|
|
20123
20475
|
* @summary Stop virtual machine
|
|
20124
20476
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
20125
20477
|
* @param {*} [options] Override http request option.
|
|
@@ -20292,7 +20644,7 @@ const VPSVirtualMachineApiFactory = function (configuration, basePath, axios) {
|
|
|
20292
20644
|
return localVarFp.startVirtualMachineV1(virtualMachineId, options).then((request) => request(axios, basePath));
|
|
20293
20645
|
},
|
|
20294
20646
|
/**
|
|
20295
|
-
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. Use this endpoint to power off running VPS instances.
|
|
20647
|
+
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. This is a compute-only power state change and does not affect billing. To stop future charges, disable auto-renewal on the owning subscription. Use this endpoint to power off running VPS instances.
|
|
20296
20648
|
* @summary Stop virtual machine
|
|
20297
20649
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
20298
20650
|
* @param {*} [options] Override http request option.
|
|
@@ -20474,7 +20826,7 @@ class VPSVirtualMachineApi extends base_1.BaseAPI {
|
|
|
20474
20826
|
return (0, exports.VPSVirtualMachineApiFp)(this.configuration).startVirtualMachineV1(virtualMachineId, options).then((request) => request(this.axios, this.basePath));
|
|
20475
20827
|
}
|
|
20476
20828
|
/**
|
|
20477
|
-
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. Use this endpoint to power off running VPS instances.
|
|
20829
|
+
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. This is a compute-only power state change and does not affect billing. To stop future charges, disable auto-renewal on the owning subscription. Use this endpoint to power off running VPS instances.
|
|
20478
20830
|
* @summary Stop virtual machine
|
|
20479
20831
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
20480
20832
|
* @param {*} [options] Override http request option.
|
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.25.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.25.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.25.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.25.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.25.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
|