hostinger-api-sdk 1.3.0 → 1.5.0

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.
Files changed (40) hide show
  1. package/README.md +2 -2
  2. package/api.ts +679 -158
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +366 -114
  7. package/dist/api.js +500 -5
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +2 -2
  14. package/dist/esm/api.d.ts +366 -114
  15. package/dist/esm/api.js +492 -1
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +2 -2
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/HostingCacheApi.md +295 -0
  27. package/docs/HostingNodeJSApi.md +57 -0
  28. package/docs/VPSActionsApi.md +2 -2
  29. package/docs/VPSBackupsApi.md +2 -2
  30. package/docs/VPSFirewallApi.md +2 -2
  31. package/docs/VPSPostInstallScriptsApi.md +2 -2
  32. package/docs/VPSPublicKeysApi.md +2 -2
  33. package/docs/{VPSGetActionsV1200Response.md → VPSV1ActionListResponse.md} +3 -3
  34. package/docs/{VPSGetBackupsV1200Response.md → VPSV1BackupListResponse.md} +3 -3
  35. package/docs/{VPSGetFirewallListV1200Response.md → VPSV1FirewallListResponse.md} +3 -3
  36. package/docs/{VPSGetPostInstallScriptsV1200Response.md → VPSV1PostInstallScriptListResponse.md} +3 -3
  37. package/docs/{VPSGetPublicKeysV1200Response.md → VPSV1PublicKeyListResponse.md} +3 -3
  38. package/docs/VPSVirtualMachineApi.md +2 -2
  39. package/index.ts +1 -1
  40. package/package.json +1 -1
