hostinger-api-sdk 1.2.1 → 1.3.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.
Files changed (48) hide show
  1. package/README.md +2 -2
  2. package/api.ts +1917 -85
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +1112 -57
  7. package/dist/api.js +1545 -90
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +2 -2
  14. package/dist/esm/api.d.ts +1112 -57
  15. package/dist/esm/api.js +1516 -82
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +2 -2
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/WordPressAIToolsApi.md +129 -0
  27. package/docs/WordPressInstallationsApi.md +408 -0
  28. package/docs/WordPressLiteSpeedCacheApi.md +121 -0
  29. package/docs/WordPressLoginApi.md +64 -0
  30. package/docs/WordPressMaintenanceApi.md +126 -0
  31. package/docs/WordPressObjectCacheApi.md +126 -0
  32. package/docs/WordPressV1HostingerPluginsAiOptionStatusResource.md +22 -0
  33. package/docs/WordPressV1HostingerPluginsUpdateAiOptionStatusRequest.md +22 -0
  34. package/docs/WordPressV1InstallationsCheckIsValidRequest.md +22 -0
  35. package/docs/WordPressV1InstallationsCheckIsValidResultResource.md +22 -0
  36. package/docs/WordPressV1InstallationsDeleteInstallationRequest.md +22 -0
  37. package/docs/WordPressV1InstallationsJwtTokenResource.md +26 -0
  38. package/docs/WordPressV1InstallationsUpdateInstallationRequest.md +22 -0
  39. package/docs/WordPressV1InstallationsUpdateResource.md +24 -0
  40. package/docs/WordPressV1InstallationsVersionResource.md +22 -0
  41. package/docs/WordPressV1LitespeedLitespeedCacheStatusResource.md +22 -0
  42. package/docs/WordPressV1LoginLoginLinksResource.md +24 -0
  43. package/docs/WordPressV1MaintenanceMaintenanceStatusResource.md +20 -0
  44. package/docs/WordPressV1MaintenanceToggleMaintenanceRequest.md +20 -0
  45. package/docs/WordPressV1MemcachedMemcachedStatusResource.md +20 -0
  46. package/docs/WordPressV1MemcachedToggleMemcachedRequest.md +20 -0
  47. package/index.ts +1 -1
  48. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.2.1
4
+ * API Version: 1.3.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
@@ -5544,6 +5544,106 @@ export interface WordPressV1CommonVulnerabilityResource {
5544
5544
  */
5545
5545
  'direct_url': string;
5546
5546
  }
5547
+ /**
5548
+ *
5549
+ * @export
5550
+ * @interface WordPressV1HostingerPluginsAiOptionStatusResource
5551
+ */
5552
+ export interface WordPressV1HostingerPluginsAiOptionStatusResource {
5553
+ /**
5554
+ * Whether the llms.txt AI option is enabled. Present when the option is requested or when no specific option filter is provided.
5555
+ * @type {boolean}
5556
+ * @memberof WordPressV1HostingerPluginsAiOptionStatusResource
5557
+ */
5558
+ 'is_llmstxt_enabled': boolean | null;
5559
+ /**
5560
+ * Whether the Web2Agent AI option is enabled. Present when the option is requested or when no specific option filter is provided.
5561
+ * @type {boolean}
5562
+ * @memberof WordPressV1HostingerPluginsAiOptionStatusResource
5563
+ */
5564
+ 'is_web2agent_enabled': boolean | null;
5565
+ }
5566
+ /**
5567
+ *
5568
+ * @export
5569
+ * @interface WordPressV1HostingerPluginsUpdateAiOptionStatusRequest
5570
+ */
5571
+ export interface WordPressV1HostingerPluginsUpdateAiOptionStatusRequest {
5572
+ /**
5573
+ * AI option name
5574
+ * @type {string}
5575
+ * @memberof WordPressV1HostingerPluginsUpdateAiOptionStatusRequest
5576
+ */
5577
+ 'option': WordPressV1HostingerPluginsUpdateAiOptionStatusRequestOptionEnum;
5578
+ /**
5579
+ * Enable (true) or disable (false) the AI option.
5580
+ * @type {boolean}
5581
+ * @memberof WordPressV1HostingerPluginsUpdateAiOptionStatusRequest
5582
+ */
5583
+ 'enable': boolean;
5584
+ }
5585
+ export declare const WordPressV1HostingerPluginsUpdateAiOptionStatusRequestOptionEnum: {
5586
+ readonly Llmstxt: "llmstxt";
5587
+ readonly Web2agent: "web2agent";
5588
+ };
5589
+ export type WordPressV1HostingerPluginsUpdateAiOptionStatusRequestOptionEnum = typeof WordPressV1HostingerPluginsUpdateAiOptionStatusRequestOptionEnum[keyof typeof WordPressV1HostingerPluginsUpdateAiOptionStatusRequestOptionEnum];
5590
+ /**
5591
+ *
5592
+ * @export
5593
+ * @interface WordPressV1InstallationsCheckIsValidRequest
5594
+ */
5595
+ export interface WordPressV1InstallationsCheckIsValidRequest {
5596
+ /**
5597
+ * WordPress installation (software) identifiers to validate.
5598
+ * @type {Array<string>}
5599
+ * @memberof WordPressV1InstallationsCheckIsValidRequest
5600
+ */
5601
+ 'software_ids': Array<string>;
5602
+ /**
5603
+ * Force fresh validation without cache. Preferable for troubleshooting purposes.
5604
+ * @type {boolean}
5605
+ * @memberof WordPressV1InstallationsCheckIsValidRequest
5606
+ */
5607
+ 'force': boolean;
5608
+ }
5609
+ /**
5610
+ *
5611
+ * @export
5612
+ * @interface WordPressV1InstallationsCheckIsValidResultResource
5613
+ */
5614
+ export interface WordPressV1InstallationsCheckIsValidResultResource {
5615
+ /**
5616
+ * WordPress installation (software) identifier
5617
+ * @type {string}
5618
+ * @memberof WordPressV1InstallationsCheckIsValidResultResource
5619
+ */
5620
+ 'software_id': string;
5621
+ /**
5622
+ * Whether the WordPress installation is valid and working correctly
5623
+ * @type {boolean}
5624
+ * @memberof WordPressV1InstallationsCheckIsValidResultResource
5625
+ */
5626
+ 'is_valid': boolean;
5627
+ }
5628
+ /**
5629
+ *
5630
+ * @export
5631
+ * @interface WordPressV1InstallationsDeleteInstallationRequest
5632
+ */
5633
+ export interface WordPressV1InstallationsDeleteInstallationRequest {
5634
+ /**
5635
+ * Delete installation files from disk.
5636
+ * @type {boolean}
5637
+ * @memberof WordPressV1InstallationsDeleteInstallationRequest
5638
+ */
5639
+ 'delete_files': boolean;
5640
+ /**
5641
+ * Delete the installation database.
5642
+ * @type {boolean}
5643
+ * @memberof WordPressV1InstallationsDeleteInstallationRequest
5644
+ */
5645
+ 'delete_database': boolean;
5646
+ }
5547
5647
  /**
5548
5648
  *
5549
5649
  * @export
@@ -5655,6 +5755,105 @@ export interface WordPressV1InstallationsInstallWordPressRequestDatabase {
5655
5755
  */
5656
5756
  'password': string | null;
5657
5757
  }
