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/api.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
|
|
@@ -7672,7 +7672,7 @@ export type HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum = typeof
|
|
|
7672
7672
|
*/
|
|
7673
7673
|
export interface HorizonsV1WebsitesCreatedWebsiteResource {
|
|
7674
7674
|
/**
|
|
7675
|
-
* The website URL for the user to access their website in Hostinger
|
|
7675
|
+
* The website URL for the user to access their website in Hostinger AI Builder interface
|
|
7676
7676
|
* @type {string}
|
|
7677
7677
|
* @memberof HorizonsV1WebsitesCreatedWebsiteResource
|
|
7678
7678
|
*/
|
|
@@ -7752,7 +7752,7 @@ export interface HorizonsV1WebsitesPublishedWebsiteResource {
|
|
|
7752
7752
|
*/
|
|
7753
7753
|
'published_url': string;
|
|
7754
7754
|
/**
|
|
7755
|
-
* The website URL for the user to track progress in Hostinger
|
|
7755
|
+
* The website URL for the user to track progress in Hostinger AI Builder interface
|
|
7756
7756
|
* @type {string}
|
|
7757
7757
|
* @memberof HorizonsV1WebsitesPublishedWebsiteResource
|
|
7758
7758
|
*/
|
|
@@ -7805,7 +7805,7 @@ export interface HorizonsV1WebsitesWebsiteResource {
|
|
|
7805
7805
|
*/
|
|
7806
7806
|
'created_at': string;
|
|
7807
7807
|
/**
|
|
7808
|
-
* The website URL for the user to access their website in Hostinger
|
|
7808
|
+
* The website URL for the user to access their website in Hostinger AI Builder interface
|
|
7809
7809
|
* @type {string}
|
|
7810
7810
|
* @memberof HorizonsV1WebsitesWebsiteResource
|
|
7811
7811
|
*/
|
|
@@ -7825,7 +7825,7 @@ export type HorizonsV1WebsitesWebsiteResourceStatusEnum = typeof HorizonsV1Websi
|
|
|
7825
7825
|
*/
|
|
7826
7826
|
export interface HorizonsV1WebsitesWebsiteUrlResource {
|
|
7827
7827
|
/**
|
|
7828
|
-
* The website URL for the user to access their website in Hostinger
|
|
7828
|
+
* The website URL for the user to access their website in Hostinger AI Builder interface
|
|
7829
7829
|
* @type {string}
|
|
7830
7830
|
* @memberof HorizonsV1WebsitesWebsiteUrlResource
|
|
7831
7831
|
*/
|
|
@@ -7843,13 +7843,13 @@ export interface HorizonsV1WebsitesWebsiteUrlResource {
|
|
|
7843
7843
|
*/
|
|
7844
7844
|
'is_template': boolean;
|
|
7845
7845
|
/**
|
|
7846
|
-
* Whether Hostinger
|
|
7846
|
+
* Whether Hostinger AI Builder is still generating changes or publishing the website. Publishing is refused while it is true, and editing while changes are being generated. An unfinished template migration also refuses publishing, with its own error, without setting this flag.
|
|
7847
7847
|
* @type {boolean}
|
|
7848
7848
|
* @memberof HorizonsV1WebsitesWebsiteUrlResource
|
|
7849
7849
|
*/
|
|
7850
7850
|
'is_in_progress': boolean;
|
|
7851
7851
|
/**
|
|
7852
|
-
* Whether Hostinger
|
|
7852
|
+
* Whether Hostinger AI Builder is generating changes to the website. Editing and publishing are refused while it is true
|
|
7853
7853
|
* @type {boolean}
|
|
7854
7854
|
* @memberof HorizonsV1WebsitesWebsiteUrlResource
|
|
7855
7855
|
*/
|
|
@@ -17755,19 +17755,6 @@ export interface VPSV1PostInstallScriptStoreRequest {
|
|
|
17755
17755
|
*/
|
|
17756
17756
|
'content': string;
|
|
17757
17757
|
}
|
|
17758
|
-
/**
|
|
17759
|
-
*
|
|
17760
|
-
* @export
|
|
17761
|
-
* @interface VPSV1PublicKeyAttachRequest
|
|
17762
|
-
*/
|
|
17763
|
-
export interface VPSV1PublicKeyAttachRequest {
|
|
17764
|
-
/**
|
|
17765
|
-
* Public Key IDs to attach
|
|
17766
|
-
* @type {Array<number>}
|
|
17767
|
-
* @memberof VPSV1PublicKeyAttachRequest
|
|
17768
|
-
*/
|
|
17769
|
-
'ids': Array<number>;
|
|
17770
|
-
}
|
|
17771
17758
|
/**
|
|
17772
17759
|
*
|
|
17773
17760
|
* @export
|
|
@@ -26002,7 +25989,7 @@ export declare class GPUInstancesApi extends BaseAPI {
|
|
|
26002
25989
|
*/
|
|
26003
25990
|
export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26004
25991
|
/**
|
|
26005
|
-
* Clone a Hostinger
|
|
25992
|
+
* Clone a Hostinger AI Builder website into a new website.\\n Use this tool when the user wants a copy of an existing website, for example to try out changes without touching the original.\\n This tool returns the ID and URL of the newly created copy. The original website is left untouched.\\n To edit the copy, use the `Edit website` tool with the returned website ID, or the user can open the provided website URL in Hostinger AI Builder interface.
|
|
26006
25993
|
* @summary Clone website
|
|
26007
25994
|
* @param {string} websiteId The website ID
|
|
26008
25995
|
* @param {*} [options] Override http request option.
|
|
@@ -26010,7 +25997,7 @@ export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Conf
|
|
|
26010
25997
|
*/
|
|
26011
25998
|
cloneWebsiteV1: (websiteId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26012
25999
|
/**
|
|
26013
|
-
* Create new Hostinger
|
|
26000
|
+
* Create new Hostinger AI Builder website from the given message.\\n Use this tool when user asks you to create a website, landing page, blog or any other type of application.\\n This tool initiates the website creation process and returns a website URL and ID. The generation happens asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger AI Builder is now creating their website and it will be ready in a few minutes and you should provide the website URL to the user immediately Do not write code.\\n\\nTo edit afterwards, use the `Edit website` tool with the returned website ID, or the user can go to Hostinger AI Builder interface in the provided website URL. If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat. \\n TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n The environment is limited to the following technologies. You MUST NOT use, suggest, or implement any technology outside this list:\\n \\n - Language: JavaScript ONLY. - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n - Framework: React.\\n - Navigation: React Router.\\n - Styling: TailwindCSS.\\n - Components: shadcn/ui (built with @radix-ui primitives).\\n - Icons: Lucide React.\\n - Animations: Framer Motion.\\n \\n BACKEND & DATA STORAGE:\\n - Hostinger AI Builder integrated backend is the EXCLUSIVE solution for persistent data storage, authentication, and database needs.\\n - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n \\n MAPS:\\n - OpenStreetMap is the default provider.\\n - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n
|
|
26014
26001
|
* @summary Create website
|
|
26015
26002
|
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
26016
26003
|
* @param {*} [options] Override http request option.
|
|
@@ -26018,7 +26005,7 @@ export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Conf
|
|
|
26018
26005
|
*/
|
|
26019
26006
|
createWebsiteV1: (horizonsV1WebsitesCreateWebsiteRequest: HorizonsV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26020
26007
|
/**
|
|
26021
|
-
* Edit an existing Hostinger
|
|
26008
|
+
* Edit an existing Hostinger AI Builder website with a follow-up message.\\n Use this tool when the user wants to change, extend or fix a website that already exists.\\n This tool queues the requested changes and returns the website URL and ID. The changes are applied asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger AI Builder is now applying the requested changes and they will be ready in a few minutes, and you should provide the website URL to the user immediately. Do not write code.\\n If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat.
|
|
26022
26009
|
* @summary Edit website
|
|
26023
26010
|
* @param {string} websiteId The website ID
|
|
26024
26011
|
* @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
|
|
@@ -26027,14 +26014,14 @@ export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Conf
|
|
|
26027
26014
|
*/
|
|
26028
26015
|
editWebsiteV1: (websiteId: string, horizonsV1WebsitesEditWebsiteRequest: HorizonsV1WebsitesEditWebsiteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26029
26016
|
/**
|
|
26030
|
-
* List the Hostinger
|
|
26017
|
+
* List the Hostinger AI Builder websites the user owns.\\n Use this tool when the user asks which websites they have, or when you need a website ID before editing, publishing or cloning a website.\\n Each website is returned with its ID, status, domain and the URL to open it in Hostinger AI Builder interface.\\n The complete list of websites is returned in a single response - it is not paginated.
|
|
26031
26018
|
* @summary Get website list
|
|
26032
26019
|
* @param {*} [options] Override http request option.
|
|
26033
26020
|
* @throws {RequiredError}
|
|
26034
26021
|
*/
|
|
26035
26022
|
getWebsiteListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26036
26023
|
/**
|
|
26037
|
-
* Get the link for the user to open their website in Hostinger
|
|
26024
|
+
* Get the link for the user to open their website in Hostinger AI Builder interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder interface in the provided website URL.
|
|
26038
26025
|
* @summary Get website
|
|
26039
26026
|
* @param {string} websiteId The website ID
|
|
26040
26027
|
* @param {*} [options] Override http request option.
|
|
@@ -26042,7 +26029,7 @@ export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Conf
|
|
|
26042
26029
|
*/
|
|
26043
26030
|
getWebsiteV1: (websiteId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26044
26031
|
/**
|
|
26045
|
-
* Publish a Hostinger
|
|
26032
|
+
* Publish a Hostinger AI Builder website so its latest changes go live.\\n Use this tool when the user asks to publish, deploy or make their website live.\\n This tool starts the publish process and returns the URL the website will be live on. Publishing happens asynchronously and takes a few minutes.\\n Set `is_template` only when the user explicitly asks to share the website as a template: true adds a \"Use template\" banner to its published pages that copies the website into the visitor\'s own account, and false removes it. Leave it out to keep the current setting.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that the website is being published and you should provide the published URL to the user immediately.
|
|
26046
26033
|
* @summary Publish website
|
|
26047
26034
|
* @param {string} websiteId The website ID
|
|
26048
26035
|
* @param {HorizonsV1WebsitesPublishWebsiteRequest} [horizonsV1WebsitesPublishWebsiteRequest]
|
|
@@ -26057,7 +26044,7 @@ export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Conf
|
|
|
26057
26044
|
*/
|
|
26058
26045
|
export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
26059
26046
|
/**
|
|
26060
|
-
* Clone a Hostinger
|
|
26047
|
+
* Clone a Hostinger AI Builder website into a new website.\\n Use this tool when the user wants a copy of an existing website, for example to try out changes without touching the original.\\n This tool returns the ID and URL of the newly created copy. The original website is left untouched.\\n To edit the copy, use the `Edit website` tool with the returned website ID, or the user can open the provided website URL in Hostinger AI Builder interface.
|
|
26061
26048
|
* @summary Clone website
|
|
26062
26049
|
* @param {string} websiteId The website ID
|
|
26063
26050
|
* @param {*} [options] Override http request option.
|
|
@@ -26065,7 +26052,7 @@ export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
|
26065
26052
|
*/
|
|
26066
26053
|
cloneWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>>;
|
|
26067
26054
|
/**
|
|
26068
|
-
* Create new Hostinger
|
|
26055
|
+
* Create new Hostinger AI Builder website from the given message.\\n Use this tool when user asks you to create a website, landing page, blog or any other type of application.\\n This tool initiates the website creation process and returns a website URL and ID. The generation happens asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger AI Builder is now creating their website and it will be ready in a few minutes and you should provide the website URL to the user immediately Do not write code.\\n\\nTo edit afterwards, use the `Edit website` tool with the returned website ID, or the user can go to Hostinger AI Builder interface in the provided website URL. If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat. \\n TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n The environment is limited to the following technologies. You MUST NOT use, suggest, or implement any technology outside this list:\\n \\n - Language: JavaScript ONLY. - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n - Framework: React.\\n - Navigation: React Router.\\n - Styling: TailwindCSS.\\n - Components: shadcn/ui (built with @radix-ui primitives).\\n - Icons: Lucide React.\\n - Animations: Framer Motion.\\n \\n BACKEND & DATA STORAGE:\\n - Hostinger AI Builder integrated backend is the EXCLUSIVE solution for persistent data storage, authentication, and database needs.\\n - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n \\n MAPS:\\n - OpenStreetMap is the default provider.\\n - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n
|
|
26069
26056
|
* @summary Create website
|
|
26070
26057
|
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
26071
26058
|
* @param {*} [options] Override http request option.
|
|
@@ -26073,7 +26060,7 @@ export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
|
26073
26060
|
*/
|
|
26074
26061
|
createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest: HorizonsV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>>;
|
|
26075
26062
|
/**
|
|
26076
|
-
* Edit an existing Hostinger
|
|
26063
|
+
* Edit an existing Hostinger AI Builder website with a follow-up message.\\n Use this tool when the user wants to change, extend or fix a website that already exists.\\n This tool queues the requested changes and returns the website URL and ID. The changes are applied asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger AI Builder is now applying the requested changes and they will be ready in a few minutes, and you should provide the website URL to the user immediately. Do not write code.\\n If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat.
|
|
26077
26064
|
* @summary Edit website
|
|
26078
26065
|
* @param {string} websiteId The website ID
|
|
26079
26066
|
* @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
|
|
@@ -26082,14 +26069,14 @@ export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
|
26082
26069
|
*/
|
|
26083
26070
|
editWebsiteV1(websiteId: string, horizonsV1WebsitesEditWebsiteRequest: HorizonsV1WebsitesEditWebsiteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>>;
|
|
26084
26071
|
/**
|
|
26085
|
-
* List the Hostinger
|
|
26072
|
+
* List the Hostinger AI Builder websites the user owns.\\n Use this tool when the user asks which websites they have, or when you need a website ID before editing, publishing or cloning a website.\\n Each website is returned with its ID, status, domain and the URL to open it in Hostinger AI Builder interface.\\n The complete list of websites is returned in a single response - it is not paginated.
|
|
26086
26073
|
* @summary Get website list
|
|
26087
26074
|
* @param {*} [options] Override http request option.
|
|
26088
26075
|
* @throws {RequiredError}
|
|
26089
26076
|
*/
|
|
26090
26077
|
getWebsiteListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HorizonsV1WebsitesWebsiteResource>>>;
|
|
26091
26078
|
/**
|
|
26092
|
-
* Get the link for the user to open their website in Hostinger
|
|
26079
|
+
* Get the link for the user to open their website in Hostinger AI Builder interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder interface in the provided website URL.
|
|
26093
26080
|
* @summary Get website
|
|
26094
26081
|
* @param {string} websiteId The website ID
|
|
26095
26082
|
* @param {*} [options] Override http request option.
|
|
@@ -26097,7 +26084,7 @@ export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
|
26097
26084
|
*/
|
|
26098
26085
|
getWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HorizonsV1WebsitesWebsiteUrlResource>>;
|
|
26099
26086
|
/**
|
|
26100
|
-
* Publish a Hostinger
|
|
26087
|
+
* Publish a Hostinger AI Builder website so its latest changes go live.\\n Use this tool when the user asks to publish, deploy or make their website live.\\n This tool starts the publish process and returns the URL the website will be live on. Publishing happens asynchronously and takes a few minutes.\\n Set `is_template` only when the user explicitly asks to share the website as a template: true adds a \"Use template\" banner to its published pages that copies the website into the visitor\'s own account, and false removes it. Leave it out to keep the current setting.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that the website is being published and you should provide the published URL to the user immediately.
|
|
26101
26088
|
* @summary Publish website
|
|
26102
26089
|
* @param {string} websiteId The website ID
|
|
26103
26090
|
* @param {HorizonsV1WebsitesPublishWebsiteRequest} [horizonsV1WebsitesPublishWebsiteRequest]
|
|
@@ -26112,7 +26099,7 @@ export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
|
26112
26099
|
*/
|
|
26113
26100
|
export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
26114
26101
|
/**
|
|
26115
|
-
* Clone a Hostinger
|
|
26102
|
+
* Clone a Hostinger AI Builder website into a new website.\\n Use this tool when the user wants a copy of an existing website, for example to try out changes without touching the original.\\n This tool returns the ID and URL of the newly created copy. The original website is left untouched.\\n To edit the copy, use the `Edit website` tool with the returned website ID, or the user can open the provided website URL in Hostinger AI Builder interface.
|
|
26116
26103
|
* @summary Clone website
|
|
26117
26104
|
* @param {string} websiteId The website ID
|
|
26118
26105
|
* @param {*} [options] Override http request option.
|
|
@@ -26120,7 +26107,7 @@ export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration,
|
|
|
26120
26107
|
*/
|
|
26121
26108
|
cloneWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>;
|
|
26122
26109
|
/**
|
|
26123
|
-
* Create new Hostinger
|
|
26110
|
+
* Create new Hostinger AI Builder website from the given message.\\n Use this tool when user asks you to create a website, landing page, blog or any other type of application.\\n This tool initiates the website creation process and returns a website URL and ID. The generation happens asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger AI Builder is now creating their website and it will be ready in a few minutes and you should provide the website URL to the user immediately Do not write code.\\n\\nTo edit afterwards, use the `Edit website` tool with the returned website ID, or the user can go to Hostinger AI Builder interface in the provided website URL. If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat. \\n TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n The environment is limited to the following technologies. You MUST NOT use, suggest, or implement any technology outside this list:\\n \\n - Language: JavaScript ONLY. - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n - Framework: React.\\n - Navigation: React Router.\\n - Styling: TailwindCSS.\\n - Components: shadcn/ui (built with @radix-ui primitives).\\n - Icons: Lucide React.\\n - Animations: Framer Motion.\\n \\n BACKEND & DATA STORAGE:\\n - Hostinger AI Builder integrated backend is the EXCLUSIVE solution for persistent data storage, authentication, and database needs.\\n - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n \\n MAPS:\\n - OpenStreetMap is the default provider.\\n - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n
|
|
26124
26111
|
* @summary Create website
|
|
26125
26112
|
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
26126
26113
|
* @param {*} [options] Override http request option.
|
|
@@ -26128,7 +26115,7 @@ export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration,
|
|
|
26128
26115
|
*/
|
|
26129
26116
|
createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest: HorizonsV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>;
|
|
26130
26117
|
/**
|
|
26131
|
-
* Edit an existing Hostinger
|
|
26118
|
+
* Edit an existing Hostinger AI Builder website with a follow-up message.\\n Use this tool when the user wants to change, extend or fix a website that already exists.\\n This tool queues the requested changes and returns the website URL and ID. The changes are applied asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger AI Builder is now applying the requested changes and they will be ready in a few minutes, and you should provide the website URL to the user immediately. Do not write code.\\n If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat.
|
|
26132
26119
|
* @summary Edit website
|
|
26133
26120
|
* @param {string} websiteId The website ID
|
|
26134
26121
|
* @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
|
|
@@ -26137,14 +26124,14 @@ export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration,
|
|
|
26137
26124
|
*/
|
|
26138
26125
|
editWebsiteV1(websiteId: string, horizonsV1WebsitesEditWebsiteRequest: HorizonsV1WebsitesEditWebsiteRequest, options?: RawAxiosRequestConfig): AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>;
|
|
26139
26126
|
/**
|
|
26140
|
-
* List the Hostinger
|
|
26127
|
+
* List the Hostinger AI Builder websites the user owns.\\n Use this tool when the user asks which websites they have, or when you need a website ID before editing, publishing or cloning a website.\\n Each website is returned with its ID, status, domain and the URL to open it in Hostinger AI Builder interface.\\n The complete list of websites is returned in a single response - it is not paginated.
|
|
26141
26128
|
* @summary Get website list
|
|
26142
26129
|
* @param {*} [options] Override http request option.
|
|
26143
26130
|
* @throws {RequiredError}
|
|
26144
26131
|
*/
|
|
26145
26132
|
getWebsiteListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<HorizonsV1WebsitesWebsiteResource>>;
|
|
26146
26133
|
/**
|
|
26147
|
-
* Get the link for the user to open their website in Hostinger
|
|
26134
|
+
* Get the link for the user to open their website in Hostinger AI Builder interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder interface in the provided website URL.
|
|
26148
26135
|
* @summary Get website
|
|
26149
26136
|
* @param {string} websiteId The website ID
|
|
26150
26137
|
* @param {*} [options] Override http request option.
|
|
@@ -26152,7 +26139,7 @@ export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration,
|
|
|
26152
26139
|
*/
|
|
26153
26140
|
getWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): AxiosPromise<HorizonsV1WebsitesWebsiteUrlResource>;
|
|
26154
26141
|
/**
|
|
26155
|
-
* Publish a Hostinger
|
|
26142
|
+
* Publish a Hostinger AI Builder website so its latest changes go live.\\n Use this tool when the user asks to publish, deploy or make their website live.\\n This tool starts the publish process and returns the URL the website will be live on. Publishing happens asynchronously and takes a few minutes.\\n Set `is_template` only when the user explicitly asks to share the website as a template: true adds a \"Use template\" banner to its published pages that copies the website into the visitor\'s own account, and false removes it. Leave it out to keep the current setting.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that the website is being published and you should provide the published URL to the user immediately.
|
|
26156
26143
|
* @summary Publish website
|
|
26157
26144
|
* @param {string} websiteId The website ID
|
|
26158
26145
|
* @param {HorizonsV1WebsitesPublishWebsiteRequest} [horizonsV1WebsitesPublishWebsiteRequest]
|
|
@@ -26169,7 +26156,7 @@ export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration,
|
|
|
26169
26156
|
*/
|
|
26170
26157
|
export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
26171
26158
|
/**
|
|
26172
|
-
* Clone a Hostinger
|
|
26159
|
+
* Clone a Hostinger AI Builder website into a new website.\\n Use this tool when the user wants a copy of an existing website, for example to try out changes without touching the original.\\n This tool returns the ID and URL of the newly created copy. The original website is left untouched.\\n To edit the copy, use the `Edit website` tool with the returned website ID, or the user can open the provided website URL in Hostinger AI Builder interface.
|
|
26173
26160
|
* @summary Clone website
|
|
26174
26161
|
* @param {string} websiteId The website ID
|
|
26175
26162
|
* @param {*} [options] Override http request option.
|
|
@@ -26178,7 +26165,7 @@ export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
|
26178
26165
|
*/
|
|
26179
26166
|
cloneWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesCreatedWebsiteResource, any, {}, any>>;
|
|
26180
26167
|
/**
|
|
26181
|
-
* Create new Hostinger
|
|
26168
|
+
* Create new Hostinger AI Builder website from the given message.\\n Use this tool when user asks you to create a website, landing page, blog or any other type of application.\\n This tool initiates the website creation process and returns a website URL and ID. The generation happens asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger AI Builder is now creating their website and it will be ready in a few minutes and you should provide the website URL to the user immediately Do not write code.\\n\\nTo edit afterwards, use the `Edit website` tool with the returned website ID, or the user can go to Hostinger AI Builder interface in the provided website URL. If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat. \\n TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n The environment is limited to the following technologies. You MUST NOT use, suggest, or implement any technology outside this list:\\n \\n - Language: JavaScript ONLY. - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n - Framework: React.\\n - Navigation: React Router.\\n - Styling: TailwindCSS.\\n - Components: shadcn/ui (built with @radix-ui primitives).\\n - Icons: Lucide React.\\n - Animations: Framer Motion.\\n \\n BACKEND & DATA STORAGE:\\n - Hostinger AI Builder integrated backend is the EXCLUSIVE solution for persistent data storage, authentication, and database needs.\\n - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n \\n MAPS:\\n - OpenStreetMap is the default provider.\\n - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n
|
|
26182
26169
|
* @summary Create website
|
|
26183
26170
|
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
26184
26171
|
* @param {*} [options] Override http request option.
|
|
@@ -26187,7 +26174,7 @@ export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
|
26187
26174
|
*/
|
|
26188
26175
|
createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest: HorizonsV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesCreatedWebsiteResource, any, {}, any>>;
|
|
26189
26176
|
/**
|
|
26190
|
-
* Edit an existing Hostinger
|
|
26177
|
+
* Edit an existing Hostinger AI Builder website with a follow-up message.\\n Use this tool when the user wants to change, extend or fix a website that already exists.\\n This tool queues the requested changes and returns the website URL and ID. The changes are applied asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger AI Builder is now applying the requested changes and they will be ready in a few minutes, and you should provide the website URL to the user immediately. Do not write code.\\n If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat.
|
|
26191
26178
|
* @summary Edit website
|
|
26192
26179
|
* @param {string} websiteId The website ID
|
|
26193
26180
|
* @param {HorizonsV1WebsitesEditWebsiteRequest} horizonsV1WebsitesEditWebsiteRequest
|
|
@@ -26197,7 +26184,7 @@ export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
|
26197
26184
|
*/
|
|
26198
26185
|
editWebsiteV1(websiteId: string, horizonsV1WebsitesEditWebsiteRequest: HorizonsV1WebsitesEditWebsiteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesCreatedWebsiteResource, any, {}, any>>;
|
|
26199
26186
|
/**
|
|
26200
|
-
* List the Hostinger
|
|
26187
|
+
* List the Hostinger AI Builder websites the user owns.\\n Use this tool when the user asks which websites they have, or when you need a website ID before editing, publishing or cloning a website.\\n Each website is returned with its ID, status, domain and the URL to open it in Hostinger AI Builder interface.\\n The complete list of websites is returned in a single response - it is not paginated.
|
|
26201
26188
|
* @summary Get website list
|
|
26202
26189
|
* @param {*} [options] Override http request option.
|
|
26203
26190
|
* @throws {RequiredError}
|
|
@@ -26205,7 +26192,7 @@ export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
|
26205
26192
|
*/
|
|
26206
26193
|
getWebsiteListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesWebsiteResource[], any, {}, any>>;
|
|
26207
26194
|
/**
|
|
26208
|
-
* Get the link for the user to open their website in Hostinger
|
|
26195
|
+
* Get the link for the user to open their website in Hostinger AI Builder interface.\\n Use this tool when the user wants the link to an existing website, or when you need its website URL before or after editing it.\\n `is_in_progress` is true while changes are being generated or the website is being published; wait until it is false before publishing. `is_generating` is true while changes are being generated, and `actions_in_progress` has `website_publish` while the website is being published. `published_at` is when the website was last published, `is_template` is whether its published pages show the \"Use template\" banner, and `has_ecommerce_store` is whether it has an online store.\\n Websites can be edited with the `Edit website` tool, or by the user in Hostinger AI Builder interface in the provided website URL.
|
|
26209
26196
|
* @summary Get website
|
|
26210
26197
|
* @param {string} websiteId The website ID
|
|
26211
26198
|
* @param {*} [options] Override http request option.
|
|
@@ -26214,7 +26201,7 @@ export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
|
26214
26201
|
*/
|
|
26215
26202
|
getWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesWebsiteUrlResource, any, {}, any>>;
|
|
26216
26203
|
/**
|
|
26217
|
-
* Publish a Hostinger
|
|
26204
|
+
* Publish a Hostinger AI Builder website so its latest changes go live.\\n Use this tool when the user asks to publish, deploy or make their website live.\\n This tool starts the publish process and returns the URL the website will be live on. Publishing happens asynchronously and takes a few minutes.\\n Set `is_template` only when the user explicitly asks to share the website as a template: true adds a \"Use template\" banner to its published pages that copies the website into the visitor\'s own account, and false removes it. Leave it out to keep the current setting.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that the website is being published and you should provide the published URL to the user immediately.
|
|
26218
26205
|
* @summary Publish website
|
|
26219
26206
|
* @param {string} websiteId The website ID
|
|
26220
26207
|
* @param {HorizonsV1WebsitesPublishWebsiteRequest} [horizonsV1WebsitesPublishWebsiteRequest]
|
|
@@ -36679,16 +36666,6 @@ export declare class VPSPostInstallScriptsApi extends BaseAPI {
|
|
|
36679
36666
|
* @export
|
|
36680
36667
|
*/
|
|
36681
36668
|
export declare const VPSPublicKeysApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
36682
|
-
/**
|
|
36683
|
-
* 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.
|
|
36684
|
-
* @summary Attach public key
|
|
36685
|
-
* @param {number} virtualMachineId Virtual Machine ID
|
|
36686
|
-
* @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
|
|
36687
|
-
* @param {*} [options] Override http request option.
|
|
36688
|
-
* @deprecated
|
|
36689
|
-
* @throws {RequiredError}
|
|
36690
|
-
*/
|
|
36691
|
-
attachPublicKeyV1: (virtualMachineId: number, vPSV1PublicKeyAttachRequest: VPSV1PublicKeyAttachRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36692
36669
|
/**
|
|
36693
36670
|
* 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.
|
|
36694
36671
|
* @summary Create public key
|
|
@@ -36722,16 +36699,6 @@ export declare const VPSPublicKeysApiAxiosParamCreator: (configuration?: Configu
|
|
|
36722
36699
|
* @export
|
|
36723
36700
|
*/
|
|
36724
36701
|
export declare const VPSPublicKeysApiFp: (configuration?: Configuration) => {
|
|
36725
|
-
/**
|
|
36726
|
-
* 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.
|
|
36727
|
-
* @summary Attach public key
|
|
36728
|
-
* @param {number} virtualMachineId Virtual Machine ID
|
|
36729
|
-
* @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
|
|
36730
|
-
* @param {*} [options] Override http request option.
|
|
36731
|
-
* @deprecated
|
|
36732
|
-
* @throws {RequiredError}
|
|
36733
|
-
*/
|
|
36734
|
-
attachPublicKeyV1(virtualMachineId: number, vPSV1PublicKeyAttachRequest: VPSV1PublicKeyAttachRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
|
|
36735
36702
|
/**
|
|
36736
36703
|
* 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.
|
|
36737
36704
|
* @summary Create public key
|
|
@@ -36765,16 +36732,6 @@ export declare const VPSPublicKeysApiFp: (configuration?: Configuration) => {
|
|
|
36765
36732
|
* @export
|
|
36766
36733
|
*/
|
|
36767
36734
|
export declare const VPSPublicKeysApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
36768
|
-
/**
|
|
36769
|
-
* 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.
|
|
36770
|
-
* @summary Attach public key
|
|
36771
|
-
* @param {number} virtualMachineId Virtual Machine ID
|
|
36772
|
-
* @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
|
|
36773
|
-
* @param {*} [options] Override http request option.
|
|
36774
|
-
* @deprecated
|
|
36775
|
-
* @throws {RequiredError}
|
|
36776
|
-
*/
|
|
36777
|
-
attachPublicKeyV1(virtualMachineId: number, vPSV1PublicKeyAttachRequest: VPSV1PublicKeyAttachRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
|
|
36778
36735
|
/**
|
|
36779
36736
|
* 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.
|
|
36780
36737
|
* @summary Create public key
|
|
@@ -36810,17 +36767,6 @@ export declare const VPSPublicKeysApiFactory: (configuration?: Configuration, ba
|
|
|
36810
36767
|
* @extends {BaseAPI}
|
|
36811
36768
|
*/
|
|
36812
36769
|
export declare class VPSPublicKeysApi extends BaseAPI {
|
|
36813
|
-
/**
|
|
36814
|
-
* 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.
|
|
36815
|
-
* @summary Attach public key
|
|
36816
|
-
* @param {number} virtualMachineId Virtual Machine ID
|
|
36817
|
-
* @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
|
|
36818
|
-
* @param {*} [options] Override http request option.
|
|
36819
|
-
* @deprecated
|
|
36820
|
-
* @throws {RequiredError}
|
|
36821
|
-
* @memberof VPSPublicKeysApi
|
|
36822
|
-
*/
|
|
36823
|
-
attachPublicKeyV1(virtualMachineId: number, vPSV1PublicKeyAttachRequest: VPSV1PublicKeyAttachRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}, any>>;
|
|
36824
36770
|
/**
|
|
36825
36771
|
* 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.
|
|
36826
36772
|
* @summary Create public key
|
|
@@ -37244,16 +37190,6 @@ export declare class VPSSnapshotsApi extends BaseAPI {
|
|
|
37244
37190
|
* @export
|
|
37245
37191
|
*/
|
|
37246
37192
|
export declare const VPSVirtualMachineApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
37247
|
-
/**
|
|
37248
|
-
* 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.
|
|
37249
|
-
* @summary Get attached public keys
|
|
37250
|
-
* @param {number} virtualMachineId Virtual Machine ID
|
|
37251
|
-
* @param {number} [page] Page number
|
|
37252
|
-
* @param {*} [options] Override http request option.
|
|
37253
|
-
* @deprecated
|
|
37254
|
-
* @throws {RequiredError}
|
|
37255
|
-
*/
|
|
37256
|
-
getAttachedPublicKeysV1: (virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37257
37193
|
/**
|
|
37258
37194
|
* 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.
|
|
37259
37195
|
* @summary Get metrics
|
|
@@ -37379,16 +37315,6 @@ export declare const VPSVirtualMachineApiAxiosParamCreator: (configuration?: Con
|
|
|
37379
37315
|
* @export
|
|
37380
37316
|
*/
|
|
37381
37317
|
export declare const VPSVirtualMachineApiFp: (configuration?: Configuration) => {
|
|
37382
|
-
/**
|
|
37383
|
-
* 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.
|
|
37384
|
-
* @summary Get attached public keys
|
|
37385
|
-
* @param {number} virtualMachineId Virtual Machine ID
|
|
37386
|
-
* @param {number} [page] Page number
|
|
37387
|
-
* @param {*} [options] Override http request option.
|
|
37388
|
-
* @deprecated
|
|
37389
|
-
* @throws {RequiredError}
|
|
37390
|
-
*/
|
|
37391
|
-
getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1PublicKeyListResponse>>;
|
|
37392
37318
|
/**
|
|
37393
37319
|
* 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.
|
|
37394
37320
|
* @summary Get metrics
|
|
@@ -37514,16 +37440,6 @@ export declare const VPSVirtualMachineApiFp: (configuration?: Configuration) =>
|
|
|
37514
37440
|
* @export
|
|
37515
37441
|
*/
|
|
37516
37442
|
export declare const VPSVirtualMachineApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
37517
|
-
/**
|
|
37518
|
-
* 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.
|
|
37519
|
-
* @summary Get attached public keys
|
|
37520
|
-
* @param {number} virtualMachineId Virtual Machine ID
|
|
37521
|
-
* @param {number} [page] Page number
|
|
37522
|
-
* @param {*} [options] Override http request option.
|
|
37523
|
-
* @deprecated
|
|
37524
|
-
* @throws {RequiredError}
|
|
37525
|
-
*/
|
|
37526
|
-
getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1PublicKeyListResponse>;
|
|
37527
37443
|
/**
|
|
37528
37444
|
* 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.
|
|
37529
37445
|
* @summary Get metrics
|
|
@@ -37651,17 +37567,6 @@ export declare const VPSVirtualMachineApiFactory: (configuration?: Configuration
|
|
|
37651
37567
|
* @extends {BaseAPI}
|
|
37652
37568
|
*/
|
|
37653
37569
|
export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
37654
|
-
/**
|
|
37655
|
-
* 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.
|
|
37656
|
-
* @summary Get attached public keys
|
|
37657
|
-
* @param {number} virtualMachineId Virtual Machine ID
|
|
37658
|
-
* @param {number} [page] Page number
|
|
37659
|
-
* @param {*} [options] Override http request option.
|
|
37660
|
-
* @deprecated
|
|
37661
|
-
* @throws {RequiredError}
|
|
37662
|
-
* @memberof VPSVirtualMachineApi
|
|
37663
|
-
*/
|
|
37664
|
-
getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PublicKeyListResponse, any, {}, any>>;
|
|
37665
37570
|
/**
|
|
37666
37571
|
* 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.
|
|
37667
37572
|
* @summary Get metrics
|