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/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.25.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -147,6 +147,17 @@ export const DomainsV1ForwardingUpdateRequestRedirectTypeEnum = {
|
|
|
147
147
|
_301: '301',
|
|
148
148
|
_302: '302'
|
|
149
149
|
};
|
|
150
|
+
export const DomainsV1IRTPVerificationResourceStatusEnum = {
|
|
151
|
+
Pending: 'pending',
|
|
152
|
+
Completed: 'completed',
|
|
153
|
+
Canceled: 'canceled'
|
|
154
|
+
};
|
|
155
|
+
export const DomainsV1WHOISChangeUpdateRequestChangeForEnum = {
|
|
156
|
+
Owner: 'owner',
|
|
157
|
+
Admin: 'admin',
|
|
158
|
+
Billing: 'billing',
|
|
159
|
+
Tech: 'tech'
|
|
160
|
+
};
|
|
150
161
|
export const DomainsV1WHOISProfileResourceEntityTypeEnum = {
|
|
151
162
|
Individual: 'individual',
|
|
152
163
|
Organization: 'organization'
|
|
@@ -5582,6 +5593,71 @@ export class DomainsTransferApi extends BaseAPI {
|
|
|
5582
5593
|
*/
|
|
5583
5594
|
export const DomainsWHOISApiAxiosParamCreator = function (configuration) {
|
|
5584
5595
|
return {
|
|
5596
|
+
/**
|
|
5597
|
+
* 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.
|
|
5598
|
+
* @summary Cancel pending IRTP verification
|
|
5599
|
+
* @param {string} domain Domain name
|
|
5600
|
+
* @param {*} [options] Override http request option.
|
|
5601
|
+
* @throws {RequiredError}
|
|
5602
|
+
*/
|
|
5603
|
+
cancelPendingIRTPVerificationV1: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
|
|
5604
|
+
// verify required parameter 'domain' is not null or undefined
|
|
5605
|
+
assertParamExists('cancelPendingIRTPVerificationV1', 'domain', domain);
|
|
5606
|
+
const localVarPath = `/api/domains/v1/irtp/{domain}`
|
|
5607
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
5608
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5609
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5610
|
+
let baseOptions;
|
|
5611
|
+
if (configuration) {
|
|
5612
|
+
baseOptions = configuration.baseOptions;
|
|
5613
|
+
}
|
|
5614
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
5615
|
+
const localVarHeaderParameter = {};
|
|
5616
|
+
const localVarQueryParameter = {};
|
|
5617
|
+
// authentication apiToken required
|
|
5618
|
+
// http bearer authentication required
|
|
5619
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5620
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5621
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5622
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5623
|
+
return {
|
|
5624
|
+
url: toPathString(localVarUrlObj),
|
|
5625
|
+
options: localVarRequestOptions,
|
|
5626
|
+
};
|
|
5627
|
+
}),
|
|
5628
|
+
/**
|
|
5629
|
+
* 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.
|
|
5630
|
+
* @summary Change WHOIS profile for domain
|
|
5631
|
+
* @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
|
|
5632
|
+
* @param {*} [options] Override http request option.
|
|
5633
|
+
* @throws {RequiredError}
|
|
5634
|
+
*/
|
|
5635
|
+
changeWHOISProfileForDomainV1: (domainsV1WHOISChangeUpdateRequest_1, ...args_1) => __awaiter(this, [domainsV1WHOISChangeUpdateRequest_1, ...args_1], void 0, function* (domainsV1WHOISChangeUpdateRequest, options = {}) {
|
|
5636
|
+
// verify required parameter 'domainsV1WHOISChangeUpdateRequest' is not null or undefined
|
|
5637
|
+
assertParamExists('changeWHOISProfileForDomainV1', 'domainsV1WHOISChangeUpdateRequest', domainsV1WHOISChangeUpdateRequest);
|
|
5638
|
+
const localVarPath = `/api/domains/v1/whois/change`;
|
|
5639
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5640
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5641
|
+
let baseOptions;
|
|
5642
|
+
if (configuration) {
|
|
5643
|
+
baseOptions = configuration.baseOptions;
|
|
5644
|
+
}
|
|
5645
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
5646
|
+
const localVarHeaderParameter = {};
|
|
5647
|
+
const localVarQueryParameter = {};
|
|
5648
|
+
// authentication apiToken required
|
|
5649
|
+
// http bearer authentication required
|
|
5650
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5651
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5652
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5653
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5654
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5655
|
+
localVarRequestOptions.data = serializeDataIfNeeded(domainsV1WHOISChangeUpdateRequest, localVarRequestOptions, configuration);
|
|
5656
|
+
return {
|
|
5657
|
+
url: toPathString(localVarUrlObj),
|
|
5658
|
+
options: localVarRequestOptions,
|
|
5659
|
+
};
|
|
5660
|
+
}),
|
|
5585
5661
|
/**
|
|
5586
5662
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
5587
5663
|
* @summary Create WHOIS profile
|
|
@@ -5647,6 +5723,38 @@ export const DomainsWHOISApiAxiosParamCreator = function (configuration) {
|
|
|
5647
5723
|
options: localVarRequestOptions,
|
|
5648
5724
|
};
|
|
5649
5725
|
}),
|
|
5726
|
+
/**
|
|
5727
|
+
* 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.
|
|
5728
|
+
* @summary Get pending IRTP verification
|
|
5729
|
+
* @param {string} domain Domain name
|
|
5730
|
+
* @param {*} [options] Override http request option.
|
|
5731
|
+
* @throws {RequiredError}
|
|
5732
|
+
*/
|
|
5733
|
+
getPendingIRTPVerificationV1: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
|
|
5734
|
+
// verify required parameter 'domain' is not null or undefined
|
|
5735
|
+
assertParamExists('getPendingIRTPVerificationV1', 'domain', domain);
|
|
5736
|
+
const localVarPath = `/api/domains/v1/irtp/{domain}`
|
|
5737
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
5738
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5739
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5740
|
+
let baseOptions;
|
|
5741
|
+
if (configuration) {
|
|
5742
|
+
baseOptions = configuration.baseOptions;
|
|
5743
|
+
}
|
|
5744
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5745
|
+
const localVarHeaderParameter = {};
|
|
5746
|
+
const localVarQueryParameter = {};
|
|
5747
|
+
// authentication apiToken required
|
|
5748
|
+
// http bearer authentication required
|
|
5749
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5750
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5751
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5752
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5753
|
+
return {
|
|
5754
|
+
url: toPathString(localVarUrlObj),
|
|
5755
|
+
options: localVarRequestOptions,
|
|
5756
|
+
};
|
|
5757
|
+
}),
|
|
5650
5758
|
/**
|
|
5651
5759
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
5652
5760
|
* @summary Get WHOIS profile list
|
|
@@ -5743,6 +5851,70 @@ export const DomainsWHOISApiAxiosParamCreator = function (configuration) {
|
|
|
5743
5851
|
options: localVarRequestOptions,
|
|
5744
5852
|
};
|
|
5745
5853
|
}),
|
|
5854
|
+
/**
|
|
5855
|
+
* 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.
|
|
5856
|
+
* @summary Set WHOIS profile as default
|
|
5857
|
+
* @param {number} whoisId WHOIS ID
|
|
5858
|
+
* @param {*} [options] Override http request option.
|
|
5859
|
+
* @throws {RequiredError}
|
|
5860
|
+
*/
|
|
5861
|
+
setWHOISProfileAsDefaultV1: (whoisId_1, ...args_1) => __awaiter(this, [whoisId_1, ...args_1], void 0, function* (whoisId, options = {}) {
|
|
5862
|
+
// verify required parameter 'whoisId' is not null or undefined
|
|
5863
|
+
assertParamExists('setWHOISProfileAsDefaultV1', 'whoisId', whoisId);
|
|
5864
|
+
const localVarPath = `/api/domains/v1/whois/default/{whoisId}`
|
|
5865
|
+
.replace(`{${"whoisId"}}`, encodeURIComponent(String(whoisId)));
|
|
5866
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5867
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5868
|
+
let baseOptions;
|
|
5869
|
+
if (configuration) {
|
|
5870
|
+
baseOptions = configuration.baseOptions;
|
|
5871
|
+
}
|
|
5872
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
5873
|
+
const localVarHeaderParameter = {};
|
|
5874
|
+
const localVarQueryParameter = {};
|
|
5875
|
+
// authentication apiToken required
|
|
5876
|
+
// http bearer authentication required
|
|
5877
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5878
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5879
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5880
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5881
|
+
return {
|
|
5882
|
+
url: toPathString(localVarUrlObj),
|
|
5883
|
+
options: localVarRequestOptions,
|
|
5884
|
+
};
|
|
5885
|
+
}),
|
|
5886
|
+
/**
|
|
5887
|
+
* 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.
|
|
5888
|
+
* @summary Unset default WHOIS profile
|
|
5889
|
+
* @param {number} whoisId WHOIS ID
|
|
5890
|
+
* @param {*} [options] Override http request option.
|
|
5891
|
+
* @throws {RequiredError}
|
|
5892
|
+
*/
|
|
5893
|
+
unsetDefaultWHOISProfileV1: (whoisId_1, ...args_1) => __awaiter(this, [whoisId_1, ...args_1], void 0, function* (whoisId, options = {}) {
|
|
5894
|
+
// verify required parameter 'whoisId' is not null or undefined
|
|
5895
|
+
assertParamExists('unsetDefaultWHOISProfileV1', 'whoisId', whoisId);
|
|
5896
|
+
const localVarPath = `/api/domains/v1/whois/default/{whoisId}`
|
|
5897
|
+
.replace(`{${"whoisId"}}`, encodeURIComponent(String(whoisId)));
|
|
5898
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5899
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5900
|
+
let baseOptions;
|
|
5901
|
+
if (configuration) {
|
|
5902
|
+
baseOptions = configuration.baseOptions;
|
|
5903
|
+
}
|
|
5904
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
5905
|
+
const localVarHeaderParameter = {};
|
|
5906
|
+
const localVarQueryParameter = {};
|
|
5907
|
+
// authentication apiToken required
|
|
5908
|
+
// http bearer authentication required
|
|
5909
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5910
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5911
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5912
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5913
|
+
return {
|
|
5914
|
+
url: toPathString(localVarUrlObj),
|
|
5915
|
+
options: localVarRequestOptions,
|
|
5916
|
+
};
|
|
5917
|
+
}),
|
|
5746
5918
|
};
|
|
5747
5919
|
};
|
|
5748
5920
|
/**
|
|
@@ -5752,6 +5924,36 @@ export const DomainsWHOISApiAxiosParamCreator = function (configuration) {
|
|
|
5752
5924
|
export const DomainsWHOISApiFp = function (configuration) {
|
|
5753
5925
|
const localVarAxiosParamCreator = DomainsWHOISApiAxiosParamCreator(configuration);
|
|
5754
5926
|
return {
|
|
5927
|
+
/**
|
|
5928
|
+
* 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.
|
|
5929
|
+
* @summary Cancel pending IRTP verification
|
|
5930
|
+
* @param {string} domain Domain name
|
|
5931
|
+
* @param {*} [options] Override http request option.
|
|
5932
|
+
* @throws {RequiredError}
|
|
5933
|
+
*/
|
|
5934
|
+
cancelPendingIRTPVerificationV1(domain, options) {
|
|
5935
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5936
|
+
var _a, _b;
|
|
5937
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelPendingIRTPVerificationV1(domain, options);
|
|
5938
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['DomainsWHOISApi.cancelPendingIRTPVerificationV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
5939
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5940
|
+
});
|
|
5941
|
+
},
|
|
5942
|
+
/**
|
|
5943
|
+
* 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.
|
|
5944
|
+
* @summary Change WHOIS profile for domain
|
|
5945
|
+
* @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
|
|
5946
|
+
* @param {*} [options] Override http request option.
|
|
5947
|
+
* @throws {RequiredError}
|
|
5948
|
+
*/
|
|
5949
|
+
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options) {
|
|
5950
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5951
|
+
var _a, _b;
|
|
5952
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options);
|
|
5953
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['DomainsWHOISApi.changeWHOISProfileForDomainV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
5954
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5955
|
+
});
|
|
5956
|
+
},
|
|
5755
5957
|
/**
|
|
5756
5958
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
5757
5959
|
* @summary Create WHOIS profile
|
|
@@ -5782,6 +5984,21 @@ export const DomainsWHOISApiFp = function (configuration) {
|
|
|
5782
5984
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5783
5985
|
});
|
|
5784
5986
|
},
|
|
5987
|
+
/**
|
|
5988
|
+
* 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.
|
|
5989
|
+
* @summary Get pending IRTP verification
|
|
5990
|
+
* @param {string} domain Domain name
|
|
5991
|
+
* @param {*} [options] Override http request option.
|
|
5992
|
+
* @throws {RequiredError}
|
|
5993
|
+
*/
|
|
5994
|
+
getPendingIRTPVerificationV1(domain, options) {
|
|
5995
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5996
|
+
var _a, _b;
|
|
5997
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPendingIRTPVerificationV1(domain, options);
|
|
5998
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['DomainsWHOISApi.getPendingIRTPVerificationV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
5999
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6000
|
+
});
|
|
6001
|
+
},
|
|
5785
6002
|
/**
|
|
5786
6003
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
5787
6004
|
* @summary Get WHOIS profile list
|
|
@@ -5827,6 +6044,36 @@ export const DomainsWHOISApiFp = function (configuration) {
|
|
|
5827
6044
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5828
6045
|
});
|
|
5829
6046
|
},
|
|
6047
|
+
/**
|
|
6048
|
+
* 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.
|
|
6049
|
+
* @summary Set WHOIS profile as default
|
|
6050
|
+
* @param {number} whoisId WHOIS ID
|
|
6051
|
+
* @param {*} [options] Override http request option.
|
|
6052
|
+
* @throws {RequiredError}
|
|
6053
|
+
*/
|
|
6054
|
+
setWHOISProfileAsDefaultV1(whoisId, options) {
|
|
6055
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6056
|
+
var _a, _b;
|
|
6057
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.setWHOISProfileAsDefaultV1(whoisId, options);
|
|
6058
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['DomainsWHOISApi.setWHOISProfileAsDefaultV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
6059
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6060
|
+
});
|
|
6061
|
+
},
|
|
6062
|
+
/**
|
|
6063
|
+
* 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.
|
|
6064
|
+
* @summary Unset default WHOIS profile
|
|
6065
|
+
* @param {number} whoisId WHOIS ID
|
|
6066
|
+
* @param {*} [options] Override http request option.
|
|
6067
|
+
* @throws {RequiredError}
|
|
6068
|
+
*/
|
|
6069
|
+
unsetDefaultWHOISProfileV1(whoisId, options) {
|
|
6070
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6071
|
+
var _a, _b;
|
|
6072
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.unsetDefaultWHOISProfileV1(whoisId, options);
|
|
6073
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['DomainsWHOISApi.unsetDefaultWHOISProfileV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
6074
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6075
|
+
});
|
|
6076
|
+
},
|
|
5830
6077
|
};
|
|
5831
6078
|
};
|
|
5832
6079
|
/**
|
|
@@ -5836,6 +6083,26 @@ export const DomainsWHOISApiFp = function (configuration) {
|
|
|
5836
6083
|
export const DomainsWHOISApiFactory = function (configuration, basePath, axios) {
|
|
5837
6084
|
const localVarFp = DomainsWHOISApiFp(configuration);
|
|
5838
6085
|
return {
|
|
6086
|
+
/**
|
|
6087
|
+
* 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.
|
|
6088
|
+
* @summary Cancel pending IRTP verification
|
|
6089
|
+
* @param {string} domain Domain name
|
|
6090
|
+
* @param {*} [options] Override http request option.
|
|
6091
|
+
* @throws {RequiredError}
|
|
6092
|
+
*/
|
|
6093
|
+
cancelPendingIRTPVerificationV1(domain, options) {
|
|
6094
|
+
return localVarFp.cancelPendingIRTPVerificationV1(domain, options).then((request) => request(axios, basePath));
|
|
6095
|
+
},
|
|
6096
|
+
/**
|
|
6097
|
+
* 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.
|
|
6098
|
+
* @summary Change WHOIS profile for domain
|
|
6099
|
+
* @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
|
|
6100
|
+
* @param {*} [options] Override http request option.
|
|
6101
|
+
* @throws {RequiredError}
|
|
6102
|
+
*/
|
|
6103
|
+
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options) {
|
|
6104
|
+
return localVarFp.changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options).then((request) => request(axios, basePath));
|
|
6105
|
+
},
|
|
5839
6106
|
/**
|
|
5840
6107
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
5841
6108
|
* @summary Create WHOIS profile
|
|
@@ -5856,6 +6123,16 @@ export const DomainsWHOISApiFactory = function (configuration, basePath, axios)
|
|
|
5856
6123
|
deleteWHOISProfileV1(whoisId, options) {
|
|
5857
6124
|
return localVarFp.deleteWHOISProfileV1(whoisId, options).then((request) => request(axios, basePath));
|
|
5858
6125
|
},
|
|
6126
|
+
/**
|
|
6127
|
+
* 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.
|
|
6128
|
+
* @summary Get pending IRTP verification
|
|
6129
|
+
* @param {string} domain Domain name
|
|
6130
|
+
* @param {*} [options] Override http request option.
|
|
6131
|
+
* @throws {RequiredError}
|
|
6132
|
+
*/
|
|
6133
|
+
getPendingIRTPVerificationV1(domain, options) {
|
|
6134
|
+
return localVarFp.getPendingIRTPVerificationV1(domain, options).then((request) => request(axios, basePath));
|
|
6135
|
+
},
|
|
5859
6136
|
/**
|
|
5860
6137
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
5861
6138
|
* @summary Get WHOIS profile list
|
|
@@ -5886,6 +6163,26 @@ export const DomainsWHOISApiFactory = function (configuration, basePath, axios)
|
|
|
5886
6163
|
getWHOISProfileV1(whoisId, options) {
|
|
5887
6164
|
return localVarFp.getWHOISProfileV1(whoisId, options).then((request) => request(axios, basePath));
|
|
5888
6165
|
},
|
|
6166
|
+
/**
|
|
6167
|
+
* 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.
|
|
6168
|
+
* @summary Set WHOIS profile as default
|
|
6169
|
+
* @param {number} whoisId WHOIS ID
|
|
6170
|
+
* @param {*} [options] Override http request option.
|
|
6171
|
+
* @throws {RequiredError}
|
|
6172
|
+
*/
|
|
6173
|
+
setWHOISProfileAsDefaultV1(whoisId, options) {
|
|
6174
|
+
return localVarFp.setWHOISProfileAsDefaultV1(whoisId, options).then((request) => request(axios, basePath));
|
|
6175
|
+
},
|
|
6176
|
+
/**
|
|
6177
|
+
* 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.
|
|
6178
|
+
* @summary Unset default WHOIS profile
|
|
6179
|
+
* @param {number} whoisId WHOIS ID
|
|
6180
|
+
* @param {*} [options] Override http request option.
|
|
6181
|
+
* @throws {RequiredError}
|
|
6182
|
+
*/
|
|
6183
|
+
unsetDefaultWHOISProfileV1(whoisId, options) {
|
|
6184
|
+
return localVarFp.unsetDefaultWHOISProfileV1(whoisId, options).then((request) => request(axios, basePath));
|
|
6185
|
+
},
|
|
5889
6186
|
};
|
|
5890
6187
|
};
|
|
5891
6188
|
/**
|
|
@@ -5895,6 +6192,28 @@ export const DomainsWHOISApiFactory = function (configuration, basePath, axios)
|
|
|
5895
6192
|
* @extends {BaseAPI}
|
|
5896
6193
|
*/
|
|
5897
6194
|
export class DomainsWHOISApi extends BaseAPI {
|
|
6195
|
+
/**
|
|
6196
|
+
* 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.
|
|
6197
|
+
* @summary Cancel pending IRTP verification
|
|
6198
|
+
* @param {string} domain Domain name
|
|
6199
|
+
* @param {*} [options] Override http request option.
|
|
6200
|
+
* @throws {RequiredError}
|
|
6201
|
+
* @memberof DomainsWHOISApi
|
|
6202
|
+
*/
|
|
6203
|
+
cancelPendingIRTPVerificationV1(domain, options) {
|
|
6204
|
+
return DomainsWHOISApiFp(this.configuration).cancelPendingIRTPVerificationV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
6205
|
+
}
|
|
6206
|
+
/**
|
|
6207
|
+
* 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.
|
|
6208
|
+
* @summary Change WHOIS profile for domain
|
|
6209
|
+
* @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
|
|
6210
|
+
* @param {*} [options] Override http request option.
|
|
6211
|
+
* @throws {RequiredError}
|
|
6212
|
+
* @memberof DomainsWHOISApi
|
|
6213
|
+
*/
|
|
6214
|
+
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options) {
|
|
6215
|
+
return DomainsWHOISApiFp(this.configuration).changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6216
|
+
}
|
|
5898
6217
|
/**
|
|
5899
6218
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
5900
6219
|
* @summary Create WHOIS profile
|
|
@@ -5917,6 +6236,17 @@ export class DomainsWHOISApi extends BaseAPI {
|
|
|
5917
6236
|
deleteWHOISProfileV1(whoisId, options) {
|
|
5918
6237
|
return DomainsWHOISApiFp(this.configuration).deleteWHOISProfileV1(whoisId, options).then((request) => request(this.axios, this.basePath));
|
|
5919
6238
|
}
|
|
6239
|
+
/**
|
|
6240
|
+
* 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.
|
|
6241
|
+
* @summary Get pending IRTP verification
|
|
6242
|
+
* @param {string} domain Domain name
|
|
6243
|
+
* @param {*} [options] Override http request option.
|
|
6244
|
+
* @throws {RequiredError}
|
|
6245
|
+
* @memberof DomainsWHOISApi
|
|
6246
|
+
*/
|
|
6247
|
+
getPendingIRTPVerificationV1(domain, options) {
|
|
6248
|
+
return DomainsWHOISApiFp(this.configuration).getPendingIRTPVerificationV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
6249
|
+
}
|
|
5920
6250
|
/**
|
|
5921
6251
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
5922
6252
|
* @summary Get WHOIS profile list
|
|
@@ -5950,6 +6280,28 @@ export class DomainsWHOISApi extends BaseAPI {
|
|
|
5950
6280
|
getWHOISProfileV1(whoisId, options) {
|
|
5951
6281
|
return DomainsWHOISApiFp(this.configuration).getWHOISProfileV1(whoisId, options).then((request) => request(this.axios, this.basePath));
|
|
5952
6282
|
}
|
|
6283
|
+
/**
|
|
6284
|
+
* 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.
|
|
6285
|
+
* @summary Set WHOIS profile as default
|
|
6286
|
+
* @param {number} whoisId WHOIS ID
|
|
6287
|
+
* @param {*} [options] Override http request option.
|
|
6288
|
+
* @throws {RequiredError}
|
|
6289
|
+
* @memberof DomainsWHOISApi
|
|
6290
|
+
*/
|
|
6291
|
+
setWHOISProfileAsDefaultV1(whoisId, options) {
|
|
6292
|
+
return DomainsWHOISApiFp(this.configuration).setWHOISProfileAsDefaultV1(whoisId, options).then((request) => request(this.axios, this.basePath));
|
|
6293
|
+
}
|
|
6294
|
+
/**
|
|
6295
|
+
* 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.
|
|
6296
|
+
* @summary Unset default WHOIS profile
|
|
6297
|
+
* @param {number} whoisId WHOIS ID
|
|
6298
|
+
* @param {*} [options] Override http request option.
|
|
6299
|
+
* @throws {RequiredError}
|
|
6300
|
+
* @memberof DomainsWHOISApi
|
|
6301
|
+
*/
|
|
6302
|
+
unsetDefaultWHOISProfileV1(whoisId, options) {
|
|
6303
|
+
return DomainsWHOISApiFp(this.configuration).unsetDefaultWHOISProfileV1(whoisId, options).then((request) => request(this.axios, this.basePath));
|
|
6304
|
+
}
|
|
5953
6305
|
}
|
|
5954
6306
|
/**
|
|
5955
6307
|
* EcommerceMiscellaneousApi - axios parameter creator
|
|
@@ -19601,7 +19953,7 @@ export const VPSVirtualMachineApiAxiosParamCreator = function (configuration) {
|
|
|
19601
19953
|
};
|
|
19602
19954
|
}),
|
|
19603
19955
|
/**
|
|
19604
|
-
* 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.
|
|
19956
|
+
* 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.
|
|
19605
19957
|
* @summary Stop virtual machine
|
|
19606
19958
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
19607
19959
|
* @param {*} [options] Override http request option.
|
|
@@ -19860,7 +20212,7 @@ export const VPSVirtualMachineApiFp = function (configuration) {
|
|
|
19860
20212
|
});
|
|
19861
20213
|
},
|
|
19862
20214
|
/**
|
|
19863
|
-
* 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.
|
|
20215
|
+
* 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.
|
|
19864
20216
|
* @summary Stop virtual machine
|
|
19865
20217
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
19866
20218
|
* @param {*} [options] Override http request option.
|
|
@@ -20032,7 +20384,7 @@ export const VPSVirtualMachineApiFactory = function (configuration, basePath, ax
|
|
|
20032
20384
|
return localVarFp.startVirtualMachineV1(virtualMachineId, options).then((request) => request(axios, basePath));
|
|
20033
20385
|
},
|
|
20034
20386
|
/**
|
|
20035
|
-
* 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.
|
|
20387
|
+
* 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.
|
|
20036
20388
|
* @summary Stop virtual machine
|
|
20037
20389
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
20038
20390
|
* @param {*} [options] Override http request option.
|
|
@@ -20213,7 +20565,7 @@ export class VPSVirtualMachineApi extends BaseAPI {
|
|
|
20213
20565
|
return VPSVirtualMachineApiFp(this.configuration).startVirtualMachineV1(virtualMachineId, options).then((request) => request(this.axios, this.basePath));
|
|
20214
20566
|
}
|
|
20215
20567
|
/**
|
|
20216
|
-
* 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.
|
|
20568
|
+
* 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.
|
|
20217
20569
|
* @summary Stop virtual machine
|
|
20218
20570
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
20219
20571
|
* @param {*} [options] Override http request option.
|
package/dist/esm/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/esm/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.25.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* 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/esm/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/esm/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.25.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -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
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.25.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -13,7 +13,7 @@ export class Configuration {
|
|
|
13
13
|
var _a;
|
|
14
14
|
this.accessToken = param.accessToken;
|
|
15
15
|
this.basePath = param.basePath;
|
|
16
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.24.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
17
17
|
this.formDataCtor = param.formDataCtor;
|
|
18
18
|
}
|
|
19
19
|
/**
|
package/dist/esm/index.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/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.25.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* 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/index.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/index.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
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# DomainsV1IRTPVerificationResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**domain** | **string** | Domain name | [optional] [default to undefined]
|
|
9
|
+
**status** | **string** | IRTP verification status | [optional] [default to undefined]
|
|
10
|
+
**old_confirmed_at** | **string** | When the old registrant confirmed the change | [optional] [default to undefined]
|
|
11
|
+
**new_confirmed_at** | **string** | When the new registrant confirmed the change | [optional] [default to undefined]
|
|
12
|
+
**old_whois_profile_email** | **string** | Email the old registrant confirmation was sent to | [optional] [default to undefined]
|
|
13
|
+
**new_whois_profile_email** | **string** | Email the new registrant confirmation was sent to | [optional] [default to undefined]
|
|
14
|
+
**expires_at** | **string** | When the verification auto-cancels if unconfirmed | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { DomainsV1IRTPVerificationResource } from 'hostinger-api-sdk';
|
|
20
|
+
|
|
21
|
+
const instance: DomainsV1IRTPVerificationResource = {
|
|
22
|
+
domain,
|
|
23
|
+
status,
|
|
24
|
+
old_confirmed_at,
|
|
25
|
+
new_confirmed_at,
|
|
26
|
+
old_whois_profile_email,
|
|
27
|
+
new_whois_profile_email,
|
|
28
|
+
expires_at,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# DomainsV1WHOISChangeUpdateRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**new_whois_id** | **number** | WHOIS profile ID to assign to the domain | [default to undefined]
|
|
9
|
+
**domain** | **string** | Domain name | [default to undefined]
|
|
10
|
+
**change_for** | **Array<string>** | Contact roles to repoint to the new WHOIS profile | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { DomainsV1WHOISChangeUpdateRequest } from 'hostinger-api-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: DomainsV1WHOISChangeUpdateRequest = {
|
|
18
|
+
new_whois_id,
|
|
19
|
+
domain,
|
|
20
|
+
change_for,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|