hostinger-api-sdk 1.4.0 → 1.5.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 CHANGED
@@ -1,9 +1,9 @@
1
- ## hostinger-api-sdk@1.4.0
1
+ ## hostinger-api-sdk@1.5.0
2
2
 
3
3
  For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
4
4
 
5
5
  ### Usage
6
6
 
7
7
  ```
8
- npm install hostinger-api-sdk@1.4.0 --save
8
+ npm install hostinger-api-sdk@1.5.0 --save
9
9
  ```
package/api.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.4.0
6
+ * API Version: 1.5.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
@@ -13477,6 +13477,48 @@ export const HostingNodeJSApiAxiosParamCreator = function (configuration?: Confi
13477
13477
 
13478
13478
 
13479
13479
 
13480
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13481
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13482
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13483
+
13484
+ return {
13485
+ url: toPathString(localVarUrlObj),
13486
+ options: localVarRequestOptions,
13487
+ };
13488
+ },
13489
+ /**
13490
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
13491
+ * @summary Restart Node.js application
13492
+ * @param {string} username
13493
+ * @param {string} domain Domain name
13494
+ * @param {*} [options] Override http request option.
13495
+ * @throws {RequiredError}
13496
+ */
13497
+ restartNodeJsApplicationV1: async (username: string, domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13498
+ // verify required parameter 'username' is not null or undefined
13499
+ assertParamExists('restartNodeJsApplicationV1', 'username', username)
13500
+ // verify required parameter 'domain' is not null or undefined
13501
+ assertParamExists('restartNodeJsApplicationV1', 'domain', domain)
13502
+ const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart`
13503
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)))
13504
+ .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
13505
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13506
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13507
+ let baseOptions;
13508
+ if (configuration) {
13509
+ baseOptions = configuration.baseOptions;
13510
+ }
13511
+
13512
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
13513
+ const localVarHeaderParameter = {} as any;
13514
+ const localVarQueryParameter = {} as any;
13515
+
13516
+ // authentication apiToken required
13517
+ // http bearer authentication required
13518
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13519
+
13520
+
13521
+
13480
13522
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13481
13523
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13482
13524
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -13541,6 +13583,19 @@ export const HostingNodeJSApiFp = function(configuration?: Configuration) {
13541
13583
  const localVarOperationServerBasePath = operationServerMap['HostingNodeJSApi.listNodeJSBuildsV1']?.[0]?.url;
13542
13584
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13543
13585
  },
13586
+ /**
13587
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
13588
+ * @summary Restart Node.js application
13589
+ * @param {string} username
13590
+ * @param {string} domain Domain name
13591
+ * @param {*} [options] Override http request option.
13592
+ * @throws {RequiredError}
13593
+ */
13594
+ async restartNodeJsApplicationV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13595
+ const localVarAxiosArgs = await localVarAxiosParamCreator.restartNodeJsApplicationV1(username, domain, options);
13596
+ const localVarOperationServerBasePath = operationServerMap['HostingNodeJSApi.restartNodeJsApplicationV1']?.[0]?.url;
13597
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13598
+ },
13544
13599
  }
13545
13600
  };
13546
13601
 
@@ -13590,6 +13645,17 @@ export const HostingNodeJSApiFactory = function (configuration?: Configuration,
13590
13645
  listNodeJSBuildsV1(username: string, domain: string, page?: number, perPage?: number, states?: Array<ListNodeJSBuildsV1StatesEnum>, options?: RawAxiosRequestConfig): AxiosPromise<HostingListNodeJSBuildsV1200Response> {
13591
13646
  return localVarFp.listNodeJSBuildsV1(username, domain, page, perPage, states, options).then((request) => request(axios, basePath));
13592
13647
  },
13648
+ /**
13649
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
13650
+ * @summary Restart Node.js application
13651
+ * @param {string} username
13652
+ * @param {string} domain Domain name
13653
+ * @param {*} [options] Override http request option.
13654
+ * @throws {RequiredError}
13655
+ */
13656
+ restartNodeJsApplicationV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13657
+ return localVarFp.restartNodeJsApplicationV1(username, domain, options).then((request) => request(axios, basePath));
13658
+ },
13593
13659
  };
13594
13660
  };
13595
13661
 
@@ -13644,6 +13710,19 @@ export class HostingNodeJSApi extends BaseAPI {
13644
13710
  public listNodeJSBuildsV1(username: string, domain: string, page?: number, perPage?: number, states?: Array<ListNodeJSBuildsV1StatesEnum>, options?: RawAxiosRequestConfig) {
13645
13711
  return HostingNodeJSApiFp(this.configuration).listNodeJSBuildsV1(username, domain, page, perPage, states, options).then((request) => request(this.axios, this.basePath));
13646
13712
  }
13713
+
13714
+ /**
13715
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
13716
+ * @summary Restart Node.js application
13717
+ * @param {string} username
13718
+ * @param {string} domain Domain name
13719
+ * @param {*} [options] Override http request option.
13720
+ * @throws {RequiredError}
13721
+ * @memberof HostingNodeJSApi
13722
+ */
13723
+ public restartNodeJsApplicationV1(username: string, domain: string, options?: RawAxiosRequestConfig) {
13724
+ return HostingNodeJSApiFp(this.configuration).restartNodeJsApplicationV1(username, domain, options).then((request) => request(this.axios, this.basePath));
13725
+ }
13647
13726
  }
13648
13727
 
13649
13728
  /**
package/base.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.4.0
6
+ * API Version: 1.5.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/common.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.4.0
6
+ * API Version: 1.5.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/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.4.0
6
+ * API Version: 1.5.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
@@ -48,7 +48,7 @@ export class Configuration {
48
48
  this.baseOptions = {
49
49
  ...param.baseOptions,
50
50
  headers: {
51
- 'User-Agent': "hostinger-typescript-sdk/1.4.0",
51
+ 'User-Agent': "hostinger-typescript-sdk/1.5.0",
52
52
  ...param.baseOptions?.headers,
53
53
  },
54
54
  };
package/dist/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.4.0
4
+ * API Version: 1.5.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
@@ -9827,6 +9827,15 @@ export declare const HostingNodeJSApiAxiosParamCreator: (configuration?: Configu
9827
9827
  * @throws {RequiredError}
9828
9828
  */
9829
9829
  listNodeJSBuildsV1: (username: string, domain: string, page?: number, perPage?: number, states?: Array<ListNodeJSBuildsV1StatesEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9830
+ /**
9831
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
9832
+ * @summary Restart Node.js application
9833
+ * @param {string} username
9834
+ * @param {string} domain Domain name
9835
+ * @param {*} [options] Override http request option.
9836
+ * @throws {RequiredError}
9837
+ */
9838
+ restartNodeJsApplicationV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9830
9839
  };
9831
9840
  /**
9832
9841
  * HostingNodeJSApi - functional programming interface
@@ -9866,6 +9875,15 @@ export declare const HostingNodeJSApiFp: (configuration?: Configuration) => {
9866
9875
  * @throws {RequiredError}
9867
9876
  */
9868
9877
  listNodeJSBuildsV1(username: string, domain: string, page?: number, perPage?: number, states?: Array<ListNodeJSBuildsV1StatesEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingListNodeJSBuildsV1200Response>>;
9878
+ /**
9879
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
9880
+ * @summary Restart Node.js application
9881
+ * @param {string} username
9882
+ * @param {string} domain Domain name
9883
+ * @param {*} [options] Override http request option.
9884
+ * @throws {RequiredError}
9885
+ */
9886
+ restartNodeJsApplicationV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
9869
9887
  };
9870
9888
  /**
9871
9889
  * HostingNodeJSApi - factory interface
@@ -9905,6 +9923,15 @@ export declare const HostingNodeJSApiFactory: (configuration?: Configuration, ba
9905
9923
  * @throws {RequiredError}
9906
9924
  */
9907
9925
  listNodeJSBuildsV1(username: string, domain: string, page?: number, perPage?: number, states?: Array<ListNodeJSBuildsV1StatesEnum>, options?: RawAxiosRequestConfig): AxiosPromise<HostingListNodeJSBuildsV1200Response>;
9926
+ /**
9927
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
9928
+ * @summary Restart Node.js application
9929
+ * @param {string} username
9930
+ * @param {string} domain Domain name
9931
+ * @param {*} [options] Override http request option.
9932
+ * @throws {RequiredError}
9933
+ */
9934
+ restartNodeJsApplicationV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
9908
9935
  };
9909
9936
  /**
9910
9937
  * HostingNodeJSApi - object-oriented interface
@@ -9949,6 +9976,16 @@ export declare class HostingNodeJSApi extends BaseAPI {
9949
9976
  * @memberof HostingNodeJSApi
9950
9977
  */
9951
9978
  listNodeJSBuildsV1(username: string, domain: string, page?: number, perPage?: number, states?: Array<ListNodeJSBuildsV1StatesEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingListNodeJSBuildsV1200Response, any, {}>>;
9979
+ /**
9980
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
9981
+ * @summary Restart Node.js application
9982
+ * @param {string} username
9983
+ * @param {string} domain Domain name
9984
+ * @param {*} [options] Override http request option.
9985
+ * @throws {RequiredError}
9986
+ * @memberof HostingNodeJSApi
9987
+ */
9988
+ restartNodeJsApplicationV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
9952
9989
  }
9953
9990
  /**
9954
9991
  * @export
package/dist/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 1.4.0
7
+ * API Version: 1.5.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
@@ -6813,6 +6813,42 @@ const HostingNodeJSApiAxiosParamCreator = function (configuration) {
6813
6813
  options: localVarRequestOptions,
6814
6814
  };
6815
6815
  }),
6816
+ /**
6817
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
6818
+ * @summary Restart Node.js application
6819
+ * @param {string} username
6820
+ * @param {string} domain Domain name
6821
+ * @param {*} [options] Override http request option.
6822
+ * @throws {RequiredError}
6823
+ */
6824
+ restartNodeJsApplicationV1: (username_1, domain_1, ...args_1) => __awaiter(this, [username_1, domain_1, ...args_1], void 0, function* (username, domain, options = {}) {
6825
+ // verify required parameter 'username' is not null or undefined
6826
+ (0, common_1.assertParamExists)('restartNodeJsApplicationV1', 'username', username);
6827
+ // verify required parameter 'domain' is not null or undefined
6828
+ (0, common_1.assertParamExists)('restartNodeJsApplicationV1', 'domain', domain);
6829
+ const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart`
6830
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)))
6831
+ .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
6832
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6833
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6834
+ let baseOptions;
6835
+ if (configuration) {
6836
+ baseOptions = configuration.baseOptions;
6837
+ }
6838
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
6839
+ const localVarHeaderParameter = {};
6840
+ const localVarQueryParameter = {};
6841
+ // authentication apiToken required
6842
+ // http bearer authentication required
6843
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6844
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6845
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6846
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6847
+ return {
6848
+ url: (0, common_1.toPathString)(localVarUrlObj),
6849
+ options: localVarRequestOptions,
6850
+ };
6851
+ }),
6816
6852
  };
