hostinger-api-sdk 3.0.0 → 3.0.2

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 (38) hide show
  1. package/README.md +2 -2
  2. package/api.ts +9 -255
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +8 -245
  7. package/dist/api.js +16 -53
  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 +8 -245
  15. package/dist/esm/api.js +4 -41
  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/VPSV1VirtualMachinePanelPasswordUpdateRequest.md +1 -1
  27. package/docs/VPSV1VirtualMachineRecreateRequest.md +2 -2
  28. package/docs/VPSV1VirtualMachineRootPasswordUpdateRequest.md +1 -1
  29. package/docs/VPSV1VirtualMachineSetupRequest.md +1 -1
  30. package/index.ts +1 -1
  31. package/package.json +1 -1
  32. package/docs/HostingV1NodeJsCreateFromArchiveRequest.md +0 -34
  33. package/docs/HostingV1WebsitesTriggerEventRequest.md +0 -20
  34. package/docs/HostingV1WebsitesTriggerEventRequestEvent.md +0 -23
  35. package/docs/HostingV1WebsitesTriggerEventRequestEventParams.md +0 -21
  36. package/docs/WordPressV1InstallationsWordPressMcpDetailsResource.md +0 -26
  37. package/docs/WordPressV1InstallationsWordPressMcpInstallationResource.md +0 -28
  38. package/docs/WordPressV1McpExecuteMcpToolRequest.md +0 -24
@@ -1,21 +0,0 @@
1
- # HostingV1WebsitesTriggerEventRequestEventParams
2
-
3
- Fields of the event
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **tool** | **string** | Lowercase slug of the AI coding tool. Known slugs: `claude` (Claude Code), `cursor` (Cursor), `codex` (Codex), `vscode` (VS Code), `antigravity` (Antigravity) and `devin` (Devin). For any other tool, send its own slug. | [default to undefined]
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import { HostingV1WebsitesTriggerEventRequestEventParams } from '@hostinger/sdk';
15
-
16
- const instance: HostingV1WebsitesTriggerEventRequestEventParams = {
17
- tool,
18
- };
19
- ```
20
-
21
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,26 +0,0 @@
1
- # WordPressV1InstallationsWordPressMcpDetailsResource
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **token** | **string** | JWT used to authenticate against the installation MCP server | [optional] [default to undefined]
9
- **mcp_url** | **string** | MCP (Model Context Protocol) endpoint URL for the WordPress installation | [optional] [default to undefined]
10
- **expires_in** | **number** | Token lifetime in seconds from the moment it was issued | [optional] [default to undefined]
11
- **expires_at** | **string** | Date-time at which the token expires | [optional] [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { WordPressV1InstallationsWordPressMcpDetailsResource } from '@hostinger/sdk';
17
-
18
- const instance: WordPressV1InstallationsWordPressMcpDetailsResource = {
19
- token,
20
- mcp_url,
21
- expires_in,
22
- expires_at,
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)
@@ -1,28 +0,0 @@
1
- # WordPressV1InstallationsWordPressMcpInstallationResource
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | WordPress installation (software) id | [optional] [default to undefined]
9
- **username** | **string** | Hosting account username | [optional] [default to undefined]
10
- **domain** | **string** | Domain the installation belongs to | [optional] [default to undefined]
11
- **directory** | **string** | Installation directory on the server | [optional] [default to undefined]
12
- **mcp_details** | [**WordPressV1InstallationsWordPressMcpDetailsResource**](WordPressV1InstallationsWordPressMcpDetailsResource.md) | | [optional] [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { WordPressV1InstallationsWordPressMcpInstallationResource } from '@hostinger/sdk';
18
-
19
- const instance: WordPressV1InstallationsWordPressMcpInstallationResource = {
20
- id,
21
- username,
22
- domain,
23
- directory,
24
- mcp_details,
25
- };
26
- ```
27
-
28
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,24 +0,0 @@
1
- # WordPressV1McpExecuteMcpToolRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **tool_name** | **string** | Tool name as returned by the List MCP tools endpoint. | [default to undefined]
9
- **parameters** | **{ [key: string]: any; }** | Tool input matching the input schema returned by the Show MCP tool info endpoint. | [optional] [default to undefined]
10
- **server** | **string** | MCP server exposing the tool. Defaults to the mcp-adapter default server. | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { WordPressV1McpExecuteMcpToolRequest } from '@hostinger/sdk';
16
-
17
- const instance: WordPressV1McpExecuteMcpToolRequest = {
18
- tool_name,
19
- parameters,
20
- server,
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)