@@ -0,0 +1,295 @@
1
+ # HostingCacheApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**clearWebsiteCacheV1**](#clearwebsitecachev1) | **DELETE** /api/hosting/v1/accounts/{username}/websites/{domain}/cache/clear | Clear website cache|
8
+ |[**disableCachelessModeV1**](#disablecachelessmodev1) | **PATCH** /api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/disable | Disable cacheless mode|
9
+ |[**disableWebsiteCacheV1**](#disablewebsitecachev1) | **PATCH** /api/hosting/v1/accounts/{username}/websites/{domain}/cache/disable | Disable website cache|
10
+ |[**enableCachelessModeV1**](#enablecachelessmodev1) | **PATCH** /api/hosting/v1/accounts/{username}/websites/{domain}/cacheless-mode/enable | Enable cacheless mode|
11
+ |[**enableWebsiteCacheV1**](#enablewebsitecachev1) | **PATCH** /api/hosting/v1/accounts/{username}/websites/{domain}/cache/enable | Enable website cache|
12
+
13
+ # **clearWebsiteCacheV1**
14
+ > CommonSuccessEmptyResource clearWebsiteCacheV1()
15
+
16
+ Permanently clears all server-side cache for the website at once. Use it when content was updated and needs to be visible immediately, or after making major changes. Also purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress installation living in a subdirectory, pass the directory query parameter to clear its cache.
17
+
18
+ ### Example
19
+
20
+ ```typescript
21
+ import {
22
+ HostingCacheApi,
23
+ Configuration
24
+ } from 'hostinger-api-sdk';
25
+
26
+ const configuration = new Configuration();
27
+ const apiInstance = new HostingCacheApi(configuration);
28
+
29
+ let username: string; // (default to undefined)
30
+ let domain: string; //Domain name (default to undefined)
31
+ let directory: string; //Directory of the website installation to clear, relative to the website root. Defaults to the website root. (optional) (default to undefined)
32
+
33
+ const { status, data } = await apiInstance.clearWebsiteCacheV1(
34
+ username,
35
+ domain,
36
+ directory
37
+ );
38
+ ```
39
+
40
+ ### Parameters
41
+
42
+ |Name | Type | Description | Notes|
43
+ |------------- | ------------- | ------------- | -------------|
44
+ | **username** | [**string**] | | defaults to undefined|
45
+ | **domain** | [**string**] | Domain name | defaults to undefined|
46
+ | **directory** | [**string**] | Directory of the website installation to clear, relative to the website root. Defaults to the website root. | (optional) defaults to undefined|
47
+
48
+
49
+ ### Return type
50
+
51
+ **CommonSuccessEmptyResource**
52
+
53
+ ### Authorization
54
+
55
+ [apiToken](../README.md#apiToken)
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: Not defined
60
+ - **Accept**: application/json
61
+
62
+
63
+ ### HTTP response details
64
+ | Status code | Description | Response headers |
65
+ |-------------|-------------|------------------|
66
+ |**200** | Success empty response | - |
67
+ |**401** | Unauthenticated response | - |
68
+ |**500** | Error response | - |
69
+
70
+ [[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)
71
+
72
+ # **disableCachelessModeV1**
73
+ > CommonSuccessEmptyResource disableCachelessModeV1()
74
+
75
+ Turns off development (cacheless) mode and returns the website to normal caching. Use it after finishing development work to restore the performance benefits of caching.
76
+
77
+ ### Example
78
+
79
+ ```typescript
80
+ import {
81
+ HostingCacheApi,
82
+ Configuration
83
+ } from 'hostinger-api-sdk';
84
+
85
+ const configuration = new Configuration();
86
+ const apiInstance = new HostingCacheApi(configuration);
87
+
88
+ let username: string; // (default to undefined)
89
+ let domain: string; //Domain name (default to undefined)
90
+
91
+ const { status, data } = await apiInstance.disableCachelessModeV1(
92
+ username,
93
+ domain
94
+ );
95
+ ```
96
+
97
+ ### Parameters
98
+
99
+ |Name | Type | Description | Notes|
100
+ |------------- | ------------- | ------------- | -------------|
101
+ | **username** | [**string**] | | defaults to undefined|
102
+ | **domain** | [**string**] | Domain name | defaults to undefined|
103
+
104
+
105
+ ### Return type
106
+
107
+ **CommonSuccessEmptyResource**
108
+
109
+ ### Authorization
110
+
111
+ [apiToken](../README.md#apiToken)
112
+
113
+ ### HTTP request headers
114
+
115
+ - **Content-Type**: Not defined
116
+ - **Accept**: application/json
117
+
118
+
119
+ ### HTTP response details
120
+ | Status code | Description | Response headers |
121
+ |-------------|-------------|------------------|
122
+ |**200** | Success empty response | - |
123
+ |**401** | Unauthenticated response | - |
124
+ |**500** | Error response | - |
125
+
126
+ [[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)
127
+
128
+ # **disableWebsiteCacheV1**
129
+ > CommonSuccessEmptyResource disableWebsiteCacheV1()
130
+
131
+ Turns off server-side caching for the website until it is enabled again. May impact performance. Use it when experiencing cache-related issues; to temporarily bypass caching while developing or debugging, prefer enabling cacheless mode instead. Does nothing if caching is already disabled.
132
+
133
+ ### Example
134
+
135
+ ```typescript
136
+ import {
137
+ HostingCacheApi,
138
+ Configuration
139
+ } from 'hostinger-api-sdk';
140
+
141
+ const configuration = new Configuration();
142
+ const apiInstance = new HostingCacheApi(configuration);
143
+
144
+ let username: string; // (default to undefined)
145
+ let domain: string; //Domain name (default to undefined)
146
+
147
+ const { status, data } = await apiInstance.disableWebsiteCacheV1(
148
+ username,
149
+ domain
150
+ );
151
+ ```
152
+
153
+ ### Parameters
154
+
155
+ |Name | Type | Description | Notes|
156
+ |------------- | ------------- | ------------- | -------------|
157
+ | **username** | [**string**] | | defaults to undefined|
158
+ | **domain** | [**string**] | Domain name | defaults to undefined|
159
+
160
+
161
+ ### Return type
162
+
163
+ **CommonSuccessEmptyResource**
164
+
165
+ ### Authorization
166
+
167
+ [apiToken](../README.md#apiToken)
168
+
169
+ ### HTTP request headers
170
+
171
+ - **Content-Type**: Not defined
172
+ - **Accept**: application/json
173
+
174
+
175
+ ### HTTP response details
176
+ | Status code | Description | Response headers |
177
+ |-------------|-------------|------------------|
178
+ |**200** | Success empty response | - |
179
+ |**401** | Unauthenticated response | - |
180
+ |**500** | Error response | - |
181
+
182
+ [[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)
183
+
184
+ # **enableCachelessModeV1**
185
+ > CommonSuccessEmptyResource enableCachelessModeV1()
186
+
187
+ Enables development (cacheless) mode where nothing is cached, effectively turning off all caching for the website. Use it while actively developing, testing changes, debugging issues, or when real-time updates must be visible. Disable cacheless mode afterwards to restore normal caching.
188
+
189
+ ### Example
190
+
191
+ ```typescript
192
+ import {
193
+ HostingCacheApi,
194
+ Configuration
195
+ } from 'hostinger-api-sdk';
196
+
197
+ const configuration = new Configuration();
198
+ const apiInstance = new HostingCacheApi(configuration);
199
+
200
+ let username: string; // (default to undefined)
201
+ let domain: string; //Domain name (default to undefined)
202
+
203
+ const { status, data } = await apiInstance.enableCachelessModeV1(
204
+ username,
205
+ domain
206
+ );
207
+ ```
208
+
209
+ ### Parameters
210
+
211
+ |Name | Type | Description | Notes|
212
+ |------------- | ------------- | ------------- | -------------|
213
+ | **username** | [**string**] | | defaults to undefined|
214
+ | **domain** | [**string**] | Domain name | defaults to undefined|
215
+
216
+
217
+ ### Return type
218
+
219
+ **CommonSuccessEmptyResource**
220
+
221
+ ### Authorization
222
+
223
+ [apiToken](../README.md#apiToken)
224
+
225
+ ### HTTP request headers
226
+
227
+ - **Content-Type**: Not defined
228
+ - **Accept**: application/json
229
+
230
+
231
+ ### HTTP response details
232
+ | Status code | Description | Response headers |
233
+ |-------------|-------------|------------------|
234
+ |**200** | Success empty response | - |
235
+ |**401** | Unauthenticated response | - |
236
+ |**500** | Error response | - |
237
+
238
+ [[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)
239
+
240
+ # **enableWebsiteCacheV1**
241
+ > CommonSuccessEmptyResource enableWebsiteCacheV1()
242
+
243
+ Turns on server-side caching for the website for better performance. Use it for faster page loads, reduced server load, or improved user experience. Recommended for production websites. Does nothing if caching is already enabled.
244
+
245
+ ### Example
246
+
247
+ ```typescript
248
+ import {
249
+ HostingCacheApi,
250
+ Configuration
251
+ } from 'hostinger-api-sdk';
252
+
253
+ const configuration = new Configuration();
254
+ const apiInstance = new HostingCacheApi(configuration);
255
+
256
+ let username: string; // (default to undefined)
257
+ let domain: string; //Domain name (default to undefined)
258
+
259
+ const { status, data } = await apiInstance.enableWebsiteCacheV1(
260
+ username,
261
+ domain
262
+ );
263
+ ```
264
+
265
+ ### Parameters
266
+
267
+ |Name | Type | Description | Notes|
268
+ |------------- | ------------- | ------------- | -------------|
269
+ | **username** | [**string**] | | defaults to undefined|
270
+ | **domain** | [**string**] | Domain name | defaults to undefined|
271
+
272
+
273
+ ### Return type
274
+
275
+ **CommonSuccessEmptyResource**
276
+
277
+ ### Authorization
278
+
279
+ [apiToken](../README.md#apiToken)
280
+
281
+ ### HTTP request headers
282
+
283
+ - **Content-Type**: Not defined
284
+ - **Accept**: application/json
285
+
286
+
287
+ ### HTTP response details
288
+ | Status code | Description | Response headers |
289
+ |-------------|-------------|------------------|
290
+ |**200** | Success empty response | - |
291
+ |**401** | Unauthenticated response | - |
292
+ |**500** | Error response | - |
293
+
294
+ [[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)
295
+
@@ -7,6 +7,7 @@ All URIs are relative to *https://developers.hostinger.com*
7
7
  |[**createNodeJSBuildFromArchiveV1**](#createnodejsbuildfromarchivev1) | **POST** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archive | Create NodeJS build from archive|
8
8
  |[**getNodeJSBuildLogsV1**](#getnodejsbuildlogsv1) | **GET** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/{uuid}/logs | Get NodeJS build logs|
9
9
  |[**listNodeJSBuildsV1**](#listnodejsbuildsv1) | **GET** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds | List NodeJS builds|
10
+ |[**restartNodeJsApplicationV1**](#restartnodejsapplicationv1) | **POST** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart | Restart Node.js application|
10
11
 
11
12
  # **createNodeJSBuildFromArchiveV1**
12
13
  > HostingV1NodeJsBuildResource createNodeJSBuildFromArchiveV1(hostingV1NodeJsCreateFromArchiveRequest)
@@ -197,3 +198,59 @@ const { status, data } = await apiInstance.listNodeJSBuildsV1(
197
198
 
198
199
  [[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)
199
200
 
201
+ # **restartNodeJsApplicationV1**
202
+ > CommonSuccessEmptyResource restartNodeJsApplicationV1()
203
+
204
+ Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
205
+
206
+ ### Example
207
+
208
+ ```typescript
209
+ import {
210
+ HostingNodeJSApi,
211
+ Configuration
212
+ } from 'hostinger-api-sdk';
213
+
214
+ const configuration = new Configuration();
215
+ const apiInstance = new HostingNodeJSApi(configuration);
216
+
217
+ let username: string; // (default to undefined)
218
+ let domain: string; //Domain name (default to undefined)
219
+
220
+ const { status, data } = await apiInstance.restartNodeJsApplicationV1(
221
+ username,
222
+ domain
223
+ );
224
+ ```
225
+
226
+ ### Parameters
227
+
228
+ |Name | Type | Description | Notes|
229
+ |------------- | ------------- | ------------- | -------------|
230
+ | **username** | [**string**] | | defaults to undefined|
231
+ | **domain** | [**string**] | Domain name | defaults to undefined|
232
+
233
+
234
+ ### Return type
235
+
236
+ **CommonSuccessEmptyResource**
237
+
238
+ ### Authorization
239
+
240
+ [apiToken](../README.md#apiToken)
241
+
242
+ ### HTTP request headers
243
+
244
+ - **Content-Type**: Not defined
245
+ - **Accept**: application/json
246
+
247
+
248
+ ### HTTP response details
249
+ | Status code | Description | Response headers |
250
+ |-------------|-------------|------------------|
251
+ |**200** | Success empty response | - |
252
+ |**401** | Unauthenticated response | - |
253
+ |**500** | Error response | - |
254
+
255
+ [[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)
256
+
@@ -64,7 +64,7 @@ const { status, data } = await apiInstance.getActionDetailsV1(
64
64
  [[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)
65
65
 
66
66
  # **getActionsV1**
67
- > VPSGetActionsV1200Response getActionsV1()
67
+ > VPSV1ActionListResponse getActionsV1()
68
68
 
69
69
  Retrieve actions performed on a specified virtual machine. Actions are operations or events that have been executed on the virtual machine, such as starting, stopping, or modifying the machine. This endpoint allows you to view the history of these actions, providing details about each action, such as the action name, timestamp, and status. Use this endpoint to view VPS operation history and troubleshoot issues.
70
70
 
@@ -98,7 +98,7 @@ const { status, data } = await apiInstance.getActionsV1(
98
98
 
99
99
  ### Return type
100
100
 
101
- **VPSGetActionsV1200Response**
101
+ **VPSV1ActionListResponse**
102
102
 
103
103
  ### Authorization
104
104
 
@@ -8,7 +8,7 @@ All URIs are relative to *https://developers.hostinger.com*
8
8
  |[**restoreBackupV1**](#restorebackupv1) | **POST** /api/vps/v1/virtual-machines/{virtualMachineId}/backups/{backupId}/restore | Restore backup|
9
9
 
10
10
  # **getBackupsV1**
11
- > VPSGetBackupsV1200Response getBackupsV1()
11
+ > VPSV1BackupListResponse getBackupsV1()
12
12
 
13
13
  Retrieve backups for a specified virtual machine. Use this endpoint to view available backup points for VPS data recovery.
14
14
 
@@ -42,7 +42,7 @@ const { status, data } = await apiInstance.getBackupsV1(
42
42
 
43
43
  ### Return type
44
44
 
45
- **VPSGetBackupsV1200Response**
45
+ **VPSV1BackupListResponse**
46
46
 
47
47
  ### Authorization
48
48
 
@@ -405,7 +405,7 @@ const { status, data } = await apiInstance.getFirewallDetailsV1(
405
405
  [[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)
406
406
 
407
407
  # **getFirewallListV1**
408
- > VPSGetFirewallListV1200Response getFirewallListV1()
408
+ > VPSV1FirewallListResponse getFirewallListV1()
409
409
 
410
410
  Retrieve all available firewalls. Use this endpoint to view existing firewall configurations.
411
411
 
@@ -436,7 +436,7 @@ const { status, data } = await apiInstance.getFirewallListV1(
436
436
 
437
437
  ### Return type
438
438
 
439
- **VPSGetFirewallListV1200Response**
439
+ **VPSV1FirewallListResponse**
440
440
 
441
441
  ### Authorization
442
442
 
@@ -172,7 +172,7 @@ const { status, data } = await apiInstance.getPostInstallScriptV1(
172
172
  [[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)
173
173
 
174
174
  # **getPostInstallScriptsV1**
175
- > VPSGetPostInstallScriptsV1200Response getPostInstallScriptsV1()
175
+ > VPSV1PostInstallScriptListResponse getPostInstallScriptsV1()
176
176
 
177
177
  Retrieve post-install scripts associated with your account. Use this endpoint to view available automation scripts for VPS deployment.
178
178
 
@@ -203,7 +203,7 @@ const { status, data } = await apiInstance.getPostInstallScriptsV1(
203
203
 
204
204
  ### Return type
205
205
 
206
- **VPSGetPostInstallScriptsV1200Response**
206
+ **VPSV1PostInstallScriptListResponse**
207
207
 
208
208
  ### Authorization
209
209
 
@@ -176,7 +176,7 @@ const { status, data } = await apiInstance.deletePublicKeyV1(
176
176
  [[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)
177
177
 
178
178
  # **getPublicKeysV1**
179
- > VPSGetPublicKeysV1200Response getPublicKeysV1()
179
+ > VPSV1PublicKeyListResponse getPublicKeysV1()
180
180
 
181
181
  Retrieve public keys associated with your account. Use this endpoint to view available SSH keys for VPS authentication.
182
182
 
@@ -207,7 +207,7 @@ const { status, data } = await apiInstance.getPublicKeysV1(
207
207
 
208
208
  ### Return type
209
209
 
210
- **VPSGetPublicKeysV1200Response**
210
+ **VPSV1PublicKeyListResponse**
211
211
 
212
212
  ### Authorization
213
213
 
@@ -1,4 +1,4 @@
1
- # VPSGetActionsV1200Response
1
+ # VPSV1ActionListResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -11,9 +11,9 @@ Name | Type | Description | Notes
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { VPSGetActionsV1200Response } from 'hostinger-api-sdk';
14
+ import { VPSV1ActionListResponse } from 'hostinger-api-sdk';
15
15
 
16
- const instance: VPSGetActionsV1200Response = {
16
+ const instance: VPSV1ActionListResponse = {
17
17
  data,
18
18
  meta,
19
19
  };
@@ -1,4 +1,4 @@
1
- # VPSGetBackupsV1200Response
1
+ # VPSV1BackupListResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -11,9 +11,9 @@ Name | Type | Description | Notes
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { VPSGetBackupsV1200Response } from 'hostinger-api-sdk';
14
+ import { VPSV1BackupListResponse } from 'hostinger-api-sdk';
15
15
 
16
- const instance: VPSGetBackupsV1200Response = {
16
+ const instance: VPSV1BackupListResponse = {
17
17
  data,
18
18
  meta,
19
19
  };
@@ -1,4 +1,4 @@
1
- # VPSGetFirewallListV1200Response
1
+ # VPSV1FirewallListResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -11,9 +11,9 @@ Name | Type | Description | Notes
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { VPSGetFirewallListV1200Response } from 'hostinger-api-sdk';
14
+ import { VPSV1FirewallListResponse } from 'hostinger-api-sdk';
15
15
 
16
- const instance: VPSGetFirewallListV1200Response = {
16
+ const instance: VPSV1FirewallListResponse = {
17
17
  data,
18
18
  meta,
19
19
  };
@@ -1,4 +1,4 @@
1
- # VPSGetPostInstallScriptsV1200Response
1
+ # VPSV1PostInstallScriptListResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -11,9 +11,9 @@ Name | Type | Description | Notes
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { VPSGetPostInstallScriptsV1200Response } from 'hostinger-api-sdk';
14
+ import { VPSV1PostInstallScriptListResponse } from 'hostinger-api-sdk';
15
15
 
16
- const instance: VPSGetPostInstallScriptsV1200Response = {
16
+ const instance: VPSV1PostInstallScriptListResponse = {
17
17
  data,
18
18
  meta,
19
19
  };
@@ -1,4 +1,4 @@
1
- # VPSGetPublicKeysV1200Response
1
+ # VPSV1PublicKeyListResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -11,9 +11,9 @@ Name | Type | Description | Notes
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { VPSGetPublicKeysV1200Response } from 'hostinger-api-sdk';
14
+ import { VPSV1PublicKeyListResponse } from 'hostinger-api-sdk';
15
15
 
16
- const instance: VPSGetPublicKeysV1200Response = {
16
+ const instance: VPSV1PublicKeyListResponse = {
17
17
  data,
18
18
  meta,
19
19
  };
@@ -21,7 +21,7 @@ All URIs are relative to *https://developers.hostinger.com*
21
21
  |[**stopVirtualMachineV1**](#stopvirtualmachinev1) | **POST** /api/vps/v1/virtual-machines/{virtualMachineId}/stop | Stop virtual machine|
22
22
 
23
23
  # **getAttachedPublicKeysV1**
24
- > VPSGetPublicKeysV1200Response getAttachedPublicKeysV1()
24
+ > VPSV1PublicKeyListResponse getAttachedPublicKeysV1()
25
25
 
26
26
  Retrieve public keys attached to a specified virtual machine. Use this endpoint to view SSH keys configured for specific VPS instances.
27
27
 
@@ -55,7 +55,7 @@ const { status, data } = await apiInstance.getAttachedPublicKeysV1(
55
55
 
56
56
  ### Return type
57
57
 
58
- **VPSGetPublicKeysV1200Response**
58
+ **VPSV1PublicKeyListResponse**
59
59
 
60
60
  ### Authorization
61
61
 
package/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.3.0
6
+ * API Version: 1.5.0
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": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "description": "Hostinger API TypeScript SDK",
5
5
  "author": "Hostinger",
6
6
  "repository": {