5758
+ /**
5759
+ *
5760
+ * @export
5761
+ * @interface WordPressV1InstallationsJwtTokenResource
5762
+ */
5763
+ export interface WordPressV1InstallationsJwtTokenResource {
5764
+ /**
5765
+ * Signed JWT used to authenticate requests against the WordPress installation
5766
+ * @type {string}
5767
+ * @memberof WordPressV1InstallationsJwtTokenResource
5768
+ */
5769
+ 'token': string;
5770
+ /**
5771
+ * Token lifetime in seconds from the moment it was issued
5772
+ * @type {number}
5773
+ * @memberof WordPressV1InstallationsJwtTokenResource
5774
+ */
5775
+ 'expires_in': number;
5776
+ /**
5777
+ * Date-time at which the token expires, or null when not provided
5778
+ * @type {string}
5779
+ * @memberof WordPressV1InstallationsJwtTokenResource
5780
+ */
5781
+ 'expires_at': string | null;
5782
+ /**
5783
+ * MCP (Model Context Protocol) endpoint URL for the WordPress installation, or null when not provided
5784
+ * @type {string}
5785
+ * @memberof WordPressV1InstallationsJwtTokenResource
5786
+ */
5787
+ 'mcp_url': string | null;
5788
+ }
5789
+ /**
5790
+ *
5791
+ * @export
5792
+ * @interface WordPressV1InstallationsUpdateInstallationRequest
5793
+ */
5794
+ export interface WordPressV1InstallationsUpdateInstallationRequest {
5795
+ /**
5796
+ * Update the minor version only.
5797
+ * @type {boolean}
5798
+ * @memberof WordPressV1InstallationsUpdateInstallationRequest
5799
+ */
5800
+ 'minor': boolean;
5801
+ /**
5802
+ * Update to a specific WordPress core version.
5803
+ * @type {string}
5804
+ * @memberof WordPressV1InstallationsUpdateInstallationRequest
5805
+ */
5806
+ 'version': string | null;
5807
+ }
5808
+ /**
5809
+ *
5810
+ * @export
5811
+ * @interface WordPressV1InstallationsUpdateResource
5812
+ */
5813
+ export interface WordPressV1InstallationsUpdateResource {
5814
+ /**
5815
+ * Available WordPress core version
5816
+ * @type {string}
5817
+ * @memberof WordPressV1InstallationsUpdateResource
5818
+ */
5819
+ 'version': string;
5820
+ /**
5821
+ * Update type
5822
+ * @type {string}
5823
+ * @memberof WordPressV1InstallationsUpdateResource
5824
+ */
5825
+ 'type': WordPressV1InstallationsUpdateResourceTypeEnum;
5826
+ /**
5827
+ * Download URL for the update package
5828
+ * @type {string}
5829
+ * @memberof WordPressV1InstallationsUpdateResource
5830
+ */
5831
+ 'url': string;
5832
+ }
5833
+ export declare const WordPressV1InstallationsUpdateResourceTypeEnum: {
5834
+ readonly Major: "major";
5835
+ readonly Minor: "minor";
5836
+ };
5837
+ export type WordPressV1InstallationsUpdateResourceTypeEnum = typeof WordPressV1InstallationsUpdateResourceTypeEnum[keyof typeof WordPressV1InstallationsUpdateResourceTypeEnum];
5838
+ /**
5839
+ *
5840
+ * @export
5841
+ * @interface WordPressV1InstallationsVersionResource
5842
+ */
5843
+ export interface WordPressV1InstallationsVersionResource {
5844
+ /**
5845
+ * Installed WordPress core version
5846
+ * @type {string}
5847
+ * @memberof WordPressV1InstallationsVersionResource
5848
+ */
5849
+ 'version': string;
5850
+ /**
5851
+ * Known vulnerabilities affecting the installed core version
5852
+ * @type {Array<WordPressV1CommonVulnerabilityResource>}
5853
+ * @memberof WordPressV1InstallationsVersionResource
5854
+ */
5855
+ 'vulnerabilities': Array<WordPressV1CommonVulnerabilityResource>;
5856
+ }
5658
5857
  /**
5659
5858
  *
5660
5859
  * @export
@@ -5734,6 +5933,112 @@ export interface WordPressV1InstallationsWordPressInstallationResource {
5734
5933
  */
5735
5934
  'created_at': string;
5736
5935
  }
5936
+ /**
5937
+ *
5938
+ * @export
5939
+ * @interface WordPressV1LitespeedLitespeedCacheStatusResource
5940
+ */
5941
+ export interface WordPressV1LitespeedLitespeedCacheStatusResource {
5942
+ /**
5943
+ * Whether the LiteSpeed Cache plugin is installed on the WordPress installation
5944
+ * @type {boolean}
5945
+ * @memberof WordPressV1LitespeedLitespeedCacheStatusResource
5946
+ */
5947
+ 'is_installed': boolean;
5948
+ /**
5949
+ * Whether the LiteSpeed Cache plugin is active on the WordPress installation
5950
+ * @type {boolean}
5951
+ * @memberof WordPressV1LitespeedLitespeedCacheStatusResource
5952
+ */
5953
+ 'is_active': boolean;
5954
+ }
5955
+ /**
5956
+ *
5957
+ * @export
5958
+ * @interface WordPressV1LoginLoginLinksResource
5959
+ */
5960
+ export interface WordPressV1LoginLoginLinksResource {
5961
+ /**
5962
+ * Primary auto-login URL for the WordPress installation
5963
+ * @type {string}
5964
+ * @memberof WordPressV1LoginLoginLinksResource
5965
+ */
5966
+ 'login': string | null;
5967
+ /**
5968
+ * Fallback auto-login URL using the temporary Hostinger domain
5969
+ * @type {string}
5970
+ * @memberof WordPressV1LoginLoginLinksResource
5971
+ */
5972
+ 'fallback': string | null;
5973
+ /**
5974
+ * Default WordPress admin URL used when auto-login is unavailable
5975
+ * @type {string}
5976
+ * @memberof WordPressV1LoginLoginLinksResource
5977
+ */
5978
+ 'default': string | null;
5979
+ }
5980
+ /**
5981
+ *
5982
+ * @export
5983
+ * @interface WordPressV1MaintenanceMaintenanceStatusResource
5984
+ */
5985
+ export interface WordPressV1MaintenanceMaintenanceStatusResource {
5986
+ /**
5987
+ * Current maintenance mode status for the WordPress installation
5988
+ * @type {string}
5989
+ * @memberof WordPressV1MaintenanceMaintenanceStatusResource
5990
+ */
5991
+ 'status': WordPressV1MaintenanceMaintenanceStatusResourceStatusEnum;
5992
+ }
5993
+ export declare const WordPressV1MaintenanceMaintenanceStatusResourceStatusEnum: {
5994
+ readonly Enabled: "enabled";
5995
+ readonly Disabled: "disabled";
5996
+ };
5997
+ export type WordPressV1MaintenanceMaintenanceStatusResourceStatusEnum = typeof WordPressV1MaintenanceMaintenanceStatusResourceStatusEnum[keyof typeof WordPressV1MaintenanceMaintenanceStatusResourceStatusEnum];
5998
+ /**
5999
+ *
6000
+ * @export
6001
+ * @interface WordPressV1MaintenanceToggleMaintenanceRequest
6002
+ */
6003
+ export interface WordPressV1MaintenanceToggleMaintenanceRequest {
6004
+ /**
6005
+ * Enable (true) or disable (false) maintenance mode for the WordPress installation.
6006
+ * @type {boolean}
6007
+ * @memberof WordPressV1MaintenanceToggleMaintenanceRequest
6008
+ */
6009
+ 'enabled': boolean;
6010
+ }
6011
+ /**
6012
+ *
6013
+ * @export
6014
+ * @interface WordPressV1MemcachedMemcachedStatusResource
6015
+ */
6016
+ export interface WordPressV1MemcachedMemcachedStatusResource {
6017
+ /**
6018
+ * Current Memcached object cache status for the WordPress installation
6019
+ * @type {string}
6020
+ * @memberof WordPressV1MemcachedMemcachedStatusResource
6021
+ */
6022
+ 'status': WordPressV1MemcachedMemcachedStatusResourceStatusEnum;
6023
+ }
6024
+ export declare const WordPressV1MemcachedMemcachedStatusResourceStatusEnum: {
6025
+ readonly Active: "active";
6026
+ readonly Inactive: "inactive";
6027
+ };
6028
+ export type WordPressV1MemcachedMemcachedStatusResourceStatusEnum = typeof WordPressV1MemcachedMemcachedStatusResourceStatusEnum[keyof typeof WordPressV1MemcachedMemcachedStatusResourceStatusEnum];
6029
+ /**
6030
+ *
6031
+ * @export
6032
+ * @interface WordPressV1MemcachedToggleMemcachedRequest
6033
+ */
6034
+ export interface WordPressV1MemcachedToggleMemcachedRequest {
6035
+ /**
6036
+ * Activate (true) or deactivate (false) the Memcached object cache for the WordPress installation.
6037
+ * @type {boolean}
6038
+ * @memberof WordPressV1MemcachedToggleMemcachedRequest
6039
+ */
6040
+ 'enabled': boolean;
6041
+ }
5737
6042
  /**
5738
6043
  *
5739
6044
  * @export
@@ -12916,118 +13221,868 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
12916
13221
  stopVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
12917
13222
  }
12918
13223
  /**
12919
- * WordPressInstallationsApi - axios parameter creator
13224
+ * WordPressAIToolsApi - axios parameter creator
12920
13225
  * @export
12921
13226
  */