6817
6853
  };
6818
6854
  exports.HostingNodeJSApiAxiosParamCreator = HostingNodeJSApiAxiosParamCreator;
@@ -6877,6 +6913,22 @@ const HostingNodeJSApiFp = function (configuration) {
6877
6913
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6878
6914
  });
6879
6915
  },
6916
+ /**
6917
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
6918
+ * @summary Restart Node.js application
6919
+ * @param {string} username
6920
+ * @param {string} domain Domain name
6921
+ * @param {*} [options] Override http request option.
6922
+ * @throws {RequiredError}
6923
+ */
6924
+ restartNodeJsApplicationV1(username, domain, options) {
6925
+ return __awaiter(this, void 0, void 0, function* () {
6926
+ var _a, _b;
6927
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.restartNodeJsApplicationV1(username, domain, options);
6928
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['HostingNodeJSApi.restartNodeJsApplicationV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
6929
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6930
+ });
6931
+ },
6880
6932
  };
6881
6933
  };
6882
6934
  exports.HostingNodeJSApiFp = HostingNodeJSApiFp;
@@ -6926,6 +6978,17 @@ const HostingNodeJSApiFactory = function (configuration, basePath, axios) {
6926
6978
  listNodeJSBuildsV1(username, domain, page, perPage, states, options) {
6927
6979
  return localVarFp.listNodeJSBuildsV1(username, domain, page, perPage, states, options).then((request) => request(axios, basePath));
6928
6980
  },
6981
+ /**
6982
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
6983
+ * @summary Restart Node.js application
6984
+ * @param {string} username
6985
+ * @param {string} domain Domain name
6986
+ * @param {*} [options] Override http request option.
6987
+ * @throws {RequiredError}
6988
+ */
6989
+ restartNodeJsApplicationV1(username, domain, options) {
6990
+ return localVarFp.restartNodeJsApplicationV1(username, domain, options).then((request) => request(axios, basePath));
6991
+ },
6929
6992
  };
