hostinger-api-sdk 0.0.11 → 0.0.12

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 CHANGED
@@ -1,9 +1,9 @@
1
- ## hostinger-api-sdk@0.0.11
1
+ ## hostinger-api-sdk@0.0.12
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-api-sdk@0.0.11 --save
8
+ npm install hostinger-api-sdk@0.0.12 --save
9
9
  ```
package/api.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 0.0.68
6
+ * API Version: 0.0.73
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
@@ -9333,7 +9333,7 @@ export const VPSVirtualMachineApiFp = function(configuration?: Configuration) {
9333
9333
  * @param {*} [options] Override http request option.
9334
9334
  * @throws {RequiredError}
9335
9335
  */
9336
- async purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingV1OrderOrderResource>> {
9336
+ async purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingV1OrderVirtualMachineOrderResource>> {
9337
9337
  const localVarAxiosArgs = await localVarAxiosParamCreator.purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest, options);
9338
9338
  const localVarOperationServerBasePath = operationServerMap['VPSVirtualMachineApi.purchaseNewVirtualMachineV1']?.[0]?.url;
9339
9339
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -9523,7 +9523,7 @@ export const VPSVirtualMachineApiFactory = function (configuration?: Configurati
9523
9523
  * @param {*} [options] Override http request option.
9524
9524
  * @throws {RequiredError}
9525
9525
  */
9526
- purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingV1OrderOrderResource> {
9526
+ purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingV1OrderVirtualMachineOrderResource> {
9527
9527
  return localVarFp.purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest, options).then((request) => request(axios, basePath));
9528
9528
  },
9529
9529
  /**
package/base.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 0.0.68
6
+ * API Version: 0.0.73
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: 0.0.68
6
+ * API Version: 0.0.73
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: 0.0.68
6
+ * API Version: 0.0.73
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/0.0.11",
51
+ 'User-Agent': "hostinger-typescript-sdk/0.0.12",
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: 0.0.68
4
+ * API Version: 0.0.73
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
@@ -5631,7 +5631,7 @@ export declare const VPSVirtualMachineApiFp: (configuration?: Configuration) =>
5631
5631
  * @param {*} [options] Override http request option.
5632
5632
  * @throws {RequiredError}
5633
5633
  */
5634
- purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingV1OrderOrderResource>>;
5634
+ purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingV1OrderVirtualMachineOrderResource>>;
5635
5635
  /**
5636
5636
  * This endpoint will recreate a virtual machine from scratch. The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted. ## Password Requirements Password will be checked against leaked password databases. Requirements for the password are: - At least 8 characters long - At least one uppercase letter - At least one lowercase letter - At least one number - Is not leaked publicly **This operation is irreversible and will result in the loss of all data stored on the virtual machine!**
5637
5637
  * @summary Recreate virtual machine
@@ -5765,7 +5765,7 @@ export declare const VPSVirtualMachineApiFactory: (configuration?: Configuration
5765
5765
  * @param {*} [options] Override http request option.
5766
5766
  * @throws {RequiredError}
5767
5767
  */
5768
- purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingV1OrderOrderResource>;
5768
+ purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingV1OrderVirtualMachineOrderResource>;
5769
5769
  /**
5770
5770
  * This endpoint will recreate a virtual machine from scratch. The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted. ## Password Requirements Password will be checked against leaked password databases. Requirements for the password are: - At least 8 characters long - At least one uppercase letter - At least one lowercase letter - At least one number - Is not leaked publicly **This operation is irreversible and will result in the loss of all data stored on the virtual machine!**
5771
5771
  * @summary Recreate virtual machine
@@ -5906,7 +5906,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
5906
5906
  * @throws {RequiredError}
5907
5907
  * @memberof VPSVirtualMachineApi
5908
5908
  */
5909
- purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1OrderOrderResource, any>>;
5909
+ purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1OrderVirtualMachineOrderResource, any>>;
5910
5910
  /**
5911
5911
  * This endpoint will recreate a virtual machine from scratch. The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted. ## Password Requirements Password will be checked against leaked password databases. Requirements for the password are: - At least 8 characters long - At least one uppercase letter - At least one lowercase letter - At least one number - Is not leaked publicly **This operation is irreversible and will result in the loss of all data stored on the virtual machine!**
5912
5912
  * @summary Recreate virtual machine
package/dist/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 0.0.68
7
+ * API Version: 0.0.73
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/base.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 0.0.68
4
+ * API Version: 0.0.73
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: 0.0.68
7
+ * API Version: 0.0.73
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: 0.0.68
4
+ * API Version: 0.0.73
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: 0.0.68
7
+ * API Version: 0.0.73
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
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 0.0.68
4
+ * API Version: 0.0.73
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
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 0.0.68
7
+ * API Version: 0.0.73
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/0.0.11" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
19
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/0.0.12" }, (_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: 0.0.68
4
+ * API Version: 0.0.73
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
@@ -5631,7 +5631,7 @@ export declare const VPSVirtualMachineApiFp: (configuration?: Configuration) =>
5631
5631
  * @param {*} [options] Override http request option.
5632
5632
  * @throws {RequiredError}
5633
5633
  */
5634
- purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingV1OrderOrderResource>>;
5634
+ purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingV1OrderVirtualMachineOrderResource>>;
5635
5635
  /**
5636
5636
  * This endpoint will recreate a virtual machine from scratch. The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted. ## Password Requirements Password will be checked against leaked password databases. Requirements for the password are: - At least 8 characters long - At least one uppercase letter - At least one lowercase letter - At least one number - Is not leaked publicly **This operation is irreversible and will result in the loss of all data stored on the virtual machine!**
5637
5637
  * @summary Recreate virtual machine
@@ -5765,7 +5765,7 @@ export declare const VPSVirtualMachineApiFactory: (configuration?: Configuration
5765
5765
  * @param {*} [options] Override http request option.
5766
5766
  * @throws {RequiredError}
5767
5767
  */
5768
- purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingV1OrderOrderResource>;
5768
+ purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingV1OrderVirtualMachineOrderResource>;
5769
5769
  /**
5770
5770
  * This endpoint will recreate a virtual machine from scratch. The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted. ## Password Requirements Password will be checked against leaked password databases. Requirements for the password are: - At least 8 characters long - At least one uppercase letter - At least one lowercase letter - At least one number - Is not leaked publicly **This operation is irreversible and will result in the loss of all data stored on the virtual machine!**
5771
5771
  * @summary Recreate virtual machine
@@ -5906,7 +5906,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
5906
5906
  * @throws {RequiredError}
5907
5907
  * @memberof VPSVirtualMachineApi
5908
5908
  */
5909
- purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1OrderOrderResource, any>>;
5909
+ purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1OrderVirtualMachineOrderResource, any>>;
5910
5910
  /**
5911
5911
  * This endpoint will recreate a virtual machine from scratch. The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted. ## Password Requirements Password will be checked against leaked password databases. Requirements for the password are: - At least 8 characters long - At least one uppercase letter - At least one lowercase letter - At least one number - Is not leaked publicly **This operation is irreversible and will result in the loss of all data stored on the virtual machine!**
5912
5912
  * @summary Recreate virtual machine
package/dist/esm/api.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 0.0.68
6
+ * API Version: 0.0.73
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: 0.0.68
4
+ * API Version: 0.0.73
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: 0.0.68
6
+ * API Version: 0.0.73
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: 0.0.68
4
+ * API Version: 0.0.73
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: 0.0.68
6
+ * API Version: 0.0.73
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: 0.0.68
4
+ * API Version: 0.0.73
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: 0.0.68
6
+ * API Version: 0.0.73
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/0.0.11" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
16
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/0.0.12" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
17
17
  this.formDataCtor = param.formDataCtor;
18
18
  }
19
19
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 0.0.68
4
+ * API Version: 0.0.73
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: 0.0.68
6
+ * API Version: 0.0.73
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: 0.0.68
4
+ * API Version: 0.0.73
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: 0.0.68
7
+ * API Version: 0.0.73
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/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 0.0.68
6
+ * API Version: 0.0.73
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-sdk",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "Hostinger API TypeScript SDK",
5
5
  "author": "Hostinger",
6
6
  "repository": {