hostinger-api-sdk 1.2.1 → 1.3.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 (48) hide show
  1. package/README.md +2 -2
  2. package/api.ts +1917 -85
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +1112 -57
  7. package/dist/api.js +1545 -90
  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 +1112 -57
  15. package/dist/esm/api.js +1516 -82
  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/WordPressAIToolsApi.md +129 -0
  27. package/docs/WordPressInstallationsApi.md +408 -0
  28. package/docs/WordPressLiteSpeedCacheApi.md +121 -0
  29. package/docs/WordPressLoginApi.md +64 -0
  30. package/docs/WordPressMaintenanceApi.md +126 -0
  31. package/docs/WordPressObjectCacheApi.md +126 -0
  32. package/docs/WordPressV1HostingerPluginsAiOptionStatusResource.md +22 -0
  33. package/docs/WordPressV1HostingerPluginsUpdateAiOptionStatusRequest.md +22 -0
  34. package/docs/WordPressV1InstallationsCheckIsValidRequest.md +22 -0
  35. package/docs/WordPressV1InstallationsCheckIsValidResultResource.md +22 -0
  36. package/docs/WordPressV1InstallationsDeleteInstallationRequest.md +22 -0
  37. package/docs/WordPressV1InstallationsJwtTokenResource.md +26 -0
  38. package/docs/WordPressV1InstallationsUpdateInstallationRequest.md +22 -0
  39. package/docs/WordPressV1InstallationsUpdateResource.md +24 -0
  40. package/docs/WordPressV1InstallationsVersionResource.md +22 -0
  41. package/docs/WordPressV1LitespeedLitespeedCacheStatusResource.md +22 -0
  42. package/docs/WordPressV1LoginLoginLinksResource.md +24 -0
  43. package/docs/WordPressV1MaintenanceMaintenanceStatusResource.md +20 -0
  44. package/docs/WordPressV1MaintenanceToggleMaintenanceRequest.md +20 -0
  45. package/docs/WordPressV1MemcachedMemcachedStatusResource.md +20 -0
  46. package/docs/WordPressV1MemcachedToggleMemcachedRequest.md +20 -0
  47. package/index.ts +1 -1
  48. package/package.json +1 -1
