hostinger-api-sdk 2.11.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +45 -17
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +42 -17
- package/dist/api.js +35 -30
- 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 +42 -17
- package/dist/esm/api.js +22 -17
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/DomainsMoveApi.md +1 -1
- 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.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -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
|
|
@@ -22094,7 +22119,7 @@ export declare const DomainsMoveApiAxiosParamCreator: (configuration?: Configura
|
|
|
22094
22119
|
*/
|
|
22095
22120
|
rejectIncomingDomainMoveV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22096
22121
|
/**
|
|
22097
|
-
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
22122
|
+
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
22098
22123
|
* @summary Start outgoing domain move
|
|
22099
22124
|
* @param {string} domain Domain name
|
|
22100
22125
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -22165,7 +22190,7 @@ export declare const DomainsMoveApiFp: (configuration?: Configuration) => {
|
|
|
22165
22190
|
*/
|
|
22166
22191
|
rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
22167
22192
|
/**
|
|
22168
|
-
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
22193
|
+
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
22169
22194
|
* @summary Start outgoing domain move
|
|
22170
22195
|
* @param {string} domain Domain name
|
|
22171
22196
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -22236,7 +22261,7 @@ export declare const DomainsMoveApiFactory: (configuration?: Configuration, base
|
|
|
22236
22261
|
*/
|
|
22237
22262
|
rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
22238
22263
|
/**
|
|
22239
|
-
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
22264
|
+
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
22240
22265
|
* @summary Start outgoing domain move
|
|
22241
22266
|
* @param {string} domain Domain name
|
|
22242
22267
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -22316,7 +22341,7 @@ export declare class DomainsMoveApi extends BaseAPI {
|
|
|
22316
22341
|
*/
|
|
22317
22342
|
rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
22318
22343
|
/**
|
|
22319
|
-
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
22344
|
+
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
22320
22345
|
* @summary Start outgoing domain move
|
|
22321
22346
|
* @param {string} domain Domain name
|
|
22322
22347
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -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.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -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'
|
|
@@ -7297,7 +7302,7 @@ export const DomainsMoveApiAxiosParamCreator = function (configuration) {
|
|
|
7297
7302
|
};
|
|
7298
7303
|
}),
|
|
7299
7304
|
/**
|
|
7300
|
-
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
7305
|
+
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
7301
7306
|
* @summary Start outgoing domain move
|
|
7302
7307
|
* @param {string} domain Domain name
|
|
7303
7308
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -7448,7 +7453,7 @@ export const DomainsMoveApiFp = function (configuration) {
|
|
|
7448
7453
|
});
|
|
7449
7454
|
},
|
|
7450
7455
|
/**
|
|
7451
|
-
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
7456
|
+
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
7452
7457
|
* @summary Start outgoing domain move
|
|
7453
7458
|
* @param {string} domain Domain name
|
|
7454
7459
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -7543,7 +7548,7 @@ export const DomainsMoveApiFactory = function (configuration, basePath, axios) {
|
|
|
7543
7548
|
return localVarFp.rejectIncomingDomainMoveV1(domain, options).then((request) => request(axios, basePath));
|
|
7544
7549
|
},
|
|
7545
7550
|
/**
|
|
7546
|
-
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
7551
|
+
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
7547
7552
|
* @summary Start outgoing domain move
|
|
7548
7553
|
* @param {string} domain Domain name
|
|
7549
7554
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -7640,7 +7645,7 @@ export class DomainsMoveApi extends BaseAPI {
|
|
|
7640
7645
|
return DomainsMoveApiFp(this.configuration).rejectIncomingDomainMoveV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
7641
7646
|
}
|
|
7642
7647
|
/**
|
|
7643
|
-
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
7648
|
+
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
7644
7649
|
* @summary Start outgoing domain move
|
|
7645
7650
|
* @param {string} domain Domain name
|
|
7646
7651
|
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
@@ -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.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.12.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/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.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.12.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.12.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.12.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -13,7 +13,7 @@ export class Configuration {
|
|
|
13
13
|
var _a;
|
|
14
14
|
this.accessToken = param.accessToken;
|
|
15
15
|
this.basePath = param.basePath;
|
|
16
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.12.0" }, (_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.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.12.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.12.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.
|
|
7
|
+
* API Version: 2.12.0
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/docs/DomainsMoveApi.md
CHANGED
|
@@ -381,7 +381,7 @@ const { status, data } = await apiInstance.rejectIncomingDomainMoveV1(
|
|
|
381
381
|
# **startOutgoingDomainMoveV1**
|
|
382
382
|
> CommonSuccessEmptyResource startOutgoingDomainMoveV1(domainsV1MoveOutgoingStoreRequest)
|
|
383
383
|
|
|
384
|
-
Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
384
|
+
Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. The move is also refused unless the domain: - was registered at least 4 days ago - does not expire within the next 10 days - has an extension that supports moves - has no move already in progress - was not moved in the last 10 days - is not a premium domain - is not still processing a recent renewal A move refused for one of these rules is rejected with a 404 status code and error code 2048, with a message naming the rule. The receiving account is checked first, and when it cannot be used the message stays generic. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
385
385
|
|
|
386
386
|
### Example
|
|
387
387
|
|
|
@@ -75,7 +75,7 @@ const { status, data } = await apiInstance.claimFreeDomainV1(
|
|
|
75
75
|
# **completeDomainSetupV1**
|
|
76
76
|
> CommonSuccessEmptyResource completeDomainSetupV1(domainsV1PortfolioSetupRequest)
|
|
77
77
|
|
|
78
|
-
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.
|
|
78
|
+
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.
|
|
79
79
|
|
|
80
80
|
### Example
|
|
81
81
|
|
|
@@ -399,7 +399,7 @@ const { status, data } = await apiInstance.getDomainAuthorizationCodeV1(
|
|
|
399
399
|
# **getDomainDetailsV1**
|
|
400
400
|
> DomainsV1DomainDomainExtendedResource getDomainDetailsV1()
|
|
401
401
|
|
|
402
|
-
Retrieve detailed information for specified domain. Use this endpoint to view comprehensive domain configuration and status.
|
|
402
|
+
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.
|
|
403
403
|
|
|
404
404
|
### Example
|
|
405
405
|
|
|
@@ -452,7 +452,7 @@ const { status, data } = await apiInstance.getDomainDetailsV1(
|
|
|
452
452
|
# **getDomainListV1**
|
|
453
453
|
> Array<DomainsV1DomainDomainResource> getDomainListV1()
|
|
454
454
|
|
|
455
|
-
Retrieve all domains associated with your account. 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.
|
|
455
|
+
Retrieve all domains associated with your account. A plan can include both a free domain (`type: free_domain`) and a free domain transfer (`type: free_domain_transfer`). They are alternatives: claiming one removes the other, which may still be listed for a short time after the claim. 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.
|
|
456
456
|
|
|
457
457
|
### Example
|
|
458
458
|
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**status** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**created_at** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**expires_at** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**verification** | [**DomainsV1DomainDomainVerificationResource**](DomainsV1DomainDomainVerificationResource.md) | | [optional] [default to undefined]
|
|
14
15
|
|
|
15
16
|
## Example
|
|
16
17
|
|
|
@@ -24,6 +25,7 @@ const instance: DomainsV1DomainDomainResource = {
|
|
|
24
25
|
status,
|
|
25
26
|
created_at,
|
|
26
27
|
expires_at,
|
|
28
|
+
verification,
|
|
27
29
|
};
|
|
28
30
|
```
|
|
29
31
|
|