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,24 @@
1
+ # WordPressV1LoginLoginLinksResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **login** | **string** | Primary auto-login URL for the WordPress installation | [optional] [default to undefined]
9
+ **fallback** | **string** | Fallback auto-login URL using the temporary Hostinger domain | [optional] [default to undefined]
10
+ **_default** | **string** | Default WordPress admin URL used when auto-login is unavailable | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { WordPressV1LoginLoginLinksResource } from 'hostinger-api-sdk';
16
+
17
+ const instance: WordPressV1LoginLoginLinksResource = {
18
+ login,
19
+ fallback,
20
+ _default,
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,20 @@
1
+ # WordPressV1MaintenanceMaintenanceStatusResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **status** | **string** | Current maintenance mode status for the WordPress installation | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { WordPressV1MaintenanceMaintenanceStatusResource } from 'hostinger-api-sdk';
14
+
15
+ const instance: WordPressV1MaintenanceMaintenanceStatusResource = {
16
+ status,
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
+ # WordPressV1MaintenanceToggleMaintenanceRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **enabled** | **boolean** | Enable (true) or disable (false) maintenance mode for the WordPress installation. | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { WordPressV1MaintenanceToggleMaintenanceRequest } from 'hostinger-api-sdk';
14
+
15
+ const instance: WordPressV1MaintenanceToggleMaintenanceRequest = {
16
+ enabled,
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
+ # WordPressV1MemcachedMemcachedStatusResource
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **status** | **string** | Current Memcached object cache status for the WordPress installation | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { WordPressV1MemcachedMemcachedStatusResource } from 'hostinger-api-sdk';
14
+
15
+ const instance: WordPressV1MemcachedMemcachedStatusResource = {
16
+ status,
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
+ # WordPressV1MemcachedToggleMemcachedRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **enabled** | **boolean** | Activate (true) or deactivate (false) the Memcached object cache for the WordPress installation. | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { WordPressV1MemcachedToggleMemcachedRequest } from 'hostinger-api-sdk';
14
+
15
+ const instance: WordPressV1MemcachedToggleMemcachedRequest = {
16
+ enabled,
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.2.1
6
+ * API Version: 1.3.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.2.1",
3
+ "version": "1.3.0",
4
4
  "description": "Hostinger API TypeScript SDK",
5
5
  "author": "Hostinger",
6
6
  "repository": {