hostinger-api-sdk 3.3.2 → 3.4.1
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 +31 -31
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +31 -31
- package/dist/api.js +25 -25
- 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 +31 -31
- package/dist/esm/api.js +25 -25
- 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/HorizonsV1WebsitesCreatedWebsiteResource.md +1 -1
- package/docs/HorizonsV1WebsitesPublishedWebsiteResource.md +1 -1
- package/docs/HorizonsV1WebsitesWebsiteResource.md +1 -1
- package/docs/HorizonsV1WebsitesWebsiteUrlResource.md +3 -3
- package/docs/HorizonsWebsitesApi.md +6 -6
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.
|
|
4
|
+
* API Version: 3.4.1
|
|
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
|
|
@@ -7672,7 +7672,7 @@ export type HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum = typeof
|
|
|
7672
7672
|
*/
|
|
7673
7673
|
export interface HorizonsV1WebsitesCreatedWebsiteResource {
|
|
7674
7674
|
/**
|
|
7675
|
-
* The website URL for the user to access their website in Hostinger
|
|
7675
|
+
* The website URL for the user to access their website in Hostinger AI Builder interface
|
|
7676
7676
|
* @type {string}
|
|
7677
7677
|
* @memberof HorizonsV1WebsitesCreatedWebsiteResource
|
|
7678
7678
|
*/
|
|
@@ -7752,7 +7752,7 @@ export interface HorizonsV1WebsitesPublishedWebsiteResource {
|
|
|
7752
7752
|
*/
|
|
7753
7753
|
'published_url': string;
|
|
7754
7754
|
/**
|
|
7755
|
-
* The website URL for the user to track progress in Hostinger
|
|
7755
|
+
* The website URL for the user to track progress in Hostinger AI Builder interface
|
|
7756
7756
|
* @type {string}
|
|
7757
7757
|
* @memberof HorizonsV1WebsitesPublishedWebsiteResource
|
|
7758
7758
|
*/
|
|
@@ -7805,7 +7805,7 @@ export interface HorizonsV1WebsitesWebsiteResource {
|
|
|
7805
7805
|
*/
|
|
7806
7806
|
'created_at': string;
|
|
7807
7807
|
/**
|
|
7808
|
-
* The website URL for the user to access their website in Hostinger
|
|
7808
|
+
* The website URL for the user to access their website in Hostinger AI Builder interface
|
|
7809
7809
|
* @type {string}
|
|
7810
7810
|
* @memberof HorizonsV1WebsitesWebsiteResource
|
|
7811
7811
|
*/
|
|
@@ -7825,7 +7825,7 @@ export type HorizonsV1WebsitesWebsiteResourceStatusEnum = typeof HorizonsV1Websi
|
|
|
7825
7825
|
*/
|
|
7826
7826
|
export interface HorizonsV1WebsitesWebsiteUrlResource {
|
|
7827
7827
|
/**
|
|
7828
|
-
* The website URL for the user to access their website in Hostinger
|
|
7828
|
+
* The website URL for the user to access their website in Hostinger AI Builder interface
|
|
7829
7829
|
* @type {string}
|
|
7830
7830
|
* @memberof HorizonsV1WebsitesWebsiteUrlResource
|
|
7831
7831
|
*/
|
|
@@ -7843,13 +7843,13 @@ export interface HorizonsV1WebsitesWebsiteUrlResource {
|
|
|
7843
7843
|
*/
|
|
7844
7844
|
'is_template': boolean;
|
|
7845
7845
|
/**
|
|
7846
|
-
* Whether Hostinger
|
|
7846
|
+
* Whether Hostinger AI Builder is still generating changes or publishing the website. Publishing is refused while it is true, and editing while changes are being generated. An unfinished template migration also refuses publishing, with its own error, without setting this flag.
|
|
7847
7847
|
* @type {boolean}
|
|
7848
7848
|
* @memberof HorizonsV1WebsitesWebsiteUrlResource
|
|
7849
7849
|
*/
|
|
7850
7850
|
'is_in_progress': boolean;
|
|
7851
7851
|
/**
|
|
7852
|
-
* Whether Hostinger
|
|
7852
|
+
* Whether Hostinger AI Builder is generating changes to the website. Editing and publishing are refused while it is true
|
|
7853
7853
|
* @type {boolean}
|
|
7854
7854
|
* @memberof HorizonsV1WebsitesWebsiteUrlResource
|
|
7855
7855
|
*/
|
|
@@ -26002,7 +26002,7 @@ export declare class GPUInstancesApi extends BaseAPI {
|
|
|
26002
26002
|
*/
|
|
26003
26003
|
export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26004
26004
|
/**
|
|
26005
|
-
* Clone a Hostinger
|
|
26005
|
+
* Clone a Hostinger AI Builder 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 AI Builder interface.
|
|
26006
26006
|
* @summary Clone website
|
|
26007
26007
|
* @param {string} websiteId The website ID
|
|
26008
26008
|
* @param {*} [options] Override http request option.
|
|
@@ -26010,7 +26010,7 @@ export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Conf
|
|
|
26010
26010
|
*/
|
|
26011
26011
|
cloneWebsiteV1: (websiteId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26012
26012
|
/**
|
|
26013
|
-
* Create new Hostinger
|
|
26013
|
+
* Create new Hostinger AI Builder 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 AI Builder 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 AI Builder 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 - Hostinger AI Builder 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
|
|
26014
26014
|
* @summary Create website
|
|
26015
26015
|
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
26016
26016
|
* @param {*} [options] Override http request option.
|
|
@@ -26018,7 +26018,7 @@ export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Conf
|
|
|
26018
26018
|
*/
|
|
26019
26019
|
createWebsiteV1: (horizonsV1WebsitesCreateWebsiteRequest: HorizonsV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26020
26020
|
/**
|
|
26021
|
-
* Edit an existing Hostinger
|
|
26021
|
+
* Edit an existing Hostinger AI Builder 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 AI Builder 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.
|
|
26022
26022
|
* @summary Edit website
|
|
26023
26023
|
* @param {string} websiteId The website ID
|
|
26024
26024
|
* @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
|
|
@@ -26027,14 +26027,14 @@ export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Conf
|
|
|
26027
26027
|
*/
|
|
26028
26028
|
editWebsiteV1: (websiteId: string, horizonsV1WebsitesEditWebsiteRequest: HorizonsV1WebsitesEditWebsiteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26029
26029
|
/**
|
|
26030
|
-
* List the Hostinger
|
|
26030
|
+
* List the Hostinger AI Builder 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 AI Builder interface.\\n The complete list of websites is returned in a single response - it is not paginated.
|
|
26031
26031
|
* @summary Get website list
|
|
26032
26032
|
* @param {*} [options] Override http request option.
|
|
26033
26033
|
* @throws {RequiredError}
|
|
26034
26034
|
*/
|
|
26035
26035
|
getWebsiteListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26036
26036
|
/**
|
|
26037
|
-
* Get the link for the user to open their website in Hostinger
|
|
26037
|
+
* Get the link for the user to open their website in Hostinger AI Builder 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 `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder interface in the provided website URL.
|
|
26038
26038
|
* @summary Get website
|
|
26039
26039
|
* @param {string} websiteId The website ID
|
|
26040
26040
|
* @param {*} [options] Override http request option.
|
|
@@ -26042,7 +26042,7 @@ export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Conf
|
|
|
26042
26042
|
*/
|
|
26043
26043
|
getWebsiteV1: (websiteId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26044
26044
|
/**
|
|
26045
|
-
* Publish a Hostinger
|
|
26045
|
+
* Publish a Hostinger AI Builder 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 Set `is_template` only when the user explicitly asks to share the website as a template: true adds a \"Use template\" banner to its published pages that copies the website into the visitor\'s own account, and false removes it. Leave it out to keep the current setting.\\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.
|
|
26046
26046
|
* @summary Publish website
|
|
26047
26047
|
* @param {string} websiteId The website ID
|
|
26048
26048
|
* @param {HorizonsV1WebsitesPublishWebsiteRequest} [horizonsV1WebsitesPublishWebsiteRequest]
|
|
@@ -26057,7 +26057,7 @@ export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Conf
|
|
|
26057
26057
|
*/
|
|
26058
26058
|
export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
26059
26059
|
/**
|
|
26060
|
-
* Clone a Hostinger
|
|
26060
|
+
* Clone a Hostinger AI Builder 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 AI Builder interface.
|
|
26061
26061
|
* @summary Clone website
|
|
26062
26062
|
* @param {string} websiteId The website ID
|
|
26063
26063
|
* @param {*} [options] Override http request option.
|
|
@@ -26065,7 +26065,7 @@ export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
|
26065
26065
|
*/
|
|
26066
26066
|
cloneWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>>;
|
|
26067
26067
|
/**
|
|
26068
|
-
* Create new Hostinger
|
|
26068
|
+
* Create new Hostinger AI Builder 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 AI Builder 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 AI Builder 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 - Hostinger AI Builder 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
|
|
26069
26069
|
* @summary Create website
|
|
26070
26070
|
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
26071
26071
|
* @param {*} [options] Override http request option.
|
|
@@ -26073,7 +26073,7 @@ export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
|
26073
26073
|
*/
|
|
26074
26074
|
createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest: HorizonsV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>>;
|
|
26075
26075
|
/**
|
|
26076
|
-
* Edit an existing Hostinger
|
|
26076
|
+
* Edit an existing Hostinger AI Builder 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 AI Builder 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.
|
|
26077
26077
|
* @summary Edit website
|
|
26078
26078
|
* @param {string} websiteId The website ID
|
|
26079
26079
|
* @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
|
|
@@ -26082,14 +26082,14 @@ export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
|
26082
26082
|
*/
|
|
26083
26083
|
editWebsiteV1(websiteId: string, horizonsV1WebsitesEditWebsiteRequest: HorizonsV1WebsitesEditWebsiteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>>;
|
|
26084
26084
|
/**
|
|
26085
|
-
* List the Hostinger
|
|
26085
|
+
* List the Hostinger AI Builder 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 AI Builder interface.\\n The complete list of websites is returned in a single response - it is not paginated.
|
|
26086
26086
|
* @summary Get website list
|
|
26087
26087
|
* @param {*} [options] Override http request option.
|
|
26088
26088
|
* @throws {RequiredError}
|
|
26089
26089
|
*/
|
|
26090
26090
|
getWebsiteListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HorizonsV1WebsitesWebsiteResource>>>;
|
|
26091
26091
|
/**
|
|
26092
|
-
* Get the link for the user to open their website in Hostinger
|
|
26092
|
+
* Get the link for the user to open their website in Hostinger AI Builder 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 `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder interface in the provided website URL.
|
|
26093
26093
|
* @summary Get website
|
|
26094
26094
|
* @param {string} websiteId The website ID
|
|
26095
26095
|
* @param {*} [options] Override http request option.
|
|
@@ -26097,7 +26097,7 @@ export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
|
26097
26097
|
*/
|
|
26098
26098
|
getWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HorizonsV1WebsitesWebsiteUrlResource>>;
|
|
26099
26099
|
/**
|
|
26100
|
-
* Publish a Hostinger
|
|
26100
|
+
* Publish a Hostinger AI Builder 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 Set `is_template` only when the user explicitly asks to share the website as a template: true adds a \"Use template\" banner to its published pages that copies the website into the visitor\'s own account, and false removes it. Leave it out to keep the current setting.\\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.
|
|
26101
26101
|
* @summary Publish website
|
|
26102
26102
|
* @param {string} websiteId The website ID
|
|
26103
26103
|
* @param {HorizonsV1WebsitesPublishWebsiteRequest} [horizonsV1WebsitesPublishWebsiteRequest]
|
|
@@ -26112,7 +26112,7 @@ export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
|
26112
26112
|
*/
|
|
26113
26113
|
export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
26114
26114
|
/**
|
|
26115
|
-
* Clone a Hostinger
|
|
26115
|
+
* Clone a Hostinger AI Builder 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 AI Builder interface.
|
|
26116
26116
|
* @summary Clone website
|
|
26117
26117
|
* @param {string} websiteId The website ID
|
|
26118
26118
|
* @param {*} [options] Override http request option.
|
|
@@ -26120,7 +26120,7 @@ export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration,
|
|
|
26120
26120
|
*/
|
|
26121
26121
|
cloneWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>;
|
|
26122
26122
|
/**
|
|
26123
|
-
* Create new Hostinger
|
|
26123
|
+
* Create new Hostinger AI Builder 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 AI Builder 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 AI Builder 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 - Hostinger AI Builder 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
|
|
26124
26124
|
* @summary Create website
|
|
26125
26125
|
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
26126
26126
|
* @param {*} [options] Override http request option.
|
|
@@ -26128,7 +26128,7 @@ export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration,
|
|
|
26128
26128
|
*/
|
|
26129
26129
|
createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest: HorizonsV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>;
|
|
26130
26130
|
/**
|
|
26131
|
-
* Edit an existing Hostinger
|
|
26131
|
+
* Edit an existing Hostinger AI Builder 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 AI Builder 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.
|
|
26132
26132
|
* @summary Edit website
|
|
26133
26133
|
* @param {string} websiteId The website ID
|
|
26134
26134
|
* @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
|
|
@@ -26137,14 +26137,14 @@ export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration,
|
|
|
26137
26137
|
*/
|
|
26138
26138
|
editWebsiteV1(websiteId: string, horizonsV1WebsitesEditWebsiteRequest: HorizonsV1WebsitesEditWebsiteRequest, options?: RawAxiosRequestConfig): AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>;
|
|
26139
26139
|
/**
|
|
26140
|
-
* List the Hostinger
|
|
26140
|
+
* List the Hostinger AI Builder 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 AI Builder interface.\\n The complete list of websites is returned in a single response - it is not paginated.
|
|
26141
26141
|
* @summary Get website list
|
|
26142
26142
|
* @param {*} [options] Override http request option.
|
|
26143
26143
|
* @throws {RequiredError}
|
|
26144
26144
|
*/
|
|
26145
26145
|
getWebsiteListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<HorizonsV1WebsitesWebsiteResource>>;
|
|
26146
26146
|
/**
|
|
26147
|
-
* Get the link for the user to open their website in Hostinger
|
|
26147
|
+
* Get the link for the user to open their website in Hostinger AI Builder 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 `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder interface in the provided website URL.
|
|
26148
26148
|
* @summary Get website
|
|
26149
26149
|
* @param {string} websiteId The website ID
|
|
26150
26150
|
* @param {*} [options] Override http request option.
|
|
@@ -26152,7 +26152,7 @@ export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration,
|
|
|
26152
26152
|
*/
|
|
26153
26153
|
getWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): AxiosPromise<HorizonsV1WebsitesWebsiteUrlResource>;
|
|
26154
26154
|
/**
|
|
26155
|
-
* Publish a Hostinger
|
|
26155
|
+
* Publish a Hostinger AI Builder 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 Set `is_template` only when the user explicitly asks to share the website as a template: true adds a \"Use template\" banner to its published pages that copies the website into the visitor\'s own account, and false removes it. Leave it out to keep the current setting.\\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.
|
|
26156
26156
|
* @summary Publish website
|
|
26157
26157
|
* @param {string} websiteId The website ID
|
|
26158
26158
|
* @param {HorizonsV1WebsitesPublishWebsiteRequest} [horizonsV1WebsitesPublishWebsiteRequest]
|
|
@@ -26169,7 +26169,7 @@ export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration,
|
|
|
26169
26169
|
*/
|
|
26170
26170
|
export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
26171
26171
|
/**
|
|
26172
|
-
* Clone a Hostinger
|
|
26172
|
+
* Clone a Hostinger AI Builder 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 AI Builder interface.
|
|
26173
26173
|
* @summary Clone website
|
|
26174
26174
|
* @param {string} websiteId The website ID
|
|
26175
26175
|
* @param {*} [options] Override http request option.
|
|
@@ -26178,7 +26178,7 @@ export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
|
26178
26178
|
*/
|
|
26179
26179
|
cloneWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesCreatedWebsiteResource, any, {}, any>>;
|
|
26180
26180
|
/**
|
|
26181
|
-
* Create new Hostinger
|
|
26181
|
+
* Create new Hostinger AI Builder 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 AI Builder 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 AI Builder 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 - Hostinger AI Builder 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
|
|
26182
26182
|
* @summary Create website
|
|
26183
26183
|
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
26184
26184
|
* @param {*} [options] Override http request option.
|
|
@@ -26187,7 +26187,7 @@ export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
|
26187
26187
|
*/
|
|
26188
26188
|
createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest: HorizonsV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesCreatedWebsiteResource, any, {}, any>>;
|
|
26189
26189
|
/**
|
|
26190
|
-
* Edit an existing Hostinger
|
|
26190
|
+
* Edit an existing Hostinger AI Builder 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 AI Builder 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.
|
|
26191
26191
|
* @summary Edit website
|
|
26192
26192
|
* @param {string} websiteId The website ID
|
|
26193
26193
|
* @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
|
|
@@ -26197,7 +26197,7 @@ export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
|
26197
26197
|
*/
|
|
26198
26198
|
editWebsiteV1(websiteId: string, horizonsV1WebsitesEditWebsiteRequest: HorizonsV1WebsitesEditWebsiteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesCreatedWebsiteResource, any, {}, any>>;
|
|
26199
26199
|
/**
|
|
26200
|
-
* List the Hostinger
|
|
26200
|
+
* List the Hostinger AI Builder 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 AI Builder interface.\\n The complete list of websites is returned in a single response - it is not paginated.
|
|
26201
26201
|
* @summary Get website list
|
|
26202
26202
|
* @param {*} [options] Override http request option.
|
|
26203
26203
|
* @throws {RequiredError}
|
|
@@ -26205,7 +26205,7 @@ export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
|
26205
26205
|
*/
|
|
26206
26206
|
getWebsiteListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesWebsiteResource[], any, {}, any>>;
|
|
26207
26207
|
/**
|
|
26208
|
-
* Get the link for the user to open their website in Hostinger
|
|
26208
|
+
* Get the link for the user to open their website in Hostinger AI Builder 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 `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder interface in the provided website URL.
|
|
26209
26209
|
* @summary Get website
|
|
26210
26210
|
* @param {string} websiteId The website ID
|
|
26211
26211
|
* @param {*} [options] Override http request option.
|
|
@@ -26214,7 +26214,7 @@ export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
|
26214
26214
|
*/
|
|
26215
26215
|
getWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesWebsiteUrlResource, any, {}, any>>;
|
|
26216
26216
|
/**
|
|
26217
|
-
* Publish a Hostinger
|
|
26217
|
+
* Publish a Hostinger AI Builder 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 Set `is_template` only when the user explicitly asks to share the website as a template: true adds a \"Use template\" banner to its published pages that copies the website into the visitor\'s own account, and false removes it. Leave it out to keep the current setting.\\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.
|
|
26218
26218
|
* @summary Publish website
|
|
26219
26219
|
* @param {string} websiteId The website ID
|
|
26220
26220
|
* @param {HorizonsV1WebsitesPublishWebsiteRequest} [horizonsV1WebsitesPublishWebsiteRequest]
|