|
3 | 3 | /** |
4 | 4 | * Hostinger API |
5 | 5 | * |
6 | | - * API Version: 2.13.0 |
| 6 | + * API Version: 2.13.1 |
7 | 7 | * |
8 | 8 | * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY! |
9 | 9 | * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api |
@@ -4424,13 +4424,13 @@ export interface DomainsV1WHOISStoreRequest { |
4424 | 4424 | */ |
4425 | 4425 | 'entity_type': DomainsV1WHOISStoreRequestEntityTypeEnum; |
4426 | 4426 | /** |
4427 | | - * TLD details |
| 4427 | + * TLD-specific details. The required keys depend on the TLD, country and entity type. |
4428 | 4428 | * @type {object} |
4429 | 4429 | * @memberof DomainsV1WHOISStoreRequest |
4430 | 4430 | */ |
4431 | 4431 | 'tld_details': object; |
4432 | 4432 | /** |
4433 | | - * WHOIS details |
| 4433 | + * WHOIS contact details. The required keys depend on the TLD, country and entity type, and can be country-specific (e.g. `state_lt` and `zip_lt` instead of `state` and `zip` for Lithuania). |
4434 | 4434 | * @type {object} |
4435 | 4435 | * @memberof DomainsV1WHOISStoreRequest |
4436 | 4436 | */ |
@@ -27661,7 +27661,7 @@ export const DomainsWHOISApiAxiosParamCreator = function (configuration?: Config |
27661 | 27661 | }; |
27662 | 27662 | }, |
27663 | 27663 | /** |
27664 | | - * Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration. |
| 27664 | + * Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration. The keys required in `whois_details` and `tld_details` depend on the TLD, country and entity type, and can be country-specific: for Lithuania, for example, `state_lt` and `zip_lt` are required instead of `state` and `zip`. A 422 response lists every required key that is missing or has an invalid value under `errors.whois_details`, and under `errors.tld_details` when `tld_details` is sent. Each error states the key\'s constraint and, where the key takes a fixed set of values, the allowed values, so all of them can be corrected in one retry. |
27665 | 27665 | * @summary Create WHOIS profile |
27666 | 27666 | * @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest |
27667 | 27667 | * @param {*} [options] Override http request option. |
@@ -28002,7 +28002,7 @@ export const DomainsWHOISApiFp = function(configuration?: Configuration) { |
28002 | 28002 | return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); |
28003 | 28003 | }, |
28004 | 28004 | /** |
28005 | | - * Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration. |
| 28005 | + * Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration. The keys required in `whois_details` and `tld_details` depend on the TLD, country and entity type, and can be country-specific: for Lithuania, for example, `state_lt` and `zip_lt` are required instead of `state` and `zip`. A 422 response lists every required key that is missing or has an invalid value under `errors.whois_details`, and under `errors.tld_details` when `tld_details` is sent. Each error states the key\'s constraint and, where the key takes a fixed set of values, the allowed values, so all of them can be corrected in one retry. |
28006 | 28006 | * @summary Create WHOIS profile |
28007 | 28007 | * @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest |
28008 | 28008 | * @param {*} [options] Override http request option. |
@@ -28128,7 +28128,7 @@ export const DomainsWHOISApiFactory = function (configuration?: Configuration, b |
28128 | 28128 | return localVarFp.changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options).then((request) => request(axios, basePath)); |
28129 | 28129 | }, |
28130 | 28130 | /** |
28131 | | - * Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration. |
| 28131 | + * Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration. The keys required in `whois_details` and `tld_details` depend on the TLD, country and entity type, and can be country-specific: for Lithuania, for example, `state_lt` and `zip_lt` are required instead of `state` and `zip`. A 422 response lists every required key that is missing or has an invalid value under `errors.whois_details`, and under `errors.tld_details` when `tld_details` is sent. Each error states the key\'s constraint and, where the key takes a fixed set of values, the allowed values, so all of them can be corrected in one retry. |
28132 | 28132 | * @summary Create WHOIS profile |
28133 | 28133 | * @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest |
28134 | 28134 | * @param {*} [options] Override http request option. |
@@ -28242,7 +28242,7 @@ export class DomainsWHOISApi extends BaseAPI { |
28242 | 28242 | } |
28243 | 28243 |
|
28244 | 28244 | /** |
28245 | | - * Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration. |
| 28245 | + * Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration. The keys required in `whois_details` and `tld_details` depend on the TLD, country and entity type, and can be country-specific: for Lithuania, for example, `state_lt` and `zip_lt` are required instead of `state` and `zip`. A 422 response lists every required key that is missing or has an invalid value under `errors.whois_details`, and under `errors.tld_details` when `tld_details` is sent. Each error states the key\'s constraint and, where the key takes a fixed set of values, the allowed values, so all of them can be corrected in one retry. |
28246 | 28246 | * @summary Create WHOIS profile |
28247 | 28247 | * @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest |
28248 | 28248 | * @param {*} [options] Override http request option. |
|
0 commit comments