12922
- export declare const WordPressInstallationsApiAxiosParamCreator: (configuration?: Configuration) => {
13227
+ export declare const WordPressAIToolsApiAxiosParamCreator: (configuration?: Configuration) => {
12923
13228
  /**
12924
- * 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/websites and poll GET /api/hosting/v1/websites until it appears. Call GET /api/hosting/v1/wordpress/installations 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 filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.
12925
- * @summary Install WordPress
13229
+ * Enable or disable an AI option for the Hostinger Tools plugin on the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13230
+ * @summary Set AI option status
12926
13231
  * @param {string} username
12927
- * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
13232
+ * @param {string} software WordPress installation (software) identifier
13233
+ * @param {WordPressV1HostingerPluginsUpdateAiOptionStatusRequest} wordPressV1HostingerPluginsUpdateAiOptionStatusRequest
12928
13234
  * @param {*} [options] Override http request option.
12929
13235
  * @throws {RequiredError}
12930
13236
  */
12931
- installWordPressV1: (username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13237
+ setAIOptionStatusV1: (username: string, software: string, wordPressV1HostingerPluginsUpdateAiOptionStatusRequest: WordPressV1HostingerPluginsUpdateAiOptionStatusRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12932
13238
  /**
12933
- * List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
12934
- * @summary List WordPress installations
12935
- * @param {string | null} [username] Filter by specific username
12936
- * @param {string | null} [domain] Filter by domain name (exact match)
12937
- * @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \&quot;owned\&quot;. Use \&quot;all\&quot; to include both owned and managed installations.
13239
+ * Show the current AI option status for the Hostinger Tools plugin on the specified WordPress installation. Filter by `option` to return a single option, or omit it to return all options. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13240
+ * @summary Show AI option status
13241
+ * @param {string} username
13242
+ * @param {string} software WordPress installation (software) identifier
13243
+ * @param {ShowAIOptionStatusV1OptionEnum} [option] Filter the status by a single AI option.
12938
13244
  * @param {*} [options] Override http request option.
12939
13245
  * @throws {RequiredError}
12940
13246
  */
12941
- listWordPressInstallationsV1: (username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13247
+ showAIOptionStatusV1: (username: string, software: string, option?: ShowAIOptionStatusV1OptionEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12942
13248
  };
12943
13249
  /**
12944
- * WordPressInstallationsApi - functional programming interface
13250
+ * WordPressAIToolsApi - functional programming interface
12945
13251
  * @export
12946
13252
  */
12947
- export declare const WordPressInstallationsApiFp: (configuration?: Configuration) => {
13253
+ export declare const WordPressAIToolsApiFp: (configuration?: Configuration) => {
12948
13254
  /**
12949
- * 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/websites and poll GET /api/hosting/v1/websites until it appears. Call GET /api/hosting/v1/wordpress/installations 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 filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.
12950
- * @summary Install WordPress
13255
+ * Enable or disable an AI option for the Hostinger Tools plugin on the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13256
+ * @summary Set AI option status
12951
13257
  * @param {string} username
12952
- * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
13258
+ * @param {string} software WordPress installation (software) identifier
13259
+ * @param {WordPressV1HostingerPluginsUpdateAiOptionStatusRequest} wordPressV1HostingerPluginsUpdateAiOptionStatusRequest
12953
13260
  * @param {*} [options] Override http request option.
12954
13261
  * @throws {RequiredError}
12955
13262
  */
12956
- installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
13263
+ setAIOptionStatusV1(username: string, software: string, wordPressV1HostingerPluginsUpdateAiOptionStatusRequest: WordPressV1HostingerPluginsUpdateAiOptionStatusRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
12957
13264
  /**
12958
- * List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
12959
- * @summary List WordPress installations
12960
- * @param {string | null} [username] Filter by specific username
12961
- * @param {string | null} [domain] Filter by domain name (exact match)
12962
- * @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \&quot;owned\&quot;. Use \&quot;all\&quot; to include both owned and managed installations.
13265
+ * Show the current AI option status for the Hostinger Tools plugin on the specified WordPress installation. Filter by `option` to return a single option, or omit it to return all options. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13266
+ * @summary Show AI option status
13267
+ * @param {string} username
13268
+ * @param {string} software WordPress installation (software) identifier
13269
+ * @param {ShowAIOptionStatusV1OptionEnum} [option] Filter the status by a single AI option.
12963
13270
  * @param {*} [options] Override http request option.
12964
13271
  * @throws {RequiredError}
12965
13272
  */
12966
- listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WordPressV1InstallationsWordPressInstallationResource>>>;
13273
+ showAIOptionStatusV1(username: string, software: string, option?: ShowAIOptionStatusV1OptionEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1HostingerPluginsAiOptionStatusResource>>;
12967
13274
  };
12968
13275
  /**
12969
- * WordPressInstallationsApi - factory interface
13276
+ * WordPressAIToolsApi - factory interface
12970
13277
  * @export
12971
13278
  */
12972
- export declare const WordPressInstallationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13279
+ export declare const WordPressAIToolsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
12973
13280
  /**
12974
- * 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/websites and poll GET /api/hosting/v1/websites until it appears. Call GET /api/hosting/v1/wordpress/installations 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 filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.
12975
- * @summary Install WordPress
13281
+ * Enable or disable an AI option for the Hostinger Tools plugin on the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13282
+ * @summary Set AI option status
12976
13283
  * @param {string} username
12977
- * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
13284
+ * @param {string} software WordPress installation (software) identifier
13285
+ * @param {WordPressV1HostingerPluginsUpdateAiOptionStatusRequest} wordPressV1HostingerPluginsUpdateAiOptionStatusRequest
12978
13286
  * @param {*} [options] Override http request option.
12979
13287
  * @throws {RequiredError}
12980
13288
  */
12981
- installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
13289
+ setAIOptionStatusV1(username: string, software: string, wordPressV1HostingerPluginsUpdateAiOptionStatusRequest: WordPressV1HostingerPluginsUpdateAiOptionStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
12982
13290
  /**
12983
- * List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
12984
- * @summary List WordPress installations
12985
- * @param {string | null} [username] Filter by specific username
12986
- * @param {string | null} [domain] Filter by domain name (exact match)
12987
- * @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \&quot;owned\&quot;. Use \&quot;all\&quot; to include both owned and managed installations.
13291
+ * Show the current AI option status for the Hostinger Tools plugin on the specified WordPress installation. Filter by `option` to return a single option, or omit it to return all options. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13292
+ * @summary Show AI option status
13293
+ * @param {string} username
13294
+ * @param {string} software WordPress installation (software) identifier
13295
+ * @param {ShowAIOptionStatusV1OptionEnum} [option] Filter the status by a single AI option.
12988
13296
  * @param {*} [options] Override http request option.
12989
13297
  * @throws {RequiredError}
12990
13298
  */
12991
- listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<WordPressV1InstallationsWordPressInstallationResource>>;
13299
+ showAIOptionStatusV1(username: string, software: string, option?: ShowAIOptionStatusV1OptionEnum, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1HostingerPluginsAiOptionStatusResource>;
12992
13300
  };
12993
13301
  /**
12994
- * WordPressInstallationsApi - object-oriented interface
13302
+ * WordPressAIToolsApi - object-oriented interface
12995
13303
  * @export
12996
- * @class WordPressInstallationsApi
13304
+ * @class WordPressAIToolsApi
12997
13305
  * @extends {BaseAPI}
12998
13306
  */
12999
- export declare class WordPressInstallationsApi extends BaseAPI {
13307
+ export declare class WordPressAIToolsApi extends BaseAPI {
13000
13308
  /**
13001
- * 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/websites and poll GET /api/hosting/v1/websites until it appears. Call GET /api/hosting/v1/wordpress/installations 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 filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.
13002
- * @summary Install WordPress
13309
+ * Enable or disable an AI option for the Hostinger Tools plugin on the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13310
+ * @summary Set AI option status
13003
13311
  * @param {string} username
13004
- * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
13312
+ * @param {string} software WordPress installation (software) identifier
13313
+ * @param {WordPressV1HostingerPluginsUpdateAiOptionStatusRequest} wordPressV1HostingerPluginsUpdateAiOptionStatusRequest
13005
13314
  * @param {*} [options] Override http request option.
13006
13315
  * @throws {RequiredError}
13007
- * @memberof WordPressInstallationsApi
13316
+ * @memberof WordPressAIToolsApi
13008
13317
  */
13009
- installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
13318
+ setAIOptionStatusV1(username: string, software: string, wordPressV1HostingerPluginsUpdateAiOptionStatusRequest: WordPressV1HostingerPluginsUpdateAiOptionStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
13010
13319
  /**
13011
- * List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
13012
- * @summary List WordPress installations
13013
- * @param {string | null} [username] Filter by specific username
13014
- * @param {string | null} [domain] Filter by domain name (exact match)
13015
- * @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \&quot;owned\&quot;. Use \&quot;all\&quot; to include both owned and managed installations.
13320
+ * Show the current AI option status for the Hostinger Tools plugin on the specified WordPress installation. Filter by `option` to return a single option, or omit it to return all options. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13321
+ * @summary Show AI option status
13322
+ * @param {string} username
13323
+ * @param {string} software WordPress installation (software) identifier
13324
+ * @param {ShowAIOptionStatusV1OptionEnum} [option] Filter the status by a single AI option.
13016
13325
  * @param {*} [options] Override http request option.
13017
13326
  * @throws {RequiredError}
13018
- * @memberof WordPressInstallationsApi
13327
+ * @memberof WordPressAIToolsApi
13019
13328
  */
13020
- listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsWordPressInstallationResource[], any, {}>>;
13329
+ showAIOptionStatusV1(username: string, software: string, option?: ShowAIOptionStatusV1OptionEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1HostingerPluginsAiOptionStatusResource, any, {}>>;
13021
13330
  }
13022
13331
  /**
13023
13332
  * @export
13024
13333
  */
13025
- export declare const ListWordPressInstallationsV1OwnershipEnum: {
13026
- readonly Owned: "owned";
13027
- readonly Managed: "managed";
13028
- readonly All: "all";
13334
+ export declare const ShowAIOptionStatusV1OptionEnum: {
13335
+ readonly Llmstxt: "llmstxt";
13336
+ readonly Web2agent: "web2agent";
13029
13337
  };
13030
- export type ListWordPressInstallationsV1OwnershipEnum = typeof ListWordPressInstallationsV1OwnershipEnum[keyof typeof ListWordPressInstallationsV1OwnershipEnum];
13338
+ export type ShowAIOptionStatusV1OptionEnum = typeof ShowAIOptionStatusV1OptionEnum[keyof typeof ShowAIOptionStatusV1OptionEnum];
13339
+ /**
13340
+ * WordPressInstallationsApi - axios parameter creator
13341
+ * @export
13342
+ */
13343
+ export declare const WordPressInstallationsApiAxiosParamCreator: (configuration?: Configuration) => {
13344
+ /**
13345
+ * Check whether one or more WordPress installations are valid and working correctly. Detects broken installations caused by missing files, broken plugins, themes and similar issues. Provide the WordPress installation (software) identifiers in the body. They can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13346
+ * @summary Check if WordPress installations are valid
13347
+ * @param {string} username
13348
+ * @param {WordPressV1InstallationsCheckIsValidRequest} wordPressV1InstallationsCheckIsValidRequest
13349
+ * @param {*} [options] Override http request option.
13350
+ * @throws {RequiredError}
13351
+ */
13352
+ checkIfWordPressInstallationsAreValidV1: (username: string, wordPressV1InstallationsCheckIsValidRequest: WordPressV1InstallationsCheckIsValidRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13353
+ /**
13354
+ * Delete the specified WordPress installation, with optional file and database removal. This removes all associated components including plugins, themes, staging websites and any other related data. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13355
+ * @summary Delete WordPress installation
13356
+ * @param {string} username
13357
+ * @param {string} software WordPress installation (software) identifier
13358
+ * @param {WordPressV1InstallationsDeleteInstallationRequest} wordPressV1InstallationsDeleteInstallationRequest
13359
+ * @param {*} [options] Override http request option.
13360
+ * @throws {RequiredError}
13361
+ */
13362
+ deleteWordPressInstallationV1: (username: string, software: string, wordPressV1InstallationsDeleteInstallationRequest: WordPressV1InstallationsDeleteInstallationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13363
+ /**
13364
+ * Trigger a background scan to detect WordPress installations for the account. This operation is asynchronous: a successful response only means the scan has been queued. Poll GET /api/hosting/v1/wordpress/installations to fetch the detected installations once the scan completes.
13365
+ * @summary Detect WordPress installations
13366
+ * @param {string} username
13367
+ * @param {*} [options] Override http request option.
13368
+ * @throws {RequiredError}
13369
+ */
13370
+ detectWordPressInstallationsV1: (username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13371
+ /**
13372
+ * Return a JWT token used to authenticate requests against the specified WordPress installation, including its MCP (Model Context Protocol) endpoint. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13373
+ * @summary Get installation JWT token
13374
+ * @param {string} username
13375
+ * @param {string} software WordPress installation (software) identifier
13376
+ * @param {*} [options] Override http request option.
13377
+ * @throws {RequiredError}
13378
+ */
13379
+ getInstallationJWTTokenV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13380
+ /**
13381
+ * 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/websites and poll GET /api/hosting/v1/websites until it appears. Call GET /api/hosting/v1/wordpress/installations 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 filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.
13382
+ * @summary Install WordPress
13383
+ * @param {string} username
13384
+ * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
13385
+ * @param {*} [options] Override http request option.
13386
+ * @throws {RequiredError}
13387
+ */
13388
+ installWordPressV1: (username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13389
+ /**
13390
+ * List available WordPress core updates for the specified installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13391
+ * @summary List available WordPress core updates
13392
+ * @param {string} username
13393
+ * @param {string} software WordPress installation (software) identifier
13394
+ * @param {*} [options] Override http request option.
13395
+ * @throws {RequiredError}
13396
+ */
13397
+ listAvailableWordPressCoreUpdatesV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13398
+ /**
13399
+ * List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
13400
+ * @summary List WordPress installations
13401
+ * @param {string | null} [username] Filter by specific username
13402
+ * @param {string | null} [domain] Filter by domain name (exact match)
13403
+ * @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \&quot;owned\&quot;. Use \&quot;all\&quot; to include both owned and managed installations.
13404
+ * @param {*} [options] Override http request option.
13405
+ * @throws {RequiredError}
13406
+ */
13407
+ listWordPressInstallationsV1: (username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13408
+ /**
13409
+ * Show the WordPress core version for the specified installation, along with known vulnerabilities affecting it. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13410
+ * @summary Show WordPress core version
13411
+ * @param {string} username
13412
+ * @param {string} software WordPress installation (software) identifier
13413
+ * @param {*} [options] Override http request option.
13414
+ * @throws {RequiredError}
13415
+ */
13416
+ showWordPressCoreVersionV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13417
+ /**
13418
+ * Update the WordPress core for the specified installation (minor update or a specific version). Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field). This operation is asynchronous: a successful response only means the update job has been queued.
13419
+ * @summary Update WordPress core
13420
+ * @param {string} username
13421
+ * @param {string} software WordPress installation (software) identifier
13422
+ * @param {WordPressV1InstallationsUpdateInstallationRequest} wordPressV1InstallationsUpdateInstallationRequest
13423
+ * @param {*} [options] Override http request option.
13424
+ * @throws {RequiredError}
13425
+ */
13426
+ updateWordPressCoreV1: (username: string, software: string, wordPressV1InstallationsUpdateInstallationRequest: WordPressV1InstallationsUpdateInstallationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13427
+ };
13428
+ /**
13429
+ * WordPressInstallationsApi - functional programming interface
13430
+ * @export
13431
+ */
13432
+ export declare const WordPressInstallationsApiFp: (configuration?: Configuration) => {
13433
+ /**
13434
+ * Check whether one or more WordPress installations are valid and working correctly. Detects broken installations caused by missing files, broken plugins, themes and similar issues. Provide the WordPress installation (software) identifiers in the body. They can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13435
+ * @summary Check if WordPress installations are valid
13436
+ * @param {string} username
13437
+ * @param {WordPressV1InstallationsCheckIsValidRequest} wordPressV1InstallationsCheckIsValidRequest
13438
+ * @param {*} [options] Override http request option.
13439
+ * @throws {RequiredError}
13440
+ */
13441
+ checkIfWordPressInstallationsAreValidV1(username: string, wordPressV1InstallationsCheckIsValidRequest: WordPressV1InstallationsCheckIsValidRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WordPressV1InstallationsCheckIsValidResultResource>>>;
13442
+ /**
13443
+ * Delete the specified WordPress installation, with optional file and database removal. This removes all associated components including plugins, themes, staging websites and any other related data. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13444
+ * @summary Delete WordPress installation
13445
+ * @param {string} username
13446
+ * @param {string} software WordPress installation (software) identifier
13447
+ * @param {WordPressV1InstallationsDeleteInstallationRequest} wordPressV1InstallationsDeleteInstallationRequest
13448
+ * @param {*} [options] Override http request option.
13449
+ * @throws {RequiredError}
13450
+ */
13451
+ deleteWordPressInstallationV1(username: string, software: string, wordPressV1InstallationsDeleteInstallationRequest: WordPressV1InstallationsDeleteInstallationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
13452
+ /**
13453
+ * Trigger a background scan to detect WordPress installations for the account. This operation is asynchronous: a successful response only means the scan has been queued. Poll GET /api/hosting/v1/wordpress/installations to fetch the detected installations once the scan completes.
13454
+ * @summary Detect WordPress installations
13455
+ * @param {string} username
13456
+ * @param {*} [options] Override http request option.
13457
+ * @throws {RequiredError}
13458
+ */
13459
+ detectWordPressInstallationsV1(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
13460
+ /**
13461
+ * Return a JWT token used to authenticate requests against the specified WordPress installation, including its MCP (Model Context Protocol) endpoint. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13462
+ * @summary Get installation JWT token
13463
+ * @param {string} username
13464
+ * @param {string} software WordPress installation (software) identifier
13465
+ * @param {*} [options] Override http request option.
13466
+ * @throws {RequiredError}
13467
+ */
13468
+ getInstallationJWTTokenV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1InstallationsJwtTokenResource>>;
13469
+ /**
13470
+ * 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/websites and poll GET /api/hosting/v1/websites until it appears. Call GET /api/hosting/v1/wordpress/installations 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 filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.
13471
+ * @summary Install WordPress
13472
+ * @param {string} username
13473
+ * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
13474
+ * @param {*} [options] Override http request option.
13475
+ * @throws {RequiredError}
13476
+ */
13477
+ installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
13478
+ /**
13479
+ * List available WordPress core updates for the specified installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13480
+ * @summary List available WordPress core updates
13481
+ * @param {string} username
13482
+ * @param {string} software WordPress installation (software) identifier
13483
+ * @param {*} [options] Override http request option.
13484
+ * @throws {RequiredError}
13485
+ */
13486
+ listAvailableWordPressCoreUpdatesV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WordPressV1InstallationsUpdateResource>>>;
13487
+ /**
13488
+ * List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
13489
+ * @summary List WordPress installations
13490
+ * @param {string | null} [username] Filter by specific username
13491
+ * @param {string | null} [domain] Filter by domain name (exact match)
13492
+ * @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \&quot;owned\&quot;. Use \&quot;all\&quot; to include both owned and managed installations.
13493
+ * @param {*} [options] Override http request option.
13494
+ * @throws {RequiredError}
13495
+ */
13496
+ listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WordPressV1InstallationsWordPressInstallationResource>>>;
13497
+ /**
13498
+ * Show the WordPress core version for the specified installation, along with known vulnerabilities affecting it. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13499
+ * @summary Show WordPress core version
13500
+ * @param {string} username
13501
+ * @param {string} software WordPress installation (software) identifier
13502
+ * @param {*} [options] Override http request option.
13503
+ * @throws {RequiredError}
13504
+ */
13505
+ showWordPressCoreVersionV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1InstallationsVersionResource>>;
13506
+ /**
13507
+ * Update the WordPress core for the specified installation (minor update or a specific version). Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field). This operation is asynchronous: a successful response only means the update job has been queued.
13508
+ * @summary Update WordPress core
13509
+ * @param {string} username
13510
+ * @param {string} software WordPress installation (software) identifier
13511
+ * @param {WordPressV1InstallationsUpdateInstallationRequest} wordPressV1InstallationsUpdateInstallationRequest
13512
+ * @param {*} [options] Override http request option.
13513
+ * @throws {RequiredError}
13514
+ */
13515
+ updateWordPressCoreV1(username: string, software: string, wordPressV1InstallationsUpdateInstallationRequest: WordPressV1InstallationsUpdateInstallationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
13516
+ };
13517
+ /**
13518
+ * WordPressInstallationsApi - factory interface
13519
+ * @export
13520
+ */
13521
+ export declare const WordPressInstallationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13522
+ /**
13523
+ * Check whether one or more WordPress installations are valid and working correctly. Detects broken installations caused by missing files, broken plugins, themes and similar issues. Provide the WordPress installation (software) identifiers in the body. They can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13524
+ * @summary Check if WordPress installations are valid
13525
+ * @param {string} username
13526
+ * @param {WordPressV1InstallationsCheckIsValidRequest} wordPressV1InstallationsCheckIsValidRequest
13527
+ * @param {*} [options] Override http request option.
13528
+ * @throws {RequiredError}
13529
+ */
13530
+ checkIfWordPressInstallationsAreValidV1(username: string, wordPressV1InstallationsCheckIsValidRequest: WordPressV1InstallationsCheckIsValidRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<WordPressV1InstallationsCheckIsValidResultResource>>;
13531
+ /**
13532
+ * Delete the specified WordPress installation, with optional file and database removal. This removes all associated components including plugins, themes, staging websites and any other related data. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13533
+ * @summary Delete WordPress installation
13534
+ * @param {string} username
13535
+ * @param {string} software WordPress installation (software) identifier
13536
+ * @param {WordPressV1InstallationsDeleteInstallationRequest} wordPressV1InstallationsDeleteInstallationRequest
13537
+ * @param {*} [options] Override http request option.
13538
+ * @throws {RequiredError}
13539
+ */
13540
+ deleteWordPressInstallationV1(username: string, software: string, wordPressV1InstallationsDeleteInstallationRequest: WordPressV1InstallationsDeleteInstallationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
13541
+ /**
13542
+ * Trigger a background scan to detect WordPress installations for the account. This operation is asynchronous: a successful response only means the scan has been queued. Poll GET /api/hosting/v1/wordpress/installations to fetch the detected installations once the scan completes.
13543
+ * @summary Detect WordPress installations
13544
+ * @param {string} username
13545
+ * @param {*} [options] Override http request option.
13546
+ * @throws {RequiredError}
13547
+ */
13548
+ detectWordPressInstallationsV1(username: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
13549
+ /**
13550
+ * Return a JWT token used to authenticate requests against the specified WordPress installation, including its MCP (Model Context Protocol) endpoint. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13551
+ * @summary Get installation JWT token
13552
+ * @param {string} username
13553
+ * @param {string} software WordPress installation (software) identifier
13554
+ * @param {*} [options] Override http request option.
13555
+ * @throws {RequiredError}
13556
+ */
13557
+ getInstallationJWTTokenV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1InstallationsJwtTokenResource>;
13558
+ /**
13559
+ * 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/websites and poll GET /api/hosting/v1/websites until it appears. Call GET /api/hosting/v1/wordpress/installations 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 filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.
13560
+ * @summary Install WordPress
13561
+ * @param {string} username
13562
+ * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
13563
+ * @param {*} [options] Override http request option.
13564
+ * @throws {RequiredError}
13565
+ */
13566
+ installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
13567
+ /**
13568
+ * List available WordPress core updates for the specified installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13569
+ * @summary List available WordPress core updates
13570
+ * @param {string} username
13571
+ * @param {string} software WordPress installation (software) identifier
13572
+ * @param {*} [options] Override http request option.
13573
+ * @throws {RequiredError}
13574
+ */
13575
+ listAvailableWordPressCoreUpdatesV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<WordPressV1InstallationsUpdateResource>>;
13576
+ /**
13577
+ * List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
13578
+ * @summary List WordPress installations
13579
+ * @param {string | null} [username] Filter by specific username
13580
+ * @param {string | null} [domain] Filter by domain name (exact match)
13581
+ * @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \&quot;owned\&quot;. Use \&quot;all\&quot; to include both owned and managed installations.
13582
+ * @param {*} [options] Override http request option.
13583
+ * @throws {RequiredError}
13584
+ */
13585
+ listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<WordPressV1InstallationsWordPressInstallationResource>>;
13586
+ /**
13587
+ * Show the WordPress core version for the specified installation, along with known vulnerabilities affecting it. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13588
+ * @summary Show WordPress core version
13589
+ * @param {string} username
13590
+ * @param {string} software WordPress installation (software) identifier
13591
+ * @param {*} [options] Override http request option.
13592
+ * @throws {RequiredError}
13593
+ */
13594
+ showWordPressCoreVersionV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1InstallationsVersionResource>;
13595
+ /**
13596
+ * Update the WordPress core for the specified installation (minor update or a specific version). Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field). This operation is asynchronous: a successful response only means the update job has been queued.
13597
+ * @summary Update WordPress core
13598
+ * @param {string} username
13599
+ * @param {string} software WordPress installation (software) identifier
13600
+ * @param {WordPressV1InstallationsUpdateInstallationRequest} wordPressV1InstallationsUpdateInstallationRequest
13601
+ * @param {*} [options] Override http request option.
13602
+ * @throws {RequiredError}
13603
+ */
13604
+ updateWordPressCoreV1(username: string, software: string, wordPressV1InstallationsUpdateInstallationRequest: WordPressV1InstallationsUpdateInstallationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
13605
+ };
13606
+ /**
13607
+ * WordPressInstallationsApi - object-oriented interface
13608
+ * @export
13609
+ * @class WordPressInstallationsApi
13610
+ * @extends {BaseAPI}
13611
+ */
13612
+ export declare class WordPressInstallationsApi extends BaseAPI {
13613
+ /**
13614
+ * Check whether one or more WordPress installations are valid and working correctly. Detects broken installations caused by missing files, broken plugins, themes and similar issues. Provide the WordPress installation (software) identifiers in the body. They can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13615
+ * @summary Check if WordPress installations are valid
13616
+ * @param {string} username
13617
+ * @param {WordPressV1InstallationsCheckIsValidRequest} wordPressV1InstallationsCheckIsValidRequest
13618
+ * @param {*} [options] Override http request option.
13619
+ * @throws {RequiredError}
13620
+ * @memberof WordPressInstallationsApi
13621
+ */
13622
+ checkIfWordPressInstallationsAreValidV1(username: string, wordPressV1InstallationsCheckIsValidRequest: WordPressV1InstallationsCheckIsValidRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsCheckIsValidResultResource[], any, {}>>;
13623
+ /**
13624
+ * Delete the specified WordPress installation, with optional file and database removal. This removes all associated components including plugins, themes, staging websites and any other related data. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13625
+ * @summary Delete WordPress installation
13626
+ * @param {string} username
13627
+ * @param {string} software WordPress installation (software) identifier
13628
+ * @param {WordPressV1InstallationsDeleteInstallationRequest} wordPressV1InstallationsDeleteInstallationRequest
13629
+ * @param {*} [options] Override http request option.
13630
+ * @throws {RequiredError}
13631
+ * @memberof WordPressInstallationsApi
13632
+ */
13633
+ deleteWordPressInstallationV1(username: string, software: string, wordPressV1InstallationsDeleteInstallationRequest: WordPressV1InstallationsDeleteInstallationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
13634
+ /**
13635
+ * Trigger a background scan to detect WordPress installations for the account. This operation is asynchronous: a successful response only means the scan has been queued. Poll GET /api/hosting/v1/wordpress/installations to fetch the detected installations once the scan completes.
13636
+ * @summary Detect WordPress installations
13637
+ * @param {string} username
13638
+ * @param {*} [options] Override http request option.
13639
+ * @throws {RequiredError}
13640
+ * @memberof WordPressInstallationsApi
13641
+ */
13642
+ detectWordPressInstallationsV1(username: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
13643
+ /**
13644
+ * Return a JWT token used to authenticate requests against the specified WordPress installation, including its MCP (Model Context Protocol) endpoint. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13645
+ * @summary Get installation JWT token
13646
+ * @param {string} username
13647
+ * @param {string} software WordPress installation (software) identifier
13648
+ * @param {*} [options] Override http request option.
13649
+ * @throws {RequiredError}
13650
+ * @memberof WordPressInstallationsApi
13651
+ */
13652
+ getInstallationJWTTokenV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsJwtTokenResource, any, {}>>;
13653
+ /**
13654
+ * 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/websites and poll GET /api/hosting/v1/websites until it appears. Call GET /api/hosting/v1/wordpress/installations 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 filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.
13655
+ * @summary Install WordPress
13656
+ * @param {string} username
13657
+ * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
13658
+ * @param {*} [options] Override http request option.
13659
+ * @throws {RequiredError}
13660
+ * @memberof WordPressInstallationsApi
13661
+ */
13662
+ installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
13663
+ /**
13664
+ * List available WordPress core updates for the specified installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13665
+ * @summary List available WordPress core updates
13666
+ * @param {string} username
13667
+ * @param {string} software WordPress installation (software) identifier
13668
+ * @param {*} [options] Override http request option.
13669
+ * @throws {RequiredError}
13670
+ * @memberof WordPressInstallationsApi
13671
+ */
13672
+ listAvailableWordPressCoreUpdatesV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsUpdateResource[], any, {}>>;
13673
+ /**
13674
+ * List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
13675
+ * @summary List WordPress installations
13676
+ * @param {string | null} [username] Filter by specific username
13677
+ * @param {string | null} [domain] Filter by domain name (exact match)
13678
+ * @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \&quot;owned\&quot;. Use \&quot;all\&quot; to include both owned and managed installations.
13679
+ * @param {*} [options] Override http request option.
13680
+ * @throws {RequiredError}
13681
+ * @memberof WordPressInstallationsApi
13682
+ */
13683
+ listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsWordPressInstallationResource[], any, {}>>;
13684
+ /**
13685
+ * Show the WordPress core version for the specified installation, along with known vulnerabilities affecting it. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13686
+ * @summary Show WordPress core version
13687
+ * @param {string} username
13688
+ * @param {string} software WordPress installation (software) identifier
13689
+ * @param {*} [options] Override http request option.
13690
+ * @throws {RequiredError}
13691
+ * @memberof WordPressInstallationsApi
13692
+ */
13693
+ showWordPressCoreVersionV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsVersionResource, any, {}>>;
13694
+ /**
13695
+ * Update the WordPress core for the specified installation (minor update or a specific version). Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field). This operation is asynchronous: a successful response only means the update job has been queued.
13696
+ * @summary Update WordPress core
13697
+ * @param {string} username
13698
+ * @param {string} software WordPress installation (software) identifier
13699
+ * @param {WordPressV1InstallationsUpdateInstallationRequest} wordPressV1InstallationsUpdateInstallationRequest
13700
+ * @param {*} [options] Override http request option.
13701
+ * @throws {RequiredError}
13702
+ * @memberof WordPressInstallationsApi
13703
+ */
13704
+ updateWordPressCoreV1(username: string, software: string, wordPressV1InstallationsUpdateInstallationRequest: WordPressV1InstallationsUpdateInstallationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
13705
+ }
13706
+ /**
13707
+ * @export
13708
+ */
13709
+ export declare const ListWordPressInstallationsV1OwnershipEnum: {
13710
+ readonly Owned: "owned";
13711
+ readonly Managed: "managed";
13712
+ readonly All: "all";
13713
+ };
13714
+ export type ListWordPressInstallationsV1OwnershipEnum = typeof ListWordPressInstallationsV1OwnershipEnum[keyof typeof ListWordPressInstallationsV1OwnershipEnum];
13715
+ /**
13716
+ * WordPressLiteSpeedCacheApi - axios parameter creator
13717
+ * @export
13718
+ */
13719
+ export declare const WordPressLiteSpeedCacheApiAxiosParamCreator: (configuration?: Configuration) => {
13720
+ /**
13721
+ * Purge the LiteSpeed Cache for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13722
+ * @summary Purge LiteSpeed Cache
13723
+ * @param {string} username
13724
+ * @param {string} software WordPress installation (software) identifier
13725
+ * @param {*} [options] Override http request option.
13726
+ * @throws {RequiredError}
13727
+ */
13728
+ purgeLiteSpeedCacheV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13729
+ /**
13730
+ * Show the LiteSpeed Cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13731
+ * @summary Show LiteSpeed Cache status
13732
+ * @param {string} username
13733
+ * @param {string} software WordPress installation (software) identifier
13734
+ * @param {*} [options] Override http request option.
13735
+ * @throws {RequiredError}
13736
+ */
13737
+ showLiteSpeedCacheStatusV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13738
+ };
13739
+ /**
13740
+ * WordPressLiteSpeedCacheApi - functional programming interface
13741
+ * @export
13742
+ */
13743
+ export declare const WordPressLiteSpeedCacheApiFp: (configuration?: Configuration) => {
13744
+ /**
13745
+ * Purge the LiteSpeed Cache for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13746
+ * @summary Purge LiteSpeed Cache
13747
+ * @param {string} username
13748
+ * @param {string} software WordPress installation (software) identifier
13749
+ * @param {*} [options] Override http request option.
13750
+ * @throws {RequiredError}
13751
+ */
13752
+ purgeLiteSpeedCacheV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
13753
+ /**
13754
+ * Show the LiteSpeed Cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13755
+ * @summary Show LiteSpeed Cache status
13756
+ * @param {string} username
13757
+ * @param {string} software WordPress installation (software) identifier
13758
+ * @param {*} [options] Override http request option.
13759
+ * @throws {RequiredError}
13760
+ */
13761
+ showLiteSpeedCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1LitespeedLitespeedCacheStatusResource>>;
13762
+ };
13763
+ /**
13764
+ * WordPressLiteSpeedCacheApi - factory interface
13765
+ * @export
13766
+ */
13767
+ export declare const WordPressLiteSpeedCacheApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13768
+ /**
13769
+ * Purge the LiteSpeed Cache for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13770
+ * @summary Purge LiteSpeed Cache
13771
+ * @param {string} username
13772
+ * @param {string} software WordPress installation (software) identifier
13773
+ * @param {*} [options] Override http request option.
13774
+ * @throws {RequiredError}
13775
+ */
13776
+ purgeLiteSpeedCacheV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
13777
+ /**
13778
+ * Show the LiteSpeed Cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13779
+ * @summary Show LiteSpeed Cache status
13780
+ * @param {string} username
13781
+ * @param {string} software WordPress installation (software) identifier
13782
+ * @param {*} [options] Override http request option.
13783
+ * @throws {RequiredError}
13784
+ */
13785
+ showLiteSpeedCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1LitespeedLitespeedCacheStatusResource>;
13786
+ };
13787
+ /**
13788
+ * WordPressLiteSpeedCacheApi - object-oriented interface
13789
+ * @export
13790
+ * @class WordPressLiteSpeedCacheApi
13791
+ * @extends {BaseAPI}
13792
+ */
13793
+ export declare class WordPressLiteSpeedCacheApi extends BaseAPI {
13794
+ /**
13795
+ * Purge the LiteSpeed Cache for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13796
+ * @summary Purge LiteSpeed Cache
13797
+ * @param {string} username
13798
+ * @param {string} software WordPress installation (software) identifier
13799
+ * @param {*} [options] Override http request option.
13800
+ * @throws {RequiredError}
13801
+ * @memberof WordPressLiteSpeedCacheApi
13802
+ */
13803
+ purgeLiteSpeedCacheV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
13804
+ /**
13805
+ * Show the LiteSpeed Cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13806
+ * @summary Show LiteSpeed Cache status
13807
+ * @param {string} username
13808
+ * @param {string} software WordPress installation (software) identifier
13809
+ * @param {*} [options] Override http request option.
13810
+ * @throws {RequiredError}
13811
+ * @memberof WordPressLiteSpeedCacheApi
13812
+ */
13813
+ showLiteSpeedCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1LitespeedLitespeedCacheStatusResource, any, {}>>;
13814
+ }
13815
+ /**
13816
+ * WordPressLoginApi - axios parameter creator
13817
+ * @export
13818
+ */
13819
+ export declare const WordPressLoginApiAxiosParamCreator: (configuration?: Configuration) => {
13820
+ /**
13821
+ * Create temporary auto-login links for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13822
+ * @summary Create login links
13823
+ * @param {string} username
13824
+ * @param {string} software WordPress installation (software) identifier
13825
+ * @param {*} [options] Override http request option.
13826
+ * @throws {RequiredError}
13827
+ */
13828
+ createLoginLinksV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13829
+ };
13830
+ /**
13831
+ * WordPressLoginApi - functional programming interface
13832
+ * @export
13833
+ */
13834
+ export declare const WordPressLoginApiFp: (configuration?: Configuration) => {
13835
+ /**
13836
+ * Create temporary auto-login links for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13837
+ * @summary Create login links
13838
+ * @param {string} username
13839
+ * @param {string} software WordPress installation (software) identifier
13840
+ * @param {*} [options] Override http request option.
13841
+ * @throws {RequiredError}
13842
+ */
13843
+ createLoginLinksV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1LoginLoginLinksResource>>;
13844
+ };
13845
+ /**
13846
+ * WordPressLoginApi - factory interface
13847
+ * @export
13848
+ */
13849
+ export declare const WordPressLoginApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13850
+ /**
13851
+ * Create temporary auto-login links for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13852
+ * @summary Create login links
13853
+ * @param {string} username
13854
+ * @param {string} software WordPress installation (software) identifier
13855
+ * @param {*} [options] Override http request option.
13856
+ * @throws {RequiredError}
13857
+ */
13858
+ createLoginLinksV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1LoginLoginLinksResource>;
13859
+ };
13860
+ /**
13861
+ * WordPressLoginApi - object-oriented interface
13862
+ * @export
13863
+ * @class WordPressLoginApi
13864
+ * @extends {BaseAPI}
13865
+ */
13866
+ export declare class WordPressLoginApi extends BaseAPI {
13867
+ /**
13868
+ * Create temporary auto-login links for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13869
+ * @summary Create login links
13870
+ * @param {string} username
13871
+ * @param {string} software WordPress installation (software) identifier
13872
+ * @param {*} [options] Override http request option.
13873
+ * @throws {RequiredError}
13874
+ * @memberof WordPressLoginApi
13875
+ */
13876
+ createLoginLinksV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1LoginLoginLinksResource, any, {}>>;
13877
+ }
13878
+ /**
13879
+ * WordPressMaintenanceApi - axios parameter creator
13880
+ * @export
13881
+ */
13882
+ export declare const WordPressMaintenanceApiAxiosParamCreator: (configuration?: Configuration) => {
13883
+ /**
13884
+ * Show the maintenance mode status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13885
+ * @summary Show maintenance status
13886
+ * @param {string} username
13887
+ * @param {string} software WordPress installation (software) identifier
13888
+ * @param {*} [options] Override http request option.
13889
+ * @throws {RequiredError}
13890
+ */
13891
+ showMaintenanceStatusV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13892
+ /**
13893
+ * Enable or disable maintenance mode for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13894
+ * @summary Toggle maintenance mode
13895
+ * @param {string} username
13896
+ * @param {string} software WordPress installation (software) identifier
13897
+ * @param {WordPressV1MaintenanceToggleMaintenanceRequest} wordPressV1MaintenanceToggleMaintenanceRequest
13898
+ * @param {*} [options] Override http request option.
13899
+ * @throws {RequiredError}
13900
+ */
13901
+ toggleMaintenanceModeV1: (username: string, software: string, wordPressV1MaintenanceToggleMaintenanceRequest: WordPressV1MaintenanceToggleMaintenanceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13902
+ };
13903
+ /**
13904
+ * WordPressMaintenanceApi - functional programming interface
13905
+ * @export
13906
+ */
13907
+ export declare const WordPressMaintenanceApiFp: (configuration?: Configuration) => {
13908
+ /**
13909
+ * Show the maintenance mode status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13910
+ * @summary Show maintenance status
13911
+ * @param {string} username
13912
+ * @param {string} software WordPress installation (software) identifier
13913
+ * @param {*} [options] Override http request option.
13914
+ * @throws {RequiredError}
13915
+ */
13916
+ showMaintenanceStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1MaintenanceMaintenanceStatusResource>>;
13917
+ /**
13918
+ * Enable or disable maintenance mode for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13919
+ * @summary Toggle maintenance mode
13920
+ * @param {string} username
13921
+ * @param {string} software WordPress installation (software) identifier
13922
+ * @param {WordPressV1MaintenanceToggleMaintenanceRequest} wordPressV1MaintenanceToggleMaintenanceRequest
13923
+ * @param {*} [options] Override http request option.
13924
+ * @throws {RequiredError}
13925
+ */
13926
+ toggleMaintenanceModeV1(username: string, software: string, wordPressV1MaintenanceToggleMaintenanceRequest: WordPressV1MaintenanceToggleMaintenanceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
13927
+ };
13928
+ /**
13929
+ * WordPressMaintenanceApi - factory interface
13930
+ * @export
13931
+ */
13932
+ export declare const WordPressMaintenanceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13933
+ /**
13934
+ * Show the maintenance mode status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13935
+ * @summary Show maintenance status
13936
+ * @param {string} username
13937
+ * @param {string} software WordPress installation (software) identifier
13938
+ * @param {*} [options] Override http request option.
13939
+ * @throws {RequiredError}
13940
+ */
13941
+ showMaintenanceStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1MaintenanceMaintenanceStatusResource>;
13942
+ /**
13943
+ * Enable or disable maintenance mode for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13944
+ * @summary Toggle maintenance mode
13945
+ * @param {string} username
13946
+ * @param {string} software WordPress installation (software) identifier
13947
+ * @param {WordPressV1MaintenanceToggleMaintenanceRequest} wordPressV1MaintenanceToggleMaintenanceRequest
13948
+ * @param {*} [options] Override http request option.
13949
+ * @throws {RequiredError}
13950
+ */
13951
+ toggleMaintenanceModeV1(username: string, software: string, wordPressV1MaintenanceToggleMaintenanceRequest: WordPressV1MaintenanceToggleMaintenanceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
13952
+ };
13953
+ /**
13954
+ * WordPressMaintenanceApi - object-oriented interface
13955
+ * @export
13956
+ * @class WordPressMaintenanceApi
13957
+ * @extends {BaseAPI}
13958
+ */
13959
+ export declare class WordPressMaintenanceApi extends BaseAPI {
13960
+ /**
13961
+ * Show the maintenance mode status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13962
+ * @summary Show maintenance status
13963
+ * @param {string} username
13964
+ * @param {string} software WordPress installation (software) identifier
13965
+ * @param {*} [options] Override http request option.
13966
+ * @throws {RequiredError}
13967
+ * @memberof WordPressMaintenanceApi
13968
+ */
13969
+ showMaintenanceStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1MaintenanceMaintenanceStatusResource, any, {}>>;
13970
+ /**
13971
+ * Enable or disable maintenance mode for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13972
+ * @summary Toggle maintenance mode
13973
+ * @param {string} username
13974
+ * @param {string} software WordPress installation (software) identifier
13975
+ * @param {WordPressV1MaintenanceToggleMaintenanceRequest} wordPressV1MaintenanceToggleMaintenanceRequest
13976
+ * @param {*} [options] Override http request option.
13977
+ * @throws {RequiredError}
13978
+ * @memberof WordPressMaintenanceApi
13979
+ */
13980
+ toggleMaintenanceModeV1(username: string, software: string, wordPressV1MaintenanceToggleMaintenanceRequest: WordPressV1MaintenanceToggleMaintenanceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
13981
+ }
13982
+ /**
13983
+ * WordPressObjectCacheApi - axios parameter creator
13984
+ * @export
13985
+ */
13986
+ export declare const WordPressObjectCacheApiAxiosParamCreator: (configuration?: Configuration) => {
13987
+ /**
13988
+ * Show the Memcached object cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13989
+ * @summary Show Memcached object cache status
13990
+ * @param {string} username
13991
+ * @param {string} software WordPress installation (software) identifier
13992
+ * @param {*} [options] Override http request option.
13993
+ * @throws {RequiredError}
13994
+ */
13995
+ showMemcachedObjectCacheStatusV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13996
+ /**
13997
+ * Activate or deactivate the Memcached object cache for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
13998
+ * @summary Toggle Memcached object cache
13999
+ * @param {string} username
14000
+ * @param {string} software WordPress installation (software) identifier
14001
+ * @param {WordPressV1MemcachedToggleMemcachedRequest} wordPressV1MemcachedToggleMemcachedRequest
14002
+ * @param {*} [options] Override http request option.
14003
+ * @throws {RequiredError}
14004
+ */
14005
+ toggleMemcachedObjectCacheV1: (username: string, software: string, wordPressV1MemcachedToggleMemcachedRequest: WordPressV1MemcachedToggleMemcachedRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14006
+ };
14007
+ /**
14008
+ * WordPressObjectCacheApi - functional programming interface
14009
+ * @export
14010
+ */
14011
+ export declare const WordPressObjectCacheApiFp: (configuration?: Configuration) => {
14012
+ /**
14013
+ * Show the Memcached object cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
14014
+ * @summary Show Memcached object cache status
14015
+ * @param {string} username
14016
+ * @param {string} software WordPress installation (software) identifier
14017
+ * @param {*} [options] Override http request option.
14018
+ * @throws {RequiredError}
14019
+ */
14020
+ showMemcachedObjectCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1MemcachedMemcachedStatusResource>>;
14021
+ /**
14022
+ * Activate or deactivate the Memcached object cache for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
14023
+ * @summary Toggle Memcached object cache
14024
+ * @param {string} username
14025
+ * @param {string} software WordPress installation (software) identifier
14026
+ * @param {WordPressV1MemcachedToggleMemcachedRequest} wordPressV1MemcachedToggleMemcachedRequest
14027
+ * @param {*} [options] Override http request option.
14028
+ * @throws {RequiredError}
14029
+ */
14030
+ toggleMemcachedObjectCacheV1(username: string, software: string, wordPressV1MemcachedToggleMemcachedRequest: WordPressV1MemcachedToggleMemcachedRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
14031
+ };
14032
+ /**
14033
+ * WordPressObjectCacheApi - factory interface
14034
+ * @export
14035
+ */
14036
+ export declare const WordPressObjectCacheApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14037
+ /**
14038
+ * Show the Memcached object cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
14039
+ * @summary Show Memcached object cache status
14040
+ * @param {string} username
14041
+ * @param {string} software WordPress installation (software) identifier
14042
+ * @param {*} [options] Override http request option.
14043
+ * @throws {RequiredError}
14044
+ */
14045
+ showMemcachedObjectCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1MemcachedMemcachedStatusResource>;
14046
+ /**
14047
+ * Activate or deactivate the Memcached object cache for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
14048
+ * @summary Toggle Memcached object cache
14049
+ * @param {string} username
14050
+ * @param {string} software WordPress installation (software) identifier
14051
+ * @param {WordPressV1MemcachedToggleMemcachedRequest} wordPressV1MemcachedToggleMemcachedRequest
14052
+ * @param {*} [options] Override http request option.
14053
+ * @throws {RequiredError}
14054
+ */
14055
+ toggleMemcachedObjectCacheV1(username: string, software: string, wordPressV1MemcachedToggleMemcachedRequest: WordPressV1MemcachedToggleMemcachedRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
14056
+ };
14057
+ /**
14058
+ * WordPressObjectCacheApi - object-oriented interface
14059
+ * @export
14060
+ * @class WordPressObjectCacheApi
14061
+ * @extends {BaseAPI}
14062
+ */
14063
+ export declare class WordPressObjectCacheApi extends BaseAPI {
14064
+ /**
14065
+ * Show the Memcached object cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
14066
+ * @summary Show Memcached object cache status
14067
+ * @param {string} username
14068
+ * @param {string} software WordPress installation (software) identifier
14069
+ * @param {*} [options] Override http request option.
14070
+ * @throws {RequiredError}
14071
+ * @memberof WordPressObjectCacheApi
14072
+ */
14073
+ showMemcachedObjectCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1MemcachedMemcachedStatusResource, any, {}>>;
14074
+ /**
14075
+ * Activate or deactivate the Memcached object cache for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
14076
+ * @summary Toggle Memcached object cache
14077
+ * @param {string} username
14078
+ * @param {string} software WordPress installation (software) identifier
14079
+ * @param {WordPressV1MemcachedToggleMemcachedRequest} wordPressV1MemcachedToggleMemcachedRequest
14080
+ * @param {*} [options] Override http request option.
14081
+ * @throws {RequiredError}
14082
+ * @memberof WordPressObjectCacheApi
14083
+ */
14084
+ toggleMemcachedObjectCacheV1(username: string, software: string, wordPressV1MemcachedToggleMemcachedRequest: WordPressV1MemcachedToggleMemcachedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
14085
+ }
13031
14086
  /**
13032
14087
  * WordPressPluginsApi - axios parameter creator
13033
14088
  * @export