hostinger-api-sdk 0.0.3 → 0.0.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/CODEOWNERS ADDED
@@ -0,0 +1 @@
1
+ * @hostinger/vps-team-dev
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
- ## hostinger-api-sdk@0.0.3
1
+ ## hostinger-api-sdk@0.0.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-api-sdk@0.0.3 --save
8
+ npm install hostinger-api-sdk@0.0.4 --save
9
9
  ```
package/api.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 0.0.16
6
+ * API Version: 0.0.17
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
@@ -1966,9 +1966,21 @@ export interface VPSV1VirtualMachineVirtualMachineResource {
1966
1966
 
1967
1967
  export const VPSV1VirtualMachineVirtualMachineResourceStateEnum = {
1968
1968
  Running: 'running',
1969
+ Starting: 'starting',
1970
+ Stopping: 'stopping',
1969
1971
  Stopped: 'stopped',
1970
1972
  Creating: 'creating',
1971
- Initial: 'initial'
1973
+ Initial: 'initial',
1974
+ Error: 'error',
1975
+ Suspending: 'suspending',
1976
+ Unsuspending: 'unsuspending',
1977
+ Suspended: 'suspended',
1978
+ Destroying: 'destroying',
1979
+ Destroyed: 'destroyed',
1980
+ Recreating: 'recreating',
1981
+ Restoring: 'restoring',
1982
+ Recovery: 'recovery',
1983
+ StoppingRecovery: 'stopping_recovery'
1972
1984
  } as const;
1973
1985
 
1974
1986
  export type VPSV1VirtualMachineVirtualMachineResourceStateEnum = typeof VPSV1VirtualMachineVirtualMachineResourceStateEnum[keyof typeof VPSV1VirtualMachineVirtualMachineResourceStateEnum];
package/base.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 0.0.16
6
+ * API Version: 0.0.17
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.16
6
+ * API Version: 0.0.17
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.16
6
+ * API Version: 0.0.17
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-api-sdk-typescript/0.0.3",
51
+ 'User-Agent': "hostinger-api-sdk-typescript/0.0.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: 0.0.16
4
+ * API Version: 0.0.17
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
@@ -1912,9 +1912,21 @@ export interface VPSV1VirtualMachineVirtualMachineResource {
1912
1912
  }
1913
1913
  export declare const VPSV1VirtualMachineVirtualMachineResourceStateEnum: {
1914
1914
  readonly Running: "running";
1915
+ readonly Starting: "starting";
1916
+ readonly Stopping: "stopping";
1915
1917
  readonly Stopped: "stopped";
1916
1918
  readonly Creating: "creating";
1917
1919
  readonly Initial: "initial";
1920
+ readonly Error: "error";
1921
+ readonly Suspending: "suspending";
1922
+ readonly Unsuspending: "unsuspending";
1923
+ readonly Suspended: "suspended";
1924
+ readonly Destroying: "destroying";
1925
+ readonly Destroyed: "destroyed";
1926
+ readonly Recreating: "recreating";
1927
+ readonly Restoring: "restoring";
1928
+ readonly Recovery: "recovery";
1929
+ readonly StoppingRecovery: "stopping_recovery";
1918
1930
  };
1919
1931
  export type VPSV1VirtualMachineVirtualMachineResourceStateEnum = typeof VPSV1VirtualMachineVirtualMachineResourceStateEnum[keyof typeof VPSV1VirtualMachineVirtualMachineResourceStateEnum];
1920
1932
  export declare const VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum: {
package/dist/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 0.0.16
7
+ * API Version: 0.0.17
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
@@ -152,9 +152,21 @@ exports.VPSV1FirewallRulesStoreRequestSourceEnum = {
152
152
  };
153
153
  exports.VPSV1VirtualMachineVirtualMachineResourceStateEnum = {
154
154
  Running: 'running',
155
+ Starting: 'starting',
156
+ Stopping: 'stopping',
155
157
  Stopped: 'stopped',
156
158
  Creating: 'creating',
157
- Initial: 'initial'
159
+ Initial: 'initial',
160
+ Error: 'error',
161
+ Suspending: 'suspending',
162
+ Unsuspending: 'unsuspending',
163
+ Suspended: 'suspended',
164
+ Destroying: 'destroying',
165
+ Destroyed: 'destroyed',
166
+ Recreating: 'recreating',
167
+ Restoring: 'restoring',
168
+ Recovery: 'recovery',
169
+ StoppingRecovery: 'stopping_recovery'
158
170
  };
159
171
  exports.VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = {
160
172
  Unlocked: 'unlocked',
package/dist/base.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 0.0.16
4
+ * API Version: 0.0.17
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.16
7
+ * API Version: 0.0.17
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.16
4
+ * API Version: 0.0.17
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.16
7
+ * API Version: 0.0.17
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.16
4
+ * API Version: 0.0.17
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.16
7
+ * API Version: 0.0.17
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-api-sdk-typescript/0.0.3" }, (_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-api-sdk-typescript/0.0.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: 0.0.16
4
+ * API Version: 0.0.17
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
@@ -1912,9 +1912,21 @@ export interface VPSV1VirtualMachineVirtualMachineResource {
1912
1912
  }
1913
1913
  export declare const VPSV1VirtualMachineVirtualMachineResourceStateEnum: {
1914
1914
  readonly Running: "running";
1915
+ readonly Starting: "starting";
1916
+ readonly Stopping: "stopping";
1915
1917
  readonly Stopped: "stopped";
1916
1918
  readonly Creating: "creating";
1917
1919
  readonly Initial: "initial";
1920
+ readonly Error: "error";
1921
+ readonly Suspending: "suspending";
1922
+ readonly Unsuspending: "unsuspending";
1923
+ readonly Suspended: "suspended";
1924
+ readonly Destroying: "destroying";
1925
+ readonly Destroyed: "destroyed";
1926
+ readonly Recreating: "recreating";
1927
+ readonly Restoring: "restoring";
1928
+ readonly Recovery: "recovery";
1929
+ readonly StoppingRecovery: "stopping_recovery";
1918
1930
  };
1919
1931
  export type VPSV1VirtualMachineVirtualMachineResourceStateEnum = typeof VPSV1VirtualMachineVirtualMachineResourceStateEnum[keyof typeof VPSV1VirtualMachineVirtualMachineResourceStateEnum];
1920
1932
  export declare const VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum: {
package/dist/esm/api.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 0.0.16
6
+ * API Version: 0.0.17
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
@@ -148,9 +148,21 @@ export const VPSV1FirewallRulesStoreRequestSourceEnum = {
148
148
  };
149
149
  export const VPSV1VirtualMachineVirtualMachineResourceStateEnum = {
150
150
  Running: 'running',
151
+ Starting: 'starting',
152
+ Stopping: 'stopping',
151
153
  Stopped: 'stopped',
152
154
  Creating: 'creating',
153
- Initial: 'initial'
155
+ Initial: 'initial',
156
+ Error: 'error',
157
+ Suspending: 'suspending',
158
+ Unsuspending: 'unsuspending',
159
+ Suspended: 'suspended',
160
+ Destroying: 'destroying',
161
+ Destroyed: 'destroyed',
162
+ Recreating: 'recreating',
163
+ Restoring: 'restoring',
164
+ Recovery: 'recovery',
165
+ StoppingRecovery: 'stopping_recovery'
154
166
  };
155
167
  export const VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = {
156
168
  Unlocked: 'unlocked',
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 0.0.16
4
+ * API Version: 0.0.17
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.16
6
+ * API Version: 0.0.17
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.16
4
+ * API Version: 0.0.17
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.16
6
+ * API Version: 0.0.17
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.16
4
+ * API Version: 0.0.17
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.16
6
+ * API Version: 0.0.17
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-api-sdk-typescript/0.0.3" }, (_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-api-sdk-typescript/0.0.4" }, (_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.16
4
+ * API Version: 0.0.17
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.16
6
+ * API Version: 0.0.17
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.16
4
+ * API Version: 0.0.17
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.16
7
+ * API Version: 0.0.17
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.16
6
+ * API Version: 0.0.17
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.3",
3
+ "version": "0.0.4",
4
4
  "description": "Hostinger API TypeScript SDK",
5
5
  "author": "Hostinger",
6
6
  "repository": {