hostinger-api-sdk 3.4.1 → 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 CHANGED
@@ -1,9 +1,9 @@
1
- ## @hostinger/sdk@3.4.1
1
+ ## @hostinger/sdk@3.4.2
2
2
 
3
3
  For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
4
4
 
5
5
  ### Usage
6
6
 
7
7
  ```
8
- npm install @hostinger/sdk@3.4.1 --save
8
+ npm install @hostinger/sdk@3.4.2 --save
9
9
  ```
package/api.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 3.4.1
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
@@ -18166,19 +18166,6 @@ export interface VPSV1PostInstallScriptStoreRequest {
18166
18166
  */
18167
18167
  'content': string;
18168
18168
  }
18169
- /**
18170
- *
18171
- * @export
18172
- * @interface VPSV1PublicKeyAttachRequest
18173
- */
18174
- export interface VPSV1PublicKeyAttachRequest {
18175
- /**
18176
- * Public Key IDs to attach
18177
- * @type {Array<number>}
18178
- * @memberof VPSV1PublicKeyAttachRequest
18179
- */
18180
- 'ids': Array<number>;
18181
- }
18182
18169
  /**
18183
18170
  *
18184
18171
  * @export
@@ -54951,51 +54938,6 @@ export class VPSPostInstallScriptsApi extends BaseAPI {
54951
54938
  */
