hostinger-api-sdk 2.9.0 → 2.9.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 +5 -5
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +5 -5
- 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 +5 -5
- 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/DomainsForwardingApi.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.9.
|
|
1
|
+
## @hostinger/sdk@2.9.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.9.
|
|
8
|
+
npm install @hostinger/sdk@2.9.1 --save
|
|
9
9
|
```
|
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.9.
|
|
6
|
+
* API Version: 2.9.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
|
|
@@ -25331,7 +25331,7 @@ export const DomainsForwardingApiAxiosParamCreator = function (configuration?: C
|
|
|
25331
25331
|
};
|
|
25332
25332
|
},
|
|
25333
25333
|
/**
|
|
25334
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
25334
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
25335
25335
|
* @summary Get domain forwarding
|
|
25336
25336
|
* @param {string} domain Domain name
|
|
25337
25337
|
* @param {*} [options] Override http request option.
|
|
@@ -25447,7 +25447,7 @@ export const DomainsForwardingApiFp = function(configuration?: Configuration) {
|
|
|
25447
25447
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25448
25448
|
},
|
|
25449
25449
|
/**
|
|
25450
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
25450
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
25451
25451
|
* @summary Get domain forwarding
|
|
25452
25452
|
* @param {string} domain Domain name
|
|
25453
25453
|
* @param {*} [options] Override http request option.
|
|
@@ -25502,7 +25502,7 @@ export const DomainsForwardingApiFactory = function (configuration?: Configurati
|
|
|
25502
25502
|
return localVarFp.deleteDomainForwardingV1(domain, options).then((request) => request(axios, basePath));
|
|
25503
25503
|
},
|
|
25504
25504
|
/**
|
|
25505
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
25505
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
25506
25506
|
* @summary Get domain forwarding
|
|
25507
25507
|
* @param {string} domain Domain name
|
|
25508
25508
|
* @param {*} [options] Override http request option.
|
|
@@ -25557,7 +25557,7 @@ export class DomainsForwardingApi extends BaseAPI {
|
|
|
25557
25557
|
}
|
|
25558
25558
|
|
|
25559
25559
|
/**
|
|
25560
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
25560
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
25561
25561
|
* @summary Get domain forwarding
|
|
25562
25562
|
* @param {string} domain Domain name
|
|
25563
25563
|
* @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.9.
|
|
6
|
+
* API Version: 2.9.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.9.
|
|
6
|
+
* API Version: 2.9.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.9.
|
|
6
|
+
* API Version: 2.9.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.9.
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/2.9.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.9.
|
|
4
|
+
* API Version: 2.9.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
|
|
@@ -21856,7 +21856,7 @@ export declare const DomainsForwardingApiAxiosParamCreator: (configuration?: Con
|
|
|
21856
21856
|
*/
|
|
21857
21857
|
deleteDomainForwardingV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21858
21858
|
/**
|
|
21859
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
21859
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
21860
21860
|
* @summary Get domain forwarding
|
|
21861
21861
|
* @param {string} domain Domain name
|
|
21862
21862
|
* @param {*} [options] Override http request option.
|
|
@@ -21895,7 +21895,7 @@ export declare const DomainsForwardingApiFp: (configuration?: Configuration) =>
|
|
|
21895
21895
|
*/
|
|
21896
21896
|
deleteDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
21897
21897
|
/**
|
|
21898
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
21898
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
21899
21899
|
* @summary Get domain forwarding
|
|
21900
21900
|
* @param {string} domain Domain name
|
|
21901
21901
|
* @param {*} [options] Override http request option.
|
|
@@ -21934,7 +21934,7 @@ export declare const DomainsForwardingApiFactory: (configuration?: Configuration
|
|
|
21934
21934
|
*/
|
|
21935
21935
|
deleteDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
21936
21936
|
/**
|
|
21937
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
21937
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
21938
21938
|
* @summary Get domain forwarding
|
|
21939
21939
|
* @param {string} domain Domain name
|
|
21940
21940
|
* @param {*} [options] Override http request option.
|
|
@@ -21977,7 +21977,7 @@ export declare class DomainsForwardingApi extends BaseAPI {
|
|
|
21977
21977
|
*/
|
|
21978
21978
|
deleteDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
21979
21979
|
/**
|
|
21980
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
21980
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
21981
21981
|
* @summary Get domain forwarding
|
|
21982
21982
|
* @param {string} domain Domain name
|
|
21983
21983
|
* @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.9.
|
|
7
|
+
* API Version: 2.9.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
|
|
@@ -6929,7 +6929,7 @@ const DomainsForwardingApiAxiosParamCreator = function (configuration) {
|
|
|
6929
6929
|
};
|
|
6930
6930
|
}),
|
|
6931
6931
|
/**
|
|
6932
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
6932
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
6933
6933
|
* @summary Get domain forwarding
|
|
6934
6934
|
* @param {string} domain Domain name
|
|
6935
6935
|
* @param {*} [options] Override http request option.
|
|
@@ -7038,7 +7038,7 @@ const DomainsForwardingApiFp = function (configuration) {
|
|
|
7038
7038
|
});
|
|
7039
7039
|
},
|
|
7040
7040
|
/**
|
|
7041
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
7041
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
7042
7042
|
* @summary Get domain forwarding
|
|
7043
7043
|
* @param {string} domain Domain name
|
|
7044
7044
|
* @param {*} [options] Override http request option.
|
|
@@ -7099,7 +7099,7 @@ const DomainsForwardingApiFactory = function (configuration, basePath, axios) {
|
|
|
7099
7099
|
return localVarFp.deleteDomainForwardingV1(domain, options).then((request) => request(axios, basePath));
|
|
7100
7100
|
},
|
|
7101
7101
|
/**
|
|
7102
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
7102
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
7103
7103
|
* @summary Get domain forwarding
|
|
7104
7104
|
* @param {string} domain Domain name
|
|
7105
7105
|
* @param {*} [options] Override http request option.
|
|
@@ -7152,7 +7152,7 @@ class DomainsForwardingApi extends base_1.BaseAPI {
|
|
|
7152
7152
|
return (0, exports.DomainsForwardingApiFp)(this.configuration).deleteDomainForwardingV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
7153
7153
|
}
|
|
7154
7154
|
/**
|
|
7155
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
7155
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
7156
7156
|
* @summary Get domain forwarding
|
|
7157
7157
|
* @param {string} domain Domain name
|
|
7158
7158
|
* @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.9.
|
|
4
|
+
* API Version: 2.9.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.9.
|
|
7
|
+
* API Version: 2.9.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.9.
|
|
4
|
+
* API Version: 2.9.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.9.
|
|
7
|
+
* API Version: 2.9.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.9.
|
|
4
|
+
* API Version: 2.9.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.9.
|
|
7
|
+
* API Version: 2.9.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.9.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.9.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.9.
|
|
4
|
+
* API Version: 2.9.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
|
|
@@ -21856,7 +21856,7 @@ export declare const DomainsForwardingApiAxiosParamCreator: (configuration?: Con
|
|
|
21856
21856
|
*/
|
|
21857
21857
|
deleteDomainForwardingV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21858
21858
|
/**
|
|
21859
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
21859
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
21860
21860
|
* @summary Get domain forwarding
|
|
21861
21861
|
* @param {string} domain Domain name
|
|
21862
21862
|
* @param {*} [options] Override http request option.
|
|
@@ -21895,7 +21895,7 @@ export declare const DomainsForwardingApiFp: (configuration?: Configuration) =>
|
|
|
21895
21895
|
*/
|
|
21896
21896
|
deleteDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
21897
21897
|
/**
|
|
21898
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
21898
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
21899
21899
|
* @summary Get domain forwarding
|
|
21900
21900
|
* @param {string} domain Domain name
|
|
21901
21901
|
* @param {*} [options] Override http request option.
|
|
@@ -21934,7 +21934,7 @@ export declare const DomainsForwardingApiFactory: (configuration?: Configuration
|
|
|
21934
21934
|
*/
|
|
21935
21935
|
deleteDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
21936
21936
|
/**
|
|
21937
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
21937
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
21938
21938
|
* @summary Get domain forwarding
|
|
21939
21939
|
* @param {string} domain Domain name
|
|
21940
21940
|
* @param {*} [options] Override http request option.
|
|
@@ -21977,7 +21977,7 @@ export declare class DomainsForwardingApi extends BaseAPI {
|
|
|
21977
21977
|
*/
|
|
21978
21978
|
deleteDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
21979
21979
|
/**
|
|
21980
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
21980
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
21981
21981
|
* @summary Get domain forwarding
|
|
21982
21982
|
* @param {string} domain Domain name
|
|
21983
21983
|
* @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.9.
|
|
6
|
+
* API Version: 2.9.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
|
|
@@ -6822,7 +6822,7 @@ export const DomainsForwardingApiAxiosParamCreator = function (configuration) {
|
|
|
6822
6822
|
};
|
|
6823
6823
|
}),
|
|
6824
6824
|
/**
|
|
6825
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
6825
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
6826
6826
|
* @summary Get domain forwarding
|
|
6827
6827
|
* @param {string} domain Domain name
|
|
6828
6828
|
* @param {*} [options] Override http request option.
|
|
@@ -6930,7 +6930,7 @@ export const DomainsForwardingApiFp = function (configuration) {
|
|
|
6930
6930
|
});
|
|
6931
6931
|
},
|
|
6932
6932
|
/**
|
|
6933
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
6933
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
6934
6934
|
* @summary Get domain forwarding
|
|
6935
6935
|
* @param {string} domain Domain name
|
|
6936
6936
|
* @param {*} [options] Override http request option.
|
|
@@ -6990,7 +6990,7 @@ export const DomainsForwardingApiFactory = function (configuration, basePath, ax
|
|
|
6990
6990
|
return localVarFp.deleteDomainForwardingV1(domain, options).then((request) => request(axios, basePath));
|
|
6991
6991
|
},
|
|
6992
6992
|
/**
|
|
6993
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
6993
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
6994
6994
|
* @summary Get domain forwarding
|
|
6995
6995
|
* @param {string} domain Domain name
|
|
6996
6996
|
* @param {*} [options] Override http request option.
|
|
@@ -7042,7 +7042,7 @@ export class DomainsForwardingApi extends BaseAPI {
|
|
|
7042
7042
|
return DomainsForwardingApiFp(this.configuration).deleteDomainForwardingV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
7043
7043
|
}
|
|
7044
7044
|
/**
|
|
7045
|
-
* Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
7045
|
+
* Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
7046
7046
|
* @summary Get domain forwarding
|
|
7047
7047
|
* @param {string} domain Domain name
|
|
7048
7048
|
* @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.9.
|
|
4
|
+
* API Version: 2.9.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.9.
|
|
6
|
+
* API Version: 2.9.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.9.
|
|
4
|
+
* API Version: 2.9.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.9.
|
|
6
|
+
* API Version: 2.9.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.9.
|
|
4
|
+
* API Version: 2.9.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.9.
|
|
6
|
+
* API Version: 2.9.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.9.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.9.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.9.
|
|
4
|
+
* API Version: 2.9.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.9.
|
|
6
|
+
* API Version: 2.9.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.9.
|
|
4
|
+
* API Version: 2.9.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.9.
|
|
7
|
+
* API Version: 2.9.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
|
|
@@ -120,7 +120,7 @@ const { status, data } = await apiInstance.deleteDomainForwardingV1(
|
|
|
120
120
|
# **getDomainForwardingV1**
|
|
121
121
|
> DomainsV1ForwardingForwardingResource getDomainForwardingV1()
|
|
122
122
|
|
|
123
|
-
Retrieve domain forwarding data. Use this endpoint to view current redirect configuration for domains.
|
|
123
|
+
Retrieve domain forwarding data. Returns 404 when the domain has no forwarding. Use this endpoint to view current redirect configuration for domains.
|
|
124
124
|
|
|
125
125
|
### Example
|
|
126
126
|
|
package/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.9.
|
|
6
|
+
* API Version: 2.9.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
|