@@ -0,0 +1,121 @@
1
+ # WordPressLiteSpeedCacheApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**purgeLiteSpeedCacheV1**](#purgelitespeedcachev1) | **POST** /api/hosting/v1/accounts/{username}/wordpress/{software}/litespeed-cache/purge | Purge LiteSpeed Cache|
8
+ |[**showLiteSpeedCacheStatusV1**](#showlitespeedcachestatusv1) | **GET** /api/hosting/v1/accounts/{username}/wordpress/{software}/litespeed-cache/status | Show LiteSpeed Cache status|
9
+
10
+ # **purgeLiteSpeedCacheV1**
11
+ > CommonSuccessEmptyResource purgeLiteSpeedCacheV1()
12
+
13
+ Purge the LiteSpeed Cache for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ WordPressLiteSpeedCacheApi,
20
+ Configuration
21
+ } from 'hostinger-api-sdk';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new WordPressLiteSpeedCacheApi(configuration);
25
+
26
+ let username: string; // (default to undefined)
27
+ let software: string; //WordPress installation (software) identifier (default to undefined)
28
+
29
+ const { status, data } = await apiInstance.purgeLiteSpeedCacheV1(
30
+ username,
31
+ software
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **username** | [**string**] | | defaults to undefined|
40
+ | **software** | [**string**] | WordPress installation (software) identifier | defaults to undefined|
41
+
42
+
43
+ ### Return type
44
+
45
+ **CommonSuccessEmptyResource**
46
+
47
+ ### Authorization
48
+
49
+ [apiToken](../README.md#apiToken)
50
+
51
+ ### HTTP request headers
52
+
53
+ - **Content-Type**: Not defined
54
+ - **Accept**: application/json
55
+
56
+
57
+ ### HTTP response details
58
+ | Status code | Description | Response headers |
59
+ |-------------|-------------|------------------|
60
+ |**200** | Success empty response | - |
61
+ |**401** | Unauthenticated response | - |
62
+ |**500** | Error response | - |
63
+
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
+
66
+ # **showLiteSpeedCacheStatusV1**
67
+ > WordPressV1LitespeedLitespeedCacheStatusResource showLiteSpeedCacheStatusV1()
68
+
69
+ Show the LiteSpeed Cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
70
+
71
+ ### Example
72
+
73
+ ```typescript
74
+ import {
75
+ WordPressLiteSpeedCacheApi,
76
+ Configuration
77
+ } from 'hostinger-api-sdk';
78
+
79
+ const configuration = new Configuration();
80
+ const apiInstance = new WordPressLiteSpeedCacheApi(configuration);
81
+
82
+ let username: string; // (default to undefined)
83
+ let software: string; //WordPress installation (software) identifier (default to undefined)
84
+
85
+ const { status, data } = await apiInstance.showLiteSpeedCacheStatusV1(
86
+ username,
87
+ software
88
+ );
89
+ ```
90
+
91
+ ### Parameters
92
+
93
+ |Name | Type | Description | Notes|
94
+ |------------- | ------------- | ------------- | -------------|
95
+ | **username** | [**string**] | | defaults to undefined|
96
+ | **software** | [**string**] | WordPress installation (software) identifier | defaults to undefined|
97
+
98
+
99
+ ### Return type
100
+
101
+ **WordPressV1LitespeedLitespeedCacheStatusResource**
102
+
103
+ ### Authorization
104
+
105
+ [apiToken](../README.md#apiToken)
106
+
107
+ ### HTTP request headers
108
+
109
+ - **Content-Type**: Not defined
110
+ - **Accept**: application/json
111
+
112
+
113
+ ### HTTP response details
114
+ | Status code | Description | Response headers |
115
+ |-------------|-------------|------------------|
116
+ |**200** | Success response | - |
117
+ |**401** | Unauthenticated response | - |
118
+ |**500** | Error response | - |
119
+
120
+ [[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)
121
+
@@ -0,0 +1,64 @@
1
+ # WordPressLoginApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createLoginLinksV1**](#createloginlinksv1) | **POST** /api/hosting/v1/accounts/{username}/wordpress/{software}/login/links | Create login links|
8
+
9
+ # **createLoginLinksV1**
10
+ > WordPressV1LoginLoginLinksResource createLoginLinksV1()
11
+
12
+ Create temporary auto-login links for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ WordPressLoginApi,
19
+ Configuration
20
+ } from 'hostinger-api-sdk';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new WordPressLoginApi(configuration);
24
+
25
+ let username: string; // (default to undefined)
26
+ let software: string; //WordPress installation (software) identifier (default to undefined)
27
+
28
+ const { status, data } = await apiInstance.createLoginLinksV1(
29
+ username,
30
+ software
31
+ );
32
+ ```
33
+
34
+ ### Parameters
35
+
36
+ |Name | Type | Description | Notes|
37
+ |------------- | ------------- | ------------- | -------------|
38
+ | **username** | [**string**] | | defaults to undefined|
39
+ | **software** | [**string**] | WordPress installation (software) identifier | defaults to undefined|
40
+
41
+
42
+ ### Return type
43
+
44
+ **WordPressV1LoginLoginLinksResource**
45
+
46
+ ### Authorization
47
+
48
+ [apiToken](../README.md#apiToken)
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: Not defined
53
+ - **Accept**: application/json
54
+
55
+
56
+ ### HTTP response details
57
+ | Status code | Description | Response headers |
58
+ |-------------|-------------|------------------|
59
+ |**200** | Success response | - |
60
+ |**401** | Unauthenticated response | - |
61
+ |**500** | Error response | - |
62
+
63
+ [[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)
64
+
@@ -0,0 +1,126 @@
1
+ # WordPressMaintenanceApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**showMaintenanceStatusV1**](#showmaintenancestatusv1) | **GET** /api/hosting/v1/accounts/{username}/wordpress/{software}/maintenance/status | Show maintenance status|
8
+ |[**toggleMaintenanceModeV1**](#togglemaintenancemodev1) | **PATCH** /api/hosting/v1/accounts/{username}/wordpress/{software}/maintenance/toggle | Toggle maintenance mode|
9
+
10
+ # **showMaintenanceStatusV1**
11
+ > WordPressV1MaintenanceMaintenanceStatusResource showMaintenanceStatusV1()
12
+
13
+ Show the maintenance mode status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ WordPressMaintenanceApi,
20
+ Configuration
21
+ } from 'hostinger-api-sdk';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new WordPressMaintenanceApi(configuration);
25
+
26
+ let username: string; // (default to undefined)
27
+ let software: string; //WordPress installation (software) identifier (default to undefined)
28
+
29
+ const { status, data } = await apiInstance.showMaintenanceStatusV1(
30
+ username,
31
+ software
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **username** | [**string**] | | defaults to undefined|
40
+ | **software** | [**string**] | WordPress installation (software) identifier | defaults to undefined|
41
+
42
+
43
+ ### Return type
44
+
45
+ **WordPressV1MaintenanceMaintenanceStatusResource**
46
+
47
+ ### Authorization
48
+
49
+ [apiToken](../README.md#apiToken)
50
+
51
+ ### HTTP request headers
52
+
53
+ - **Content-Type**: Not defined
54
+ - **Accept**: application/json
55
+
56
+
57
+ ### HTTP response details
58
+ | Status code | Description | Response headers |
59
+ |-------------|-------------|------------------|
60
+ |**200** | Success response | - |
61
+ |**401** | Unauthenticated response | - |
62
+ |**500** | Error response | - |
63
+
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
+
66
+ # **toggleMaintenanceModeV1**
67
+ > CommonSuccessEmptyResource toggleMaintenanceModeV1(wordPressV1MaintenanceToggleMaintenanceRequest)
68
+
69
+ Enable or disable maintenance mode for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
70
+
71
+ ### Example
72
+
73
+ ```typescript
74
+ import {
75
+ WordPressMaintenanceApi,
76
+ Configuration,
77
+ WordPressV1MaintenanceToggleMaintenanceRequest
78
+ } from 'hostinger-api-sdk';
79
+
80
+ const configuration = new Configuration();
81
+ const apiInstance = new WordPressMaintenanceApi(configuration);
82
+
83
+ let username: string; // (default to undefined)
84
+ let software: string; //WordPress installation (software) identifier (default to undefined)
85
+ let wordPressV1MaintenanceToggleMaintenanceRequest: WordPressV1MaintenanceToggleMaintenanceRequest; //
86
+
87
+ const { status, data } = await apiInstance.toggleMaintenanceModeV1(
88
+ username,
89
+ software,
90
+ wordPressV1MaintenanceToggleMaintenanceRequest
91
+ );
92
+ ```
93
+
94
+ ### Parameters
95
+
96
+ |Name | Type | Description | Notes|
97
+ |------------- | ------------- | ------------- | -------------|
98
+ | **wordPressV1MaintenanceToggleMaintenanceRequest** | **WordPressV1MaintenanceToggleMaintenanceRequest**| | |
99
+ | **username** | [**string**] | | defaults to undefined|
100
+ | **software** | [**string**] | WordPress installation (software) identifier | defaults to undefined|
101
+
102
+
103
+ ### Return type
104
+
105
+ **CommonSuccessEmptyResource**
106
+
107
+ ### Authorization
108
+
109
+ [apiToken](../README.md#apiToken)
110
+
111
+ ### HTTP request headers
112
+
113
+ - **Content-Type**: application/json
114
+ - **Accept**: application/json
115
+
116
+
117
+ ### HTTP response details
118
+ | Status code | Description | Response headers |
119
+ |-------------|-------------|------------------|
120
+ |**200** | Success empty response | - |
121
+ |**422** | Validation error response | - |
122
+ |**401** | Unauthenticated response | - |
123
+ |**500** | Error response | - |
124
+
125
+ [[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)
126
+
@@ -0,0 +1,126 @@
1
+ # WordPressObjectCacheApi
2
+
3
+ All URIs are relative to *https://developers.hostinger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**showMemcachedObjectCacheStatusV1**](#showmemcachedobjectcachestatusv1) | **GET** /api/hosting/v1/accounts/{username}/wordpress/{software}/memcached/status | Show Memcached object cache status|
8
+ |[**toggleMemcachedObjectCacheV1**](#togglememcachedobjectcachev1) | **PATCH** /api/hosting/v1/accounts/{username}/wordpress/{software}/memcached/toggle | Toggle Memcached object cache|
9
+
10
+ # **showMemcachedObjectCacheStatusV1**
11
+ > WordPressV1MemcachedMemcachedStatusResource showMemcachedObjectCacheStatusV1()
12
+
13
+ Show the Memcached object cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ WordPressObjectCacheApi,
20
+ Configuration
21
+ } from 'hostinger-api-sdk';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new WordPressObjectCacheApi(configuration);
25
+
26
+ let username: string; // (default to undefined)
27
+ let software: string; //WordPress installation (software) identifier (default to undefined)
28
+
29
+ const { status, data } = await apiInstance.showMemcachedObjectCacheStatusV1(
30
+ username,
31
+ software
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **username** | [**string**] | | defaults to undefined|
40
+ | **software** | [**string**] | WordPress installation (software) identifier | defaults to undefined|
41
+
42
+
43
+ ### Return type
44
+
45
+ **WordPressV1MemcachedMemcachedStatusResource**
46
+
47
+ ### Authorization
48
+
49
+ [apiToken](../README.md#apiToken)
50
+
51
+ ### HTTP request headers
52
+
53
+ - **Content-Type**: Not defined
54
+ - **Accept**: application/json
55
+
56
+
57
+ ### HTTP response details
58
+ | Status code | Description | Response headers |
59
+ |-------------|-------------|------------------|
60
+ |**200** | Success response | - |
61
+ |**401** | Unauthenticated response | - |
62
+ |**500** | Error response | - |
63
+
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
+
66
+ # **toggleMemcachedObjectCacheV1**
67
+ > CommonSuccessEmptyResource toggleMemcachedObjectCacheV1(wordPressV1MemcachedToggleMemcachedRequest)
68
+
69
+ Activate or deactivate the Memcached object cache for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
70
+
71
+ ### Example
72
+
73
+ ```typescript
74
+ import {
75
+ WordPressObjectCacheApi,
76
+ Configuration,
77
+ WordPressV1MemcachedToggleMemcachedRequest
78
+ } from 'hostinger-api-sdk';
79
+
80
+ const configuration = new Configuration();
81
+ const apiInstance = new WordPressObjectCacheApi(configuration);
82
+
83
+ let username: string; // (default to undefined)
84
+ let software: string; //WordPress installation (software) identifier (default to undefined)
85
+ let wordPressV1MemcachedToggleMemcachedRequest: WordPressV1MemcachedToggleMemcachedRequest; //
86
+
87
+ const { status, data } = await apiInstance.toggleMemcachedObjectCacheV1(
88
+ username,
89
+ software,
90
+ wordPressV1MemcachedToggleMemcachedRequest
91
+ );
92
+ ```
93
+
94
+ ### Parameters
95
+
96
+ |Name | Type | Description | Notes|
97
+ |------------- | ------------- | ------------- | -------------|
98
+ | **wordPressV1MemcachedToggleMemcachedRequest** | **WordPressV1MemcachedToggleMemcachedRequest**| | |
99
+ | **username** | [**string**] | | defaults to undefined|
100
+ | **software** | [**string**] | WordPress installation (software) identifier | defaults to undefined|
101
+
102
+
103
+ ### Return type
104
+
105
+ **CommonSuccessEmptyResource**
106
+
107
+ ### Authorization
108
+
109
+ [apiToken](../README.md#apiToken)
110
+
111
+ ### HTTP request headers
112
+
113
+ - **Content-Type**: application/json
114
+ - **Accept**: application/json
115
+
116
+
117
+ ### HTTP response details
118
+ | Status code | Description | Response headers |
119
+ |-------------|-------------|------------------|
120
+ |**200** | Success empty response | - |
121
+ |**422** | Validation error response | - |
122
+ |**401** | Unauthenticated response | - |
123
+ |**500** | Error response | - |
124
+
125
+ [[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)
126
+
@@ -0,0 +1,22 @@
1
+ # WordPressV1HostingerPluginsAiOptionStatusResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **is_llmstxt_enabled** | **boolean** | Whether the llms.txt AI option is enabled. Present when the option is requested or when no specific option filter is provided. | [optional] [default to undefined]
9
+ **is_web2agent_enabled** | **boolean** | Whether the Web2Agent AI option is enabled. Present when the option is requested or when no specific option filter is provided. | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { WordPressV1HostingerPluginsAiOptionStatusResource } from 'hostinger-api-sdk';
15
+
16
+ const instance: WordPressV1HostingerPluginsAiOptionStatusResource = {
17
+ is_llmstxt_enabled,
18
+ is_web2agent_enabled,
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,22 @@
1
+ # WordPressV1HostingerPluginsUpdateAiOptionStatusRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **option** | **string** | AI option name | [default to undefined]
9
+ **enable** | **boolean** | Enable (true) or disable (false) the AI option. | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { WordPressV1HostingerPluginsUpdateAiOptionStatusRequest } from 'hostinger-api-sdk';
15
+
16
+ const instance: WordPressV1HostingerPluginsUpdateAiOptionStatusRequest = {
17
+ option,
18
+ enable,
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,22 @@
1
+ # WordPressV1InstallationsCheckIsValidRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **software_ids** | **Array<string>** | WordPress installation (software) identifiers to validate. | [default to undefined]
9
+ **force** | **boolean** | Force fresh validation without cache. Preferable for troubleshooting purposes. | [optional] [default to false]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { WordPressV1InstallationsCheckIsValidRequest } from 'hostinger-api-sdk';
15
+
16
+ const instance: WordPressV1InstallationsCheckIsValidRequest = {
17
+ software_ids,
18
+ force,
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,22 @@
1
+ # WordPressV1InstallationsCheckIsValidResultResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **software_id** | **string** | WordPress installation (software) identifier | [optional] [default to undefined]
9
+ **is_valid** | **boolean** | Whether the WordPress installation is valid and working correctly | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { WordPressV1InstallationsCheckIsValidResultResource } from 'hostinger-api-sdk';
15
+
16
+ const instance: WordPressV1InstallationsCheckIsValidResultResource = {
17
+ software_id,
18
+ is_valid,
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,22 @@
1
+ # WordPressV1InstallationsDeleteInstallationRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **delete_files** | **boolean** | Delete installation files from disk. | [optional] [default to false]
9
+ **delete_database** | **boolean** | Delete the installation database. | [optional] [default to false]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { WordPressV1InstallationsDeleteInstallationRequest } from 'hostinger-api-sdk';
15
+
16
+ const instance: WordPressV1InstallationsDeleteInstallationRequest = {
17
+ delete_files,
18
+ delete_database,
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,26 @@
1
+ # WordPressV1InstallationsJwtTokenResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **token** | **string** | Signed JWT used to authenticate requests against the WordPress installation | [optional] [default to undefined]
9
+ **expires_in** | **number** | Token lifetime in seconds from the moment it was issued | [optional] [default to undefined]
10
+ **expires_at** | **string** | Date-time at which the token expires, or null when not provided | [optional] [default to undefined]
11
+ **mcp_url** | **string** | MCP (Model Context Protocol) endpoint URL for the WordPress installation, or null when not provided | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { WordPressV1InstallationsJwtTokenResource } from 'hostinger-api-sdk';
17
+
18
+ const instance: WordPressV1InstallationsJwtTokenResource = {
19
+ token,
20
+ expires_in,
21
+ expires_at,
22
+ mcp_url,
23
+ };
24
+ ```
25
+
26
+ [[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
+ # WordPressV1InstallationsUpdateInstallationRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **minor** | **boolean** | Update the minor version only. | [optional] [default to false]
9
+ **version** | **string** | Update to a specific WordPress core version. | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { WordPressV1InstallationsUpdateInstallationRequest } from 'hostinger-api-sdk';
15
+
16
+ const instance: WordPressV1InstallationsUpdateInstallationRequest = {
17
+ minor,
18
+ version,
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,24 @@
1
+ # WordPressV1InstallationsUpdateResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **version** | **string** | Available WordPress core version | [optional] [default to undefined]
9
+ **type** | **string** | Update type | [optional] [default to undefined]
10
+ **url** | **string** | Download URL for the update package | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { WordPressV1InstallationsUpdateResource } from 'hostinger-api-sdk';
16
+
17
+ const instance: WordPressV1InstallationsUpdateResource = {
18
+ version,
19
+ type,
20
+ url,
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,22 @@
1
+ # WordPressV1InstallationsVersionResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **version** | **string** | Installed WordPress core version | [optional] [default to undefined]
9
+ **vulnerabilities** | [**Array<WordPressV1CommonVulnerabilityResource>**](WordPressV1CommonVulnerabilityResource.md) | Known vulnerabilities affecting the installed core version | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { WordPressV1InstallationsVersionResource } from 'hostinger-api-sdk';
15
+
16
+ const instance: WordPressV1InstallationsVersionResource = {
17
+ version,
18
+ vulnerabilities,
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,22 @@
1
+ # WordPressV1LitespeedLitespeedCacheStatusResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **is_installed** | **boolean** | Whether the LiteSpeed Cache plugin is installed on the WordPress installation | [optional] [default to undefined]
9
+ **is_active** | **boolean** | Whether the LiteSpeed Cache plugin is active on the WordPress installation | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { WordPressV1LitespeedLitespeedCacheStatusResource } from 'hostinger-api-sdk';
15
+
16
+ const instance: WordPressV1LitespeedLitespeedCacheStatusResource = {
17
+ is_installed,
18
+ is_active,
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)