6930
6993
  };
6931
6994
  exports.HostingNodeJSApiFactory = HostingNodeJSApiFactory;
@@ -6978,6 +7041,18 @@ class HostingNodeJSApi extends base_1.BaseAPI {
6978
7041
  listNodeJSBuildsV1(username, domain, page, perPage, states, options) {
6979
7042
  return (0, exports.HostingNodeJSApiFp)(this.configuration).listNodeJSBuildsV1(username, domain, page, perPage, states, options).then((request) => request(this.axios, this.basePath));
6980
7043
  }
7044
+ /**
7045
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
7046
+ * @summary Restart Node.js application
7047
+ * @param {string} username
7048
+ * @param {string} domain Domain name
7049
+ * @param {*} [options] Override http request option.
7050
+ * @throws {RequiredError}
7051
+ * @memberof HostingNodeJSApi
7052
+ */
7053
+ restartNodeJsApplicationV1(username, domain, options) {
7054
+ return (0, exports.HostingNodeJSApiFp)(this.configuration).restartNodeJsApplicationV1(username, domain, options).then((request) => request(this.axios, this.basePath));
7055
+ }
6981
7056
  }
6982
7057
  exports.HostingNodeJSApi = HostingNodeJSApi;
6983
7058
  /**
package/dist/base.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.4.0
4
+ * API Version: 1.5.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/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 1.4.0
7
+ * API Version: 1.5.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
package/dist/common.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.4.0
4
+ * API Version: 1.5.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/common.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 1.4.0
7
+ * API Version: 1.5.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
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.4.0
4
+ * API Version: 1.5.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
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 1.4.0
7
+ * API Version: 1.5.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
@@ -16,7 +16,7 @@ class Configuration {
16
16
  var _a;
17
17
  this.accessToken = param.accessToken;
18
18
  this.basePath = param.basePath;
19
- this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.4.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
19
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.5.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
20
20
  this.formDataCtor = param.formDataCtor;
21
21
  }
22
22
  /**
package/dist/esm/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.4.0
4
+ * API Version: 1.5.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
@@ -9827,6 +9827,15 @@ export declare const HostingNodeJSApiAxiosParamCreator: (configuration?: Configu
9827
9827
  * @throws {RequiredError}
9828
9828
  */
