hostinger-api-sdk 2.8.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/api.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.8.0
6
+ * API Version: 2.9.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -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, if its TLD uses one, get its authorization code. The transfer is validated first, so domains which cannot be transferred, or are missing a required authorization code, 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.
@@ -8613,7 +8613,7 @@ export const DomainsTransferApiAxiosParamCreator = function (configuration) {
8613
8613
  };
8614
8614
  }),
8615
8615
  /**
8616
- * Transfer a domain from another registrar to your account. The transfer runs on a domain transfer service you have already purchased. Before making request, unlock the domain at the current registrar and get its authorization code. 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. Use this endpoint to bring domains registered elsewhere into your account.
8616
+ * Transfer a domain from another registrar to your account. The transfer runs on a domain transfer service you have already purchased. Before making request, unlock the domain at the current registrar and, if its TLD uses one, get its authorization code. 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. Use this endpoint to bring domains registered elsewhere into your account.
8617
8617
  * @summary Start domain transfer
8618
8618
  * @param {DomainsV1TransferTransferRequest} domainsV1TransferTransferRequest
8619
8619
  * @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, if its TLD uses one, get its authorization code. The transfer is validated first, so domains which cannot be transferred, or are missing a required authorization code, 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.
@@ -8699,7 +8699,7 @@ export const DomainsTransferApiFp = function (configuration) {
8699
8699
  });
8700
8700
  },
8701
8701
  /**
8702
- * Transfer a domain from another registrar to your account. The transfer runs on a domain transfer service you have already purchased. Before making request, unlock the domain at the current registrar and get its authorization code. 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. Use this endpoint to bring domains registered elsewhere into your account.
8702
+ * Transfer a domain from another registrar to your account. The transfer runs on a domain transfer service you have already purchased. Before making request, unlock the domain at the current registrar and, if its TLD uses one, get its authorization code. 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. Use this endpoint to bring domains registered elsewhere into your account.
8703
8703
  * @summary Start domain transfer
8704
8704
  * @param {DomainsV1TransferTransferRequest} domainsV1TransferTransferRequest
8705
8705
  * @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, if its TLD uses one, get its authorization code. The transfer is validated first, so domains which cannot be transferred, or are missing a required authorization code, 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.
@@ -8752,7 +8752,7 @@ export const DomainsTransferApiFactory = function (configuration, basePath, axio
8752
8752
  return localVarFp.getTransferV1(domain, options).then((request) => request(axios, basePath));
8753
8753
  },
8754
8754
  /**
8755
- * Transfer a domain from another registrar to your account. The transfer runs on a domain transfer service you have already purchased. Before making request, unlock the domain at the current registrar and get its authorization code. 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. Use this endpoint to bring domains registered elsewhere into your account.
8755
+ * Transfer a domain from another registrar to your account. The transfer runs on a domain transfer service you have already purchased. Before making request, unlock the domain at the current registrar and, if its TLD uses one, get its authorization code. 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. Use this endpoint to bring domains registered elsewhere into your account.
8756
8756
  * @summary Start domain transfer
8757
8757
  * @param {DomainsV1TransferTransferRequest} domainsV1TransferTransferRequest
8758
8758
  * @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, if its TLD uses one, get its authorization code. The transfer is validated first, so domains which cannot be transferred, or are missing a required authorization code, 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.
@@ -8803,7 +8803,7 @@ export class DomainsTransferApi extends BaseAPI {
8803
8803
  return DomainsTransferApiFp(this.configuration).getTransferV1(domain, options).then((request) => request(this.axios, this.basePath));
8804
8804
  }
8805
8805
  /**
8806
- * Transfer a domain from another registrar to your account. The transfer runs on a domain transfer service you have already purchased. Before making request, unlock the domain at the current registrar and get its authorization code. 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. Use this endpoint to bring domains registered elsewhere into your account.
8806
+ * Transfer a domain from another registrar to your account. The transfer runs on a domain transfer service you have already purchased. Before making request, unlock the domain at the current registrar and, if its TLD uses one, get its authorization code. 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. Use this endpoint to bring domains registered elsewhere into your account.
8807
8807
  * @summary Start domain transfer
8808
8808
  * @param {DomainsV1TransferTransferRequest} domainsV1TransferTransferRequest
8809
8809
  * @param {*} [options] Override http request option.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.8.0
4
+ * API Version: 2.9.0
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/dist/esm/base.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.8.0
6
+ * API Version: 2.9.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.8.0
4
+ * API Version: 2.9.0
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.8.0
6
+ * API Version: 2.9.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.8.0
4
+ * API Version: 2.9.0
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.8.0
6
+ * API Version: 2.9.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -13,7 +13,7 @@ export class Configuration {
13
13
  var _a;
14
14
  this.accessToken = param.accessToken;
15
15
  this.basePath = param.basePath;
16
- this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.8.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
16
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.9.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
17
17
  this.formDataCtor = param.formDataCtor;
18
18
  }
19
19
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.8.0
4
+ * API Version: 2.9.0
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/dist/esm/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.8.0
6
+ * API Version: 2.9.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.8.0
4
+ * API Version: 2.9.0
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 2.8.0
7
+ * API Version: 2.9.0
8
8
  *
9
9
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -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, if its TLD uses one, get its authorization code. The transfer is validated first, so domains which cannot be transferred, or are missing a required authorization code, 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
 
@@ -166,7 +166,7 @@ const { status, data } = await apiInstance.getTransferV1(
166
166
  # **startDomainTransferV1**
167
167
  > CommonSuccessEmptyResource startDomainTransferV1(domainsV1TransferTransferRequest)
168
168
 
169
- Transfer a domain from another registrar to your account. The transfer runs on a domain transfer service you have already purchased. Before making request, unlock the domain at the current registrar and get its authorization code. 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. Use this endpoint to bring domains registered elsewhere into your account.
169
+ Transfer a domain from another registrar to your account. The transfer runs on a domain transfer service you have already purchased. Before making request, unlock the domain at the current registrar and, if its TLD uses one, get its authorization code. 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. Use this endpoint to bring domains registered elsewhere into your account.
170
170
 
171
171
  ### Example
172
172
 
@@ -6,7 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **domain** | **string** | Domain name | [default to undefined]
9
- **auth_code** | **string** | Authorization code from the current registrar | [default to undefined]
9
+ **auth_code** | **string** | EPP code that authorizes this transfer, which the domain owner gets from the current registrar. Required only for TLDs whose transfers use one. | [optional] [default to undefined]
10
10
  **domain_contacts** | [**DomainsV1PortfolioClaimRequestDomainContacts**](DomainsV1PortfolioClaimRequestDomainContacts.md) | | [optional] [default to undefined]
11
11
  **should_keep_ns** | **boolean** | Keep the existing nameservers of the domain | [optional] [default to true]
12
12
 
@@ -6,7 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **domain** | **string** | Domain name | [default to undefined]
9
- **auth_code** | **string** | Authorization code from the current registrar | [default to undefined]
9
+ **auth_code** | **string** | EPP code that authorizes this transfer, which the domain owner gets from the current registrar. Required only for TLDs whose transfers use one. | [optional] [default to undefined]
10
10
  **domain_contacts** | [**DomainsV1PortfolioClaimRequestDomainContacts**](DomainsV1PortfolioClaimRequestDomainContacts.md) | | [optional] [default to undefined]
11
11
  **should_keep_ns** | **boolean** | Keep the existing nameservers of the domain | [optional] [default to true]
12
12
 
package/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.8.0
6
+ * API Version: 2.9.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-sdk",
3
- "version": "2.8.0",
3
+ "version": "2.9.0",
4
4
  "description": "Hostinger API TypeScript SDK",
5
5
  "author": "Hostinger",
6
6
  "repository": {