hostinger-api-sdk 3.0.1 → 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.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 3.0.1
4
+ * API Version: 3.0.2
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
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 3.0.1
6
+ * API Version: 3.0.2
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
@@ -13,7 +13,7 @@ export class Configuration {
13
13
  var _a;
14
14
  this.accessToken = param.accessToken;
15
15
  this.basePath = param.basePath;
16
- this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/3.0.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
16
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/3.0.2" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
17
17
  this.formDataCtor = param.formDataCtor;
18
18
  }
19
19
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 3.0.1
4
+ * API Version: 3.0.2
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/esm/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 3.0.1
6
+ * API Version: 3.0.2
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: 3.0.1
4
+ * API Version: 3.0.2
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: 3.0.1
7
+ * API Version: 3.0.2
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
package/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 3.0.1
6
+ * API Version: 3.0.2
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": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Hostinger API TypeScript SDK",
5
5
  "author": "Hostinger",
6
6
  "repository": {
@@ -1,34 +0,0 @@
1
- # HostingV1NodeJsCreateFromArchiveRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **archive** | **string** | Project archive file (.zip, .tar.gz, or .tgz), maximum 50MB | [default to undefined]
9
- **node_version** | **number** | Node.js version override (auto-detected from package.json if omitted) | [optional] [default to undefined]
10
- **app_type** | **string** | Node.js application type override | [optional] [default to undefined]
11
- **root_directory** | **string** | Application root directory override (where package.json is located) relative to public_html | [optional] [default to undefined]
12
- **output_directory** | **string** | Build output directory override relative to the root directory | [optional] [default to undefined]
13
- **build_script** | **string** | Build script override | [optional] [default to undefined]
14
- **entry_file** | **string** | Main entry point file override | [optional] [default to undefined]
15
- **package_manager** | **string** | Package manager override | [optional] [default to undefined]
16
-
17
- ## Example
18
-
19
- ```typescript
20
- import { HostingV1NodeJsCreateFromArchiveRequest } from '@hostinger/sdk';
21
-
22
- const instance: HostingV1NodeJsCreateFromArchiveRequest = {
23
- archive,
24
- node_version,
25
- app_type,
26
- root_directory,
27
- output_directory,
28
- build_script,
29
- entry_file,
30
- package_manager,
31
- };
32
- ```
33
-
34
- [[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,20 +0,0 @@
1
- # HostingV1WebsitesTriggerEventRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **event** | [**HostingV1WebsitesTriggerEventRequestEvent**](HostingV1WebsitesTriggerEventRequestEvent.md) | | [default to undefined]
9
-
10
- ## Example
11
-
12
- ```typescript
13
- import { HostingV1WebsitesTriggerEventRequest } from '@hostinger/sdk';
14
-
15
- const instance: HostingV1WebsitesTriggerEventRequest = {
16
- event,
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)
@@ -1,23 +0,0 @@
1
- # HostingV1WebsitesTriggerEventRequestEvent
2
-
3
- Event to trigger; `name` decides which `params` it takes
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **name** | **string** | Name of the event: - `headless_onboarding.tool.connected`: an AI coding tool started building this website with the Hostinger headless skill. Takes `params.tool`. | [default to undefined]
10
- **params** | [**HostingV1WebsitesTriggerEventRequestEventParams**](HostingV1WebsitesTriggerEventRequestEventParams.md) | | [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { HostingV1WebsitesTriggerEventRequestEvent } from '@hostinger/sdk';
16
-
17
- const instance: HostingV1WebsitesTriggerEventRequestEvent = {
18
- name,
19
- params,
20
- };
21
- ```
22
-
23
- [[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,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)