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.
- package/README.md +2 -2
- package/api.ts +1917 -85
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +1112 -57
- package/dist/api.js +1545 -90
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +1112 -57
- package/dist/esm/api.js +1516 -82
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/WordPressAIToolsApi.md +129 -0
- package/docs/WordPressInstallationsApi.md +408 -0
- package/docs/WordPressLiteSpeedCacheApi.md +121 -0
- package/docs/WordPressLoginApi.md +64 -0
- package/docs/WordPressMaintenanceApi.md +126 -0
- package/docs/WordPressObjectCacheApi.md +126 -0
- package/docs/WordPressV1HostingerPluginsAiOptionStatusResource.md +22 -0
- package/docs/WordPressV1HostingerPluginsUpdateAiOptionStatusRequest.md +22 -0
- package/docs/WordPressV1InstallationsCheckIsValidRequest.md +22 -0
- package/docs/WordPressV1InstallationsCheckIsValidResultResource.md +22 -0
- package/docs/WordPressV1InstallationsDeleteInstallationRequest.md +22 -0
- package/docs/WordPressV1InstallationsJwtTokenResource.md +26 -0
- package/docs/WordPressV1InstallationsUpdateInstallationRequest.md +22 -0
- package/docs/WordPressV1InstallationsUpdateResource.md +24 -0
- package/docs/WordPressV1InstallationsVersionResource.md +22 -0
- package/docs/WordPressV1LitespeedLitespeedCacheStatusResource.md +22 -0
- package/docs/WordPressV1LoginLoginLinksResource.md +24 -0
- package/docs/WordPressV1MaintenanceMaintenanceStatusResource.md +20 -0
- package/docs/WordPressV1MaintenanceToggleMaintenanceRequest.md +20 -0
- package/docs/WordPressV1MemcachedMemcachedStatusResource.md +20 -0
- package/docs/WordPressV1MemcachedToggleMemcachedRequest.md +20 -0
- package/index.ts +1 -1
- 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.
|
|
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
|