hostinger-api-sdk 2.6.2 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/base.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.6.1
6
+ * API Version: 2.7.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/common.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.6.1
6
+ * API Version: 2.7.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 2.6.1
6
+ * API Version: 2.7.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -48,7 +48,7 @@ export class Configuration {
48
48
  this.baseOptions = {
49
49
  ...param.baseOptions,
50
50
  headers: {
51
- 'User-Agent': "hostinger-typescript-sdk/2.6.2",
51
+ 'User-Agent': "hostinger-typescript-sdk/2.7.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: 2.6.1
4
+ * API Version: 2.7.0
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -6750,6 +6750,215 @@ export interface EcommerceV1VariantVariantResponseResource {
6750
6750
  */
6751
6751
  'data': EcommerceV1VariantVariantResource;
6752
6752
  }
6753
+ /**
6754
+ *
6755
+ * @export
6756
+ * @interface GPUV1OsTemplateOsTemplateResource
6757
+ */
6758
+ export interface GPUV1OsTemplateOsTemplateResource {
6759
+ /**
6760
+ * OS template ID
6761
+ * @type {number}
6762
+ * @memberof GPUV1OsTemplateOsTemplateResource
6763
+ */
6764
+ 'id': number;
6765
+ /**
6766
+ *
6767
+ * @type {string}
6768
+ * @memberof GPUV1OsTemplateOsTemplateResource
6769
+ */
6770
+ 'name': string;
6771
+ /**
6772
+ * Knowledge base article about the template
6773
+ * @type {string}
6774
+ * @memberof GPUV1OsTemplateOsTemplateResource
6775
+ */
6776
+ 'kb_url': string;
6777
+ /**
6778
+ * Icon image ID
6779
+ * @type {string}
6780
+ * @memberof GPUV1OsTemplateOsTemplateResource
6781
+ */
6782
+ 'image': string | null;
6783
+ /**
6784
+ * Dark theme icon image ID
6785
+ * @type {string}
6786
+ * @memberof GPUV1OsTemplateOsTemplateResource
6787
+ */
6788
+ 'dark_image_id': string | null;
6789
+ /**
6790
+ * Light theme icon image ID
6791
+ * @type {string}
6792
+ * @memberof GPUV1OsTemplateOsTemplateResource
6793
+ */
6794
+ 'light_image_id': string | null;
6795
+ }
6796
+ /**
6797
+ *
6798
+ * @export
6799
+ * @interface GPUV1PoolPoolGroupResource
6800
+ */
6801
+ export interface GPUV1PoolPoolGroupResource {
6802
+ /**
6803
+ * GPU pool group ID
6804
+ * @type {number}
6805
+ * @memberof GPUV1PoolPoolGroupResource
6806
+ */
6807
+ 'id': number;
6808
+ /**
6809
+ *
6810
+ * @type {string}
6811
+ * @memberof GPUV1PoolPoolGroupResource
6812
+ */
6813
+ 'name': string;
6814
+ /**
6815
+ * Total VRAM in bytes
6816
+ * @type {number}
6817
+ * @memberof GPUV1PoolPoolGroupResource
6818
+ */
6819
+ 'vram': number | null;
6820
+ /**
6821
+ * Whether the group has any available pools
6822
+ * @type {boolean}
6823
+ * @memberof GPUV1PoolPoolGroupResource
6824
+ */
6825
+ 'is_available': boolean;
6826
+ /**
6827
+ * Lowest hourly price of the group instance types, in the requested currency
6828
+ * @type {number}
6829
+ * @memberof GPUV1PoolPoolGroupResource
6830
+ */
6831
+ 'min_price_per_hour': number | null;
6832
+ /**
6833
+ * Array of [`GPU.V1.Pool.PoolResource`](#model/gpuv1poolpoolresource)
6834
+ * @type {Array<GPUV1PoolPoolResource>}
6835
+ * @memberof GPUV1PoolPoolGroupResource
6836
+ */
6837
+ 'pools': Array<GPUV1PoolPoolResource>;
6838
+ }
6839
+ /**
6840
+ *
6841
+ * @export
6842
+ * @interface GPUV1PoolPoolInstanceResource
6843
+ */
6844
+ export interface GPUV1PoolPoolInstanceResource {
6845
+ /**
6846
+ * GPU pool instance type ID
6847
+ * @type {number}
6848
+ * @memberof GPUV1PoolPoolInstanceResource
6849
+ */
6850
+ 'id': number;
6851
+ /**
6852
+ *
6853
+ * @type {string}
6854
+ * @memberof GPUV1PoolPoolInstanceResource
6855
+ */
6856
+ 'name': string;
6857
+ /**
6858
+ *
6859
+ * @type {string}
6860
+ * @memberof GPUV1PoolPoolInstanceResource
6861
+ */
6862
+ 'description': string | null;
6863
+ /**
6864
+ * Number of CPU cores
6865
+ * @type {number}
6866
+ * @memberof GPUV1PoolPoolInstanceResource
6867
+ */
6868
+ 'cpu_cores': number;
6869
+ /**
6870
+ * Total RAM in bytes
6871
+ * @type {number}
6872
+ * @memberof GPUV1PoolPoolInstanceResource
6873
+ */
6874
+ 'ram': number;
6875
+ /**
6876
+ * Total storage in bytes
6877
+ * @type {number}
6878
+ * @memberof GPUV1PoolPoolInstanceResource
6879
+ */
6880
+ 'storage': number;
6881
+ /**
6882
+ * Hourly price in cents (USD)
6883
+ * @type {number}
6884
+ * @memberof GPUV1PoolPoolInstanceResource
6885
+ */
6886
+ 'price_per_hour': number;
6887
+ }
6888
+ /**
6889
+ *
6890
+ * @export
6891
+ * @interface GPUV1PoolPoolResource
6892
+ */
6893
+ export interface GPUV1PoolPoolResource {
6894
+ /**
6895
+ * GPU pool ID
6896
+ * @type {number}
6897
+ * @memberof GPUV1PoolPoolResource
6898
+ */
6899
+ 'id': number;
6900
+ /**
6901
+ *
6902
+ * @type {string}
6903
+ * @memberof GPUV1PoolPoolResource
6904
+ */
6905
+ 'name': string;
6906
+ /**
6907
+ * Number of GPUs
6908
+ * @type {number}
6909
+ * @memberof GPUV1PoolPoolResource
6910
+ */
6911
+ 'gpus': number;
6912
+ /**
6913
+ * Total VRAM in bytes
6914
+ * @type {number}
6915
+ * @memberof GPUV1PoolPoolResource
6916
+ */
6917
+ 'vram': number;
6918
+ /**
6919
+ * Whether the pool has available instances for booking
6920
+ * @type {boolean}
6921
+ * @memberof GPUV1PoolPoolResource
6922
+ */
6923
+ 'is_available': boolean;
6924
+ /**
6925
+ *
6926
+ * @type {GPUV1RegionRegionResource}
6927
+ * @memberof GPUV1PoolPoolResource
6928
+ */
6929
+ 'region': GPUV1RegionRegionResource | null;
6930
+ }
6931
+ /**
6932
+ *
6933
+ * @export
6934
+ * @interface GPUV1RegionRegionResource
6935
+ */
6936
+ export interface GPUV1RegionRegionResource {
6937
+ /**
6938
+ * Region ID
6939
+ * @type {number}
6940
+ * @memberof GPUV1RegionRegionResource
6941
+ */
6942
+ 'id': number;
6943
+ /**
6944
+ * Region name
6945
+ * @type {string}
6946
+ * @memberof GPUV1RegionRegionResource
6947
+ */
6948
+ 'name': string | null;
6949
+ /**
6950
+ *
6951
+ * @type {string}
6952
+ * @memberof GPUV1RegionRegionResource
6953
+ */
6954
+ 'city': string;
6955
+ /**
6956
+ * ISO 3166-1 alpha-2 country code
6957
+ * @type {string}
6958
+ * @memberof GPUV1RegionRegionResource
6959
+ */
6960
+ 'country': string;
6961
+ }
6753
6962
  /**
6754
6963
  *
6755
6964
  * @export
@@ -9473,7 +9682,7 @@ export interface HostingV1OnboardingsStartOnboardingRequest {
9473
9682
  */
9474
9683
  'type': HostingV1OnboardingsStartOnboardingRequestTypeEnum | null;
9475
9684
  /**
9476
- * Customer-owned domain, or a free subdomain you generated through `POST /api/hosting/v1/domains/free-subdomains` (`hosting_domains_generate-free-subdomain`) in the last 24 hours. Cannot start with \"www.\" and can have at most one subdomain level, e.g. `blog.example.com`. Omit or `null` to set the website up on a generated temporary free subdomain.
9685
+ * Customer-owned domain. Omit or `null` to set the website up on a generated temporary free subdomain. Cannot start with \"www.\" and can have at most one subdomain level, e.g. `blog.example.com`. A free subdomain generated through `POST /api/hosting/v1/domains/free-subdomains` in the last 24 hours is also accepted.
9477
9686
  * @type {string}
9478
9687
  * @memberof HostingV1OnboardingsStartOnboardingRequest
9479
9688
  */
@@ -17605,7 +17814,7 @@ export interface WordPressV1InstallationsInstallWordPressRequest {
17605
17814
  */
17606
17815
  'language': string | null;
17607
17816
  /**
17608
- * Installation kind; `default` when omitted. `headless` installs WordPress into the `cms` directory with the Hostinger headless MU plugin and marks the website as a headless WordPress website. Accepted only for a website that is already headless, e.g. one created by `POST /api/hosting/v1/orders/{order_id}/onboardings` (`hosting_websites_start-setup`) with `type: headless_empty`; any other website is rejected with 422.
17817
+ * Installation kind; `default` when omitted. `headless` installs WordPress into the `cms` directory with the Hostinger headless MU plugin and marks the website as a headless WordPress website. Accepted only for a website that is already headless, e.g. one created by `POST /api/hosting/v1/orders/{order_id}/onboardings` (`hosting_websites_create`) with `type: headless_empty`; any other website is rejected with 422.
17609
17818
  * @type {string}
17610
17819
  * @memberof WordPressV1InstallationsInstallWordPressRequest
17611
17820
  */
@@ -24443,6 +24652,219 @@ export declare class EcommerceStoresApi extends BaseAPI {
24443
24652
  */
24444
24653
  getStoresV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceGetStoresV1200Response, any, {}, any>>;
24445
24654
  }
24655
+ /**
24656
+ * GPUCatalogApi - axios parameter creator
24657
+ * @export
24658
+ */
24659
+ export declare const GPUCatalogApiAxiosParamCreator: (configuration?: Configuration) => {
24660
+ /**
24661
+ * Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
24662
+ * @summary Get pool groups
24663
+ * @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, &#x60;USD&#x60; by default
24664
+ * @param {*} [options] Override http request option.
24665
+ * @throws {RequiredError}
24666
+ */
24667
+ getPoolGroupsV1: (currency?: GetPoolGroupsV1CurrencyEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24668
+ /**
24669
+ * Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
24670
+ * @summary Get pool instance types
24671
+ * @param {number} poolId GPU pool ID
24672
+ * @param {*} [options] Override http request option.
24673
+ * @throws {RequiredError}
24674
+ */
24675
+ getPoolInstanceTypesV1: (poolId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24676
+ /**
24677
+ * Retrieve all available GPU pools, ordered by name. A pool serves GPU accelerators of one model from a single region. Use this endpoint to choose a pool before listing its instance types.
24678
+ * @summary Get pool list
24679
+ * @param {*} [options] Override http request option.
24680
+ * @throws {RequiredError}
24681
+ */
24682
+ getPoolListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24683
+ /**
24684
+ * Retrieve the OS templates that can be installed on a specified GPU pool instance type. Use this endpoint to choose the `os_template_id` for a new GPU instance.
24685
+ * @summary Get pool OS templates
24686
+ * @param {number} poolId GPU pool ID
24687
+ * @param {number} poolInstanceId GPU pool instance type ID
24688
+ * @param {*} [options] Override http request option.
24689
+ * @throws {RequiredError}
24690
+ */
24691
+ getPoolOSTemplatesV1: (poolId: number, poolInstanceId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24692
+ };
24693
+ /**
24694
+ * GPUCatalogApi - functional programming interface
24695
+ * @export
24696
+ */
24697
+ export declare const GPUCatalogApiFp: (configuration?: Configuration) => {
24698
+ /**
24699
+ * Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
24700
+ * @summary Get pool groups
24701
+ * @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, &#x60;USD&#x60; by default
24702
+ * @param {*} [options] Override http request option.
24703
+ * @throws {RequiredError}
24704
+ */
24705
+ getPoolGroupsV1(currency?: GetPoolGroupsV1CurrencyEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GPUV1PoolPoolGroupResource>>>;
24706
+ /**
24707
+ * Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
24708
+ * @summary Get pool instance types
24709
+ * @param {number} poolId GPU pool ID
24710
+ * @param {*} [options] Override http request option.
24711
+ * @throws {RequiredError}
24712
+ */
24713
+ getPoolInstanceTypesV1(poolId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GPUV1PoolPoolInstanceResource>>>;
24714
+ /**
24715
+ * Retrieve all available GPU pools, ordered by name. A pool serves GPU accelerators of one model from a single region. Use this endpoint to choose a pool before listing its instance types.
24716
+ * @summary Get pool list
24717
+ * @param {*} [options] Override http request option.
24718
+ * @throws {RequiredError}
24719
+ */
24720
+ getPoolListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GPUV1PoolPoolResource>>>;
24721
+ /**
24722
+ * Retrieve the OS templates that can be installed on a specified GPU pool instance type. Use this endpoint to choose the `os_template_id` for a new GPU instance.
24723
+ * @summary Get pool OS templates
24724
+ * @param {number} poolId GPU pool ID
24725
+ * @param {number} poolInstanceId GPU pool instance type ID
24726
+ * @param {*} [options] Override http request option.
24727
+ * @throws {RequiredError}
24728
+ */
24729
+ getPoolOSTemplatesV1(poolId: number, poolInstanceId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GPUV1OsTemplateOsTemplateResource>>>;
24730
+ };
24731
+ /**
24732
+ * GPUCatalogApi - factory interface
24733
+ * @export
24734
+ */
24735
+ export declare const GPUCatalogApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
24736
+ /**
24737
+ * Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
24738
+ * @summary Get pool groups
24739
+ * @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, &#x60;USD&#x60; by default
24740
+ * @param {*} [options] Override http request option.
24741
+ * @throws {RequiredError}
24742
+ */
24743
+ getPoolGroupsV1(currency?: GetPoolGroupsV1CurrencyEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<GPUV1PoolPoolGroupResource>>;
24744
+ /**
24745
+ * Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
24746
+ * @summary Get pool instance types
24747
+ * @param {number} poolId GPU pool ID
24748
+ * @param {*} [options] Override http request option.
24749
+ * @throws {RequiredError}
24750
+ */
24751
+ getPoolInstanceTypesV1(poolId: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<GPUV1PoolPoolInstanceResource>>;
24752
+ /**
24753
+ * Retrieve all available GPU pools, ordered by name. A pool serves GPU accelerators of one model from a single region. Use this endpoint to choose a pool before listing its instance types.
24754
+ * @summary Get pool list
24755
+ * @param {*} [options] Override http request option.
24756
+ * @throws {RequiredError}
24757
+ */
24758
+ getPoolListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<GPUV1PoolPoolResource>>;
24759
+ /**
24760
+ * Retrieve the OS templates that can be installed on a specified GPU pool instance type. Use this endpoint to choose the `os_template_id` for a new GPU instance.
24761
+ * @summary Get pool OS templates
24762
+ * @param {number} poolId GPU pool ID
24763
+ * @param {number} poolInstanceId GPU pool instance type ID
24764
+ * @param {*} [options] Override http request option.
24765
+ * @throws {RequiredError}
24766
+ */
24767
+ getPoolOSTemplatesV1(poolId: number, poolInstanceId: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<GPUV1OsTemplateOsTemplateResource>>;
24768
+ };
24769
+ /**
24770
+ * GPUCatalogApi - object-oriented interface
24771
+ * @export
24772
+ * @class GPUCatalogApi
24773
+ * @extends {BaseAPI}
24774
+ */
24775
+ export declare class GPUCatalogApi extends BaseAPI {
24776
+ /**
24777
+ * Retrieve GPU pool groups, ordered by name. Each group bundles the pools of one GPU model and lists its currently available pools, whether any of them is available and the lowest hourly price among its instance types. The price is returned even when the group is out of stock. Use this endpoint to show which GPU models can be ordered and from what price.
24778
+ * @summary Get pool groups
24779
+ * @param {GetPoolGroupsV1CurrencyEnum} [currency] Currency of the returned prices, &#x60;USD&#x60; by default
24780
+ * @param {*} [options] Override http request option.
24781
+ * @throws {RequiredError}
24782
+ * @memberof GPUCatalogApi
24783
+ */
24784
+ getPoolGroupsV1(currency?: GetPoolGroupsV1CurrencyEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GPUV1PoolPoolGroupResource[], any, {}, any>>;
24785
+ /**
24786
+ * Retrieve the instance types offered by a specified GPU pool, ordered by CPU core count. Each instance type describes its CPU, memory and storage, and its hourly price. Only instance types that can currently be ordered are returned. Use this endpoint to choose the `pool_instance_id` for a new GPU instance.
24787
+ * @summary Get pool instance types
24788
+ * @param {number} poolId GPU pool ID
24789
+ * @param {*} [options] Override http request option.
24790
+ * @throws {RequiredError}
24791
+ * @memberof GPUCatalogApi
24792
+ */
24793
+ getPoolInstanceTypesV1(poolId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GPUV1PoolPoolInstanceResource[], any, {}, any>>;
24794
+ /**
24795
+ * Retrieve all available GPU pools, ordered by name. A pool serves GPU accelerators of one model from a single region. Use this endpoint to choose a pool before listing its instance types.
24796
+ * @summary Get pool list
24797
+ * @param {*} [options] Override http request option.
24798
+ * @throws {RequiredError}
24799
+ * @memberof GPUCatalogApi
24800
+ */
24801
+ getPoolListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GPUV1PoolPoolResource[], any, {}, any>>;
24802
+ /**
24803
+ * Retrieve the OS templates that can be installed on a specified GPU pool instance type. Use this endpoint to choose the `os_template_id` for a new GPU instance.
24804
+ * @summary Get pool OS templates
24805
+ * @param {number} poolId GPU pool ID
24806
+ * @param {number} poolInstanceId GPU pool instance type ID
24807
+ * @param {*} [options] Override http request option.
24808
+ * @throws {RequiredError}
24809
+ * @memberof GPUCatalogApi
24810
+ */
24811
+ getPoolOSTemplatesV1(poolId: number, poolInstanceId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GPUV1OsTemplateOsTemplateResource[], any, {}, any>>;
24812
+ }
24813
+ /**
24814
+ * @export
24815
+ */
24816
+ export declare const GetPoolGroupsV1CurrencyEnum: {
24817
+ readonly Usd: "USD";
24818
+ readonly Ars: "ARS";
24819
+ readonly Amd: "AMD";
24820
+ readonly Aud: "AUD";
24821
+ readonly Azn: "AZN";
24822
+ readonly Bdt: "BDT";
24823
+ readonly Brl: "BRL";
24824
+ readonly Btc: "BTC";
24825
+ readonly Byn: "BYN";
24826
+ readonly Cad: "CAD";
24827
+ readonly Chf: "CHF";
24828
+ readonly Clp: "CLP";
24829
+ readonly Cny: "CNY";
24830
+ readonly Cop: "COP";
24831
+ readonly Czk: "CZK";
24832
+ readonly Dkk: "DKK";
24833
+ readonly Egp: "EGP";
24834
+ readonly Eur: "EUR";
24835
+ readonly Gbp: "GBP";
24836
+ readonly Gel: "GEL";
24837
+ readonly Hkd: "HKD";
24838
+ readonly Hrk: "HRK";
24839
+ readonly Huf: "HUF";
24840
+ readonly Idr: "IDR";
24841
+ readonly Ils: "ILS";
24842
+ readonly Inr: "INR";
24843
+ readonly Jpy: "JPY";
24844
+ readonly Kgs: "KGS";
24845
+ readonly Krw: "KRW";
24846
+ readonly Kzt: "KZT";
24847
+ readonly Mad: "MAD";
24848
+ readonly Mxn: "MXN";
24849
+ readonly Myr: "MYR";
24850
+ readonly Ngn: "NGN";
24851
+ readonly Nok: "NOK";
24852
+ readonly Nzd: "NZD";
24853
+ readonly Pen: "PEN";
24854
+ readonly Php: "PHP";
24855
+ readonly Pkr: "PKR";
24856
+ readonly Pln: "PLN";
24857
+ readonly Sek: "SEK";
24858
+ readonly Sgd: "SGD";
24859
+ readonly Thb: "THB";
24860
+ readonly Tjs: "TJS";
24861
+ readonly Try: "TRY";
24862
+ readonly Twd: "TWD";
24863
+ readonly Uah: "UAH";
24864
+ readonly Vnd: "VND";
24865
+ readonly Zar: "ZAR";
24866
+ };
24867
+ export type GetPoolGroupsV1CurrencyEnum = typeof GetPoolGroupsV1CurrencyEnum[keyof typeof GetPoolGroupsV1CurrencyEnum];
24446
24868
  /**
24447
24869
  * HorizonsWebsitesApi - axios parameter creator
24448
24870
  * @export
@@ -28095,7 +28517,7 @@ export declare const HostingWebsitesApiAxiosParamCreator: (configuration?: Confi
28095
28517
  */
28096
28518
  listWebsitesV1: (page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, websiteTypes?: Array<ListWebsitesV1WebsiteTypesEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28097
28519
  /**
28098
- * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain. To know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, generate one through `POST /api/hosting/v1/domains/free-subdomains` (`hosting_domains_generate-free-subdomain`) and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
28520
+ * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain; the created setup returns it as `domain`. REST clients that need to know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, can generate one through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
28099
28521
  * @summary Start website setup
28100
28522
  * @param {number} orderId Hosting order ID. List orders to find available IDs.
28101
28523
  * @param {HostingV1OnboardingsStartOnboardingRequest} hostingV1OnboardingsStartOnboardingRequest
@@ -28161,7 +28583,7 @@ export declare const HostingWebsitesApiFp: (configuration?: Configuration) => {
28161
28583
  */
28162
28584
  listWebsitesV1(page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, websiteTypes?: Array<ListWebsitesV1WebsiteTypesEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingListWebsitesV1200Response>>;
28163
28585
  /**
28164
- * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain. To know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, generate one through `POST /api/hosting/v1/domains/free-subdomains` (`hosting_domains_generate-free-subdomain`) and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
28586
+ * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain; the created setup returns it as `domain`. REST clients that need to know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, can generate one through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
28165
28587
  * @summary Start website setup
28166
28588
  * @param {number} orderId Hosting order ID. List orders to find available IDs.
28167
28589
  * @param {HostingV1OnboardingsStartOnboardingRequest} hostingV1OnboardingsStartOnboardingRequest
@@ -28227,7 +28649,7 @@ export declare const HostingWebsitesApiFactory: (configuration?: Configuration,
28227
28649
  */
28228
28650
  listWebsitesV1(page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, websiteTypes?: Array<ListWebsitesV1WebsiteTypesEnum>, options?: RawAxiosRequestConfig): AxiosPromise<HostingListWebsitesV1200Response>;
28229
28651
  /**
28230
- * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain. To know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, generate one through `POST /api/hosting/v1/domains/free-subdomains` (`hosting_domains_generate-free-subdomain`) and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
28652
+ * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain; the created setup returns it as `domain`. REST clients that need to know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, can generate one through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
28231
28653
  * @summary Start website setup
28232
28654
  * @param {number} orderId Hosting order ID. List orders to find available IDs.
28233
28655
  * @param {HostingV1OnboardingsStartOnboardingRequest} hostingV1OnboardingsStartOnboardingRequest
@@ -28300,7 +28722,7 @@ export declare class HostingWebsitesApi extends BaseAPI {
28300
28722
  */
28301
28723
  listWebsitesV1(page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, websiteTypes?: Array<ListWebsitesV1WebsiteTypesEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingListWebsitesV1200Response, any, {}, any>>;
28302
28724
  /**
28303
- * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain. To know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, generate one through `POST /api/hosting/v1/domains/free-subdomains` (`hosting_domains_generate-free-subdomain`) and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
28725
+ * Starts a website setup on a Web or Cloud hosting order and returns the created setup right away; the website itself is provisioned asynchronously. Poll the list website setups endpoint (`hosting_websites_list-setups`) with the `domain` filter every 10 to 15 seconds and wait for `status: completed` before uploading files, deploying or creating databases. Omit `type` for an empty website. `type: wordpress` installs WordPress in the website root with the admin user, email and password from `wordpress`, the domain as the site title, and `en_US` when `wordpress.language` is omitted. The headless types (`headless_empty`, `headless_wordpress`, `headless_ecommerce`, `headless_pocketbase`) create a headless website; `headless_wordpress` additionally installs WordPress into the `cms` directory of the website root with generated credentials. `headless_empty` installs nothing: WordPress can be added later through `POST /api/hosting/v1/accounts/{username}/wordpress/installations` (`wordpress_installations_install`) with `type: headless`. Omit `domain` to set the website up on a generated temporary free subdomain; the created setup returns it as `domain`. REST clients that need to know the free subdomain before the call, so a timed-out call can be looked up and retried on the same domain, can generate one through `POST /api/hosting/v1/domains/free-subdomains` and send it as `domain`. It is accepted for 24 hours, only from the client that generated it. When the order has no hosting account yet, the setup creates one first, in the datacenter given by `datacenter_code` or the order\'s default datacenter when it is omitted. Returns 404 when the order does not exist or is not accessible to the authenticated client, and 409 with a `Retry-After` header while a setup for the same domain is still running.
28304
28726
  * @summary Start website setup
28305
28727
  * @param {number} orderId Hosting order ID. List orders to find available IDs.
28306
28728
  * @param {HostingV1OnboardingsStartOnboardingRequest} hostingV1OnboardingsStartOnboardingRequest
@@ -36238,7 +36660,7 @@ export declare const WordPressInstallationsApiAxiosParamCreator: (configuration?
36238
36660
  */
36239
36661
  importWordPressWebsiteV1: (username: string, domain: string, wordPressV1InstallationsImportWordPressRequest: WordPressV1InstallationsImportWordPressRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
36240
36662
  /**
36241
- * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_start-setup`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_start-setup` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
36663
+ * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_create` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
36242
36664
  * @summary Install WordPress
36243
36665
  * @param {string} username
36244
36666
  * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
@@ -36337,7 +36759,7 @@ export declare const WordPressInstallationsApiFp: (configuration?: Configuration
36337
36759
  */
36338
36760
  importWordPressWebsiteV1(username: string, domain: string, wordPressV1InstallationsImportWordPressRequest: WordPressV1InstallationsImportWordPressRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
36339
36761
  /**
36340
- * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_start-setup`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_start-setup` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
36762
+ * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_create` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
36341
36763
  * @summary Install WordPress
36342
36764
  * @param {string} username
36343
36765
  * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
@@ -36436,7 +36858,7 @@ export declare const WordPressInstallationsApiFactory: (configuration?: Configur
36436
36858
  */
36437
36859
  importWordPressWebsiteV1(username: string, domain: string, wordPressV1InstallationsImportWordPressRequest: WordPressV1InstallationsImportWordPressRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
36438
36860
  /**
36439
- * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_start-setup`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_start-setup` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
36861
+ * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_create` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
36440
36862
  * @summary Install WordPress
36441
36863
  * @param {string} username
36442
36864
  * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
@@ -36542,7 +36964,7 @@ export declare class WordPressInstallationsApi extends BaseAPI {
36542
36964
  */
36543
36965
  importWordPressWebsiteV1(username: string, domain: string, wordPressV1InstallationsImportWordPressRequest: WordPressV1InstallationsImportWordPressRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
36544
36966
  /**
36545
- * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_start-setup`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_start-setup` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
36967
+ * Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/orders/{order_id}/onboardings (`hosting_websites_create`) and poll GET /api/hosting/v1/onboardings (`hosting_websites_list-setups`) with the `domain` filter until its `status` is `completed`. Send `type: headless` to turn a headless website (for example one created by `hosting_websites_create` with `type: headless_empty`) into a headless WordPress website: WordPress is installed into the `cms` directory with the Hostinger headless MU plugin and the website is marked as a headless WordPress website. `directory` is not allowed with it. The target website must already be headless: the headless install rewrites the root `.htaccess`, so on any other website the request is rejected with 422. Call GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations (`wordpress_installations_list`) filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready. Returns 422 when the account already uses all the databases its plan allows, unless `database.name` is an existing database on the account.
36546
36968
  * @summary Install WordPress
36547
36969
  * @param {string} username
36548
36970
  * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest