Skip to content

Commit b902179

Browse files
chore: sdk update
1 parent 4859228 commit b902179

9 files changed

Lines changed: 18 additions & 18 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
## @hostinger/sdk@2.13.0
1+
## @hostinger/sdk@2.13.1
22

33
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
44

55
### Usage
66

77
```
8-
npm install @hostinger/sdk@2.13.0 --save
8+
npm install @hostinger/sdk@2.13.1 --save
99
```

‎api.ts‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.13.0
6+
* API Version: 2.13.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* 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 {
44244424
*/
44254425
'entity_type': DomainsV1WHOISStoreRequestEntityTypeEnum;
44264426
/**
4427-
* TLD details
4427+
* TLD-specific details. The required keys depend on the TLD, country and entity type.
44284428
* @type {object}
44294429
* @memberof DomainsV1WHOISStoreRequest
44304430
*/
44314431
'tld_details': object;
44324432
/**
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).
44344434
* @type {object}
44354435
* @memberof DomainsV1WHOISStoreRequest
44364436
*/
@@ -27661,7 +27661,7 @@ export const DomainsWHOISApiAxiosParamCreator = function (configuration?: Config
2766127661
};
2766227662
},
2766327663
/**
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.
2766527665
* @summary Create WHOIS profile
2766627666
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
2766727667
* @param {*} [options] Override http request option.
@@ -28002,7 +28002,7 @@ export const DomainsWHOISApiFp = function(configuration?: Configuration) {
2800228002
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2800328003
},
2800428004
/**
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.
2800628006
* @summary Create WHOIS profile
2800728007
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
2800828008
* @param {*} [options] Override http request option.
@@ -28128,7 +28128,7 @@ export const DomainsWHOISApiFactory = function (configuration?: Configuration, b
2812828128
return localVarFp.changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options).then((request) => request(axios, basePath));
2812928129
},
2813028130
/**
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.
2813228132
* @summary Create WHOIS profile
2813328133
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
2813428134
* @param {*} [options] Override http request option.
@@ -28242,7 +28242,7 @@ export class DomainsWHOISApi extends BaseAPI {
2824228242
}
2824328243

2824428244
/**
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.
2824628246
* @summary Create WHOIS profile
2824728247
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
2824828248
* @param {*} [options] Override http request option.

‎base.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.13.0
6+
* API Version: 2.13.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎common.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.13.0
6+
* API Version: 2.13.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎configuration.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.13.0
6+
* API Version: 2.13.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* 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 {
4848
this.baseOptions = {
4949
...param.baseOptions,
5050
headers: {
51-
'User-Agent': "hostinger-typescript-sdk/2.13.0",
51+
'User-Agent': "hostinger-typescript-sdk/2.13.1",
5252
...param.baseOptions?.headers,
5353
},
5454
};

‎docs/DomainsV1WHOISStoreRequest.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
88
**tld** | **string** | TLD of the domain (without leading dot) | [default to undefined]
99
**country** | **string** | ISO 3166 2-letter country code | [default to undefined]
1010
**entity_type** | **string** | Legal entity type | [default to undefined]
11-
**tld_details** | **object** | TLD details | [optional] [default to undefined]
12-
**whois_details** | **object** | WHOIS details | [default to undefined]
11+
**tld_details** | **object** | TLD-specific details. The required keys depend on the TLD, country and entity type. | [optional] [default to undefined]
12+
**whois_details** | **object** | 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). | [default to undefined]
1313

1414
## Example
1515

‎docs/DomainsWHOISApi.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const { status, data } = await apiInstance.changeWHOISProfileForDomainV1(
126126
# **createWHOISProfileV1**
127127
> DomainsV1WHOISProfileResource createWHOISProfileV1(domainsV1WHOISStoreRequest)
128128

129-
Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
129+
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.
130130

131131
### Example
132132

‎index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.13.0
6+
* API Version: 2.13.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hostinger/sdk",
3-
"version": "2.13.0",
3+
"version": "2.13.1",
44
"description": "Hostinger API TypeScript SDK",
55
"author": "Hostinger",
66
"repository": {

0 commit comments

Comments
 (0)