hostinger-api-sdk 1.29.0 → 1.29.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 CHANGED
@@ -1,9 +1,9 @@
1
- ## hostinger-api-sdk@1.29.0
1
+ ## hostinger-api-sdk@1.29.2
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.29.0 --save
8
+ npm install hostinger-api-sdk@1.29.2 --save
9
9
  ```
package/api.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.30.0
6
+ * API Version: 1.30.1
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
@@ -759,43 +759,6 @@ export interface AgencyHostingV1WebsitesSslCertResource {
759
759
  */
760
760
  'created_at': string;
761
761
  }
762
- /**
763
- *
764
- * @export
765
- * @interface AgencyHostingV1WebsitesWebsiteDeletionResource
766
- */
767
- export interface AgencyHostingV1WebsitesWebsiteDeletionResource {
768
- /**
769
- * Deleted website UID
770
- * @type {string}
771
- * @memberof AgencyHostingV1WebsitesWebsiteDeletionResource
772
- */
773
- 'website_uid': string;
774
- /**
775
- * Deletion status
776
- * @type {string}
777
- * @memberof AgencyHostingV1WebsitesWebsiteDeletionResource
778
- */
779
- 'status': string;
780
- /**
781
- * Human-readable result message
782
- * @type {string}
783
- * @memberof AgencyHostingV1WebsitesWebsiteDeletionResource
784
- */
785
- 'message': string;
786
- /**
787
- *
788
- * @type {string}
789
- * @memberof AgencyHostingV1WebsitesWebsiteDeletionResource
790
- */
791
- 'deleted_at': string;
792
- /**
793
- * Whether background cleanup has been scheduled
794
- * @type {boolean}
795
- * @memberof AgencyHostingV1WebsitesWebsiteDeletionResource
796
- */
797
- 'is_cleanup_scheduled': boolean;
798
- }
799
762
  /**
800
763
  *
801
764
  * @export
@@ -13600,7 +13563,7 @@ export const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration
13600
13563
  };
13601
13564
  },
13602
13565
  /**
13603
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
13566
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
13604
13567
  * @summary Delete Agency Plan website
13605
13568
  * @param {string} websiteUid Agency Plan website UID
13606
13569
  * @param {*} [options] Override http request option.
@@ -13737,13 +13700,13 @@ export const AgencyHostingWebsitesApiFp = function(configuration?: Configuration
13737
13700
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13738
13701
  },
13739
13702
  /**
13740
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
13703
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
13741
13704
  * @summary Delete Agency Plan website
13742
13705
  * @param {string} websiteUid Agency Plan website UID
13743
13706
  * @param {*} [options] Override http request option.
13744
13707
  * @throws {RequiredError}
13745
13708
  */
13746
- async deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WebsitesWebsiteDeletionResource>> {
13709
+ async deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13747
13710
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAgencyPlanWebsiteV1(websiteUid, options);
13748
13711
  const localVarOperationServerBasePath = operationServerMap['AgencyHostingWebsitesApi.deleteAgencyPlanWebsiteV1']?.[0]?.url;
13749
13712
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -13794,13 +13757,13 @@ export const AgencyHostingWebsitesApiFactory = function (configuration?: Configu
13794
13757
  return localVarFp.buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options).then((request) => request(axios, basePath));
13795
13758
  },
13796
13759
  /**
13797
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
13760
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
13798
13761
  * @summary Delete Agency Plan website
13799
13762
  * @param {string} websiteUid Agency Plan website UID
13800
13763
  * @param {*} [options] Override http request option.
13801
13764
  * @throws {RequiredError}
13802
13765
  */
13803
- deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WebsitesWebsiteDeletionResource> {
13766
+ deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13804
13767
  return localVarFp.deleteAgencyPlanWebsiteV1(websiteUid, options).then((request) => request(axios, basePath));
13805
13768
  },
13806
13769
  /**
@@ -13847,7 +13810,7 @@ export class AgencyHostingWebsitesApi extends BaseAPI {
13847
13810
  }
13848
13811
 
13849
13812
  /**
13850
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
13813
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
13851
13814
  * @summary Delete Agency Plan website
13852
13815
  * @param {string} websiteUid Agency Plan website UID
13853
13816
  * @param {*} [options] Override http request option.
package/base.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.30.0
6
+ * API Version: 1.30.1
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.30.0
6
+ * API Version: 1.30.1
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.30.0
6
+ * API Version: 1.30.1
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.29.0",
51
+ 'User-Agent': "hostinger-typescript-sdk/1.29.2",
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.30.0
4
+ * API Version: 1.30.1
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
@@ -743,43 +743,6 @@ export interface AgencyHostingV1WebsitesSslCertResource {
743
743
  */
744
744
  'created_at': string;
745
745
  }
746
- /**
747
- *
748
- * @export
749
- * @interface AgencyHostingV1WebsitesWebsiteDeletionResource
750
- */
751
- export interface AgencyHostingV1WebsitesWebsiteDeletionResource {
752
- /**
753
- * Deleted website UID
754
- * @type {string}
755
- * @memberof AgencyHostingV1WebsitesWebsiteDeletionResource
756
- */
757
- 'website_uid': string;
758
- /**
759
- * Deletion status
760
- * @type {string}
761
- * @memberof AgencyHostingV1WebsitesWebsiteDeletionResource
762
- */
763
- 'status': string;
764
- /**
765
- * Human-readable result message
766
- * @type {string}
767
- * @memberof AgencyHostingV1WebsitesWebsiteDeletionResource
768
- */
769
- 'message': string;
770
- /**
771
- *
772
- * @type {string}
773
- * @memberof AgencyHostingV1WebsitesWebsiteDeletionResource
774
- */
775
- 'deleted_at': string;
776
- /**
777
- * Whether background cleanup has been scheduled
778
- * @type {boolean}
779
- * @memberof AgencyHostingV1WebsitesWebsiteDeletionResource
780
- */
781
- 'is_cleanup_scheduled': boolean;
782
- }
783
746
  /**
784
747
  *
785
748
  * @export
@@ -12405,7 +12368,7 @@ export declare const AgencyHostingWebsitesApiAxiosParamCreator: (configuration?:
12405
12368
  */
12406
12369
  buildAgencyPlanWebsiteNodeJSAssetsV1: (websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12407
12370
  /**
12408
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
12371
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
12409
12372
  * @summary Delete Agency Plan website
12410
12373
  * @param {string} websiteUid Agency Plan website UID
12411
12374
  * @param {*} [options] Override http request option.
@@ -12444,13 +12407,13 @@ export declare const AgencyHostingWebsitesApiFp: (configuration?: Configuration)
12444
12407
  */
12445
12408
  buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
12446
12409
  /**
12447
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
12410
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
12448
12411
  * @summary Delete Agency Plan website
12449
12412
  * @param {string} websiteUid Agency Plan website UID
12450
12413
  * @param {*} [options] Override http request option.
12451
12414
  * @throws {RequiredError}
12452
12415
  */
12453
- deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WebsitesWebsiteDeletionResource>>;
12416
+ deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
12454
12417
  /**
12455
12418
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
12456
12419
  * @summary Get Agency Plan website details
@@ -12483,13 +12446,13 @@ export declare const AgencyHostingWebsitesApiFactory: (configuration?: Configura
12483
12446
  */
12484
12447
  buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
12485
12448
  /**
12486
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
12449
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
12487
12450
  * @summary Delete Agency Plan website
12488
12451
  * @param {string} websiteUid Agency Plan website UID
12489
12452
  * @param {*} [options] Override http request option.
12490
12453
  * @throws {RequiredError}
12491
12454
  */
12492
- deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WebsitesWebsiteDeletionResource>;
12455
+ deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
12493
12456
  /**
12494
12457
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
12495
12458
  * @summary Get Agency Plan website details
@@ -12525,14 +12488,14 @@ export declare class AgencyHostingWebsitesApi extends BaseAPI {
12525
12488
  */
12526
12489
  buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
12527
12490
  /**
12528
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
12491
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
12529
12492
  * @summary Delete Agency Plan website
12530
12493
  * @param {string} websiteUid Agency Plan website UID
12531
12494
  * @param {*} [options] Override http request option.
12532
12495
  * @throws {RequiredError}
12533
12496
  * @memberof AgencyHostingWebsitesApi
12534
12497
  */
12535
- deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgencyHostingV1WebsitesWebsiteDeletionResource, any, {}, any>>;
12498
+ deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
12536
12499
  /**
12537
12500
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
12538
12501
  * @summary Get Agency Plan website details
package/dist/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 1.30.0
7
+ * API Version: 1.30.1
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
@@ -2432,7 +2432,7 @@ const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration) {
2432
2432
  };
2433
2433
  }),
2434
2434
  /**
2435
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
2435
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
2436
2436
  * @summary Delete Agency Plan website
2437
2437
  * @param {string} websiteUid Agency Plan website UID
2438
2438
  * @param {*} [options] Override http request option.
@@ -2554,7 +2554,7 @@ const AgencyHostingWebsitesApiFp = function (configuration) {
2554
2554
  });
2555
2555
  },
2556
2556
  /**
2557
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
2557
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
2558
2558
  * @summary Delete Agency Plan website
2559
2559
  * @param {string} websiteUid Agency Plan website UID
2560
2560
  * @param {*} [options] Override http request option.
@@ -2620,7 +2620,7 @@ const AgencyHostingWebsitesApiFactory = function (configuration, basePath, axios
2620
2620
  return localVarFp.buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options).then((request) => request(axios, basePath));
2621
2621
  },
2622
2622
  /**
2623
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
2623
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
2624
2624
  * @summary Delete Agency Plan website
2625
2625
  * @param {string} websiteUid Agency Plan website UID
2626
2626
  * @param {*} [options] Override http request option.
@@ -2672,7 +2672,7 @@ class AgencyHostingWebsitesApi extends base_1.BaseAPI {
2672
2672
  return (0, exports.AgencyHostingWebsitesApiFp)(this.configuration).buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options).then((request) => request(this.axios, this.basePath));
2673
2673
  }
2674
2674
  /**
2675
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
2675
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
2676
2676
  * @summary Delete Agency Plan website
2677
2677
  * @param {string} websiteUid Agency Plan website UID
2678
2678
  * @param {*} [options] Override http request option.
package/dist/base.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.30.0
4
+ * API Version: 1.30.1
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.30.0
7
+ * API Version: 1.30.1
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.30.0
4
+ * API Version: 1.30.1
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.30.0
7
+ * API Version: 1.30.1
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.30.0
4
+ * API Version: 1.30.1
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.30.0
7
+ * API Version: 1.30.1
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.29.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.29.2" }, (_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.30.0
4
+ * API Version: 1.30.1
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
@@ -743,43 +743,6 @@ export interface AgencyHostingV1WebsitesSslCertResource {
743
743
  */
744
744
  'created_at': string;
745
745
  }
746
- /**
747
- *
748
- * @export
749
- * @interface AgencyHostingV1WebsitesWebsiteDeletionResource
750
- */
751
- export interface AgencyHostingV1WebsitesWebsiteDeletionResource {
752
- /**
753
- * Deleted website UID
754
- * @type {string}
755
- * @memberof AgencyHostingV1WebsitesWebsiteDeletionResource
756
- */
757
- 'website_uid': string;
758
- /**
759
- * Deletion status
760
- * @type {string}
761
- * @memberof AgencyHostingV1WebsitesWebsiteDeletionResource
762
- */
763
- 'status': string;
764
- /**
765
- * Human-readable result message
766
- * @type {string}
767
- * @memberof AgencyHostingV1WebsitesWebsiteDeletionResource
768
- */
769
- 'message': string;
770
- /**
771
- *
772
- * @type {string}
773
- * @memberof AgencyHostingV1WebsitesWebsiteDeletionResource
774
- */
775
- 'deleted_at': string;
776
- /**
777
- * Whether background cleanup has been scheduled
778
- * @type {boolean}
779
- * @memberof AgencyHostingV1WebsitesWebsiteDeletionResource
780
- */
781
- 'is_cleanup_scheduled': boolean;
782
- }
783
746
  /**
784
747
  *
785
748
  * @export
@@ -12405,7 +12368,7 @@ export declare const AgencyHostingWebsitesApiAxiosParamCreator: (configuration?:
12405
12368
  */
12406
12369
  buildAgencyPlanWebsiteNodeJSAssetsV1: (websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12407
12370
  /**
12408
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
12371
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
12409
12372
  * @summary Delete Agency Plan website
12410
12373
  * @param {string} websiteUid Agency Plan website UID
12411
12374
  * @param {*} [options] Override http request option.
@@ -12444,13 +12407,13 @@ export declare const AgencyHostingWebsitesApiFp: (configuration?: Configuration)
12444
12407
  */
12445
12408
  buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
12446
12409
  /**
12447
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
12410
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
12448
12411
  * @summary Delete Agency Plan website
12449
12412
  * @param {string} websiteUid Agency Plan website UID
12450
12413
  * @param {*} [options] Override http request option.
12451
12414
  * @throws {RequiredError}
12452
12415
  */
12453
- deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WebsitesWebsiteDeletionResource>>;
12416
+ deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
12454
12417
  /**
12455
12418
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
12456
12419
  * @summary Get Agency Plan website details
@@ -12483,13 +12446,13 @@ export declare const AgencyHostingWebsitesApiFactory: (configuration?: Configura
12483
12446
  */
12484
12447
  buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
12485
12448
  /**
12486
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
12449
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
12487
12450
  * @summary Delete Agency Plan website
12488
12451
  * @param {string} websiteUid Agency Plan website UID
12489
12452
  * @param {*} [options] Override http request option.
12490
12453
  * @throws {RequiredError}
12491
12454
  */
12492
- deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WebsitesWebsiteDeletionResource>;
12455
+ deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
12493
12456
  /**
12494
12457
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
12495
12458
  * @summary Get Agency Plan website details
@@ -12525,14 +12488,14 @@ export declare class AgencyHostingWebsitesApi extends BaseAPI {
12525
12488
  */
12526
12489
  buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
12527
12490
  /**
12528
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
12491
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
12529
12492
  * @summary Delete Agency Plan website
12530
12493
  * @param {string} websiteUid Agency Plan website UID
12531
12494
  * @param {*} [options] Override http request option.
12532
12495
  * @throws {RequiredError}
12533
12496
  * @memberof AgencyHostingWebsitesApi
12534
12497
  */
12535
- deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgencyHostingV1WebsitesWebsiteDeletionResource, any, {}, any>>;
12498
+ deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
12536
12499
  /**
12537
12500
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
12538
12501
  * @summary Get Agency Plan website details
package/dist/esm/api.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.30.0
6
+ * API Version: 1.30.1
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
@@ -2389,7 +2389,7 @@ export const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration
2389
2389
  };
2390
2390
  }),
2391
2391
  /**
2392
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
2392
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
2393
2393
  * @summary Delete Agency Plan website
2394
2394
  * @param {string} websiteUid Agency Plan website UID
2395
2395
  * @param {*} [options] Override http request option.
@@ -2510,7 +2510,7 @@ export const AgencyHostingWebsitesApiFp = function (configuration) {
2510
2510
  });
2511
2511
  },
2512
2512
  /**
2513
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
2513
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
2514
2514
  * @summary Delete Agency Plan website
2515
2515
  * @param {string} websiteUid Agency Plan website UID
2516
2516
  * @param {*} [options] Override http request option.
@@ -2575,7 +2575,7 @@ export const AgencyHostingWebsitesApiFactory = function (configuration, basePath
2575
2575
  return localVarFp.buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options).then((request) => request(axios, basePath));
2576
2576
  },
2577
2577
  /**
2578
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
2578
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
2579
2579
  * @summary Delete Agency Plan website
2580
2580
  * @param {string} websiteUid Agency Plan website UID
2581
2581
  * @param {*} [options] Override http request option.
@@ -2626,7 +2626,7 @@ export class AgencyHostingWebsitesApi extends BaseAPI {
2626
2626
  return AgencyHostingWebsitesApiFp(this.configuration).buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options).then((request) => request(this.axios, this.basePath));
2627
2627
  }
2628
2628
  /**
2629
- * Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
2629
+ * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
2630
2630
  * @summary Delete Agency Plan website
2631
2631
  * @param {string} websiteUid Agency Plan website UID
2632
2632
  * @param {*} [options] Override http request option.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.30.0
4
+ * API Version: 1.30.1
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.30.0
6
+ * API Version: 1.30.1
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.30.0
4
+ * API Version: 1.30.1
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.30.0
6
+ * API Version: 1.30.1
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.30.0
4
+ * API Version: 1.30.1
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.30.0
6
+ * API Version: 1.30.1
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.29.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.29.2" }, (_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.30.0
4
+ * API Version: 1.30.1
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.30.0
6
+ * API Version: 1.30.1
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.30.0
4
+ * API Version: 1.30.1
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.30.0
7
+ * API Version: 1.30.1
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
@@ -68,9 +68,9 @@ const { status, data } = await apiInstance.buildAgencyPlanWebsiteNodeJSAssetsV1(
68
68
  [[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)
69
69
 
70
70
  # **deleteAgencyPlanWebsiteV1**
71
- > AgencyHostingV1WebsitesWebsiteDeletionResource deleteAgencyPlanWebsiteV1()
71
+ > CommonSuccessEmptyResource deleteAgencyPlanWebsiteV1()
72
72
 
73
- Deletes an Agency Plan website and schedules cleanup of its resources. This action is irreversible. Website files, databases, and linked domains are removed.
73
+ Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
74
74
 
75
75
  ### Example
76
76
 
@@ -99,7 +99,7 @@ const { status, data } = await apiInstance.deleteAgencyPlanWebsiteV1(
99
99
 
100
100
  ### Return type
101
101
 
102
- **AgencyHostingV1WebsitesWebsiteDeletionResource**
102
+ **CommonSuccessEmptyResource**
103
103
 
104
104
  ### Authorization
105
105
 
@@ -114,7 +114,7 @@ const { status, data } = await apiInstance.deleteAgencyPlanWebsiteV1(
114
114
  ### HTTP response details
115
115
  | Status code | Description | Response headers |
116
116
  |-------------|-------------|------------------|
117
- |**200** | Success response | - |
117
+ |**200** | Success empty response | - |
118
118
  |**401** | Unauthenticated response | - |
119
119
  |**500** | Error response | - |
120
120
 
package/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.30.0
6
+ * API Version: 1.30.1
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.29.0",
3
+ "version": "1.29.2",
4
4
  "description": "Hostinger API TypeScript SDK",
5
5
  "author": "Hostinger",
6
6
  "repository": {
@@ -28,7 +28,7 @@
28
28
  "axios": "^1.8.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@types/node": "12.11.5 - 26.1.2",
31
+ "@types/node": "12.11.5 - 26.2.1",
32
32
  "typescript": "^4.0 || ^5.0"
33
33
  }
34
34
  }
@@ -1,28 +0,0 @@
1
- # AgencyHostingV1WebsitesWebsiteDeletionResource
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **website_uid** | **string** | Deleted website UID | [optional] [default to undefined]
9
- **status** | **string** | Deletion status | [optional] [default to undefined]
10
- **message** | **string** | Human-readable result message | [optional] [default to undefined]
11
- **deleted_at** | **string** | | [optional] [default to undefined]
12
- **is_cleanup_scheduled** | **boolean** | Whether background cleanup has been scheduled | [optional] [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { AgencyHostingV1WebsitesWebsiteDeletionResource } from 'hostinger-api-sdk';
18
-
19
- const instance: AgencyHostingV1WebsitesWebsiteDeletionResource = {
20
- website_uid,
21
- status,
22
- message,
23
- deleted_at,
24
- is_cleanup_scheduled,
25
- };
26
- ```
27
-
28
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)