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/README.md +2 -2
- package/api.ts +31 -213
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +31 -126
- package/dist/api.js +25 -184
- 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 -126
- package/dist/esm/api.js +25 -184
- 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/docs/VPSPublicKeysApi.md +0 -59
- package/docs/VPSVirtualMachineApi.md +0 -57
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/VPSV1PublicKeyAttachRequest.md +0 -20
package/dist/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.4.
|
|
6
|
+
* API Version: 3.4.2
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -13319,7 +13319,7 @@ export class GPUInstancesApi extends BaseAPI {
|
|
|
13319
13319
|
export const HorizonsWebsitesApiAxiosParamCreator = function (configuration) {
|
|
13320
13320
|
return {
|
|
13321
13321
|
/**
|
|
13322
|
-
* Clone a Hostinger
|
|
13322
|
+
* 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.
|
|
13323
13323
|
* @summary Clone website
|
|
13324
13324
|
* @param {string} websiteId The website ID
|
|
13325
13325
|
* @param {*} [options] Override http request option.
|
|
@@ -13351,7 +13351,7 @@ export const HorizonsWebsitesApiAxiosParamCreator = function (configuration) {
|
|
|
13351
13351
|
};
|
|
13352
13352
|
}),
|
|
13353
13353
|
/**
|
|
13354
|
-
* Create new Hostinger
|
|
13354
|
+
* 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
|
|
13355
13355
|
* @summary Create website
|
|
13356
13356
|
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
13357
13357
|
* @param {*} [options] Override http request option.
|
|
@@ -13384,7 +13384,7 @@ export const HorizonsWebsitesApiAxiosParamCreator = function (configuration) {
|
|
|
13384
13384
|
};
|
|
13385
13385
|
}),
|
|
13386
13386
|
/**
|
|
13387
|
-
* Edit an existing Hostinger
|
|
13387
|
+
* 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.
|
|
13388
13388
|
* @summary Edit website
|
|
13389
13389
|
* @param {string} websiteId The website ID
|
|
13390
13390
|
* @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
|
|
@@ -13421,7 +13421,7 @@ export const HorizonsWebsitesApiAxiosParamCreator = function (configuration) {
|
|
|
13421
13421
|
};
|
|
13422
13422
|
}),
|
|
13423
13423
|
/**
|
|
13424
|
-
* List the Hostinger
|
|
13424
|
+
* 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.
|
|
13425
13425
|
* @summary Get website list
|
|
13426
13426
|
* @param {*} [options] Override http request option.
|
|
13427
13427
|
* @throws {RequiredError}
|
|
@@ -13449,7 +13449,7 @@ export const HorizonsWebsitesApiAxiosParamCreator = function (configuration) {
|
|
|
13449
13449
|
};
|
|
13450
13450
|
}),
|
|
13451
13451
|
/**
|
|
13452
|
-
* Get the link for the user to open their website in Hostinger
|
|
13452
|
+
* 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.
|
|
13453
13453
|
* @summary Get website
|
|
13454
13454
|
* @param {string} websiteId The website ID
|
|
13455
13455
|
* @param {*} [options] Override http request option.
|
|
@@ -13481,7 +13481,7 @@ export const HorizonsWebsitesApiAxiosParamCreator = function (configuration) {
|
|
|
13481
13481
|
};
|
|
13482
13482
|
}),
|
|
13483
13483
|
/**
|
|
13484
|
-
* Publish a Hostinger
|
|
13484
|
+
* 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.
|
|
13485
13485
|
* @summary Publish website
|
|
13486
13486
|
* @param {string} websiteId The website ID
|
|
13487
13487
|
* @param {HorizonsV1WebsitesPublishWebsiteRequest} [horizonsV1WebsitesPublishWebsiteRequest]
|
|
@@ -13525,7 +13525,7 @@ export const HorizonsWebsitesApiFp = function (configuration) {
|
|
|
13525
13525
|
const localVarAxiosParamCreator = HorizonsWebsitesApiAxiosParamCreator(configuration);
|
|
13526
13526
|
return {
|
|
13527
13527
|
/**
|
|
13528
|
-
* Clone a Hostinger
|
|
13528
|
+
* 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.
|
|
13529
13529
|
* @summary Clone website
|
|
13530
13530
|
* @param {string} websiteId The website ID
|
|
13531
13531
|
* @param {*} [options] Override http request option.
|
|
@@ -13540,7 +13540,7 @@ export const HorizonsWebsitesApiFp = function (configuration) {
|
|
|
13540
13540
|
});
|
|
13541
13541
|
},
|
|
13542
13542
|
/**
|
|
13543
|
-
* Create new Hostinger
|
|
13543
|
+
* 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
|
|
13544
13544
|
* @summary Create website
|
|
13545
13545
|
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
13546
13546
|
* @param {*} [options] Override http request option.
|
|
@@ -13555,7 +13555,7 @@ export const HorizonsWebsitesApiFp = function (configuration) {
|
|
|
13555
13555
|
});
|
|
13556
13556
|
},
|
|
13557
13557
|
/**
|
|
13558
|
-
* Edit an existing Hostinger
|
|
13558
|
+
* 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.
|
|
13559
13559
|
* @summary Edit website
|
|
13560
13560
|
* @param {string} websiteId The website ID
|
|
13561
13561
|
* @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
|
|
@@ -13571,7 +13571,7 @@ export const HorizonsWebsitesApiFp = function (configuration) {
|
|
|
13571
13571
|
});
|
|
13572
13572
|
},
|
|
13573
13573
|
/**
|
|
13574
|
-
* List the Hostinger
|
|
13574
|
+
* 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.
|
|
13575
13575
|
* @summary Get website list
|
|
13576
13576
|
* @param {*} [options] Override http request option.
|
|
13577
13577
|
* @throws {RequiredError}
|
|
@@ -13585,7 +13585,7 @@ export const HorizonsWebsitesApiFp = function (configuration) {
|
|
|
13585
13585
|
});
|
|
13586
13586
|
},
|
|
13587
13587
|
/**
|
|
13588
|
-
* Get the link for the user to open their website in Hostinger
|
|
13588
|
+
* 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.
|
|
13589
13589
|
* @summary Get website
|
|
13590
13590
|
* @param {string} websiteId The website ID
|
|
13591
13591
|
* @param {*} [options] Override http request option.
|
|
@@ -13600,7 +13600,7 @@ export const HorizonsWebsitesApiFp = function (configuration) {
|
|
|
13600
13600
|
});
|
|
13601
13601
|
},
|
|
13602
13602
|
/**
|
|
13603
|
-
* Publish a Hostinger
|
|
13603
|
+
* 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.
|
|
13604
13604
|
* @summary Publish website
|
|
13605
13605
|
* @param {string} websiteId The website ID
|
|
13606
13606
|
* @param {HorizonsV1WebsitesPublishWebsiteRequest} [horizonsV1WebsitesPublishWebsiteRequest]
|
|
@@ -13625,7 +13625,7 @@ export const HorizonsWebsitesApiFactory = function (configuration, basePath, axi
|
|
|
13625
13625
|
const localVarFp = HorizonsWebsitesApiFp(configuration);
|
|
13626
13626
|
return {
|
|
13627
13627
|
/**
|
|
13628
|
-
* Clone a Hostinger
|
|
13628
|
+
* 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.
|
|
13629
13629
|
* @summary Clone website
|
|
13630
13630
|
* @param {string} websiteId The website ID
|
|
13631
13631
|
* @param {*} [options] Override http request option.
|
|
@@ -13635,7 +13635,7 @@ export const HorizonsWebsitesApiFactory = function (configuration, basePath, axi
|
|
|
13635
13635
|
return localVarFp.cloneWebsiteV1(websiteId, options).then((request) => request(axios, basePath));
|
|
13636
13636
|
},
|
|
13637
13637
|
/**
|
|
13638
|
-
* Create new Hostinger
|
|
13638
|
+
* 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
|
|
13639
13639
|
* @summary Create website
|
|
13640
13640
|
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
13641
13641
|
* @param {*} [options] Override http request option.
|
|
@@ -13645,7 +13645,7 @@ export const HorizonsWebsitesApiFactory = function (configuration, basePath, axi
|
|
|
13645
13645
|
return localVarFp.createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest, options).then((request) => request(axios, basePath));
|
|
13646
13646
|
},
|
|
13647
13647
|
/**
|
|
13648
|
-
* Edit an existing Hostinger
|
|
13648
|
+
* 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.
|
|
13649
13649
|
* @summary Edit website
|
|
13650
13650
|
* @param {string} websiteId The website ID
|
|
13651
13651
|
* @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
|
|
@@ -13656,7 +13656,7 @@ export const HorizonsWebsitesApiFactory = function (configuration, basePath, axi
|
|
|
13656
13656
|
return localVarFp.editWebsiteV1(websiteId, horizonsV1WebsitesEditWebsiteRequest, options).then((request) => request(axios, basePath));
|
|
13657
13657
|
},
|
|
13658
13658
|
/**
|
|
13659
|
-
* List the Hostinger
|
|
13659
|
+
* 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.
|
|
13660
13660
|
* @summary Get website list
|
|
13661
13661
|
* @param {*} [options] Override http request option.
|
|
13662
13662
|
* @throws {RequiredError}
|
|
@@ -13665,7 +13665,7 @@ export const HorizonsWebsitesApiFactory = function (configuration, basePath, axi
|
|
|
13665
13665
|
return localVarFp.getWebsiteListV1(options).then((request) => request(axios, basePath));
|
|
13666
13666
|
},
|
|
13667
13667
|
/**
|
|
13668
|
-
* Get the link for the user to open their website in Hostinger
|
|
13668
|
+
* 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.
|
|
13669
13669
|
* @summary Get website
|
|
13670
13670
|
* @param {string} websiteId The website ID
|
|
13671
13671
|
* @param {*} [options] Override http request option.
|
|
@@ -13675,7 +13675,7 @@ export const HorizonsWebsitesApiFactory = function (configuration, basePath, axi
|
|
|
13675
13675
|
return localVarFp.getWebsiteV1(websiteId, options).then((request) => request(axios, basePath));
|
|
13676
13676
|
},
|
|
13677
13677
|
/**
|
|
13678
|
-
* Publish a Hostinger
|
|
13678
|
+
* 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.
|
|
13679
13679
|
* @summary Publish website
|
|
13680
13680
|
* @param {string} websiteId The website ID
|
|
13681
13681
|
* @param {HorizonsV1WebsitesPublishWebsiteRequest} [horizonsV1WebsitesPublishWebsiteRequest]
|
|
@@ -13695,7 +13695,7 @@ export const HorizonsWebsitesApiFactory = function (configuration, basePath, axi
|
|
|
13695
13695
|
*/
|
|
13696
13696
|
export class HorizonsWebsitesApi extends BaseAPI {
|
|
13697
13697
|
/**
|
|
13698
|
-
* Clone a Hostinger
|
|
13698
|
+
* 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.
|
|
13699
13699
|
* @summary Clone website
|
|
13700
13700
|
* @param {string} websiteId The website ID
|
|
13701
13701
|
* @param {*} [options] Override http request option.
|
|
@@ -13706,7 +13706,7 @@ export class HorizonsWebsitesApi extends BaseAPI {
|
|
|
13706
13706
|
return HorizonsWebsitesApiFp(this.configuration).cloneWebsiteV1(websiteId, options).then((request) => request(this.axios, this.basePath));
|
|
13707
13707
|
}
|
|
13708
13708
|
/**
|
|
13709
|
-
* Create new Hostinger
|
|
13709
|
+
* 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
|
|
13710
13710
|
* @summary Create website
|
|
13711
13711
|
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
13712
13712
|
* @param {*} [options] Override http request option.
|
|
@@ -13717,7 +13717,7 @@ export class HorizonsWebsitesApi extends BaseAPI {
|
|
|
13717
13717
|
return HorizonsWebsitesApiFp(this.configuration).createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
13718
13718
|
}
|
|
13719
13719
|
/**
|
|
13720
|
-
* Edit an existing Hostinger
|
|
13720
|
+
* 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.
|
|
13721
13721
|
* @summary Edit website
|
|
13722
13722
|
* @param {string} websiteId The website ID
|
|
13723
13723
|
* @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
|
|
@@ -13729,7 +13729,7 @@ export class HorizonsWebsitesApi extends BaseAPI {
|
|
|
13729
13729
|
return HorizonsWebsitesApiFp(this.configuration).editWebsiteV1(websiteId, horizonsV1WebsitesEditWebsiteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
13730
13730
|
}
|
|
13731
13731
|
/**
|
|
13732
|
-
* List the Hostinger
|
|
13732
|
+
* 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.
|
|
13733
13733
|
* @summary Get website list
|
|
13734
13734
|
* @param {*} [options] Override http request option.
|
|
13735
13735
|
* @throws {RequiredError}
|
|
@@ -13739,7 +13739,7 @@ export class HorizonsWebsitesApi extends BaseAPI {
|
|
|
13739
13739
|
return HorizonsWebsitesApiFp(this.configuration).getWebsiteListV1(options).then((request) => request(this.axios, this.basePath));
|
|
13740
13740
|
}
|
|
13741
13741
|
/**
|
|
13742
|
-
* Get the link for the user to open their website in Hostinger
|
|
13742
|
+
* 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.
|
|
13743
13743
|
* @summary Get website
|
|
13744
13744
|
* @param {string} websiteId The website ID
|
|
13745
13745
|
* @param {*} [options] Override http request option.
|
|
@@ -13750,7 +13750,7 @@ export class HorizonsWebsitesApi extends BaseAPI {
|
|
|
13750
13750
|
return HorizonsWebsitesApiFp(this.configuration).getWebsiteV1(websiteId, options).then((request) => request(this.axios, this.basePath));
|
|
13751
13751
|
}
|
|
13752
13752
|
/**
|
|
13753
|
-
* Publish a Hostinger
|
|
13753
|
+
* 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.
|
|
13754
13754
|
* @summary Publish website
|
|
13755
13755
|
* @param {string} websiteId The website ID
|
|
13756
13756
|
* @param {HorizonsV1WebsitesPublishWebsiteRequest} [horizonsV1WebsitesPublishWebsiteRequest]
|
|
@@ -33810,44 +33810,6 @@ export class VPSPostInstallScriptsApi extends BaseAPI {
|
|
|
33810
33810
|
*/
|
|
33811
33811
|
export const VPSPublicKeysApiAxiosParamCreator = function (configuration) {
|
|
33812
33812
|
return {
|
|
33813
|
-
/**
|
|
33814
|
-
* 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.
|
|
33815
|
-
* @summary Attach public key
|
|
33816
|
-
* @param {number} virtualMachineId Virtual Machine ID
|
|
33817
|
-
* @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
|
|
33818
|
-
* @param {*} [options] Override http request option.
|
|
33819
|
-
* @deprecated
|
|
33820
|
-
* @throws {RequiredError}
|
|
33821
|
-
*/
|
|
33822
|
-
attachPublicKeyV1: (virtualMachineId_1, vPSV1PublicKeyAttachRequest_1, ...args_1) => __awaiter(this, [virtualMachineId_1, vPSV1PublicKeyAttachRequest_1, ...args_1], void 0, function* (virtualMachineId, vPSV1PublicKeyAttachRequest, options = {}) {
|
|
33823
|
-
// verify required parameter 'virtualMachineId' is not null or undefined
|
|
33824
|
-
assertParamExists('attachPublicKeyV1', 'virtualMachineId', virtualMachineId);
|
|
33825
|
-
// verify required parameter 'vPSV1PublicKeyAttachRequest' is not null or undefined
|
|
33826
|
-
assertParamExists('attachPublicKeyV1', 'vPSV1PublicKeyAttachRequest', vPSV1PublicKeyAttachRequest);
|
|
33827
|
-
const localVarPath = `/api/vps/v1/public-keys/attach/{virtualMachineId}`
|
|
33828
|
-
.replace(`{${"virtualMachineId"}}`, encodePathParam('virtualMachineId', virtualMachineId));
|
|
33829
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33830
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33831
|
-
let baseOptions;
|
|
33832
|
-
if (configuration) {
|
|
33833
|
-
baseOptions = configuration.baseOptions;
|
|
33834
|
-
}
|
|
33835
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
33836
|
-
const localVarHeaderParameter = {};
|
|
33837
|
-
const localVarQueryParameter = {};
|
|
33838
|
-
// authentication apiToken required
|
|
33839
|
-
// http bearer authentication required
|
|
33840
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
33841
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33842
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33843
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33844
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
33845
|
-
localVarRequestOptions.data = serializeDataIfNeeded(vPSV1PublicKeyAttachRequest, localVarRequestOptions, configuration);
|
|
33846
|
-
return {
|
|
33847
|
-
url: toPathString(localVarUrlObj),
|
|
33848
|
-
options: localVarRequestOptions,
|
|
33849
|
-
};
|
|
33850
|
-
}),
|
|
33851
33813
|
/**
|
|
33852
33814
|
* 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.
|
|
33853
33815
|
* @summary Create public key
|
|
@@ -33957,23 +33919,6 @@ export const VPSPublicKeysApiAxiosParamCreator = function (configuration) {
|
|
|
33957
33919
|
export const VPSPublicKeysApiFp = function (configuration) {
|
|
33958
33920
|
const localVarAxiosParamCreator = VPSPublicKeysApiAxiosParamCreator(configuration);
|
|
33959
33921
|
return {
|
|
33960
|
-
/**
|
|
33961
|
-
* 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.
|
|
33962
|
-
* @summary Attach public key
|
|
33963
|
-
* @param {number} virtualMachineId Virtual Machine ID
|
|
33964
|
-
* @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
|
|
33965
|
-
* @param {*} [options] Override http request option.
|
|
33966
|
-
* @deprecated
|
|
33967
|
-
* @throws {RequiredError}
|
|
33968
|
-
*/
|
|
33969
|
-
attachPublicKeyV1(virtualMachineId, vPSV1PublicKeyAttachRequest, options) {
|
|
33970
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
33971
|
-
var _a, _b;
|
|
33972
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.attachPublicKeyV1(virtualMachineId, vPSV1PublicKeyAttachRequest, options);
|
|
33973
|
-
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['VPSPublicKeysApi.attachPublicKeyV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
33974
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33975
|
-
});
|
|
33976
|
-
},
|
|
33977
33922
|
/**
|
|
33978
33923
|
* 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.
|
|
33979
33924
|
* @summary Create public key
|
|
@@ -34031,18 +33976,6 @@ export const VPSPublicKeysApiFp = function (configuration) {
|
|
|
34031
33976
|
export const VPSPublicKeysApiFactory = function (configuration, basePath, axios) {
|
|
34032
33977
|
const localVarFp = VPSPublicKeysApiFp(configuration);
|
|
34033
33978
|
return {
|
|
34034
|
-
/**
|
|
34035
|
-
* 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.
|
|
34036
|
-
* @summary Attach public key
|
|
34037
|
-
* @param {number} virtualMachineId Virtual Machine ID
|
|
34038
|
-
* @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
|
|
34039
|
-
* @param {*} [options] Override http request option.
|
|
34040
|
-
* @deprecated
|
|
34041
|
-
* @throws {RequiredError}
|
|
34042
|
-
*/
|
|
34043
|
-
attachPublicKeyV1(virtualMachineId, vPSV1PublicKeyAttachRequest, options) {
|
|
34044
|
-
return localVarFp.attachPublicKeyV1(virtualMachineId, vPSV1PublicKeyAttachRequest, options).then((request) => request(axios, basePath));
|
|
34045
|
-
},
|
|
34046
33979
|
/**
|
|
34047
33980
|
* 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.
|
|
34048
33981
|
* @summary Create public key
|
|
@@ -34085,19 +34018,6 @@ export const VPSPublicKeysApiFactory = function (configuration, basePath, axios)
|
|
|
34085
34018
|
* @extends {BaseAPI}
|
|
34086
34019
|
*/
|
|
34087
34020
|
export class VPSPublicKeysApi extends BaseAPI {
|
|
34088
|
-
/**
|
|
34089
|
-
* 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.
|
|
34090
|
-
* @summary Attach public key
|
|
34091
|
-
* @param {number} virtualMachineId Virtual Machine ID
|
|
34092
|
-
* @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
|
|
34093
|
-
* @param {*} [options] Override http request option.
|
|
34094
|
-
* @deprecated
|
|
34095
|
-
* @throws {RequiredError}
|
|
34096
|
-
* @memberof VPSPublicKeysApi
|
|
34097
|
-
*/
|
|
34098
|
-
attachPublicKeyV1(virtualMachineId, vPSV1PublicKeyAttachRequest, options) {
|
|
34099
|
-
return VPSPublicKeysApiFp(this.configuration).attachPublicKeyV1(virtualMachineId, vPSV1PublicKeyAttachRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34100
|
-
}
|
|
34101
34021
|
/**
|
|
34102
34022
|
* 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.
|
|
34103
34023
|
* @summary Create public key
|
|
@@ -34879,43 +34799,6 @@ export class VPSSnapshotsApi extends BaseAPI {
|
|
|
34879
34799
|
*/
|
|
34880
34800
|
export const VPSVirtualMachineApiAxiosParamCreator = function (configuration) {
|
|
34881
34801
|
return {
|
|
34882
|
-
/**
|
|
34883
|
-
* 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.
|
|
34884
|
-
* @summary Get attached public keys
|
|
34885
|
-
* @param {number} virtualMachineId Virtual Machine ID
|
|
34886
|
-
* @param {number} [page] Page number
|
|
34887
|
-
* @param {*} [options] Override http request option.
|
|
34888
|
-
* @deprecated
|
|
34889
|
-
* @throws {RequiredError}
|
|
34890
|
-
*/
|
|
34891
|
-
getAttachedPublicKeysV1: (virtualMachineId_1, page_1, ...args_1) => __awaiter(this, [virtualMachineId_1, page_1, ...args_1], void 0, function* (virtualMachineId, page, options = {}) {
|
|
34892
|
-
// verify required parameter 'virtualMachineId' is not null or undefined
|
|
34893
|
-
assertParamExists('getAttachedPublicKeysV1', 'virtualMachineId', virtualMachineId);
|
|
34894
|
-
const localVarPath = `/api/vps/v1/virtual-machines/{virtualMachineId}/public-keys`
|
|
34895
|
-
.replace(`{${"virtualMachineId"}}`, encodePathParam('virtualMachineId', virtualMachineId));
|
|
34896
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34897
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34898
|
-
let baseOptions;
|
|
34899
|
-
if (configuration) {
|
|
34900
|
-
baseOptions = configuration.baseOptions;
|
|
34901
|
-
}
|
|
34902
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
34903
|
-
const localVarHeaderParameter = {};
|
|
34904
|
-
const localVarQueryParameter = {};
|
|
34905
|
-
// authentication apiToken required
|
|
34906
|
-
// http bearer authentication required
|
|
34907
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
34908
|
-
if (page !== undefined) {
|
|
34909
|
-
localVarQueryParameter['page'] = page;
|
|
34910
|
-
}
|
|
34911
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34912
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34913
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
34914
|
-
return {
|
|
34915
|
-
url: toPathString(localVarUrlObj),
|
|
34916
|
-
options: localVarRequestOptions,
|
|
34917
|
-
};
|
|
34918
|
-
}),
|
|
34919
34802
|
/**
|
|
34920
34803
|
* 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.
|
|
34921
34804
|
* @summary Get metrics
|
|
@@ -35416,23 +35299,6 @@ export const VPSVirtualMachineApiAxiosParamCreator = function (configuration) {
|
|
|
35416
35299
|
export const VPSVirtualMachineApiFp = function (configuration) {
|
|
35417
35300
|
const localVarAxiosParamCreator = VPSVirtualMachineApiAxiosParamCreator(configuration);
|
|
35418
35301
|
return {
|
|
35419
|
-
/**
|
|
35420
|
-
* 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.
|
|
35421
|
-
* @summary Get attached public keys
|
|
35422
|
-
* @param {number} virtualMachineId Virtual Machine ID
|
|
35423
|
-
* @param {number} [page] Page number
|
|
35424
|
-
* @param {*} [options] Override http request option.
|
|
35425
|
-
* @deprecated
|
|
35426
|
-
* @throws {RequiredError}
|
|
35427
|
-
*/
|
|
35428
|
-
getAttachedPublicKeysV1(virtualMachineId, page, options) {
|
|
35429
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
35430
|
-
var _a, _b;
|
|
35431
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAttachedPublicKeysV1(virtualMachineId, page, options);
|
|
35432
|
-
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['VPSVirtualMachineApi.getAttachedPublicKeysV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
35433
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35434
|
-
});
|
|
35435
|
-
},
|
|
35436
35302
|
/**
|
|
35437
35303
|
* 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.
|
|
35438
35304
|
* @summary Get metrics
|
|
@@ -35659,18 +35525,6 @@ export const VPSVirtualMachineApiFp = function (configuration) {
|
|
|
35659
35525
|
export const VPSVirtualMachineApiFactory = function (configuration, basePath, axios) {
|
|
35660
35526
|
const localVarFp = VPSVirtualMachineApiFp(configuration);
|
|
35661
35527
|
return {
|
|
35662
|
-
/**
|
|
35663
|
-
* 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.
|
|
35664
|
-
* @summary Get attached public keys
|
|
35665
|
-
* @param {number} virtualMachineId Virtual Machine ID
|
|
35666
|
-
* @param {number} [page] Page number
|
|
35667
|
-
* @param {*} [options] Override http request option.
|
|
35668
|
-
* @deprecated
|
|
35669
|
-
* @throws {RequiredError}
|
|
35670
|
-
*/
|
|
35671
|
-
getAttachedPublicKeysV1(virtualMachineId, page, options) {
|
|
35672
|
-
return localVarFp.getAttachedPublicKeysV1(virtualMachineId, page, options).then((request) => request(axios, basePath));
|
|
35673
|
-
},
|
|
35674
35528
|
/**
|
|
35675
35529
|
* 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.
|
|
35676
35530
|
* @summary Get metrics
|
|
@@ -35827,19 +35681,6 @@ export const VPSVirtualMachineApiFactory = function (configuration, basePath, ax
|
|
|
35827
35681
|
* @extends {BaseAPI}
|
|
35828
35682
|
*/
|
|
35829
35683
|
export class VPSVirtualMachineApi extends BaseAPI {
|
|
35830
|
-
/**
|
|
35831
|
-
* 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.
|
|
35832
|
-
* @summary Get attached public keys
|
|
35833
|
-
* @param {number} virtualMachineId Virtual Machine ID
|
|
35834
|
-
* @param {number} [page] Page number
|
|
35835
|
-
* @param {*} [options] Override http request option.
|
|
35836
|
-
* @deprecated
|
|
35837
|
-
* @throws {RequiredError}
|
|
35838
|
-
* @memberof VPSVirtualMachineApi
|
|
35839
|
-
*/
|
|
35840
|
-
getAttachedPublicKeysV1(virtualMachineId, page, options) {
|
|
35841
|
-
return VPSVirtualMachineApiFp(this.configuration).getAttachedPublicKeysV1(virtualMachineId, page, options).then((request) => request(this.axios, this.basePath));
|
|
35842
|
-
}
|
|
35843
35684
|
/**
|
|
35844
35685
|
* 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.
|
|
35845
35686
|
* @summary Get metrics
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.4.
|
|
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/esm/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.4.
|
|
6
|
+
* API Version: 3.4.2
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.4.
|
|
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/esm/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.4.
|
|
6
|
+
* API Version: 3.4.2
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.4.
|
|
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
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.4.
|
|
6
|
+
* API Version: 3.4.2
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -13,7 +13,7 @@ export class Configuration {
|
|
|
13
13
|
var _a;
|
|
14
14
|
this.accessToken = param.accessToken;
|
|
15
15
|
this.basePath = param.basePath;
|
|
16
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/3.4.
|
|
16
|
+
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) });
|
|
17
17
|
this.formDataCtor = param.formDataCtor;
|
|
18
18
|
}
|
|
19
19
|
/**
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.4.
|
|
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/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 3.4.
|
|
6
|
+
* API Version: 3.4.2
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 3.4.
|
|
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/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 3.4.
|
|
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
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**website_url** | **string** | The website URL for the user to access their website in Hostinger
|
|
8
|
+
**website_url** | **string** | The website URL for the user to access their website in Hostinger AI Builder interface | [default to undefined]
|
|
9
9
|
**website_id** | **string** | The website ID | [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|