Skip to content

Commit a488900

Browse files
chore: sdk update
1 parent ca420ff commit a488900

11 files changed

Lines changed: 22 additions & 20 deletions

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
## @hostinger/sdk@3.0.0
1+
## @hostinger/sdk@3.0.1
22

33
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
44

55
### Usage
66

77
```
8-
npm install @hostinger/sdk@3.0.0 --save
8+
npm install @hostinger/sdk@3.0.1 --save
99
```

‎api.ts‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 3.0.0
6+
* API Version: 3.0.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* 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 = {
1733417334
Error: 'error',
1733517335
Delayed: 'delayed',
1733617336
Sent: 'sent',
17337-
Created: 'created'
17337+
Created: 'created',
17338+
Started: 'started',
17339+
Cancelled: 'cancelled'
1733817340
} as const;
1733917341

1734017342
export type VPSV1ActionActionResourceStateEnum = typeof VPSV1ActionActionResourceStateEnum[keyof typeof VPSV1ActionActionResourceStateEnum];
@@ -18478,7 +18480,7 @@ export interface VPSV1VirtualMachinePTRStoreRequest {
1847818480
*/
1847918481
export interface VPSV1VirtualMachinePanelPasswordUpdateRequest {
1848018482
/**
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.
1848218484
* @type {string}
1848318485
* @memberof VPSV1VirtualMachinePanelPasswordUpdateRequest
1848418486
*/
@@ -18541,13 +18543,13 @@ export interface VPSV1VirtualMachineRecreateRequest {
1854118543
*/
1854218544
'template_id': number;
1854318545
/**
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.
1854518547
* @type {string}
1854618548
* @memberof VPSV1VirtualMachineRecreateRequest
1854718549
*/
1854818550
'password': string;
1854918551
/**
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.
1855118553
* @type {string}
1855218554
* @memberof VPSV1VirtualMachineRecreateRequest
1855318555
*/
@@ -18566,7 +18568,7 @@ export interface VPSV1VirtualMachineRecreateRequest {
1856618568
*/
1856718569
export interface VPSV1VirtualMachineRootPasswordUpdateRequest {
1856818570
/**
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.
1857018572
* @type {string}
1857118573
* @memberof VPSV1VirtualMachineRootPasswordUpdateRequest
1857218574
*/
@@ -18597,7 +18599,7 @@ export interface VPSV1VirtualMachineSetupRequest {
1859718599
*/
1859818600
'post_install_script_id': number;
1859918601
/**
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.
1860118603
* @type {string}
1860218604
* @memberof VPSV1VirtualMachineSetupRequest
1860318605
*/

‎base.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 3.0.0
6+
* API Version: 3.0.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎common.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 3.0.0
6+
* API Version: 3.0.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎configuration.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 3.0.0
6+
* API Version: 3.0.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* 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 {
4848
this.baseOptions = {
4949
...param.baseOptions,
5050
headers: {
51-
'User-Agent': "hostinger-typescript-sdk/3.0.0",
51+
'User-Agent': "hostinger-typescript-sdk/3.0.1",
5252
...param.baseOptions?.headers,
5353
},
5454
};

‎docs/VPSV1VirtualMachinePanelPasswordUpdateRequest.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
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]
99

1010
## Example
1111

‎docs/VPSV1VirtualMachineRecreateRequest.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**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]
1111
**post_install_script_id** | **number** | Post-install script to execute after virtual machine was recreated | [optional] [default to undefined]
1212

1313
## Example

‎docs/VPSV1VirtualMachineRootPasswordUpdateRequest.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
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]
99

1010
## Example
1111

‎docs/VPSV1VirtualMachineSetupRequest.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**template_id** | **number** | Template ID | [default to undefined]
99
**data_center_id** | **number** | Data center ID | [default to undefined]
1010
**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]
1212
**hostname** | **string** | Override default hostname of the virtual machine | [optional] [default to undefined]
1313
**install_monarx** | **boolean** | Install Monarx malware scanner (if supported) | [optional] [default to false]
1414
**enable_backups** | **boolean** | Enable weekly backup schedule | [optional] [default to true]

‎index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 3.0.0
6+
* API Version: 3.0.1
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

0 commit comments

Comments
 (0)