hostinger-api-sdk 2.6.2 → 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.1
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
@@ -19318,7 +19678,7 @@ export const HostingWebsitesApiAxiosParamCreator = function (configuration) {
19318
19678
  };
19319
19679
  }),
19320
19680
  /**
19321
- * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain. To know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, generate one through `POST /api/hosting/v1/domains/free-subdomains` (`hosting_domains_generate-free-subdomain`) and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
19681
+ * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain; the created setup returns it as `domain`. REST clients that need to know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, can generate one through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
19322
19682
  * @summary Start website setup
19323
19683
  * @param {number} orderId Hosting order ID. List orders to find available IDs.
19324
19684
  * @param {HostingV1OnboardingsStartOnboardingRequest} hostingV1OnboardingsStartOnboardingRequest
@@ -19450,7 +19810,7 @@ export const HostingWebsitesApiFp = function (configuration) {
19450
19810
  });
19451
19811
  },
19452
19812
  /**
19453
- * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain. To know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, generate one through `POST /api/hosting/v1/domains/free-subdomains` (`hosting_domains_generate-free-subdomain`) and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
19813
+ * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain; the created setup returns it as `domain`. REST clients that need to know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, can generate one through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
19454
19814
  * @summary Start website setup
19455
19815
  * @param {number} orderId Hosting order ID. List orders to find available IDs.
19456
19816
  * @param {HostingV1OnboardingsStartOnboardingRequest} hostingV1OnboardingsStartOnboardingRequest
@@ -19536,7 +19896,7 @@ export const HostingWebsitesApiFactory = function (configuration, basePath, axio
19536
19896
  return localVarFp.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options).then((request) => request(axios, basePath));
19537
19897
  },
19538
19898
  /**
19539
- * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain. To know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, generate one through `POST /api/hosting/v1/domains/free-subdomains` (`hosting_domains_generate-free-subdomain`) and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
19899
+ * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain; the created setup returns it as `domain`. REST clients that need to know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, can generate one through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
19540
19900
  * @summary Start website setup
19541
19901
  * @param {number} orderId Hosting order ID. List orders to find available IDs.
19542
19902
  * @param {HostingV1OnboardingsStartOnboardingRequest} hostingV1OnboardingsStartOnboardingRequest
@@ -19622,7 +19982,7 @@ export class HostingWebsitesApi extends BaseAPI {
19622
19982
  return HostingWebsitesApiFp(this.configuration).listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options).then((request) => request(this.axios, this.basePath));
19623
19983
  }
19624
19984
  /**
19625
- * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain. To know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, generate one through `POST /api/hosting/v1/domains/free-subdomains` (`hosting_domains_generate-free-subdomain`) and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
19985
+ * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain; the created setup returns it as `domain`. REST clients that need to know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, can generate one through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
19626
19986
  * @summary Start website setup
19627
19987
  * @param {number} orderId Hosting order ID. List orders to find available IDs.
19628
19988
  * @param {HostingV1OnboardingsStartOnboardingRequest} hostingV1OnboardingsStartOnboardingRequest
@@ -34929,7 +35289,7 @@ export const WordPressInstallationsApiAxiosParamCreator = function (configuratio
34929
35289
  };
34930
35290
  }),
34931
35291
  /**
34932
- * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_start-setup`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_start-setup` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
35292
+ * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_create` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
34933
35293
  * @summary Install WordPress
34934
35294
  * @param {string} username
34935
35295
  * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
@@ -35209,7 +35569,7 @@ export const WordPressInstallationsApiFp = function (configuration) {
35209
35569
  });
35210
35570
  },
35211
35571
  /**
35212
- * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_start-setup`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_start-setup` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
35572
+ * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_create` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
35213
35573
  * @summary Install WordPress
35214
35574
  * @param {string} username
35215
35575
  * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
@@ -35356,7 +35716,7 @@ export const WordPressInstallationsApiFactory = function (configuration, basePat
35356
35716
  return localVarFp.importWordPressWebsiteV1(username, domain, wordPressV1InstallationsImportWordPressRequest, options).then((request) => request(axios, basePath));
35357
35717
  },
35358
35718
  /**
35359
- * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_start-setup`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_start-setup` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
35719
+ * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_create` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
35360
35720
  * @summary Install WordPress
35361
35721
  * @param {string} username
35362
35722
  * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
@@ -35483,7 +35843,7 @@ export class WordPressInstallationsApi extends BaseAPI {
35483
35843
  return WordPressInstallationsApiFp(this.configuration).importWordPressWebsiteV1(username, domain, wordPressV1InstallationsImportWordPressRequest, options).then((request) => request(this.axios, this.basePath));
35484
35844
  }
35485
35845
  /**
35486
- * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_start-setup`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_start-setup` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
35846
+ * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_create` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
35487
35847
  * @summary Install WordPress
35488
35848
  * @param {string} username
35489
35849
  * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.6.1
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.1
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.1
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.1
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.1
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.1
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.2" }, (_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.1
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.1
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.1
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.1
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