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/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## @hostinger/sdk@2.
|
|
1
|
+
## @hostinger/sdk@2.12.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.12.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.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
|
|
@@ -3576,6 +3576,12 @@ export interface DomainsV1DomainDomainResource {
|
|
|
3576
3576
|
* @memberof DomainsV1DomainDomainResource
|
|
3577
3577
|
*/
|
|
3578
3578
|
'expires_at': string | null;
|
|
3579
|
+
/**
|
|
3580
|
+
*
|
|
3581
|
+
* @type {DomainsV1DomainDomainVerificationResource}
|
|
3582
|
+
* @memberof DomainsV1DomainDomainResource
|
|
3583
|
+
*/
|
|
3584
|
+
'verification': DomainsV1DomainDomainVerificationResource | null;
|
|
3579
3585
|
}
|
|
3580
3586
|
|
|
3581
3587
|
export const DomainsV1DomainDomainResourceTypeEnum = {
|
|
@@ -3599,6 +3605,28 @@ export const DomainsV1DomainDomainResourceStatusEnum = {
|
|
|
3599
3605
|
|
|
3600
3606
|
export type DomainsV1DomainDomainResourceStatusEnum = typeof DomainsV1DomainDomainResourceStatusEnum[keyof typeof DomainsV1DomainDomainResourceStatusEnum];
|
|
3601
3607
|
|
|
3608
|
+
/**
|
|
3609
|
+
*
|
|
3610
|
+
* @export
|
|
3611
|
+
* @interface DomainsV1DomainDomainVerificationResource
|
|
3612
|
+
*/
|
|
3613
|
+
export interface DomainsV1DomainDomainVerificationResource {
|
|
3614
|
+
/**
|
|
3615
|
+
* 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.
|
|
3616
|
+
* @type {string}
|
|
3617
|
+
* @memberof DomainsV1DomainDomainVerificationResource
|
|
3618
|
+
*/
|
|
3619
|
+
'type': DomainsV1DomainDomainVerificationResourceTypeEnum;
|
|
3620
|
+
}
|
|
3621
|
+
|
|
3622
|
+
export const DomainsV1DomainDomainVerificationResourceTypeEnum = {
|
|
3623
|
+
ManualReview: 'manual_review',
|
|
3624
|
+
SmsCode: 'sms_code',
|
|
3625
|
+
ContactVerification: 'contact_verification'
|
|
3626
|
+
} as const;
|
|
3627
|
+
|
|
3628
|
+
export type DomainsV1DomainDomainVerificationResourceTypeEnum = typeof DomainsV1DomainDomainVerificationResourceTypeEnum[keyof typeof DomainsV1DomainDomainVerificationResourceTypeEnum];
|
|
3629
|
+
|
|
3602
3630
|
/**
|
|
3603
3631
|
*
|
|
3604
3632
|
* @export
|
|
@@ -25289,7 +25317,7 @@ export class DomainsAvailabilityApi extends BaseAPI {
|
|
|
25289
25317
|
export const DomainsForwardingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
25290
25318
|
return {
|
|
25291
25319
|
/**
|
|
25292
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
25320
|
+
* 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.
|
|
25293
25321
|
* @summary Create domain forwarding
|
|
25294
25322
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
25295
25323
|
* @param {*} [options] Override http request option.
|
|
@@ -25405,7 +25433,7 @@ export const DomainsForwardingApiAxiosParamCreator = function (configuration?: C
|
|
|
25405
25433
|
};
|
|
25406
25434
|
},
|
|
25407
25435
|
/**
|
|
25408
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
25436
|
+
* 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.
|
|
25409
25437
|
* @summary Update domain forwarding
|
|
25410
25438
|
* @param {string} domain Domain name
|
|
25411
25439
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -25459,7 +25487,7 @@ export const DomainsForwardingApiFp = function(configuration?: Configuration) {
|
|
|
25459
25487
|
const localVarAxiosParamCreator = DomainsForwardingApiAxiosParamCreator(configuration)
|
|
25460
25488
|
return {
|
|
25461
25489
|
/**
|
|
25462
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
25490
|
+
* 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.
|
|
25463
25491
|
* @summary Create domain forwarding
|
|
25464
25492
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
25465
25493
|
* @param {*} [options] Override http request option.
|
|
@@ -25495,7 +25523,7 @@ export const DomainsForwardingApiFp = function(configuration?: Configuration) {
|
|
|
25495
25523
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25496
25524
|
},
|
|
25497
25525
|
/**
|
|
25498
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
25526
|
+
* 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.
|
|
25499
25527
|
* @summary Update domain forwarding
|
|
25500
25528
|
* @param {string} domain Domain name
|
|
25501
25529
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -25518,7 +25546,7 @@ export const DomainsForwardingApiFactory = function (configuration?: Configurati
|
|
|
25518
25546
|
const localVarFp = DomainsForwardingApiFp(configuration)
|
|
25519
25547
|
return {
|
|
25520
25548
|
/**
|
|
25521
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
25549
|
+
* 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.
|
|
25522
25550
|
* @summary Create domain forwarding
|
|
25523
25551
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
25524
25552
|
* @param {*} [options] Override http request option.
|
|
@@ -25548,7 +25576,7 @@ export const DomainsForwardingApiFactory = function (configuration?: Configurati
|
|
|
25548
25576
|
return localVarFp.getDomainForwardingV1(domain, options).then((request) => request(axios, basePath));
|
|
25549
25577
|
},
|
|
25550
25578
|
/**
|
|
25551
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
25579
|
+
* 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.
|
|
25552
25580
|
* @summary Update domain forwarding
|
|
25553
25581
|
* @param {string} domain Domain name
|
|
25554
25582
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -25569,7 +25597,7 @@ export const DomainsForwardingApiFactory = function (configuration?: Configurati
|
|
|
25569
25597
|
*/
|
|
25570
25598
|
export class DomainsForwardingApi extends BaseAPI {
|
|
25571
25599
|
/**
|
|
25572
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
25600
|
+
* 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.
|
|
25573
25601
|
* @summary Create domain forwarding
|
|
25574
25602
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
25575
25603
|
* @param {*} [options] Override http request option.
|
|
@@ -25605,7 +25633,7 @@ export class DomainsForwardingApi extends BaseAPI {
|
|
|
25605
25633
|
}
|
|
25606
25634
|
|
|
25607
25635
|
/**
|
|
25608
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
25636
|
+
* 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.
|
|
25609
25637
|
* @summary Update domain forwarding
|
|
25610
25638
|
* @param {string} domain Domain name
|
|
25611
25639
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -26294,7 +26322,7 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration?: Co
|
|
|
26294
26322
|
};
|
|
26295
26323
|
},
|
|
26296
26324
|
/**
|
|
26297
|
-
* 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.
|
|
26325
|
+
* 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.
|
|
26298
26326
|
* @summary Complete domain setup
|
|
26299
26327
|
* @param {string} domain Domain name
|
|
26300
26328
|
* @param {DomainsV1PortfolioSetupRequest} domainsV1PortfolioSetupRequest
|
|
@@ -26528,7 +26556,7 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration?: Co
|
|
|
26528
26556
|
};
|
|
26529
26557
|
},
|
|
26530
26558
|
/**
|
|
26531
|
-
* Retrieve detailed information for specified domain. Use this endpoint to view comprehensive domain configuration and status.
|
|
26559
|
+
* 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.
|
|
26532
26560
|
* @summary Get domain details
|
|
26533
26561
|
* @param {string} domain Domain name
|
|
26534
26562
|
* @param {*} [options] Override http request option.
|
|
@@ -26566,7 +26594,7 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration?: Co
|
|
|
26566
26594
|
};
|
|
26567
26595
|
},
|
|
26568
26596
|
/**
|
|
26569
|
-
* 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.
|
|
26597
|
+
* 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.
|
|
26570
26598
|
* @summary Get domain list
|
|
26571
26599
|
* @param {*} [options] Override http request option.
|
|
26572
26600
|
* @throws {RequiredError}
|
|
@@ -26744,7 +26772,7 @@ export const DomainsPortfolioApiFp = function(configuration?: Configuration) {
|
|
|
26744
26772
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26745
26773
|
},
|
|
26746
26774
|
/**
|
|
26747
|
-
* 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.
|
|
26775
|
+
* 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.
|
|
26748
26776
|
* @summary Complete domain setup
|
|
26749
26777
|
* @param {string} domain Domain name
|
|
26750
26778
|
* @param {DomainsV1PortfolioSetupRequest} domainsV1PortfolioSetupRequest
|
|
@@ -26817,7 +26845,7 @@ export const DomainsPortfolioApiFp = function(configuration?: Configuration) {
|
|
|
26817
26845
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26818
26846
|
},
|
|
26819
26847
|
/**
|
|
26820
|
-
* Retrieve detailed information for specified domain. Use this endpoint to view comprehensive domain configuration and status.
|
|
26848
|
+
* 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.
|
|
26821
26849
|
* @summary Get domain details
|
|
26822
26850
|
* @param {string} domain Domain name
|
|
26823
26851
|
* @param {*} [options] Override http request option.
|
|
@@ -26829,7 +26857,7 @@ export const DomainsPortfolioApiFp = function(configuration?: Configuration) {
|
|
|
26829
26857
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26830
26858
|
},
|
|
26831
26859
|
/**
|
|
26832
|
-
* 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.
|
|
26860
|
+
* 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.
|
|
26833
26861
|
* @summary Get domain list
|
|
26834
26862
|
* @param {*} [options] Override http request option.
|
|
26835
26863
|
* @throws {RequiredError}
|
|
@@ -26897,7 +26925,7 @@ export const DomainsPortfolioApiFactory = function (configuration?: Configuratio
|
|
|
26897
26925
|
return localVarFp.claimFreeDomainV1(domainsV1PortfolioClaimRequest, options).then((request) => request(axios, basePath));
|
|
26898
26926
|
},
|
|
26899
26927
|
/**
|
|
26900
|
-
* 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.
|
|
26928
|
+
* 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.
|
|
26901
26929
|
* @summary Complete domain setup
|
|
26902
26930
|
* @param {string} domain Domain name
|
|
26903
26931
|
* @param {DomainsV1PortfolioSetupRequest} domainsV1PortfolioSetupRequest
|
|
@@ -26958,7 +26986,7 @@ export const DomainsPortfolioApiFactory = function (configuration?: Configuratio
|
|
|
26958
26986
|
return localVarFp.getDomainAuthorizationCodeV1(domain, options).then((request) => request(axios, basePath));
|
|
26959
26987
|
},
|
|
26960
26988
|
/**
|
|
26961
|
-
* Retrieve detailed information for specified domain. Use this endpoint to view comprehensive domain configuration and status.
|
|
26989
|
+
* 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.
|
|
26962
26990
|
* @summary Get domain details
|
|
26963
26991
|
* @param {string} domain Domain name
|
|
26964
26992
|
* @param {*} [options] Override http request option.
|
|
@@ -26968,7 +26996,7 @@ export const DomainsPortfolioApiFactory = function (configuration?: Configuratio
|
|
|
26968
26996
|
return localVarFp.getDomainDetailsV1(domain, options).then((request) => request(axios, basePath));
|
|
26969
26997
|
},
|
|
26970
26998
|
/**
|
|
26971
|
-
* 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.
|
|
26999
|
+
* 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.
|
|
26972
27000
|
* @summary Get domain list
|
|
26973
27001
|
* @param {*} [options] Override http request option.
|
|
26974
27002
|
* @throws {RequiredError}
|
|
@@ -27030,7 +27058,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
27030
27058
|
}
|
|
27031
27059
|
|
|
27032
27060
|
/**
|
|
27033
|
-
* 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.
|
|
27061
|
+
* 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.
|
|
27034
27062
|
* @summary Complete domain setup
|
|
27035
27063
|
* @param {string} domain Domain name
|
|
27036
27064
|
* @param {DomainsV1PortfolioSetupRequest} domainsV1PortfolioSetupRequest
|
|
@@ -27103,7 +27131,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
27103
27131
|
}
|
|
27104
27132
|
|
|
27105
27133
|
/**
|
|
27106
|
-
* Retrieve detailed information for specified domain. Use this endpoint to view comprehensive domain configuration and status.
|
|
27134
|
+
* 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.
|
|
27107
27135
|
* @summary Get domain details
|
|
27108
27136
|
* @param {string} domain Domain name
|
|
27109
27137
|
* @param {*} [options] Override http request option.
|
|
@@ -27115,7 +27143,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
27115
27143
|
}
|
|
27116
27144
|
|
|
27117
27145
|
/**
|
|
27118
|
-
* 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.
|
|
27146
|
+
* 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.
|
|
27119
27147
|
* @summary Get domain list
|
|
27120
27148
|
* @param {*} [options] Override http request option.
|
|
27121
27149
|
* @throws {RequiredError}
|
package/base.ts
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/common.ts
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/configuration.ts
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
|
|
@@ -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.12.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.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}
|