hostinger-api-sdk 2.12.0 → 2.12.2
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 +9 -9
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +9 -9
- package/dist/api.js +9 -9
- 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 +9 -9
- package/dist/esm/api.js +9 -9
- 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 +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## @hostinger/sdk@2.12.
|
|
1
|
+
## @hostinger/sdk@2.12.2
|
|
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.12.
|
|
8
|
+
npm install @hostinger/sdk@2.12.2 --save
|
|
9
9
|
```
|
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.12.
|
|
6
|
+
* API Version: 2.12.2
|
|
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
|
|
@@ -25317,7 +25317,7 @@ export class DomainsAvailabilityApi extends BaseAPI {
|
|
|
25317
25317
|
export const DomainsForwardingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
25318
25318
|
return {
|
|
25319
25319
|
/**
|
|
25320
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
25320
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
25321
25321
|
* @summary Create domain forwarding
|
|
25322
25322
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
25323
25323
|
* @param {*} [options] Override http request option.
|
|
@@ -25433,7 +25433,7 @@ export const DomainsForwardingApiAxiosParamCreator = function (configuration?: C
|
|
|
25433
25433
|
};
|
|
25434
25434
|
},
|
|
25435
25435
|
/**
|
|
25436
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
25436
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
25437
25437
|
* @summary Update domain forwarding
|
|
25438
25438
|
* @param {string} domain Domain name
|
|
25439
25439
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -25487,7 +25487,7 @@ export const DomainsForwardingApiFp = function(configuration?: Configuration) {
|
|
|
25487
25487
|
const localVarAxiosParamCreator = DomainsForwardingApiAxiosParamCreator(configuration)
|
|
25488
25488
|
return {
|
|
25489
25489
|
/**
|
|
25490
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
25490
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
25491
25491
|
* @summary Create domain forwarding
|
|
25492
25492
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
25493
25493
|
* @param {*} [options] Override http request option.
|
|
@@ -25523,7 +25523,7 @@ export const DomainsForwardingApiFp = function(configuration?: Configuration) {
|
|
|
25523
25523
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25524
25524
|
},
|
|
25525
25525
|
/**
|
|
25526
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
25526
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
25527
25527
|
* @summary Update domain forwarding
|
|
25528
25528
|
* @param {string} domain Domain name
|
|
25529
25529
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -25546,7 +25546,7 @@ export const DomainsForwardingApiFactory = function (configuration?: Configurati
|
|
|
25546
25546
|
const localVarFp = DomainsForwardingApiFp(configuration)
|
|
25547
25547
|
return {
|
|
25548
25548
|
/**
|
|
25549
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
25549
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
25550
25550
|
* @summary Create domain forwarding
|
|
25551
25551
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
25552
25552
|
* @param {*} [options] Override http request option.
|
|
@@ -25576,7 +25576,7 @@ export const DomainsForwardingApiFactory = function (configuration?: Configurati
|
|
|
25576
25576
|
return localVarFp.getDomainForwardingV1(domain, options).then((request) => request(axios, basePath));
|
|
25577
25577
|
},
|
|
25578
25578
|
/**
|
|
25579
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
25579
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
25580
25580
|
* @summary Update domain forwarding
|
|
25581
25581
|
* @param {string} domain Domain name
|
|
25582
25582
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -25597,7 +25597,7 @@ export const DomainsForwardingApiFactory = function (configuration?: Configurati
|
|
|
25597
25597
|
*/
|
|
25598
25598
|
export class DomainsForwardingApi extends BaseAPI {
|
|
25599
25599
|
/**
|
|
25600
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
25600
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
25601
25601
|
* @summary Create domain forwarding
|
|
25602
25602
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
25603
25603
|
* @param {*} [options] Override http request option.
|
|
@@ -25633,7 +25633,7 @@ export class DomainsForwardingApi extends BaseAPI {
|
|
|
25633
25633
|
}
|
|
25634
25634
|
|
|
25635
25635
|
/**
|
|
25636
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
25636
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
25637
25637
|
* @summary Update domain forwarding
|
|
25638
25638
|
* @param {string} domain Domain name
|
|
25639
25639
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.12.
|
|
6
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
6
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
6
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/2.12.2",
|
|
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.12.
|
|
4
|
+
* API Version: 2.12.2
|
|
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
|
|
@@ -21901,7 +21901,7 @@ export declare class DomainsAvailabilityApi extends BaseAPI {
|
|
|
21901
21901
|
*/
|
|
21902
21902
|
export declare const DomainsForwardingApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21903
21903
|
/**
|
|
21904
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
21904
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
21905
21905
|
* @summary Create domain forwarding
|
|
21906
21906
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
21907
21907
|
* @param {*} [options] Override http request option.
|
|
@@ -21925,7 +21925,7 @@ export declare const DomainsForwardingApiAxiosParamCreator: (configuration?: Con
|
|
|
21925
21925
|
*/
|
|
21926
21926
|
getDomainForwardingV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21927
21927
|
/**
|
|
21928
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
21928
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
21929
21929
|
* @summary Update domain forwarding
|
|
21930
21930
|
* @param {string} domain Domain name
|
|
21931
21931
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -21940,7 +21940,7 @@ export declare const DomainsForwardingApiAxiosParamCreator: (configuration?: Con
|
|
|
21940
21940
|
*/
|
|
21941
21941
|
export declare const DomainsForwardingApiFp: (configuration?: Configuration) => {
|
|
21942
21942
|
/**
|
|
21943
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
21943
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
21944
21944
|
* @summary Create domain forwarding
|
|
21945
21945
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
21946
21946
|
* @param {*} [options] Override http request option.
|
|
@@ -21964,7 +21964,7 @@ export declare const DomainsForwardingApiFp: (configuration?: Configuration) =>
|
|
|
21964
21964
|
*/
|
|
21965
21965
|
getDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1ForwardingForwardingResource>>;
|
|
21966
21966
|
/**
|
|
21967
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
21967
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
21968
21968
|
* @summary Update domain forwarding
|
|
21969
21969
|
* @param {string} domain Domain name
|
|
21970
21970
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -21979,7 +21979,7 @@ export declare const DomainsForwardingApiFp: (configuration?: Configuration) =>
|
|
|
21979
21979
|
*/
|
|
21980
21980
|
export declare const DomainsForwardingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
21981
21981
|
/**
|
|
21982
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
21982
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
21983
21983
|
* @summary Create domain forwarding
|
|
21984
21984
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
21985
21985
|
* @param {*} [options] Override http request option.
|
|
@@ -22003,7 +22003,7 @@ export declare const DomainsForwardingApiFactory: (configuration?: Configuration
|
|
|
22003
22003
|
*/
|
|
22004
22004
|
getDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1ForwardingForwardingResource>;
|
|
22005
22005
|
/**
|
|
22006
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
22006
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
22007
22007
|
* @summary Update domain forwarding
|
|
22008
22008
|
* @param {string} domain Domain name
|
|
22009
22009
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -22020,7 +22020,7 @@ export declare const DomainsForwardingApiFactory: (configuration?: Configuration
|
|
|
22020
22020
|
*/
|
|
22021
22021
|
export declare class DomainsForwardingApi extends BaseAPI {
|
|
22022
22022
|
/**
|
|
22023
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
22023
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
22024
22024
|
* @summary Create domain forwarding
|
|
22025
22025
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
22026
22026
|
* @param {*} [options] Override http request option.
|
|
@@ -22047,7 +22047,7 @@ export declare class DomainsForwardingApi extends BaseAPI {
|
|
|
22047
22047
|
*/
|
|
22048
22048
|
getDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1ForwardingForwardingResource, any, {}, any>>;
|
|
22049
22049
|
/**
|
|
22050
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
22050
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
22051
22051
|
* @summary Update domain forwarding
|
|
22052
22052
|
* @param {string} domain Domain name
|
|
22053
22053
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.12.
|
|
7
|
+
* API Version: 2.12.2
|
|
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
|
|
@@ -6869,7 +6869,7 @@ exports.DomainsAvailabilityApi = DomainsAvailabilityApi;
|
|
|
6869
6869
|
const DomainsForwardingApiAxiosParamCreator = function (configuration) {
|
|
6870
6870
|
return {
|
|
6871
6871
|
/**
|
|
6872
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
6872
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
6873
6873
|
* @summary Create domain forwarding
|
|
6874
6874
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
6875
6875
|
* @param {*} [options] Override http request option.
|
|
@@ -6966,7 +6966,7 @@ const DomainsForwardingApiAxiosParamCreator = function (configuration) {
|
|
|
6966
6966
|
};
|
|
6967
6967
|
}),
|
|
6968
6968
|
/**
|
|
6969
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
6969
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
6970
6970
|
* @summary Update domain forwarding
|
|
6971
6971
|
* @param {string} domain Domain name
|
|
6972
6972
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -7013,7 +7013,7 @@ const DomainsForwardingApiFp = function (configuration) {
|
|
|
7013
7013
|
const localVarAxiosParamCreator = (0, exports.DomainsForwardingApiAxiosParamCreator)(configuration);
|
|
7014
7014
|
return {
|
|
7015
7015
|
/**
|
|
7016
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
7016
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
7017
7017
|
* @summary Create domain forwarding
|
|
7018
7018
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
7019
7019
|
* @param {*} [options] Override http request option.
|
|
@@ -7058,7 +7058,7 @@ const DomainsForwardingApiFp = function (configuration) {
|
|
|
7058
7058
|
});
|
|
7059
7059
|
},
|
|
7060
7060
|
/**
|
|
7061
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
7061
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
7062
7062
|
* @summary Update domain forwarding
|
|
7063
7063
|
* @param {string} domain Domain name
|
|
7064
7064
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -7084,7 +7084,7 @@ const DomainsForwardingApiFactory = function (configuration, basePath, axios) {
|
|
|
7084
7084
|
const localVarFp = (0, exports.DomainsForwardingApiFp)(configuration);
|
|
7085
7085
|
return {
|
|
7086
7086
|
/**
|
|
7087
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
7087
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
7088
7088
|
* @summary Create domain forwarding
|
|
7089
7089
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
7090
7090
|
* @param {*} [options] Override http request option.
|
|
@@ -7114,7 +7114,7 @@ const DomainsForwardingApiFactory = function (configuration, basePath, axios) {
|
|
|
7114
7114
|
return localVarFp.getDomainForwardingV1(domain, options).then((request) => request(axios, basePath));
|
|
7115
7115
|
},
|
|
7116
7116
|
/**
|
|
7117
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
7117
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
7118
7118
|
* @summary Update domain forwarding
|
|
7119
7119
|
* @param {string} domain Domain name
|
|
7120
7120
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -7135,7 +7135,7 @@ exports.DomainsForwardingApiFactory = DomainsForwardingApiFactory;
|
|
|
7135
7135
|
*/
|
|
7136
7136
|
class DomainsForwardingApi extends base_1.BaseAPI {
|
|
7137
7137
|
/**
|
|
7138
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
7138
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
7139
7139
|
* @summary Create domain forwarding
|
|
7140
7140
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
7141
7141
|
* @param {*} [options] Override http request option.
|
|
@@ -7168,7 +7168,7 @@ class DomainsForwardingApi extends base_1.BaseAPI {
|
|
|
7168
7168
|
return (0, exports.DomainsForwardingApiFp)(this.configuration).getDomainForwardingV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
7169
7169
|
}
|
|
7170
7170
|
/**
|
|
7171
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
7171
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
7172
7172
|
* @summary Update domain forwarding
|
|
7173
7173
|
* @param {string} domain Domain name
|
|
7174
7174
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.12.
|
|
4
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
7
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
4
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
7
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
4
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
7
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.12.2" }, (_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.12.
|
|
4
|
+
* API Version: 2.12.2
|
|
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
|
|
@@ -21901,7 +21901,7 @@ export declare class DomainsAvailabilityApi extends BaseAPI {
|
|
|
21901
21901
|
*/
|
|
21902
21902
|
export declare const DomainsForwardingApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21903
21903
|
/**
|
|
21904
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
21904
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
21905
21905
|
* @summary Create domain forwarding
|
|
21906
21906
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
21907
21907
|
* @param {*} [options] Override http request option.
|
|
@@ -21925,7 +21925,7 @@ export declare const DomainsForwardingApiAxiosParamCreator: (configuration?: Con
|
|
|
21925
21925
|
*/
|
|
21926
21926
|
getDomainForwardingV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21927
21927
|
/**
|
|
21928
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
21928
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
21929
21929
|
* @summary Update domain forwarding
|
|
21930
21930
|
* @param {string} domain Domain name
|
|
21931
21931
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -21940,7 +21940,7 @@ export declare const DomainsForwardingApiAxiosParamCreator: (configuration?: Con
|
|
|
21940
21940
|
*/
|
|
21941
21941
|
export declare const DomainsForwardingApiFp: (configuration?: Configuration) => {
|
|
21942
21942
|
/**
|
|
21943
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
21943
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
21944
21944
|
* @summary Create domain forwarding
|
|
21945
21945
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
21946
21946
|
* @param {*} [options] Override http request option.
|
|
@@ -21964,7 +21964,7 @@ export declare const DomainsForwardingApiFp: (configuration?: Configuration) =>
|
|
|
21964
21964
|
*/
|
|
21965
21965
|
getDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1ForwardingForwardingResource>>;
|
|
21966
21966
|
/**
|
|
21967
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
21967
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
21968
21968
|
* @summary Update domain forwarding
|
|
21969
21969
|
* @param {string} domain Domain name
|
|
21970
21970
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -21979,7 +21979,7 @@ export declare const DomainsForwardingApiFp: (configuration?: Configuration) =>
|
|
|
21979
21979
|
*/
|
|
21980
21980
|
export declare const DomainsForwardingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
21981
21981
|
/**
|
|
21982
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
21982
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
21983
21983
|
* @summary Create domain forwarding
|
|
21984
21984
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
21985
21985
|
* @param {*} [options] Override http request option.
|
|
@@ -22003,7 +22003,7 @@ export declare const DomainsForwardingApiFactory: (configuration?: Configuration
|
|
|
22003
22003
|
*/
|
|
22004
22004
|
getDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1ForwardingForwardingResource>;
|
|
22005
22005
|
/**
|
|
22006
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
22006
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
22007
22007
|
* @summary Update domain forwarding
|
|
22008
22008
|
* @param {string} domain Domain name
|
|
22009
22009
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -22020,7 +22020,7 @@ export declare const DomainsForwardingApiFactory: (configuration?: Configuration
|
|
|
22020
22020
|
*/
|
|
22021
22021
|
export declare class DomainsForwardingApi extends BaseAPI {
|
|
22022
22022
|
/**
|
|
22023
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
22023
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
22024
22024
|
* @summary Create domain forwarding
|
|
22025
22025
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
22026
22026
|
* @param {*} [options] Override http request option.
|
|
@@ -22047,7 +22047,7 @@ export declare class DomainsForwardingApi extends BaseAPI {
|
|
|
22047
22047
|
*/
|
|
22048
22048
|
getDomainForwardingV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1ForwardingForwardingResource, any, {}, any>>;
|
|
22049
22049
|
/**
|
|
22050
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
22050
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
22051
22051
|
* @summary Update domain forwarding
|
|
22052
22052
|
* @param {string} domain Domain name
|
|
22053
22053
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
package/dist/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.12.
|
|
6
|
+
* API Version: 2.12.2
|
|
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
|
|
@@ -6762,7 +6762,7 @@ export class DomainsAvailabilityApi extends BaseAPI {
|
|
|
6762
6762
|
export const DomainsForwardingApiAxiosParamCreator = function (configuration) {
|
|
6763
6763
|
return {
|
|
6764
6764
|
/**
|
|
6765
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
6765
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
6766
6766
|
* @summary Create domain forwarding
|
|
6767
6767
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
6768
6768
|
* @param {*} [options] Override http request option.
|
|
@@ -6859,7 +6859,7 @@ export const DomainsForwardingApiAxiosParamCreator = function (configuration) {
|
|
|
6859
6859
|
};
|
|
6860
6860
|
}),
|
|
6861
6861
|
/**
|
|
6862
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
6862
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
6863
6863
|
* @summary Update domain forwarding
|
|
6864
6864
|
* @param {string} domain Domain name
|
|
6865
6865
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -6905,7 +6905,7 @@ export const DomainsForwardingApiFp = function (configuration) {
|
|
|
6905
6905
|
const localVarAxiosParamCreator = DomainsForwardingApiAxiosParamCreator(configuration);
|
|
6906
6906
|
return {
|
|
6907
6907
|
/**
|
|
6908
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
6908
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
6909
6909
|
* @summary Create domain forwarding
|
|
6910
6910
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
6911
6911
|
* @param {*} [options] Override http request option.
|
|
@@ -6950,7 +6950,7 @@ export const DomainsForwardingApiFp = function (configuration) {
|
|
|
6950
6950
|
});
|
|
6951
6951
|
},
|
|
6952
6952
|
/**
|
|
6953
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
6953
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
6954
6954
|
* @summary Update domain forwarding
|
|
6955
6955
|
* @param {string} domain Domain name
|
|
6956
6956
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -6975,7 +6975,7 @@ export const DomainsForwardingApiFactory = function (configuration, basePath, ax
|
|
|
6975
6975
|
const localVarFp = DomainsForwardingApiFp(configuration);
|
|
6976
6976
|
return {
|
|
6977
6977
|
/**
|
|
6978
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
6978
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
6979
6979
|
* @summary Create domain forwarding
|
|
6980
6980
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
6981
6981
|
* @param {*} [options] Override http request option.
|
|
@@ -7005,7 +7005,7 @@ export const DomainsForwardingApiFactory = function (configuration, basePath, ax
|
|
|
7005
7005
|
return localVarFp.getDomainForwardingV1(domain, options).then((request) => request(axios, basePath));
|
|
7006
7006
|
},
|
|
7007
7007
|
/**
|
|
7008
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
7008
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
7009
7009
|
* @summary Update domain forwarding
|
|
7010
7010
|
* @param {string} domain Domain name
|
|
7011
7011
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
|
@@ -7025,7 +7025,7 @@ export const DomainsForwardingApiFactory = function (configuration, basePath, ax
|
|
|
7025
7025
|
*/
|
|
7026
7026
|
export class DomainsForwardingApi extends BaseAPI {
|
|
7027
7027
|
/**
|
|
7028
|
-
* Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
7028
|
+
* Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
7029
7029
|
* @summary Create domain forwarding
|
|
7030
7030
|
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
7031
7031
|
* @param {*} [options] Override http request option.
|
|
@@ -7058,7 +7058,7 @@ export class DomainsForwardingApi extends BaseAPI {
|
|
|
7058
7058
|
return DomainsForwardingApiFp(this.configuration).getDomainForwardingV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
7059
7059
|
}
|
|
7060
7060
|
/**
|
|
7061
|
-
* Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
7061
|
+
* Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
7062
7062
|
* @summary Update domain forwarding
|
|
7063
7063
|
* @param {string} domain Domain name
|
|
7064
7064
|
* @param {DomainsV1ForwardingUpdateRequest} domainsV1ForwardingUpdateRequest
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.12.
|
|
4
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
6
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
4
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
6
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
4
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
6
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.12.2" }, (_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.12.
|
|
4
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
6
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
4
|
+
* API Version: 2.12.2
|
|
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.12.
|
|
7
|
+
* API Version: 2.12.2
|
|
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
|
|
@@ -12,7 +12,7 @@ All URIs are relative to *https://developers.hostinger.com*
|
|
|
12
12
|
# **createDomainForwardingV1**
|
|
13
13
|
> DomainsV1ForwardingForwardingResource createDomainForwardingV1(domainsV1ForwardingStoreRequest)
|
|
14
14
|
|
|
15
|
-
Create domain forwarding configuration. Use this endpoint to set up domain redirects to other URLs.
|
|
15
|
+
Create domain forwarding configuration. Creating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before creating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to set up domain redirects to other URLs.
|
|
16
16
|
|
|
17
17
|
### Example
|
|
18
18
|
|
|
@@ -173,7 +173,7 @@ const { status, data } = await apiInstance.getDomainForwardingV1(
|
|
|
173
173
|
# **updateDomainForwardingV1**
|
|
174
174
|
> DomainsV1ForwardingForwardingResource updateDomainForwardingV1(domainsV1ForwardingUpdateRequest)
|
|
175
175
|
|
|
176
|
-
Update domain forwarding configuration. Use this endpoint to modify existing redirect configuration for domains.
|
|
176
|
+
Update domain forwarding configuration. Updating a forwarding changes the domain\'s DNS. If the domain does not use Hostinger nameservers, they are switched to Hostinger\'s nameservers automatically, so website, email and other services whose DNS is hosted elsewhere stop working. The root (@) A and AAAA records in the domain\'s Hostinger DNS zone are also replaced with records pointing to Hostinger, even when the domain already uses Hostinger nameservers. The domain\'s current nameservers are returned by the [domain details endpoint](#tag/domains-portfolio); confirm with the user before updating a forwarding on a domain that uses other nameservers. DNS changes can take some time to propagate. Use this endpoint to modify existing redirect configuration for domains.
|
|
177
177
|
|
|
178
178
|
### Example
|
|
179
179
|
|
package/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.12.
|
|
6
|
+
* API Version: 2.12.2
|
|
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
|