hostinger-api-sdk 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +710 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +433 -1
- package/dist/api.js +515 -3
- 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 +433 -1
- package/dist/esm/api.js +509 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/HostingPHPApi.md +364 -0
- package/docs/HostingV1PhpPhpDetailsResource.md +30 -0
- package/docs/HostingV1PhpPhpInfoResource.md +20 -0
- package/docs/HostingV1PhpPhpOptionResource.md +30 -0
- package/docs/HostingV1PhpPhpVersionsResource.md +22 -0
- package/docs/HostingV1PhpUpdatePhpExtensionsRequest.md +22 -0
- package/docs/HostingV1PhpUpdatePhpOptionsRequest.md +20 -0
- package/docs/HostingV1PhpUpdatePhpOptionsRequestOptionsValue.md +18 -0
- package/docs/HostingV1PhpUpdatePhpVersionRequest.md +20 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.2.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
|
|
@@ -6438,6 +6438,514 @@ export const ListOrdersV1StatusesEnum = {
|
|
|
6438
6438
|
Deleted: 'deleted',
|
|
6439
6439
|
Suspended: 'suspended'
|
|
6440
6440
|
};
|
|
6441
|
+
/**
|
|
6442
|
+
* HostingPHPApi - axios parameter creator
|
|
6443
|
+
* @export
|
|
6444
|
+
*/
|
|
6445
|
+
export const HostingPHPApiAxiosParamCreator = function (configuration) {
|
|
6446
|
+
return {
|
|
6447
|
+
/**
|
|
6448
|
+
* Returns the full PHP configuration for the website: current version, available versions (supported and unsupported), enabled/disabled extensions, options with their current value, default, type and the plan limit (`max`), and conflicting extension groups. Use it to check the current PHP setup before updating the version, extensions or options.
|
|
6449
|
+
* @summary Get PHP details
|
|
6450
|
+
* @param {string} username
|
|
6451
|
+
* @param {string} domain Domain name
|
|
6452
|
+
* @param {*} [options] Override http request option.
|
|
6453
|
+
* @throws {RequiredError}
|
|
6454
|
+
*/
|
|
6455
|
+
getPHPDetailsV1: (username_1, domain_1, ...args_1) => __awaiter(this, [username_1, domain_1, ...args_1], void 0, function* (username, domain, options = {}) {
|
|
6456
|
+
// verify required parameter 'username' is not null or undefined
|
|
6457
|
+
assertParamExists('getPHPDetailsV1', 'username', username);
|
|
6458
|
+
// verify required parameter 'domain' is not null or undefined
|
|
6459
|
+
assertParamExists('getPHPDetailsV1', 'domain', domain);
|
|
6460
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/php/details`
|
|
6461
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
6462
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
6463
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6464
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6465
|
+
let baseOptions;
|
|
6466
|
+
if (configuration) {
|
|
6467
|
+
baseOptions = configuration.baseOptions;
|
|
6468
|
+
}
|
|
6469
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6470
|
+
const localVarHeaderParameter = {};
|
|
6471
|
+
const localVarQueryParameter = {};
|
|
6472
|
+
// authentication apiToken required
|
|
6473
|
+
// http bearer authentication required
|
|
6474
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6475
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6476
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6477
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6478
|
+
return {
|
|
6479
|
+
url: toPathString(localVarUrlObj),
|
|
6480
|
+
options: localVarRequestOptions,
|
|
6481
|
+
};
|
|
6482
|
+
}),
|
|
6483
|
+
/**
|
|
6484
|
+
* Returns the full phpinfo page (HTML) for the website. Use it to debug PHP issues or inspect the complete PHP environment of the website.
|
|
6485
|
+
* @summary Get PHP info
|
|
6486
|
+
* @param {string} username
|
|
6487
|
+
* @param {string} domain Domain name
|
|
6488
|
+
* @param {*} [options] Override http request option.
|
|
6489
|
+
* @throws {RequiredError}
|
|
6490
|
+
*/
|
|
6491
|
+
getPHPInfoV1: (username_1, domain_1, ...args_1) => __awaiter(this, [username_1, domain_1, ...args_1], void 0, function* (username, domain, options = {}) {
|
|
6492
|
+
// verify required parameter 'username' is not null or undefined
|
|
6493
|
+
assertParamExists('getPHPInfoV1', 'username', username);
|
|
6494
|
+
// verify required parameter 'domain' is not null or undefined
|
|
6495
|
+
assertParamExists('getPHPInfoV1', 'domain', domain);
|
|
6496
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/php/php-info`
|
|
6497
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
6498
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
6499
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6500
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6501
|
+
let baseOptions;
|
|
6502
|
+
if (configuration) {
|
|
6503
|
+
baseOptions = configuration.baseOptions;
|
|
6504
|
+
}
|
|
6505
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6506
|
+
const localVarHeaderParameter = {};
|
|
6507
|
+
const localVarQueryParameter = {};
|
|
6508
|
+
// authentication apiToken required
|
|
6509
|
+
// http bearer authentication required
|
|
6510
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6511
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6512
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6513
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6514
|
+
return {
|
|
6515
|
+
url: toPathString(localVarUrlObj),
|
|
6516
|
+
options: localVarRequestOptions,
|
|
6517
|
+
};
|
|
6518
|
+
}),
|
|
6519
|
+
/**
|
|
6520
|
+
* Resets all PHP extensions of the website to their default state. Use it to recover from extension conflicts or restore the original configuration.
|
|
6521
|
+
* @summary Reset PHP extensions
|
|
6522
|
+
* @param {string} username
|
|
6523
|
+
* @param {string} domain Domain name
|
|
6524
|
+
* @param {*} [options] Override http request option.
|
|
6525
|
+
* @throws {RequiredError}
|
|
6526
|
+
*/
|
|
6527
|
+
resetPHPExtensionsV1: (username_1, domain_1, ...args_1) => __awaiter(this, [username_1, domain_1, ...args_1], void 0, function* (username, domain, options = {}) {
|
|
6528
|
+
// verify required parameter 'username' is not null or undefined
|
|
6529
|
+
assertParamExists('resetPHPExtensionsV1', 'username', username);
|
|
6530
|
+
// verify required parameter 'domain' is not null or undefined
|
|
6531
|
+
assertParamExists('resetPHPExtensionsV1', 'domain', domain);
|
|
6532
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions/reset`
|
|
6533
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
6534
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
6535
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6536
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6537
|
+
let baseOptions;
|
|
6538
|
+
if (configuration) {
|
|
6539
|
+
baseOptions = configuration.baseOptions;
|
|
6540
|
+
}
|
|
6541
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
6542
|
+
const localVarHeaderParameter = {};
|
|
6543
|
+
const localVarQueryParameter = {};
|
|
6544
|
+
// authentication apiToken required
|
|
6545
|
+
// http bearer authentication required
|
|
6546
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6547
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6548
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6549
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6550
|
+
return {
|
|
6551
|
+
url: toPathString(localVarUrlObj),
|
|
6552
|
+
options: localVarRequestOptions,
|
|
6553
|
+
};
|
|
6554
|
+
}),
|
|
6555
|
+
/**
|
|
6556
|
+
* Enables or disables PHP extensions (modules) for the website. Use the Get PHP details endpoint to check the current extension states before changing them.
|
|
6557
|
+
* @summary Update PHP extensions
|
|
6558
|
+
* @param {string} username
|
|
6559
|
+
* @param {string} domain Domain name
|
|
6560
|
+
* @param {HostingV1PhpUpdatePhpExtensionsRequest} hostingV1PhpUpdatePhpExtensionsRequest
|
|
6561
|
+
* @param {*} [options] Override http request option.
|
|
6562
|
+
* @throws {RequiredError}
|
|
6563
|
+
*/
|
|
6564
|
+
updatePHPExtensionsV1: (username_1, domain_1, hostingV1PhpUpdatePhpExtensionsRequest_1, ...args_1) => __awaiter(this, [username_1, domain_1, hostingV1PhpUpdatePhpExtensionsRequest_1, ...args_1], void 0, function* (username, domain, hostingV1PhpUpdatePhpExtensionsRequest, options = {}) {
|
|
6565
|
+
// verify required parameter 'username' is not null or undefined
|
|
6566
|
+
assertParamExists('updatePHPExtensionsV1', 'username', username);
|
|
6567
|
+
// verify required parameter 'domain' is not null or undefined
|
|
6568
|
+
assertParamExists('updatePHPExtensionsV1', 'domain', domain);
|
|
6569
|
+
// verify required parameter 'hostingV1PhpUpdatePhpExtensionsRequest' is not null or undefined
|
|
6570
|
+
assertParamExists('updatePHPExtensionsV1', 'hostingV1PhpUpdatePhpExtensionsRequest', hostingV1PhpUpdatePhpExtensionsRequest);
|
|
6571
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/php/extensions`
|
|
6572
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
6573
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
6574
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6575
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6576
|
+
let baseOptions;
|
|
6577
|
+
if (configuration) {
|
|
6578
|
+
baseOptions = configuration.baseOptions;
|
|
6579
|
+
}
|
|
6580
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
6581
|
+
const localVarHeaderParameter = {};
|
|
6582
|
+
const localVarQueryParameter = {};
|
|
6583
|
+
// authentication apiToken required
|
|
6584
|
+
// http bearer authentication required
|
|
6585
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6586
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6587
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6588
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6589
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6590
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hostingV1PhpUpdatePhpExtensionsRequest, localVarRequestOptions, configuration);
|
|
6591
|
+
return {
|
|
6592
|
+
url: toPathString(localVarUrlObj),
|
|
6593
|
+
options: localVarRequestOptions,
|
|
6594
|
+
};
|
|
6595
|
+
}),
|
|
6596
|
+
/**
|
|
6597
|
+
* Updates PHP options for the website (e.g. `memory_limit`, `max_execution_time`, `upload_max_filesize`). Only provide the options you want to change, inside the `options` object. Values above the account plan limit are silently capped to that limit, so the request can succeed with a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.
|
|
6598
|
+
* @summary Update PHP options
|
|
6599
|
+
* @param {string} username
|
|
6600
|
+
* @param {string} domain Domain name
|
|
6601
|
+
* @param {HostingV1PhpUpdatePhpOptionsRequest} hostingV1PhpUpdatePhpOptionsRequest
|
|
6602
|
+
* @param {*} [options] Override http request option.
|
|
6603
|
+
* @throws {RequiredError}
|
|
6604
|
+
*/
|
|
6605
|
+
updatePHPOptionsV1: (username_1, domain_1, hostingV1PhpUpdatePhpOptionsRequest_1, ...args_1) => __awaiter(this, [username_1, domain_1, hostingV1PhpUpdatePhpOptionsRequest_1, ...args_1], void 0, function* (username, domain, hostingV1PhpUpdatePhpOptionsRequest, options = {}) {
|
|
6606
|
+
// verify required parameter 'username' is not null or undefined
|
|
6607
|
+
assertParamExists('updatePHPOptionsV1', 'username', username);
|
|
6608
|
+
// verify required parameter 'domain' is not null or undefined
|
|
6609
|
+
assertParamExists('updatePHPOptionsV1', 'domain', domain);
|
|
6610
|
+
// verify required parameter 'hostingV1PhpUpdatePhpOptionsRequest' is not null or undefined
|
|
6611
|
+
assertParamExists('updatePHPOptionsV1', 'hostingV1PhpUpdatePhpOptionsRequest', hostingV1PhpUpdatePhpOptionsRequest);
|
|
6612
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/php/options`
|
|
6613
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
6614
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
6615
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6616
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6617
|
+
let baseOptions;
|
|
6618
|
+
if (configuration) {
|
|
6619
|
+
baseOptions = configuration.baseOptions;
|
|
6620
|
+
}
|
|
6621
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
6622
|
+
const localVarHeaderParameter = {};
|
|
6623
|
+
const localVarQueryParameter = {};
|
|
6624
|
+
// authentication apiToken required
|
|
6625
|
+
// http bearer authentication required
|
|
6626
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6627
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6628
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6629
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6630
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6631
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hostingV1PhpUpdatePhpOptionsRequest, localVarRequestOptions, configuration);
|
|
6632
|
+
return {
|
|
6633
|
+
url: toPathString(localVarUrlObj),
|
|
6634
|
+
options: localVarRequestOptions,
|
|
6635
|
+
};
|
|
6636
|
+
}),
|
|
6637
|
+
/**
|
|
6638
|
+
* Changes the PHP version of the website. Use the Get PHP details endpoint to see the versions available for the website.
|
|
6639
|
+
* @summary Update PHP version
|
|
6640
|
+
* @param {string} username
|
|
6641
|
+
* @param {string} domain Domain name
|
|
6642
|
+
* @param {HostingV1PhpUpdatePhpVersionRequest} hostingV1PhpUpdatePhpVersionRequest
|
|
6643
|
+
* @param {*} [options] Override http request option.
|
|
6644
|
+
* @throws {RequiredError}
|
|
6645
|
+
*/
|
|
6646
|
+
updatePHPVersionV1: (username_1, domain_1, hostingV1PhpUpdatePhpVersionRequest_1, ...args_1) => __awaiter(this, [username_1, domain_1, hostingV1PhpUpdatePhpVersionRequest_1, ...args_1], void 0, function* (username, domain, hostingV1PhpUpdatePhpVersionRequest, options = {}) {
|
|
6647
|
+
// verify required parameter 'username' is not null or undefined
|
|
6648
|
+
assertParamExists('updatePHPVersionV1', 'username', username);
|
|
6649
|
+
// verify required parameter 'domain' is not null or undefined
|
|
6650
|
+
assertParamExists('updatePHPVersionV1', 'domain', domain);
|
|
6651
|
+
// verify required parameter 'hostingV1PhpUpdatePhpVersionRequest' is not null or undefined
|
|
6652
|
+
assertParamExists('updatePHPVersionV1', 'hostingV1PhpUpdatePhpVersionRequest', hostingV1PhpUpdatePhpVersionRequest);
|
|
6653
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/php/version`
|
|
6654
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
6655
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
6656
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6657
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6658
|
+
let baseOptions;
|
|
6659
|
+
if (configuration) {
|
|
6660
|
+
baseOptions = configuration.baseOptions;
|
|
6661
|
+
}
|
|
6662
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
6663
|
+
const localVarHeaderParameter = {};
|
|
6664
|
+
const localVarQueryParameter = {};
|
|
6665
|
+
// authentication apiToken required
|
|
6666
|
+
// http bearer authentication required
|
|
6667
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6668
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6669
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6670
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6671
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6672
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hostingV1PhpUpdatePhpVersionRequest, localVarRequestOptions, configuration);
|
|
6673
|
+
return {
|
|
6674
|
+
url: toPathString(localVarUrlObj),
|
|
6675
|
+
options: localVarRequestOptions,
|
|
6676
|
+
};
|
|
6677
|
+
}),
|
|
6678
|
+
};
|
|
6679
|
+
};
|
|
6680
|
+
/**
|
|
6681
|
+
* HostingPHPApi - functional programming interface
|
|
6682
|
+
* @export
|
|
6683
|
+
*/
|
|
6684
|
+
export const HostingPHPApiFp = function (configuration) {
|
|
6685
|
+
const localVarAxiosParamCreator = HostingPHPApiAxiosParamCreator(configuration);
|
|
6686
|
+
return {
|
|
6687
|
+
/**
|
|
6688
|
+
* Returns the full PHP configuration for the website: current version, available versions (supported and unsupported), enabled/disabled extensions, options with their current value, default, type and the plan limit (`max`), and conflicting extension groups. Use it to check the current PHP setup before updating the version, extensions or options.
|
|
6689
|
+
* @summary Get PHP details
|
|
6690
|
+
* @param {string} username
|
|
6691
|
+
* @param {string} domain Domain name
|
|
6692
|
+
* @param {*} [options] Override http request option.
|
|
6693
|
+
* @throws {RequiredError}
|
|
6694
|
+
*/
|
|
6695
|
+
getPHPDetailsV1(username, domain, options) {
|
|
6696
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6697
|
+
var _a, _b;
|
|
6698
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPHPDetailsV1(username, domain, options);
|
|
6699
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['HostingPHPApi.getPHPDetailsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
6700
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6701
|
+
});
|
|
6702
|
+
},
|
|
6703
|
+
/**
|
|
6704
|
+
* Returns the full phpinfo page (HTML) for the website. Use it to debug PHP issues or inspect the complete PHP environment of the website.
|
|
6705
|
+
* @summary Get PHP info
|
|
6706
|
+
* @param {string} username
|
|
6707
|
+
* @param {string} domain Domain name
|
|
6708
|
+
* @param {*} [options] Override http request option.
|
|
6709
|
+
* @throws {RequiredError}
|
|
6710
|
+
*/
|
|
6711
|
+
getPHPInfoV1(username, domain, options) {
|
|
6712
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6713
|
+
var _a, _b;
|
|
6714
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPHPInfoV1(username, domain, options);
|
|
6715
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['HostingPHPApi.getPHPInfoV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
6716
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6717
|
+
});
|
|
6718
|
+
},
|
|
6719
|
+
/**
|
|
6720
|
+
* Resets all PHP extensions of the website to their default state. Use it to recover from extension conflicts or restore the original configuration.
|
|
6721
|
+
* @summary Reset PHP extensions
|
|
6722
|
+
* @param {string} username
|
|
6723
|
+
* @param {string} domain Domain name
|
|
6724
|
+
* @param {*} [options] Override http request option.
|
|
6725
|
+
* @throws {RequiredError}
|
|
6726
|
+
*/
|
|
6727
|
+
resetPHPExtensionsV1(username, domain, options) {
|
|
6728
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6729
|
+
var _a, _b;
|
|
6730
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resetPHPExtensionsV1(username, domain, options);
|
|
6731
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['HostingPHPApi.resetPHPExtensionsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
6732
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6733
|
+
});
|
|
6734
|
+
},
|
|
6735
|
+
/**
|
|
6736
|
+
* Enables or disables PHP extensions (modules) for the website. Use the Get PHP details endpoint to check the current extension states before changing them.
|
|
6737
|
+
* @summary Update PHP extensions
|
|
6738
|
+
* @param {string} username
|
|
6739
|
+
* @param {string} domain Domain name
|
|
6740
|
+
* @param {HostingV1PhpUpdatePhpExtensionsRequest} hostingV1PhpUpdatePhpExtensionsRequest
|
|
6741
|
+
* @param {*} [options] Override http request option.
|
|
6742
|
+
* @throws {RequiredError}
|
|
6743
|
+
*/
|
|
6744
|
+
updatePHPExtensionsV1(username, domain, hostingV1PhpUpdatePhpExtensionsRequest, options) {
|
|
6745
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6746
|
+
var _a, _b;
|
|
6747
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePHPExtensionsV1(username, domain, hostingV1PhpUpdatePhpExtensionsRequest, options);
|
|
6748
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['HostingPHPApi.updatePHPExtensionsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
6749
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6750
|
+
});
|
|
6751
|
+
},
|
|
6752
|
+
/**
|
|
6753
|
+
* Updates PHP options for the website (e.g. `memory_limit`, `max_execution_time`, `upload_max_filesize`). Only provide the options you want to change, inside the `options` object. Values above the account plan limit are silently capped to that limit, so the request can succeed with a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.
|
|
6754
|
+
* @summary Update PHP options
|
|
6755
|
+
* @param {string} username
|
|
6756
|
+
* @param {string} domain Domain name
|
|
6757
|
+
* @param {HostingV1PhpUpdatePhpOptionsRequest} hostingV1PhpUpdatePhpOptionsRequest
|
|
6758
|
+
* @param {*} [options] Override http request option.
|
|
6759
|
+
* @throws {RequiredError}
|
|
6760
|
+
*/
|
|
6761
|
+
updatePHPOptionsV1(username, domain, hostingV1PhpUpdatePhpOptionsRequest, options) {
|
|
6762
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6763
|
+
var _a, _b;
|
|
6764
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePHPOptionsV1(username, domain, hostingV1PhpUpdatePhpOptionsRequest, options);
|
|
6765
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['HostingPHPApi.updatePHPOptionsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
6766
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6767
|
+
});
|
|
6768
|
+
},
|
|
6769
|
+
/**
|
|
6770
|
+
* Changes the PHP version of the website. Use the Get PHP details endpoint to see the versions available for the website.
|
|
6771
|
+
* @summary Update PHP version
|
|
6772
|
+
* @param {string} username
|
|
6773
|
+
* @param {string} domain Domain name
|
|
6774
|
+
* @param {HostingV1PhpUpdatePhpVersionRequest} hostingV1PhpUpdatePhpVersionRequest
|
|
6775
|
+
* @param {*} [options] Override http request option.
|
|
6776
|
+
* @throws {RequiredError}
|
|
6777
|
+
*/
|
|
6778
|
+
updatePHPVersionV1(username, domain, hostingV1PhpUpdatePhpVersionRequest, options) {
|
|
6779
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6780
|
+
var _a, _b;
|
|
6781
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePHPVersionV1(username, domain, hostingV1PhpUpdatePhpVersionRequest, options);
|
|
6782
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['HostingPHPApi.updatePHPVersionV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
6783
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6784
|
+
});
|
|
6785
|
+
},
|
|
6786
|
+
};
|
|
6787
|
+
};
|
|
6788
|
+
/**
|
|
6789
|
+
* HostingPHPApi - factory interface
|
|
6790
|
+
* @export
|
|
6791
|
+
*/
|
|
6792
|
+
export const HostingPHPApiFactory = function (configuration, basePath, axios) {
|
|
6793
|
+
const localVarFp = HostingPHPApiFp(configuration);
|
|
6794
|
+
return {
|
|
6795
|
+
/**
|
|
6796
|
+
* Returns the full PHP configuration for the website: current version, available versions (supported and unsupported), enabled/disabled extensions, options with their current value, default, type and the plan limit (`max`), and conflicting extension groups. Use it to check the current PHP setup before updating the version, extensions or options.
|
|
6797
|
+
* @summary Get PHP details
|
|
6798
|
+
* @param {string} username
|
|
6799
|
+
* @param {string} domain Domain name
|
|
6800
|
+
* @param {*} [options] Override http request option.
|
|
6801
|
+
* @throws {RequiredError}
|
|
6802
|
+
*/
|
|
6803
|
+
getPHPDetailsV1(username, domain, options) {
|
|
6804
|
+
return localVarFp.getPHPDetailsV1(username, domain, options).then((request) => request(axios, basePath));
|
|
6805
|
+
},
|
|
6806
|
+
/**
|
|
6807
|
+
* Returns the full phpinfo page (HTML) for the website. Use it to debug PHP issues or inspect the complete PHP environment of the website.
|
|
6808
|
+
* @summary Get PHP info
|
|
6809
|
+
* @param {string} username
|
|
6810
|
+
* @param {string} domain Domain name
|
|
6811
|
+
* @param {*} [options] Override http request option.
|
|
6812
|
+
* @throws {RequiredError}
|
|
6813
|
+
*/
|
|
6814
|
+
getPHPInfoV1(username, domain, options) {
|
|
6815
|
+
return localVarFp.getPHPInfoV1(username, domain, options).then((request) => request(axios, basePath));
|
|
6816
|
+
},
|
|
6817
|
+
/**
|
|
6818
|
+
* Resets all PHP extensions of the website to their default state. Use it to recover from extension conflicts or restore the original configuration.
|
|
6819
|
+
* @summary Reset PHP extensions
|
|
6820
|
+
* @param {string} username
|
|
6821
|
+
* @param {string} domain Domain name
|
|
6822
|
+
* @param {*} [options] Override http request option.
|
|
6823
|
+
* @throws {RequiredError}
|
|
6824
|
+
*/
|
|
6825
|
+
resetPHPExtensionsV1(username, domain, options) {
|
|
6826
|
+
return localVarFp.resetPHPExtensionsV1(username, domain, options).then((request) => request(axios, basePath));
|
|
6827
|
+
},
|
|
6828
|
+
/**
|
|
6829
|
+
* Enables or disables PHP extensions (modules) for the website. Use the Get PHP details endpoint to check the current extension states before changing them.
|
|
6830
|
+
* @summary Update PHP extensions
|
|
6831
|
+
* @param {string} username
|
|
6832
|
+
* @param {string} domain Domain name
|
|
6833
|
+
* @param {HostingV1PhpUpdatePhpExtensionsRequest} hostingV1PhpUpdatePhpExtensionsRequest
|
|
6834
|
+
* @param {*} [options] Override http request option.
|
|
6835
|
+
* @throws {RequiredError}
|
|
6836
|
+
*/
|
|
6837
|
+
updatePHPExtensionsV1(username, domain, hostingV1PhpUpdatePhpExtensionsRequest, options) {
|
|
6838
|
+
return localVarFp.updatePHPExtensionsV1(username, domain, hostingV1PhpUpdatePhpExtensionsRequest, options).then((request) => request(axios, basePath));
|
|
6839
|
+
},
|
|
6840
|
+
/**
|
|
6841
|
+
* Updates PHP options for the website (e.g. `memory_limit`, `max_execution_time`, `upload_max_filesize`). Only provide the options you want to change, inside the `options` object. Values above the account plan limit are silently capped to that limit, so the request can succeed with a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.
|
|
6842
|
+
* @summary Update PHP options
|
|
6843
|
+
* @param {string} username
|
|
6844
|
+
* @param {string} domain Domain name
|
|
6845
|
+
* @param {HostingV1PhpUpdatePhpOptionsRequest} hostingV1PhpUpdatePhpOptionsRequest
|
|
6846
|
+
* @param {*} [options] Override http request option.
|
|
6847
|
+
* @throws {RequiredError}
|
|
6848
|
+
*/
|
|
6849
|
+
updatePHPOptionsV1(username, domain, hostingV1PhpUpdatePhpOptionsRequest, options) {
|
|
6850
|
+
return localVarFp.updatePHPOptionsV1(username, domain, hostingV1PhpUpdatePhpOptionsRequest, options).then((request) => request(axios, basePath));
|
|
6851
|
+
},
|
|
6852
|
+
/**
|
|
6853
|
+
* Changes the PHP version of the website. Use the Get PHP details endpoint to see the versions available for the website.
|
|
6854
|
+
* @summary Update PHP version
|
|
6855
|
+
* @param {string} username
|
|
6856
|
+
* @param {string} domain Domain name
|
|
6857
|
+
* @param {HostingV1PhpUpdatePhpVersionRequest} hostingV1PhpUpdatePhpVersionRequest
|
|
6858
|
+
* @param {*} [options] Override http request option.
|
|
6859
|
+
* @throws {RequiredError}
|
|
6860
|
+
*/
|
|
6861
|
+
updatePHPVersionV1(username, domain, hostingV1PhpUpdatePhpVersionRequest, options) {
|
|
6862
|
+
return localVarFp.updatePHPVersionV1(username, domain, hostingV1PhpUpdatePhpVersionRequest, options).then((request) => request(axios, basePath));
|
|
6863
|
+
},
|
|
6864
|
+
};
|
|
6865
|
+
};
|
|
6866
|
+
/**
|
|
6867
|
+
* HostingPHPApi - object-oriented interface
|
|
6868
|
+
* @export
|
|
6869
|
+
* @class HostingPHPApi
|
|
6870
|
+
* @extends {BaseAPI}
|
|
6871
|
+
*/
|
|
6872
|
+
export class HostingPHPApi extends BaseAPI {
|
|
6873
|
+
/**
|
|
6874
|
+
* Returns the full PHP configuration for the website: current version, available versions (supported and unsupported), enabled/disabled extensions, options with their current value, default, type and the plan limit (`max`), and conflicting extension groups. Use it to check the current PHP setup before updating the version, extensions or options.
|
|
6875
|
+
* @summary Get PHP details
|
|
6876
|
+
* @param {string} username
|
|
6877
|
+
* @param {string} domain Domain name
|
|
6878
|
+
* @param {*} [options] Override http request option.
|
|
6879
|
+
* @throws {RequiredError}
|
|
6880
|
+
* @memberof HostingPHPApi
|
|
6881
|
+
*/
|
|
6882
|
+
getPHPDetailsV1(username, domain, options) {
|
|
6883
|
+
return HostingPHPApiFp(this.configuration).getPHPDetailsV1(username, domain, options).then((request) => request(this.axios, this.basePath));
|
|
6884
|
+
}
|
|
6885
|
+
/**
|
|
6886
|
+
* Returns the full phpinfo page (HTML) for the website. Use it to debug PHP issues or inspect the complete PHP environment of the website.
|
|
6887
|
+
* @summary Get PHP info
|
|
6888
|
+
* @param {string} username
|
|
6889
|
+
* @param {string} domain Domain name
|
|
6890
|
+
* @param {*} [options] Override http request option.
|
|
6891
|
+
* @throws {RequiredError}
|
|
6892
|
+
* @memberof HostingPHPApi
|
|
6893
|
+
*/
|
|
6894
|
+
getPHPInfoV1(username, domain, options) {
|
|
6895
|
+
return HostingPHPApiFp(this.configuration).getPHPInfoV1(username, domain, options).then((request) => request(this.axios, this.basePath));
|
|
6896
|
+
}
|
|
6897
|
+
/**
|
|
6898
|
+
* Resets all PHP extensions of the website to their default state. Use it to recover from extension conflicts or restore the original configuration.
|
|
6899
|
+
* @summary Reset PHP extensions
|
|
6900
|
+
* @param {string} username
|
|
6901
|
+
* @param {string} domain Domain name
|
|
6902
|
+
* @param {*} [options] Override http request option.
|
|
6903
|
+
* @throws {RequiredError}
|
|
6904
|
+
* @memberof HostingPHPApi
|
|
6905
|
+
*/
|
|
6906
|
+
resetPHPExtensionsV1(username, domain, options) {
|
|
6907
|
+
return HostingPHPApiFp(this.configuration).resetPHPExtensionsV1(username, domain, options).then((request) => request(this.axios, this.basePath));
|
|
6908
|
+
}
|
|
6909
|
+
/**
|
|
6910
|
+
* Enables or disables PHP extensions (modules) for the website. Use the Get PHP details endpoint to check the current extension states before changing them.
|
|
6911
|
+
* @summary Update PHP extensions
|
|
6912
|
+
* @param {string} username
|
|
6913
|
+
* @param {string} domain Domain name
|
|
6914
|
+
* @param {HostingV1PhpUpdatePhpExtensionsRequest} hostingV1PhpUpdatePhpExtensionsRequest
|
|
6915
|
+
* @param {*} [options] Override http request option.
|
|
6916
|
+
* @throws {RequiredError}
|
|
6917
|
+
* @memberof HostingPHPApi
|
|
6918
|
+
*/
|
|
6919
|
+
updatePHPExtensionsV1(username, domain, hostingV1PhpUpdatePhpExtensionsRequest, options) {
|
|
6920
|
+
return HostingPHPApiFp(this.configuration).updatePHPExtensionsV1(username, domain, hostingV1PhpUpdatePhpExtensionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6921
|
+
}
|
|
6922
|
+
/**
|
|
6923
|
+
* Updates PHP options for the website (e.g. `memory_limit`, `max_execution_time`, `upload_max_filesize`). Only provide the options you want to change, inside the `options` object. Values above the account plan limit are silently capped to that limit, so the request can succeed with a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.
|
|
6924
|
+
* @summary Update PHP options
|
|
6925
|
+
* @param {string} username
|
|
6926
|
+
* @param {string} domain Domain name
|
|
6927
|
+
* @param {HostingV1PhpUpdatePhpOptionsRequest} hostingV1PhpUpdatePhpOptionsRequest
|
|
6928
|
+
* @param {*} [options] Override http request option.
|
|
6929
|
+
* @throws {RequiredError}
|
|
6930
|
+
* @memberof HostingPHPApi
|
|
6931
|
+
*/
|
|
6932
|
+
updatePHPOptionsV1(username, domain, hostingV1PhpUpdatePhpOptionsRequest, options) {
|
|
6933
|
+
return HostingPHPApiFp(this.configuration).updatePHPOptionsV1(username, domain, hostingV1PhpUpdatePhpOptionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6934
|
+
}
|
|
6935
|
+
/**
|
|
6936
|
+
* Changes the PHP version of the website. Use the Get PHP details endpoint to see the versions available for the website.
|
|
6937
|
+
* @summary Update PHP version
|
|
6938
|
+
* @param {string} username
|
|
6939
|
+
* @param {string} domain Domain name
|
|
6940
|
+
* @param {HostingV1PhpUpdatePhpVersionRequest} hostingV1PhpUpdatePhpVersionRequest
|
|
6941
|
+
* @param {*} [options] Override http request option.
|
|
6942
|
+
* @throws {RequiredError}
|
|
6943
|
+
* @memberof HostingPHPApi
|
|
6944
|
+
*/
|
|
6945
|
+
updatePHPVersionV1(username, domain, hostingV1PhpUpdatePhpVersionRequest, options) {
|
|
6946
|
+
return HostingPHPApiFp(this.configuration).updatePHPVersionV1(username, domain, hostingV1PhpUpdatePhpVersionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6947
|
+
}
|
|
6948
|
+
}
|
|
6441
6949
|
/**
|
|
6442
6950
|
* HostingWebsitesApi - axios parameter creator
|
|
6443
6951
|
* @export
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.2.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: 1.
|
|
6
|
+
* API Version: 1.2.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/esm/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.2.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/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.2.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: 1.
|
|
4
|
+
* API Version: 1.2.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: 1.
|
|
6
|
+
* API Version: 1.2.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/1.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.2.0" }, (_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: 1.
|
|
4
|
+
* API Version: 1.2.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: 1.
|
|
6
|
+
* API Version: 1.2.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: 1.
|
|
4
|
+
* API Version: 1.2.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: 1.
|
|
7
|
+
* API Version: 1.2.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
|