hostinger-api-sdk 2.7.1 → 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 +29 -17
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +29 -17
- package/dist/api.js +17 -17
- 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 +29 -17
- package/dist/esm/api.js +17 -17
- 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/docs/HorizonsV1WebsitesWebsiteUrlResource.md +4 -0
- package/docs/HorizonsWebsitesApi.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.
|
|
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
|
+
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.
|
|
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
|
|
@@ -7328,6 +7328,18 @@ export interface HorizonsV1WebsitesWebsiteUrlResource {
|
|
|
7328
7328
|
* @memberof HorizonsV1WebsitesWebsiteUrlResource
|
|
7329
7329
|
*/
|
|
7330
7330
|
'is_in_progress': boolean;
|
|
7331
|
+
/**
|
|
7332
|
+
* Whether Hostinger Horizons is generating changes to the website. Editing and publishing are refused while it is true
|
|
7333
|
+
* @type {boolean}
|
|
7334
|
+
* @memberof HorizonsV1WebsitesWebsiteUrlResource
|
|
7335
|
+
*/
|
|
7336
|
+
'is_generating': boolean;
|
|
7337
|
+
/**
|
|
7338
|
+
* What is running on the website right now: `website_publish` while it is being published right now, when publishing is refused; empty otherwise. An unfinished template migration also refuses publishing, with its own error, without appearing here.
|
|
7339
|
+
* @type {Array<string>}
|
|
7340
|
+
* @memberof HorizonsV1WebsitesWebsiteUrlResource
|
|
7341
|
+
*/
|
|
7342
|
+
'actions_in_progress': Array<string>;
|
|
7331
7343
|
/**
|
|
7332
7344
|
* Whether the website has an ecommerce store
|
|
7333
7345
|
* @type {boolean}
|
|
@@ -26206,7 +26218,7 @@ export class DomainsMoveApi extends BaseAPI {
|
|
|
26206
26218
|
export const DomainsPortfolioApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
26207
26219
|
return {
|
|
26208
26220
|
/**
|
|
26209
|
-
* 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.
|
|
26210
26222
|
* @summary Claim free domain
|
|
26211
26223
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
26212
26224
|
* @param {*} [options] Override http request option.
|
|
@@ -26518,7 +26530,7 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration?: Co
|
|
|
26518
26530
|
};
|
|
26519
26531
|
},
|
|
26520
26532
|
/**
|
|
26521
|
-
* 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.
|
|
26522
26534
|
* @summary Get domain list
|
|
26523
26535
|
* @param {*} [options] Override http request option.
|
|
26524
26536
|
* @throws {RequiredError}
|
|
@@ -26684,7 +26696,7 @@ export const DomainsPortfolioApiFp = function(configuration?: Configuration) {
|
|
|
26684
26696
|
const localVarAxiosParamCreator = DomainsPortfolioApiAxiosParamCreator(configuration)
|
|
26685
26697
|
return {
|
|
26686
26698
|
/**
|
|
26687
|
-
* 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.
|
|
26688
26700
|
* @summary Claim free domain
|
|
26689
26701
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
26690
26702
|
* @param {*} [options] Override http request option.
|
|
@@ -26781,7 +26793,7 @@ export const DomainsPortfolioApiFp = function(configuration?: Configuration) {
|
|
|
26781
26793
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26782
26794
|
},
|
|
26783
26795
|
/**
|
|
26784
|
-
* 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.
|
|
26785
26797
|
* @summary Get domain list
|
|
26786
26798
|
* @param {*} [options] Override http request option.
|
|
26787
26799
|
* @throws {RequiredError}
|
|
@@ -26839,7 +26851,7 @@ export const DomainsPortfolioApiFactory = function (configuration?: Configuratio
|
|
|
26839
26851
|
const localVarFp = DomainsPortfolioApiFp(configuration)
|
|
26840
26852
|
return {
|
|
26841
26853
|
/**
|
|
26842
|
-
* 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.
|
|
26843
26855
|
* @summary Claim free domain
|
|
26844
26856
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
26845
26857
|
* @param {*} [options] Override http request option.
|
|
@@ -26920,7 +26932,7 @@ export const DomainsPortfolioApiFactory = function (configuration?: Configuratio
|
|
|
26920
26932
|
return localVarFp.getDomainDetailsV1(domain, options).then((request) => request(axios, basePath));
|
|
26921
26933
|
},
|
|
26922
26934
|
/**
|
|
26923
|
-
* 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.
|
|
26924
26936
|
* @summary Get domain list
|
|
26925
26937
|
* @param {*} [options] Override http request option.
|
|
26926
26938
|
* @throws {RequiredError}
|
|
@@ -26970,7 +26982,7 @@ export const DomainsPortfolioApiFactory = function (configuration?: Configuratio
|
|
|
26970
26982
|
*/
|
|
26971
26983
|
export class DomainsPortfolioApi extends BaseAPI {
|
|
26972
26984
|
/**
|
|
26973
|
-
* 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.
|
|
26974
26986
|
* @summary Claim free domain
|
|
26975
26987
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
26976
26988
|
* @param {*} [options] Override http request option.
|
|
@@ -27067,7 +27079,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
27067
27079
|
}
|
|
27068
27080
|
|
|
27069
27081
|
/**
|
|
27070
|
-
* 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.
|
|
27071
27083
|
* @summary Get domain list
|
|
27072
27084
|
* @param {*} [options] Override http request option.
|
|
27073
27085
|
* @throws {RequiredError}
|
|
@@ -27124,7 +27136,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
27124
27136
|
export const DomainsTransferApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
27125
27137
|
return {
|
|
27126
27138
|
/**
|
|
27127
|
-
* 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.
|
|
27128
27140
|
* @summary Claim free domain transfer
|
|
27129
27141
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
27130
27142
|
* @param {*} [options] Override http request option.
|
|
@@ -27286,7 +27298,7 @@ export const DomainsTransferApiFp = function(configuration?: Configuration) {
|
|
|
27286
27298
|
const localVarAxiosParamCreator = DomainsTransferApiAxiosParamCreator(configuration)
|
|
27287
27299
|
return {
|
|
27288
27300
|
/**
|
|
27289
|
-
* 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.
|
|
27290
27302
|
* @summary Claim free domain transfer
|
|
27291
27303
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
27292
27304
|
* @param {*} [options] Override http request option.
|
|
@@ -27343,7 +27355,7 @@ export const DomainsTransferApiFactory = function (configuration?: Configuration
|
|
|
27343
27355
|
const localVarFp = DomainsTransferApiFp(configuration)
|
|
27344
27356
|
return {
|
|
27345
27357
|
/**
|
|
27346
|
-
* 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.
|
|
27347
27359
|
* @summary Claim free domain transfer
|
|
27348
27360
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
27349
27361
|
* @param {*} [options] Override http request option.
|
|
@@ -27392,7 +27404,7 @@ export const DomainsTransferApiFactory = function (configuration?: Configuration
|
|
|
27392
27404
|
*/
|
|
27393
27405
|
export class DomainsTransferApi extends BaseAPI {
|
|
27394
27406
|
/**
|
|
27395
|
-
* 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.
|
|
27396
27408
|
* @summary Claim free domain transfer
|
|
27397
27409
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
27398
27410
|
* @param {*} [options] Override http request option.
|
|
@@ -31620,7 +31632,7 @@ export const HorizonsWebsitesApiAxiosParamCreator = function (configuration?: Co
|
|
|
31620
31632
|
};
|
|
31621
31633
|
},
|
|
31622
31634
|
/**
|
|
31623
|
-
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
31635
|
+
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
31624
31636
|
* @summary Get website
|
|
31625
31637
|
* @param {string} websiteId The website ID
|
|
31626
31638
|
* @param {*} [options] Override http request option.
|
|
@@ -31758,7 +31770,7 @@ export const HorizonsWebsitesApiFp = function(configuration?: Configuration) {
|
|
|
31758
31770
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
31759
31771
|
},
|
|
31760
31772
|
/**
|
|
31761
|
-
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
31773
|
+
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
31762
31774
|
* @summary Get website
|
|
31763
31775
|
* @param {string} websiteId The website ID
|
|
31764
31776
|
* @param {*} [options] Override http request option.
|
|
@@ -31833,7 +31845,7 @@ export const HorizonsWebsitesApiFactory = function (configuration?: Configuratio
|
|
|
31833
31845
|
return localVarFp.getWebsiteListV1(options).then((request) => request(axios, basePath));
|
|
31834
31846
|
},
|
|
31835
31847
|
/**
|
|
31836
|
-
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
31848
|
+
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
31837
31849
|
* @summary Get website
|
|
31838
31850
|
* @param {string} websiteId The website ID
|
|
31839
31851
|
* @param {*} [options] Override http request option.
|
|
@@ -31912,7 +31924,7 @@ export class HorizonsWebsitesApi extends BaseAPI {
|
|
|
31912
31924
|
}
|
|
31913
31925
|
|
|
31914
31926
|
/**
|
|
31915
|
-
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
31927
|
+
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
31916
31928
|
* @summary Get website
|
|
31917
31929
|
* @param {string} websiteId The website ID
|
|
31918
31930
|
* @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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
@@ -7178,6 +7178,18 @@ export interface HorizonsV1WebsitesWebsiteUrlResource {
|
|
|
7178
7178
|
* @memberof HorizonsV1WebsitesWebsiteUrlResource
|
|
7179
7179
|
*/
|
|
7180
7180
|
'is_in_progress': boolean;
|
|
7181
|
+
/**
|
|
7182
|
+
* Whether Hostinger Horizons is generating changes to the website. Editing and publishing are refused while it is true
|
|
7183
|
+
* @type {boolean}
|
|
7184
|
+
* @memberof HorizonsV1WebsitesWebsiteUrlResource
|
|
7185
|
+
*/
|
|
7186
|
+
'is_generating': boolean;
|
|
7187
|
+
/**
|
|
7188
|
+
* What is running on the website right now: `website_publish` while it is being published right now, when publishing is refused; empty otherwise. An unfinished template migration also refuses publishing, with its own error, without appearing here.
|
|
7189
|
+
* @type {Array<string>}
|
|
7190
|
+
* @memberof HorizonsV1WebsitesWebsiteUrlResource
|
|
7191
|
+
*/
|
|
7192
|
+
'actions_in_progress': Array<string>;
|
|
7181
7193
|
/**
|
|
7182
7194
|
* Whether the website has an ecommerce store
|
|
7183
7195
|
* @type {boolean}
|
|
@@ -22284,7 +22296,7 @@ export declare class DomainsMoveApi extends BaseAPI {
|
|
|
22284
22296
|
*/
|
|
22285
22297
|
export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22286
22298
|
/**
|
|
22287
|
-
* 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.
|
|
22288
22300
|
* @summary Claim free domain
|
|
22289
22301
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
22290
22302
|
* @param {*} [options] Override http request option.
|
|
@@ -22349,7 +22361,7 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
22349
22361
|
*/
|
|
22350
22362
|
getDomainDetailsV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22351
22363
|
/**
|
|
22352
|
-
* 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.
|
|
22353
22365
|
* @summary Get domain list
|
|
22354
22366
|
* @param {*} [options] Override http request option.
|
|
22355
22367
|
* @throws {RequiredError}
|
|
@@ -22387,7 +22399,7 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
22387
22399
|
*/
|
|
22388
22400
|
export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
22389
22401
|
/**
|
|
22390
|
-
* 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.
|
|
22391
22403
|
* @summary Claim free domain
|
|
22392
22404
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
22393
22405
|
* @param {*} [options] Override http request option.
|
|
@@ -22452,7 +22464,7 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
22452
22464
|
*/
|
|
22453
22465
|
getDomainDetailsV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1DomainDomainExtendedResource>>;
|
|
22454
22466
|
/**
|
|
22455
|
-
* 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.
|
|
22456
22468
|
* @summary Get domain list
|
|
22457
22469
|
* @param {*} [options] Override http request option.
|
|
22458
22470
|
* @throws {RequiredError}
|
|
@@ -22490,7 +22502,7 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
22490
22502
|
*/
|
|
22491
22503
|
export declare const DomainsPortfolioApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22492
22504
|
/**
|
|
22493
|
-
* 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.
|
|
22494
22506
|
* @summary Claim free domain
|
|
22495
22507
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
22496
22508
|
* @param {*} [options] Override http request option.
|
|
@@ -22555,7 +22567,7 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
22555
22567
|
*/
|
|
22556
22568
|
getDomainDetailsV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1DomainDomainExtendedResource>;
|
|
22557
22569
|
/**
|
|
22558
|
-
* 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.
|
|
22559
22571
|
* @summary Get domain list
|
|
22560
22572
|
* @param {*} [options] Override http request option.
|
|
22561
22573
|
* @throws {RequiredError}
|
|
@@ -22595,7 +22607,7 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
22595
22607
|
*/
|
|
22596
22608
|
export declare class DomainsPortfolioApi extends BaseAPI {
|
|
22597
22609
|
/**
|
|
22598
|
-
* 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.
|
|
22599
22611
|
* @summary Claim free domain
|
|
22600
22612
|
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
22601
22613
|
* @param {*} [options] Override http request option.
|
|
@@ -22668,7 +22680,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
22668
22680
|
*/
|
|
22669
22681
|
getDomainDetailsV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainExtendedResource, any, {}, any>>;
|
|
22670
22682
|
/**
|
|
22671
|
-
* 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.
|
|
22672
22684
|
* @summary Get domain list
|
|
22673
22685
|
* @param {*} [options] Override http request option.
|
|
22674
22686
|
* @throws {RequiredError}
|
|
@@ -22710,7 +22722,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
22710
22722
|
*/
|
|
22711
22723
|
export declare const DomainsTransferApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22712
22724
|
/**
|
|
22713
|
-
* 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.
|
|
22714
22726
|
* @summary Claim free domain transfer
|
|
22715
22727
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
22716
22728
|
* @param {*} [options] Override http request option.
|
|
@@ -22747,7 +22759,7 @@ export declare const DomainsTransferApiAxiosParamCreator: (configuration?: Confi
|
|
|
22747
22759
|
*/
|
|
22748
22760
|
export declare const DomainsTransferApiFp: (configuration?: Configuration) => {
|
|
22749
22761
|
/**
|
|
22750
|
-
* 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.
|
|
22751
22763
|
* @summary Claim free domain transfer
|
|
22752
22764
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
22753
22765
|
* @param {*} [options] Override http request option.
|
|
@@ -22784,7 +22796,7 @@ export declare const DomainsTransferApiFp: (configuration?: Configuration) => {
|
|
|
22784
22796
|
*/
|
|
22785
22797
|
export declare const DomainsTransferApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22786
22798
|
/**
|
|
22787
|
-
* 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.
|
|
22788
22800
|
* @summary Claim free domain transfer
|
|
22789
22801
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
22790
22802
|
* @param {*} [options] Override http request option.
|
|
@@ -22823,7 +22835,7 @@ export declare const DomainsTransferApiFactory: (configuration?: Configuration,
|
|
|
22823
22835
|
*/
|
|
22824
22836
|
export declare class DomainsTransferApi extends BaseAPI {
|
|
22825
22837
|
/**
|
|
22826
|
-
* 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.
|
|
22827
22839
|
* @summary Claim free domain transfer
|
|
22828
22840
|
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
22829
22841
|
* @param {*} [options] Override http request option.
|
|
@@ -24903,7 +24915,7 @@ export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Conf
|
|
|
24903
24915
|
*/
|
|
24904
24916
|
getWebsiteListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24905
24917
|
/**
|
|
24906
|
-
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
24918
|
+
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
24907
24919
|
* @summary Get website
|
|
24908
24920
|
* @param {string} websiteId The website ID
|
|
24909
24921
|
* @param {*} [options] Override http request option.
|
|
@@ -24958,7 +24970,7 @@ export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
|
24958
24970
|
*/
|
|
24959
24971
|
getWebsiteListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HorizonsV1WebsitesWebsiteResource>>>;
|
|
24960
24972
|
/**
|
|
24961
|
-
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
24973
|
+
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
24962
24974
|
* @summary Get website
|
|
24963
24975
|
* @param {string} websiteId The website ID
|
|
24964
24976
|
* @param {*} [options] Override http request option.
|
|
@@ -25013,7 +25025,7 @@ export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration,
|
|
|
25013
25025
|
*/
|
|
25014
25026
|
getWebsiteListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<HorizonsV1WebsitesWebsiteResource>>;
|
|
25015
25027
|
/**
|
|
25016
|
-
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
25028
|
+
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
25017
25029
|
* @summary Get website
|
|
25018
25030
|
* @param {string} websiteId The website ID
|
|
25019
25031
|
* @param {*} [options] Override http request option.
|
|
@@ -25074,7 +25086,7 @@ export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
|
25074
25086
|
*/
|
|
25075
25087
|
getWebsiteListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesWebsiteResource[], any, {}, any>>;
|
|
25076
25088
|
/**
|
|
25077
|
-
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
25089
|
+
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
25078
25090
|
* @summary Get website
|
|
25079
25091
|
* @param {string} websiteId The website ID
|
|
25080
25092
|
* @param {*} [options] Override http request option.
|