9829
9829
  listNodeJSBuildsV1: (username: string, domain: string, page?: number, perPage?: number, states?: Array<ListNodeJSBuildsV1StatesEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9830
+ /**
9831
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
9832
+ * @summary Restart Node.js application
9833
+ * @param {string} username
9834
+ * @param {string} domain Domain name
9835
+ * @param {*} [options] Override http request option.
9836
+ * @throws {RequiredError}
9837
+ */
9838
+ restartNodeJsApplicationV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9830
9839
  };
9831
9840
  /**
9832
9841
  * HostingNodeJSApi - functional programming interface
@@ -9866,6 +9875,15 @@ export declare const HostingNodeJSApiFp: (configuration?: Configuration) => {
9866
9875
  * @throws {RequiredError}
9867
9876
  */
9868
9877
  listNodeJSBuildsV1(username: string, domain: string, page?: number, perPage?: number, states?: Array<ListNodeJSBuildsV1StatesEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingListNodeJSBuildsV1200Response>>;
9878
+ /**
9879
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
9880
+ * @summary Restart Node.js application
9881
+ * @param {string} username
9882
+ * @param {string} domain Domain name
9883
+ * @param {*} [options] Override http request option.
9884
+ * @throws {RequiredError}
9885
+ */
9886
+ restartNodeJsApplicationV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
9869
9887
  };
9870
9888
  /**
9871
9889
  * HostingNodeJSApi - factory interface
@@ -9905,6 +9923,15 @@ export declare const HostingNodeJSApiFactory: (configuration?: Configuration, ba
9905
9923
  * @throws {RequiredError}
9906
9924
  */
9907
9925
  listNodeJSBuildsV1(username: string, domain: string, page?: number, perPage?: number, states?: Array<ListNodeJSBuildsV1StatesEnum>, options?: RawAxiosRequestConfig): AxiosPromise<HostingListNodeJSBuildsV1200Response>;
9926
+ /**
9927
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
9928
+ * @summary Restart Node.js application
9929
+ * @param {string} username
9930
+ * @param {string} domain Domain name
9931
+ * @param {*} [options] Override http request option.
9932
+ * @throws {RequiredError}
9933
+ */
9934
+ restartNodeJsApplicationV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
9908
9935
  };
