hostinger-api-sdk 1.33.1 → 1.34.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.
package/dist/esm/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.35.1
6
+ * API Version: 1.36.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/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.35.1
4
+ * API Version: 1.36.0
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: 1.35.1
7
+ * API Version: 1.36.0
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
@@ -0,0 +1,400 @@
1
+ # AgencyHostingPHPApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**listAvailablePHPVersionsForAWebsiteV1**](#listavailablephpversionsforawebsitev1) | **GET** /api/agency-hosting/v1/websites/{website_uid}/php-settings/versions | List available PHP versions for a website|
8
+ |[**listAvailablePHPVersionsForAnOrderV1**](#listavailablephpversionsforanorderv1) | **GET** /api/agency-hosting/v1/orders/{order_id}/websites/php-settings/versions | List available PHP versions for an order|
9
+ |[**listPHPExtensionsForAWebsiteV1**](#listphpextensionsforawebsitev1) | **GET** /api/agency-hosting/v1/websites/{website_uid}/php-settings/extensions | List PHP extensions for a website|
10
+ |[**listPHPOptionsForAWebsiteV1**](#listphpoptionsforawebsitev1) | **GET** /api/agency-hosting/v1/websites/{website_uid}/php-settings/options | List PHP options for a website|
11
+ |[**replaceWebsitePHPExtensionsV1**](#replacewebsitephpextensionsv1) | **PUT** /api/agency-hosting/v1/websites/{website_uid}/php-settings/extensions | Replace website PHP extensions|
12
+ |[**replaceWebsitePHPOptionsV1**](#replacewebsitephpoptionsv1) | **PUT** /api/agency-hosting/v1/websites/{website_uid}/php-settings/options | Replace website PHP options|
13
+ |[**updateWebsitePHPVersionV1**](#updatewebsitephpversionv1) | **PATCH** /api/agency-hosting/v1/websites/{website_uid}/php-settings/version | Update website PHP version|
14
+
15
+ # **listAvailablePHPVersionsForAWebsiteV1**
16
+ > Array<AgencyHostingV1PhpVersionResource> listAvailablePHPVersionsForAWebsiteV1()
17
+
18
+ Lists the PHP versions an Agency Plan website can be switched to. The version the website is currently running is returned as settings.php.version by the website details endpoint.
19
+
20
+ ### Example
21
+
22
+ ```typescript
23
+ import {
24
+ AgencyHostingPHPApi,
25
+ Configuration
26
+ } from 'hostinger-api-sdk';
27
+
28
+ const configuration = new Configuration();
29
+ const apiInstance = new AgencyHostingPHPApi(configuration);
30
+
31
+ let websiteUid: string; //Agency Plan website UID (default to undefined)
32
+
33
+ const { status, data } = await apiInstance.listAvailablePHPVersionsForAWebsiteV1(
34
+ websiteUid
35
+ );
36
+ ```
37
+
38
+ ### Parameters
39
+
40
+ |Name | Type | Description | Notes|
41
+ |------------- | ------------- | ------------- | -------------|
42
+ | **websiteUid** | [**string**] | Agency Plan website UID | defaults to undefined|
43
+
44
+
45
+ ### Return type
46
+
47
+ **Array<AgencyHostingV1PhpVersionResource>**
48
+
49
+ ### Authorization
50
+
51
+ [apiToken](../README.md#apiToken)
52
+
53
+ ### HTTP request headers
54
+
55
+ - **Content-Type**: Not defined
56
+ - **Accept**: application/json
57
+
58
+
59
+ ### HTTP response details
60
+ | Status code | Description | Response headers |
61
+ |-------------|-------------|------------------|
62
+ |**200** | Success response | - |
63
+ |**401** | Unauthenticated response | - |
64
+ |**500** | Error response | - |
65
+
66
+ [[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)
67
+
68
+ # **listAvailablePHPVersionsForAnOrderV1**
69
+ > Array<AgencyHostingV1PhpVersionResource> listAvailablePHPVersionsForAnOrderV1()
70
+
71
+ Lists the PHP versions available to websites created under an Agency Plan order, determined by the server the order is hosted on. Use this before creating a website; for a website that already exists, call the website-scoped versions endpoint instead.
72
+
73
+ ### Example
74
+
75
+ ```typescript
76
+ import {
77
+ AgencyHostingPHPApi,
78
+ Configuration
79
+ } from 'hostinger-api-sdk';
80
+
81
+ const configuration = new Configuration();
82
+ const apiInstance = new AgencyHostingPHPApi(configuration);
83
+
84
+ let orderId: number; //Agency Plan order ID (default to undefined)
85
+
86
+ const { status, data } = await apiInstance.listAvailablePHPVersionsForAnOrderV1(
87
+ orderId
88
+ );
89
+ ```
90
+
91
+ ### Parameters
92
+
93
+ |Name | Type | Description | Notes|
94
+ |------------- | ------------- | ------------- | -------------|
95
+ | **orderId** | [**number**] | Agency Plan order ID | defaults to undefined|
96
+
97
+
98
+ ### Return type
99
+
100
+ **Array<AgencyHostingV1PhpVersionResource>**
101
+
102
+ ### Authorization
103
+
104
+ [apiToken](../README.md#apiToken)
105
+
106
+ ### HTTP request headers
107
+
108
+ - **Content-Type**: Not defined
109
+ - **Accept**: application/json
110
+
111
+
112
+ ### HTTP response details
113
+ | Status code | Description | Response headers |
114
+ |-------------|-------------|------------------|
115
+ |**200** | Success response | - |
116
+ |**401** | Unauthenticated response | - |
117
+ |**500** | Error response | - |
118
+
119
+ [[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)
120
+
121
+ # **listPHPExtensionsForAWebsiteV1**
122
+ > Array<AgencyHostingV1PhpExtensionResource> listPHPExtensionsForAWebsiteV1()
123
+
124
+ Lists every PHP extension available to an Agency Plan website and whether it is currently enabled.
125
+
126
+ ### Example
127
+
128
+ ```typescript
129
+ import {
130
+ AgencyHostingPHPApi,
131
+ Configuration
132
+ } from 'hostinger-api-sdk';
133
+
134
+ const configuration = new Configuration();
135
+ const apiInstance = new AgencyHostingPHPApi(configuration);
136
+
137
+ let websiteUid: string; //Agency Plan website UID (default to undefined)
138
+
139
+ const { status, data } = await apiInstance.listPHPExtensionsForAWebsiteV1(
140
+ websiteUid
141
+ );
142
+ ```
143
+
144
+ ### Parameters
145
+
146
+ |Name | Type | Description | Notes|
147
+ |------------- | ------------- | ------------- | -------------|
148
+ | **websiteUid** | [**string**] | Agency Plan website UID | defaults to undefined|
149
+
150
+
151
+ ### Return type
152
+
153
+ **Array<AgencyHostingV1PhpExtensionResource>**
154
+
155
+ ### Authorization
156
+
157
+ [apiToken](../README.md#apiToken)
158
+
159
+ ### HTTP request headers
160
+
161
+ - **Content-Type**: Not defined
162
+ - **Accept**: application/json
163
+
164
+
165
+ ### HTTP response details
166
+ | Status code | Description | Response headers |
167
+ |-------------|-------------|------------------|
168
+ |**200** | Success response | - |
169
+ |**401** | Unauthenticated response | - |
170
+ |**500** | Error response | - |
171
+
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
+
174
+ # **listPHPOptionsForAWebsiteV1**
175
+ > Array<AgencyHostingV1PhpOptionResource> listPHPOptionsForAWebsiteV1()
176
+
177
+ Lists the php.ini directives that can be configured for an Agency Plan website, each with its default, the value currently in effect, and the values it accepts.
178
+
179
+ ### Example
180
+
181
+ ```typescript
182
+ import {
183
+ AgencyHostingPHPApi,
184
+ Configuration
185
+ } from 'hostinger-api-sdk';
186
+
187
+ const configuration = new Configuration();
188
+ const apiInstance = new AgencyHostingPHPApi(configuration);
189
+
190
+ let websiteUid: string; //Agency Plan website UID (default to undefined)
191
+
192
+ const { status, data } = await apiInstance.listPHPOptionsForAWebsiteV1(
193
+ websiteUid
194
+ );
195
+ ```
196
+
197
+ ### Parameters
198
+
199
+ |Name | Type | Description | Notes|
200
+ |------------- | ------------- | ------------- | -------------|
201
+ | **websiteUid** | [**string**] | Agency Plan website UID | defaults to undefined|
202
+
203
+
204
+ ### Return type
205
+
206
+ **Array<AgencyHostingV1PhpOptionResource>**
207
+
208
+ ### Authorization
209
+
210
+ [apiToken](../README.md#apiToken)
211
+
212
+ ### HTTP request headers
213
+
214
+ - **Content-Type**: Not defined
215
+ - **Accept**: application/json
216
+
217
+
218
+ ### HTTP response details
219
+ | Status code | Description | Response headers |
220
+ |-------------|-------------|------------------|
221
+ |**200** | Success response | - |
222
+ |**401** | Unauthenticated response | - |
223
+ |**500** | Error response | - |
224
+
225
+ [[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)
226
+
227
+ # **replaceWebsitePHPExtensionsV1**
228
+ > CommonSuccessEmptyResource replaceWebsitePHPExtensionsV1(agencyHostingV1PhpUpdateExtensionsRequest)
229
+
230
+ Replaces the set of PHP extensions enabled on an Agency Plan website with the ones provided. Any toggleable extension not in the request is disabled, so call the extensions endpoint first and send the full desired set. Extensions compiled into PHP, reported with the \"built-in\" state, are always active and are unaffected.
231
+
232
+ ### Example
233
+
234
+ ```typescript
235
+ import {
236
+ AgencyHostingPHPApi,
237
+ Configuration,
238
+ AgencyHostingV1PhpUpdateExtensionsRequest
239
+ } from 'hostinger-api-sdk';
240
+
241
+ const configuration = new Configuration();
242
+ const apiInstance = new AgencyHostingPHPApi(configuration);
243
+
244
+ let websiteUid: string; //Agency Plan website UID (default to undefined)
245
+ let agencyHostingV1PhpUpdateExtensionsRequest: AgencyHostingV1PhpUpdateExtensionsRequest; //
246
+
247
+ const { status, data } = await apiInstance.replaceWebsitePHPExtensionsV1(
248
+ websiteUid,
249
+ agencyHostingV1PhpUpdateExtensionsRequest
250
+ );
251
+ ```
252
+
253
+ ### Parameters
254
+
255
+ |Name | Type | Description | Notes|
256
+ |------------- | ------------- | ------------- | -------------|
257
+ | **agencyHostingV1PhpUpdateExtensionsRequest** | **AgencyHostingV1PhpUpdateExtensionsRequest**| | |
258
+ | **websiteUid** | [**string**] | Agency Plan website UID | defaults to undefined|
259
+
260
+
261
+ ### Return type
262
+
263
+ **CommonSuccessEmptyResource**
264
+
265
+ ### Authorization
266
+
267
+ [apiToken](../README.md#apiToken)
268
+
269
+ ### HTTP request headers
270
+
271
+ - **Content-Type**: application/json
272
+ - **Accept**: application/json
273
+
274
+
275
+ ### HTTP response details
276
+ | Status code | Description | Response headers |
277
+ |-------------|-------------|------------------|
278
+ |**200** | Success empty response | - |
279
+ |**422** | Validation error response | - |
280
+ |**401** | Unauthenticated response | - |
281
+ |**500** | Error response | - |
282
+
283
+ [[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)
284
+
285
+ # **replaceWebsitePHPOptionsV1**
286
+ > CommonSuccessEmptyResource replaceWebsitePHPOptionsV1(agencyHostingV1PhpUpdateOptionsRequest)
287
+
288
+ Replaces the custom php.ini values on an Agency Plan website with the ones provided. Any option not in the request is reset to its default, so call the options endpoint first and send the full desired set. Sending an empty array resets every option to its default.
289
+
290
+ ### Example
291
+
292
+ ```typescript
293
+ import {
294
+ AgencyHostingPHPApi,
295
+ Configuration,
296
+ AgencyHostingV1PhpUpdateOptionsRequest
297
+ } from 'hostinger-api-sdk';
298
+
299
+ const configuration = new Configuration();
300
+ const apiInstance = new AgencyHostingPHPApi(configuration);
301
+
302
+ let websiteUid: string; //Agency Plan website UID (default to undefined)
303
+ let agencyHostingV1PhpUpdateOptionsRequest: AgencyHostingV1PhpUpdateOptionsRequest; //
304
+
305
+ const { status, data } = await apiInstance.replaceWebsitePHPOptionsV1(
306
+ websiteUid,
307
+ agencyHostingV1PhpUpdateOptionsRequest
308
+ );
309
+ ```
310
+
311
+ ### Parameters
312
+
313
+ |Name | Type | Description | Notes|
314
+ |------------- | ------------- | ------------- | -------------|
315
+ | **agencyHostingV1PhpUpdateOptionsRequest** | **AgencyHostingV1PhpUpdateOptionsRequest**| | |
316
+ | **websiteUid** | [**string**] | Agency Plan website UID | defaults to undefined|
317
+
318
+
319
+ ### Return type
320
+
321
+ **CommonSuccessEmptyResource**
322
+
323
+ ### Authorization
324
+
325
+ [apiToken](../README.md#apiToken)
326
+
327
+ ### HTTP request headers
328
+
329
+ - **Content-Type**: application/json
330
+ - **Accept**: application/json
331
+
332
+
333
+ ### HTTP response details
334
+ | Status code | Description | Response headers |
335
+ |-------------|-------------|------------------|
336
+ |**200** | Success empty response | - |
337
+ |**422** | Validation error response | - |
338
+ |**401** | Unauthenticated response | - |
339
+ |**500** | Error response | - |
340
+
341
+ [[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)
342
+
343
+ # **updateWebsitePHPVersionV1**
344
+ > CommonSuccessEmptyResource updateWebsitePHPVersionV1(agencyHostingV1PhpUpdateVersionRequest)
345
+
346
+ Switches an Agency Plan website to a different PHP version. Call the available versions endpoint first to see which versions can be selected. The website restarts on the new version, so requests served during the switch may fail and code that is incompatible with the target version will break.
347
+
348
+ ### Example
349
+
350
+ ```typescript
351
+ import {
352
+ AgencyHostingPHPApi,
353
+ Configuration,
354
+ AgencyHostingV1PhpUpdateVersionRequest
355
+ } from 'hostinger-api-sdk';
356
+
357
+ const configuration = new Configuration();
358
+ const apiInstance = new AgencyHostingPHPApi(configuration);
359
+
360
+ let websiteUid: string; //Agency Plan website UID (default to undefined)
361
+ let agencyHostingV1PhpUpdateVersionRequest: AgencyHostingV1PhpUpdateVersionRequest; //
362
+
363
+ const { status, data } = await apiInstance.updateWebsitePHPVersionV1(
364
+ websiteUid,
365
+ agencyHostingV1PhpUpdateVersionRequest
366
+ );
367
+ ```
368
+
369
+ ### Parameters
370
+
371
+ |Name | Type | Description | Notes|
372
+ |------------- | ------------- | ------------- | -------------|
373
+ | **agencyHostingV1PhpUpdateVersionRequest** | **AgencyHostingV1PhpUpdateVersionRequest**| | |
374
+ | **websiteUid** | [**string**] | Agency Plan website UID | defaults to undefined|
375
+
376
+
377
+ ### Return type
378
+
379
+ **CommonSuccessEmptyResource**
380
+
381
+ ### Authorization
382
+
383
+ [apiToken](../README.md#apiToken)
384
+
385
+ ### HTTP request headers
386
+
387
+ - **Content-Type**: application/json
388
+ - **Accept**: application/json
389
+
390
+
391
+ ### HTTP response details
392
+ | Status code | Description | Response headers |
393
+ |-------------|-------------|------------------|
394
+ |**200** | Success empty response | - |
395
+ |**422** | Validation error response | - |
396
+ |**401** | Unauthenticated response | - |
397
+ |**500** | Error response | - |
398
+
399
+ [[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)
400
+
@@ -0,0 +1,24 @@
1
+ # AgencyHostingV1PhpExtensionResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | PHP extension name. | [optional] [default to undefined]
9
+ **description** | **string** | What the extension provides. | [optional] [default to undefined]
10
+ **state** | **string** | Whether the extension is currently enabled. Extensions in the \&quot;built-in\&quot; state are compiled into PHP and cannot be turned off. | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AgencyHostingV1PhpExtensionResource } from 'hostinger-api-sdk';
16
+
17
+ const instance: AgencyHostingV1PhpExtensionResource = {
18
+ name,
19
+ description,
20
+ state,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,30 @@
1
+ # AgencyHostingV1PhpOptionResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | php.ini directive name. | [optional] [default to undefined]
9
+ **description** | **string** | What the directive controls. | [optional] [default to undefined]
10
+ **default_value** | **string** | Value applied when no custom value is set. | [optional] [default to undefined]
11
+ **allowed_values** | **Array&lt;string&gt;** | Values this option accepts. Null when the option accepts any value of its type. | [optional] [default to undefined]
12
+ **value** | **string** | Value currently in effect for the website. | [optional] [default to undefined]
13
+ **type** | **string** | Whether the option takes a single value or a list of values. | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { AgencyHostingV1PhpOptionResource } from 'hostinger-api-sdk';
19
+
20
+ const instance: AgencyHostingV1PhpOptionResource = {
21
+ name,
22
+ description,
23
+ default_value,
24
+ allowed_values,
25
+ value,
26
+ type,
27
+ };
28
+ ```
29
+
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # AgencyHostingV1PhpUpdateExtensionsRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **extensions** | **Array&lt;string&gt;** | Extension names, exactly as returned by the extensions endpoint. | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { AgencyHostingV1PhpUpdateExtensionsRequest } from 'hostinger-api-sdk';
14
+
15
+ const instance: AgencyHostingV1PhpUpdateExtensionsRequest = {
16
+ extensions,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # AgencyHostingV1PhpUpdateOptionsRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **_options** | [**Array&lt;AgencyHostingV1PhpUpdateOptionsRequestOptionsInner&gt;**](AgencyHostingV1PhpUpdateOptionsRequestOptionsInner.md) | Option names and values. Each name must be one of the options returned by the options endpoint, and each value must satisfy that option\&#39;s allowed_values when it declares them. | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { AgencyHostingV1PhpUpdateOptionsRequest } from 'hostinger-api-sdk';
14
+
15
+ const instance: AgencyHostingV1PhpUpdateOptionsRequest = {
16
+ _options,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # AgencyHostingV1PhpUpdateOptionsRequestOptionsInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | php.ini directive name. | [default to undefined]
9
+ **value** | **string** | Value to apply. | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AgencyHostingV1PhpUpdateOptionsRequestOptionsInner } from 'hostinger-api-sdk';
15
+
16
+ const instance: AgencyHostingV1PhpUpdateOptionsRequestOptionsInner = {
17
+ name,
18
+ value,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # AgencyHostingV1PhpUpdateVersionRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **version** | **string** | PHP version to switch the website to, as major.minor. Must be one of the versions returned by the available versions endpoint. | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { AgencyHostingV1PhpUpdateVersionRequest } from 'hostinger-api-sdk';
14
+
15
+ const instance: AgencyHostingV1PhpUpdateVersionRequest = {
16
+ version,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # AgencyHostingV1PhpVersionResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **version** | **string** | PHP version available for the website. | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { AgencyHostingV1PhpVersionResource } from 'hostinger-api-sdk';
14
+
15
+ const instance: AgencyHostingV1PhpVersionResource = {
16
+ version,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.35.1
6
+ * API Version: 1.36.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.33.1",
3
+ "version": "1.34.0",
4
4
  "description": "Hostinger API TypeScript SDK",
5
5
  "author": "Hostinger",
6
6
  "repository": {