hostinger-api-sdk 1.3.0 → 1.4.0
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 +550 -108
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +329 -114
- package/dist/api.js +425 -5
- 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 +329 -114
- package/dist/esm/api.js +417 -1
- 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/HostingCacheApi.md +295 -0
- package/docs/VPSActionsApi.md +2 -2
- package/docs/VPSBackupsApi.md +2 -2
- package/docs/VPSFirewallApi.md +2 -2
- package/docs/VPSPostInstallScriptsApi.md +2 -2
- package/docs/VPSPublicKeysApi.md +2 -2
- package/docs/{VPSGetActionsV1200Response.md → VPSV1ActionListResponse.md} +3 -3
- package/docs/{VPSGetBackupsV1200Response.md → VPSV1BackupListResponse.md} +3 -3
- package/docs/{VPSGetFirewallListV1200Response.md → VPSV1FirewallListResponse.md} +3 -3
- package/docs/{VPSGetPostInstallScriptsV1200Response.md → VPSV1PostInstallScriptListResponse.md} +3 -3
- package/docs/{VPSGetPublicKeysV1200Response.md → VPSV1PublicKeyListResponse.md} +3 -3
- package/docs/VPSVirtualMachineApi.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.4.0
|
|
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: 1.
|
|
6
|
+
* API Version: 1.4.0
|
|
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: 1.
|
|
6
|
+
* API Version: 1.4.0
|
|
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/1.
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/1.4.0",
|
|
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: 1.
|
|
4
|
+
* API Version: 1.4.0
|
|
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
|
|
@@ -4099,101 +4099,6 @@ export interface ReachV1ProfilesProfileResourceProfilesInner {
|
|
|
4099
4099
|
*/
|
|
4100
4100
|
'updated_at': string;
|
|
4101
4101
|
}
|
|
4102
|
-
/**
|
|
4103
|
-
*
|
|
4104
|
-
* @export
|
|
4105
|
-
* @interface VPSGetActionsV1200Response
|
|
4106
|
-
*/
|
|
4107
|
-
export interface VPSGetActionsV1200Response {
|
|
4108
|
-
/**
|
|
4109
|
-
* Array of [`VPS.V1.Action.ActionResource`](#model/vpsv1actionactionresource)
|
|
4110
|
-
* @type {Array<VPSV1ActionActionResource>}
|
|
4111
|
-
* @memberof VPSGetActionsV1200Response
|
|
4112
|
-
*/
|
|
4113
|
-
'data': Array<VPSV1ActionActionResource>;
|
|
4114
|
-
/**
|
|
4115
|
-
*
|
|
4116
|
-
* @type {CommonSchemaPaginationMetaSchema}
|
|
4117
|
-
* @memberof VPSGetActionsV1200Response
|
|
4118
|
-
*/
|
|
4119
|
-
'meta': CommonSchemaPaginationMetaSchema;
|
|
4120
|
-
}
|
|
4121
|
-
/**
|
|
4122
|
-
*
|
|
4123
|
-
* @export
|
|
4124
|
-
* @interface VPSGetBackupsV1200Response
|
|
4125
|
-
*/
|
|
4126
|
-
export interface VPSGetBackupsV1200Response {
|
|
4127
|
-
/**
|
|
4128
|
-
* Array of [`VPS.V1.Backup.BackupResource`](#model/vpsv1backupbackupresource)
|
|
4129
|
-
* @type {Array<VPSV1BackupBackupResource>}
|
|
4130
|
-
* @memberof VPSGetBackupsV1200Response
|
|
4131
|
-
*/
|
|
4132
|
-
'data': Array<VPSV1BackupBackupResource>;
|
|
4133
|
-
/**
|
|
4134
|
-
*
|
|
4135
|
-
* @type {CommonSchemaPaginationMetaSchema}
|
|
4136
|
-
* @memberof VPSGetBackupsV1200Response
|
|
4137
|
-
*/
|
|
4138
|
-
'meta': CommonSchemaPaginationMetaSchema;
|
|
4139
|
-
}
|
|
4140
|
-
/**
|
|
4141
|
-
*
|
|
4142
|
-
* @export
|
|
4143
|
-
* @interface VPSGetFirewallListV1200Response
|
|
4144
|
-
*/
|
|
4145
|
-
export interface VPSGetFirewallListV1200Response {
|
|
4146
|
-
/**
|
|
4147
|
-
* Array of [`VPS.V1.Firewall.FirewallResource`](#model/vpsv1firewallfirewallresource)
|
|
4148
|
-
* @type {Array<VPSV1FirewallFirewallResource>}
|
|
4149
|
-
* @memberof VPSGetFirewallListV1200Response
|
|
4150
|
-
*/
|
|
4151
|
-
'data': Array<VPSV1FirewallFirewallResource>;
|
|
4152
|
-
/**
|
|
4153
|
-
*
|
|
4154
|
-
* @type {CommonSchemaPaginationMetaSchema}
|
|
4155
|
-
* @memberof VPSGetFirewallListV1200Response
|
|
4156
|
-
*/
|
|
4157
|
-
'meta': CommonSchemaPaginationMetaSchema;
|
|
4158
|
-
}
|
|
4159
|
-
/**
|
|
4160
|
-
*
|
|
4161
|
-
* @export
|
|
4162
|
-
* @interface VPSGetPostInstallScriptsV1200Response
|
|
4163
|
-
*/
|
|
4164
|
-
export interface VPSGetPostInstallScriptsV1200Response {
|
|
4165
|
-
/**
|
|
4166
|
-
* Array of [`VPS.V1.PostInstallScript.PostInstallScriptResource`](#model/vpsv1postinstallscriptpostinstallscriptresource)
|
|
4167
|
-
* @type {Array<VPSV1PostInstallScriptPostInstallScriptResource>}
|
|
4168
|
-
* @memberof VPSGetPostInstallScriptsV1200Response
|
|
4169
|
-
*/
|
|
4170
|
-
'data': Array<VPSV1PostInstallScriptPostInstallScriptResource>;
|
|
4171
|
-
/**
|
|
4172
|
-
*
|
|
4173
|
-
* @type {CommonSchemaPaginationMetaSchema}
|
|
4174
|
-
* @memberof VPSGetPostInstallScriptsV1200Response
|
|
4175
|
-
*/
|
|
4176
|
-
'meta': CommonSchemaPaginationMetaSchema;
|
|
4177
|
-
}
|
|
4178
|
-
/**
|
|
4179
|
-
*
|
|
4180
|
-
* @export
|
|
4181
|
-
* @interface VPSGetPublicKeysV1200Response
|
|
4182
|
-
*/
|
|
4183
|
-
export interface VPSGetPublicKeysV1200Response {
|
|
4184
|
-
/**
|
|
4185
|
-
* Array of [`VPS.V1.PublicKey.PublicKeyResource`](#model/vpsv1publickeypublickeyresource)
|
|
4186
|
-
* @type {Array<VPSV1PublicKeyPublicKeyResource>}
|
|
4187
|
-
* @memberof VPSGetPublicKeysV1200Response
|
|
4188
|
-
*/
|
|
4189
|
-
'data': Array<VPSV1PublicKeyPublicKeyResource>;
|
|
4190
|
-
/**
|
|
4191
|
-
*
|
|
4192
|
-
* @type {CommonSchemaPaginationMetaSchema}
|
|
4193
|
-
* @memberof VPSGetPublicKeysV1200Response
|
|
4194
|
-
*/
|
|
4195
|
-
'meta': CommonSchemaPaginationMetaSchema;
|
|
4196
|
-
}
|
|
4197
4102
|
/**
|
|
4198
4103
|
*
|
|
4199
4104
|
* @export
|
|
@@ -4239,6 +4144,25 @@ export declare const VPSV1ActionActionResourceStateEnum: {
|
|
|
4239
4144
|
readonly Created: "created";
|
|
4240
4145
|
};
|
|
4241
4146
|
export type VPSV1ActionActionResourceStateEnum = typeof VPSV1ActionActionResourceStateEnum[keyof typeof VPSV1ActionActionResourceStateEnum];
|
|
4147
|
+
/**
|
|
4148
|
+
*
|
|
4149
|
+
* @export
|
|
4150
|
+
* @interface VPSV1ActionListResponse
|
|
4151
|
+
*/
|
|
4152
|
+
export interface VPSV1ActionListResponse {
|
|
4153
|
+
/**
|
|
4154
|
+
* Array of [`VPS.V1.Action.ActionResource`](#model/vpsv1actionactionresource)
|
|
4155
|
+
* @type {Array<VPSV1ActionActionResource>}
|
|
4156
|
+
* @memberof VPSV1ActionListResponse
|
|
4157
|
+
*/
|
|
4158
|
+
'data': Array<VPSV1ActionActionResource>;
|
|
4159
|
+
/**
|
|
4160
|
+
*
|
|
4161
|
+
* @type {CommonSchemaPaginationMetaSchema}
|
|
4162
|
+
* @memberof VPSV1ActionListResponse
|
|
4163
|
+
*/
|
|
4164
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
4165
|
+
}
|
|
4242
4166
|
/**
|
|
4243
4167
|
*
|
|
4244
4168
|
* @export
|
|
@@ -4276,6 +4200,25 @@ export interface VPSV1BackupBackupResource {
|
|
|
4276
4200
|
*/
|
|
4277
4201
|
'created_at': string;
|
|
4278
4202
|
}
|
|
4203
|
+
/**
|
|
4204
|
+
*
|
|
4205
|
+
* @export
|
|
4206
|
+
* @interface VPSV1BackupListResponse
|
|
4207
|
+
*/
|
|
4208
|
+
export interface VPSV1BackupListResponse {
|
|
4209
|
+
/**
|
|
4210
|
+
* Array of [`VPS.V1.Backup.BackupResource`](#model/vpsv1backupbackupresource)
|
|
4211
|
+
* @type {Array<VPSV1BackupBackupResource>}
|
|
4212
|
+
* @memberof VPSV1BackupListResponse
|
|
4213
|
+
*/
|
|
4214
|
+
'data': Array<VPSV1BackupBackupResource>;
|
|
4215
|
+
/**
|
|
4216
|
+
*
|
|
4217
|
+
* @type {CommonSchemaPaginationMetaSchema}
|
|
4218
|
+
* @memberof VPSV1BackupListResponse
|
|
4219
|
+
*/
|
|
4220
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
4221
|
+
}
|
|
4279
4222
|
/**
|
|
4280
4223
|
*
|
|
4281
4224
|
* @export
|
|
@@ -4716,6 +4659,25 @@ export declare const VPSV1FirewallFirewallRuleResourceProtocolEnum: {
|
|
|
4716
4659
|
readonly PostgreSql: "PostgreSQL";
|
|
4717
4660
|
};
|
|
4718
4661
|
export type VPSV1FirewallFirewallRuleResourceProtocolEnum = typeof VPSV1FirewallFirewallRuleResourceProtocolEnum[keyof typeof VPSV1FirewallFirewallRuleResourceProtocolEnum];
|
|
4662
|
+
/**
|
|
4663
|
+
*
|
|
4664
|
+
* @export
|
|
4665
|
+
* @interface VPSV1FirewallListResponse
|
|
4666
|
+
*/
|
|
4667
|
+
export interface VPSV1FirewallListResponse {
|
|
4668
|
+
/**
|
|
4669
|
+
* Array of [`VPS.V1.Firewall.FirewallResource`](#model/vpsv1firewallfirewallresource)
|
|
4670
|
+
* @type {Array<VPSV1FirewallFirewallResource>}
|
|
4671
|
+
* @memberof VPSV1FirewallListResponse
|
|
4672
|
+
*/
|
|
4673
|
+
'data': Array<VPSV1FirewallFirewallResource>;
|
|
4674
|
+
/**
|
|
4675
|
+
*
|
|
4676
|
+
* @type {CommonSchemaPaginationMetaSchema}
|
|
4677
|
+
* @memberof VPSV1FirewallListResponse
|
|
4678
|
+
*/
|
|
4679
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
4680
|
+
}
|
|
4719
4681
|
/**
|
|
4720
4682
|
*
|
|
4721
4683
|
* @export
|
|
@@ -4911,6 +4873,25 @@ export interface VPSV1MetricsMetricsResource {
|
|
|
4911
4873
|
*/
|
|
4912
4874
|
'usage': object;
|
|
4913
4875
|
}
|
|
4876
|
+
/**
|
|
4877
|
+
*
|
|
4878
|
+
* @export
|
|
4879
|
+
* @interface VPSV1PostInstallScriptListResponse
|
|
4880
|
+
*/
|
|
4881
|
+
export interface VPSV1PostInstallScriptListResponse {
|
|
4882
|
+
/**
|
|
4883
|
+
* Array of [`VPS.V1.PostInstallScript.PostInstallScriptResource`](#model/vpsv1postinstallscriptpostinstallscriptresource)
|
|
4884
|
+
* @type {Array<VPSV1PostInstallScriptPostInstallScriptResource>}
|
|
4885
|
+
* @memberof VPSV1PostInstallScriptListResponse
|
|
4886
|
+
*/
|
|
4887
|
+
'data': Array<VPSV1PostInstallScriptPostInstallScriptResource>;
|
|
4888
|
+
/**
|
|
4889
|
+
*
|
|
4890
|
+
* @type {CommonSchemaPaginationMetaSchema}
|
|
4891
|
+
* @memberof VPSV1PostInstallScriptListResponse
|
|
4892
|
+
*/
|
|
4893
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
4894
|
+
}
|
|
4914
4895
|
/**
|
|
4915
4896
|
*
|
|
4916
4897
|
* @export
|
|
@@ -4980,6 +4961,25 @@ export interface VPSV1PublicKeyAttachRequest {
|
|
|
4980
4961
|
*/
|
|
4981
4962
|
'ids': Array<number>;
|
|
4982
4963
|
}
|
|
4964
|
+
/**
|
|
4965
|
+
*
|
|
4966
|
+
* @export
|
|
4967
|
+
* @interface VPSV1PublicKeyListResponse
|
|
4968
|
+
*/
|
|
4969
|
+
export interface VPSV1PublicKeyListResponse {
|
|
4970
|
+
/**
|
|
4971
|
+
* Array of [`VPS.V1.PublicKey.PublicKeyResource`](#model/vpsv1publickeypublickeyresource)
|
|
4972
|
+
* @type {Array<VPSV1PublicKeyPublicKeyResource>}
|
|
4973
|
+
* @memberof VPSV1PublicKeyListResponse
|
|
4974
|
+
*/
|
|
4975
|
+
'data': Array<VPSV1PublicKeyPublicKeyResource>;
|
|
4976
|
+
/**
|
|
4977
|
+
*
|
|
4978
|
+
* @type {CommonSchemaPaginationMetaSchema}
|
|
4979
|
+
* @memberof VPSV1PublicKeyListResponse
|
|
4980
|
+
*/
|
|
4981
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
4982
|
+
}
|
|
4983
4983
|
/**
|
|
4984
4984
|
*
|
|
4985
4985
|
* @export
|
|
@@ -8632,6 +8632,221 @@ export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
|
8632
8632
|
*/
|
|
8633
8633
|
getWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesWebsiteUrlResource, any, {}>>;
|
|
8634
8634
|
}
|
|
8635
|
+
/**
|
|
8636
|
+
* HostingCacheApi - axios parameter creator
|
|
8637
|
+
* @export
|
|
8638
|
+
*/
|
|
8639
|
+
export declare const HostingCacheApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
8640
|
+
/**
|
|
8641
|
+
* Permanently clears all server-side cache for the website at once. Use it when content was updated and needs to be visible immediately, or after making major changes. Also purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress installation living in a subdirectory, pass the directory query parameter to clear its cache.
|
|
8642
|
+
* @summary Clear website cache
|
|
8643
|
+
* @param {string} username
|
|
8644
|
+
* @param {string} domain Domain name
|
|
8645
|
+
* @param {string} [directory] Directory of the website installation to clear, relative to the website root. Defaults to the website root.
|
|
8646
|
+
* @param {*} [options] Override http request option.
|
|
8647
|
+
* @throws {RequiredError}
|
|
8648
|
+
*/
|
|
8649
|
+
clearWebsiteCacheV1: (username: string, domain: string, directory?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8650
|
+
/**
|
|
8651
|
+
* Turns off development (cacheless) mode and returns the website to normal caching. Use it after finishing development work to restore the performance benefits of caching.
|
|
8652
|
+
* @summary Disable cacheless mode
|
|
8653
|
+
* @param {string} username
|
|
8654
|
+
* @param {string} domain Domain name
|
|
8655
|
+
* @param {*} [options] Override http request option.
|
|
8656
|
+
* @throws {RequiredError}
|
|
8657
|
+
*/
|
|
8658
|
+
disableCachelessModeV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8659
|
+
/**
|
|
8660
|
+
* Turns off server-side caching for the website until it is enabled again. May impact performance. Use it when experiencing cache-related issues; to temporarily bypass caching while developing or debugging, prefer enabling cacheless mode instead. Does nothing if caching is already disabled.
|
|
8661
|
+
* @summary Disable website cache
|
|
8662
|
+
* @param {string} username
|
|
8663
|
+
* @param {string} domain Domain name
|
|
8664
|
+
* @param {*} [options] Override http request option.
|
|
8665
|
+
* @throws {RequiredError}
|
|
8666
|
+
*/
|
|
8667
|
+
disableWebsiteCacheV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8668
|
+
/**
|
|
8669
|
+
* Enables development (cacheless) mode where nothing is cached, effectively turning off all caching for the website. Use it while actively developing, testing changes, debugging issues, or when real-time updates must be visible. Disable cacheless mode afterwards to restore normal caching.
|
|
8670
|
+
* @summary Enable cacheless mode
|
|
8671
|
+
* @param {string} username
|
|
8672
|
+
* @param {string} domain Domain name
|
|
8673
|
+
* @param {*} [options] Override http request option.
|
|
8674
|
+
* @throws {RequiredError}
|
|
8675
|
+
*/
|
|
8676
|
+
enableCachelessModeV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8677
|
+
/**
|
|
8678
|
+
* Turns on server-side caching for the website for better performance. Use it for faster page loads, reduced server load, or improved user experience. Recommended for production websites. Does nothing if caching is already enabled.
|
|
8679
|
+
* @summary Enable website cache
|
|
8680
|
+
* @param {string} username
|
|
8681
|
+
* @param {string} domain Domain name
|
|
8682
|
+
* @param {*} [options] Override http request option.
|
|
8683
|
+
* @throws {RequiredError}
|
|
8684
|
+
*/
|
|
8685
|
+
enableWebsiteCacheV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8686
|
+
};
|
|
8687
|
+
/**
|
|
8688
|
+
* HostingCacheApi - functional programming interface
|
|
8689
|
+
* @export
|
|
8690
|
+
*/
|
|
8691
|
+
export declare const HostingCacheApiFp: (configuration?: Configuration) => {
|
|
8692
|
+
/**
|
|
8693
|
+
* Permanently clears all server-side cache for the website at once. Use it when content was updated and needs to be visible immediately, or after making major changes. Also purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress installation living in a subdirectory, pass the directory query parameter to clear its cache.
|
|
8694
|
+
* @summary Clear website cache
|
|
8695
|
+
* @param {string} username
|
|
8696
|
+
* @param {string} domain Domain name
|
|
8697
|
+
* @param {string} [directory] Directory of the website installation to clear, relative to the website root. Defaults to the website root.
|
|
8698
|
+
* @param {*} [options] Override http request option.
|
|
8699
|
+
* @throws {RequiredError}
|
|
8700
|
+
*/
|
|
8701
|
+
clearWebsiteCacheV1(username: string, domain: string, directory?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
8702
|
+
/**
|
|
8703
|
+
* Turns off development (cacheless) mode and returns the website to normal caching. Use it after finishing development work to restore the performance benefits of caching.
|
|
8704
|
+
* @summary Disable cacheless mode
|
|
8705
|
+
* @param {string} username
|
|
8706
|
+
* @param {string} domain Domain name
|
|
8707
|
+
* @param {*} [options] Override http request option.
|
|
8708
|
+
* @throws {RequiredError}
|
|
8709
|
+
*/
|
|
8710
|
+
disableCachelessModeV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
8711
|
+
/**
|
|
8712
|
+
* Turns off server-side caching for the website until it is enabled again. May impact performance. Use it when experiencing cache-related issues; to temporarily bypass caching while developing or debugging, prefer enabling cacheless mode instead. Does nothing if caching is already disabled.
|
|
8713
|
+
* @summary Disable website cache
|
|
8714
|
+
* @param {string} username
|
|
8715
|
+
* @param {string} domain Domain name
|
|
8716
|
+
* @param {*} [options] Override http request option.
|
|
8717
|
+
* @throws {RequiredError}
|
|
8718
|
+
*/
|
|
8719
|
+
disableWebsiteCacheV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
8720
|
+
/**
|
|
8721
|
+
* Enables development (cacheless) mode where nothing is cached, effectively turning off all caching for the website. Use it while actively developing, testing changes, debugging issues, or when real-time updates must be visible. Disable cacheless mode afterwards to restore normal caching.
|
|
8722
|
+
* @summary Enable cacheless mode
|
|
8723
|
+
* @param {string} username
|
|
8724
|
+
* @param {string} domain Domain name
|
|
8725
|
+
* @param {*} [options] Override http request option.
|
|
8726
|
+
* @throws {RequiredError}
|
|
8727
|
+
*/
|
|
8728
|
+
enableCachelessModeV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
8729
|
+
/**
|
|
8730
|
+
* Turns on server-side caching for the website for better performance. Use it for faster page loads, reduced server load, or improved user experience. Recommended for production websites. Does nothing if caching is already enabled.
|
|
8731
|
+
* @summary Enable website cache
|
|
8732
|
+
* @param {string} username
|
|
8733
|
+
* @param {string} domain Domain name
|
|
8734
|
+
* @param {*} [options] Override http request option.
|
|
8735
|
+
* @throws {RequiredError}
|
|
8736
|
+
*/
|
|
8737
|
+
enableWebsiteCacheV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
8738
|
+
};
|
|
8739
|
+
/**
|
|
8740
|
+
* HostingCacheApi - factory interface
|
|
8741
|
+
* @export
|
|
8742
|
+
*/
|
|
8743
|
+
export declare const HostingCacheApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
8744
|
+
/**
|
|
8745
|
+
* Permanently clears all server-side cache for the website at once. Use it when content was updated and needs to be visible immediately, or after making major changes. Also purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress installation living in a subdirectory, pass the directory query parameter to clear its cache.
|
|
8746
|
+
* @summary Clear website cache
|
|
8747
|
+
* @param {string} username
|
|
8748
|
+
* @param {string} domain Domain name
|
|
8749
|
+
* @param {string} [directory] Directory of the website installation to clear, relative to the website root. Defaults to the website root.
|
|
8750
|
+
* @param {*} [options] Override http request option.
|
|
8751
|
+
* @throws {RequiredError}
|
|
8752
|
+
*/
|
|
8753
|
+
clearWebsiteCacheV1(username: string, domain: string, directory?: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
8754
|
+
/**
|
|
8755
|
+
* Turns off development (cacheless) mode and returns the website to normal caching. Use it after finishing development work to restore the performance benefits of caching.
|
|
8756
|
+
* @summary Disable cacheless mode
|
|
8757
|
+
* @param {string} username
|
|
8758
|
+
* @param {string} domain Domain name
|
|
8759
|
+
* @param {*} [options] Override http request option.
|
|
8760
|
+
* @throws {RequiredError}
|
|
8761
|
+
*/
|
|
8762
|
+
disableCachelessModeV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
8763
|
+
/**
|
|
8764
|
+
* Turns off server-side caching for the website until it is enabled again. May impact performance. Use it when experiencing cache-related issues; to temporarily bypass caching while developing or debugging, prefer enabling cacheless mode instead. Does nothing if caching is already disabled.
|
|
8765
|
+
* @summary Disable website cache
|
|
8766
|
+
* @param {string} username
|
|
8767
|
+
* @param {string} domain Domain name
|
|
8768
|
+
* @param {*} [options] Override http request option.
|
|
8769
|
+
* @throws {RequiredError}
|
|
8770
|
+
*/
|
|
8771
|
+
disableWebsiteCacheV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
8772
|
+
/**
|
|
8773
|
+
* Enables development (cacheless) mode where nothing is cached, effectively turning off all caching for the website. Use it while actively developing, testing changes, debugging issues, or when real-time updates must be visible. Disable cacheless mode afterwards to restore normal caching.
|
|
8774
|
+
* @summary Enable cacheless mode
|
|
8775
|
+
* @param {string} username
|
|
8776
|
+
* @param {string} domain Domain name
|
|
8777
|
+
* @param {*} [options] Override http request option.
|
|
8778
|
+
* @throws {RequiredError}
|
|
8779
|
+
*/
|
|
8780
|
+
enableCachelessModeV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
8781
|
+
/**
|
|
8782
|
+
* Turns on server-side caching for the website for better performance. Use it for faster page loads, reduced server load, or improved user experience. Recommended for production websites. Does nothing if caching is already enabled.
|
|
8783
|
+
* @summary Enable website cache
|
|
8784
|
+
* @param {string} username
|
|
8785
|
+
* @param {string} domain Domain name
|
|
8786
|
+
* @param {*} [options] Override http request option.
|
|
8787
|
+
* @throws {RequiredError}
|
|
8788
|
+
*/
|
|
8789
|
+
enableWebsiteCacheV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
8790
|
+
};
|
|
8791
|
+
/**
|
|
8792
|
+
* HostingCacheApi - object-oriented interface
|
|
8793
|
+
* @export
|
|
8794
|
+
* @class HostingCacheApi
|
|
8795
|
+
* @extends {BaseAPI}
|
|
8796
|
+
*/
|
|
8797
|
+
export declare class HostingCacheApi extends BaseAPI {
|
|
8798
|
+
/**
|
|
8799
|
+
* Permanently clears all server-side cache for the website at once. Use it when content was updated and needs to be visible immediately, or after making major changes. Also purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress installation living in a subdirectory, pass the directory query parameter to clear its cache.
|
|
8800
|
+
* @summary Clear website cache
|
|
8801
|
+
* @param {string} username
|
|
8802
|
+
* @param {string} domain Domain name
|
|
8803
|
+
* @param {string} [directory] Directory of the website installation to clear, relative to the website root. Defaults to the website root.
|
|
8804
|
+
* @param {*} [options] Override http request option.
|
|
8805
|
+
* @throws {RequiredError}
|
|
8806
|
+
* @memberof HostingCacheApi
|
|
8807
|
+
*/
|
|
8808
|
+
clearWebsiteCacheV1(username: string, domain: string, directory?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
8809
|
+
/**
|
|
8810
|
+
* Turns off development (cacheless) mode and returns the website to normal caching. Use it after finishing development work to restore the performance benefits of caching.
|
|
8811
|
+
* @summary Disable cacheless mode
|
|
8812
|
+
* @param {string} username
|
|
8813
|
+
* @param {string} domain Domain name
|
|
8814
|
+
* @param {*} [options] Override http request option.
|
|
8815
|
+
* @throws {RequiredError}
|
|
8816
|
+
* @memberof HostingCacheApi
|
|
8817
|
+
*/
|
|
8818
|
+
disableCachelessModeV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
8819
|
+
/**
|
|
8820
|
+
* Turns off server-side caching for the website until it is enabled again. May impact performance. Use it when experiencing cache-related issues; to temporarily bypass caching while developing or debugging, prefer enabling cacheless mode instead. Does nothing if caching is already disabled.
|
|
8821
|
+
* @summary Disable website cache
|
|
8822
|
+
* @param {string} username
|
|
8823
|
+
* @param {string} domain Domain name
|
|
8824
|
+
* @param {*} [options] Override http request option.
|
|
8825
|
+
* @throws {RequiredError}
|
|
8826
|
+
* @memberof HostingCacheApi
|
|
8827
|
+
*/
|
|
8828
|
+
disableWebsiteCacheV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
8829
|
+
/**
|
|
8830
|
+
* Enables development (cacheless) mode where nothing is cached, effectively turning off all caching for the website. Use it while actively developing, testing changes, debugging issues, or when real-time updates must be visible. Disable cacheless mode afterwards to restore normal caching.
|
|
8831
|
+
* @summary Enable cacheless mode
|
|
8832
|
+
* @param {string} username
|
|
8833
|
+
* @param {string} domain Domain name
|
|
8834
|
+
* @param {*} [options] Override http request option.
|
|
8835
|
+
* @throws {RequiredError}
|
|
8836
|
+
* @memberof HostingCacheApi
|
|
8837
|
+
*/
|
|
8838
|
+
enableCachelessModeV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
8839
|
+
/**
|
|
8840
|
+
* Turns on server-side caching for the website for better performance. Use it for faster page loads, reduced server load, or improved user experience. Recommended for production websites. Does nothing if caching is already enabled.
|
|
8841
|
+
* @summary Enable website cache
|
|
8842
|
+
* @param {string} username
|
|
8843
|
+
* @param {string} domain Domain name
|
|
8844
|
+
* @param {*} [options] Override http request option.
|
|
8845
|
+
* @throws {RequiredError}
|
|
8846
|
+
* @memberof HostingCacheApi
|
|
8847
|
+
*/
|
|
8848
|
+
enableWebsiteCacheV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
8849
|
+
}
|
|
8635
8850
|
/**
|
|
8636
8851
|
* HostingCronJobsApi - axios parameter creator
|
|
8637
8852
|
* @export
|
|
@@ -10754,7 +10969,7 @@ export declare const VPSActionsApiFp: (configuration?: Configuration) => {
|
|
|
10754
10969
|
* @param {*} [options] Override http request option.
|
|
10755
10970
|
* @throws {RequiredError}
|
|
10756
10971
|
*/
|
|
10757
|
-
getActionsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
10972
|
+
getActionsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionListResponse>>;
|
|
10758
10973
|
};
|
|
10759
10974
|
/**
|
|
10760
10975
|
* VPSActionsApi - factory interface
|
|
@@ -10778,7 +10993,7 @@ export declare const VPSActionsApiFactory: (configuration?: Configuration, baseP
|
|
|
10778
10993
|
* @param {*} [options] Override http request option.
|
|
10779
10994
|
* @throws {RequiredError}
|
|
10780
10995
|
*/
|
|
10781
|
-
getActionsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
10996
|
+
getActionsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionListResponse>;
|
|
10782
10997
|
};
|
|
10783
10998
|
/**
|
|
10784
10999
|
* VPSActionsApi - object-oriented interface
|
|
@@ -10806,7 +11021,7 @@ export declare class VPSActionsApi extends BaseAPI {
|
|
|
10806
11021
|
* @throws {RequiredError}
|
|
10807
11022
|
* @memberof VPSActionsApi
|
|
10808
11023
|
*/
|
|
10809
|
-
getActionsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
11024
|
+
getActionsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionListResponse, any, {}>>;
|
|
10810
11025
|
}
|
|
10811
11026
|
/**
|
|
10812
11027
|
* VPSBackupsApi - axios parameter creator
|
|
@@ -10845,7 +11060,7 @@ export declare const VPSBackupsApiFp: (configuration?: Configuration) => {
|
|
|
10845
11060
|
* @param {*} [options] Override http request option.
|
|
10846
11061
|
* @throws {RequiredError}
|
|
10847
11062
|
*/
|
|
10848
|
-
getBackupsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
11063
|
+
getBackupsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1BackupListResponse>>;
|
|
10849
11064
|
/**
|
|
10850
11065
|
* Restore a backup for a specified virtual machine. The system will then initiate the restore process, which may take some time depending on the size of the backup. **All data on the virtual machine will be overwritten with the data from the backup.** Use this endpoint to recover VPS data from backup points.
|
|
10851
11066
|
* @summary Restore backup
|
|
@@ -10869,7 +11084,7 @@ export declare const VPSBackupsApiFactory: (configuration?: Configuration, baseP
|
|
|
10869
11084
|
* @param {*} [options] Override http request option.
|
|
10870
11085
|
* @throws {RequiredError}
|
|
10871
11086
|
*/
|
|
10872
|
-
getBackupsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
11087
|
+
getBackupsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1BackupListResponse>;
|
|
10873
11088
|
/**
|
|
10874
11089
|
* Restore a backup for a specified virtual machine. The system will then initiate the restore process, which may take some time depending on the size of the backup. **All data on the virtual machine will be overwritten with the data from the backup.** Use this endpoint to recover VPS data from backup points.
|
|
10875
11090
|
* @summary Restore backup
|
|
@@ -10896,7 +11111,7 @@ export declare class VPSBackupsApi extends BaseAPI {
|
|
|
10896
11111
|
* @throws {RequiredError}
|
|
10897
11112
|
* @memberof VPSBackupsApi
|
|
10898
11113
|
*/
|
|
10899
|
-
getBackupsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
11114
|
+
getBackupsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1BackupListResponse, any, {}>>;
|
|
10900
11115
|
/**
|
|
10901
11116
|
* Restore a backup for a specified virtual machine. The system will then initiate the restore process, which may take some time depending on the size of the backup. **All data on the virtual machine will be overwritten with the data from the backup.** Use this endpoint to recover VPS data from backup points.
|
|
10902
11117
|
* @summary Restore backup
|
|
@@ -11520,7 +11735,7 @@ export declare const VPSFirewallApiFp: (configuration?: Configuration) => {
|
|
|
11520
11735
|
* @param {*} [options] Override http request option.
|
|
11521
11736
|
* @throws {RequiredError}
|
|
11522
11737
|
*/
|
|
11523
|
-
getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
11738
|
+
getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1FirewallListResponse>>;
|
|
11524
11739
|
/**
|
|
11525
11740
|
* Sync a firewall for a specified virtual machine. Firewall can lose sync with virtual machine if the firewall has new rules added, removed or updated. Use this endpoint to apply updated firewall rules to VPS instances.
|
|
11526
11741
|
* @summary Sync firewall
|
|
@@ -11613,7 +11828,7 @@ export declare const VPSFirewallApiFactory: (configuration?: Configuration, base
|
|
|
11613
11828
|
* @param {*} [options] Override http request option.
|
|
11614
11829
|
* @throws {RequiredError}
|
|
11615
11830
|
*/
|
|
11616
|
-
getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
11831
|
+
getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1FirewallListResponse>;
|
|
11617
11832
|
/**
|
|
11618
11833
|
* Sync a firewall for a specified virtual machine. Firewall can lose sync with virtual machine if the firewall has new rules added, removed or updated. Use this endpoint to apply updated firewall rules to VPS instances.
|
|
11619
11834
|
* @summary Sync firewall
|
|
@@ -11716,7 +11931,7 @@ export declare class VPSFirewallApi extends BaseAPI {
|
|
|
11716
11931
|
* @throws {RequiredError}
|
|
11717
11932
|
* @memberof VPSFirewallApi
|
|
11718
11933
|
*/
|
|
11719
|
-
getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
11934
|
+
getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1FirewallListResponse, any, {}>>;
|
|
11720
11935
|
/**
|
|
11721
11936
|
* Sync a firewall for a specified virtual machine. Firewall can lose sync with virtual machine if the firewall has new rules added, removed or updated. Use this endpoint to apply updated firewall rules to VPS instances.
|
|
11722
11937
|
* @summary Sync firewall
|
|
@@ -12139,7 +12354,7 @@ export declare const VPSPostInstallScriptsApiFp: (configuration?: Configuration)
|
|
|
12139
12354
|
* @param {*} [options] Override http request option.
|
|
12140
12355
|
* @throws {RequiredError}
|
|
12141
12356
|
*/
|
|
12142
|
-
getPostInstallScriptsV1(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
12357
|
+
getPostInstallScriptsV1(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1PostInstallScriptListResponse>>;
|
|
12143
12358
|
/**
|
|
12144
12359
|
* Update a specific post-install script. Use this endpoint to modify existing automation scripts.
|
|
12145
12360
|
* @summary Update post-install script
|
|
@@ -12186,7 +12401,7 @@ export declare const VPSPostInstallScriptsApiFactory: (configuration?: Configura
|
|
|
12186
12401
|
* @param {*} [options] Override http request option.
|
|
12187
12402
|
* @throws {RequiredError}
|
|
12188
12403
|
*/
|
|
12189
|
-
getPostInstallScriptsV1(page?: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
12404
|
+
getPostInstallScriptsV1(page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1PostInstallScriptListResponse>;
|
|
12190
12405
|
/**
|
|
12191
12406
|
* Update a specific post-install script. Use this endpoint to modify existing automation scripts.
|
|
12192
12407
|
* @summary Update post-install script
|
|
@@ -12239,7 +12454,7 @@ export declare class VPSPostInstallScriptsApi extends BaseAPI {
|
|
|
12239
12454
|
* @throws {RequiredError}
|
|
12240
12455
|
* @memberof VPSPostInstallScriptsApi
|
|
12241
12456
|
*/
|
|
12242
|
-
getPostInstallScriptsV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
12457
|
+
getPostInstallScriptsV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PostInstallScriptListResponse, any, {}>>;
|
|
12243
12458
|
/**
|
|
12244
12459
|
* Update a specific post-install script. Use this endpoint to modify existing automation scripts.
|
|
12245
12460
|
* @summary Update post-install script
|
|
@@ -12327,7 +12542,7 @@ export declare const VPSPublicKeysApiFp: (configuration?: Configuration) => {
|
|
|
12327
12542
|
* @param {*} [options] Override http request option.
|
|
12328
12543
|
* @throws {RequiredError}
|
|
12329
12544
|
*/
|
|
12330
|
-
getPublicKeysV1(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
12545
|
+
getPublicKeysV1(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1PublicKeyListResponse>>;
|
|
12331
12546
|
};
|
|
12332
12547
|
/**
|
|
12333
12548
|
* VPSPublicKeysApi - factory interface
|
|
@@ -12366,7 +12581,7 @@ export declare const VPSPublicKeysApiFactory: (configuration?: Configuration, ba
|
|
|
12366
12581
|
* @param {*} [options] Override http request option.
|
|
12367
12582
|
* @throws {RequiredError}
|
|
12368
12583
|
*/
|
|
12369
|
-
getPublicKeysV1(page?: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
12584
|
+
getPublicKeysV1(page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1PublicKeyListResponse>;
|
|
12370
12585
|
};
|
|
12371
12586
|
/**
|
|
12372
12587
|
* VPSPublicKeysApi - object-oriented interface
|
|
@@ -12411,7 +12626,7 @@ export declare class VPSPublicKeysApi extends BaseAPI {
|
|
|
12411
12626
|
* @throws {RequiredError}
|
|
12412
12627
|
* @memberof VPSPublicKeysApi
|
|
12413
12628
|
*/
|
|
12414
|
-
getPublicKeysV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
12629
|
+
getPublicKeysV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PublicKeyListResponse, any, {}>>;
|
|
12415
12630
|
}
|
|
12416
12631
|
/**
|
|
12417
12632
|
* VPSRecoveryApi - axios parameter creator
|
|
@@ -12814,7 +13029,7 @@ export declare const VPSVirtualMachineApiFp: (configuration?: Configuration) =>
|
|
|
12814
13029
|
* @param {*} [options] Override http request option.
|
|
12815
13030
|
* @throws {RequiredError}
|
|
12816
13031
|
*/
|
|
12817
|
-
getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
13032
|
+
getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1PublicKeyListResponse>>;
|
|
12818
13033
|
/**
|
|
12819
13034
|
* 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.
|
|
12820
13035
|
* @summary Get metrics
|
|
@@ -12948,7 +13163,7 @@ export declare const VPSVirtualMachineApiFactory: (configuration?: Configuration
|
|
|
12948
13163
|
* @param {*} [options] Override http request option.
|
|
12949
13164
|
* @throws {RequiredError}
|
|
12950
13165
|
*/
|
|
12951
|
-
getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
13166
|
+
getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1PublicKeyListResponse>;
|
|
12952
13167
|
/**
|
|
12953
13168
|
* 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.
|
|
12954
13169
|
* @summary Get metrics
|
|
@@ -13085,7 +13300,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
13085
13300
|
* @throws {RequiredError}
|
|
13086
13301
|
* @memberof VPSVirtualMachineApi
|
|
13087
13302
|
*/
|
|
13088
|
-
getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
13303
|
+
getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PublicKeyListResponse, any, {}>>;
|
|
13089
13304
|
/**
|
|
13090
13305
|
* 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.
|
|
13091
13306
|
* @summary Get metrics
|