@hostinger/sdk 1.49.1 → 1.49.3
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 +429 -9
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +262 -9
- package/dist/api.js +305 -20
- 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 +262 -9
- package/dist/esm/api.js +294 -9
- 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/HorizonsV1WebsitesEditWebsiteRequest.md +20 -0
- package/docs/HorizonsV1WebsitesEditWebsiteRequestMessageInner.md +22 -0
- package/docs/HorizonsV1WebsitesPublishedWebsiteResource.md +26 -0
- package/docs/HorizonsV1WebsitesWebsiteResource.md +30 -0
- package/docs/HorizonsWebsitesApi.md +216 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/configuration.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.49.
|
|
4
|
+
* API Version: 1.49.3
|
|
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/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.49.
|
|
7
|
+
* API Version: 1.49.3
|
|
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
|
|
@@ -16,7 +16,7 @@ class Configuration {
|
|
|
16
16
|
var _a;
|
|
17
17
|
this.accessToken = param.accessToken;
|
|
18
18
|
this.basePath = param.basePath;
|
|
19
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.49.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.49.3" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
20
20
|
this.formDataCtor = param.formDataCtor;
|
|
21
21
|
}
|
|
22
22
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.49.
|
|
4
|
+
* API Version: 1.49.3
|
|
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
|
|
@@ -6288,6 +6288,127 @@ export interface HorizonsV1WebsitesCreatedWebsiteResource {
|
|
|
6288
6288
|
*/
|
|
6289
6289
|
'website_id': string;
|
|
6290
6290
|
}
|
|
6291
|
+
/**
|
|
6292
|
+
*
|
|
6293
|
+
* @export
|
|
6294
|
+
* @interface HorizonsV1WebsitesEditWebsiteRequest
|
|
6295
|
+
*/
|
|
6296
|
+
export interface HorizonsV1WebsitesEditWebsiteRequest {
|
|
6297
|
+
/**
|
|
6298
|
+
*
|
|
6299
|
+
* @type {Array<HorizonsV1WebsitesEditWebsiteRequestMessageInner>}
|
|
6300
|
+
* @memberof HorizonsV1WebsitesEditWebsiteRequest
|
|
6301
|
+
*/
|
|
6302
|
+
'message': Array<HorizonsV1WebsitesEditWebsiteRequestMessageInner>;
|
|
6303
|
+
}
|
|
6304
|
+
/**
|
|
6305
|
+
*
|
|
6306
|
+
* @export
|
|
6307
|
+
* @interface HorizonsV1WebsitesEditWebsiteRequestMessageInner
|
|
6308
|
+
*/
|
|
6309
|
+
export interface HorizonsV1WebsitesEditWebsiteRequestMessageInner {
|
|
6310
|
+
/**
|
|
6311
|
+
*
|
|
6312
|
+
* @type {string}
|
|
6313
|
+
* @memberof HorizonsV1WebsitesEditWebsiteRequestMessageInner
|
|
6314
|
+
*/
|
|
6315
|
+
'type': HorizonsV1WebsitesEditWebsiteRequestMessageInnerTypeEnum;
|
|
6316
|
+
/**
|
|
6317
|
+
* Detailed description of the changes to apply to the website. Include which sections, features, content or design should change and how. The specification should be detailed and comprehensive, covering all requested changes.
|
|
6318
|
+
* @type {string}
|
|
6319
|
+
* @memberof HorizonsV1WebsitesEditWebsiteRequestMessageInner
|
|
6320
|
+
*/
|
|
6321
|
+
'text': string;
|
|
6322
|
+
}
|
|
6323
|
+
export declare const HorizonsV1WebsitesEditWebsiteRequestMessageInnerTypeEnum: {
|
|
6324
|
+
readonly Text: "text";
|
|
6325
|
+
};
|
|
6326
|
+
export type HorizonsV1WebsitesEditWebsiteRequestMessageInnerTypeEnum = typeof HorizonsV1WebsitesEditWebsiteRequestMessageInnerTypeEnum[keyof typeof HorizonsV1WebsitesEditWebsiteRequestMessageInnerTypeEnum];
|
|
6327
|
+
/**
|
|
6328
|
+
*
|
|
6329
|
+
* @export
|
|
6330
|
+
* @interface HorizonsV1WebsitesPublishedWebsiteResource
|
|
6331
|
+
*/
|
|
6332
|
+
export interface HorizonsV1WebsitesPublishedWebsiteResource {
|
|
6333
|
+
/**
|
|
6334
|
+
* Always `publishing` - the build runs asynchronously after this response
|
|
6335
|
+
* @type {string}
|
|
6336
|
+
* @memberof HorizonsV1WebsitesPublishedWebsiteResource
|
|
6337
|
+
*/
|
|
6338
|
+
'status': HorizonsV1WebsitesPublishedWebsiteResourceStatusEnum;
|
|
6339
|
+
/**
|
|
6340
|
+
* The URL the published website will be live on in a few minutes
|
|
6341
|
+
* @type {string}
|
|
6342
|
+
* @memberof HorizonsV1WebsitesPublishedWebsiteResource
|
|
6343
|
+
*/
|
|
6344
|
+
'published_url': string;
|
|
6345
|
+
/**
|
|
6346
|
+
* The website URL for the user to track progress in Hostinger Horizons interface
|
|
6347
|
+
* @type {string}
|
|
6348
|
+
* @memberof HorizonsV1WebsitesPublishedWebsiteResource
|
|
6349
|
+
*/
|
|
6350
|
+
'website_url': string;
|
|
6351
|
+
/**
|
|
6352
|
+
* The website ID
|
|
6353
|
+
* @type {string}
|
|
6354
|
+
* @memberof HorizonsV1WebsitesPublishedWebsiteResource
|
|
6355
|
+
*/
|
|
6356
|
+
'website_id': string;
|
|
6357
|
+
}
|
|
6358
|
+
export declare const HorizonsV1WebsitesPublishedWebsiteResourceStatusEnum: {
|
|
6359
|
+
readonly Publishing: "publishing";
|
|
6360
|
+
};
|
|
6361
|
+
export type HorizonsV1WebsitesPublishedWebsiteResourceStatusEnum = typeof HorizonsV1WebsitesPublishedWebsiteResourceStatusEnum[keyof typeof HorizonsV1WebsitesPublishedWebsiteResourceStatusEnum];
|
|
6362
|
+
/**
|
|
6363
|
+
*
|
|
6364
|
+
* @export
|
|
6365
|
+
* @interface HorizonsV1WebsitesWebsiteResource
|
|
6366
|
+
*/
|
|
6367
|
+
export interface HorizonsV1WebsitesWebsiteResource {
|
|
6368
|
+
/**
|
|
6369
|
+
* The website ID
|
|
6370
|
+
* @type {string}
|
|
6371
|
+
* @memberof HorizonsV1WebsitesWebsiteResource
|
|
6372
|
+
*/
|
|
6373
|
+
'website_id': string;
|
|
6374
|
+
/**
|
|
6375
|
+
* The website description
|
|
6376
|
+
* @type {string}
|
|
6377
|
+
* @memberof HorizonsV1WebsitesWebsiteResource
|
|
6378
|
+
*/
|
|
6379
|
+
'description': string | null;
|
|
6380
|
+
/**
|
|
6381
|
+
* The domain the website is published on, if it has been published
|
|
6382
|
+
* @type {string}
|
|
6383
|
+
* @memberof HorizonsV1WebsitesWebsiteResource
|
|
6384
|
+
*/
|
|
6385
|
+
'domain': string | null;
|
|
6386
|
+
/**
|
|
6387
|
+
* The website status
|
|
6388
|
+
* @type {string}
|
|
6389
|
+
* @memberof HorizonsV1WebsitesWebsiteResource
|
|
6390
|
+
*/
|
|
6391
|
+
'status': HorizonsV1WebsitesWebsiteResourceStatusEnum;
|
|
6392
|
+
/**
|
|
6393
|
+
* The website creation date
|
|
6394
|
+
* @type {string}
|
|
6395
|
+
* @memberof HorizonsV1WebsitesWebsiteResource
|
|
6396
|
+
*/
|
|
6397
|
+
'created_at': string;
|
|
6398
|
+
/**
|
|
6399
|
+
* The website URL for the user to access their website in Hostinger Horizons interface
|
|
6400
|
+
* @type {string}
|
|
6401
|
+
* @memberof HorizonsV1WebsitesWebsiteResource
|
|
6402
|
+
*/
|
|
6403
|
+
'website_url': string;
|
|
6404
|
+
}
|
|
6405
|
+
export declare const HorizonsV1WebsitesWebsiteResourceStatusEnum: {
|
|
6406
|
+
readonly Active: "active";
|
|
6407
|
+
readonly Suspended: "suspended";
|
|
6408
|
+
readonly Deleting: "deleting";
|
|
6409
|
+
readonly Deleted: "deleted";
|
|
6410
|
+
};
|
|
6411
|
+
export type HorizonsV1WebsitesWebsiteResourceStatusEnum = typeof HorizonsV1WebsitesWebsiteResourceStatusEnum[keyof typeof HorizonsV1WebsitesWebsiteResourceStatusEnum];
|
|
6291
6412
|
/**
|
|
6292
6413
|
*
|
|
6293
6414
|
* @export
|
|
@@ -21363,7 +21484,15 @@ export declare class EcommerceStoresApi extends BaseAPI {
|
|
|
21363
21484
|
*/
|
|
21364
21485
|
export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21365
21486
|
/**
|
|
21366
|
-
*
|
|
21487
|
+
* Clone a Hostinger Horizons website into a new website.\\n Use this tool when the user wants a copy of an existing website, for example to try out changes without touching the original.\\n This tool returns the ID and URL of the newly created copy. The original website is left untouched.\\n To edit the copy, use the `Edit website` tool with the returned website ID, or the user can open the provided website URL in Hostinger Horizons interface.
|
|
21488
|
+
* @summary Clone website
|
|
21489
|
+
* @param {string} websiteId The website ID
|
|
21490
|
+
* @param {*} [options] Override http request option.
|
|
21491
|
+
* @throws {RequiredError}
|
|
21492
|
+
*/
|
|
21493
|
+
cloneWebsiteV1: (websiteId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21494
|
+
/**
|
|
21495
|
+
* Create new Hostinger Horizons website from the given message.\\n Use this tool when user asks you to create a website, landing page, blog or any other type of application.\\n This tool initiates the website creation process and returns a website URL and ID. The generation happens asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger Horizons is now creating their website and it will be ready in a few minutes and you should provide the website URL to the user immediately Do not write code.\\n\\nTo edit afterwards, use the `Edit website` tool with the returned website ID, or the user can go to Hostinger Horizons interface in the provided website URL. If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat. \\n TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n The environment is limited to the following technologies. You MUST NOT use, suggest, or implement any technology outside this list:\\n \\n - Language: JavaScript ONLY. - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n - Framework: React.\\n - Navigation: React Router.\\n - Styling: TailwindCSS.\\n - Components: shadcn/ui (built with @radix-ui primitives).\\n - Icons: Lucide React.\\n - Animations: Framer Motion.\\n \\n BACKEND & DATA STORAGE:\\n - Horizons integrated backend is the EXCLUSIVE solution for persistent data storage, authentication, and database needs.\\n - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n \\n MAPS:\\n - OpenStreetMap is the default provider.\\n - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n
|
|
21367
21496
|
* @summary Create website
|
|
21368
21497
|
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
21369
21498
|
* @param {*} [options] Override http request option.
|
|
@@ -21371,13 +21500,37 @@ export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Conf
|
|
|
21371
21500
|
*/
|
|
21372
21501
|
createWebsiteV1: (horizonsV1WebsitesCreateWebsiteRequest: HorizonsV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21373
21502
|
/**
|
|
21374
|
-
*
|
|
21503
|
+
* Edit an existing Hostinger Horizons website with a follow-up message.\\n Use this tool when the user wants to change, extend or fix a website that already exists.\\n This tool queues the requested changes and returns the website URL and ID. The changes are applied asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger Horizons is now applying the requested changes and they will be ready in a few minutes, and you should provide the website URL to the user immediately. Do not write code.\\n If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat.
|
|
21504
|
+
* @summary Edit website
|
|
21505
|
+
* @param {string} websiteId The website ID
|
|
21506
|
+
* @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
|
|
21507
|
+
* @param {*} [options] Override http request option.
|
|
21508
|
+
* @throws {RequiredError}
|
|
21509
|
+
*/
|
|
21510
|
+
editWebsiteV1: (websiteId: string, horizonsV1WebsitesEditWebsiteRequest: HorizonsV1WebsitesEditWebsiteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21511
|
+
/**
|
|
21512
|
+
* List the Hostinger Horizons websites the user owns.\\n Use this tool when the user asks which websites they have, or when you need a website ID before editing, publishing or cloning a website.\\n Each website is returned with its ID, status, domain and the URL to open it in Hostinger Horizons interface.\\n The complete list of websites is returned in a single response - it is not paginated.
|
|
21513
|
+
* @summary Get website list
|
|
21514
|
+
* @param {*} [options] Override http request option.
|
|
21515
|
+
* @throws {RequiredError}
|
|
21516
|
+
*/
|
|
21517
|
+
getWebsiteListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21518
|
+
/**
|
|
21519
|
+
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
21375
21520
|
* @summary Get website
|
|
21376
21521
|
* @param {string} websiteId The website ID
|
|
21377
21522
|
* @param {*} [options] Override http request option.
|
|
21378
21523
|
* @throws {RequiredError}
|
|
21379
21524
|
*/
|
|
21380
21525
|
getWebsiteV1: (websiteId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21526
|
+
/**
|
|
21527
|
+
* Publish a Hostinger Horizons website so its latest changes go live.\\n Use this tool when the user asks to publish, deploy or make their website live.\\n This tool starts the publish process and returns the URL the website will be live on. Publishing happens asynchronously and takes a few minutes.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that the website is being published and you should provide the published URL to the user immediately.
|
|
21528
|
+
* @summary Publish website
|
|
21529
|
+
* @param {string} websiteId The website ID
|
|
21530
|
+
* @param {*} [options] Override http request option.
|
|
21531
|
+
* @throws {RequiredError}
|
|
21532
|
+
*/
|
|
21533
|
+
publishWebsiteV1: (websiteId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21381
21534
|
};
|
|
21382
21535
|
/**
|
|
21383
21536
|
* HorizonsWebsitesApi - functional programming interface
|
|
@@ -21385,7 +21538,15 @@ export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Conf
|
|
|
21385
21538
|
*/
|
|
21386
21539
|
export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
21387
21540
|
/**
|
|
21388
|
-
*
|
|
21541
|
+
* Clone a Hostinger Horizons website into a new website.\\n Use this tool when the user wants a copy of an existing website, for example to try out changes without touching the original.\\n This tool returns the ID and URL of the newly created copy. The original website is left untouched.\\n To edit the copy, use the `Edit website` tool with the returned website ID, or the user can open the provided website URL in Hostinger Horizons interface.
|
|
21542
|
+
* @summary Clone website
|
|
21543
|
+
* @param {string} websiteId The website ID
|
|
21544
|
+
* @param {*} [options] Override http request option.
|
|
21545
|
+
* @throws {RequiredError}
|
|
21546
|
+
*/
|
|
21547
|
+
cloneWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>>;
|
|
21548
|
+
/**
|
|
21549
|
+
* Create new Hostinger Horizons website from the given message.\\n Use this tool when user asks you to create a website, landing page, blog or any other type of application.\\n This tool initiates the website creation process and returns a website URL and ID. The generation happens asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger Horizons is now creating their website and it will be ready in a few minutes and you should provide the website URL to the user immediately Do not write code.\\n\\nTo edit afterwards, use the `Edit website` tool with the returned website ID, or the user can go to Hostinger Horizons interface in the provided website URL. If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat. \\n TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n The environment is limited to the following technologies. You MUST NOT use, suggest, or implement any technology outside this list:\\n \\n - Language: JavaScript ONLY. - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n - Framework: React.\\n - Navigation: React Router.\\n - Styling: TailwindCSS.\\n - Components: shadcn/ui (built with @radix-ui primitives).\\n - Icons: Lucide React.\\n - Animations: Framer Motion.\\n \\n BACKEND & DATA STORAGE:\\n - Horizons integrated backend is the EXCLUSIVE solution for persistent data storage, authentication, and database needs.\\n - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n \\n MAPS:\\n - OpenStreetMap is the default provider.\\n - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n
|
|
21389
21550
|
* @summary Create website
|
|
21390
21551
|
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
21391
21552
|
* @param {*} [options] Override http request option.
|
|
@@ -21393,13 +21554,37 @@ export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
|
21393
21554
|
*/
|
|
21394
21555
|
createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest: HorizonsV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>>;
|
|
21395
21556
|
/**
|
|
21396
|
-
*
|
|
21557
|
+
* Edit an existing Hostinger Horizons website with a follow-up message.\\n Use this tool when the user wants to change, extend or fix a website that already exists.\\n This tool queues the requested changes and returns the website URL and ID. The changes are applied asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger Horizons is now applying the requested changes and they will be ready in a few minutes, and you should provide the website URL to the user immediately. Do not write code.\\n If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat.
|
|
21558
|
+
* @summary Edit website
|
|
21559
|
+
* @param {string} websiteId The website ID
|
|
21560
|
+
* @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
|
|
21561
|
+
* @param {*} [options] Override http request option.
|
|
21562
|
+
* @throws {RequiredError}
|
|
21563
|
+
*/
|
|
21564
|
+
editWebsiteV1(websiteId: string, horizonsV1WebsitesEditWebsiteRequest: HorizonsV1WebsitesEditWebsiteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>>;
|
|
21565
|
+
/**
|
|
21566
|
+
* List the Hostinger Horizons websites the user owns.\\n Use this tool when the user asks which websites they have, or when you need a website ID before editing, publishing or cloning a website.\\n Each website is returned with its ID, status, domain and the URL to open it in Hostinger Horizons interface.\\n The complete list of websites is returned in a single response - it is not paginated.
|
|
21567
|
+
* @summary Get website list
|
|
21568
|
+
* @param {*} [options] Override http request option.
|
|
21569
|
+
* @throws {RequiredError}
|
|
21570
|
+
*/
|
|
21571
|
+
getWebsiteListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HorizonsV1WebsitesWebsiteResource>>>;
|
|
21572
|
+
/**
|
|
21573
|
+
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
21397
21574
|
* @summary Get website
|
|
21398
21575
|
* @param {string} websiteId The website ID
|
|
21399
21576
|
* @param {*} [options] Override http request option.
|
|
21400
21577
|
* @throws {RequiredError}
|
|
21401
21578
|
*/
|
|
21402
21579
|
getWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HorizonsV1WebsitesWebsiteUrlResource>>;
|
|
21580
|
+
/**
|
|
21581
|
+
* Publish a Hostinger Horizons website so its latest changes go live.\\n Use this tool when the user asks to publish, deploy or make their website live.\\n This tool starts the publish process and returns the URL the website will be live on. Publishing happens asynchronously and takes a few minutes.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that the website is being published and you should provide the published URL to the user immediately.
|
|
21582
|
+
* @summary Publish website
|
|
21583
|
+
* @param {string} websiteId The website ID
|
|
21584
|
+
* @param {*} [options] Override http request option.
|
|
21585
|
+
* @throws {RequiredError}
|
|
21586
|
+
*/
|
|
21587
|
+
publishWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HorizonsV1WebsitesPublishedWebsiteResource>>;
|
|
21403
21588
|
};
|
|
21404
21589
|
/**
|
|
21405
21590
|
* HorizonsWebsitesApi - factory interface
|
|
@@ -21407,7 +21592,15 @@ export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
|
21407
21592
|
*/
|
|
21408
21593
|
export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
21409
21594
|
/**
|
|
21410
|
-
*
|
|
21595
|
+
* Clone a Hostinger Horizons website into a new website.\\n Use this tool when the user wants a copy of an existing website, for example to try out changes without touching the original.\\n This tool returns the ID and URL of the newly created copy. The original website is left untouched.\\n To edit the copy, use the `Edit website` tool with the returned website ID, or the user can open the provided website URL in Hostinger Horizons interface.
|
|
21596
|
+
* @summary Clone website
|
|
21597
|
+
* @param {string} websiteId The website ID
|
|
21598
|
+
* @param {*} [options] Override http request option.
|
|
21599
|
+
* @throws {RequiredError}
|
|
21600
|
+
*/
|
|
21601
|
+
cloneWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>;
|
|
21602
|
+
/**
|
|
21603
|
+
* Create new Hostinger Horizons website from the given message.\\n Use this tool when user asks you to create a website, landing page, blog or any other type of application.\\n This tool initiates the website creation process and returns a website URL and ID. The generation happens asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger Horizons is now creating their website and it will be ready in a few minutes and you should provide the website URL to the user immediately Do not write code.\\n\\nTo edit afterwards, use the `Edit website` tool with the returned website ID, or the user can go to Hostinger Horizons interface in the provided website URL. If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat. \\n TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n The environment is limited to the following technologies. You MUST NOT use, suggest, or implement any technology outside this list:\\n \\n - Language: JavaScript ONLY. - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n - Framework: React.\\n - Navigation: React Router.\\n - Styling: TailwindCSS.\\n - Components: shadcn/ui (built with @radix-ui primitives).\\n - Icons: Lucide React.\\n - Animations: Framer Motion.\\n \\n BACKEND & DATA STORAGE:\\n - Horizons integrated backend is the EXCLUSIVE solution for persistent data storage, authentication, and database needs.\\n - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n \\n MAPS:\\n - OpenStreetMap is the default provider.\\n - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n
|
|
21411
21604
|
* @summary Create website
|
|
21412
21605
|
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
21413
21606
|
* @param {*} [options] Override http request option.
|
|
@@ -21415,13 +21608,37 @@ export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration,
|
|
|
21415
21608
|
*/
|
|
21416
21609
|
createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest: HorizonsV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>;
|
|
21417
21610
|
/**
|
|
21418
|
-
*
|
|
21611
|
+
* Edit an existing Hostinger Horizons website with a follow-up message.\\n Use this tool when the user wants to change, extend or fix a website that already exists.\\n This tool queues the requested changes and returns the website URL and ID. The changes are applied asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger Horizons is now applying the requested changes and they will be ready in a few minutes, and you should provide the website URL to the user immediately. Do not write code.\\n If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat.
|
|
21612
|
+
* @summary Edit website
|
|
21613
|
+
* @param {string} websiteId The website ID
|
|
21614
|
+
* @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
|
|
21615
|
+
* @param {*} [options] Override http request option.
|
|
21616
|
+
* @throws {RequiredError}
|
|
21617
|
+
*/
|
|
21618
|
+
editWebsiteV1(websiteId: string, horizonsV1WebsitesEditWebsiteRequest: HorizonsV1WebsitesEditWebsiteRequest, options?: RawAxiosRequestConfig): AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>;
|
|
21619
|
+
/**
|
|
21620
|
+
* List the Hostinger Horizons websites the user owns.\\n Use this tool when the user asks which websites they have, or when you need a website ID before editing, publishing or cloning a website.\\n Each website is returned with its ID, status, domain and the URL to open it in Hostinger Horizons interface.\\n The complete list of websites is returned in a single response - it is not paginated.
|
|
21621
|
+
* @summary Get website list
|
|
21622
|
+
* @param {*} [options] Override http request option.
|
|
21623
|
+
* @throws {RequiredError}
|
|
21624
|
+
*/
|
|
21625
|
+
getWebsiteListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<HorizonsV1WebsitesWebsiteResource>>;
|
|
21626
|
+
/**
|
|
21627
|
+
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
21419
21628
|
* @summary Get website
|
|
21420
21629
|
* @param {string} websiteId The website ID
|
|
21421
21630
|
* @param {*} [options] Override http request option.
|
|
21422
21631
|
* @throws {RequiredError}
|
|
21423
21632
|
*/
|
|
21424
21633
|
getWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): AxiosPromise<HorizonsV1WebsitesWebsiteUrlResource>;
|
|
21634
|
+
/**
|
|
21635
|
+
* Publish a Hostinger Horizons website so its latest changes go live.\\n Use this tool when the user asks to publish, deploy or make their website live.\\n This tool starts the publish process and returns the URL the website will be live on. Publishing happens asynchronously and takes a few minutes.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that the website is being published and you should provide the published URL to the user immediately.
|
|
21636
|
+
* @summary Publish website
|
|
21637
|
+
* @param {string} websiteId The website ID
|
|
21638
|
+
* @param {*} [options] Override http request option.
|
|
21639
|
+
* @throws {RequiredError}
|
|
21640
|
+
*/
|
|
21641
|
+
publishWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): AxiosPromise<HorizonsV1WebsitesPublishedWebsiteResource>;
|
|
21425
21642
|
};
|
|
21426
21643
|
/**
|
|
21427
21644
|
* HorizonsWebsitesApi - object-oriented interface
|
|
@@ -21431,7 +21648,16 @@ export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration,
|
|
|
21431
21648
|
*/
|
|
21432
21649
|
export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
21433
21650
|
/**
|
|
21434
|
-
*
|
|
21651
|
+
* Clone a Hostinger Horizons website into a new website.\\n Use this tool when the user wants a copy of an existing website, for example to try out changes without touching the original.\\n This tool returns the ID and URL of the newly created copy. The original website is left untouched.\\n To edit the copy, use the `Edit website` tool with the returned website ID, or the user can open the provided website URL in Hostinger Horizons interface.
|
|
21652
|
+
* @summary Clone website
|
|
21653
|
+
* @param {string} websiteId The website ID
|
|
21654
|
+
* @param {*} [options] Override http request option.
|
|
21655
|
+
* @throws {RequiredError}
|
|
21656
|
+
* @memberof HorizonsWebsitesApi
|
|
21657
|
+
*/
|
|
21658
|
+
cloneWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesCreatedWebsiteResource, any, {}, any>>;
|
|
21659
|
+
/**
|
|
21660
|
+
* Create new Hostinger Horizons website from the given message.\\n Use this tool when user asks you to create a website, landing page, blog or any other type of application.\\n This tool initiates the website creation process and returns a website URL and ID. The generation happens asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger Horizons is now creating their website and it will be ready in a few minutes and you should provide the website URL to the user immediately Do not write code.\\n\\nTo edit afterwards, use the `Edit website` tool with the returned website ID, or the user can go to Hostinger Horizons interface in the provided website URL. If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat. \\n TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n The environment is limited to the following technologies. You MUST NOT use, suggest, or implement any technology outside this list:\\n \\n - Language: JavaScript ONLY. - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n - Framework: React.\\n - Navigation: React Router.\\n - Styling: TailwindCSS.\\n - Components: shadcn/ui (built with @radix-ui primitives).\\n - Icons: Lucide React.\\n - Animations: Framer Motion.\\n \\n BACKEND & DATA STORAGE:\\n - Horizons integrated backend is the EXCLUSIVE solution for persistent data storage, authentication, and database needs.\\n - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n \\n MAPS:\\n - OpenStreetMap is the default provider.\\n - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n
|
|
21435
21661
|
* @summary Create website
|
|
21436
21662
|
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
21437
21663
|
* @param {*} [options] Override http request option.
|
|
@@ -21440,7 +21666,25 @@ export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
|
21440
21666
|
*/
|
|
21441
21667
|
createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest: HorizonsV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesCreatedWebsiteResource, any, {}, any>>;
|
|
21442
21668
|
/**
|
|
21443
|
-
*
|
|
21669
|
+
* Edit an existing Hostinger Horizons website with a follow-up message.\\n Use this tool when the user wants to change, extend or fix a website that already exists.\\n This tool queues the requested changes and returns the website URL and ID. The changes are applied asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger Horizons is now applying the requested changes and they will be ready in a few minutes, and you should provide the website URL to the user immediately. Do not write code.\\n If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat.
|
|
21670
|
+
* @summary Edit website
|
|
21671
|
+
* @param {string} websiteId The website ID
|
|
21672
|
+
* @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
|
|
21673
|
+
* @param {*} [options] Override http request option.
|
|
21674
|
+
* @throws {RequiredError}
|
|
21675
|
+
* @memberof HorizonsWebsitesApi
|
|
21676
|
+
*/
|
|
21677
|
+
editWebsiteV1(websiteId: string, horizonsV1WebsitesEditWebsiteRequest: HorizonsV1WebsitesEditWebsiteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesCreatedWebsiteResource, any, {}, any>>;
|
|
21678
|
+
/**
|
|
21679
|
+
* List the Hostinger Horizons websites the user owns.\\n Use this tool when the user asks which websites they have, or when you need a website ID before editing, publishing or cloning a website.\\n Each website is returned with its ID, status, domain and the URL to open it in Hostinger Horizons interface.\\n The complete list of websites is returned in a single response - it is not paginated.
|
|
21680
|
+
* @summary Get website list
|
|
21681
|
+
* @param {*} [options] Override http request option.
|
|
21682
|
+
* @throws {RequiredError}
|
|
21683
|
+
* @memberof HorizonsWebsitesApi
|
|
21684
|
+
*/
|
|
21685
|
+
getWebsiteListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesWebsiteResource[], any, {}, any>>;
|
|
21686
|
+
/**
|
|
21687
|
+
* Get the link for the user to open their website in Hostinger Horizons interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons interface in the provided website URL.
|
|
21444
21688
|
* @summary Get website
|
|
21445
21689
|
* @param {string} websiteId The website ID
|
|
21446
21690
|
* @param {*} [options] Override http request option.
|
|
@@ -21448,6 +21692,15 @@ export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
|
21448
21692
|
* @memberof HorizonsWebsitesApi
|
|
21449
21693
|
*/
|
|
21450
21694
|
getWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesWebsiteUrlResource, any, {}, any>>;
|
|
21695
|
+
/**
|
|
21696
|
+
* Publish a Hostinger Horizons website so its latest changes go live.\\n Use this tool when the user asks to publish, deploy or make their website live.\\n This tool starts the publish process and returns the URL the website will be live on. Publishing happens asynchronously and takes a few minutes.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that the website is being published and you should provide the published URL to the user immediately.
|
|
21697
|
+
* @summary Publish website
|
|
21698
|
+
* @param {string} websiteId The website ID
|
|
21699
|
+
* @param {*} [options] Override http request option.
|
|
21700
|
+
* @throws {RequiredError}
|
|
21701
|
+
* @memberof HorizonsWebsitesApi
|
|
21702
|
+
*/
|
|
21703
|
+
publishWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesPublishedWebsiteResource, any, {}, any>>;
|
|
21451
21704
|
}
|
|
21452
21705
|
/**
|
|
21453
21706
|
* HostingCacheApi - axios parameter creator
|