hostinger-api-sdk 3.4.0 → 3.4.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/dist/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 3.4.0
7
+ * API Version: 3.4.2
8
8
  *
9
9
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -13498,7 +13498,7 @@ exports.GPUInstancesApi = GPUInstancesApi;
13498
13498
  const HorizonsWebsitesApiAxiosParamCreator = function (configuration) {
13499
13499
  return {
13500
13500
  /**
13501
- * 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.
13501
+ * 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.
13502
13502
  * @summary Clone website
13503
13503
  * @param {string} websiteId The website ID
13504
13504
  * @param {*} [options] Override http request option.
@@ -13530,7 +13530,7 @@ const HorizonsWebsitesApiAxiosParamCreator = function (configuration) {
13530
13530
  };
13531
13531
  }),
13532
13532
  /**
13533
- * 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
13533
+ * 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
13534
13534
  * @summary Create website
13535
13535
  * @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
13536
13536
  * @param {*} [options] Override http request option.
@@ -13563,7 +13563,7 @@ const HorizonsWebsitesApiAxiosParamCreator = function (configuration) {
13563
13563
  };
13564
13564
  }),
13565
13565
  /**
13566
- * 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.
13566
+ * 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.
13567
13567
  * @summary Edit website
13568
13568
  * @param {string} websiteId The website ID
13569
13569
  * @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
@@ -13600,7 +13600,7 @@ const HorizonsWebsitesApiAxiosParamCreator = function (configuration) {
13600
13600
  };
13601
13601
  }),
13602
13602
  /**
13603
- * 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.
13603
+ * 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.
13604
13604
  * @summary Get website list
13605
13605
  * @param {*} [options] Override http request option.
13606
13606
  * @throws {RequiredError}
@@ -13628,7 +13628,7 @@ const HorizonsWebsitesApiAxiosParamCreator = function (configuration) {
13628
13628
  };
13629
13629
  }),
13630
13630
  /**
13631
- * 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 `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 Horizons interface in the provided website URL.
13631
+ * 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.
13632
13632
  * @summary Get website
13633
13633
  * @param {string} websiteId The website ID
13634
13634
  * @param {*} [options] Override http request option.
@@ -13660,7 +13660,7 @@ const HorizonsWebsitesApiAxiosParamCreator = function (configuration) {
13660
13660
  };
13661
13661
  }),
13662
13662
  /**
13663
- * 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 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.
13663
+ * 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.
13664
13664
  * @summary Publish website
13665
13665
  * @param {string} websiteId The website ID
13666
13666
  * @param {HorizonsV1WebsitesPublishWebsiteRequest} [horizonsV1WebsitesPublishWebsiteRequest]
@@ -13705,7 +13705,7 @@ const HorizonsWebsitesApiFp = function (configuration) {
13705
13705
  const localVarAxiosParamCreator = (0, exports.HorizonsWebsitesApiAxiosParamCreator)(configuration);
13706
13706
  return {
13707
13707
  /**
13708
- * 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.
13708
+ * 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.
13709
13709
  * @summary Clone website
13710
13710
  * @param {string} websiteId The website ID
13711
13711
  * @param {*} [options] Override http request option.
@@ -13720,7 +13720,7 @@ const HorizonsWebsitesApiFp = function (configuration) {
13720
13720
  });
13721
13721
  },
13722
13722
  /**
13723
- * 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
13723
+ * 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
13724
13724
  * @summary Create website
13725
13725
  * @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
13726
13726
  * @param {*} [options] Override http request option.
@@ -13735,7 +13735,7 @@ const HorizonsWebsitesApiFp = function (configuration) {
13735
13735
  });
13736
13736
  },
13737
13737
  /**
13738
- * 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.
13738
+ * 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.
13739
13739
  * @summary Edit website
13740
13740
  * @param {string} websiteId The website ID
13741
13741
  * @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
@@ -13751,7 +13751,7 @@ const HorizonsWebsitesApiFp = function (configuration) {
13751
13751
  });
13752
13752
  },
13753
13753
  /**
13754
- * 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.
13754
+ * 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.
13755
13755
  * @summary Get website list
13756
13756
  * @param {*} [options] Override http request option.
13757
13757
  * @throws {RequiredError}
@@ -13765,7 +13765,7 @@ const HorizonsWebsitesApiFp = function (configuration) {
13765
13765
  });
13766
13766
  },
13767
13767
  /**
13768
- * 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 `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 Horizons interface in the provided website URL.
13768
+ * 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.
13769
13769
  * @summary Get website
13770
13770
  * @param {string} websiteId The website ID
13771
13771
  * @param {*} [options] Override http request option.
@@ -13780,7 +13780,7 @@ const HorizonsWebsitesApiFp = function (configuration) {
13780
13780
  });
13781
13781
  },
13782
13782
  /**
13783
- * 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 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.
13783
+ * 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.
13784
13784
  * @summary Publish website
13785
13785
  * @param {string} websiteId The website ID
13786
13786
  * @param {HorizonsV1WebsitesPublishWebsiteRequest} [horizonsV1WebsitesPublishWebsiteRequest]
@@ -13806,7 +13806,7 @@ const HorizonsWebsitesApiFactory = function (configuration, basePath, axios) {
13806
13806
  const localVarFp = (0, exports.HorizonsWebsitesApiFp)(configuration);
13807
13807
  return {
13808
13808
  /**
13809
- * 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.
13809
+ * 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.
13810
13810
  * @summary Clone website
13811
13811
  * @param {string} websiteId The website ID
13812
13812
  * @param {*} [options] Override http request option.
@@ -13816,7 +13816,7 @@ const HorizonsWebsitesApiFactory = function (configuration, basePath, axios) {
13816
13816
  return localVarFp.cloneWebsiteV1(websiteId, options).then((request) => request(axios, basePath));
13817
13817
  },
13818
13818
  /**
13819
- * 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
13819
+ * 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
13820
13820
  * @summary Create website
13821
13821
  * @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
13822
13822
  * @param {*} [options] Override http request option.
@@ -13826,7 +13826,7 @@ const HorizonsWebsitesApiFactory = function (configuration, basePath, axios) {
13826
13826
  return localVarFp.createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest, options).then((request) => request(axios, basePath));
13827
13827
  },
13828
13828
  /**
13829
- * 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.
13829
+ * 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.
13830
13830
  * @summary Edit website
13831
13831
  * @param {string} websiteId The website ID
13832
13832
  * @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
@@ -13837,7 +13837,7 @@ const HorizonsWebsitesApiFactory = function (configuration, basePath, axios) {
13837
13837
  return localVarFp.editWebsiteV1(websiteId, horizonsV1WebsitesEditWebsiteRequest, options).then((request) => request(axios, basePath));
13838
13838
  },
13839
13839
  /**
13840
- * 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.
13840
+ * 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.
13841
13841
  * @summary Get website list
13842
13842
  * @param {*} [options] Override http request option.
13843
13843
  * @throws {RequiredError}
@@ -13846,7 +13846,7 @@ const HorizonsWebsitesApiFactory = function (configuration, basePath, axios) {
13846
13846
  return localVarFp.getWebsiteListV1(options).then((request) => request(axios, basePath));
13847
13847
  },
13848
13848
  /**
13849
- * 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 `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 Horizons interface in the provided website URL.
13849
+ * 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.
13850
13850
  * @summary Get website
13851
13851
  * @param {string} websiteId The website ID
13852
13852
  * @param {*} [options] Override http request option.
@@ -13856,7 +13856,7 @@ const HorizonsWebsitesApiFactory = function (configuration, basePath, axios) {
13856
13856
  return localVarFp.getWebsiteV1(websiteId, options).then((request) => request(axios, basePath));
13857
13857
  },
13858
13858
  /**
13859
- * 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 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.
13859
+ * 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.
13860
13860
  * @summary Publish website
13861
13861
  * @param {string} websiteId The website ID
13862
13862
  * @param {HorizonsV1WebsitesPublishWebsiteRequest} [horizonsV1WebsitesPublishWebsiteRequest]
@@ -13877,7 +13877,7 @@ exports.HorizonsWebsitesApiFactory = HorizonsWebsitesApiFactory;
13877
13877
  */
13878
13878
  class HorizonsWebsitesApi extends base_1.BaseAPI {
13879
13879
  /**
13880
- * 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.
13880
+ * 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.
13881
13881
  * @summary Clone website
13882
13882
  * @param {string} websiteId The website ID
13883
13883
  * @param {*} [options] Override http request option.
@@ -13888,7 +13888,7 @@ class HorizonsWebsitesApi extends base_1.BaseAPI {
13888
13888
  return (0, exports.HorizonsWebsitesApiFp)(this.configuration).cloneWebsiteV1(websiteId, options).then((request) => request(this.axios, this.basePath));
13889
13889
  }
13890
13890
  /**
13891
- * 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
13891
+ * 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
13892
13892
  * @summary Create website
13893
13893
  * @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
13894
13894
  * @param {*} [options] Override http request option.
@@ -13899,7 +13899,7 @@ class HorizonsWebsitesApi extends base_1.BaseAPI {
13899
13899
  return (0, exports.HorizonsWebsitesApiFp)(this.configuration).createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest, options).then((request) => request(this.axios, this.basePath));
13900
13900
  }
13901
13901
  /**
13902
- * 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.
13902
+ * 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.
13903
13903
  * @summary Edit website
13904
13904
  * @param {string} websiteId The website ID
13905
13905
  * @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
@@ -13911,7 +13911,7 @@ class HorizonsWebsitesApi extends base_1.BaseAPI {
13911
13911
  return (0, exports.HorizonsWebsitesApiFp)(this.configuration).editWebsiteV1(websiteId, horizonsV1WebsitesEditWebsiteRequest, options).then((request) => request(this.axios, this.basePath));
13912
13912
  }
13913
13913
  /**
13914
- * 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.
13914
+ * 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.
13915
13915
  * @summary Get website list
13916
13916
  * @param {*} [options] Override http request option.
13917
13917
  * @throws {RequiredError}
@@ -13921,7 +13921,7 @@ class HorizonsWebsitesApi extends base_1.BaseAPI {
13921
13921
  return (0, exports.HorizonsWebsitesApiFp)(this.configuration).getWebsiteListV1(options).then((request) => request(this.axios, this.basePath));
13922
13922
  }
13923
13923
  /**
13924
- * 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 `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 Horizons interface in the provided website URL.
13924
+ * 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.
13925
13925
  * @summary Get website
13926
13926
  * @param {string} websiteId The website ID
13927
13927
  * @param {*} [options] Override http request option.
@@ -13932,7 +13932,7 @@ class HorizonsWebsitesApi extends base_1.BaseAPI {
13932
13932
  return (0, exports.HorizonsWebsitesApiFp)(this.configuration).getWebsiteV1(websiteId, options).then((request) => request(this.axios, this.basePath));
13933
13933
  }
13934
13934
  /**
13935
- * 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 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.
13935
+ * 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.
13936
13936
  * @summary Publish website
13937
13937
  * @param {string} websiteId The website ID
13938
13938
  * @param {HorizonsV1WebsitesPublishWebsiteRequest} [horizonsV1WebsitesPublishWebsiteRequest]
@@ -34169,44 +34169,6 @@ exports.VPSPostInstallScriptsApi = VPSPostInstallScriptsApi;
34169
34169
  */
34170
34170
  const VPSPublicKeysApiAxiosParamCreator = function (configuration) {
34171
34171
  return {
34172
- /**
34173
- * Deprecated: use `POST /api/vps/v1/virtual-machines/{virtualMachineId}/ssh-keys` instead. Attach existing public keys from your account to a specified virtual machine. Multiple keys can be attached to a single virtual machine. Use this endpoint to enable SSH key authentication for VPS instances.
34174
- * @summary Attach public key
34175
- * @param {number} virtualMachineId Virtual Machine ID
34176
- * @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
34177
- * @param {*} [options] Override http request option.
34178
- * @deprecated
34179
- * @throws {RequiredError}
34180
- */
34181
- attachPublicKeyV1: (virtualMachineId_1, vPSV1PublicKeyAttachRequest_1, ...args_1) => __awaiter(this, [virtualMachineId_1, vPSV1PublicKeyAttachRequest_1, ...args_1], void 0, function* (virtualMachineId, vPSV1PublicKeyAttachRequest, options = {}) {
34182
- // verify required parameter 'virtualMachineId' is not null or undefined
34183
- (0, common_1.assertParamExists)('attachPublicKeyV1', 'virtualMachineId', virtualMachineId);
34184
- // verify required parameter 'vPSV1PublicKeyAttachRequest' is not null or undefined
34185
- (0, common_1.assertParamExists)('attachPublicKeyV1', 'vPSV1PublicKeyAttachRequest', vPSV1PublicKeyAttachRequest);
34186
- const localVarPath = `/api/vps/v1/public-keys/attach/{virtualMachineId}`
34187
- .replace(`{${"virtualMachineId"}}`, (0, common_1.encodePathParam)('virtualMachineId', virtualMachineId));
34188
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
34189
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
34190
- let baseOptions;
34191
- if (configuration) {
34192
- baseOptions = configuration.baseOptions;
34193
- }
34194
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
34195
- const localVarHeaderParameter = {};
34196
- const localVarQueryParameter = {};
34197
- // authentication apiToken required
34198
- // http bearer authentication required
34199
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
34200
- localVarHeaderParameter['Content-Type'] = 'application/json';
34201
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
34202
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34203
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
34204
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(vPSV1PublicKeyAttachRequest, localVarRequestOptions, configuration);
34205
- return {
34206
- url: (0, common_1.toPathString)(localVarUrlObj),
34207
- options: localVarRequestOptions,
34208
- };
34209
- }),
34210
34172
  /**
34211
34173
  * Deprecated: account-level public keys have no direct replacement. Root SSH keys are now managed per virtual machine via `POST /api/vps/v1/virtual-machines/{virtualMachineId}/ssh-keys`. Add a new public key to your account. Use this endpoint to register SSH keys for VPS authentication.
34212
34174
  * @summary Create public key
@@ -34317,23 +34279,6 @@ exports.VPSPublicKeysApiAxiosParamCreator = VPSPublicKeysApiAxiosParamCreator;
34317
34279
  const VPSPublicKeysApiFp = function (configuration) {
34318
34280
  const localVarAxiosParamCreator = (0, exports.VPSPublicKeysApiAxiosParamCreator)(configuration);
34319
34281
  return {
34320
- /**
34321
- * Deprecated: use `POST /api/vps/v1/virtual-machines/{virtualMachineId}/ssh-keys` instead. Attach existing public keys from your account to a specified virtual machine. Multiple keys can be attached to a single virtual machine. Use this endpoint to enable SSH key authentication for VPS instances.
34322
- * @summary Attach public key
34323
- * @param {number} virtualMachineId Virtual Machine ID
34324
- * @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
34325
- * @param {*} [options] Override http request option.
34326
- * @deprecated
34327
- * @throws {RequiredError}
34328
- */
34329
- attachPublicKeyV1(virtualMachineId, vPSV1PublicKeyAttachRequest, options) {
34330
- return __awaiter(this, void 0, void 0, function* () {
34331
- var _a, _b;
34332
- const localVarAxiosArgs = yield localVarAxiosParamCreator.attachPublicKeyV1(virtualMachineId, vPSV1PublicKeyAttachRequest, options);
34333
- const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['VPSPublicKeysApi.attachPublicKeyV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
34334
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
34335
- });
34336
- },
34337
34282
  /**
34338
34283
  * Deprecated: account-level public keys have no direct replacement. Root SSH keys are now managed per virtual machine via `POST /api/vps/v1/virtual-machines/{virtualMachineId}/ssh-keys`. Add a new public key to your account. Use this endpoint to register SSH keys for VPS authentication.
34339
34284
  * @summary Create public key
@@ -34392,18 +34337,6 @@ exports.VPSPublicKeysApiFp = VPSPublicKeysApiFp;
34392
34337
  const VPSPublicKeysApiFactory = function (configuration, basePath, axios) {
34393
34338
  const localVarFp = (0, exports.VPSPublicKeysApiFp)(configuration);
34394
34339
  return {
34395
- /**
34396
- * Deprecated: use `POST /api/vps/v1/virtual-machines/{virtualMachineId}/ssh-keys` instead. Attach existing public keys from your account to a specified virtual machine. Multiple keys can be attached to a single virtual machine. Use this endpoint to enable SSH key authentication for VPS instances.
34397
- * @summary Attach public key
34398
- * @param {number} virtualMachineId Virtual Machine ID
34399
- * @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
34400
- * @param {*} [options] Override http request option.
34401
- * @deprecated
34402
- * @throws {RequiredError}
34403
- */
34404
- attachPublicKeyV1(virtualMachineId, vPSV1PublicKeyAttachRequest, options) {
34405
- return localVarFp.attachPublicKeyV1(virtualMachineId, vPSV1PublicKeyAttachRequest, options).then((request) => request(axios, basePath));
34406
- },
34407
34340
  /**
34408
34341
  * Deprecated: account-level public keys have no direct replacement. Root SSH keys are now managed per virtual machine via `POST /api/vps/v1/virtual-machines/{virtualMachineId}/ssh-keys`. Add a new public key to your account. Use this endpoint to register SSH keys for VPS authentication.
34409
34342
  * @summary Create public key
@@ -34447,19 +34380,6 @@ exports.VPSPublicKeysApiFactory = VPSPublicKeysApiFactory;
34447
34380
  * @extends {BaseAPI}
34448
34381
  */
34449
34382
  class VPSPublicKeysApi extends base_1.BaseAPI {
34450
- /**
34451
- * Deprecated: use `POST /api/vps/v1/virtual-machines/{virtualMachineId}/ssh-keys` instead. Attach existing public keys from your account to a specified virtual machine. Multiple keys can be attached to a single virtual machine. Use this endpoint to enable SSH key authentication for VPS instances.
34452
- * @summary Attach public key
34453
- * @param {number} virtualMachineId Virtual Machine ID
34454
- * @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
34455
- * @param {*} [options] Override http request option.
34456
- * @deprecated
34457
- * @throws {RequiredError}
34458
- * @memberof VPSPublicKeysApi
34459
- */
34460
- attachPublicKeyV1(virtualMachineId, vPSV1PublicKeyAttachRequest, options) {
34461
- return (0, exports.VPSPublicKeysApiFp)(this.configuration).attachPublicKeyV1(virtualMachineId, vPSV1PublicKeyAttachRequest, options).then((request) => request(this.axios, this.basePath));
34462
- }
34463
34383
  /**
34464
34384
  * Deprecated: account-level public keys have no direct replacement. Root SSH keys are now managed per virtual machine via `POST /api/vps/v1/virtual-machines/{virtualMachineId}/ssh-keys`. Add a new public key to your account. Use this endpoint to register SSH keys for VPS authentication.
34465
34385
  * @summary Create public key
@@ -35254,43 +35174,6 @@ exports.VPSSnapshotsApi = VPSSnapshotsApi;
35254
35174
  */
35255
35175
  const VPSVirtualMachineApiAxiosParamCreator = function (configuration) {
35256
35176
  return {
35257
- /**
35258
- * Deprecated: use `GET /api/vps/v1/virtual-machines/{virtualMachineId}/ssh-keys` instead. Retrieve public keys attached to a specified virtual machine. Use this endpoint to view SSH keys configured for specific VPS instances.
35259
- * @summary Get attached public keys
35260
- * @param {number} virtualMachineId Virtual Machine ID
35261
- * @param {number} [page] Page number
35262
- * @param {*} [options] Override http request option.
35263
- * @deprecated
35264
- * @throws {RequiredError}
35265
- */
35266
- getAttachedPublicKeysV1: (virtualMachineId_1, page_1, ...args_1) => __awaiter(this, [virtualMachineId_1, page_1, ...args_1], void 0, function* (virtualMachineId, page, options = {}) {
35267
- // verify required parameter 'virtualMachineId' is not null or undefined
35268
- (0, common_1.assertParamExists)('getAttachedPublicKeysV1', 'virtualMachineId', virtualMachineId);
35269
- const localVarPath = `/api/vps/v1/virtual-machines/{virtualMachineId}/public-keys`
35270
- .replace(`{${"virtualMachineId"}}`, (0, common_1.encodePathParam)('virtualMachineId', virtualMachineId));
35271
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
35272
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
35273
- let baseOptions;
35274
- if (configuration) {
35275
- baseOptions = configuration.baseOptions;
35276
- }
35277
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
35278
- const localVarHeaderParameter = {};
35279
- const localVarQueryParameter = {};
35280
- // authentication apiToken required
35281
- // http bearer authentication required
35282
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
35283
- if (page !== undefined) {
35284
- localVarQueryParameter['page'] = page;
35285
- }
35286
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
35287
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35288
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
35289
- return {
35290
- url: (0, common_1.toPathString)(localVarUrlObj),
35291
- options: localVarRequestOptions,
35292
- };
35293
- }),
35294
35177
  /**
35295
35178
  * Retrieve historical metrics for a specified virtual machine. It includes the following metrics: - CPU usage - Memory usage - Disk usage - Network usage - Uptime Use this endpoint to monitor VPS performance and resource utilization over time.
35296
35179
  * @summary Get metrics
@@ -35792,23 +35675,6 @@ exports.VPSVirtualMachineApiAxiosParamCreator = VPSVirtualMachineApiAxiosParamCr
35792
35675
  const VPSVirtualMachineApiFp = function (configuration) {
35793
35676
  const localVarAxiosParamCreator = (0, exports.VPSVirtualMachineApiAxiosParamCreator)(configuration);
35794
35677
  return {
35795
- /**
35796
- * Deprecated: use `GET /api/vps/v1/virtual-machines/{virtualMachineId}/ssh-keys` instead. Retrieve public keys attached to a specified virtual machine. Use this endpoint to view SSH keys configured for specific VPS instances.
35797
- * @summary Get attached public keys
35798
- * @param {number} virtualMachineId Virtual Machine ID
35799
- * @param {number} [page] Page number
35800
- * @param {*} [options] Override http request option.
35801
- * @deprecated
35802
- * @throws {RequiredError}
35803
- */
35804
- getAttachedPublicKeysV1(virtualMachineId, page, options) {
35805
- return __awaiter(this, void 0, void 0, function* () {
35806
- var _a, _b;
35807
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getAttachedPublicKeysV1(virtualMachineId, page, options);
35808
- const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['VPSVirtualMachineApi.getAttachedPublicKeysV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
35809
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35810
- });
35811
- },
35812
35678
  /**
35813
35679
  * Retrieve historical metrics for a specified virtual machine. It includes the following metrics: - CPU usage - Memory usage - Disk usage - Network usage - Uptime Use this endpoint to monitor VPS performance and resource utilization over time.
35814
35680
  * @summary Get metrics
@@ -36036,18 +35902,6 @@ exports.VPSVirtualMachineApiFp = VPSVirtualMachineApiFp;
36036
35902
  const VPSVirtualMachineApiFactory = function (configuration, basePath, axios) {
36037
35903
  const localVarFp = (0, exports.VPSVirtualMachineApiFp)(configuration);
36038
35904
  return {
36039
- /**
36040
- * Deprecated: use `GET /api/vps/v1/virtual-machines/{virtualMachineId}/ssh-keys` instead. Retrieve public keys attached to a specified virtual machine. Use this endpoint to view SSH keys configured for specific VPS instances.
36041
- * @summary Get attached public keys
36042
- * @param {number} virtualMachineId Virtual Machine ID
36043
- * @param {number} [page] Page number
36044
- * @param {*} [options] Override http request option.
36045
- * @deprecated
36046
- * @throws {RequiredError}
36047
- */
36048
- getAttachedPublicKeysV1(virtualMachineId, page, options) {
36049
- return localVarFp.getAttachedPublicKeysV1(virtualMachineId, page, options).then((request) => request(axios, basePath));
36050
- },
36051
35905
  /**
36052
35906
  * Retrieve historical metrics for a specified virtual machine. It includes the following metrics: - CPU usage - Memory usage - Disk usage - Network usage - Uptime Use this endpoint to monitor VPS performance and resource utilization over time.
36053
35907
  * @summary Get metrics
@@ -36205,19 +36059,6 @@ exports.VPSVirtualMachineApiFactory = VPSVirtualMachineApiFactory;
36205
36059
  * @extends {BaseAPI}
36206
36060
  */
36207
36061
  class VPSVirtualMachineApi extends base_1.BaseAPI {
36208
- /**
36209
- * Deprecated: use `GET /api/vps/v1/virtual-machines/{virtualMachineId}/ssh-keys` instead. Retrieve public keys attached to a specified virtual machine. Use this endpoint to view SSH keys configured for specific VPS instances.
36210
- * @summary Get attached public keys
36211
- * @param {number} virtualMachineId Virtual Machine ID
36212
- * @param {number} [page] Page number
36213
- * @param {*} [options] Override http request option.
36214
- * @deprecated
36215
- * @throws {RequiredError}
36216
- * @memberof VPSVirtualMachineApi
36217
- */
36218
- getAttachedPublicKeysV1(virtualMachineId, page, options) {
36219
- return (0, exports.VPSVirtualMachineApiFp)(this.configuration).getAttachedPublicKeysV1(virtualMachineId, page, options).then((request) => request(this.axios, this.basePath));
36220
- }
36221
36062
  /**
36222
36063
  * Retrieve historical metrics for a specified virtual machine. It includes the following metrics: - CPU usage - Memory usage - Disk usage - Network usage - Uptime Use this endpoint to monitor VPS performance and resource utilization over time.
36223
36064
  * @summary Get metrics
package/dist/base.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 3.4.0
4
+ * API Version: 3.4.2
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/dist/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 3.4.0
7
+ * API Version: 3.4.2
8
8
  *
9
9
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/dist/common.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 3.4.0
4
+ * API Version: 3.4.2
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/dist/common.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 3.4.0
7
+ * API Version: 3.4.2
8
8
  *
9
9
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 3.4.0
4
+ * API Version: 3.4.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
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 3.4.0
7
+ * API Version: 3.4.2
8
8
  *
9
9
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -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/3.4.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
19
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/3.4.2" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
20
20
  this.formDataCtor = param.formDataCtor;
21
21
  }
22
22
  /**