hostinger-api-sdk 2.16.1 → 3.0.1
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 +131 -89
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +122 -81
- package/dist/api.js +55 -86
- 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 +122 -81
- package/dist/esm/api.js +43 -74
- 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/GPUCatalogApi.md +5 -10
- package/docs/GPUExposedServicesApi.md +3 -0
- package/docs/GPUInstancesApi.md +3 -0
- package/docs/GPUV1InstanceInstanceListResource.md +2 -0
- package/docs/GPUV1InstanceInstanceResource.md +4 -0
- package/docs/GPUV1LlmModelVariantLlmModelVariantResource.md +30 -0
- package/docs/GPUV1OsTemplateOsTemplateResource.md +0 -2
- package/docs/GPUV1PoolPoolGroupResource.md +5 -1
- package/docs/GPUV1PoolPoolInstanceResource.md +1 -1
- package/docs/VPSV1VirtualMachinePanelPasswordUpdateRequest.md +1 -1
- package/docs/VPSV1VirtualMachineRecreateRequest.md +2 -2
- package/docs/VPSV1VirtualMachineRootPasswordUpdateRequest.md +1 -1
- package/docs/VPSV1VirtualMachineSetupRequest.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version:
|
|
4
|
+
* API Version: 3.0.1
|
|
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
|
|
@@ -6997,6 +6997,12 @@ export interface GPUV1InstanceInstanceListResource {
|
|
|
6997
6997
|
* @memberof GPUV1InstanceInstanceListResource
|
|
6998
6998
|
*/
|
|
6999
6999
|
'action_lock': GPUV1InstanceInstanceListResourceActionLockEnum;
|
|
7000
|
+
/**
|
|
7001
|
+
* Action in progress on the instance, `null` when unlocked
|
|
7002
|
+
* @type {string}
|
|
7003
|
+
* @memberof GPUV1InstanceInstanceListResource
|
|
7004
|
+
*/
|
|
7005
|
+
'action_lock_reason': GPUV1InstanceInstanceListResourceActionLockReasonEnum | null;
|
|
7000
7006
|
/**
|
|
7001
7007
|
*
|
|
7002
7008
|
* @type {GPUV1PoolPoolResource}
|
|
@@ -7033,6 +7039,17 @@ export declare const GPUV1InstanceInstanceListResourceActionLockEnum: {
|
|
|
7033
7039
|
readonly Locked: "locked";
|
|
7034
7040
|
};
|
|
7035
7041
|
export type GPUV1InstanceInstanceListResourceActionLockEnum = typeof GPUV1InstanceInstanceListResourceActionLockEnum[keyof typeof GPUV1InstanceInstanceListResourceActionLockEnum];
|
|
7042
|
+
export declare const GPUV1InstanceInstanceListResourceActionLockReasonEnum: {
|
|
7043
|
+
readonly Creating: "creating";
|
|
7044
|
+
readonly Booting: "booting";
|
|
7045
|
+
readonly InstallingTemplate: "installing_template";
|
|
7046
|
+
readonly ExposingService: "exposing_service";
|
|
7047
|
+
readonly ConcealingService: "concealing_service";
|
|
7048
|
+
readonly Restarting: "restarting";
|
|
7049
|
+
readonly Destroying: "destroying";
|
|
7050
|
+
readonly Renaming: "renaming";
|
|
7051
|
+
};
|
|
7052
|
+
export type GPUV1InstanceInstanceListResourceActionLockReasonEnum = typeof GPUV1InstanceInstanceListResourceActionLockReasonEnum[keyof typeof GPUV1InstanceInstanceListResourceActionLockReasonEnum];
|
|
7036
7053
|
/**
|
|
7037
7054
|
*
|
|
7038
7055
|
* @export
|
|
@@ -7063,6 +7080,12 @@ export interface GPUV1InstanceInstanceResource {
|
|
|
7063
7080
|
* @memberof GPUV1InstanceInstanceResource
|
|
7064
7081
|
*/
|
|
7065
7082
|
'action_lock': GPUV1InstanceInstanceResourceActionLockEnum;
|
|
7083
|
+
/**
|
|
7084
|
+
* Action in progress on the instance, `null` when unlocked
|
|
7085
|
+
* @type {string}
|
|
7086
|
+
* @memberof GPUV1InstanceInstanceResource
|
|
7087
|
+
*/
|
|
7088
|
+
'action_lock_reason': GPUV1InstanceInstanceResourceActionLockReasonEnum | null;
|
|
7066
7089
|
/**
|
|
7067
7090
|
*
|
|
7068
7091
|
* @type {GPUV1PoolPoolResource}
|
|
@@ -7081,6 +7104,12 @@ export interface GPUV1InstanceInstanceResource {
|
|
|
7081
7104
|
* @memberof GPUV1InstanceInstanceResource
|
|
7082
7105
|
*/
|
|
7083
7106
|
'os_template': GPUV1OsTemplateOsTemplateResource;
|
|
7107
|
+
/**
|
|
7108
|
+
*
|
|
7109
|
+
* @type {GPUV1LlmModelVariantLlmModelVariantResource}
|
|
7110
|
+
* @memberof GPUV1InstanceInstanceResource
|
|
7111
|
+
*/
|
|
7112
|
+
'llm_model_variant': GPUV1LlmModelVariantLlmModelVariantResource | null;
|
|
7084
7113
|
/**
|
|
7085
7114
|
* Array of [`GPU.V1.SshKey.SshKeyResource`](#model/gpuv1sshkeysshkeyresource)
|
|
7086
7115
|
* @type {Array<GPUV1SshKeySshKeyResource>}
|
|
@@ -7105,6 +7134,17 @@ export declare const GPUV1InstanceInstanceResourceActionLockEnum: {
|
|
|
7105
7134
|
readonly Locked: "locked";
|
|
7106
7135
|
};
|
|
7107
7136
|
export type GPUV1InstanceInstanceResourceActionLockEnum = typeof GPUV1InstanceInstanceResourceActionLockEnum[keyof typeof GPUV1InstanceInstanceResourceActionLockEnum];
|
|
7137
|
+
export declare const GPUV1InstanceInstanceResourceActionLockReasonEnum: {
|
|
7138
|
+
readonly Creating: "creating";
|
|
7139
|
+
readonly Booting: "booting";
|
|
7140
|
+
readonly InstallingTemplate: "installing_template";
|
|
7141
|
+
readonly ExposingService: "exposing_service";
|
|
7142
|
+
readonly ConcealingService: "concealing_service";
|
|
7143
|
+
readonly Restarting: "restarting";
|
|
7144
|
+
readonly Destroying: "destroying";
|
|
7145
|
+
readonly Renaming: "renaming";
|
|
7146
|
+
};
|
|
7147
|
+
export type GPUV1InstanceInstanceResourceActionLockReasonEnum = typeof GPUV1InstanceInstanceResourceActionLockReasonEnum[keyof typeof GPUV1InstanceInstanceResourceActionLockReasonEnum];
|
|
7108
7148
|
/**
|
|
7109
7149
|
*
|
|
7110
7150
|
* @export
|
|
@@ -7136,6 +7176,58 @@ export interface GPUV1InstanceStoreRequest {
|
|
|
7136
7176
|
*/
|
|
7137
7177
|
'public_keys': Array<string>;
|
|
7138
7178
|
}
|
|
7179
|
+
/**
|
|
7180
|
+
*
|
|
7181
|
+
* @export
|
|
7182
|
+
* @interface GPUV1LlmModelVariantLlmModelVariantResource
|
|
7183
|
+
*/
|
|
7184
|
+
export interface GPUV1LlmModelVariantLlmModelVariantResource {
|
|
7185
|
+
/**
|
|
7186
|
+
* LLM model variant ID
|
|
7187
|
+
* @type {number}
|
|
7188
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7189
|
+
*/
|
|
7190
|
+
'id': number;
|
|
7191
|
+
/**
|
|
7192
|
+
*
|
|
7193
|
+
* @type {string}
|
|
7194
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7195
|
+
*/
|
|
7196
|
+
'model_tag': string;
|
|
7197
|
+
/**
|
|
7198
|
+
*
|
|
7199
|
+
* @type {number}
|
|
7200
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7201
|
+
*/
|
|
7202
|
+
'parameter_count': number;
|
|
7203
|
+
/**
|
|
7204
|
+
*
|
|
7205
|
+
* @type {Array<string>}
|
|
7206
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7207
|
+
*/
|
|
7208
|
+
'capabilities': Array<GPUV1LlmModelVariantLlmModelVariantResourceCapabilitiesEnum>;
|
|
7209
|
+
/**
|
|
7210
|
+
* Dark theme icon image ID
|
|
7211
|
+
* @type {string}
|
|
7212
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7213
|
+
*/
|
|
7214
|
+
'dark_image_id': string | null;
|
|
7215
|
+
/**
|
|
7216
|
+
* Light theme icon image ID
|
|
7217
|
+
* @type {string}
|
|
7218
|
+
* @memberof GPUV1LlmModelVariantLlmModelVariantResource
|
|
7219
|
+
*/
|
|
7220
|
+
'light_image_id': string | null;
|
|
7221
|
+
}
|
|
7222
|
+
export declare const GPUV1LlmModelVariantLlmModelVariantResourceCapabilitiesEnum: {
|
|
7223
|
+
readonly Tools: "tools";
|
|
7224
|
+
readonly Thinking: "thinking";
|
|
7225
|
+
readonly Vision: "vision";
|
|
7226
|
+
readonly Sound: "sound";
|
|
7227
|
+
readonly Embedding: "embedding";
|
|
7228
|
+
readonly Decision: "decision";
|
|
7229
|
+
};
|
|
7230
|
+
export type GPUV1LlmModelVariantLlmModelVariantResourceCapabilitiesEnum = typeof GPUV1LlmModelVariantLlmModelVariantResourceCapabilitiesEnum[keyof typeof GPUV1LlmModelVariantLlmModelVariantResourceCapabilitiesEnum];
|
|
7139
7231
|
/**
|
|
7140
7232
|
*
|
|
7141
7233
|
* @export
|
|
@@ -7203,12 +7295,6 @@ export interface GPUV1OsTemplateOsTemplateResource {
|
|
|
7203
7295
|
* @memberof GPUV1OsTemplateOsTemplateResource
|
|
7204
7296
|
*/
|
|
7205
7297
|
'kb_url': string;
|
|
7206
|
-
/**
|
|
7207
|
-
* Icon image ID
|
|
7208
|
-
* @type {string}
|
|
7209
|
-
* @memberof GPUV1OsTemplateOsTemplateResource
|
|
7210
|
-
*/
|
|
7211
|
-
'image': string | null;
|
|
7212
7298
|
/**
|
|
7213
7299
|
* Dark theme icon image ID
|
|
7214
7300
|
* @type {string}
|
|
@@ -7240,6 +7326,18 @@ export interface GPUV1PoolPoolGroupResource {
|
|
|
7240
7326
|
* @memberof GPUV1PoolPoolGroupResource
|
|
7241
7327
|
*/
|
|
7242
7328
|
'name': string;
|
|
7329
|
+
/**
|
|
7330
|
+
*
|
|
7331
|
+
* @type {string}
|
|
7332
|
+
* @memberof GPUV1PoolPoolGroupResource
|
|
7333
|
+
*/
|
|
7334
|
+
'description': string | null;
|
|
7335
|
+
/**
|
|
7336
|
+
*
|
|
7337
|
+
* @type {string}
|
|
7338
|
+
* @memberof GPUV1PoolPoolGroupResource
|
|
7339
|
+
*/
|
|
7340
|
+
'feature': string | null;
|
|
7243
7341
|
/**
|
|
7244
7342
|
* Total VRAM in bytes
|
|
7245
7343
|
* @type {number}
|
|
@@ -7253,7 +7351,7 @@ export interface GPUV1PoolPoolGroupResource {
|
|
|
7253
7351
|
*/
|
|
7254
7352
|
'is_available': boolean;
|
|
7255
7353
|
/**
|
|
7256
|
-
* Lowest hourly price of the group instance types, in
|
|
7354
|
+
* Lowest hourly price of the group instance types, in credits
|
|
7257
7355
|
* @type {number}
|
|
7258
7356
|
* @memberof GPUV1PoolPoolGroupResource
|
|
7259
7357
|
*/
|
|
@@ -7308,7 +7406,7 @@ export interface GPUV1PoolPoolInstanceResource {
|
|
|
7308
7406
|
*/
|
|
7309
7407
|
'storage': number;
|
|
7310
7408
|
/**
|
|
7311
|
-
* Hourly price in
|
|
7409
|
+
* Hourly price in credits
|
|
7312
7410
|
* @type {number}
|
|
7313
7411
|
* @memberof GPUV1PoolPoolInstanceResource
|
|
7314
7412
|
*/
|
|
@@ -16839,6 +16937,8 @@ export declare const VPSV1ActionActionResourceStateEnum: {
|
|
|
16839
16937
|
readonly Delayed: "delayed";
|
|
16840
16938
|
readonly Sent: "sent";
|
|
16841
16939
|
readonly Created: "created";
|
|
16940
|
+
readonly Started: "started";
|
|
16941
|
+
readonly Cancelled: "cancelled";
|
|
16842
16942
|
};
|
|
16843
16943
|
export type VPSV1ActionActionResourceStateEnum = typeof VPSV1ActionActionResourceStateEnum[keyof typeof VPSV1ActionActionResourceStateEnum];
|
|
16844
16944
|
/**
|
|
@@ -17961,7 +18061,7 @@ export interface VPSV1VirtualMachinePTRStoreRequest {
|
|
|
17961
18061
|
*/
|
|
17962
18062
|
export interface VPSV1VirtualMachinePanelPasswordUpdateRequest {
|
|
17963
18063
|
/**
|
|
17964
|
-
* Panel password for the virtual machine
|
|
18064
|
+
* Panel password for the virtual machine. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of #%+:?@ (no other symbols). Known compromised passwords are rejected.
|
|
17965
18065
|
* @type {string}
|
|
17966
18066
|
* @memberof VPSV1VirtualMachinePanelPasswordUpdateRequest
|
|
17967
18067
|
*/
|
|
@@ -18024,13 +18124,13 @@ export interface VPSV1VirtualMachineRecreateRequest {
|
|
|
18024
18124
|
*/
|
|
18025
18125
|
'template_id': number;
|
|
18026
18126
|
/**
|
|
18027
|
-
* Root password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response.
|
|
18127
|
+
* Root password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of -().&@?\'#;/,+ (no other symbols). Known compromised passwords are rejected.
|
|
18028
18128
|
* @type {string}
|
|
18029
18129
|
* @memberof VPSV1VirtualMachineRecreateRequest
|
|
18030
18130
|
*/
|
|
18031
18131
|
'password': string;
|
|
18032
18132
|
/**
|
|
18033
|
-
* Panel password for the panel-based OS template. If not provided, random password will be generated. If OS does not support panel_password this field will be ignored. Password will not be shown in the response.
|
|
18133
|
+
* Panel password for the panel-based OS template. If not provided, random password will be generated. If OS does not support panel_password this field will be ignored. Password will not be shown in the response. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of #%+:?@ (no other symbols). Known compromised passwords are rejected.
|
|
18034
18134
|
* @type {string}
|
|
18035
18135
|
* @memberof VPSV1VirtualMachineRecreateRequest
|
|
18036
18136
|
*/
|
|
@@ -18049,7 +18149,7 @@ export interface VPSV1VirtualMachineRecreateRequest {
|
|
|
18049
18149
|
*/
|
|
18050
18150
|
export interface VPSV1VirtualMachineRootPasswordUpdateRequest {
|
|
18051
18151
|
/**
|
|
18052
|
-
* Root password for the virtual machine
|
|
18152
|
+
* Root password for the virtual machine. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of -().&@?\'#;/,+ (no other symbols). Known compromised passwords are rejected.
|
|
18053
18153
|
* @type {string}
|
|
18054
18154
|
* @memberof VPSV1VirtualMachineRootPasswordUpdateRequest
|
|
18055
18155
|
*/
|
|
@@ -18080,7 +18180,7 @@ export interface VPSV1VirtualMachineSetupRequest {
|
|
|
18080
18180
|
*/
|
|
18081
18181
|
'post_install_script_id': number;
|
|
18082
18182
|
/**
|
|
18083
|
-
* Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response.
|
|
18183
|
+
* Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. Used as both the root and the panel password, so it must pass both rules: 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of # + ? @ (no other symbols). Known compromised passwords are rejected.
|
|
18084
18184
|
* @type {string}
|
|
18085
18185
|
* @memberof VPSV1VirtualMachineSetupRequest
|
|
18086
18186
|
*/
|
|
@@ -25474,13 +25574,12 @@ export declare class EcommerceStoresApi extends BaseAPI {
|
|
|
25474
25574
|
*/
|
|
25475
25575
|
export declare const GPUCatalogApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25476
25576
|
/**
|
|
25477
|
-
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
25577
|
+
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price, in credits, among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
25478
25578
|
* @summary Get pool groups
|
|
25479
|
-
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
25480
25579
|
* @param {*} [options] Override http request option.
|
|
25481
25580
|
* @throws {RequiredError}
|
|
25482
25581
|
*/
|
|
25483
|
-
getPoolGroupsV1: (
|
|
25582
|
+
getPoolGroupsV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25484
25583
|
/**
|
|
25485
25584
|
* Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
|
|
25486
25585
|
* @summary Get pool instance types
|
|
@@ -25512,13 +25611,12 @@ export declare const GPUCatalogApiAxiosParamCreator: (configuration?: Configurat
|
|
|
25512
25611
|
*/
|
|
25513
25612
|
export declare const GPUCatalogApiFp: (configuration?: Configuration) => {
|
|
25514
25613
|
/**
|
|
25515
|
-
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
25614
|
+
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price, in credits, among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
25516
25615
|
* @summary Get pool groups
|
|
25517
|
-
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
25518
25616
|
* @param {*} [options] Override http request option.
|
|
25519
25617
|
* @throws {RequiredError}
|
|
25520
25618
|
*/
|
|
25521
|
-
getPoolGroupsV1(
|
|
25619
|
+
getPoolGroupsV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GPUV1PoolPoolGroupResource>>>;
|
|
25522
25620
|
/**
|
|
25523
25621
|
* Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
|
|
25524
25622
|
* @summary Get pool instance types
|
|
@@ -25550,13 +25648,12 @@ export declare const GPUCatalogApiFp: (configuration?: Configuration) => {
|
|
|
25550
25648
|
*/
|
|
25551
25649
|
export declare const GPUCatalogApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25552
25650
|
/**
|
|
25553
|
-
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
25651
|
+
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price, in credits, among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
25554
25652
|
* @summary Get pool groups
|
|
25555
|
-
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
25556
25653
|
* @param {*} [options] Override http request option.
|
|
25557
25654
|
* @throws {RequiredError}
|
|
25558
25655
|
*/
|
|
25559
|
-
getPoolGroupsV1(
|
|
25656
|
+
getPoolGroupsV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<GPUV1PoolPoolGroupResource>>;
|
|
25560
25657
|
/**
|
|
25561
25658
|
* Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
|
|
25562
25659
|
* @summary Get pool instance types
|
|
@@ -25590,14 +25687,13 @@ export declare const GPUCatalogApiFactory: (configuration?: Configuration, baseP
|
|
|
25590
25687
|
*/
|
|
25591
25688
|
export declare class GPUCatalogApi extends BaseAPI {
|
|
25592
25689
|
/**
|
|
25593
|
-
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
25690
|
+
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price, in credits, among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
25594
25691
|
* @summary Get pool groups
|
|
25595
|
-
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
25596
25692
|
* @param {*} [options] Override http request option.
|
|
25597
25693
|
* @throws {RequiredError}
|
|
25598
25694
|
* @memberof GPUCatalogApi
|
|
25599
25695
|
*/
|
|
25600
|
-
getPoolGroupsV1(
|
|
25696
|
+
getPoolGroupsV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GPUV1PoolPoolGroupResource[], any, {}, any>>;
|
|
25601
25697
|
/**
|
|
25602
25698
|
* Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
|
|
25603
25699
|
* @summary Get pool instance types
|
|
@@ -25626,61 +25722,6 @@ export declare class GPUCatalogApi extends BaseAPI {
|
|
|
25626
25722
|
*/
|
|
25627
25723
|
getPoolOSTemplatesV1(poolId: number, poolInstanceId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GPUV1OsTemplateOsTemplateResource[], any, {}, any>>;
|
|
25628
25724
|
}
|
|
25629
|
-
/**
|
|
25630
|
-
* @export
|
|
25631
|
-
*/
|
|
25632
|
-
export declare const GetPoolGroupsV1CurrencyEnum: {
|
|
25633
|
-
readonly Usd: "USD";
|
|
25634
|
-
readonly Ars: "ARS";
|
|
25635
|
-
readonly Amd: "AMD";
|
|
25636
|
-
readonly Aud: "AUD";
|
|
25637
|
-
readonly Azn: "AZN";
|
|
25638
|
-
readonly Bdt: "BDT";
|
|
25639
|
-
readonly Brl: "BRL";
|
|
25640
|
-
readonly Btc: "BTC";
|
|
25641
|
-
readonly Byn: "BYN";
|
|
25642
|
-
readonly Cad: "CAD";
|
|
25643
|
-
readonly Chf: "CHF";
|
|
25644
|
-
readonly Clp: "CLP";
|
|
25645
|
-
readonly Cny: "CNY";
|
|
25646
|
-
readonly Cop: "COP";
|
|
25647
|
-
readonly Czk: "CZK";
|
|
25648
|
-
readonly Dkk: "DKK";
|
|
25649
|
-
readonly Egp: "EGP";
|
|
25650
|
-
readonly Eur: "EUR";
|
|
25651
|
-
readonly Gbp: "GBP";
|
|
25652
|
-
readonly Gel: "GEL";
|
|
25653
|
-
readonly Hkd: "HKD";
|
|
25654
|
-
readonly Hrk: "HRK";
|
|
25655
|
-
readonly Huf: "HUF";
|
|
25656
|
-
readonly Idr: "IDR";
|
|
25657
|
-
readonly Ils: "ILS";
|
|
25658
|
-
readonly Inr: "INR";
|
|
25659
|
-
readonly Jpy: "JPY";
|
|
25660
|
-
readonly Kgs: "KGS";
|
|
25661
|
-
readonly Krw: "KRW";
|
|
25662
|
-
readonly Kzt: "KZT";
|
|
25663
|
-
readonly Mad: "MAD";
|
|
25664
|
-
readonly Mxn: "MXN";
|
|
25665
|
-
readonly Myr: "MYR";
|
|
25666
|
-
readonly Ngn: "NGN";
|
|
25667
|
-
readonly Nok: "NOK";
|
|
25668
|
-
readonly Nzd: "NZD";
|
|
25669
|
-
readonly Pen: "PEN";
|
|
25670
|
-
readonly Php: "PHP";
|
|
25671
|
-
readonly Pkr: "PKR";
|
|
25672
|
-
readonly Pln: "PLN";
|
|
25673
|
-
readonly Sek: "SEK";
|
|
25674
|
-
readonly Sgd: "SGD";
|
|
25675
|
-
readonly Thb: "THB";
|
|
25676
|
-
readonly Tjs: "TJS";
|
|
25677
|
-
readonly Try: "TRY";
|
|
25678
|
-
readonly Twd: "TWD";
|
|
25679
|
-
readonly Uah: "UAH";
|
|
25680
|
-
readonly Vnd: "VND";
|
|
25681
|
-
readonly Zar: "ZAR";
|
|
25682
|
-
};
|
|
25683
|
-
export type GetPoolGroupsV1CurrencyEnum = typeof GetPoolGroupsV1CurrencyEnum[keyof typeof GetPoolGroupsV1CurrencyEnum];
|
|
25684
25725
|
/**
|
|
25685
25726
|
* GPUExposedServicesApi - axios parameter creator
|
|
25686
25727
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version:
|
|
6
|
+
* API Version: 3.0.1
|
|
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
|
|
@@ -344,6 +344,16 @@ export const GPUV1InstanceInstanceListResourceActionLockEnum = {
|
|
|
344
344
|
Unlocked: 'unlocked',
|
|
345
345
|
Locked: 'locked'
|
|
346
346
|
};
|
|
347
|
+
export const GPUV1InstanceInstanceListResourceActionLockReasonEnum = {
|
|
348
|
+
Creating: 'creating',
|
|
349
|
+
Booting: 'booting',
|
|
350
|
+
InstallingTemplate: 'installing_template',
|
|
351
|
+
ExposingService: 'exposing_service',
|
|
352
|
+
ConcealingService: 'concealing_service',
|
|
353
|
+
Restarting: 'restarting',
|
|
354
|
+
Destroying: 'destroying',
|
|
355
|
+
Renaming: 'renaming'
|
|
356
|
+
};
|
|
347
357
|
export const GPUV1InstanceInstanceResourceStatusEnum = {
|
|
348
358
|
Created: 'created',
|
|
349
359
|
Creating: 'creating',
|
|
@@ -359,6 +369,24 @@ export const GPUV1InstanceInstanceResourceActionLockEnum = {
|
|
|
359
369
|
Unlocked: 'unlocked',
|
|
360
370
|
Locked: 'locked'
|
|
361
371
|
};
|
|
372
|
+
export const GPUV1InstanceInstanceResourceActionLockReasonEnum = {
|
|
373
|
+
Creating: 'creating',
|
|
374
|
+
Booting: 'booting',
|
|
375
|
+
InstallingTemplate: 'installing_template',
|
|
376
|
+
ExposingService: 'exposing_service',
|
|
377
|
+
ConcealingService: 'concealing_service',
|
|
378
|
+
Restarting: 'restarting',
|
|
379
|
+
Destroying: 'destroying',
|
|
380
|
+
Renaming: 'renaming'
|
|
381
|
+
};
|
|
382
|
+
export const GPUV1LlmModelVariantLlmModelVariantResourceCapabilitiesEnum = {
|
|
383
|
+
Tools: 'tools',
|
|
384
|
+
Thinking: 'thinking',
|
|
385
|
+
Vision: 'vision',
|
|
386
|
+
Sound: 'sound',
|
|
387
|
+
Embedding: 'embedding',
|
|
388
|
+
Decision: 'decision'
|
|
389
|
+
};
|
|
362
390
|
export const HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum = {
|
|
363
391
|
Text: 'text'
|
|
364
392
|
};
|
|
@@ -1168,7 +1196,9 @@ export const VPSV1ActionActionResourceStateEnum = {
|
|
|
1168
1196
|
Error: 'error',
|
|
1169
1197
|
Delayed: 'delayed',
|
|
1170
1198
|
Sent: 'sent',
|
|
1171
|
-
Created: 'created'
|
|
1199
|
+
Created: 'created',
|
|
1200
|
+
Started: 'started',
|
|
1201
|
+
Cancelled: 'cancelled'
|
|
1172
1202
|
};
|
|
1173
1203
|
export const VPSV1DockerManagerContainerPortResourceTypeEnum = {
|
|
1174
1204
|
Published: 'published',
|
|
@@ -12299,13 +12329,12 @@ export class EcommerceStoresApi extends BaseAPI {
|
|
|
12299
12329
|
export const GPUCatalogApiAxiosParamCreator = function (configuration) {
|
|
12300
12330
|
return {
|
|
12301
12331
|
/**
|
|
12302
|
-
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
12332
|
+
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price, in credits, among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
12303
12333
|
* @summary Get pool groups
|
|
12304
|
-
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
12305
12334
|
* @param {*} [options] Override http request option.
|
|
12306
12335
|
* @throws {RequiredError}
|
|
12307
12336
|
*/
|
|
12308
|
-
getPoolGroupsV1: (
|
|
12337
|
+
getPoolGroupsV1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
12309
12338
|
const localVarPath = `/api/gpu/v1/pools/groups`;
|
|
12310
12339
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12311
12340
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12319,9 +12348,6 @@ export const GPUCatalogApiAxiosParamCreator = function (configuration) {
|
|
|
12319
12348
|
// authentication apiToken required
|
|
12320
12349
|
// http bearer authentication required
|
|
12321
12350
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
12322
|
-
if (currency !== undefined) {
|
|
12323
|
-
localVarQueryParameter['currency'] = currency;
|
|
12324
|
-
}
|
|
12325
12351
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12326
12352
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12327
12353
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -12436,16 +12462,15 @@ export const GPUCatalogApiFp = function (configuration) {
|
|
|
12436
12462
|
const localVarAxiosParamCreator = GPUCatalogApiAxiosParamCreator(configuration);
|
|
12437
12463
|
return {
|
|
12438
12464
|
/**
|
|
12439
|
-
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
12465
|
+
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price, in credits, among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
12440
12466
|
* @summary Get pool groups
|
|
12441
|
-
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
12442
12467
|
* @param {*} [options] Override http request option.
|
|
12443
12468
|
* @throws {RequiredError}
|
|
12444
12469
|
*/
|
|
12445
|
-
getPoolGroupsV1(
|
|
12470
|
+
getPoolGroupsV1(options) {
|
|
12446
12471
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12447
12472
|
var _a, _b;
|
|
12448
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPoolGroupsV1(
|
|
12473
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPoolGroupsV1(options);
|
|
12449
12474
|
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['GPUCatalogApi.getPoolGroupsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
12450
12475
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12451
12476
|
});
|
|
@@ -12505,14 +12530,13 @@ export const GPUCatalogApiFactory = function (configuration, basePath, axios) {
|
|
|
12505
12530
|
const localVarFp = GPUCatalogApiFp(configuration);
|
|
12506
12531
|
return {
|
|
12507
12532
|
/**
|
|
12508
|
-
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
12533
|
+
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price, in credits, among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
12509
12534
|
* @summary Get pool groups
|
|
12510
|
-
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
12511
12535
|
* @param {*} [options] Override http request option.
|
|
12512
12536
|
* @throws {RequiredError}
|
|
12513
12537
|
*/
|
|
12514
|
-
getPoolGroupsV1(
|
|
12515
|
-
return localVarFp.getPoolGroupsV1(
|
|
12538
|
+
getPoolGroupsV1(options) {
|
|
12539
|
+
return localVarFp.getPoolGroupsV1(options).then((request) => request(axios, basePath));
|
|
12516
12540
|
},
|
|
12517
12541
|
/**
|
|
12518
12542
|
* Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
|
|
@@ -12554,15 +12578,14 @@ export const GPUCatalogApiFactory = function (configuration, basePath, axios) {
|
|
|
12554
12578
|
*/
|
|
12555
12579
|
export class GPUCatalogApi extends BaseAPI {
|
|
12556
12580
|
/**
|
|
12557
|
-
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
12581
|
+
* Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price, in credits, among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
|
|
12558
12582
|
* @summary Get pool groups
|
|
12559
|
-
* @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
|
|
12560
12583
|
* @param {*} [options] Override http request option.
|
|
12561
12584
|
* @throws {RequiredError}
|
|
12562
12585
|
* @memberof GPUCatalogApi
|
|
12563
12586
|
*/
|
|
12564
|
-
getPoolGroupsV1(
|
|
12565
|
-
return GPUCatalogApiFp(this.configuration).getPoolGroupsV1(
|
|
12587
|
+
getPoolGroupsV1(options) {
|
|
12588
|
+
return GPUCatalogApiFp(this.configuration).getPoolGroupsV1(options).then((request) => request(this.axios, this.basePath));
|
|
12566
12589
|
}
|
|
12567
12590
|
/**
|
|
12568
12591
|
* Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
|
|
@@ -12598,60 +12621,6 @@ export class GPUCatalogApi extends BaseAPI {
|
|
|
12598
12621
|
return GPUCatalogApiFp(this.configuration).getPoolOSTemplatesV1(poolId, poolInstanceId, options).then((request) => request(this.axios, this.basePath));
|
|
12599
12622
|
}
|
|
12600
12623
|
}
|
|
12601
|
-
/**
|
|
12602
|
-
* @export
|
|
12603
|
-
*/
|
|
12604
|
-
export const GetPoolGroupsV1CurrencyEnum = {
|
|
12605
|
-
Usd: 'USD',
|
|
12606
|
-
Ars: 'ARS',
|
|
12607
|
-
Amd: 'AMD',
|
|
12608
|
-
Aud: 'AUD',
|
|
12609
|
-
Azn: 'AZN',
|
|
12610
|
-
Bdt: 'BDT',
|
|
12611
|
-
Brl: 'BRL',
|
|
12612
|
-
Btc: 'BTC',
|
|
12613
|
-
Byn: 'BYN',
|
|
12614
|
-
Cad: 'CAD',
|
|
12615
|
-
Chf: 'CHF',
|
|
12616
|
-
Clp: 'CLP',
|
|
12617
|
-
Cny: 'CNY',
|
|
12618
|
-
Cop: 'COP',
|
|
12619
|
-
Czk: 'CZK',
|
|
12620
|
-
Dkk: 'DKK',
|
|
12621
|
-
Egp: 'EGP',
|
|
12622
|
-
Eur: 'EUR',
|
|
12623
|
-
Gbp: 'GBP',
|
|
12624
|
-
Gel: 'GEL',
|
|
12625
|
-
Hkd: 'HKD',
|
|
12626
|
-
Hrk: 'HRK',
|
|
12627
|
-
Huf: 'HUF',
|
|
12628
|
-
Idr: 'IDR',
|
|
12629
|
-
Ils: 'ILS',
|
|
12630
|
-
Inr: 'INR',
|
|
12631
|
-
Jpy: 'JPY',
|
|
12632
|
-
Kgs: 'KGS',
|
|
12633
|
-
Krw: 'KRW',
|
|
12634
|
-
Kzt: 'KZT',
|
|
12635
|
-
Mad: 'MAD',
|
|
12636
|
-
Mxn: 'MXN',
|
|
12637
|
-
Myr: 'MYR',
|
|
12638
|
-
Ngn: 'NGN',
|
|
12639
|
-
Nok: 'NOK',
|
|
12640
|
-
Nzd: 'NZD',
|
|
12641
|
-
Pen: 'PEN',
|
|
12642
|
-
Php: 'PHP',
|
|
12643
|
-
Pkr: 'PKR',
|
|
12644
|
-
Pln: 'PLN',
|
|
12645
|
-
Sek: 'SEK',
|
|
12646
|
-
Sgd: 'SGD',
|
|
12647
|
-
Thb: 'THB',
|
|
12648
|
-
Tjs: 'TJS',
|
|
12649
|
-
Try: 'TRY',
|
|
12650
|
-
Twd: 'TWD',
|
|
12651
|
-
Uah: 'UAH',
|
|
12652
|
-
Vnd: 'VND',
|
|
12653
|
-
Zar: 'ZAR'
|
|
12654
|
-
};
|
|
12655
12624
|
/**
|
|
12656
12625
|
* GPUExposedServicesApi - axios parameter creator
|
|
12657
12626
|
* @export
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version:
|
|
4
|
+
* API Version: 3.0.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version:
|
|
6
|
+
* API Version: 3.0.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version:
|
|
4
|
+
* API Version: 3.0.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version:
|
|
6
|
+
* API Version: 3.0.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version:
|
|
4
|
+
* API Version: 3.0.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version:
|
|
6
|
+
* API Version: 3.0.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -13,7 +13,7 @@ export class Configuration {
|
|
|
13
13
|
var _a;
|
|
14
14
|
this.accessToken = param.accessToken;
|
|
15
15
|
this.basePath = param.basePath;
|
|
16
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/3.0.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
17
17
|
this.formDataCtor = param.formDataCtor;
|
|
18
18
|
}
|
|
19
19
|
/**
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version:
|
|
4
|
+
* API Version: 3.0.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version:
|
|
6
|
+
* API Version: 3.0.1
|
|
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
|