hostinger-api-sdk 2.11.1 → 2.12.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 +49 -21
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +46 -21
- package/dist/api.js +39 -34
- 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 +46 -21
- package/dist/esm/api.js +26 -21
- 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/DomainsForwardingApi.md +2 -2
- package/docs/DomainsPortfolioApi.md +3 -3
- package/docs/DomainsV1DomainDomainResource.md +2 -0
- package/docs/DomainsV1DomainDomainVerificationResource.md +20 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.12.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
|
|
@@ -3500,6 +3500,12 @@ export interface DomainsV1DomainDomainResource {
|
|
|
3500
3500
|
* @memberof DomainsV1DomainDomainResource
|
|
3501
3501
|
*/
|
|
3502
3502
|
'expires_at': string | null;
|
|
3503
|
+
/**
|
|
3504
|
+
*
|
|
3505
|
+
* @type {DomainsV1DomainDomainVerificationResource}
|
|
3506
|
+
* @memberof DomainsV1DomainDomainResource
|
|
3507
|
+
*/
|
|
3508
|
+
'verification': DomainsV1DomainDomainVerificationResource | null;
|
|
3503
3509
|
}
|
|
3504
3510
|
export declare const DomainsV1DomainDomainResourceTypeEnum: {
|
|
3505
3511
|
readonly Domain: "domain";
|
|
@@ -3519,6 +3525,25 @@ export declare const DomainsV1DomainDomainResourceStatusEnum: {
|
|
|
3519
3525
|
readonly Failed: "failed";
|
|
3520
3526
|
};
|
|
3521
3527
|
export type DomainsV1DomainDomainResourceStatusEnum = typeof DomainsV1DomainDomainResourceStatusEnum[keyof typeof DomainsV1DomainDomainResourceStatusEnum];
|
|
3528
|
+
/**
|
|
3529
|
+
*
|
|
3530
|
+
* @export
|
|
3531
|
+
* @interface DomainsV1DomainDomainVerificationResource
|
|
3532
|
+
*/
|
|
3533
|
+
export interface DomainsV1DomainDomainVerificationResource {
|
|
3534
|
+
/**
|
|
3535
|
+
* What registration waits for: - `manual_review`: a check you cannot complete yourself, such as a review of the order by Hostinger. You have nothing to do. - `sms_code`: a code was sent by SMS to the phone number of the owner WHOIS profile. Enter it in [hPanel](https://hpanel.hostinger.com/). - `contact_verification`: the registry requires the owner WHOIS profile to be verified first, by email, phone number or contact name. Complete it in [hPanel](https://hpanel.hostinger.com/); registration resumes once the profile is verified.
|
|
3536
|
+
* @type {string}
|
|
3537
|
+
* @memberof DomainsV1DomainDomainVerificationResource
|
|
3538
|
+
*/
|
|
3539
|
+
'type': DomainsV1DomainDomainVerificationResourceTypeEnum;
|
|
3540
|
+
}
|
|
3541
|
+
export declare const DomainsV1DomainDomainVerificationResourceTypeEnum: {
|
|
3542
|
+
readonly ManualReview: "manual_review";
|
|
3543
|
+
readonly SmsCode: "sms_code";
|
|
3544
|
+
readonly ContactVerification: "contact_verification";
|
|
3545
|
+
};
|
|
3546
|
+
export type DomainsV1DomainDomainVerificationResourceTypeEnum = typeof DomainsV1DomainDomainVerificationResourceTypeEnum[keyof typeof DomainsV1DomainDomainVerificationResourceTypeEnum];
|
|
3522
3547
|
/**
|
|
3523
3548
|
*
|
|
3524
3549
|
* @export
|
|
@@ -21876,7 +21901,7 @@ export declare class DomainsAvailabilityApi extends BaseAPI {
|
|
|
21876
21901
|
*/
|
|
21877
21902
|
export declare const DomainsForwardingApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21878
21903
|
/**
|
|
21879
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
21904
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
21880
21905
|
* @summary Create domain forwarding
|
|
21881
21906
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
21882
21907
|
* @param {*} [options] Override http request option.
|
|
@@ -21900,7 +21925,7 @@ export declare const DomainsForwardingApiAxiosParamCreator: (configuration?: Con
|
|
|
21900
21925
|
*/
|
|
21901
21926
|
getDomainForwardingV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21902
21927
|
/**
|
|
21903
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
21928
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
21904
21929
|
* @summary Update domain forwarding
|
|
21905
21930
|
* @param {string} domain Domain name
|
|
21906
21931
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -21915,7 +21940,7 @@ export declare const DomainsForwardingApiAxiosParamCreator: (configuration?: Con
|
|
|
21915
21940
|
*/
|
|
21916
21941
|
export declare const DomainsForwardingApiFp: (configuration?: Configuration) => {
|
|
21917
21942
|
/**
|
|
21918
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
21943
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
21919
21944
|
* @summary Create domain forwarding
|
|
21920
21945
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
21921
21946
|
* @param {*} [options] Override http request option.
|
|
@@ -21939,7 +21964,7 @@ export declare const DomainsForwardingApiFp: (configuration?: Configuration) =>
|
|
|
21939
21964
|
*/
|
|
21940
21965
|
getDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1ForwardingForwardingResource>>;
|
|
21941
21966
|
/**
|
|
21942
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
21967
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
21943
21968
|
* @summary Update domain forwarding
|
|
21944
21969
|
* @param {string} domain Domain name
|
|
21945
21970
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -21954,7 +21979,7 @@ export declare const DomainsForwardingApiFp: (configuration?: Configuration) =>
|
|
|
21954
21979
|
*/
|
|
21955
21980
|
export declare const DomainsForwardingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
21956
21981
|
/**
|
|
21957
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
21982
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
21958
21983
|
* @summary Create domain forwarding
|
|
21959
21984
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
21960
21985
|
* @param {*} [options] Override http request option.
|
|
@@ -21978,7 +22003,7 @@ export declare const DomainsForwardingApiFactory: (configuration?: Configuration
|
|
|
21978
22003
|
*/
|
|
21979
22004
|
getDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1ForwardingForwardingResource>;
|
|
21980
22005
|
/**
|
|
21981
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
22006
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
21982
22007
|
* @summary Update domain forwarding
|
|
21983
22008
|
* @param {string} domain Domain name
|
|
21984
22009
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -21995,7 +22020,7 @@ export declare const DomainsForwardingApiFactory: (configuration?: Configuration
|
|
|
21995
22020
|
*/
|
|
21996
22021
|
export declare class DomainsForwardingApi extends BaseAPI {
|
|
21997
22022
|
/**
|
|
21998
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
22023
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
21999
22024
|
* @summary Create domain forwarding
|
|
22000
22025
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
22001
22026
|
* @param {*} [options] Override http request option.
|
|
@@ -22022,7 +22047,7 @@ export declare class DomainsForwardingApi extends BaseAPI {
|
|
|
22022
22047
|
*/
|
|
22023
22048
|
getDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1ForwardingForwardingResource, any, {}, any>>;
|
|
22024
22049
|
/**
|
|
22025
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
22050
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
22026
22051
|
* @summary Update domain forwarding
|
|
22027
22052
|
* @param {string} domain Domain name
|
|
22028
22053
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -22340,7 +22365,7 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
22340
22365
|
*/
|
|
22341
22366
|
claimFreeDomainV1: (domainsV1PortfolioClaimRequest: DomainsV1PortfolioClaimRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22342
22367
|
/**
|
|
22343
|
-
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
22368
|
+
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. When the domain is held for verification, its `verification` field in `Get domain list` says what registration waits for. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
22344
22369
|
* @summary Complete domain setup
|
|
22345
22370
|
* @param {string} domain Domain name
|
|
22346
22371
|
* @param {DomainsV1PortfolioSetupRequest} domainsV1PortfolioSetupRequest
|
|
@@ -22389,7 +22414,7 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
22389
22414
|
*/
|
|
22390
22415
|
getDomainAuthorizationCodeV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22391
22416
|
/**
|
|
22392
|
-
* Retrieve detailed information for specified domain. Use this endpoint to view comprehensive domain configuration and status.
|
|
22417
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
22393
22418
|
* @summary Get domain details
|
|
22394
22419
|
* @param {string} domain Domain name
|
|
22395
22420
|
* @param {*} [options] Override http request option.
|
|
@@ -22397,7 +22422,7 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
22397
22422
|
*/
|
|
22398
22423
|
getDomainDetailsV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22399
22424
|
/**
|
|
22400
|
-
* 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.
|
|
22425
|
+
* 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. A domain held for verification before it is registered has `status: pending_verification`, and its `verification` field says what registration waits for: a manual review, an SMS code, or owner contact verification. Use this endpoint to view user\'s domain portfolio.
|
|
22401
22426
|
* @summary Get domain list
|
|
22402
22427
|
* @param {*} [options] Override http request option.
|
|
22403
22428
|
* @throws {RequiredError}
|
|
@@ -22443,7 +22468,7 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
22443
22468
|
*/
|
|
22444
22469
|
claimFreeDomainV1(domainsV1PortfolioClaimRequest: DomainsV1PortfolioClaimRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1PortfolioClaimResource>>;
|
|
22445
22470
|
/**
|
|
22446
|
-
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
22471
|
+
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. When the domain is held for verification, its `verification` field in `Get domain list` says what registration waits for. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
22447
22472
|
* @summary Complete domain setup
|
|
22448
22473
|
* @param {string} domain Domain name
|
|
22449
22474
|
* @param {DomainsV1PortfolioSetupRequest} domainsV1PortfolioSetupRequest
|
|
@@ -22492,7 +22517,7 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
22492
22517
|
*/
|
|
22493
22518
|
getDomainAuthorizationCodeV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1PortfolioAuthCodeAuthCodeResource>>;
|
|
22494
22519
|
/**
|
|
22495
|
-
* Retrieve detailed information for specified domain. Use this endpoint to view comprehensive domain configuration and status.
|
|
22520
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
22496
22521
|
* @summary Get domain details
|
|
22497
22522
|
* @param {string} domain Domain name
|
|
22498
22523
|
* @param {*} [options] Override http request option.
|
|
@@ -22500,7 +22525,7 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
22500
22525
|
*/
|
|
22501
22526
|
getDomainDetailsV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1DomainDomainExtendedResource>>;
|
|
22502
22527
|
/**
|
|
22503
|
-
* 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.
|
|
22528
|
+
* 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. A domain held for verification before it is registered has `status: pending_verification`, and its `verification` field says what registration waits for: a manual review, an SMS code, or owner contact verification. Use this endpoint to view user\'s domain portfolio.
|
|
22504
22529
|
* @summary Get domain list
|
|
22505
22530
|
* @param {*} [options] Override http request option.
|
|
22506
22531
|
* @throws {RequiredError}
|
|
@@ -22546,7 +22571,7 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
22546
22571
|
*/
|
|
22547
22572
|
claimFreeDomainV1(domainsV1PortfolioClaimRequest: DomainsV1PortfolioClaimRequest, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1PortfolioClaimResource>;
|
|
22548
22573
|
/**
|
|
22549
|
-
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
22574
|
+
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. When the domain is held for verification, its `verification` field in `Get domain list` says what registration waits for. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
22550
22575
|
* @summary Complete domain setup
|
|
22551
22576
|
* @param {string} domain Domain name
|
|
22552
22577
|
* @param {DomainsV1PortfolioSetupRequest} domainsV1PortfolioSetupRequest
|
|
@@ -22595,7 +22620,7 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
22595
22620
|
*/
|
|
22596
22621
|
getDomainAuthorizationCodeV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1PortfolioAuthCodeAuthCodeResource>;
|
|
22597
22622
|
/**
|
|
22598
|
-
* Retrieve detailed information for specified domain. Use this endpoint to view comprehensive domain configuration and status.
|
|
22623
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
22599
22624
|
* @summary Get domain details
|
|
22600
22625
|
* @param {string} domain Domain name
|
|
22601
22626
|
* @param {*} [options] Override http request option.
|
|
@@ -22603,7 +22628,7 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
22603
22628
|
*/
|
|
22604
22629
|
getDomainDetailsV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1DomainDomainExtendedResource>;
|
|
22605
22630
|
/**
|
|
22606
|
-
* 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.
|
|
22631
|
+
* 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. A domain held for verification before it is registered has `status: pending_verification`, and its `verification` field says what registration waits for: a manual review, an SMS code, or owner contact verification. Use this endpoint to view user\'s domain portfolio.
|
|
22607
22632
|
* @summary Get domain list
|
|
22608
22633
|
* @param {*} [options] Override http request option.
|
|
22609
22634
|
* @throws {RequiredError}
|
|
@@ -22652,7 +22677,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
22652
22677
|
*/
|
|
22653
22678
|
claimFreeDomainV1(domainsV1PortfolioClaimRequest: DomainsV1PortfolioClaimRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1PortfolioClaimResource, any, {}, any>>;
|
|
22654
22679
|
/**
|
|
22655
|
-
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
22680
|
+
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. When the domain is held for verification, its `verification` field in `Get domain list` says what registration waits for. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
22656
22681
|
* @summary Complete domain setup
|
|
22657
22682
|
* @param {string} domain Domain name
|
|
22658
22683
|
* @param {DomainsV1PortfolioSetupRequest} domainsV1PortfolioSetupRequest
|
|
@@ -22707,7 +22732,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
22707
22732
|
*/
|
|
22708
22733
|
getDomainAuthorizationCodeV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1PortfolioAuthCodeAuthCodeResource, any, {}, any>>;
|
|
22709
22734
|
/**
|
|
22710
|
-
* Retrieve detailed information for specified domain. Use this endpoint to view comprehensive domain configuration and status.
|
|
22735
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
22711
22736
|
* @summary Get domain details
|
|
22712
22737
|
* @param {string} domain Domain name
|
|
22713
22738
|
* @param {*} [options] Override http request option.
|
|
@@ -22716,7 +22741,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
22716
22741
|
*/
|
|
22717
22742
|
getDomainDetailsV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainExtendedResource, any, {}, any>>;
|
|
22718
22743
|
/**
|
|
22719
|
-
* 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.
|
|
22744
|
+
* 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. A domain held for verification before it is registered has `status: pending_verification`, and its `verification` field says what registration waits for: a manual review, an SMS code, or owner contact verification. Use this endpoint to view user\'s domain portfolio.
|
|
22720
22745
|
* @summary Get domain list
|
|
22721
22746
|
* @param {*} [options] Override http request option.
|
|
22722
22747
|
* @throws {RequiredError}
|
package/dist/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.12.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
|
|
@@ -186,6 +186,11 @@ export const DomainsV1DomainDomainResourceStatusEnum = {
|
|
|
186
186
|
Suspended: 'suspended',
|
|
187
187
|
Failed: 'failed'
|
|
188
188
|
};
|
|
189
|
+
export const DomainsV1DomainDomainVerificationResourceTypeEnum = {
|
|
190
|
+
ManualReview: 'manual_review',
|
|
191
|
+
SmsCode: 'sms_code',
|
|
192
|
+
ContactVerification: 'contact_verification'
|
|
193
|
+
};
|
|
189
194
|
export const DomainsV1ForwardingForwardingResourceRedirectTypeEnum = {
|
|
190
195
|
_301: '301',
|
|
191
196
|
_302: '302'
|
|
@@ -6757,7 +6762,7 @@ export class DomainsAvailabilityApi extends BaseAPI {
|
|
|
6757
6762
|
export const DomainsForwardingApiAxiosParamCreator = function (configuration) {
|
|
6758
6763
|
return {
|
|
6759
6764
|
/**
|
|
6760
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
6765
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
6761
6766
|
* @summary Create domain forwarding
|
|
6762
6767
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
6763
6768
|
* @param {*} [options] Override http request option.
|
|
@@ -6854,7 +6859,7 @@ export const DomainsForwardingApiAxiosParamCreator = function (configuration) {
|
|
|
6854
6859
|
};
|
|
6855
6860
|
}),
|
|
6856
6861
|
/**
|
|
6857
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
6862
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
6858
6863
|
* @summary Update domain forwarding
|
|
6859
6864
|
* @param {string} domain Domain name
|
|
6860
6865
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -6900,7 +6905,7 @@ export const DomainsForwardingApiFp = function (configuration) {
|
|
|
6900
6905
|
const localVarAxiosParamCreator = DomainsForwardingApiAxiosParamCreator(configuration);
|
|
6901
6906
|
return {
|
|
6902
6907
|
/**
|
|
6903
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
6908
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
6904
6909
|
* @summary Create domain forwarding
|
|
6905
6910
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
6906
6911
|
* @param {*} [options] Override http request option.
|
|
@@ -6945,7 +6950,7 @@ export const DomainsForwardingApiFp = function (configuration) {
|
|
|
6945
6950
|
});
|
|
6946
6951
|
},
|
|
6947
6952
|
/**
|
|
6948
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
6953
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
6949
6954
|
* @summary Update domain forwarding
|
|
6950
6955
|
* @param {string} domain Domain name
|
|
6951
6956
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -6970,7 +6975,7 @@ export const DomainsForwardingApiFactory = function (configuration, basePath, ax
|
|
|
6970
6975
|
const localVarFp = DomainsForwardingApiFp(configuration);
|
|
6971
6976
|
return {
|
|
6972
6977
|
/**
|
|
6973
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
6978
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
6974
6979
|
* @summary Create domain forwarding
|
|
6975
6980
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
6976
6981
|
* @param {*} [options] Override http request option.
|
|
@@ -7000,7 +7005,7 @@ export const DomainsForwardingApiFactory = function (configuration, basePath, ax
|
|
|
7000
7005
|
return localVarFp.getDomainForwardingV1(domain, options).then((request) => request(axios, basePath));
|
|
7001
7006
|
},
|
|
7002
7007
|
/**
|
|
7003
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
7008
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
7004
7009
|
* @summary Update domain forwarding
|
|
7005
7010
|
* @param {string} domain Domain name
|
|
7006
7011
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -7020,7 +7025,7 @@ export const DomainsForwardingApiFactory = function (configuration, basePath, ax
|
|
|
7020
7025
|
*/
|
|
7021
7026
|
export class DomainsForwardingApi extends BaseAPI {
|
|
7022
7027
|
/**
|
|
7023
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
7028
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
7024
7029
|
* @summary Create domain forwarding
|
|
7025
7030
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
7026
7031
|
* @param {*} [options] Override http request option.
|
|
@@ -7053,7 +7058,7 @@ export class DomainsForwardingApi extends BaseAPI {
|
|
|
7053
7058
|
return DomainsForwardingApiFp(this.configuration).getDomainForwardingV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
7054
7059
|
}
|
|
7055
7060
|
/**
|
|
7056
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
7061
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
7057
7062
|
* @summary Update domain forwarding
|
|
7058
7063
|
* @param {string} domain Domain name
|
|
7059
7064
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -7692,7 +7697,7 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration) {
|
|
|
7692
7697
|
};
|
|
7693
7698
|
}),
|
|
7694
7699
|
/**
|
|
7695
|
-
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
7700
|
+
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. When the domain is held for verification, its `verification` field in `Get domain list` says what registration waits for. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
7696
7701
|
* @summary Complete domain setup
|
|
7697
7702
|
* @param {string} domain Domain name
|
|
7698
7703
|
* @param {DomainsV1PortfolioSetupRequest} domainsV1PortfolioSetupRequest
|
|
@@ -7889,7 +7894,7 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration) {
|
|
|
7889
7894
|
};
|
|
7890
7895
|
}),
|
|
7891
7896
|
/**
|
|
7892
|
-
* Retrieve detailed information for specified domain. Use this endpoint to view comprehensive domain configuration and status.
|
|
7897
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
7893
7898
|
* @summary Get domain details
|
|
7894
7899
|
* @param {string} domain Domain name
|
|
7895
7900
|
* @param {*} [options] Override http request option.
|
|
@@ -7921,7 +7926,7 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration) {
|
|
|
7921
7926
|
};
|
|
7922
7927
|
}),
|
|
7923
7928
|
/**
|
|
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.
|
|
7929
|
+
* 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. A domain held for verification before it is registered has `status: pending_verification`, and its `verification` field says what registration waits for: a manual review, an SMS code, or owner contact verification. Use this endpoint to view user\'s domain portfolio.
|
|
7925
7930
|
* @summary Get domain list
|
|
7926
7931
|
* @param {*} [options] Override http request option.
|
|
7927
7932
|
* @throws {RequiredError}
|
|
@@ -8075,7 +8080,7 @@ export const DomainsPortfolioApiFp = function (configuration) {
|
|
|
8075
8080
|
});
|
|
8076
8081
|
},
|
|
8077
8082
|
/**
|
|
8078
|
-
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
8083
|
+
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. When the domain is held for verification, its `verification` field in `Get domain list` says what registration waits for. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
8079
8084
|
* @summary Complete domain setup
|
|
8080
8085
|
* @param {string} domain Domain name
|
|
8081
8086
|
* @param {DomainsV1PortfolioSetupRequest} domainsV1PortfolioSetupRequest
|
|
@@ -8166,7 +8171,7 @@ export const DomainsPortfolioApiFp = function (configuration) {
|
|
|
8166
8171
|
});
|
|
8167
8172
|
},
|
|
8168
8173
|
/**
|
|
8169
|
-
* Retrieve detailed information for specified domain. Use this endpoint to view comprehensive domain configuration and status.
|
|
8174
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
8170
8175
|
* @summary Get domain details
|
|
8171
8176
|
* @param {string} domain Domain name
|
|
8172
8177
|
* @param {*} [options] Override http request option.
|
|
@@ -8181,7 +8186,7 @@ export const DomainsPortfolioApiFp = function (configuration) {
|
|
|
8181
8186
|
});
|
|
8182
8187
|
},
|
|
8183
8188
|
/**
|
|
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.
|
|
8189
|
+
* 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. A domain held for verification before it is registered has `status: pending_verification`, and its `verification` field says what registration waits for: a manual review, an SMS code, or owner contact verification. Use this endpoint to view user\'s domain portfolio.
|
|
8185
8190
|
* @summary Get domain list
|
|
8186
8191
|
* @param {*} [options] Override http request option.
|
|
8187
8192
|
* @throws {RequiredError}
|
|
@@ -8260,7 +8265,7 @@ export const DomainsPortfolioApiFactory = function (configuration, basePath, axi
|
|
|
8260
8265
|
return localVarFp.claimFreeDomainV1(domainsV1PortfolioClaimRequest, options).then((request) => request(axios, basePath));
|
|
8261
8266
|
},
|
|
8262
8267
|
/**
|
|
8263
|
-
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
8268
|
+
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. When the domain is held for verification, its `verification` field in `Get domain list` says what registration waits for. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
8264
8269
|
* @summary Complete domain setup
|
|
8265
8270
|
* @param {string} domain Domain name
|
|
8266
8271
|
* @param {DomainsV1PortfolioSetupRequest} domainsV1PortfolioSetupRequest
|
|
@@ -8321,7 +8326,7 @@ export const DomainsPortfolioApiFactory = function (configuration, basePath, axi
|
|
|
8321
8326
|
return localVarFp.getDomainAuthorizationCodeV1(domain, options).then((request) => request(axios, basePath));
|
|
8322
8327
|
},
|
|
8323
8328
|
/**
|
|
8324
|
-
* Retrieve detailed information for specified domain. Use this endpoint to view comprehensive domain configuration and status.
|
|
8329
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
8325
8330
|
* @summary Get domain details
|
|
8326
8331
|
* @param {string} domain Domain name
|
|
8327
8332
|
* @param {*} [options] Override http request option.
|
|
@@ -8331,7 +8336,7 @@ export const DomainsPortfolioApiFactory = function (configuration, basePath, axi
|
|
|
8331
8336
|
return localVarFp.getDomainDetailsV1(domain, options).then((request) => request(axios, basePath));
|
|
8332
8337
|
},
|
|
8333
8338
|
/**
|
|
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.
|
|
8339
|
+
* 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. A domain held for verification before it is registered has `status: pending_verification`, and its `verification` field says what registration waits for: a manual review, an SMS code, or owner contact verification. Use this endpoint to view user\'s domain portfolio.
|
|
8335
8340
|
* @summary Get domain list
|
|
8336
8341
|
* @param {*} [options] Override http request option.
|
|
8337
8342
|
* @throws {RequiredError}
|
|
@@ -8391,7 +8396,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
8391
8396
|
return DomainsPortfolioApiFp(this.configuration).claimFreeDomainV1(domainsV1PortfolioClaimRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8392
8397
|
}
|
|
8393
8398
|
/**
|
|
8394
|
-
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
8399
|
+
* Register a domain you have already paid for but which has not been set up yet. Use this endpoint when an order completed without registering the domain, for example when `Purchase new domain` returned `202 Accepted` and the domain was added to your account without being registered, or when an earlier setup attempt failed. No new order is placed and no payment is taken: the subscription you already own is used, for the period you already paid for. A domain is left awaiting setup when the details needed to register it were missing or invalid as the order completed. Domains ordered elsewhere can be awaiting setup for the same reason. Complete the missing information, then call this endpoint. If the order itself has not completed yet, the domain is not on your account, wait until it appears in `Get domain list`. If `domain_contacts` is omitted, the default WHOIS profile of that TLD is used for all four roles. The profile must exist and be complete for the TLD, an incomplete profile is the most common reason a domain is left awaiting setup. Create one with `Create WHOIS profile`. Some TLDs require `additional_details`. These are validated before setup, so a missing or invalid value is rejected without any registration being attempted. The domain is set up with the default nameservers and with privacy protection. Use `Update domain nameservers` and `Disable privacy protection` afterwards to change either. A successful response means the setup request was accepted, not that the domain is already registered. Poll `Get domain list` for the outcome, the domain appears in `Get domain details` only once it is registered. When the domain is held for verification, its `verification` field in `Get domain list` says what registration waits for. Use this endpoint to finish registering a domain that is awaiting setup on your account.
|
|
8395
8400
|
* @summary Complete domain setup
|
|
8396
8401
|
* @param {string} domain Domain name
|
|
8397
8402
|
* @param {DomainsV1PortfolioSetupRequest} domainsV1PortfolioSetupRequest
|
|
@@ -8458,7 +8463,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
8458
8463
|
return DomainsPortfolioApiFp(this.configuration).getDomainAuthorizationCodeV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
8459
8464
|
}
|
|
8460
8465
|
/**
|
|
8461
|
-
* Retrieve detailed information for specified domain. Use this endpoint to view comprehensive domain configuration and status.
|
|
8466
|
+
* Retrieve detailed information for specified domain. A domain is found here only once it is registered. Until then, `Get domain list` shows it, and its `verification` field says what registration waits for when the domain is held for verification. Use this endpoint to view comprehensive domain configuration and status.
|
|
8462
8467
|
* @summary Get domain details
|
|
8463
8468
|
* @param {string} domain Domain name
|
|
8464
8469
|
* @param {*} [options] Override http request option.
|
|
@@ -8469,7 +8474,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
8469
8474
|
return DomainsPortfolioApiFp(this.configuration).getDomainDetailsV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
8470
8475
|
}
|
|
8471
8476
|
/**
|
|
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.
|
|
8477
|
+
* 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. A domain held for verification before it is registered has `status: pending_verification`, and its `verification` field says what registration waits for: a manual review, an SMS code, or owner contact verification. Use this endpoint to view user\'s domain portfolio.
|
|
8473
8478
|
* @summary Get domain list
|
|
8474
8479
|
* @param {*} [options] Override http request option.
|
|
8475
8480
|
* @throws {RequiredError}
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.12.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.12.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.12.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.12.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.12.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.12.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -13,7 +13,7 @@ export class Configuration {
|
|
|
13
13
|
var _a;
|
|
14
14
|
this.accessToken = param.accessToken;
|
|
15
15
|
this.basePath = param.basePath;
|
|
16
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.12.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
17
17
|
this.formDataCtor = param.formDataCtor;
|
|
18
18
|
}
|
|
19
19
|
/**
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.12.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.12.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.12.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.
|
|
7
|
+
* API Version: 2.12.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|