hostinger-api-sdk 2.13.0 → 2.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +7 -7
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +7 -7
- package/dist/api.js +5 -5
- 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 +7 -7
- package/dist/esm/api.js +5 -5
- 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/DomainsV1WHOISStoreRequest.md +2 -2
- package/docs/DomainsWHOISApi.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## @hostinger/sdk@2.13.
|
|
1
|
+
## @hostinger/sdk@2.13.1
|
|
2
2
|
|
|
3
3
|
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
|
|
4
4
|
|
|
5
5
|
### Usage
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
npm install @hostinger/sdk@2.13.
|
|
8
|
+
npm install @hostinger/sdk@2.13.1 --save
|
|
9
9
|
```
|
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.13.
|
|
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.
|
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.13.
|
|
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
|
package/common.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.13.
|
|
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
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.13.
|
|
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
|
|
@@ -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.13.
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/2.13.1",
|
|
52
52
|
...param.baseOptions?.headers,
|
|
53
53
|
},
|
|
54
54
|
};
|
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.13.
|
|
4
|
+
* API Version: 2.13.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -4314,13 +4314,13 @@ export interface DomainsV1WHOISStoreRequest {
|
|
|
4314
4314
|
*/
|
|
4315
4315
|
'entity_type': DomainsV1WHOISStoreRequestEntityTypeEnum;
|
|
4316
4316
|
/**
|
|
4317
|
-
* TLD details
|
|
4317
|
+
* TLD-specific details. The required keys depend on the TLD, country and entity type.
|
|
4318
4318
|
* @type {object}
|
|
4319
4319
|
* @memberof DomainsV1WHOISStoreRequest
|
|
4320
4320
|
*/
|
|
4321
4321
|
'tld_details': object;
|
|
4322
4322
|
/**
|
|
4323
|
-
* WHOIS details
|
|
4323
|
+
* 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).
|
|
4324
4324
|
* @type {object}
|
|
4325
4325
|
* @memberof DomainsV1WHOISStoreRequest
|
|
4326
4326
|
*/
|
|
@@ -23009,7 +23009,7 @@ export declare const DomainsWHOISApiAxiosParamCreator: (configuration?: Configur
|
|
|
23009
23009
|
*/
|
|
23010
23010
|
changeWHOISProfileForDomainV1: (domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23011
23011
|
/**
|
|
23012
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
23012
|
+
* 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.
|
|
23013
23013
|
* @summary Create WHOIS profile
|
|
23014
23014
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
23015
23015
|
* @param {*} [options] Override http request option.
|
|
@@ -23095,7 +23095,7 @@ export declare const DomainsWHOISApiFp: (configuration?: Configuration) => {
|
|
|
23095
23095
|
*/
|
|
23096
23096
|
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
23097
23097
|
/**
|
|
23098
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
23098
|
+
* 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.
|
|
23099
23099
|
* @summary Create WHOIS profile
|
|
23100
23100
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
23101
23101
|
* @param {*} [options] Override http request option.
|
|
@@ -23181,7 +23181,7 @@ export declare const DomainsWHOISApiFactory: (configuration?: Configuration, bas
|
|
|
23181
23181
|
*/
|
|
23182
23182
|
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
23183
23183
|
/**
|
|
23184
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
23184
|
+
* 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.
|
|
23185
23185
|
* @summary Create WHOIS profile
|
|
23186
23186
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
23187
23187
|
* @param {*} [options] Override http request option.
|
|
@@ -23271,7 +23271,7 @@ export declare class DomainsWHOISApi extends BaseAPI {
|
|
|
23271
23271
|
*/
|
|
23272
23272
|
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
23273
23273
|
/**
|
|
23274
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
23274
|
+
* 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.
|
|
23275
23275
|
* @summary Create WHOIS profile
|
|
23276
23276
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
23277
23277
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.13.
|
|
7
|
+
* API Version: 2.13.1
|
|
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
|
|
@@ -9019,7 +9019,7 @@ const DomainsWHOISApiAxiosParamCreator = function (configuration) {
|
|
|
9019
9019
|
};
|
|
9020
9020
|
}),
|
|
9021
9021
|
/**
|
|
9022
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
9022
|
+
* 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.
|
|
9023
9023
|
* @summary Create WHOIS profile
|
|
9024
9024
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
9025
9025
|
* @param {*} [options] Override http request option.
|
|
@@ -9316,7 +9316,7 @@ const DomainsWHOISApiFp = function (configuration) {
|
|
|
9316
9316
|
});
|
|
9317
9317
|
},
|
|
9318
9318
|
/**
|
|
9319
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
9319
|
+
* 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.
|
|
9320
9320
|
* @summary Create WHOIS profile
|
|
9321
9321
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
9322
9322
|
* @param {*} [options] Override http request option.
|
|
@@ -9466,7 +9466,7 @@ const DomainsWHOISApiFactory = function (configuration, basePath, axios) {
|
|
|
9466
9466
|
return localVarFp.changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options).then((request) => request(axios, basePath));
|
|
9467
9467
|
},
|
|
9468
9468
|
/**
|
|
9469
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
9469
|
+
* 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.
|
|
9470
9470
|
* @summary Create WHOIS profile
|
|
9471
9471
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
9472
9472
|
* @param {*} [options] Override http request option.
|
|
@@ -9578,7 +9578,7 @@ class DomainsWHOISApi extends base_1.BaseAPI {
|
|
|
9578
9578
|
return (0, exports.DomainsWHOISApiFp)(this.configuration).changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9579
9579
|
}
|
|
9580
9580
|
/**
|
|
9581
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
9581
|
+
* 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.
|
|
9582
9582
|
* @summary Create WHOIS profile
|
|
9583
9583
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
9584
9584
|
* @param {*} [options] Override http request option.
|
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.13.
|
|
4
|
+
* API Version: 2.13.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.13.
|
|
7
|
+
* API Version: 2.13.1
|
|
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/dist/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.13.
|
|
4
|
+
* API Version: 2.13.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.13.
|
|
7
|
+
* API Version: 2.13.1
|
|
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/dist/configuration.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.13.
|
|
4
|
+
* API Version: 2.13.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.13.
|
|
7
|
+
* API Version: 2.13.1
|
|
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
|
|
@@ -16,7 +16,7 @@ class Configuration {
|
|
|
16
16
|
var _a;
|
|
17
17
|
this.accessToken = param.accessToken;
|
|
18
18
|
this.basePath = param.basePath;
|
|
19
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.13.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.13.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
20
20
|
this.formDataCtor = param.formDataCtor;
|
|
21
21
|
}
|
|
22
22
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.13.
|
|
4
|
+
* API Version: 2.13.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -4314,13 +4314,13 @@ export interface DomainsV1WHOISStoreRequest {
|
|
|
4314
4314
|
*/
|
|
4315
4315
|
'entity_type': DomainsV1WHOISStoreRequestEntityTypeEnum;
|
|
4316
4316
|
/**
|
|
4317
|
-
* TLD details
|
|
4317
|
+
* TLD-specific details. The required keys depend on the TLD, country and entity type.
|
|
4318
4318
|
* @type {object}
|
|
4319
4319
|
* @memberof DomainsV1WHOISStoreRequest
|
|
4320
4320
|
*/
|
|
4321
4321
|
'tld_details': object;
|
|
4322
4322
|
/**
|
|
4323
|
-
* WHOIS details
|
|
4323
|
+
* 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).
|
|
4324
4324
|
* @type {object}
|
|
4325
4325
|
* @memberof DomainsV1WHOISStoreRequest
|
|
4326
4326
|
*/
|
|
@@ -23009,7 +23009,7 @@ export declare const DomainsWHOISApiAxiosParamCreator: (configuration?: Configur
|
|
|
23009
23009
|
*/
|
|
23010
23010
|
changeWHOISProfileForDomainV1: (domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23011
23011
|
/**
|
|
23012
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
23012
|
+
* 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.
|
|
23013
23013
|
* @summary Create WHOIS profile
|
|
23014
23014
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
23015
23015
|
* @param {*} [options] Override http request option.
|
|
@@ -23095,7 +23095,7 @@ export declare const DomainsWHOISApiFp: (configuration?: Configuration) => {
|
|
|
23095
23095
|
*/
|
|
23096
23096
|
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
23097
23097
|
/**
|
|
23098
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
23098
|
+
* 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.
|
|
23099
23099
|
* @summary Create WHOIS profile
|
|
23100
23100
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
23101
23101
|
* @param {*} [options] Override http request option.
|
|
@@ -23181,7 +23181,7 @@ export declare const DomainsWHOISApiFactory: (configuration?: Configuration, bas
|
|
|
23181
23181
|
*/
|
|
23182
23182
|
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
23183
23183
|
/**
|
|
23184
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
23184
|
+
* 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.
|
|
23185
23185
|
* @summary Create WHOIS profile
|
|
23186
23186
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
23187
23187
|
* @param {*} [options] Override http request option.
|
|
@@ -23271,7 +23271,7 @@ export declare class DomainsWHOISApi extends BaseAPI {
|
|
|
23271
23271
|
*/
|
|
23272
23272
|
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
23273
23273
|
/**
|
|
23274
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
23274
|
+
* 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.
|
|
23275
23275
|
* @summary Create WHOIS profile
|
|
23276
23276
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
23277
23277
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.13.
|
|
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
|
|
@@ -8896,7 +8896,7 @@ export const DomainsWHOISApiAxiosParamCreator = function (configuration) {
|
|
|
8896
8896
|
};
|
|
8897
8897
|
}),
|
|
8898
8898
|
/**
|
|
8899
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
8899
|
+
* 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.
|
|
8900
8900
|
* @summary Create WHOIS profile
|
|
8901
8901
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
8902
8902
|
* @param {*} [options] Override http request option.
|
|
@@ -9192,7 +9192,7 @@ export const DomainsWHOISApiFp = function (configuration) {
|
|
|
9192
9192
|
});
|
|
9193
9193
|
},
|
|
9194
9194
|
/**
|
|
9195
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
9195
|
+
* 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.
|
|
9196
9196
|
* @summary Create WHOIS profile
|
|
9197
9197
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
9198
9198
|
* @param {*} [options] Override http request option.
|
|
@@ -9341,7 +9341,7 @@ export const DomainsWHOISApiFactory = function (configuration, basePath, axios)
|
|
|
9341
9341
|
return localVarFp.changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options).then((request) => request(axios, basePath));
|
|
9342
9342
|
},
|
|
9343
9343
|
/**
|
|
9344
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
9344
|
+
* 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.
|
|
9345
9345
|
* @summary Create WHOIS profile
|
|
9346
9346
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
9347
9347
|
* @param {*} [options] Override http request option.
|
|
@@ -9452,7 +9452,7 @@ export class DomainsWHOISApi extends BaseAPI {
|
|
|
9452
9452
|
return DomainsWHOISApiFp(this.configuration).changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9453
9453
|
}
|
|
9454
9454
|
/**
|
|
9455
|
-
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
9455
|
+
* 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.
|
|
9456
9456
|
* @summary Create WHOIS profile
|
|
9457
9457
|
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
9458
9458
|
* @param {*} [options] Override http request option.
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.13.
|
|
4
|
+
* API Version: 2.13.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.13.
|
|
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
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.13.
|
|
4
|
+
* API Version: 2.13.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.13.
|
|
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
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.13.
|
|
4
|
+
* API Version: 2.13.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.13.
|
|
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
|
|
@@ -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.13.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.13.1" }, (_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.13.
|
|
4
|
+
* API Version: 2.13.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.13.
|
|
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
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.13.
|
|
4
|
+
* API Version: 2.13.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.13.
|
|
7
|
+
* API Version: 2.13.1
|
|
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
|
|
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**tld** | **string** | TLD of the domain (without leading dot) | [default to undefined]
|
|
9
9
|
**country** | **string** | ISO 3166 2-letter country code | [default to undefined]
|
|
10
10
|
**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]
|
|
13
13
|
|
|
14
14
|
## Example
|
|
15
15
|
|
package/docs/DomainsWHOISApi.md
CHANGED
|
@@ -126,7 +126,7 @@ const { status, data } = await apiInstance.changeWHOISProfileForDomainV1(
|
|
|
126
126
|
# **createWHOISProfileV1**
|
|
127
127
|
> DomainsV1WHOISProfileResource createWHOISProfileV1(domainsV1WHOISStoreRequest)
|
|
128
128
|
|
|
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.
|
|
130
130
|
|
|
131
131
|
### Example
|
|
132
132
|
|
package/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.13.
|
|
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
|