hostinger-api-sdk 2.12.2 → 2.12.4
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/DomainsWHOISApi.md +1 -1
- package/docs/VPSSnapshotsApi.md +2 -1
- 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.4
|
|
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.4 --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.4
|
|
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
|
|
@@ -27680,7 +27680,7 @@ export const DomainsWHOISApiAxiosParamCreator = function (configuration?: Config
|
|
|
27680
27680
|
};
|
|
27681
27681
|
},
|
|
27682
27682
|
/**
|
|
27683
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
27683
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
27684
27684
|
* @summary Get pending IRTP verification
|
|
27685
27685
|
* @param {string} domain Domain name
|
|
27686
27686
|
* @param {*} [options] Override http request option.
|
|
@@ -27967,7 +27967,7 @@ export const DomainsWHOISApiFp = function(configuration?: Configuration) {
|
|
|
27967
27967
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27968
27968
|
},
|
|
27969
27969
|
/**
|
|
27970
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
27970
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
27971
27971
|
* @summary Get pending IRTP verification
|
|
27972
27972
|
* @param {string} domain Domain name
|
|
27973
27973
|
* @param {*} [options] Override http request option.
|
|
@@ -28089,7 +28089,7 @@ export const DomainsWHOISApiFactory = function (configuration?: Configuration, b
|
|
|
28089
28089
|
return localVarFp.deleteWHOISProfileV1(whoisId, options).then((request) => request(axios, basePath));
|
|
28090
28090
|
},
|
|
28091
28091
|
/**
|
|
28092
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
28092
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
28093
28093
|
* @summary Get pending IRTP verification
|
|
28094
28094
|
* @param {string} domain Domain name
|
|
28095
28095
|
* @param {*} [options] Override http request option.
|
|
@@ -28207,7 +28207,7 @@ export class DomainsWHOISApi extends BaseAPI {
|
|
|
28207
28207
|
}
|
|
28208
28208
|
|
|
28209
28209
|
/**
|
|
28210
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
28210
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
28211
28211
|
* @summary Get pending IRTP verification
|
|
28212
28212
|
* @param {string} domain Domain name
|
|
28213
28213
|
* @param {*} [options] Override http request option.
|
|
@@ -53760,7 +53760,7 @@ export const VPSSnapshotsApiAxiosParamCreator = function (configuration?: Config
|
|
|
53760
53760
|
};
|
|
53761
53761
|
},
|
|
53762
53762
|
/**
|
|
53763
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
53763
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
53764
53764
|
* @summary Get snapshot
|
|
53765
53765
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
53766
53766
|
* @param {*} [options] Override http request option.
|
|
@@ -53870,7 +53870,7 @@ export const VPSSnapshotsApiFp = function(configuration?: Configuration) {
|
|
|
53870
53870
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53871
53871
|
},
|
|
53872
53872
|
/**
|
|
53873
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
53873
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
53874
53874
|
* @summary Get snapshot
|
|
53875
53875
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
53876
53876
|
* @param {*} [options] Override http request option.
|
|
@@ -53924,7 +53924,7 @@ export const VPSSnapshotsApiFactory = function (configuration?: Configuration, b
|
|
|
53924
53924
|
return localVarFp.deleteSnapshotV1(virtualMachineId, options).then((request) => request(axios, basePath));
|
|
53925
53925
|
},
|
|
53926
53926
|
/**
|
|
53927
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
53927
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
53928
53928
|
* @summary Get snapshot
|
|
53929
53929
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
53930
53930
|
* @param {*} [options] Override http request option.
|
|
@@ -53978,7 +53978,7 @@ export class VPSSnapshotsApi extends BaseAPI {
|
|
|
53978
53978
|
}
|
|
53979
53979
|
|
|
53980
53980
|
/**
|
|
53981
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
53981
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
53982
53982
|
* @summary Get snapshot
|
|
53983
53983
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
53984
53984
|
* @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.12.
|
|
6
|
+
* API Version: 2.12.4
|
|
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.4
|
|
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.4
|
|
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.4",
|
|
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.4
|
|
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
|
|
@@ -22969,7 +22969,7 @@ export declare const DomainsWHOISApiAxiosParamCreator: (configuration?: Configur
|
|
|
22969
22969
|
*/
|
|
22970
22970
|
deleteWHOISProfileV1: (whoisId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22971
22971
|
/**
|
|
22972
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
22972
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
22973
22973
|
* @summary Get pending IRTP verification
|
|
22974
22974
|
* @param {string} domain Domain name
|
|
22975
22975
|
* @param {*} [options] Override http request option.
|
|
@@ -23055,7 +23055,7 @@ export declare const DomainsWHOISApiFp: (configuration?: Configuration) => {
|
|
|
23055
23055
|
*/
|
|
23056
23056
|
deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
23057
23057
|
/**
|
|
23058
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
23058
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
23059
23059
|
* @summary Get pending IRTP verification
|
|
23060
23060
|
* @param {string} domain Domain name
|
|
23061
23061
|
* @param {*} [options] Override http request option.
|
|
@@ -23141,7 +23141,7 @@ export declare const DomainsWHOISApiFactory: (configuration?: Configuration, bas
|
|
|
23141
23141
|
*/
|
|
23142
23142
|
deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
23143
23143
|
/**
|
|
23144
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
23144
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
23145
23145
|
* @summary Get pending IRTP verification
|
|
23146
23146
|
* @param {string} domain Domain name
|
|
23147
23147
|
* @param {*} [options] Override http request option.
|
|
@@ -23233,7 +23233,7 @@ export declare class DomainsWHOISApi extends BaseAPI {
|
|
|
23233
23233
|
*/
|
|
23234
23234
|
deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
23235
23235
|
/**
|
|
23236
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
23236
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
23237
23237
|
* @summary Get pending IRTP verification
|
|
23238
23238
|
* @param {string} domain Domain name
|
|
23239
23239
|
* @param {*} [options] Override http request option.
|
|
@@ -35752,7 +35752,7 @@ export declare const VPSSnapshotsApiAxiosParamCreator: (configuration?: Configur
|
|
|
35752
35752
|
*/
|
|
35753
35753
|
deleteSnapshotV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35754
35754
|
/**
|
|
35755
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
35755
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
35756
35756
|
* @summary Get snapshot
|
|
35757
35757
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
35758
35758
|
* @param {*} [options] Override http request option.
|
|
@@ -35790,7 +35790,7 @@ export declare const VPSSnapshotsApiFp: (configuration?: Configuration) => {
|
|
|
35790
35790
|
*/
|
|
35791
35791
|
deleteSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
|
|
35792
35792
|
/**
|
|
35793
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
35793
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
35794
35794
|
* @summary Get snapshot
|
|
35795
35795
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
35796
35796
|
* @param {*} [options] Override http request option.
|
|
@@ -35828,7 +35828,7 @@ export declare const VPSSnapshotsApiFactory: (configuration?: Configuration, bas
|
|
|
35828
35828
|
*/
|
|
35829
35829
|
deleteSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
|
|
35830
35830
|
/**
|
|
35831
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
35831
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
35832
35832
|
* @summary Get snapshot
|
|
35833
35833
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
35834
35834
|
* @param {*} [options] Override http request option.
|
|
@@ -35870,7 +35870,7 @@ export declare class VPSSnapshotsApi extends BaseAPI {
|
|
|
35870
35870
|
*/
|
|
35871
35871
|
deleteSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}, any>>;
|
|
35872
35872
|
/**
|
|
35873
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
35873
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
35874
35874
|
* @summary Get snapshot
|
|
35875
35875
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
35876
35876
|
* @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.12.
|
|
7
|
+
* API Version: 2.12.4
|
|
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
|
|
@@ -9079,7 +9079,7 @@ const DomainsWHOISApiAxiosParamCreator = function (configuration) {
|
|
|
9079
9079
|
};
|
|
9080
9080
|
}),
|
|
9081
9081
|
/**
|
|
9082
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9082
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9083
9083
|
* @summary Get pending IRTP verification
|
|
9084
9084
|
* @param {string} domain Domain name
|
|
9085
9085
|
* @param {*} [options] Override http request option.
|
|
@@ -9341,7 +9341,7 @@ const DomainsWHOISApiFp = function (configuration) {
|
|
|
9341
9341
|
});
|
|
9342
9342
|
},
|
|
9343
9343
|
/**
|
|
9344
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9344
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9345
9345
|
* @summary Get pending IRTP verification
|
|
9346
9346
|
* @param {string} domain Domain name
|
|
9347
9347
|
* @param {*} [options] Override http request option.
|
|
@@ -9481,7 +9481,7 @@ const DomainsWHOISApiFactory = function (configuration, basePath, axios) {
|
|
|
9481
9481
|
return localVarFp.deleteWHOISProfileV1(whoisId, options).then((request) => request(axios, basePath));
|
|
9482
9482
|
},
|
|
9483
9483
|
/**
|
|
9484
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9484
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9485
9485
|
* @summary Get pending IRTP verification
|
|
9486
9486
|
* @param {string} domain Domain name
|
|
9487
9487
|
* @param {*} [options] Override http request option.
|
|
@@ -9595,7 +9595,7 @@ class DomainsWHOISApi extends base_1.BaseAPI {
|
|
|
9595
9595
|
return (0, exports.DomainsWHOISApiFp)(this.configuration).deleteWHOISProfileV1(whoisId, options).then((request) => request(this.axios, this.basePath));
|
|
9596
9596
|
}
|
|
9597
9597
|
/**
|
|
9598
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9598
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9599
9599
|
* @summary Get pending IRTP verification
|
|
9600
9600
|
* @param {string} domain Domain name
|
|
9601
9601
|
* @param {*} [options] Override http request option.
|
|
@@ -33672,7 +33672,7 @@ const VPSSnapshotsApiAxiosParamCreator = function (configuration) {
|
|
|
33672
33672
|
};
|
|
33673
33673
|
}),
|
|
33674
33674
|
/**
|
|
33675
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
33675
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
33676
33676
|
* @summary Get snapshot
|
|
33677
33677
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
33678
33678
|
* @param {*} [options] Override http request option.
|
|
@@ -33776,7 +33776,7 @@ const VPSSnapshotsApiFp = function (configuration) {
|
|
|
33776
33776
|
});
|
|
33777
33777
|
},
|
|
33778
33778
|
/**
|
|
33779
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
33779
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
33780
33780
|
* @summary Get snapshot
|
|
33781
33781
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
33782
33782
|
* @param {*} [options] Override http request option.
|
|
@@ -33836,7 +33836,7 @@ const VPSSnapshotsApiFactory = function (configuration, basePath, axios) {
|
|
|
33836
33836
|
return localVarFp.deleteSnapshotV1(virtualMachineId, options).then((request) => request(axios, basePath));
|
|
33837
33837
|
},
|
|
33838
33838
|
/**
|
|
33839
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
33839
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
33840
33840
|
* @summary Get snapshot
|
|
33841
33841
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
33842
33842
|
* @param {*} [options] Override http request option.
|
|
@@ -33888,7 +33888,7 @@ class VPSSnapshotsApi extends base_1.BaseAPI {
|
|
|
33888
33888
|
return (0, exports.VPSSnapshotsApiFp)(this.configuration).deleteSnapshotV1(virtualMachineId, options).then((request) => request(this.axios, this.basePath));
|
|
33889
33889
|
}
|
|
33890
33890
|
/**
|
|
33891
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
33891
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
33892
33892
|
* @summary Get snapshot
|
|
33893
33893
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
33894
33894
|
* @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.12.
|
|
4
|
+
* API Version: 2.12.4
|
|
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.4
|
|
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.4
|
|
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.4
|
|
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.4
|
|
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.4
|
|
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.4" }, (_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.4
|
|
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
|
|
@@ -22969,7 +22969,7 @@ export declare const DomainsWHOISApiAxiosParamCreator: (configuration?: Configur
|
|
|
22969
22969
|
*/
|
|
22970
22970
|
deleteWHOISProfileV1: (whoisId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22971
22971
|
/**
|
|
22972
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
22972
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
22973
22973
|
* @summary Get pending IRTP verification
|
|
22974
22974
|
* @param {string} domain Domain name
|
|
22975
22975
|
* @param {*} [options] Override http request option.
|
|
@@ -23055,7 +23055,7 @@ export declare const DomainsWHOISApiFp: (configuration?: Configuration) => {
|
|
|
23055
23055
|
*/
|
|
23056
23056
|
deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
23057
23057
|
/**
|
|
23058
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
23058
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
23059
23059
|
* @summary Get pending IRTP verification
|
|
23060
23060
|
* @param {string} domain Domain name
|
|
23061
23061
|
* @param {*} [options] Override http request option.
|
|
@@ -23141,7 +23141,7 @@ export declare const DomainsWHOISApiFactory: (configuration?: Configuration, bas
|
|
|
23141
23141
|
*/
|
|
23142
23142
|
deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
23143
23143
|
/**
|
|
23144
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
23144
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
23145
23145
|
* @summary Get pending IRTP verification
|
|
23146
23146
|
* @param {string} domain Domain name
|
|
23147
23147
|
* @param {*} [options] Override http request option.
|
|
@@ -23233,7 +23233,7 @@ export declare class DomainsWHOISApi extends BaseAPI {
|
|
|
23233
23233
|
*/
|
|
23234
23234
|
deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
23235
23235
|
/**
|
|
23236
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
23236
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
23237
23237
|
* @summary Get pending IRTP verification
|
|
23238
23238
|
* @param {string} domain Domain name
|
|
23239
23239
|
* @param {*} [options] Override http request option.
|
|
@@ -35752,7 +35752,7 @@ export declare const VPSSnapshotsApiAxiosParamCreator: (configuration?: Configur
|
|
|
35752
35752
|
*/
|
|
35753
35753
|
deleteSnapshotV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35754
35754
|
/**
|
|
35755
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
35755
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
35756
35756
|
* @summary Get snapshot
|
|
35757
35757
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
35758
35758
|
* @param {*} [options] Override http request option.
|
|
@@ -35790,7 +35790,7 @@ export declare const VPSSnapshotsApiFp: (configuration?: Configuration) => {
|
|
|
35790
35790
|
*/
|
|
35791
35791
|
deleteSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
|
|
35792
35792
|
/**
|
|
35793
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
35793
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
35794
35794
|
* @summary Get snapshot
|
|
35795
35795
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
35796
35796
|
* @param {*} [options] Override http request option.
|
|
@@ -35828,7 +35828,7 @@ export declare const VPSSnapshotsApiFactory: (configuration?: Configuration, bas
|
|
|
35828
35828
|
*/
|
|
35829
35829
|
deleteSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
|
|
35830
35830
|
/**
|
|
35831
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
35831
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
35832
35832
|
* @summary Get snapshot
|
|
35833
35833
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
35834
35834
|
* @param {*} [options] Override http request option.
|
|
@@ -35870,7 +35870,7 @@ export declare class VPSSnapshotsApi extends BaseAPI {
|
|
|
35870
35870
|
*/
|
|
35871
35871
|
deleteSnapshotV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}, any>>;
|
|
35872
35872
|
/**
|
|
35873
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
35873
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
35874
35874
|
* @summary Get snapshot
|
|
35875
35875
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
35876
35876
|
* @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.12.
|
|
6
|
+
* API Version: 2.12.4
|
|
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
|
|
@@ -8956,7 +8956,7 @@ export const DomainsWHOISApiAxiosParamCreator = function (configuration) {
|
|
|
8956
8956
|
};
|
|
8957
8957
|
}),
|
|
8958
8958
|
/**
|
|
8959
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
8959
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
8960
8960
|
* @summary Get pending IRTP verification
|
|
8961
8961
|
* @param {string} domain Domain name
|
|
8962
8962
|
* @param {*} [options] Override http request option.
|
|
@@ -9217,7 +9217,7 @@ export const DomainsWHOISApiFp = function (configuration) {
|
|
|
9217
9217
|
});
|
|
9218
9218
|
},
|
|
9219
9219
|
/**
|
|
9220
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9220
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9221
9221
|
* @summary Get pending IRTP verification
|
|
9222
9222
|
* @param {string} domain Domain name
|
|
9223
9223
|
* @param {*} [options] Override http request option.
|
|
@@ -9356,7 +9356,7 @@ export const DomainsWHOISApiFactory = function (configuration, basePath, axios)
|
|
|
9356
9356
|
return localVarFp.deleteWHOISProfileV1(whoisId, options).then((request) => request(axios, basePath));
|
|
9357
9357
|
},
|
|
9358
9358
|
/**
|
|
9359
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9359
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9360
9360
|
* @summary Get pending IRTP verification
|
|
9361
9361
|
* @param {string} domain Domain name
|
|
9362
9362
|
* @param {*} [options] Override http request option.
|
|
@@ -9469,7 +9469,7 @@ export class DomainsWHOISApi extends BaseAPI {
|
|
|
9469
9469
|
return DomainsWHOISApiFp(this.configuration).deleteWHOISProfileV1(whoisId, options).then((request) => request(this.axios, this.basePath));
|
|
9470
9470
|
}
|
|
9471
9471
|
/**
|
|
9472
|
-
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9472
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
9473
9473
|
* @summary Get pending IRTP verification
|
|
9474
9474
|
* @param {string} domain Domain name
|
|
9475
9475
|
* @param {*} [options] Override http request option.
|
|
@@ -33317,7 +33317,7 @@ export const VPSSnapshotsApiAxiosParamCreator = function (configuration) {
|
|
|
33317
33317
|
};
|
|
33318
33318
|
}),
|
|
33319
33319
|
/**
|
|
33320
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
33320
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
33321
33321
|
* @summary Get snapshot
|
|
33322
33322
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
33323
33323
|
* @param {*} [options] Override http request option.
|
|
@@ -33420,7 +33420,7 @@ export const VPSSnapshotsApiFp = function (configuration) {
|
|
|
33420
33420
|
});
|
|
33421
33421
|
},
|
|
33422
33422
|
/**
|
|
33423
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
33423
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
33424
33424
|
* @summary Get snapshot
|
|
33425
33425
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
33426
33426
|
* @param {*} [options] Override http request option.
|
|
@@ -33479,7 +33479,7 @@ export const VPSSnapshotsApiFactory = function (configuration, basePath, axios)
|
|
|
33479
33479
|
return localVarFp.deleteSnapshotV1(virtualMachineId, options).then((request) => request(axios, basePath));
|
|
33480
33480
|
},
|
|
33481
33481
|
/**
|
|
33482
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
33482
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
33483
33483
|
* @summary Get snapshot
|
|
33484
33484
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
33485
33485
|
* @param {*} [options] Override http request option.
|
|
@@ -33530,7 +33530,7 @@ export class VPSSnapshotsApi extends BaseAPI {
|
|
|
33530
33530
|
return VPSSnapshotsApiFp(this.configuration).deleteSnapshotV1(virtualMachineId, options).then((request) => request(this.axios, this.basePath));
|
|
33531
33531
|
}
|
|
33532
33532
|
/**
|
|
33533
|
-
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
33533
|
+
* Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
33534
33534
|
* @summary Get snapshot
|
|
33535
33535
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
33536
33536
|
* @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.12.
|
|
4
|
+
* API Version: 2.12.4
|
|
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.4
|
|
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.4
|
|
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.4
|
|
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.4
|
|
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.4
|
|
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.4" }, (_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.4
|
|
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.4
|
|
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.4
|
|
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.4
|
|
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/docs/DomainsWHOISApi.md
CHANGED
|
@@ -234,7 +234,7 @@ const { status, data } = await apiInstance.deleteWHOISProfileV1(
|
|
|
234
234
|
# **getPendingIRTPVerificationV1**
|
|
235
235
|
> DomainsV1IRTPVerificationResource getPendingIRTPVerificationV1()
|
|
236
236
|
|
|
237
|
-
Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
237
|
+
Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Returns 404 when the domain has no pending IRTP verification. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
238
238
|
|
|
239
239
|
### Example
|
|
240
240
|
|
package/docs/VPSSnapshotsApi.md
CHANGED
|
@@ -118,7 +118,7 @@ const { status, data } = await apiInstance.deleteSnapshotV1(
|
|
|
118
118
|
# **getSnapshotV1**
|
|
119
119
|
> VPSV1SnapshotSnapshotResource getSnapshotV1()
|
|
120
120
|
|
|
121
|
-
Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information.
|
|
121
|
+
Retrieve snapshot for a specified virtual machine. Use this endpoint to view current VPS snapshot information. Returns 404 when the virtual machine has no snapshot.
|
|
122
122
|
|
|
123
123
|
### Example
|
|
124
124
|
|
|
@@ -164,6 +164,7 @@ const { status, data } = await apiInstance.getSnapshotV1(
|
|
|
164
164
|
|-------------|-------------|------------------|
|
|
165
165
|
|**200** | Success response | - |
|
|
166
166
|
|**401** | Unauthenticated response | - |
|
|
167
|
+
|**404** | Error response | - |
|
|
167
168
|
|**500** | Error response | - |
|
|
168
169
|
|
|
169
170
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
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.4
|
|
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
|