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.
- package/README.md +2 -2
- package/api.ts +1 -249
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +1 -240
- package/dist/api.js +13 -52
- 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 +1 -240
- package/dist/esm/api.js +1 -40
- 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/index.ts +1 -1
- package/package.json +1 -1
- package/docs/HostingV1NodeJsCreateFromArchiveRequest.md +0 -34
- package/docs/HostingV1WebsitesTriggerEventRequest.md +0 -20
- package/docs/HostingV1WebsitesTriggerEventRequestEvent.md +0 -23
- package/docs/HostingV1WebsitesTriggerEventRequestEventParams.md +0 -21
- package/docs/WordPressV1InstallationsWordPressMcpDetailsResource.md +0 -26
- package/docs/WordPressV1InstallationsWordPressMcpInstallationResource.md +0 -28
- package/docs/WordPressV1McpExecuteMcpToolRequest.md +0 -24
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## @hostinger/sdk@3.0.
|
|
1
|
+
## @hostinger/sdk@3.0.2
|
|
2
2
|
|
|
3
3
|
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
|
|
4
4
|
|
|
5
5
|
### Usage
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
npm install @hostinger/sdk@3.0.
|
|
8
|
+
npm install @hostinger/sdk@3.0.2 --save
|
|
9
9
|
```
|
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.0.
|
|
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
|
|
@@ -9661,101 +9661,6 @@ export const HostingV1NodeJsBuildSettingsResourcePackageManagerEnum = {
|
|
|
9661
9661
|
|
|
9662
9662
|
export type HostingV1NodeJsBuildSettingsResourcePackageManagerEnum = typeof HostingV1NodeJsBuildSettingsResourcePackageManagerEnum[keyof typeof HostingV1NodeJsBuildSettingsResourcePackageManagerEnum];
|
|
9663
9663
|
|
|
9664
|
-
/**
|
|
9665
|
-
*
|
|
9666
|
-
* @export
|
|
9667
|
-
* @interface HostingV1NodeJsCreateFromArchiveRequest
|
|
9668
|
-
*/
|
|
9669
|
-
export interface HostingV1NodeJsCreateFromArchiveRequest {
|
|
9670
|
-
/**
|
|
9671
|
-
* Project archive file (.zip, .tar.gz, or .tgz), maximum 50MB
|
|
9672
|
-
* @type {string}
|
|
9673
|
-
* @memberof HostingV1NodeJsCreateFromArchiveRequest
|
|
9674
|
-
*/
|
|
9675
|
-
'archive': string;
|
|
9676
|
-
/**
|
|
9677
|
-
* Node.js version override (auto-detected from package.json if omitted)
|
|
9678
|
-
* @type {number}
|
|
9679
|
-
* @memberof HostingV1NodeJsCreateFromArchiveRequest
|
|
9680
|
-
*/
|
|
9681
|
-
'node_version': HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum | null;
|
|
9682
|
-
/**
|
|
9683
|
-
* Node.js application type override
|
|
9684
|
-
* @type {string}
|
|
9685
|
-
* @memberof HostingV1NodeJsCreateFromArchiveRequest
|
|
9686
|
-
*/
|
|
9687
|
-
'app_type': HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum | null;
|
|
9688
|
-
/**
|
|
9689
|
-
* Application root directory override (where package.json is located) relative to public_html
|
|
9690
|
-
* @type {string}
|
|
9691
|
-
* @memberof HostingV1NodeJsCreateFromArchiveRequest
|
|
9692
|
-
*/
|
|
9693
|
-
'root_directory': string | null;
|
|
9694
|
-
/**
|
|
9695
|
-
* Build output directory override relative to the root directory
|
|
9696
|
-
* @type {string}
|
|
9697
|
-
* @memberof HostingV1NodeJsCreateFromArchiveRequest
|
|
9698
|
-
*/
|
|
9699
|
-
'output_directory': string | null;
|
|
9700
|
-
/**
|
|
9701
|
-
* Build script override
|
|
9702
|
-
* @type {string}
|
|
9703
|
-
* @memberof HostingV1NodeJsCreateFromArchiveRequest
|
|
9704
|
-
*/
|
|
9705
|
-
'build_script': string | null;
|
|
9706
|
-
/**
|
|
9707
|
-
* Main entry point file override
|
|
9708
|
-
* @type {string}
|
|
9709
|
-
* @memberof HostingV1NodeJsCreateFromArchiveRequest
|
|
9710
|
-
*/
|
|
9711
|
-
'entry_file': string | null;
|
|
9712
|
-
/**
|
|
9713
|
-
* Package manager override
|
|
9714
|
-
* @type {string}
|
|
9715
|
-
* @memberof HostingV1NodeJsCreateFromArchiveRequest
|
|
9716
|
-
*/
|
|
9717
|
-
'package_manager': HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum | null;
|
|
9718
|
-
}
|
|
9719
|
-
|
|
9720
|
-
export const HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum = {
|
|
9721
|
-
NUMBER_18: 18,
|
|
9722
|
-
NUMBER_20: 20,
|
|
9723
|
-
NUMBER_22: 22,
|
|
9724
|
-
NUMBER_24: 24
|
|
9725
|
-
} as const;
|
|
9726
|
-
|
|
9727
|
-
export type HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum = typeof HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum[keyof typeof HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum];
|
|
9728
|
-
export const HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum = {
|
|
9729
|
-
CreateReactApp: 'create-react-app',
|
|
9730
|
-
Gatsby: 'gatsby',
|
|
9731
|
-
Vite: 'vite',
|
|
9732
|
-
Angular: 'angular',
|
|
9733
|
-
React: 'react',
|
|
9734
|
-
Vue: 'vue',
|
|
9735
|
-
Parcel: 'parcel',
|
|
9736
|
-
Next: 'next',
|
|
9737
|
-
Nuxt: 'nuxt',
|
|
9738
|
-
Nest: 'nest',
|
|
9739
|
-
Express: 'express',
|
|
9740
|
-
Fastify: 'fastify',
|
|
9741
|
-
Astro: 'astro',
|
|
9742
|
-
Svelte: 'svelte',
|
|
9743
|
-
SvelteKit: 'svelte-kit',
|
|
9744
|
-
Hono: 'hono',
|
|
9745
|
-
ReactRouter: 'react-router',
|
|
9746
|
-
Nitro: 'nitro',
|
|
9747
|
-
Other: 'other'
|
|
9748
|
-
} as const;
|
|
9749
|
-
|
|
9750
|
-
export type HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum = typeof HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum[keyof typeof HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum];
|
|
9751
|
-
export const HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = {
|
|
9752
|
-
Npm: 'npm',
|
|
9753
|
-
Yarn: 'yarn',
|
|
9754
|
-
Pnpm: 'pnpm'
|
|
9755
|
-
} as const;
|
|
9756
|
-
|
|
9757
|
-
export type HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = typeof HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum[keyof typeof HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum];
|
|
9758
|
-
|
|
9759
9664
|
/**
|
|
9760
9665
|
*
|
|
9761
9666
|
* @export
|
|
@@ -11251,58 +11156,6 @@ export interface HostingV1WebsitesDeployArchiveRequest {
|
|
|
11251
11156
|
*/
|
|
11252
11157
|
'archive_path': string;
|
|
11253
11158
|
}
|
|
11254
|
-
/**
|
|
11255
|
-
*
|
|
11256
|
-
* @export
|
|
11257
|
-
* @interface HostingV1WebsitesTriggerEventRequest
|
|
11258
|
-
*/
|
|
11259
|
-
export interface HostingV1WebsitesTriggerEventRequest {
|
|
11260
|
-
/**
|
|
11261
|
-
*
|
|
11262
|
-
* @type {HostingV1WebsitesTriggerEventRequestEvent}
|
|
11263
|
-
* @memberof HostingV1WebsitesTriggerEventRequest
|
|
11264
|
-
*/
|
|
11265
|
-
'event': HostingV1WebsitesTriggerEventRequestEvent;
|
|
11266
|
-
}
|
|
11267
|
-
/**
|
|
11268
|
-
* Event to trigger; `name` decides which `params` it takes
|
|
11269
|
-
* @export
|
|
11270
|
-
* @interface HostingV1WebsitesTriggerEventRequestEvent
|
|
11271
|
-
*/
|
|
11272
|
-
export interface HostingV1WebsitesTriggerEventRequestEvent {
|
|
11273
|
-
/**
|
|
11274
|
-
* Name of the event: - `headless_onboarding.tool.connected`: an AI coding tool started building this website with the Hostinger headless skill. Takes `params.tool`.
|
|
11275
|
-
* @type {string}
|
|
11276
|
-
* @memberof HostingV1WebsitesTriggerEventRequestEvent
|
|
11277
|
-
*/
|
|
11278
|
-
'name': HostingV1WebsitesTriggerEventRequestEventNameEnum;
|
|
11279
|
-
/**
|
|
11280
|
-
*
|
|
11281
|
-
* @type {HostingV1WebsitesTriggerEventRequestEventParams}
|
|
11282
|
-
* @memberof HostingV1WebsitesTriggerEventRequestEvent
|
|
11283
|
-
*/
|
|
11284
|
-
'params': HostingV1WebsitesTriggerEventRequestEventParams;
|
|
11285
|
-
}
|
|
11286
|
-
|
|
11287
|
-
export const HostingV1WebsitesTriggerEventRequestEventNameEnum = {
|
|
11288
|
-
HeadlessOnboardingToolConnected: 'headless_onboarding.tool.connected'
|
|
11289
|
-
} as const;
|
|
11290
|
-
|
|
11291
|
-
export type HostingV1WebsitesTriggerEventRequestEventNameEnum = typeof HostingV1WebsitesTriggerEventRequestEventNameEnum[keyof typeof HostingV1WebsitesTriggerEventRequestEventNameEnum];
|
|
11292
|
-
|
|
11293
|
-
/**
|
|
11294
|
-
* Fields of the event
|
|
11295
|
-
* @export
|
|
11296
|
-
* @interface HostingV1WebsitesTriggerEventRequestEventParams
|
|
11297
|
-
*/
|
|
11298
|
-
export interface HostingV1WebsitesTriggerEventRequestEventParams {
|
|
11299
|
-
/**
|
|
11300
|
-
* 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.
|
|
11301
|
-
* @type {string}
|
|
11302
|
-
* @memberof HostingV1WebsitesTriggerEventRequestEventParams
|
|
11303
|
-
*/
|
|
11304
|
-
'tool': string;
|
|
11305
|
-
}
|
|
11306
11159
|
/**
|
|
11307
11160
|
*
|
|
11308
11161
|
* @export
|
|
@@ -19445,74 +19298,6 @@ export interface WordPressV1InstallationsWordPressInstallationResource {
|
|
|
19445
19298
|
*/
|
|
19446
19299
|
'created_at': string;
|
|
19447
19300
|
}
|
|
19448
|
-
/**
|
|
19449
|
-
*
|
|
19450
|
-
* @export
|
|
19451
|
-
* @interface WordPressV1InstallationsWordPressMcpDetailsResource
|
|
19452
|
-
*/
|
|
19453
|
-
export interface WordPressV1InstallationsWordPressMcpDetailsResource {
|
|
19454
|
-
/**
|
|
19455
|
-
* JWT used to authenticate against the installation MCP server
|
|
19456
|
-
* @type {string}
|
|
19457
|
-
* @memberof WordPressV1InstallationsWordPressMcpDetailsResource
|
|
19458
|
-
*/
|
|
19459
|
-
'token': string;
|
|
19460
|
-
/**
|
|
19461
|
-
* MCP (Model Context Protocol) endpoint URL for the WordPress installation
|
|
19462
|
-
* @type {string}
|
|
19463
|
-
* @memberof WordPressV1InstallationsWordPressMcpDetailsResource
|
|
19464
|
-
*/
|
|
19465
|
-
'mcp_url': string;
|
|
19466
|
-
/**
|
|
19467
|
-
* Token lifetime in seconds from the moment it was issued
|
|
19468
|
-
* @type {number}
|
|
19469
|
-
* @memberof WordPressV1InstallationsWordPressMcpDetailsResource
|
|
19470
|
-
*/
|
|
19471
|
-
'expires_in': number;
|
|
19472
|
-
/**
|
|
19473
|
-
* Date-time at which the token expires
|
|
19474
|
-
* @type {string}
|
|
19475
|
-
* @memberof WordPressV1InstallationsWordPressMcpDetailsResource
|
|
19476
|
-
*/
|
|
19477
|
-
'expires_at': string | null;
|
|
19478
|
-
}
|
|
19479
|
-
/**
|
|
19480
|
-
*
|
|
19481
|
-
* @export
|
|
19482
|
-
* @interface WordPressV1InstallationsWordPressMcpInstallationResource
|
|
19483
|
-
*/
|
|
19484
|
-
export interface WordPressV1InstallationsWordPressMcpInstallationResource {
|
|
19485
|
-
/**
|
|
19486
|
-
* WordPress installation (software) id
|
|
19487
|
-
* @type {string}
|
|
19488
|
-
* @memberof WordPressV1InstallationsWordPressMcpInstallationResource
|
|
19489
|
-
*/
|
|
19490
|
-
'id': string;
|
|
19491
|
-
/**
|
|
19492
|
-
* Hosting account username
|
|
19493
|
-
* @type {string}
|
|
19494
|
-
* @memberof WordPressV1InstallationsWordPressMcpInstallationResource
|
|
19495
|
-
*/
|
|
19496
|
-
'username': string;
|
|
19497
|
-
/**
|
|
19498
|
-
* Domain the installation belongs to
|
|
19499
|
-
* @type {string}
|
|
19500
|
-
* @memberof WordPressV1InstallationsWordPressMcpInstallationResource
|
|
19501
|
-
*/
|
|
19502
|
-
'domain': string;
|
|
19503
|
-
/**
|
|
19504
|
-
* Installation directory on the server
|
|
19505
|
-
* @type {string}
|
|
19506
|
-
* @memberof WordPressV1InstallationsWordPressMcpInstallationResource
|
|
19507
|
-
*/
|
|
19508
|
-
'directory': string;
|
|
19509
|
-
/**
|
|
19510
|
-
*
|
|
19511
|
-
* @type {WordPressV1InstallationsWordPressMcpDetailsResource}
|
|
19512
|
-
* @memberof WordPressV1InstallationsWordPressMcpInstallationResource
|
|
19513
|
-
*/
|
|
19514
|
-
'mcp_details': WordPressV1InstallationsWordPressMcpDetailsResource | null;
|
|
19515
|
-
}
|
|
19516
19301
|
/**
|
|
19517
19302
|
*
|
|
19518
19303
|
* @export
|
|
@@ -19591,39 +19376,6 @@ export interface WordPressV1MaintenanceToggleMaintenanceRequest {
|
|
|
19591
19376
|
*/
|
|
19592
19377
|
'enabled': boolean;
|
|
19593
19378
|
}
|
|
19594
|
-
/**
|
|
19595
|
-
*
|
|
19596
|
-
* @export
|
|
19597
|
-
* @interface WordPressV1McpExecuteMcpToolRequest
|
|
19598
|
-
*/
|
|
19599
|
-
export interface WordPressV1McpExecuteMcpToolRequest {
|
|
19600
|
-
/**
|
|
19601
|
-
* Tool name as returned by the List MCP tools endpoint.
|
|
19602
|
-
* @type {string}
|
|
19603
|
-
* @memberof WordPressV1McpExecuteMcpToolRequest
|
|
19604
|
-
*/
|
|
19605
|
-
'tool_name': string;
|
|
19606
|
-
/**
|
|
19607
|
-
* Tool input matching the input schema returned by the Show MCP tool info endpoint.
|
|
19608
|
-
* @type {{ [key: string]: any; }}
|
|
19609
|
-
* @memberof WordPressV1McpExecuteMcpToolRequest
|
|
19610
|
-
*/
|
|
19611
|
-
'parameters': { [key: string]: any; };
|
|
19612
|
-
/**
|
|
19613
|
-
* MCP server exposing the tool. Defaults to the mcp-adapter default server.
|
|
19614
|
-
* @type {string}
|
|
19615
|
-
* @memberof WordPressV1McpExecuteMcpToolRequest
|
|
19616
|
-
*/
|
|
19617
|
-
'server': WordPressV1McpExecuteMcpToolRequestServerEnum | null;
|
|
19618
|
-
}
|
|
19619
|
-
|
|
19620
|
-
export const WordPressV1McpExecuteMcpToolRequestServerEnum = {
|
|
19621
|
-
McpAdapterDefaultServer: 'mcp-adapter-default-server',
|
|
19622
|
-
HostingerAiAssistantMcpServer: 'hostinger-ai-assistant-mcp-server'
|
|
19623
|
-
} as const;
|
|
19624
|
-
|
|
19625
|
-
export type WordPressV1McpExecuteMcpToolRequestServerEnum = typeof WordPressV1McpExecuteMcpToolRequestServerEnum[keyof typeof WordPressV1McpExecuteMcpToolRequestServerEnum];
|
|
19626
|
-
|
|
19627
19379
|
/**
|
|
19628
19380
|
*
|
|
19629
19381
|
* @export
|
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.0.
|
|
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/common.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.0.
|
|
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/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.0.
|
|
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
|
|
@@ -48,7 +48,7 @@ export class Configuration {
|
|
|
48
48
|
this.baseOptions = {
|
|
49
49
|
...param.baseOptions,
|
|
50
50
|
headers: {
|
|
51
|
-
'User-Agent': "hostinger-typescript-sdk/3.0.
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/3.0.2",
|
|
52
52
|
...param.baseOptions?.headers,
|
|
53
53
|
},
|
|
54
54
|
};
|
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.0.
|
|
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
|
|
@@ -9452,96 +9452,6 @@ export declare const HostingV1NodeJsBuildSettingsResourcePackageManagerEnum: {
|
|
|
9452
9452
|
readonly Pnpm: "pnpm";
|
|
9453
9453
|
};
|
|
9454
9454
|
export type HostingV1NodeJsBuildSettingsResourcePackageManagerEnum = typeof HostingV1NodeJsBuildSettingsResourcePackageManagerEnum[keyof typeof HostingV1NodeJsBuildSettingsResourcePackageManagerEnum];
|
|
9455
|
-
/**
|
|
9456
|
-
*
|
|
9457
|
-
* @export
|
|
9458
|
-
* @interface HostingV1NodeJsCreateFromArchiveRequest
|
|
9459
|
-
*/
|
|
9460
|
-
export interface HostingV1NodeJsCreateFromArchiveRequest {
|
|
9461
|
-
/**
|
|
9462
|
-
* Project archive file (.zip, .tar.gz, or .tgz), maximum 50MB
|
|
9463
|
-
* @type {string}
|
|
9464
|
-
* @memberof HostingV1NodeJsCreateFromArchiveRequest
|
|
9465
|
-
*/
|
|
9466
|
-
'archive': string;
|
|
9467
|
-
/**
|
|
9468
|
-
* Node.js version override (auto-detected from package.json if omitted)
|
|
9469
|
-
* @type {number}
|
|
9470
|
-
* @memberof HostingV1NodeJsCreateFromArchiveRequest
|
|
9471
|
-
*/
|
|
9472
|
-
'node_version': HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum | null;
|
|
9473
|
-
/**
|
|
9474
|
-
* Node.js application type override
|
|
9475
|
-
* @type {string}
|
|
9476
|
-
* @memberof HostingV1NodeJsCreateFromArchiveRequest
|
|
9477
|
-
*/
|
|
9478
|
-
'app_type': HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum | null;
|
|
9479
|
-
/**
|
|
9480
|
-
* Application root directory override (where package.json is located) relative to public_html
|
|
9481
|
-
* @type {string}
|
|
9482
|
-
* @memberof HostingV1NodeJsCreateFromArchiveRequest
|
|
9483
|
-
*/
|
|
9484
|
-
'root_directory': string | null;
|
|
9485
|
-
/**
|
|
9486
|
-
* Build output directory override relative to the root directory
|
|
9487
|
-
* @type {string}
|
|
9488
|
-
* @memberof HostingV1NodeJsCreateFromArchiveRequest
|
|
9489
|
-
*/
|
|
9490
|
-
'output_directory': string | null;
|
|
9491
|
-
/**
|
|
9492
|
-
* Build script override
|
|
9493
|
-
* @type {string}
|
|
9494
|
-
* @memberof HostingV1NodeJsCreateFromArchiveRequest
|
|
9495
|
-
*/
|
|
9496
|
-
'build_script': string | null;
|
|
9497
|
-
/**
|
|
9498
|
-
* Main entry point file override
|
|
9499
|
-
* @type {string}
|
|
9500
|
-
* @memberof HostingV1NodeJsCreateFromArchiveRequest
|
|
9501
|
-
*/
|
|
9502
|
-
'entry_file': string | null;
|
|
9503
|
-
/**
|
|
9504
|
-
* Package manager override
|
|
9505
|
-
* @type {string}
|
|
9506
|
-
* @memberof HostingV1NodeJsCreateFromArchiveRequest
|
|
9507
|
-
*/
|
|
9508
|
-
'package_manager': HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum | null;
|
|
9509
|
-
}
|
|
9510
|
-
export declare const HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum: {
|
|
9511
|
-
readonly NUMBER_18: 18;
|
|
9512
|
-
readonly NUMBER_20: 20;
|
|
9513
|
-
readonly NUMBER_22: 22;
|
|
9514
|
-
readonly NUMBER_24: 24;
|
|
9515
|
-
};
|
|
9516
|
-
export type HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum = typeof HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum[keyof typeof HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum];
|
|
9517
|
-
export declare const HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum: {
|
|
9518
|
-
readonly CreateReactApp: "create-react-app";
|
|
9519
|
-
readonly Gatsby: "gatsby";
|
|
9520
|
-
readonly Vite: "vite";
|
|
9521
|
-
readonly Angular: "angular";
|
|
9522
|
-
readonly React: "react";
|
|
9523
|
-
readonly Vue: "vue";
|
|
9524
|
-
readonly Parcel: "parcel";
|
|
9525
|
-
readonly Next: "next";
|
|
9526
|
-
readonly Nuxt: "nuxt";
|
|
9527
|
-
readonly Nest: "nest";
|
|
9528
|
-
readonly Express: "express";
|
|
9529
|
-
readonly Fastify: "fastify";
|
|
9530
|
-
readonly Astro: "astro";
|
|
9531
|
-
readonly Svelte: "svelte";
|
|
9532
|
-
readonly SvelteKit: "svelte-kit";
|
|
9533
|
-
readonly Hono: "hono";
|
|
9534
|
-
readonly ReactRouter: "react-router";
|
|
9535
|
-
readonly Nitro: "nitro";
|
|
9536
|
-
readonly Other: "other";
|
|
9537
|
-
};
|
|
9538
|
-
export type HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum = typeof HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum[keyof typeof HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum];
|
|
9539
|
-
export declare const HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum: {
|
|
9540
|
-
readonly Npm: "npm";
|
|
9541
|
-
readonly Yarn: "yarn";
|
|
9542
|
-
readonly Pnpm: "pnpm";
|
|
9543
|
-
};
|
|
9544
|
-
export type HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = typeof HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum[keyof typeof HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum];
|
|
9545
9455
|
/**
|
|
9546
9456
|
*
|
|
9547
9457
|
* @export
|
|
@@ -11001,55 +10911,6 @@ export interface HostingV1WebsitesDeployArchiveRequest {
|
|
|
11001
10911
|
*/
|
|
11002
10912
|
'archive_path': string;
|
|
11003
10913
|
}
|
|
11004
|
-
/**
|
|
11005
|
-
*
|
|
11006
|
-
* @export
|
|
11007
|
-
* @interface HostingV1WebsitesTriggerEventRequest
|
|
11008
|
-
*/
|
|
11009
|
-
export interface HostingV1WebsitesTriggerEventRequest {
|
|
11010
|
-
/**
|
|
11011
|
-
*
|
|
11012
|
-
* @type {HostingV1WebsitesTriggerEventRequestEvent}
|
|
11013
|
-
* @memberof HostingV1WebsitesTriggerEventRequest
|
|
11014
|
-
*/
|
|
11015
|
-
'event': HostingV1WebsitesTriggerEventRequestEvent;
|
|
11016
|
-
}
|
|
11017
|
-
/**
|
|
11018
|
-
* Event to trigger; `name` decides which `params` it takes
|
|
11019
|
-
* @export
|
|
11020
|
-
* @interface HostingV1WebsitesTriggerEventRequestEvent
|
|
11021
|
-
*/
|
|
11022
|
-
export interface HostingV1WebsitesTriggerEventRequestEvent {
|
|
11023
|
-
/**
|
|
11024
|
-
* Name of the event: - `headless_onboarding.tool.connected`: an AI coding tool started building this website with the Hostinger headless skill. Takes `params.tool`.
|
|
11025
|
-
* @type {string}
|
|
11026
|
-
* @memberof HostingV1WebsitesTriggerEventRequestEvent
|
|
11027
|
-
*/
|
|
11028
|
-
'name': HostingV1WebsitesTriggerEventRequestEventNameEnum;
|
|
11029
|
-
/**
|
|
11030
|
-
*
|
|
11031
|
-
* @type {HostingV1WebsitesTriggerEventRequestEventParams}
|
|
11032
|
-
* @memberof HostingV1WebsitesTriggerEventRequestEvent
|
|
11033
|
-
*/
|
|
11034
|
-
'params': HostingV1WebsitesTriggerEventRequestEventParams;
|
|
11035
|
-
}
|
|
11036
|
-
export declare const HostingV1WebsitesTriggerEventRequestEventNameEnum: {
|
|
11037
|
-
readonly HeadlessOnboardingToolConnected: "headless_onboarding.tool.connected";
|
|
11038
|
-
};
|
|
11039
|
-
export type HostingV1WebsitesTriggerEventRequestEventNameEnum = typeof HostingV1WebsitesTriggerEventRequestEventNameEnum[keyof typeof HostingV1WebsitesTriggerEventRequestEventNameEnum];
|
|
11040
|
-
/**
|
|
11041
|
-
* Fields of the event
|
|
11042
|
-
* @export
|
|
11043
|
-
* @interface HostingV1WebsitesTriggerEventRequestEventParams
|
|
11044
|
-
*/
|
|
11045
|
-
export interface HostingV1WebsitesTriggerEventRequestEventParams {
|
|
11046
|
-
/**
|
|
11047
|
-
* 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.
|
|
11048
|
-
* @type {string}
|
|
11049
|
-
* @memberof HostingV1WebsitesTriggerEventRequestEventParams
|
|
11050
|
-
*/
|
|
11051
|
-
'tool': string;
|
|
11052
|
-
}
|
|
11053
10914
|
/**
|
|
11054
10915
|
*
|
|
11055
10916
|
* @export
|
|
@@ -19005,74 +18866,6 @@ export interface WordPressV1InstallationsWordPressInstallationResource {
|
|
|
19005
18866
|
*/
|
|
19006
18867
|
'created_at': string;
|
|
19007
18868
|
}
|
|
19008
|
-
/**
|
|
19009
|
-
*
|
|
19010
|
-
* @export
|
|
19011
|
-
* @interface WordPressV1InstallationsWordPressMcpDetailsResource
|
|
19012
|
-
*/
|
|
19013
|
-
export interface WordPressV1InstallationsWordPressMcpDetailsResource {
|
|
19014
|
-
/**
|
|
19015
|
-
* JWT used to authenticate against the installation MCP server
|
|
19016
|
-
* @type {string}
|
|
19017
|
-
* @memberof WordPressV1InstallationsWordPressMcpDetailsResource
|
|
19018
|
-
*/
|
|
19019
|
-
'token': string;
|
|
19020
|
-
/**
|
|
19021
|
-
* MCP (Model Context Protocol) endpoint URL for the WordPress installation
|
|
19022
|
-
* @type {string}
|
|
19023
|
-
* @memberof WordPressV1InstallationsWordPressMcpDetailsResource
|
|
19024
|
-
*/
|
|
19025
|
-
'mcp_url': string;
|
|
19026
|
-
/**
|
|
19027
|
-
* Token lifetime in seconds from the moment it was issued
|
|
19028
|
-
* @type {number}
|
|
19029
|
-
* @memberof WordPressV1InstallationsWordPressMcpDetailsResource
|
|
19030
|
-
*/
|
|
19031
|
-
'expires_in': number;
|
|
19032
|
-
/**
|
|
19033
|
-
* Date-time at which the token expires
|
|
19034
|
-
* @type {string}
|
|
19035
|
-
* @memberof WordPressV1InstallationsWordPressMcpDetailsResource
|
|
19036
|
-
*/
|
|
19037
|
-
'expires_at': string | null;
|
|
19038
|
-
}
|
|
19039
|
-
/**
|
|
19040
|
-
*
|
|
19041
|
-
* @export
|
|
19042
|
-
* @interface WordPressV1InstallationsWordPressMcpInstallationResource
|
|
19043
|
-
*/
|
|
19044
|
-
export interface WordPressV1InstallationsWordPressMcpInstallationResource {
|
|
19045
|
-
/**
|
|
19046
|
-
* WordPress installation (software) id
|
|
19047
|
-
* @type {string}
|
|
19048
|
-
* @memberof WordPressV1InstallationsWordPressMcpInstallationResource
|
|
19049
|
-
*/
|
|
19050
|
-
'id': string;
|
|
19051
|
-
/**
|
|
19052
|
-
* Hosting account username
|
|
19053
|
-
* @type {string}
|
|
19054
|
-
* @memberof WordPressV1InstallationsWordPressMcpInstallationResource
|
|
19055
|
-
*/
|
|
19056
|
-
'username': string;
|
|
19057
|
-
/**
|
|
19058
|
-
* Domain the installation belongs to
|
|
19059
|
-
* @type {string}
|
|
19060
|
-
* @memberof WordPressV1InstallationsWordPressMcpInstallationResource
|
|
19061
|
-
*/
|
|
19062
|
-
'domain': string;
|
|
19063
|
-
/**
|
|
19064
|
-
* Installation directory on the server
|
|
19065
|
-
* @type {string}
|
|
19066
|
-
* @memberof WordPressV1InstallationsWordPressMcpInstallationResource
|
|
19067
|
-
*/
|
|
19068
|
-
'directory': string;
|
|
19069
|
-
/**
|
|
19070
|
-
*
|
|
19071
|
-
* @type {WordPressV1InstallationsWordPressMcpDetailsResource}
|
|
19072
|
-
* @memberof WordPressV1InstallationsWordPressMcpInstallationResource
|
|
19073
|
-
*/
|
|
19074
|
-
'mcp_details': WordPressV1InstallationsWordPressMcpDetailsResource | null;
|
|
19075
|
-
}
|
|
19076
18869
|
/**
|
|
19077
18870
|
*
|
|
19078
18871
|
* @export
|
|
@@ -19148,38 +18941,6 @@ export interface WordPressV1MaintenanceToggleMaintenanceRequest {
|
|
|
19148
18941
|
*/
|
|
19149
18942
|
'enabled': boolean;
|
|
19150
18943
|
}
|
|
19151
|
-
/**
|
|
19152
|
-
*
|
|
19153
|
-
* @export
|
|
19154
|
-
* @interface WordPressV1McpExecuteMcpToolRequest
|
|
19155
|
-
*/
|
|
19156
|
-
export interface WordPressV1McpExecuteMcpToolRequest {
|
|
19157
|
-
/**
|
|
19158
|
-
* Tool name as returned by the List MCP tools endpoint.
|
|
19159
|
-
* @type {string}
|
|
19160
|
-
* @memberof WordPressV1McpExecuteMcpToolRequest
|
|
19161
|
-
*/
|
|
19162
|
-
'tool_name': string;
|
|
19163
|
-
/**
|
|
19164
|
-
* Tool input matching the input schema returned by the Show MCP tool info endpoint.
|
|
19165
|
-
* @type {{ [key: string]: any; }}
|
|
19166
|
-
* @memberof WordPressV1McpExecuteMcpToolRequest
|
|
19167
|
-
*/
|
|
19168
|
-
'parameters': {
|
|
19169
|
-
[key: string]: any;
|
|
19170
|
-
};
|
|
19171
|
-
/**
|
|
19172
|
-
* MCP server exposing the tool. Defaults to the mcp-adapter default server.
|
|
19173
|
-
* @type {string}
|
|
19174
|
-
* @memberof WordPressV1McpExecuteMcpToolRequest
|
|
19175
|
-
*/
|
|
19176
|
-
'server': WordPressV1McpExecuteMcpToolRequestServerEnum | null;
|
|
19177
|
-
}
|
|
19178
|
-
export declare const WordPressV1McpExecuteMcpToolRequestServerEnum: {
|
|
19179
|
-
readonly McpAdapterDefaultServer: "mcp-adapter-default-server";
|
|
19180
|
-
readonly HostingerAiAssistantMcpServer: "hostinger-ai-assistant-mcp-server";
|
|
19181
|
-
};
|
|
19182
|
-
export type WordPressV1McpExecuteMcpToolRequestServerEnum = typeof WordPressV1McpExecuteMcpToolRequestServerEnum[keyof typeof WordPressV1McpExecuteMcpToolRequestServerEnum];
|
|
19183
18944
|
/**
|
|
19184
18945
|
*
|
|
19185
18946
|
* @export
|