hostinger-api-sdk 2.6.3 → 2.7.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/dist/esm/api.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.6.2
6
+ * API Version: 2.7.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
@@ -12198,6 +12198,366 @@ export class EcommerceStoresApi extends BaseAPI {
12198
12198
  return EcommerceStoresApiFp(this.configuration).getStoresV1(page, options).then((request) => request(this.axios, this.basePath));
12199
12199
  }
12200
12200
  }
12201
+ /**
12202
+ * GPUCatalogApi - axios parameter creator
12203
+ * @export
12204
+ */
12205
+ export const GPUCatalogApiAxiosParamCreator = function (configuration) {
12206
+ return {
12207
+ /**
12208
+ * 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.
12209
+ * @summary Get pool groups
12210
+ * @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
12211
+ * @param {*} [options] Override http request option.
12212
+ * @throws {RequiredError}
12213
+ */
12214
+ getPoolGroupsV1: (currency_1, ...args_1) => __awaiter(this, [currency_1, ...args_1], void 0, function* (currency, options = {}) {
12215
+ const localVarPath = `/api/gpu/v1/pools/groups`;
12216
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12217
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12218
+ let baseOptions;
12219
+ if (configuration) {
12220
+ baseOptions = configuration.baseOptions;
12221
+ }
12222
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
12223
+ const localVarHeaderParameter = {};
12224
+ const localVarQueryParameter = {};
12225
+ // authentication apiToken required
12226
+ // http bearer authentication required
12227
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
12228
+ if (currency !== undefined) {
12229
+ localVarQueryParameter['currency'] = currency;
12230
+ }
12231
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12232
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12233
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12234
+ return {
12235
+ url: toPathString(localVarUrlObj),
12236
+ options: localVarRequestOptions,
12237
+ };
12238
+ }),
12239
+ /**
12240
+ * 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.
12241
+ * @summary Get pool instance types
12242
+ * @param {number} poolId GPU pool ID
12243
+ * @param {*} [options] Override http request option.
12244
+ * @throws {RequiredError}
12245
+ */
12246
+ getPoolInstanceTypesV1: (poolId_1, ...args_1) => __awaiter(this, [poolId_1, ...args_1], void 0, function* (poolId, options = {}) {
12247
+ // verify required parameter 'poolId' is not null or undefined
12248
+ assertParamExists('getPoolInstanceTypesV1', 'poolId', poolId);
12249
+ const localVarPath = `/api/gpu/v1/pools/{poolId}/instances`
12250
+ .replace(`{${"poolId"}}`, encodePathParam('poolId', poolId));
12251
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12252
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12253
+ let baseOptions;
12254
+ if (configuration) {
12255
+ baseOptions = configuration.baseOptions;
12256
+ }
12257
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
12258
+ const localVarHeaderParameter = {};
12259
+ const localVarQueryParameter = {};
12260
+ // authentication apiToken required
12261
+ // http bearer authentication required
12262
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
12263
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12264
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12265
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12266
+ return {
12267
+ url: toPathString(localVarUrlObj),
12268
+ options: localVarRequestOptions,
12269
+ };
12270
+ }),
12271
+ /**
12272
+ * Retrieve all available GPU pools, ordered by name. A pool serves GPU accelerators of one model from a single region. Use this endpoint to choose a pool before listing its instance types.
12273
+ * @summary Get pool list
12274
+ * @param {*} [options] Override http request option.
12275
+ * @throws {RequiredError}
12276
+ */
12277
+ getPoolListV1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
12278
+ const localVarPath = `/api/gpu/v1/pools`;
12279
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12280
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12281
+ let baseOptions;
12282
+ if (configuration) {
12283
+ baseOptions = configuration.baseOptions;
12284
+ }
12285
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
12286
+ const localVarHeaderParameter = {};
12287
+ const localVarQueryParameter = {};
12288
+ // authentication apiToken required
12289
+ // http bearer authentication required
12290
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
12291
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12292
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12293
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12294
+ return {
12295
+ url: toPathString(localVarUrlObj),
12296
+ options: localVarRequestOptions,
12297
+ };
12298
+ }),
12299
+ /**
12300
+ * Retrieve the OS templates that can be installed on a specified GPU pool instance type. Use this endpoint to choose the `os_template_id` for a new GPU instance.
12301
+ * @summary Get pool OS templates
12302
+ * @param {number} poolId GPU pool ID
12303
+ * @param {number} poolInstanceId GPU pool instance type ID
12304
+ * @param {*} [options] Override http request option.
12305
+ * @throws {RequiredError}
12306
+ */
12307
+ getPoolOSTemplatesV1: (poolId_1, poolInstanceId_1, ...args_1) => __awaiter(this, [poolId_1, poolInstanceId_1, ...args_1], void 0, function* (poolId, poolInstanceId, options = {}) {
12308
+ // verify required parameter 'poolId' is not null or undefined
12309
+ assertParamExists('getPoolOSTemplatesV1', 'poolId', poolId);
12310
+ // verify required parameter 'poolInstanceId' is not null or undefined
12311
+ assertParamExists('getPoolOSTemplatesV1', 'poolInstanceId', poolInstanceId);
12312
+ const localVarPath = `/api/gpu/v1/pools/{poolId}/instances/{poolInstanceId}/os-templates`
12313
+ .replace(`{${"poolId"}}`, encodePathParam('poolId', poolId))
12314
+ .replace(`{${"poolInstanceId"}}`, encodePathParam('poolInstanceId', poolInstanceId));
12315
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12316
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12317
+ let baseOptions;
12318
+ if (configuration) {
12319
+ baseOptions = configuration.baseOptions;
12320
+ }
12321
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
12322
+ const localVarHeaderParameter = {};
12323
+ const localVarQueryParameter = {};
12324
+ // authentication apiToken required
12325
+ // http bearer authentication required
12326
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
12327
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12328
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12329
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12330
+ return {
12331
+ url: toPathString(localVarUrlObj),
12332
+ options: localVarRequestOptions,
12333
+ };
12334
+ }),
12335
+ };
12336
+ };
12337
+ /**
12338
+ * GPUCatalogApi - functional programming interface
12339
+ * @export
12340
+ */
12341
+ export const GPUCatalogApiFp = function (configuration) {
12342
+ const localVarAxiosParamCreator = GPUCatalogApiAxiosParamCreator(configuration);
12343
+ return {
12344
+ /**
12345
+ * 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.
12346
+ * @summary Get pool groups
12347
+ * @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
12348
+ * @param {*} [options] Override http request option.
12349
+ * @throws {RequiredError}
12350
+ */
12351
+ getPoolGroupsV1(currency, options) {
12352
+ return __awaiter(this, void 0, void 0, function* () {
12353
+ var _a, _b;
12354
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPoolGroupsV1(currency, options);
12355
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['GPUCatalogApi.getPoolGroupsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
12356
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12357
+ });
12358
+ },
12359
+ /**
12360
+ * 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.
12361
+ * @summary Get pool instance types
12362
+ * @param {number} poolId GPU pool ID
12363
+ * @param {*} [options] Override http request option.
12364
+ * @throws {RequiredError}
12365
+ */
12366
+ getPoolInstanceTypesV1(poolId, options) {
12367
+ return __awaiter(this, void 0, void 0, function* () {
12368
+ var _a, _b;
12369
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPoolInstanceTypesV1(poolId, options);
12370
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['GPUCatalogApi.getPoolInstanceTypesV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
12371
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12372
+ });
12373
+ },
12374
+ /**
12375
+ * Retrieve all available GPU pools, ordered by name. A pool serves GPU accelerators of one model from a single region. Use this endpoint to choose a pool before listing its instance types.
12376
+ * @summary Get pool list
12377
+ * @param {*} [options] Override http request option.
12378
+ * @throws {RequiredError}
12379
+ */
12380
+ getPoolListV1(options) {
12381
+ return __awaiter(this, void 0, void 0, function* () {
12382
+ var _a, _b;
12383
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPoolListV1(options);
12384
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['GPUCatalogApi.getPoolListV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
12385
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12386
+ });
12387
+ },
12388
+ /**
12389
+ * Retrieve the OS templates that can be installed on a specified GPU pool instance type. Use this endpoint to choose the `os_template_id` for a new GPU instance.
12390
+ * @summary Get pool OS templates
12391
+ * @param {number} poolId GPU pool ID
12392
+ * @param {number} poolInstanceId GPU pool instance type ID
12393
+ * @param {*} [options] Override http request option.
12394
+ * @throws {RequiredError}
12395
+ */
12396
+ getPoolOSTemplatesV1(poolId, poolInstanceId, options) {
12397
+ return __awaiter(this, void 0, void 0, function* () {
12398
+ var _a, _b;
12399
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPoolOSTemplatesV1(poolId, poolInstanceId, options);
12400
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['GPUCatalogApi.getPoolOSTemplatesV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
12401
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12402
+ });
12403
+ },
12404
+ };
12405
+ };
12406
+ /**
12407
+ * GPUCatalogApi - factory interface
12408
+ * @export
12409
+ */
12410
+ export const GPUCatalogApiFactory = function (configuration, basePath, axios) {
12411
+ const localVarFp = GPUCatalogApiFp(configuration);
12412
+ return {
12413
+ /**
12414
+ * 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.
12415
+ * @summary Get pool groups
12416
+ * @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
12417
+ * @param {*} [options] Override http request option.
12418
+ * @throws {RequiredError}
12419
+ */
12420
+ getPoolGroupsV1(currency, options) {
12421
+ return localVarFp.getPoolGroupsV1(currency, options).then((request) => request(axios, basePath));
12422
+ },
12423
+ /**
12424
+ * 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.
12425
+ * @summary Get pool instance types
12426
+ * @param {number} poolId GPU pool ID
12427
+ * @param {*} [options] Override http request option.
12428
+ * @throws {RequiredError}
12429
+ */
12430
+ getPoolInstanceTypesV1(poolId, options) {
12431
+ return localVarFp.getPoolInstanceTypesV1(poolId, options).then((request) => request(axios, basePath));
12432
+ },
12433
+ /**
12434
+ * Retrieve all available GPU pools, ordered by name. A pool serves GPU accelerators of one model from a single region. Use this endpoint to choose a pool before listing its instance types.
12435
+ * @summary Get pool list
12436
+ * @param {*} [options] Override http request option.
12437
+ * @throws {RequiredError}
12438
+ */
12439
+ getPoolListV1(options) {
12440
+ return localVarFp.getPoolListV1(options).then((request) => request(axios, basePath));
12441
+ },
12442
+ /**
12443
+ * Retrieve the OS templates that can be installed on a specified GPU pool instance type. Use this endpoint to choose the `os_template_id` for a new GPU instance.
12444
+ * @summary Get pool OS templates
12445
+ * @param {number} poolId GPU pool ID
12446
+ * @param {number} poolInstanceId GPU pool instance type ID
12447
+ * @param {*} [options] Override http request option.
12448
+ * @throws {RequiredError}
12449
+ */
12450
+ getPoolOSTemplatesV1(poolId, poolInstanceId, options) {
12451
+ return localVarFp.getPoolOSTemplatesV1(poolId, poolInstanceId, options).then((request) => request(axios, basePath));
12452
+ },
12453
+ };
12454
+ };
12455
+ /**
12456
+ * GPUCatalogApi - object-oriented interface
12457
+ * @export
12458
+ * @class GPUCatalogApi
12459
+ * @extends {BaseAPI}
12460
+ */
12461
+ export class GPUCatalogApi extends BaseAPI {
12462
+ /**
12463
+ * 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.
12464
+ * @summary Get pool groups
12465
+ * @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, `USD` by default
12466
+ * @param {*} [options] Override http request option.
12467
+ * @throws {RequiredError}
12468
+ * @memberof GPUCatalogApi
12469
+ */
12470
+ getPoolGroupsV1(currency, options) {
12471
+ return GPUCatalogApiFp(this.configuration).getPoolGroupsV1(currency, options).then((request) => request(this.axios, this.basePath));
12472
+ }
12473
+ /**
12474
+ * 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.
12475
+ * @summary Get pool instance types
12476
+ * @param {number} poolId GPU pool ID
12477
+ * @param {*} [options] Override http request option.
12478
+ * @throws {RequiredError}
12479
+ * @memberof GPUCatalogApi
12480
+ */
12481
+ getPoolInstanceTypesV1(poolId, options) {
12482
+ return GPUCatalogApiFp(this.configuration).getPoolInstanceTypesV1(poolId, options).then((request) => request(this.axios, this.basePath));
12483
+ }
12484
+ /**
12485
+ * Retrieve all available GPU pools, ordered by name. A pool serves GPU accelerators of one model from a single region. Use this endpoint to choose a pool before listing its instance types.
12486
+ * @summary Get pool list
12487
+ * @param {*} [options] Override http request option.
12488
+ * @throws {RequiredError}
12489
+ * @memberof GPUCatalogApi
12490
+ */
12491
+ getPoolListV1(options) {
12492
+ return GPUCatalogApiFp(this.configuration).getPoolListV1(options).then((request) => request(this.axios, this.basePath));
12493
+ }
12494
+ /**
12495
+ * Retrieve the OS templates that can be installed on a specified GPU pool instance type. Use this endpoint to choose the `os_template_id` for a new GPU instance.
12496
+ * @summary Get pool OS templates
12497
+ * @param {number} poolId GPU pool ID
12498
+ * @param {number} poolInstanceId GPU pool instance type ID
12499
+ * @param {*} [options] Override http request option.
12500
+ * @throws {RequiredError}
12501
+ * @memberof GPUCatalogApi
12502
+ */
12503
+ getPoolOSTemplatesV1(poolId, poolInstanceId, options) {
12504
+ return GPUCatalogApiFp(this.configuration).getPoolOSTemplatesV1(poolId, poolInstanceId, options).then((request) => request(this.axios, this.basePath));
12505
+ }
12506
+ }
12507
+ /**
12508
+ * @export
12509
+ */
12510
+ export const GetPoolGroupsV1CurrencyEnum = {
12511
+ Usd: 'USD',
12512
+ Ars: 'ARS',
12513
+ Amd: 'AMD',
12514
+ Aud: 'AUD',
12515
+ Azn: 'AZN',
12516
+ Bdt: 'BDT',
12517
+ Brl: 'BRL',
12518
+ Btc: 'BTC',
12519
+ Byn: 'BYN',
12520
+ Cad: 'CAD',
12521
+ Chf: 'CHF',
12522
+ Clp: 'CLP',
12523
+ Cny: 'CNY',
12524
+ Cop: 'COP',
12525
+ Czk: 'CZK',
12526
+ Dkk: 'DKK',
12527
+ Egp: 'EGP',
12528
+ Eur: 'EUR',
12529
+ Gbp: 'GBP',
12530
+ Gel: 'GEL',
12531
+ Hkd: 'HKD',
12532
+ Hrk: 'HRK',
12533
+ Huf: 'HUF',
12534
+ Idr: 'IDR',
12535
+ Ils: 'ILS',
12536
+ Inr: 'INR',
12537
+ Jpy: 'JPY',
12538
+ Kgs: 'KGS',
12539
+ Krw: 'KRW',
12540
+ Kzt: 'KZT',
12541
+ Mad: 'MAD',
12542
+ Mxn: 'MXN',
12543
+ Myr: 'MYR',
12544
+ Ngn: 'NGN',
12545
+ Nok: 'NOK',
12546
+ Nzd: 'NZD',
12547
+ Pen: 'PEN',
12548
+ Php: 'PHP',
12549
+ Pkr: 'PKR',
12550
+ Pln: 'PLN',
12551
+ Sek: 'SEK',
12552
+ Sgd: 'SGD',
12553
+ Thb: 'THB',
12554
+ Tjs: 'TJS',
12555
+ Try: 'TRY',
12556
+ Twd: 'TWD',
12557
+ Uah: 'UAH',
12558
+ Vnd: 'VND',
12559
+ Zar: 'ZAR'
12560
+ };
12201
12561
  /**
12202
12562
  * HorizonsWebsitesApi - axios parameter creator
12203
12563
  * @export
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.6.2
4
+ * API Version: 2.7.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
package/dist/esm/base.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.6.2
6
+ * API Version: 2.7.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
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.6.2
4
+ * API Version: 2.7.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
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.6.2
6
+ * API Version: 2.7.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
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.6.2
4
+ * API Version: 2.7.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
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.6.2
6
+ * API Version: 2.7.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
@@ -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/2.6.3" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
16
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.7.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
17
17
  this.formDataCtor = param.formDataCtor;
18
18
  }
19
19
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.6.2
4
+ * API Version: 2.7.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
package/dist/esm/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.6.2
6
+ * API Version: 2.7.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/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.6.2
4
+ * API Version: 2.7.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
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 2.6.2
7
+ * API Version: 2.7.0
8
8
  *
9
9
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api