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 CHANGED
@@ -1,9 +1,9 @@
1
- ## @hostinger/sdk@2.11.0
1
+ ## @hostinger/sdk@2.12.0
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.11.0 --save
8
+ npm install @hostinger/sdk@2.12.0 --save
9
9
  ```
package/api.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.11.0
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
@@ -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
@@ -25896,7 +25924,7 @@ export const DomainsMoveApiAxiosParamCreator = function (configuration?: Configu
25896
25924
  };
25897
25925
  },
25898
25926
  /**
25899
- * 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.
25927
+ * 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.
25900
25928
  * @summary Start outgoing domain move
25901
25929
  * @param {string} domain Domain name
25902
25930
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -26034,7 +26062,7 @@ export const DomainsMoveApiFp = function(configuration?: Configuration) {
26034
26062
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26035
26063
  },
26036
26064
  /**
26037
- * 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.
26065
+ * 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.
26038
26066
  * @summary Start outgoing domain move
26039
26067
  * @param {string} domain Domain name
26040
26068
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -26127,7 +26155,7 @@ export const DomainsMoveApiFactory = function (configuration?: Configuration, ba
26127
26155
  return localVarFp.rejectIncomingDomainMoveV1(domain, options).then((request) => request(axios, basePath));
26128
26156
  },
26129
26157
  /**
26130
- * 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.
26158
+ * 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.
26131
26159
  * @summary Start outgoing domain move
26132
26160
  * @param {string} domain Domain name
26133
26161
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -26232,7 +26260,7 @@ export class DomainsMoveApi extends BaseAPI {
26232
26260
  }
26233
26261
 
26234
26262
  /**
26235
- * 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.
26263
+ * 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.
26236
26264
  * @summary Start outgoing domain move
26237
26265
  * @param {string} domain Domain name
26238
26266
  * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
@@ -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.11.0
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/common.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.11.0
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/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.11.0
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
@@ -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.11.0",
51
+ 'User-Agent': "hostinger-typescript-sdk/2.12.0",
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.11.0
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}