54952
54939
  export const VPSPublicKeysApiAxiosParamCreator = function (configuration?: Configuration) {
54953
54940
  return {
54954
- /**
54955
- * 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.
54956
- * @summary Attach public key
54957
- * @param {number} virtualMachineId Virtual Machine ID
54958
- * @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
54959
- * @param {*} [options] Override http request option.
54960
- * @deprecated
54961
- * @throws {RequiredError}
54962
- */
54963
- attachPublicKeyV1: async (virtualMachineId: number, vPSV1PublicKeyAttachRequest: VPSV1PublicKeyAttachRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
54964
- // verify required parameter 'virtualMachineId' is not null or undefined
54965
- assertParamExists('attachPublicKeyV1', 'virtualMachineId', virtualMachineId)
54966
- // verify required parameter 'vPSV1PublicKeyAttachRequest' is not null or undefined
54967
- assertParamExists('attachPublicKeyV1', 'vPSV1PublicKeyAttachRequest', vPSV1PublicKeyAttachRequest)
54968
- const localVarPath = `/api/vps/v1/public-keys/attach/{virtualMachineId}`
54969
- .replace(`{${"virtualMachineId"}}`, encodePathParam('virtualMachineId', virtualMachineId));
54970
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
54971
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
54972
- let baseOptions;
54973
- if (configuration) {
54974
- baseOptions = configuration.baseOptions;
54975
- }
54976
-
54977
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
54978
- const localVarHeaderParameter = {} as any;
54979
- const localVarQueryParameter = {} as any;
54980
-
54981
- // authentication apiToken required
54982
- // http bearer authentication required
54983
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
54984
-
54985
-
54986
-
54987
- localVarHeaderParameter['Content-Type'] = 'application/json';
54988
-
54989
- setSearchParams(localVarUrlObj, localVarQueryParameter);
54990
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
54991
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
54992
- localVarRequestOptions.data = serializeDataIfNeeded(vPSV1PublicKeyAttachRequest, localVarRequestOptions, configuration)
54993
-
54994
- return {
54995
- url: toPathString(localVarUrlObj),
54996
- options: localVarRequestOptions,
54997
- };
54998
- },
54999
54941
  /**
55000
54942
  * 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.
55001
54943
  * @summary Create public key
@@ -55126,20 +55068,6 @@ export const VPSPublicKeysApiAxiosParamCreator = function (configuration?: Confi
55126
55068
  export const VPSPublicKeysApiFp = function(configuration?: Configuration) {
55127
55069
  const localVarAxiosParamCreator = VPSPublicKeysApiAxiosParamCreator(configuration)
55128
55070
  return {
55129
- /**
55130
- * 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.
55131
- * @summary Attach public key
55132
- * @param {number} virtualMachineId Virtual Machine ID
55133
- * @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
55134
- * @param {*} [options] Override http request option.
55135
- * @deprecated
55136
- * @throws {RequiredError}
55137
- */
55138
- async attachPublicKeyV1(virtualMachineId: number, vPSV1PublicKeyAttachRequest: VPSV1PublicKeyAttachRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>> {
55139
- const localVarAxiosArgs = await localVarAxiosParamCreator.attachPublicKeyV1(virtualMachineId, vPSV1PublicKeyAttachRequest, options);
55140
- const localVarOperationServerBasePath = operationServerMap['VPSPublicKeysApi.attachPublicKeyV1']?.[0]?.url;
55141
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
55142
- },
55143
55071
  /**
55144
55072
  * 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.
55145
55073
  * @summary Create public key
@@ -55189,18 +55117,6 @@ export const VPSPublicKeysApiFp = function(configuration?: Configuration) {
55189
55117
  export const VPSPublicKeysApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
55190
55118
  const localVarFp = VPSPublicKeysApiFp(configuration)
55191
55119
  return {
55192
- /**
55193
- * 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.
55194
- * @summary Attach public key
55195
- * @param {number} virtualMachineId Virtual Machine ID
55196
- * @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
55197
- * @param {*} [options] Override http request option.
55198
- * @deprecated
55199
- * @throws {RequiredError}
55200
- */
55201
- attachPublicKeyV1(virtualMachineId: number, vPSV1PublicKeyAttachRequest: VPSV1PublicKeyAttachRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource> {
55202
- return localVarFp.attachPublicKeyV1(virtualMachineId, vPSV1PublicKeyAttachRequest, options).then((request) => request(axios, basePath));
55203
- },
55204
55120
  /**
55205
55121
  * 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.
55206
55122
  * @summary Create public key
@@ -55244,20 +55160,6 @@ export const VPSPublicKeysApiFactory = function (configuration?: Configuration,
55244
55160
  * @extends {BaseAPI}
55245
55161
  */
55246
55162
  export class VPSPublicKeysApi extends BaseAPI {
55247
- /**
55248
- * 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.
55249
- * @summary Attach public key
55250
- * @param {number} virtualMachineId Virtual Machine ID
55251
- * @param {VPSV1PublicKeyAttachRequest} vPSV1PublicKeyAttachRequest
55252
- * @param {*} [options] Override http request option.
55253
- * @deprecated
55254
- * @throws {RequiredError}
55255
- * @memberof VPSPublicKeysApi
55256
- */
55257
- public attachPublicKeyV1(virtualMachineId: number, vPSV1PublicKeyAttachRequest: VPSV1PublicKeyAttachRequest, options?: RawAxiosRequestConfig) {
55258
- return VPSPublicKeysApiFp(this.configuration).attachPublicKeyV1(virtualMachineId, vPSV1PublicKeyAttachRequest, options).then((request) => request(this.axios, this.basePath));
55259
- }
55260
-
55261
55163
  /**
55262
55164
  * 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.
55263
55165
  * @summary Create public key
@@ -56098,50 +56000,6 @@ export class VPSSnapshotsApi extends BaseAPI {
56098
56000
  */
56099
56001
  export const VPSVirtualMachineApiAxiosParamCreator = function (configuration?: Configuration) {
56100
56002
  return {
56101
- /**
56102
- * 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.
56103
- * @summary Get attached public keys
56104
- * @param {number} virtualMachineId Virtual Machine ID
56105
- * @param {number} [page] Page number
56106
- * @param {*} [options] Override http request option.
56107
- * @deprecated
56108
- * @throws {RequiredError}
56109
- */
56110
- getAttachedPublicKeysV1: async (virtualMachineId: number, page?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
56111
- // verify required parameter 'virtualMachineId' is not null or undefined
56112
- assertParamExists('getAttachedPublicKeysV1', 'virtualMachineId', virtualMachineId)
56113
- const localVarPath = `/api/vps/v1/virtual-machines/{virtualMachineId}/public-keys`
56114
- .replace(`{${"virtualMachineId"}}`, encodePathParam('virtualMachineId', virtualMachineId));
56115
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
56116
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
56117
- let baseOptions;
56118
- if (configuration) {
56119
- baseOptions = configuration.baseOptions;
56120
- }
56121
-
56122
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
56123
- const localVarHeaderParameter = {} as any;
56124
- const localVarQueryParameter = {} as any;
56125
-
56126
- // authentication apiToken required
56127
- // http bearer authentication required
56128
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
56129
-
56130
- if (page !== undefined) {
56131
- localVarQueryParameter['page'] = page;
56132
- }
56133
-
56134
-
56135
-
56136
- setSearchParams(localVarUrlObj, localVarQueryParameter);
56137
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
56138
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
56139
-
56140
- return {
56141
- url: toPathString(localVarUrlObj),
56142
- options: localVarRequestOptions,
56143
- };
56144
- },
56145
56003
  /**
56146
56004
  * 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.
56147
56005
  * @summary Get metrics
@@ -56736,20 +56594,6 @@ export const VPSVirtualMachineApiAxiosParamCreator = function (configuration?: C
56736
56594
  export const VPSVirtualMachineApiFp = function(configuration?: Configuration) {
56737
56595
  const localVarAxiosParamCreator = VPSVirtualMachineApiAxiosParamCreator(configuration)
56738
56596
  return {
56739
- /**
56740
- * 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.
56741
- * @summary Get attached public keys
56742
- * @param {number} virtualMachineId Virtual Machine ID
56743
- * @param {number} [page] Page number
56744
- * @param {*} [options] Override http request option.
56745
- * @deprecated
56746
- * @throws {RequiredError}
56747
- */
56748
- async getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1PublicKeyListResponse>> {
56749
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAttachedPublicKeysV1(virtualMachineId, page, options);
56750
- const localVarOperationServerBasePath = operationServerMap['VPSVirtualMachineApi.getAttachedPublicKeysV1']?.[0]?.url;
56751
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
56752
- },
56753
56597
  /**
56754
56598
  * 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.
56755
56599
  * @summary Get metrics
@@ -56935,18 +56779,6 @@ export const VPSVirtualMachineApiFp = function(configuration?: Configuration) {
56935
56779
  export const VPSVirtualMachineApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
56936
56780
  const localVarFp = VPSVirtualMachineApiFp(configuration)
56937
56781
  return {
56938
- /**
56939
- * 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.
56940
- * @summary Get attached public keys
56941
- * @param {number} virtualMachineId Virtual Machine ID
56942
- * @param {number} [page] Page number
56943
- * @param {*} [options] Override http request option.
56944
- * @deprecated
56945
- * @throws {RequiredError}
56946
- */
56947
- getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1PublicKeyListResponse> {
56948
- return localVarFp.getAttachedPublicKeysV1(virtualMachineId, page, options).then((request) => request(axios, basePath));
56949
- },
56950
56782
  /**
56951
56783
  * 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.
56952
56784
  * @summary Get metrics
@@ -57104,20 +56936,6 @@ export const VPSVirtualMachineApiFactory = function (configuration?: Configurati
57104
56936
  * @extends {BaseAPI}
57105
56937
  */
57106
56938
  export class VPSVirtualMachineApi extends BaseAPI {
57107
- /**
57108
- * 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.
57109
- * @summary Get attached public keys
57110
- * @param {number} virtualMachineId Virtual Machine ID
57111
- * @param {number} [page] Page number
57112
- * @param {*} [options] Override http request option.
57113
- * @deprecated
57114
- * @throws {RequiredError}
57115
- * @memberof VPSVirtualMachineApi
57116
- */
57117
- public getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig) {
57118
- return VPSVirtualMachineApiFp(this.configuration).getAttachedPublicKeysV1(virtualMachineId, page, options).then((request) => request(this.axios, this.basePath));
57119
- }
57120
-
57121
56939
  /**
57122
56940
  * 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.
57123
56941
  * @summary Get metrics
package/base.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 3.4.1
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/common.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 3.4.1
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/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 3.4.1
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
@@ -48,7 +48,7 @@ export class Configuration {
48
48
  this.baseOptions = {
49
49
  ...param.baseOptions,
50
50
  headers: {
51
- 'User-Agent': "hostinger-typescript-sdk/3.4.1",
51
+ 'User-Agent': "hostinger-typescript-sdk/3.4.2",
52
52
  ...param.baseOptions?.headers,
53
53
  },
54
54
  };
package/dist/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 3.4.1
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
@@ -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
@@ -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