@hostinger/sdk 1.52.1 → 1.52.2
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 +450 -18
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +317 -16
- package/dist/api.js +250 -15
- 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 +317 -16
- package/dist/esm/api.js +250 -15
- 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/HostingGitApi.md +178 -2
- package/docs/HostingNodeJSApi.md +1 -1
- package/docs/HostingV1GitGitAutoDeploymentSettingsResource.md +31 -0
- package/docs/HostingV1GitGitCommitAuthorResource.md +22 -0
- package/docs/HostingV1GitGitCommitResource.md +24 -0
- package/docs/HostingV1GitUpdateGitAutoDeploymentSettingsRequest.md +30 -0
- package/docs/HostingV1NodeJsSourceOptionsResource.md +11 -0
- package/docs/HostingV1NodeJsStartBuildRequest.md +1 -1
- package/docs/HostingV1NodeJsStartBuildRequestSourceOptions.md +9 -1
- 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.52.
|
|
6
|
+
* API Version: 1.52.2
|
|
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
|
|
@@ -350,7 +350,8 @@ export const HostingV1NodeJsBuildOptionsResourcePackageManagerEnum = {
|
|
|
350
350
|
Pnpm: 'pnpm'
|
|
351
351
|
};
|
|
352
352
|
export const HostingV1NodeJsBuildOptionsResourceSourceTypeEnum = {
|
|
353
|
-
Archive: 'archive'
|
|
353
|
+
Archive: 'archive',
|
|
354
|
+
Git: 'git'
|
|
354
355
|
};
|
|
355
356
|
export const HostingV1NodeJsBuildResourceStateEnum = {
|
|
356
357
|
Pending: 'pending',
|
|
@@ -449,7 +450,8 @@ export const HostingV1NodeJsStartBuildRequestPackageManagerEnum = {
|
|
|
449
450
|
Pnpm: 'pnpm'
|
|
450
451
|
};
|
|
451
452
|
export const HostingV1NodeJsStartBuildRequestSourceTypeEnum = {
|
|
452
|
-
Archive: 'archive'
|
|
453
|
+
Archive: 'archive',
|
|
454
|
+
Git: 'git'
|
|
453
455
|
};
|
|
454
456
|
export const HostingV1NodeJsStoredBuildSettingsResourceAppTypeEnum = {
|
|
455
457
|
CreateReactApp: 'create-react-app',
|
|
@@ -14307,7 +14309,79 @@ export const ListWebsiteFilesAndDirectoriesV1FileTypesEnum = {
|
|
|
14307
14309
|
export const HostingGitApiAxiosParamCreator = function (configuration) {
|
|
14308
14310
|
return {
|
|
14309
14311
|
/**
|
|
14310
|
-
*
|
|
14312
|
+
* Removes the Git auto-deployment settings of the website. Files already deployed stay on the website; pushes stop deploying until settings are saved again. Succeeds also when nothing is configured.
|
|
14313
|
+
* @summary Delete Git auto-deployment settings
|
|
14314
|
+
* @param {string} username
|
|
14315
|
+
* @param {string} domain Domain name
|
|
14316
|
+
* @param {*} [options] Override http request option.
|
|
14317
|
+
* @throws {RequiredError}
|
|
14318
|
+
*/
|
|
14319
|
+
deleteGitAutoDeploymentSettingsV1: (username_1, domain_1, ...args_1) => __awaiter(this, [username_1, domain_1, ...args_1], void 0, function* (username, domain, options = {}) {
|
|
14320
|
+
// verify required parameter 'username' is not null or undefined
|
|
14321
|
+
assertParamExists('deleteGitAutoDeploymentSettingsV1', 'username', username);
|
|
14322
|
+
// verify required parameter 'domain' is not null or undefined
|
|
14323
|
+
assertParamExists('deleteGitAutoDeploymentSettingsV1', 'domain', domain);
|
|
14324
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/git/auto-deployments/settings`
|
|
14325
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
14326
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
14327
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14328
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14329
|
+
let baseOptions;
|
|
14330
|
+
if (configuration) {
|
|
14331
|
+
baseOptions = configuration.baseOptions;
|
|
14332
|
+
}
|
|
14333
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
14334
|
+
const localVarHeaderParameter = {};
|
|
14335
|
+
const localVarQueryParameter = {};
|
|
14336
|
+
// authentication apiToken required
|
|
14337
|
+
// http bearer authentication required
|
|
14338
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
14339
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14340
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14341
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14342
|
+
return {
|
|
14343
|
+
url: toPathString(localVarUrlObj),
|
|
14344
|
+
options: localVarRequestOptions,
|
|
14345
|
+
};
|
|
14346
|
+
}),
|
|
14347
|
+
/**
|
|
14348
|
+
* Returns the Git auto-deployment settings of the website: which repository and branch deploy into which directory, and whether pushes trigger a deployment. `is_enabled` false keeps the repository link but ignores pushes. When the website has no auto-deployment configured every field is null. Save settings with `Update Git auto-deployment settings`.
|
|
14349
|
+
* @summary Get Git auto-deployment settings
|
|
14350
|
+
* @param {string} username
|
|
14351
|
+
* @param {string} domain Domain name
|
|
14352
|
+
* @param {*} [options] Override http request option.
|
|
14353
|
+
* @throws {RequiredError}
|
|
14354
|
+
*/
|
|
14355
|
+
getGitAutoDeploymentSettingsV1: (username_1, domain_1, ...args_1) => __awaiter(this, [username_1, domain_1, ...args_1], void 0, function* (username, domain, options = {}) {
|
|
14356
|
+
// verify required parameter 'username' is not null or undefined
|
|
14357
|
+
assertParamExists('getGitAutoDeploymentSettingsV1', 'username', username);
|
|
14358
|
+
// verify required parameter 'domain' is not null or undefined
|
|
14359
|
+
assertParamExists('getGitAutoDeploymentSettingsV1', 'domain', domain);
|
|
14360
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/git/auto-deployments/settings`
|
|
14361
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
14362
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
14363
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14364
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14365
|
+
let baseOptions;
|
|
14366
|
+
if (configuration) {
|
|
14367
|
+
baseOptions = configuration.baseOptions;
|
|
14368
|
+
}
|
|
14369
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
14370
|
+
const localVarHeaderParameter = {};
|
|
14371
|
+
const localVarQueryParameter = {};
|
|
14372
|
+
// authentication apiToken required
|
|
14373
|
+
// http bearer authentication required
|
|
14374
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
14375
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14376
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14377
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14378
|
+
return {
|
|
14379
|
+
url: toPathString(localVarUrlObj),
|
|
14380
|
+
options: localVarRequestOptions,
|
|
14381
|
+
};
|
|
14382
|
+
}),
|
|
14383
|
+
/**
|
|
14384
|
+
* Lists the repositories the Git installation can access, read live from the provider. Works for github and gitlab installations. Use an active installation: a suspended or pending one is still queried and the call fails with whatever the provider answers. The list is cut at the first 500 repositories in the order the provider returns them; when the account has more, name the repository directly instead of searching this list. `owner`, `name` and a branch (`default_branch` or another one) go into `source_options` of `Start Node.js build` or into `Update Git auto-deployment settings`. Returns 404 when the installation does not belong to the customer. Limited to 10 calls per minute per API client (429 above that).
|
|
14311
14385
|
* @summary List Git installation repositories
|
|
14312
14386
|
* @param {string} uuid Git installation UUID from the List Git installations endpoint
|
|
14313
14387
|
* @param {*} [options] Override http request option.
|
|
@@ -14339,7 +14413,7 @@ export const HostingGitApiAxiosParamCreator = function (configuration) {
|
|
|
14339
14413
|
};
|
|
14340
14414
|
}),
|
|
14341
14415
|
/**
|
|
14342
|
-
* Lists the Git provider accounts the customer has connected. Only installations with status `active` are returned unless the `status` filter says otherwise. An empty list means the customer has no active installation. Check `status=suspended` and `status=pending` as well. If there is none at all, GitHub has to be connected once in hPanel (Websites, Manage, Advanced, Git
|
|
14416
|
+
* Lists the Git provider accounts the customer has connected. Only installations with status `active` are returned unless the `status` filter says otherwise. An empty list means the customer has no active installation. Check `status=suspended` and `status=pending` as well. If there is none at all, a Git provider (GitHub or GitLab) has to be connected once in hPanel (Websites, Manage, Advanced, Git; or Add Website, Node.js Web App, Import Git Repository); this endpoint then lists the new installation. Use `uuid` as the path parameter of `List Git installation repositories`, and as `installation_uuid` in `Start Node.js build` with `source_type` `git` and in `Update Git auto-deployment settings`.
|
|
14343
14417
|
* @summary List Git installations
|
|
14344
14418
|
* @param {ListGitInstallationsV1ProviderEnum} [provider] Filter by Git provider
|
|
14345
14419
|
* @param {ListGitInstallationsV1StatusEnum} [status] Filter by installation status
|
|
@@ -14374,6 +14448,47 @@ export const HostingGitApiAxiosParamCreator = function (configuration) {
|
|
|
14374
14448
|
options: localVarRequestOptions,
|
|
14375
14449
|
};
|
|
14376
14450
|
}),
|
|
14451
|
+
/**
|
|
14452
|
+
* Creates or replaces the Git auto-deployment settings of the website: repository, branch, the directory under the document root to deploy into, and `is_enabled`. Send the full set; `is_enabled` defaults to true and `directory` to the document root. `installation_uuid` must be an installation from `List Git installations` that belongs to the same customer as the website. For PHP and static websites, saving with `is_enabled` true deploys the branch right away and every later push to that branch deploys again. For Node.js and Website Builder websites saving does not clone anything. On a Node.js website start the first deploy with `Start Node.js build` using `source_type` `git`; pushes then trigger new builds with the build settings stored for the website.
|
|
14453
|
+
* @summary Update Git auto-deployment settings
|
|
14454
|
+
* @param {string} username
|
|
14455
|
+
* @param {string} domain Domain name
|
|
14456
|
+
* @param {HostingV1GitUpdateGitAutoDeploymentSettingsRequest} hostingV1GitUpdateGitAutoDeploymentSettingsRequest
|
|
14457
|
+
* @param {*} [options] Override http request option.
|
|
14458
|
+
* @throws {RequiredError}
|
|
14459
|
+
*/
|
|
14460
|
+
updateGitAutoDeploymentSettingsV1: (username_1, domain_1, hostingV1GitUpdateGitAutoDeploymentSettingsRequest_1, ...args_1) => __awaiter(this, [username_1, domain_1, hostingV1GitUpdateGitAutoDeploymentSettingsRequest_1, ...args_1], void 0, function* (username, domain, hostingV1GitUpdateGitAutoDeploymentSettingsRequest, options = {}) {
|
|
14461
|
+
// verify required parameter 'username' is not null or undefined
|
|
14462
|
+
assertParamExists('updateGitAutoDeploymentSettingsV1', 'username', username);
|
|
14463
|
+
// verify required parameter 'domain' is not null or undefined
|
|
14464
|
+
assertParamExists('updateGitAutoDeploymentSettingsV1', 'domain', domain);
|
|
14465
|
+
// verify required parameter 'hostingV1GitUpdateGitAutoDeploymentSettingsRequest' is not null or undefined
|
|
14466
|
+
assertParamExists('updateGitAutoDeploymentSettingsV1', 'hostingV1GitUpdateGitAutoDeploymentSettingsRequest', hostingV1GitUpdateGitAutoDeploymentSettingsRequest);
|
|
14467
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/git/auto-deployments/settings`
|
|
14468
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
14469
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
14470
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14471
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14472
|
+
let baseOptions;
|
|
14473
|
+
if (configuration) {
|
|
14474
|
+
baseOptions = configuration.baseOptions;
|
|
14475
|
+
}
|
|
14476
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
14477
|
+
const localVarHeaderParameter = {};
|
|
14478
|
+
const localVarQueryParameter = {};
|
|
14479
|
+
// authentication apiToken required
|
|
14480
|
+
// http bearer authentication required
|
|
14481
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
14482
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14483
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14484
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14485
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14486
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hostingV1GitUpdateGitAutoDeploymentSettingsRequest, localVarRequestOptions, configuration);
|
|
14487
|
+
return {
|
|
14488
|
+
url: toPathString(localVarUrlObj),
|
|
14489
|
+
options: localVarRequestOptions,
|
|
14490
|
+
};
|
|
14491
|
+
}),
|
|
14377
14492
|
};
|
|
14378
14493
|
};
|
|
14379
14494
|
/**
|
|
@@ -14384,7 +14499,39 @@ export const HostingGitApiFp = function (configuration) {
|
|
|
14384
14499
|
const localVarAxiosParamCreator = HostingGitApiAxiosParamCreator(configuration);
|
|
14385
14500
|
return {
|
|
14386
14501
|
/**
|
|
14387
|
-
*
|
|
14502
|
+
* Removes the Git auto-deployment settings of the website. Files already deployed stay on the website; pushes stop deploying until settings are saved again. Succeeds also when nothing is configured.
|
|
14503
|
+
* @summary Delete Git auto-deployment settings
|
|
14504
|
+
* @param {string} username
|
|
14505
|
+
* @param {string} domain Domain name
|
|
14506
|
+
* @param {*} [options] Override http request option.
|
|
14507
|
+
* @throws {RequiredError}
|
|
14508
|
+
*/
|
|
14509
|
+
deleteGitAutoDeploymentSettingsV1(username, domain, options) {
|
|
14510
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14511
|
+
var _a, _b;
|
|
14512
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteGitAutoDeploymentSettingsV1(username, domain, options);
|
|
14513
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['HostingGitApi.deleteGitAutoDeploymentSettingsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
14514
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14515
|
+
});
|
|
14516
|
+
},
|
|
14517
|
+
/**
|
|
14518
|
+
* Returns the Git auto-deployment settings of the website: which repository and branch deploy into which directory, and whether pushes trigger a deployment. `is_enabled` false keeps the repository link but ignores pushes. When the website has no auto-deployment configured every field is null. Save settings with `Update Git auto-deployment settings`.
|
|
14519
|
+
* @summary Get Git auto-deployment settings
|
|
14520
|
+
* @param {string} username
|
|
14521
|
+
* @param {string} domain Domain name
|
|
14522
|
+
* @param {*} [options] Override http request option.
|
|
14523
|
+
* @throws {RequiredError}
|
|
14524
|
+
*/
|
|
14525
|
+
getGitAutoDeploymentSettingsV1(username, domain, options) {
|
|
14526
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14527
|
+
var _a, _b;
|
|
14528
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getGitAutoDeploymentSettingsV1(username, domain, options);
|
|
14529
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['HostingGitApi.getGitAutoDeploymentSettingsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
14530
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14531
|
+
});
|
|
14532
|
+
},
|
|
14533
|
+
/**
|
|
14534
|
+
* Lists the repositories the Git installation can access, read live from the provider. Works for github and gitlab installations. Use an active installation: a suspended or pending one is still queried and the call fails with whatever the provider answers. The list is cut at the first 500 repositories in the order the provider returns them; when the account has more, name the repository directly instead of searching this list. `owner`, `name` and a branch (`default_branch` or another one) go into `source_options` of `Start Node.js build` or into `Update Git auto-deployment settings`. Returns 404 when the installation does not belong to the customer. Limited to 10 calls per minute per API client (429 above that).
|
|
14388
14535
|
* @summary List Git installation repositories
|
|
14389
14536
|
* @param {string} uuid Git installation UUID from the List Git installations endpoint
|
|
14390
14537
|
* @param {*} [options] Override http request option.
|
|
@@ -14399,7 +14546,7 @@ export const HostingGitApiFp = function (configuration) {
|
|
|
14399
14546
|
});
|
|
14400
14547
|
},
|
|
14401
14548
|
/**
|
|
14402
|
-
* Lists the Git provider accounts the customer has connected. Only installations with status `active` are returned unless the `status` filter says otherwise. An empty list means the customer has no active installation. Check `status=suspended` and `status=pending` as well. If there is none at all, GitHub has to be connected once in hPanel (Websites, Manage, Advanced, Git
|
|
14549
|
+
* Lists the Git provider accounts the customer has connected. Only installations with status `active` are returned unless the `status` filter says otherwise. An empty list means the customer has no active installation. Check `status=suspended` and `status=pending` as well. If there is none at all, a Git provider (GitHub or GitLab) has to be connected once in hPanel (Websites, Manage, Advanced, Git; or Add Website, Node.js Web App, Import Git Repository); this endpoint then lists the new installation. Use `uuid` as the path parameter of `List Git installation repositories`, and as `installation_uuid` in `Start Node.js build` with `source_type` `git` and in `Update Git auto-deployment settings`.
|
|
14403
14550
|
* @summary List Git installations
|
|
14404
14551
|
* @param {ListGitInstallationsV1ProviderEnum} [provider] Filter by Git provider
|
|
14405
14552
|
* @param {ListGitInstallationsV1StatusEnum} [status] Filter by installation status
|
|
@@ -14414,6 +14561,23 @@ export const HostingGitApiFp = function (configuration) {
|
|
|
14414
14561
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14415
14562
|
});
|
|
14416
14563
|
},
|
|
14564
|
+
/**
|
|
14565
|
+
* Creates or replaces the Git auto-deployment settings of the website: repository, branch, the directory under the document root to deploy into, and `is_enabled`. Send the full set; `is_enabled` defaults to true and `directory` to the document root. `installation_uuid` must be an installation from `List Git installations` that belongs to the same customer as the website. For PHP and static websites, saving with `is_enabled` true deploys the branch right away and every later push to that branch deploys again. For Node.js and Website Builder websites saving does not clone anything. On a Node.js website start the first deploy with `Start Node.js build` using `source_type` `git`; pushes then trigger new builds with the build settings stored for the website.
|
|
14566
|
+
* @summary Update Git auto-deployment settings
|
|
14567
|
+
* @param {string} username
|
|
14568
|
+
* @param {string} domain Domain name
|
|
14569
|
+
* @param {HostingV1GitUpdateGitAutoDeploymentSettingsRequest} hostingV1GitUpdateGitAutoDeploymentSettingsRequest
|
|
14570
|
+
* @param {*} [options] Override http request option.
|
|
14571
|
+
* @throws {RequiredError}
|
|
14572
|
+
*/
|
|
14573
|
+
updateGitAutoDeploymentSettingsV1(username, domain, hostingV1GitUpdateGitAutoDeploymentSettingsRequest, options) {
|
|
14574
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14575
|
+
var _a, _b;
|
|
14576
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateGitAutoDeploymentSettingsV1(username, domain, hostingV1GitUpdateGitAutoDeploymentSettingsRequest, options);
|
|
14577
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['HostingGitApi.updateGitAutoDeploymentSettingsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
14578
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14579
|
+
});
|
|
14580
|
+
},
|
|
14417
14581
|
};
|
|
14418
14582
|
};
|
|
14419
14583
|
/**
|
|
@@ -14424,7 +14588,29 @@ export const HostingGitApiFactory = function (configuration, basePath, axios) {
|
|
|
14424
14588
|
const localVarFp = HostingGitApiFp(configuration);
|
|
14425
14589
|
return {
|
|
14426
14590
|
/**
|
|
14427
|
-
*
|
|
14591
|
+
* Removes the Git auto-deployment settings of the website. Files already deployed stay on the website; pushes stop deploying until settings are saved again. Succeeds also when nothing is configured.
|
|
14592
|
+
* @summary Delete Git auto-deployment settings
|
|
14593
|
+
* @param {string} username
|
|
14594
|
+
* @param {string} domain Domain name
|
|
14595
|
+
* @param {*} [options] Override http request option.
|
|
14596
|
+
* @throws {RequiredError}
|
|
14597
|
+
*/
|
|
14598
|
+
deleteGitAutoDeploymentSettingsV1(username, domain, options) {
|
|
14599
|
+
return localVarFp.deleteGitAutoDeploymentSettingsV1(username, domain, options).then((request) => request(axios, basePath));
|
|
14600
|
+
},
|
|
14601
|
+
/**
|
|
14602
|
+
* Returns the Git auto-deployment settings of the website: which repository and branch deploy into which directory, and whether pushes trigger a deployment. `is_enabled` false keeps the repository link but ignores pushes. When the website has no auto-deployment configured every field is null. Save settings with `Update Git auto-deployment settings`.
|
|
14603
|
+
* @summary Get Git auto-deployment settings
|
|
14604
|
+
* @param {string} username
|
|
14605
|
+
* @param {string} domain Domain name
|
|
14606
|
+
* @param {*} [options] Override http request option.
|
|
14607
|
+
* @throws {RequiredError}
|
|
14608
|
+
*/
|
|
14609
|
+
getGitAutoDeploymentSettingsV1(username, domain, options) {
|
|
14610
|
+
return localVarFp.getGitAutoDeploymentSettingsV1(username, domain, options).then((request) => request(axios, basePath));
|
|
14611
|
+
},
|
|
14612
|
+
/**
|
|
14613
|
+
* Lists the repositories the Git installation can access, read live from the provider. Works for github and gitlab installations. Use an active installation: a suspended or pending one is still queried and the call fails with whatever the provider answers. The list is cut at the first 500 repositories in the order the provider returns them; when the account has more, name the repository directly instead of searching this list. `owner`, `name` and a branch (`default_branch` or another one) go into `source_options` of `Start Node.js build` or into `Update Git auto-deployment settings`. Returns 404 when the installation does not belong to the customer. Limited to 10 calls per minute per API client (429 above that).
|
|
14428
14614
|
* @summary List Git installation repositories
|
|
14429
14615
|
* @param {string} uuid Git installation UUID from the List Git installations endpoint
|
|
14430
14616
|
* @param {*} [options] Override http request option.
|
|
@@ -14434,7 +14620,7 @@ export const HostingGitApiFactory = function (configuration, basePath, axios) {
|
|
|
14434
14620
|
return localVarFp.listGitInstallationRepositoriesV1(uuid, options).then((request) => request(axios, basePath));
|
|
14435
14621
|
},
|
|
14436
14622
|
/**
|
|
14437
|
-
* Lists the Git provider accounts the customer has connected. Only installations with status `active` are returned unless the `status` filter says otherwise. An empty list means the customer has no active installation. Check `status=suspended` and `status=pending` as well. If there is none at all, GitHub has to be connected once in hPanel (Websites, Manage, Advanced, Git
|
|
14623
|
+
* Lists the Git provider accounts the customer has connected. Only installations with status `active` are returned unless the `status` filter says otherwise. An empty list means the customer has no active installation. Check `status=suspended` and `status=pending` as well. If there is none at all, a Git provider (GitHub or GitLab) has to be connected once in hPanel (Websites, Manage, Advanced, Git; or Add Website, Node.js Web App, Import Git Repository); this endpoint then lists the new installation. Use `uuid` as the path parameter of `List Git installation repositories`, and as `installation_uuid` in `Start Node.js build` with `source_type` `git` and in `Update Git auto-deployment settings`.
|
|
14438
14624
|
* @summary List Git installations
|
|
14439
14625
|
* @param {ListGitInstallationsV1ProviderEnum} [provider] Filter by Git provider
|
|
14440
14626
|
* @param {ListGitInstallationsV1StatusEnum} [status] Filter by installation status
|
|
@@ -14444,6 +14630,18 @@ export const HostingGitApiFactory = function (configuration, basePath, axios) {
|
|
|
14444
14630
|
listGitInstallationsV1(provider, status, options) {
|
|
14445
14631
|
return localVarFp.listGitInstallationsV1(provider, status, options).then((request) => request(axios, basePath));
|
|
14446
14632
|
},
|
|
14633
|
+
/**
|
|
14634
|
+
* Creates or replaces the Git auto-deployment settings of the website: repository, branch, the directory under the document root to deploy into, and `is_enabled`. Send the full set; `is_enabled` defaults to true and `directory` to the document root. `installation_uuid` must be an installation from `List Git installations` that belongs to the same customer as the website. For PHP and static websites, saving with `is_enabled` true deploys the branch right away and every later push to that branch deploys again. For Node.js and Website Builder websites saving does not clone anything. On a Node.js website start the first deploy with `Start Node.js build` using `source_type` `git`; pushes then trigger new builds with the build settings stored for the website.
|
|
14635
|
+
* @summary Update Git auto-deployment settings
|
|
14636
|
+
* @param {string} username
|
|
14637
|
+
* @param {string} domain Domain name
|
|
14638
|
+
* @param {HostingV1GitUpdateGitAutoDeploymentSettingsRequest} hostingV1GitUpdateGitAutoDeploymentSettingsRequest
|
|
14639
|
+
* @param {*} [options] Override http request option.
|
|
14640
|
+
* @throws {RequiredError}
|
|
14641
|
+
*/
|
|
14642
|
+
updateGitAutoDeploymentSettingsV1(username, domain, hostingV1GitUpdateGitAutoDeploymentSettingsRequest, options) {
|
|
14643
|
+
return localVarFp.updateGitAutoDeploymentSettingsV1(username, domain, hostingV1GitUpdateGitAutoDeploymentSettingsRequest, options).then((request) => request(axios, basePath));
|
|
14644
|
+
},
|
|
14447
14645
|
};
|
|
14448
14646
|
};
|
|
14449
14647
|
/**
|
|
@@ -14454,7 +14652,31 @@ export const HostingGitApiFactory = function (configuration, basePath, axios) {
|
|
|
14454
14652
|
*/
|
|
14455
14653
|
export class HostingGitApi extends BaseAPI {
|
|
14456
14654
|
/**
|
|
14457
|
-
*
|
|
14655
|
+
* Removes the Git auto-deployment settings of the website. Files already deployed stay on the website; pushes stop deploying until settings are saved again. Succeeds also when nothing is configured.
|
|
14656
|
+
* @summary Delete Git auto-deployment settings
|
|
14657
|
+
* @param {string} username
|
|
14658
|
+
* @param {string} domain Domain name
|
|
14659
|
+
* @param {*} [options] Override http request option.
|
|
14660
|
+
* @throws {RequiredError}
|
|
14661
|
+
* @memberof HostingGitApi
|
|
14662
|
+
*/
|
|
14663
|
+
deleteGitAutoDeploymentSettingsV1(username, domain, options) {
|
|
14664
|
+
return HostingGitApiFp(this.configuration).deleteGitAutoDeploymentSettingsV1(username, domain, options).then((request) => request(this.axios, this.basePath));
|
|
14665
|
+
}
|
|
14666
|
+
/**
|
|
14667
|
+
* Returns the Git auto-deployment settings of the website: which repository and branch deploy into which directory, and whether pushes trigger a deployment. `is_enabled` false keeps the repository link but ignores pushes. When the website has no auto-deployment configured every field is null. Save settings with `Update Git auto-deployment settings`.
|
|
14668
|
+
* @summary Get Git auto-deployment settings
|
|
14669
|
+
* @param {string} username
|
|
14670
|
+
* @param {string} domain Domain name
|
|
14671
|
+
* @param {*} [options] Override http request option.
|
|
14672
|
+
* @throws {RequiredError}
|
|
14673
|
+
* @memberof HostingGitApi
|
|
14674
|
+
*/
|
|
14675
|
+
getGitAutoDeploymentSettingsV1(username, domain, options) {
|
|
14676
|
+
return HostingGitApiFp(this.configuration).getGitAutoDeploymentSettingsV1(username, domain, options).then((request) => request(this.axios, this.basePath));
|
|
14677
|
+
}
|
|
14678
|
+
/**
|
|
14679
|
+
* Lists the repositories the Git installation can access, read live from the provider. Works for github and gitlab installations. Use an active installation: a suspended or pending one is still queried and the call fails with whatever the provider answers. The list is cut at the first 500 repositories in the order the provider returns them; when the account has more, name the repository directly instead of searching this list. `owner`, `name` and a branch (`default_branch` or another one) go into `source_options` of `Start Node.js build` or into `Update Git auto-deployment settings`. Returns 404 when the installation does not belong to the customer. Limited to 10 calls per minute per API client (429 above that).
|
|
14458
14680
|
* @summary List Git installation repositories
|
|
14459
14681
|
* @param {string} uuid Git installation UUID from the List Git installations endpoint
|
|
14460
14682
|
* @param {*} [options] Override http request option.
|
|
@@ -14465,7 +14687,7 @@ export class HostingGitApi extends BaseAPI {
|
|
|
14465
14687
|
return HostingGitApiFp(this.configuration).listGitInstallationRepositoriesV1(uuid, options).then((request) => request(this.axios, this.basePath));
|
|
14466
14688
|
}
|
|
14467
14689
|
/**
|
|
14468
|
-
* Lists the Git provider accounts the customer has connected. Only installations with status `active` are returned unless the `status` filter says otherwise. An empty list means the customer has no active installation. Check `status=suspended` and `status=pending` as well. If there is none at all, GitHub has to be connected once in hPanel (Websites, Manage, Advanced, Git
|
|
14690
|
+
* Lists the Git provider accounts the customer has connected. Only installations with status `active` are returned unless the `status` filter says otherwise. An empty list means the customer has no active installation. Check `status=suspended` and `status=pending` as well. If there is none at all, a Git provider (GitHub or GitLab) has to be connected once in hPanel (Websites, Manage, Advanced, Git; or Add Website, Node.js Web App, Import Git Repository); this endpoint then lists the new installation. Use `uuid` as the path parameter of `List Git installation repositories`, and as `installation_uuid` in `Start Node.js build` with `source_type` `git` and in `Update Git auto-deployment settings`.
|
|
14469
14691
|
* @summary List Git installations
|
|
14470
14692
|
* @param {ListGitInstallationsV1ProviderEnum} [provider] Filter by Git provider
|
|
14471
14693
|
* @param {ListGitInstallationsV1StatusEnum} [status] Filter by installation status
|
|
@@ -14476,6 +14698,19 @@ export class HostingGitApi extends BaseAPI {
|
|
|
14476
14698
|
listGitInstallationsV1(provider, status, options) {
|
|
14477
14699
|
return HostingGitApiFp(this.configuration).listGitInstallationsV1(provider, status, options).then((request) => request(this.axios, this.basePath));
|
|
14478
14700
|
}
|
|
14701
|
+
/**
|
|
14702
|
+
* Creates or replaces the Git auto-deployment settings of the website: repository, branch, the directory under the document root to deploy into, and `is_enabled`. Send the full set; `is_enabled` defaults to true and `directory` to the document root. `installation_uuid` must be an installation from `List Git installations` that belongs to the same customer as the website. For PHP and static websites, saving with `is_enabled` true deploys the branch right away and every later push to that branch deploys again. For Node.js and Website Builder websites saving does not clone anything. On a Node.js website start the first deploy with `Start Node.js build` using `source_type` `git`; pushes then trigger new builds with the build settings stored for the website.
|
|
14703
|
+
* @summary Update Git auto-deployment settings
|
|
14704
|
+
* @param {string} username
|
|
14705
|
+
* @param {string} domain Domain name
|
|
14706
|
+
* @param {HostingV1GitUpdateGitAutoDeploymentSettingsRequest} hostingV1GitUpdateGitAutoDeploymentSettingsRequest
|
|
14707
|
+
* @param {*} [options] Override http request option.
|
|
14708
|
+
* @throws {RequiredError}
|
|
14709
|
+
* @memberof HostingGitApi
|
|
14710
|
+
*/
|
|
14711
|
+
updateGitAutoDeploymentSettingsV1(username, domain, hostingV1GitUpdateGitAutoDeploymentSettingsRequest, options) {
|
|
14712
|
+
return HostingGitApiFp(this.configuration).updateGitAutoDeploymentSettingsV1(username, domain, hostingV1GitUpdateGitAutoDeploymentSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14713
|
+
}
|
|
14479
14714
|
}
|
|
14480
14715
|
/**
|
|
14481
14716
|
* @export
|
|
@@ -15032,7 +15267,7 @@ export const HostingNodeJSApiAxiosParamCreator = function (configuration) {
|
|
|
15032
15267
|
};
|
|
15033
15268
|
}),
|
|
15034
15269
|
/**
|
|
15035
|
-
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint.
|
|
15270
|
+
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. With `source_type` `archive`, `source_options.archive_path` must point to an existing archive file on the server (relative to the website document root). Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first. To auto-detect build settings from an archive before starting, first call the `Get Node.js Build Settings from Archive` endpoint. With `source_type` `git`, `source_options` carries `owner`, `repository`, `branch` and `installation_uuid`. Take the installation from `List Git installations` and the owner and repository from `List Git installation repositories`; the branch is cloned at its current head. The installation must belong to the same customer as the website. The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
15036
15271
|
* @summary Start Node.js build
|
|
15037
15272
|
* @param {string} username
|
|
15038
15273
|
* @param {string} domain Domain name
|
|
@@ -15346,7 +15581,7 @@ export const HostingNodeJSApiFp = function (configuration) {
|
|
|
15346
15581
|
});
|
|
15347
15582
|
},
|
|
15348
15583
|
/**
|
|
15349
|
-
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint.
|
|
15584
|
+
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. With `source_type` `archive`, `source_options.archive_path` must point to an existing archive file on the server (relative to the website document root). Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first. To auto-detect build settings from an archive before starting, first call the `Get Node.js Build Settings from Archive` endpoint. With `source_type` `git`, `source_options` carries `owner`, `repository`, `branch` and `installation_uuid`. Take the installation from `List Git installations` and the owner and repository from `List Git installation repositories`; the branch is cloned at its current head. The installation must belong to the same customer as the website. The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
15350
15585
|
* @summary Start Node.js build
|
|
15351
15586
|
* @param {string} username
|
|
15352
15587
|
* @param {string} domain Domain name
|
|
@@ -15547,7 +15782,7 @@ export const HostingNodeJSApiFactory = function (configuration, basePath, axios)
|
|
|
15547
15782
|
return localVarFp.restartNodeJsApplicationV1(username, domain, options).then((request) => request(axios, basePath));
|
|
15548
15783
|
},
|
|
15549
15784
|
/**
|
|
15550
|
-
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint.
|
|
15785
|
+
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. With `source_type` `archive`, `source_options.archive_path` must point to an existing archive file on the server (relative to the website document root). Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first. To auto-detect build settings from an archive before starting, first call the `Get Node.js Build Settings from Archive` endpoint. With `source_type` `git`, `source_options` carries `owner`, `repository`, `branch` and `installation_uuid`. Take the installation from `List Git installations` and the owner and repository from `List Git installation repositories`; the branch is cloned at its current head. The installation must belong to the same customer as the website. The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
15551
15786
|
* @summary Start Node.js build
|
|
15552
15787
|
* @param {string} username
|
|
15553
15788
|
* @param {string} domain Domain name
|
|
@@ -15751,7 +15986,7 @@ export class HostingNodeJSApi extends BaseAPI {
|
|
|
15751
15986
|
return HostingNodeJSApiFp(this.configuration).restartNodeJsApplicationV1(username, domain, options).then((request) => request(this.axios, this.basePath));
|
|
15752
15987
|
}
|
|
15753
15988
|
/**
|
|
15754
|
-
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint.
|
|
15989
|
+
* Start a Node.js build process using files already present on the website\'s file storage. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. With `source_type` `archive`, `source_options.archive_path` must point to an existing archive file on the server (relative to the website document root). Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first. To auto-detect build settings from an archive before starting, first call the `Get Node.js Build Settings from Archive` endpoint. With `source_type` `git`, `source_options` carries `owner`, `repository`, `branch` and `installation_uuid`. Take the installation from `List Git installations` and the owner and repository from `List Git installation repositories`; the branch is cloned at its current head. The installation must belong to the same customer as the website. The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
15755
15990
|
* @summary Start Node.js build
|
|
15756
15991
|
* @param {string} username
|
|
15757
15992
|
* @param {string} domain Domain name
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.52.
|
|
4
|
+
* API Version: 1.52.2
|
|
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.52.
|
|
6
|
+
* API Version: 1.52.2
|
|
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.52.
|
|
4
|
+
* API Version: 1.52.2
|
|
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.52.
|
|
6
|
+
* API Version: 1.52.2
|
|
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.52.
|
|
4
|
+
* API Version: 1.52.2
|
|
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.52.
|
|
6
|
+
* API Version: 1.52.2
|
|
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.52.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.52.2" }, (_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.52.
|
|
4
|
+
* API Version: 1.52.2
|
|
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.52.
|
|
6
|
+
* API Version: 1.52.2
|
|
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.52.
|
|
4
|
+
* API Version: 1.52.2
|
|
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.52.
|
|
7
|
+
* API Version: 1.52.2
|
|
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
|