9909
9936
  /**
9910
9937
  * HostingNodeJSApi - object-oriented interface
@@ -9949,6 +9976,16 @@ export declare class HostingNodeJSApi extends BaseAPI {
9949
9976
  * @memberof HostingNodeJSApi
9950
9977
  */
9951
9978
  listNodeJSBuildsV1(username: string, domain: string, page?: number, perPage?: number, states?: Array<ListNodeJSBuildsV1StatesEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingListNodeJSBuildsV1200Response, any, {}>>;
9979
+ /**
9980
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
9981
+ * @summary Restart Node.js application
9982
+ * @param {string} username
9983
+ * @param {string} domain Domain name
9984
+ * @param {*} [options] Override http request option.
9985
+ * @throws {RequiredError}
9986
+ * @memberof HostingNodeJSApi
9987
+ */
9988
+ restartNodeJsApplicationV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
9952
9989
  }
9953
9990
  /**
9954
9991
  * @export
package/dist/esm/api.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.4.0
6
+ * API Version: 1.5.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
@@ -6717,6 +6717,42 @@ export const HostingNodeJSApiAxiosParamCreator = function (configuration) {
6717
6717
  options: localVarRequestOptions,
6718
6718
  };
6719
6719
  }),
6720
+ /**
6721
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
6722
+ * @summary Restart Node.js application
6723
+ * @param {string} username
6724
+ * @param {string} domain Domain name
6725
+ * @param {*} [options] Override http request option.
6726
+ * @throws {RequiredError}
6727
+ */
6728
+ restartNodeJsApplicationV1: (username_1, domain_1, ...args_1) => __awaiter(this, [username_1, domain_1, ...args_1], void 0, function* (username, domain, options = {}) {
6729
+ // verify required parameter 'username' is not null or undefined
6730
+ assertParamExists('restartNodeJsApplicationV1', 'username', username);
6731
+ // verify required parameter 'domain' is not null or undefined
6732
+ assertParamExists('restartNodeJsApplicationV1', 'domain', domain);
6733
+ const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart`
6734
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)))
6735
+ .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
6736
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6737
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6738
+ let baseOptions;
6739
+ if (configuration) {
6740
+ baseOptions = configuration.baseOptions;
6741
+ }
6742
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
6743
+ const localVarHeaderParameter = {};
6744
+ const localVarQueryParameter = {};
6745
+ // authentication apiToken required
6746
+ // http bearer authentication required
6747
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
6748
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6749
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6750
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6751
+ return {
6752
+ url: toPathString(localVarUrlObj),
6753
+ options: localVarRequestOptions,
6754
+ };
6755
+ }),
6720
6756
  };
6721
6757
  };
6722
6758
  /**
@@ -6780,6 +6816,22 @@ export const HostingNodeJSApiFp = function (configuration) {
6780
6816
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6781
6817
  });
6782
6818
  },
6819
+ /**
6820
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
6821
+ * @summary Restart Node.js application
6822
+ * @param {string} username
6823
+ * @param {string} domain Domain name
6824
+ * @param {*} [options] Override http request option.
6825
+ * @throws {RequiredError}
6826
+ */
6827
+ restartNodeJsApplicationV1(username, domain, options) {
6828
+ return __awaiter(this, void 0, void 0, function* () {
6829
+ var _a, _b;
6830
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.restartNodeJsApplicationV1(username, domain, options);
6831
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['HostingNodeJSApi.restartNodeJsApplicationV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
6832
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6833
+ });
6834
+ },
6783
6835
  };
6784
6836
  };
6785
6837
  /**
@@ -6828,6 +6880,17 @@ export const HostingNodeJSApiFactory = function (configuration, basePath, axios)
6828
6880
  listNodeJSBuildsV1(username, domain, page, perPage, states, options) {
6829
6881
  return localVarFp.listNodeJSBuildsV1(username, domain, page, perPage, states, options).then((request) => request(axios, basePath));
6830
6882
  },
6883
+ /**
6884
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
6885
+ * @summary Restart Node.js application
6886
+ * @param {string} username
6887
+ * @param {string} domain Domain name
6888
+ * @param {*} [options] Override http request option.
6889
+ * @throws {RequiredError}
6890
+ */
6891
+ restartNodeJsApplicationV1(username, domain, options) {
6892
+ return localVarFp.restartNodeJsApplicationV1(username, domain, options).then((request) => request(axios, basePath));
6893
+ },
6831
6894
  };
6832
6895
  };
6833
6896
  /**
@@ -6879,6 +6942,18 @@ export class HostingNodeJSApi extends BaseAPI {
6879
6942
  listNodeJSBuildsV1(username, domain, page, perPage, states, options) {
6880
6943
  return HostingNodeJSApiFp(this.configuration).listNodeJSBuildsV1(username, domain, page, perPage, states, options).then((request) => request(this.axios, this.basePath));
6881
6944
  }
6945
+ /**
6946
+ * Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
6947
+ * @summary Restart Node.js application
6948
+ * @param {string} username
6949
+ * @param {string} domain Domain name
6950
+ * @param {*} [options] Override http request option.
6951
+ * @throws {RequiredError}
6952
+ * @memberof HostingNodeJSApi
6953
+ */
6954
+ restartNodeJsApplicationV1(username, domain, options) {
6955
+ return HostingNodeJSApiFp(this.configuration).restartNodeJsApplicationV1(username, domain, options).then((request) => request(this.axios, this.basePath));
6956
+ }
6882
6957
  }
6883
6958
  /**
6884
6959
  * @export
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.4.0
4
+ * API Version: 1.5.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.4.0
6
+ * API Version: 1.5.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.0
4
+ * API Version: 1.5.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.4.0
6
+ * API Version: 1.5.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.0
4
+ * API Version: 1.5.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.4.0
6
+ * API Version: 1.5.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.4.0" }, (_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/1.5.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: 1.4.0
4
+ * API Version: 1.5.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.4.0
6
+ * API Version: 1.5.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.0
4
+ * API Version: 1.5.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.4.0
7
+ * API Version: 1.5.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
@@ -7,6 +7,7 @@ All URIs are relative to *https://developers.hostinger.com*
7
7
  |[**createNodeJSBuildFromArchiveV1**](#createnodejsbuildfromarchivev1) | **POST** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archive | Create NodeJS build from archive|
8
8
  |[**getNodeJSBuildLogsV1**](#getnodejsbuildlogsv1) | **GET** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/{uuid}/logs | Get NodeJS build logs|
9
9
  |[**listNodeJSBuildsV1**](#listnodejsbuildsv1) | **GET** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds | List NodeJS builds|
10
+ |[**restartNodeJsApplicationV1**](#restartnodejsapplicationv1) | **POST** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart | Restart Node.js application|
10
11
 
11
12
  # **createNodeJSBuildFromArchiveV1**
12
13
  > HostingV1NodeJsBuildResource createNodeJSBuildFromArchiveV1(hostingV1NodeJsCreateFromArchiveRequest)
@@ -197,3 +198,59 @@ const { status, data } = await apiInstance.listNodeJSBuildsV1(
197
198
 
198
199
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
199
200
 
201
+ # **restartNodeJsApplicationV1**
202
+ > CommonSuccessEmptyResource restartNodeJsApplicationV1()
203
+
204
+ Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
205
+
206
+ ### Example
207
+
208
+ ```typescript
209
+ import {
210
+ HostingNodeJSApi,
211
+ Configuration
212
+ } from 'hostinger-api-sdk';
213
+
214
+ const configuration = new Configuration();
215
+ const apiInstance = new HostingNodeJSApi(configuration);
216
+
217
+ let username: string; // (default to undefined)
218
+ let domain: string; //Domain name (default to undefined)
219
+
220
+ const { status, data } = await apiInstance.restartNodeJsApplicationV1(
221
+ username,
222
+ domain
223
+ );
224
+ ```
225
+
226
+ ### Parameters
227
+
228
+ |Name | Type | Description | Notes|
229
+ |------------- | ------------- | ------------- | -------------|
230
+ | **username** | [**string**] | | defaults to undefined|
231
+ | **domain** | [**string**] | Domain name | defaults to undefined|
232
+
233
+
234
+ ### Return type
235
+
236
+ **CommonSuccessEmptyResource**
237
+
238
+ ### Authorization
239
+
240
+ [apiToken](../README.md#apiToken)
241
+
242
+ ### HTTP request headers
243
+
244
+ - **Content-Type**: Not defined
245
+ - **Accept**: application/json
246
+
247
+
248
+ ### HTTP response details
249
+ | Status code | Description | Response headers |
250
+ |-------------|-------------|------------------|
251
+ |**200** | Success empty response | - |
252
+ |**401** | Unauthenticated response | - |
253
+ |**500** | Error response | - |
254
+
255
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
256
+
package/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.4.0
6
+ * API Version: 1.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-sdk",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Hostinger API TypeScript SDK",
5
5
  "author": "Hostinger",
6
6
  "repository": {