hostinger-api-sdk 2.8.0 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +13 -13
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +13 -13
- package/dist/api.js +13 -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 +13 -13
- package/dist/esm/api.js +13 -13
- 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/DomainsPortfolioApi.md +2 -2
- package/docs/DomainsTransferApi.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## @hostinger/sdk@2.8.
|
|
1
|
+
## @hostinger/sdk@2.8.1
|
|
2
2
|
|
|
3
3
|
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
|
|
4
4
|
|
|
5
5
|
### Usage
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
npm install @hostinger/sdk@2.8.
|
|
8
|
+
npm install @hostinger/sdk@2.8.1 --save
|
|
9
9
|
```
|
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.8.
|
|
6
|
+
* API Version: 2.8.1
|
|
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
|
|
@@ -26218,7 +26218,7 @@ export class DomainsMoveApi extends BaseAPI {
|
|
|
26218
26218
|
export const DomainsPortfolioApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
26219
26219
|
return {
|
|
26220
26220
|
/**
|
|
26221
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
26221
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
26222
26222
|
* @summary Claim free domain
|
|
26223
26223
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
26224
26224
|
* @param {*} [options] Override http request option.
|
|
@@ -26530,7 +26530,7 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration?: Co
|
|
|
26530
26530
|
};
|
|
26531
26531
|
},
|
|
26532
26532
|
/**
|
|
26533
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
26533
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
26534
26534
|
* @summary Get domain list
|
|
26535
26535
|
* @param {*} [options] Override http request option.
|
|
26536
26536
|
* @throws {RequiredError}
|
|
@@ -26696,7 +26696,7 @@ export const DomainsPortfolioApiFp = function(configuration?: Configuration) {
|
|
|
26696
26696
|
const localVarAxiosParamCreator = DomainsPortfolioApiAxiosParamCreator(configuration)
|
|
26697
26697
|
return {
|
|
26698
26698
|
/**
|
|
26699
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
26699
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
26700
26700
|
* @summary Claim free domain
|
|
26701
26701
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
26702
26702
|
* @param {*} [options] Override http request option.
|
|
@@ -26793,7 +26793,7 @@ export const DomainsPortfolioApiFp = function(configuration?: Configuration) {
|
|
|
26793
26793
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26794
26794
|
},
|
|
26795
26795
|
/**
|
|
26796
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
26796
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
26797
26797
|
* @summary Get domain list
|
|
26798
26798
|
* @param {*} [options] Override http request option.
|
|
26799
26799
|
* @throws {RequiredError}
|
|
@@ -26851,7 +26851,7 @@ export const DomainsPortfolioApiFactory = function (configuration?: Configuratio
|
|
|
26851
26851
|
const localVarFp = DomainsPortfolioApiFp(configuration)
|
|
26852
26852
|
return {
|
|
26853
26853
|
/**
|
|
26854
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
26854
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
26855
26855
|
* @summary Claim free domain
|
|
26856
26856
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
26857
26857
|
* @param {*} [options] Override http request option.
|
|
@@ -26932,7 +26932,7 @@ export const DomainsPortfolioApiFactory = function (configuration?: Configuratio
|
|
|
26932
26932
|
return localVarFp.getDomainDetailsV1(domain, options).then((request) => request(axios, basePath));
|
|
26933
26933
|
},
|
|
26934
26934
|
/**
|
|
26935
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
26935
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
26936
26936
|
* @summary Get domain list
|
|
26937
26937
|
* @param {*} [options] Override http request option.
|
|
26938
26938
|
* @throws {RequiredError}
|
|
@@ -26982,7 +26982,7 @@ export const DomainsPortfolioApiFactory = function (configuration?: Configuratio
|
|
|
26982
26982
|
*/
|
|
26983
26983
|
export class DomainsPortfolioApi extends BaseAPI {
|
|
26984
26984
|
/**
|
|
26985
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
26985
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
26986
26986
|
* @summary Claim free domain
|
|
26987
26987
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
26988
26988
|
* @param {*} [options] Override http request option.
|
|
@@ -27079,7 +27079,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
27079
27079
|
}
|
|
27080
27080
|
|
|
27081
27081
|
/**
|
|
27082
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
27082
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
27083
27083
|
* @summary Get domain list
|
|
27084
27084
|
* @param {*} [options] Override http request option.
|
|
27085
27085
|
* @throws {RequiredError}
|
|
@@ -27136,7 +27136,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
27136
27136
|
export const DomainsTransferApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
27137
27137
|
return {
|
|
27138
27138
|
/**
|
|
27139
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
27139
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
27140
27140
|
* @summary Claim free domain transfer
|
|
27141
27141
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
27142
27142
|
* @param {*} [options] Override http request option.
|
|
@@ -27298,7 +27298,7 @@ export const DomainsTransferApiFp = function(configuration?: Configuration) {
|
|
|
27298
27298
|
const localVarAxiosParamCreator = DomainsTransferApiAxiosParamCreator(configuration)
|
|
27299
27299
|
return {
|
|
27300
27300
|
/**
|
|
27301
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
27301
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
27302
27302
|
* @summary Claim free domain transfer
|
|
27303
27303
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
27304
27304
|
* @param {*} [options] Override http request option.
|
|
@@ -27355,7 +27355,7 @@ export const DomainsTransferApiFactory = function (configuration?: Configuration
|
|
|
27355
27355
|
const localVarFp = DomainsTransferApiFp(configuration)
|
|
27356
27356
|
return {
|
|
27357
27357
|
/**
|
|
27358
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
27358
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
27359
27359
|
* @summary Claim free domain transfer
|
|
27360
27360
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
27361
27361
|
* @param {*} [options] Override http request option.
|
|
@@ -27404,7 +27404,7 @@ export const DomainsTransferApiFactory = function (configuration?: Configuration
|
|
|
27404
27404
|
*/
|
|
27405
27405
|
export class DomainsTransferApi extends BaseAPI {
|
|
27406
27406
|
/**
|
|
27407
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
27407
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
27408
27408
|
* @summary Claim free domain transfer
|
|
27409
27409
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
27410
27410
|
* @param {*} [options] Override http request option.
|
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.8.
|
|
6
|
+
* API Version: 2.8.1
|
|
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/common.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.8.
|
|
6
|
+
* API Version: 2.8.1
|
|
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/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.8.
|
|
6
|
+
* API Version: 2.8.1
|
|
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
|
|
@@ -48,7 +48,7 @@ export class Configuration {
|
|
|
48
48
|
this.baseOptions = {
|
|
49
49
|
...param.baseOptions,
|
|
50
50
|
headers: {
|
|
51
|
-
'User-Agent': "hostinger-typescript-sdk/2.8.
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/2.8.1",
|
|
52
52
|
...param.baseOptions?.headers,
|
|
53
53
|
},
|
|
54
54
|
};
|
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.8.
|
|
4
|
+
* API Version: 2.8.1
|
|
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
|
|
@@ -22296,7 +22296,7 @@ export declare class DomainsMoveApi extends BaseAPI {
|
|
|
22296
22296
|
*/
|
|
22297
22297
|
export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22298
22298
|
/**
|
|
22299
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
22299
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
22300
22300
|
* @summary Claim free domain
|
|
22301
22301
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
22302
22302
|
* @param {*} [options] Override http request option.
|
|
@@ -22361,7 +22361,7 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
22361
22361
|
*/
|
|
22362
22362
|
getDomainDetailsV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22363
22363
|
/**
|
|
22364
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
22364
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
22365
22365
|
* @summary Get domain list
|
|
22366
22366
|
* @param {*} [options] Override http request option.
|
|
22367
22367
|
* @throws {RequiredError}
|
|
@@ -22399,7 +22399,7 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
22399
22399
|
*/
|
|
22400
22400
|
export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
22401
22401
|
/**
|
|
22402
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
22402
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
22403
22403
|
* @summary Claim free domain
|
|
22404
22404
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
22405
22405
|
* @param {*} [options] Override http request option.
|
|
@@ -22464,7 +22464,7 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
22464
22464
|
*/
|
|
22465
22465
|
getDomainDetailsV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1DomainDomainExtendedResource>>;
|
|
22466
22466
|
/**
|
|
22467
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
22467
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
22468
22468
|
* @summary Get domain list
|
|
22469
22469
|
* @param {*} [options] Override http request option.
|
|
22470
22470
|
* @throws {RequiredError}
|
|
@@ -22502,7 +22502,7 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
22502
22502
|
*/
|
|
22503
22503
|
export declare const DomainsPortfolioApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22504
22504
|
/**
|
|
22505
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
22505
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
22506
22506
|
* @summary Claim free domain
|
|
22507
22507
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
22508
22508
|
* @param {*} [options] Override http request option.
|
|
@@ -22567,7 +22567,7 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
22567
22567
|
*/
|
|
22568
22568
|
getDomainDetailsV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1DomainDomainExtendedResource>;
|
|
22569
22569
|
/**
|
|
22570
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
22570
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
22571
22571
|
* @summary Get domain list
|
|
22572
22572
|
* @param {*} [options] Override http request option.
|
|
22573
22573
|
* @throws {RequiredError}
|
|
@@ -22607,7 +22607,7 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
22607
22607
|
*/
|
|
22608
22608
|
export declare class DomainsPortfolioApi extends BaseAPI {
|
|
22609
22609
|
/**
|
|
22610
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
22610
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
22611
22611
|
* @summary Claim free domain
|
|
22612
22612
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
22613
22613
|
* @param {*} [options] Override http request option.
|
|
@@ -22680,7 +22680,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
22680
22680
|
*/
|
|
22681
22681
|
getDomainDetailsV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainExtendedResource, any, {}, any>>;
|
|
22682
22682
|
/**
|
|
22683
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
22683
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
22684
22684
|
* @summary Get domain list
|
|
22685
22685
|
* @param {*} [options] Override http request option.
|
|
22686
22686
|
* @throws {RequiredError}
|
|
@@ -22722,7 +22722,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
22722
22722
|
*/
|
|
22723
22723
|
export declare const DomainsTransferApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22724
22724
|
/**
|
|
22725
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
22725
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
22726
22726
|
* @summary Claim free domain transfer
|
|
22727
22727
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
22728
22728
|
* @param {*} [options] Override http request option.
|
|
@@ -22759,7 +22759,7 @@ export declare const DomainsTransferApiAxiosParamCreator: (configuration?: Confi
|
|
|
22759
22759
|
*/
|
|
22760
22760
|
export declare const DomainsTransferApiFp: (configuration?: Configuration) => {
|
|
22761
22761
|
/**
|
|
22762
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
22762
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
22763
22763
|
* @summary Claim free domain transfer
|
|
22764
22764
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
22765
22765
|
* @param {*} [options] Override http request option.
|
|
@@ -22796,7 +22796,7 @@ export declare const DomainsTransferApiFp: (configuration?: Configuration) => {
|
|
|
22796
22796
|
*/
|
|
22797
22797
|
export declare const DomainsTransferApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22798
22798
|
/**
|
|
22799
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
22799
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
22800
22800
|
* @summary Claim free domain transfer
|
|
22801
22801
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
22802
22802
|
* @param {*} [options] Override http request option.
|
|
@@ -22835,7 +22835,7 @@ export declare const DomainsTransferApiFactory: (configuration?: Configuration,
|
|
|
22835
22835
|
*/
|
|
22836
22836
|
export declare class DomainsTransferApi extends BaseAPI {
|
|
22837
22837
|
/**
|
|
22838
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
22838
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
22839
22839
|
* @summary Claim free domain transfer
|
|
22840
22840
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
22841
22841
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.8.
|
|
7
|
+
* API Version: 2.8.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -7774,7 +7774,7 @@ exports.DomainsMoveApi = DomainsMoveApi;
|
|
|
7774
7774
|
const DomainsPortfolioApiAxiosParamCreator = function (configuration) {
|
|
7775
7775
|
return {
|
|
7776
7776
|
/**
|
|
7777
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
7777
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
7778
7778
|
* @summary Claim free domain
|
|
7779
7779
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
7780
7780
|
* @param {*} [options] Override http request option.
|
|
@@ -8036,7 +8036,7 @@ const DomainsPortfolioApiAxiosParamCreator = function (configuration) {
|
|
|
8036
8036
|
};
|
|
8037
8037
|
}),
|
|
8038
8038
|
/**
|
|
8039
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
8039
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
8040
8040
|
* @summary Get domain list
|
|
8041
8041
|
* @param {*} [options] Override http request option.
|
|
8042
8042
|
* @throws {RequiredError}
|
|
@@ -8176,7 +8176,7 @@ const DomainsPortfolioApiFp = function (configuration) {
|
|
|
8176
8176
|
const localVarAxiosParamCreator = (0, exports.DomainsPortfolioApiAxiosParamCreator)(configuration);
|
|
8177
8177
|
return {
|
|
8178
8178
|
/**
|
|
8179
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
8179
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
8180
8180
|
* @summary Claim free domain
|
|
8181
8181
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
8182
8182
|
* @param {*} [options] Override http request option.
|
|
@@ -8297,7 +8297,7 @@ const DomainsPortfolioApiFp = function (configuration) {
|
|
|
8297
8297
|
});
|
|
8298
8298
|
},
|
|
8299
8299
|
/**
|
|
8300
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
8300
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
8301
8301
|
* @summary Get domain list
|
|
8302
8302
|
* @param {*} [options] Override http request option.
|
|
8303
8303
|
* @throws {RequiredError}
|
|
@@ -8367,7 +8367,7 @@ const DomainsPortfolioApiFactory = function (configuration, basePath, axios) {
|
|
|
8367
8367
|
const localVarFp = (0, exports.DomainsPortfolioApiFp)(configuration);
|
|
8368
8368
|
return {
|
|
8369
8369
|
/**
|
|
8370
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
8370
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
8371
8371
|
* @summary Claim free domain
|
|
8372
8372
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
8373
8373
|
* @param {*} [options] Override http request option.
|
|
@@ -8448,7 +8448,7 @@ const DomainsPortfolioApiFactory = function (configuration, basePath, axios) {
|
|
|
8448
8448
|
return localVarFp.getDomainDetailsV1(domain, options).then((request) => request(axios, basePath));
|
|
8449
8449
|
},
|
|
8450
8450
|
/**
|
|
8451
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
8451
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
8452
8452
|
* @summary Get domain list
|
|
8453
8453
|
* @param {*} [options] Override http request option.
|
|
8454
8454
|
* @throws {RequiredError}
|
|
@@ -8498,7 +8498,7 @@ exports.DomainsPortfolioApiFactory = DomainsPortfolioApiFactory;
|
|
|
8498
8498
|
*/
|
|
8499
8499
|
class DomainsPortfolioApi extends base_1.BaseAPI {
|
|
8500
8500
|
/**
|
|
8501
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
8501
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
8502
8502
|
* @summary Claim free domain
|
|
8503
8503
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
8504
8504
|
* @param {*} [options] Override http request option.
|
|
@@ -8587,7 +8587,7 @@ class DomainsPortfolioApi extends base_1.BaseAPI {
|
|
|
8587
8587
|
return (0, exports.DomainsPortfolioApiFp)(this.configuration).getDomainDetailsV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
8588
8588
|
}
|
|
8589
8589
|
/**
|
|
8590
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
8590
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
8591
8591
|
* @summary Get domain list
|
|
8592
8592
|
* @param {*} [options] Override http request option.
|
|
8593
8593
|
* @throws {RequiredError}
|
|
@@ -8639,7 +8639,7 @@ exports.DomainsPortfolioApi = DomainsPortfolioApi;
|
|
|
8639
8639
|
const DomainsTransferApiAxiosParamCreator = function (configuration) {
|
|
8640
8640
|
return {
|
|
8641
8641
|
/**
|
|
8642
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
8642
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
8643
8643
|
* @summary Claim free domain transfer
|
|
8644
8644
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
8645
8645
|
* @param {*} [options] Override http request option.
|
|
@@ -8775,7 +8775,7 @@ const DomainsTransferApiFp = function (configuration) {
|
|
|
8775
8775
|
const localVarAxiosParamCreator = (0, exports.DomainsTransferApiAxiosParamCreator)(configuration);
|
|
8776
8776
|
return {
|
|
8777
8777
|
/**
|
|
8778
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
8778
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
8779
8779
|
* @summary Claim free domain transfer
|
|
8780
8780
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
8781
8781
|
* @param {*} [options] Override http request option.
|
|
@@ -8844,7 +8844,7 @@ const DomainsTransferApiFactory = function (configuration, basePath, axios) {
|
|
|
8844
8844
|
const localVarFp = (0, exports.DomainsTransferApiFp)(configuration);
|
|
8845
8845
|
return {
|
|
8846
8846
|
/**
|
|
8847
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
8847
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
8848
8848
|
* @summary Claim free domain transfer
|
|
8849
8849
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
8850
8850
|
* @param {*} [options] Override http request option.
|
|
@@ -8893,7 +8893,7 @@ exports.DomainsTransferApiFactory = DomainsTransferApiFactory;
|
|
|
8893
8893
|
*/
|
|
8894
8894
|
class DomainsTransferApi extends base_1.BaseAPI {
|
|
8895
8895
|
/**
|
|
8896
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
8896
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
8897
8897
|
* @summary Claim free domain transfer
|
|
8898
8898
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
8899
8899
|
* @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: 2.8.
|
|
4
|
+
* API Version: 2.8.1
|
|
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: 2.8.
|
|
7
|
+
* API Version: 2.8.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.8.
|
|
4
|
+
* API Version: 2.8.1
|
|
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: 2.8.
|
|
7
|
+
* API Version: 2.8.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.8.
|
|
4
|
+
* API Version: 2.8.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.8.
|
|
7
|
+
* API Version: 2.8.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -16,7 +16,7 @@ class Configuration {
|
|
|
16
16
|
var _a;
|
|
17
17
|
this.accessToken = param.accessToken;
|
|
18
18
|
this.basePath = param.basePath;
|
|
19
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.8.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.8.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
20
20
|
this.formDataCtor = param.formDataCtor;
|
|
21
21
|
}
|
|
22
22
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.8.
|
|
4
|
+
* API Version: 2.8.1
|
|
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
|
|
@@ -22296,7 +22296,7 @@ export declare class DomainsMoveApi extends BaseAPI {
|
|
|
22296
22296
|
*/
|
|
22297
22297
|
export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22298
22298
|
/**
|
|
22299
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
22299
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
22300
22300
|
* @summary Claim free domain
|
|
22301
22301
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
22302
22302
|
* @param {*} [options] Override http request option.
|
|
@@ -22361,7 +22361,7 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
22361
22361
|
*/
|
|
22362
22362
|
getDomainDetailsV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22363
22363
|
/**
|
|
22364
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
22364
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
22365
22365
|
* @summary Get domain list
|
|
22366
22366
|
* @param {*} [options] Override http request option.
|
|
22367
22367
|
* @throws {RequiredError}
|
|
@@ -22399,7 +22399,7 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
22399
22399
|
*/
|
|
22400
22400
|
export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
22401
22401
|
/**
|
|
22402
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
22402
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
22403
22403
|
* @summary Claim free domain
|
|
22404
22404
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
22405
22405
|
* @param {*} [options] Override http request option.
|
|
@@ -22464,7 +22464,7 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
22464
22464
|
*/
|
|
22465
22465
|
getDomainDetailsV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1DomainDomainExtendedResource>>;
|
|
22466
22466
|
/**
|
|
22467
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
22467
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
22468
22468
|
* @summary Get domain list
|
|
22469
22469
|
* @param {*} [options] Override http request option.
|
|
22470
22470
|
* @throws {RequiredError}
|
|
@@ -22502,7 +22502,7 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
22502
22502
|
*/
|
|
22503
22503
|
export declare const DomainsPortfolioApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22504
22504
|
/**
|
|
22505
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
22505
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
22506
22506
|
* @summary Claim free domain
|
|
22507
22507
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
22508
22508
|
* @param {*} [options] Override http request option.
|
|
@@ -22567,7 +22567,7 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
22567
22567
|
*/
|
|
22568
22568
|
getDomainDetailsV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1DomainDomainExtendedResource>;
|
|
22569
22569
|
/**
|
|
22570
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
22570
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
22571
22571
|
* @summary Get domain list
|
|
22572
22572
|
* @param {*} [options] Override http request option.
|
|
22573
22573
|
* @throws {RequiredError}
|
|
@@ -22607,7 +22607,7 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
22607
22607
|
*/
|
|
22608
22608
|
export declare class DomainsPortfolioApi extends BaseAPI {
|
|
22609
22609
|
/**
|
|
22610
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
22610
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
22611
22611
|
* @summary Claim free domain
|
|
22612
22612
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
22613
22613
|
* @param {*} [options] Override http request option.
|
|
@@ -22680,7 +22680,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
22680
22680
|
*/
|
|
22681
22681
|
getDomainDetailsV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainExtendedResource, any, {}, any>>;
|
|
22682
22682
|
/**
|
|
22683
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
22683
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
22684
22684
|
* @summary Get domain list
|
|
22685
22685
|
* @param {*} [options] Override http request option.
|
|
22686
22686
|
* @throws {RequiredError}
|
|
@@ -22722,7 +22722,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
22722
22722
|
*/
|
|
22723
22723
|
export declare const DomainsTransferApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22724
22724
|
/**
|
|
22725
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
22725
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
22726
22726
|
* @summary Claim free domain transfer
|
|
22727
22727
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
22728
22728
|
* @param {*} [options] Override http request option.
|
|
@@ -22759,7 +22759,7 @@ export declare const DomainsTransferApiAxiosParamCreator: (configuration?: Confi
|
|
|
22759
22759
|
*/
|
|
22760
22760
|
export declare const DomainsTransferApiFp: (configuration?: Configuration) => {
|
|
22761
22761
|
/**
|
|
22762
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
22762
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
22763
22763
|
* @summary Claim free domain transfer
|
|
22764
22764
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
22765
22765
|
* @param {*} [options] Override http request option.
|
|
@@ -22796,7 +22796,7 @@ export declare const DomainsTransferApiFp: (configuration?: Configuration) => {
|
|
|
22796
22796
|
*/
|
|
22797
22797
|
export declare const DomainsTransferApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22798
22798
|
/**
|
|
22799
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
22799
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
22800
22800
|
* @summary Claim free domain transfer
|
|
22801
22801
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
22802
22802
|
* @param {*} [options] Override http request option.
|
|
@@ -22835,7 +22835,7 @@ export declare const DomainsTransferApiFactory: (configuration?: Configuration,
|
|
|
22835
22835
|
*/
|
|
22836
22836
|
export declare class DomainsTransferApi extends BaseAPI {
|
|
22837
22837
|
/**
|
|
22838
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
22838
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
22839
22839
|
* @summary Claim free domain transfer
|
|
22840
22840
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
22841
22841
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.8.
|
|
6
|
+
* API Version: 2.8.1
|
|
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
|
|
@@ -7659,7 +7659,7 @@ export class DomainsMoveApi extends BaseAPI {
|
|
|
7659
7659
|
export const DomainsPortfolioApiAxiosParamCreator = function (configuration) {
|
|
7660
7660
|
return {
|
|
7661
7661
|
/**
|
|
7662
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
7662
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
7663
7663
|
* @summary Claim free domain
|
|
7664
7664
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
7665
7665
|
* @param {*} [options] Override http request option.
|
|
@@ -7921,7 +7921,7 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration) {
|
|
|
7921
7921
|
};
|
|
7922
7922
|
}),
|
|
7923
7923
|
/**
|
|
7924
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
7924
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
7925
7925
|
* @summary Get domain list
|
|
7926
7926
|
* @param {*} [options] Override http request option.
|
|
7927
7927
|
* @throws {RequiredError}
|
|
@@ -8060,7 +8060,7 @@ export const DomainsPortfolioApiFp = function (configuration) {
|
|
|
8060
8060
|
const localVarAxiosParamCreator = DomainsPortfolioApiAxiosParamCreator(configuration);
|
|
8061
8061
|
return {
|
|
8062
8062
|
/**
|
|
8063
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
8063
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
8064
8064
|
* @summary Claim free domain
|
|
8065
8065
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
8066
8066
|
* @param {*} [options] Override http request option.
|
|
@@ -8181,7 +8181,7 @@ export const DomainsPortfolioApiFp = function (configuration) {
|
|
|
8181
8181
|
});
|
|
8182
8182
|
},
|
|
8183
8183
|
/**
|
|
8184
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
8184
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
8185
8185
|
* @summary Get domain list
|
|
8186
8186
|
* @param {*} [options] Override http request option.
|
|
8187
8187
|
* @throws {RequiredError}
|
|
@@ -8250,7 +8250,7 @@ export const DomainsPortfolioApiFactory = function (configuration, basePath, axi
|
|
|
8250
8250
|
const localVarFp = DomainsPortfolioApiFp(configuration);
|
|
8251
8251
|
return {
|
|
8252
8252
|
/**
|
|
8253
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
8253
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
8254
8254
|
* @summary Claim free domain
|
|
8255
8255
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
8256
8256
|
* @param {*} [options] Override http request option.
|
|
@@ -8331,7 +8331,7 @@ export const DomainsPortfolioApiFactory = function (configuration, basePath, axi
|
|
|
8331
8331
|
return localVarFp.getDomainDetailsV1(domain, options).then((request) => request(axios, basePath));
|
|
8332
8332
|
},
|
|
8333
8333
|
/**
|
|
8334
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
8334
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
8335
8335
|
* @summary Get domain list
|
|
8336
8336
|
* @param {*} [options] Override http request option.
|
|
8337
8337
|
* @throws {RequiredError}
|
|
@@ -8380,7 +8380,7 @@ export const DomainsPortfolioApiFactory = function (configuration, basePath, axi
|
|
|
8380
8380
|
*/
|
|
8381
8381
|
export class DomainsPortfolioApi extends BaseAPI {
|
|
8382
8382
|
/**
|
|
8383
|
-
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
8383
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
8384
8384
|
* @summary Claim free domain
|
|
8385
8385
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
8386
8386
|
* @param {*} [options] Override http request option.
|
|
@@ -8469,7 +8469,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
8469
8469
|
return DomainsPortfolioApiFp(this.configuration).getDomainDetailsV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
8470
8470
|
}
|
|
8471
8471
|
/**
|
|
8472
|
-
* Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
8472
|
+
* Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
8473
8473
|
* @summary Get domain list
|
|
8474
8474
|
* @param {*} [options] Override http request option.
|
|
8475
8475
|
* @throws {RequiredError}
|
|
@@ -8520,7 +8520,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
8520
8520
|
export const DomainsTransferApiAxiosParamCreator = function (configuration) {
|
|
8521
8521
|
return {
|
|
8522
8522
|
/**
|
|
8523
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
8523
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
8524
8524
|
* @summary Claim free domain transfer
|
|
8525
8525
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
8526
8526
|
* @param {*} [options] Override http request option.
|
|
@@ -8655,7 +8655,7 @@ export const DomainsTransferApiFp = function (configuration) {
|
|
|
8655
8655
|
const localVarAxiosParamCreator = DomainsTransferApiAxiosParamCreator(configuration);
|
|
8656
8656
|
return {
|
|
8657
8657
|
/**
|
|
8658
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
8658
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
8659
8659
|
* @summary Claim free domain transfer
|
|
8660
8660
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
8661
8661
|
* @param {*} [options] Override http request option.
|
|
@@ -8723,7 +8723,7 @@ export const DomainsTransferApiFactory = function (configuration, basePath, axio
|
|
|
8723
8723
|
const localVarFp = DomainsTransferApiFp(configuration);
|
|
8724
8724
|
return {
|
|
8725
8725
|
/**
|
|
8726
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
8726
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
8727
8727
|
* @summary Claim free domain transfer
|
|
8728
8728
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
8729
8729
|
* @param {*} [options] Override http request option.
|
|
@@ -8771,7 +8771,7 @@ export const DomainsTransferApiFactory = function (configuration, basePath, axio
|
|
|
8771
8771
|
*/
|
|
8772
8772
|
export class DomainsTransferApi extends BaseAPI {
|
|
8773
8773
|
/**
|
|
8774
|
-
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
8774
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
8775
8775
|
* @summary Claim free domain transfer
|
|
8776
8776
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
8777
8777
|
* @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: 2.8.
|
|
4
|
+
* API Version: 2.8.1
|
|
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: 2.8.
|
|
6
|
+
* API Version: 2.8.1
|
|
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: 2.8.
|
|
4
|
+
* API Version: 2.8.1
|
|
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: 2.8.
|
|
6
|
+
* API Version: 2.8.1
|
|
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: 2.8.
|
|
4
|
+
* API Version: 2.8.1
|
|
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: 2.8.
|
|
6
|
+
* API Version: 2.8.1
|
|
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/2.8.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.8.1" }, (_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: 2.8.
|
|
4
|
+
* API Version: 2.8.1
|
|
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: 2.8.
|
|
6
|
+
* API Version: 2.8.1
|
|
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: 2.8.
|
|
4
|
+
* API Version: 2.8.1
|
|
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: 2.8.
|
|
7
|
+
* API Version: 2.8.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -20,7 +20,7 @@ All URIs are relative to *https://developers.hostinger.com*
|
|
|
20
20
|
# **claimFreeDomainV1**
|
|
21
21
|
> DomainsV1PortfolioClaimResource claimFreeDomainV1(domainsV1PortfolioClaimRequest)
|
|
22
22
|
|
|
23
|
-
Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
23
|
+
Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain removes the plan\'s free domain transfer (`type: free_domain_transfer`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain transfer may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
24
24
|
|
|
25
25
|
### Example
|
|
26
26
|
|
|
@@ -452,7 +452,7 @@ const { status, data } = await apiInstance.getDomainDetailsV1(
|
|
|
452
452
|
# **getDomainListV1**
|
|
453
453
|
> Array<DomainsV1DomainDomainResource> getDomainListV1()
|
|
454
454
|
|
|
455
|
-
Retrieve all domains associated with your account. Use this endpoint to view user\'s domain portfolio.
|
|
455
|
+
Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. Use this endpoint to view user\'s domain portfolio.
|
|
456
456
|
|
|
457
457
|
### Example
|
|
458
458
|
|
|
@@ -12,7 +12,7 @@ All URIs are relative to *https://developers.hostinger.com*
|
|
|
12
12
|
# **claimFreeDomainTransferV1**
|
|
13
13
|
> DomainsV1TransferTransferResource claimFreeDomainTransferV1(domainsV1TransferClaimRequest)
|
|
14
14
|
|
|
15
|
-
Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
15
|
+
Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. A free domain and a free domain transfer from the same plan are alternatives: claiming the free domain transfer removes the plan\'s free domain (`type: free_domain`). Before making request, confirm with the user which of the two they want. Right after a claim, the removed free domain may still appear in the [domain list endpoint](#tag/domains-portfolio) for a short time; do not claim it. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
16
16
|
|
|
17
17
|
### Example
|
|
18
18
|
|
package/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.8.
|
|
6
|
+
* API Version: 2.8.1
|
|
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
|