hostinger-api-sdk 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +9 -7
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +8 -6
- package/dist/api.js +4 -2
- 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 +8 -6
- package/dist/esm/api.js +4 -2
- 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/VPSV1VirtualMachinePanelPasswordUpdateRequest.md +1 -1
- package/docs/VPSV1VirtualMachineRecreateRequest.md +2 -2
- package/docs/VPSV1VirtualMachineRootPasswordUpdateRequest.md +1 -1
- package/docs/VPSV1VirtualMachineSetupRequest.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## @hostinger/sdk@3.0.
|
|
1
|
+
## @hostinger/sdk@3.0.1
|
|
2
2
|
|
|
3
3
|
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
|
|
4
4
|
|
|
5
5
|
### Usage
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
npm install @hostinger/sdk@3.0.
|
|
8
|
+
npm install @hostinger/sdk@3.0.1 --save
|
|
9
9
|
```
|
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.0.
|
|
6
|
+
* API Version: 3.0.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -17334,7 +17334,9 @@ export const VPSV1ActionActionResourceStateEnum = {
|
|
|
17334
17334
|
Error: 'error',
|
|
17335
17335
|
Delayed: 'delayed',
|
|
17336
17336
|
Sent: 'sent',
|
|
17337
|
-
Created: 'created'
|
|
17337
|
+
Created: 'created',
|
|
17338
|
+
Started: 'started',
|
|
17339
|
+
Cancelled: 'cancelled'
|
|
17338
17340
|
} as const;
|
|
17339
17341
|
|
|
17340
17342
|
export type VPSV1ActionActionResourceStateEnum = typeof VPSV1ActionActionResourceStateEnum[keyof typeof VPSV1ActionActionResourceStateEnum];
|
|
@@ -18478,7 +18480,7 @@ export interface VPSV1VirtualMachinePTRStoreRequest {
|
|
|
18478
18480
|
*/
|
|
18479
18481
|
export interface VPSV1VirtualMachinePanelPasswordUpdateRequest {
|
|
18480
18482
|
/**
|
|
18481
|
-
* Panel password for the virtual machine
|
|
18483
|
+
* Panel password for the virtual machine. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of #%+:?@ (no other symbols). Known compromised passwords are rejected.
|
|
18482
18484
|
* @type {string}
|
|
18483
18485
|
* @memberof VPSV1VirtualMachinePanelPasswordUpdateRequest
|
|
18484
18486
|
*/
|
|
@@ -18541,13 +18543,13 @@ export interface VPSV1VirtualMachineRecreateRequest {
|
|
|
18541
18543
|
*/
|
|
18542
18544
|
'template_id': number;
|
|
18543
18545
|
/**
|
|
18544
|
-
* Root password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response.
|
|
18546
|
+
* Root password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of -().&@?\'#;/,+ (no other symbols). Known compromised passwords are rejected.
|
|
18545
18547
|
* @type {string}
|
|
18546
18548
|
* @memberof VPSV1VirtualMachineRecreateRequest
|
|
18547
18549
|
*/
|
|
18548
18550
|
'password': string;
|
|
18549
18551
|
/**
|
|
18550
|
-
* Panel password for the panel-based OS template. If not provided, random password will be generated. If OS does not support panel_password this field will be ignored. Password will not be shown in the response.
|
|
18552
|
+
* Panel password for the panel-based OS template. If not provided, random password will be generated. If OS does not support panel_password this field will be ignored. Password will not be shown in the response. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of #%+:?@ (no other symbols). Known compromised passwords are rejected.
|
|
18551
18553
|
* @type {string}
|
|
18552
18554
|
* @memberof VPSV1VirtualMachineRecreateRequest
|
|
18553
18555
|
*/
|
|
@@ -18566,7 +18568,7 @@ export interface VPSV1VirtualMachineRecreateRequest {
|
|
|
18566
18568
|
*/
|
|
18567
18569
|
export interface VPSV1VirtualMachineRootPasswordUpdateRequest {
|
|
18568
18570
|
/**
|
|
18569
|
-
* Root password for the virtual machine
|
|
18571
|
+
* Root password for the virtual machine. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of -().&@?\'#;/,+ (no other symbols). Known compromised passwords are rejected.
|
|
18570
18572
|
* @type {string}
|
|
18571
18573
|
* @memberof VPSV1VirtualMachineRootPasswordUpdateRequest
|
|
18572
18574
|
*/
|
|
@@ -18597,7 +18599,7 @@ export interface VPSV1VirtualMachineSetupRequest {
|
|
|
18597
18599
|
*/
|
|
18598
18600
|
'post_install_script_id': number;
|
|
18599
18601
|
/**
|
|
18600
|
-
* Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response.
|
|
18602
|
+
* Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. Used as both the root and the panel password, so it must pass both rules: 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of # + ? @ (no other symbols). Known compromised passwords are rejected.
|
|
18601
18603
|
* @type {string}
|
|
18602
18604
|
* @memberof VPSV1VirtualMachineSetupRequest
|
|
18603
18605
|
*/
|
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.0.
|
|
6
|
+
* API Version: 3.0.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/common.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.0.
|
|
6
|
+
* API Version: 3.0.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.0.
|
|
6
|
+
* API Version: 3.0.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -48,7 +48,7 @@ export class Configuration {
|
|
|
48
48
|
this.baseOptions = {
|
|
49
49
|
...param.baseOptions,
|
|
50
50
|
headers: {
|
|
51
|
-
'User-Agent': "hostinger-typescript-sdk/3.0.
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/3.0.1",
|
|
52
52
|
...param.baseOptions?.headers,
|
|
53
53
|
},
|
|
54
54
|
};
|
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.0.
|
|
4
|
+
* API Version: 3.0.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -16937,6 +16937,8 @@ export declare const VPSV1ActionActionResourceStateEnum: {
|
|
|
16937
16937
|
readonly Delayed: "delayed";
|
|
16938
16938
|
readonly Sent: "sent";
|
|
16939
16939
|
readonly Created: "created";
|
|
16940
|
+
readonly Started: "started";
|
|
16941
|
+
readonly Cancelled: "cancelled";
|
|
16940
16942
|
};
|
|
16941
16943
|
export type VPSV1ActionActionResourceStateEnum = typeof VPSV1ActionActionResourceStateEnum[keyof typeof VPSV1ActionActionResourceStateEnum];
|
|
16942
16944
|
/**
|
|
@@ -18059,7 +18061,7 @@ export interface VPSV1VirtualMachinePTRStoreRequest {
|
|
|
18059
18061
|
*/
|
|
18060
18062
|
export interface VPSV1VirtualMachinePanelPasswordUpdateRequest {
|
|
18061
18063
|
/**
|
|
18062
|
-
* Panel password for the virtual machine
|
|
18064
|
+
* Panel password for the virtual machine. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of #%+:?@ (no other symbols). Known compromised passwords are rejected.
|
|
18063
18065
|
* @type {string}
|
|
18064
18066
|
* @memberof VPSV1VirtualMachinePanelPasswordUpdateRequest
|
|
18065
18067
|
*/
|
|
@@ -18122,13 +18124,13 @@ export interface VPSV1VirtualMachineRecreateRequest {
|
|
|
18122
18124
|
*/
|
|
18123
18125
|
'template_id': number;
|
|
18124
18126
|
/**
|
|
18125
|
-
* Root password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response.
|
|
18127
|
+
* Root password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of -().&@?\'#;/,+ (no other symbols). Known compromised passwords are rejected.
|
|
18126
18128
|
* @type {string}
|
|
18127
18129
|
* @memberof VPSV1VirtualMachineRecreateRequest
|
|
18128
18130
|
*/
|
|
18129
18131
|
'password': string;
|
|
18130
18132
|
/**
|
|
18131
|
-
* Panel password for the panel-based OS template. If not provided, random password will be generated. If OS does not support panel_password this field will be ignored. Password will not be shown in the response.
|
|
18133
|
+
* Panel password for the panel-based OS template. If not provided, random password will be generated. If OS does not support panel_password this field will be ignored. Password will not be shown in the response. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of #%+:?@ (no other symbols). Known compromised passwords are rejected.
|
|
18132
18134
|
* @type {string}
|
|
18133
18135
|
* @memberof VPSV1VirtualMachineRecreateRequest
|
|
18134
18136
|
*/
|
|
@@ -18147,7 +18149,7 @@ export interface VPSV1VirtualMachineRecreateRequest {
|
|
|
18147
18149
|
*/
|
|
18148
18150
|
export interface VPSV1VirtualMachineRootPasswordUpdateRequest {
|
|
18149
18151
|
/**
|
|
18150
|
-
* Root password for the virtual machine
|
|
18152
|
+
* Root password for the virtual machine. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of -().&@?\'#;/,+ (no other symbols). Known compromised passwords are rejected.
|
|
18151
18153
|
* @type {string}
|
|
18152
18154
|
* @memberof VPSV1VirtualMachineRootPasswordUpdateRequest
|
|
18153
18155
|
*/
|
|
@@ -18178,7 +18180,7 @@ export interface VPSV1VirtualMachineSetupRequest {
|
|
|
18178
18180
|
*/
|
|
18179
18181
|
'post_install_script_id': number;
|
|
18180
18182
|
/**
|
|
18181
|
-
* Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response.
|
|
18183
|
+
* Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. Used as both the root and the panel password, so it must pass both rules: 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of # + ? @ (no other symbols). Known compromised passwords are rejected.
|
|
18182
18184
|
* @type {string}
|
|
18183
18185
|
* @memberof VPSV1VirtualMachineSetupRequest
|
|
18184
18186
|
*/
|
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 3.0.
|
|
7
|
+
* API Version: 3.0.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -1211,7 +1211,9 @@ exports.VPSV1ActionActionResourceStateEnum = {
|
|
|
1211
1211
|
Error: 'error',
|
|
1212
1212
|
Delayed: 'delayed',
|
|
1213
1213
|
Sent: 'sent',
|
|
1214
|
-
Created: 'created'
|
|
1214
|
+
Created: 'created',
|
|
1215
|
+
Started: 'started',
|
|
1216
|
+
Cancelled: 'cancelled'
|
|
1215
1217
|
};
|
|
1216
1218
|
exports.VPSV1DockerManagerContainerPortResourceTypeEnum = {
|
|
1217
1219
|
Published: 'published',
|
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.0.
|
|
4
|
+
* API Version: 3.0.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 3.0.
|
|
7
|
+
* API Version: 3.0.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.0.
|
|
4
|
+
* API Version: 3.0.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 3.0.
|
|
7
|
+
* API Version: 3.0.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.0.
|
|
4
|
+
* API Version: 3.0.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 3.0.
|
|
7
|
+
* API Version: 3.0.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -16,7 +16,7 @@ class Configuration {
|
|
|
16
16
|
var _a;
|
|
17
17
|
this.accessToken = param.accessToken;
|
|
18
18
|
this.basePath = param.basePath;
|
|
19
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/3.0.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/3.0.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
20
20
|
this.formDataCtor = param.formDataCtor;
|
|
21
21
|
}
|
|
22
22
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.0.
|
|
4
|
+
* API Version: 3.0.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -16937,6 +16937,8 @@ export declare const VPSV1ActionActionResourceStateEnum: {
|
|
|
16937
16937
|
readonly Delayed: "delayed";
|
|
16938
16938
|
readonly Sent: "sent";
|
|
16939
16939
|
readonly Created: "created";
|
|
16940
|
+
readonly Started: "started";
|
|
16941
|
+
readonly Cancelled: "cancelled";
|
|
16940
16942
|
};
|
|
16941
16943
|
export type VPSV1ActionActionResourceStateEnum = typeof VPSV1ActionActionResourceStateEnum[keyof typeof VPSV1ActionActionResourceStateEnum];
|
|
16942
16944
|
/**
|
|
@@ -18059,7 +18061,7 @@ export interface VPSV1VirtualMachinePTRStoreRequest {
|
|
|
18059
18061
|
*/
|
|
18060
18062
|
export interface VPSV1VirtualMachinePanelPasswordUpdateRequest {
|
|
18061
18063
|
/**
|
|
18062
|
-
* Panel password for the virtual machine
|
|
18064
|
+
* Panel password for the virtual machine. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of #%+:?@ (no other symbols). Known compromised passwords are rejected.
|
|
18063
18065
|
* @type {string}
|
|
18064
18066
|
* @memberof VPSV1VirtualMachinePanelPasswordUpdateRequest
|
|
18065
18067
|
*/
|
|
@@ -18122,13 +18124,13 @@ export interface VPSV1VirtualMachineRecreateRequest {
|
|
|
18122
18124
|
*/
|
|
18123
18125
|
'template_id': number;
|
|
18124
18126
|
/**
|
|
18125
|
-
* Root password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response.
|
|
18127
|
+
* Root password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of -().&@?\'#;/,+ (no other symbols). Known compromised passwords are rejected.
|
|
18126
18128
|
* @type {string}
|
|
18127
18129
|
* @memberof VPSV1VirtualMachineRecreateRequest
|
|
18128
18130
|
*/
|
|
18129
18131
|
'password': string;
|
|
18130
18132
|
/**
|
|
18131
|
-
* Panel password for the panel-based OS template. If not provided, random password will be generated. If OS does not support panel_password this field will be ignored. Password will not be shown in the response.
|
|
18133
|
+
* Panel password for the panel-based OS template. If not provided, random password will be generated. If OS does not support panel_password this field will be ignored. Password will not be shown in the response. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of #%+:?@ (no other symbols). Known compromised passwords are rejected.
|
|
18132
18134
|
* @type {string}
|
|
18133
18135
|
* @memberof VPSV1VirtualMachineRecreateRequest
|
|
18134
18136
|
*/
|
|
@@ -18147,7 +18149,7 @@ export interface VPSV1VirtualMachineRecreateRequest {
|
|
|
18147
18149
|
*/
|
|
18148
18150
|
export interface VPSV1VirtualMachineRootPasswordUpdateRequest {
|
|
18149
18151
|
/**
|
|
18150
|
-
* Root password for the virtual machine
|
|
18152
|
+
* Root password for the virtual machine. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of -().&@?\'#;/,+ (no other symbols). Known compromised passwords are rejected.
|
|
18151
18153
|
* @type {string}
|
|
18152
18154
|
* @memberof VPSV1VirtualMachineRootPasswordUpdateRequest
|
|
18153
18155
|
*/
|
|
@@ -18178,7 +18180,7 @@ export interface VPSV1VirtualMachineSetupRequest {
|
|
|
18178
18180
|
*/
|
|
18179
18181
|
'post_install_script_id': number;
|
|
18180
18182
|
/**
|
|
18181
|
-
* Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response.
|
|
18183
|
+
* Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. Used as both the root and the panel password, so it must pass both rules: 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of # + ? @ (no other symbols). Known compromised passwords are rejected.
|
|
18182
18184
|
* @type {string}
|
|
18183
18185
|
* @memberof VPSV1VirtualMachineSetupRequest
|
|
18184
18186
|
*/
|
package/dist/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.0.
|
|
6
|
+
* API Version: 3.0.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -1196,7 +1196,9 @@ export const VPSV1ActionActionResourceStateEnum = {
|
|
|
1196
1196
|
Error: 'error',
|
|
1197
1197
|
Delayed: 'delayed',
|
|
1198
1198
|
Sent: 'sent',
|
|
1199
|
-
Created: 'created'
|
|
1199
|
+
Created: 'created',
|
|
1200
|
+
Started: 'started',
|
|
1201
|
+
Cancelled: 'cancelled'
|
|
1200
1202
|
};
|
|
1201
1203
|
export const VPSV1DockerManagerContainerPortResourceTypeEnum = {
|
|
1202
1204
|
Published: 'published',
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.0.
|
|
4
|
+
* API Version: 3.0.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.0.
|
|
6
|
+
* API Version: 3.0.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.0.
|
|
4
|
+
* API Version: 3.0.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.0.
|
|
6
|
+
* API Version: 3.0.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.0.
|
|
4
|
+
* API Version: 3.0.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.0.
|
|
6
|
+
* API Version: 3.0.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -13,7 +13,7 @@ export class Configuration {
|
|
|
13
13
|
var _a;
|
|
14
14
|
this.accessToken = param.accessToken;
|
|
15
15
|
this.basePath = param.basePath;
|
|
16
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/3.0.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/3.0.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
17
17
|
this.formDataCtor = param.formDataCtor;
|
|
18
18
|
}
|
|
19
19
|
/**
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.0.
|
|
4
|
+
* API Version: 3.0.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.0.
|
|
6
|
+
* API Version: 3.0.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.0.
|
|
4
|
+
* API Version: 3.0.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 3.0.
|
|
7
|
+
* API Version: 3.0.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**password** | **string** | Panel password for the virtual machine | [default to undefined]
|
|
8
|
+
**password** | **string** | Panel password for the virtual machine. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of #%+:?@ (no other symbols). Known compromised passwords are rejected. | [default to undefined]
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**template_id** | **number** | Template ID | [default to undefined]
|
|
9
|
-
**password** | **string** | Root password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. | [optional] [default to undefined]
|
|
10
|
-
**panel_password** | **string** | Panel password for the panel-based OS template. If not provided, random password will be generated. If OS does not support panel_password this field will be ignored. Password will not be shown in the response. | [optional] [default to undefined]
|
|
9
|
+
**password** | **string** | Root password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of -().&@?\'#;/,+ (no other symbols). Known compromised passwords are rejected. | [optional] [default to undefined]
|
|
10
|
+
**panel_password** | **string** | Panel password for the panel-based OS template. If not provided, random password will be generated. If OS does not support panel_password this field will be ignored. Password will not be shown in the response. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of #%+:?@ (no other symbols). Known compromised passwords are rejected. | [optional] [default to undefined]
|
|
11
11
|
**post_install_script_id** | **number** | Post-install script to execute after virtual machine was recreated | [optional] [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**password** | **string** | Root password for the virtual machine | [default to undefined]
|
|
8
|
+
**password** | **string** | Root password for the virtual machine. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of -().&@?\'#;/,+ (no other symbols). Known compromised passwords are rejected. | [default to undefined]
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**template_id** | **number** | Template ID | [default to undefined]
|
|
9
9
|
**data_center_id** | **number** | Data center ID | [default to undefined]
|
|
10
10
|
**post_install_script_id** | **number** | Post-install script ID | [optional] [default to undefined]
|
|
11
|
-
**password** | **string** | Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. | [optional] [default to undefined]
|
|
11
|
+
**password** | **string** | Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. Used as both the root and the panel password, so it must pass both rules: 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of # + ? @ (no other symbols). Known compromised passwords are rejected. | [optional] [default to undefined]
|
|
12
12
|
**hostname** | **string** | Override default hostname of the virtual machine | [optional] [default to undefined]
|
|
13
13
|
**install_monarx** | **boolean** | Install Monarx malware scanner (if supported) | [optional] [default to false]
|
|
14
14
|
**enable_backups** | **boolean** | Enable weekly backup schedule | [optional] [default to true]
|
package/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.0.
|
|
6
|
+
* API Version: 3.0.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|