hostinger-api-sdk 1.2.1 → 1.4.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 (60) hide show
  1. package/README.md +2 -2
  2. package/api.ts +2842 -568
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +1547 -277
  7. package/dist/api.js +2420 -545
  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 +1547 -277
  15. package/dist/esm/api.js +4581 -2731
  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/HostingCacheApi.md +295 -0
  27. package/docs/VPSActionsApi.md +2 -2
  28. package/docs/VPSBackupsApi.md +2 -2
  29. package/docs/VPSFirewallApi.md +2 -2
  30. package/docs/VPSPostInstallScriptsApi.md +2 -2
  31. package/docs/VPSPublicKeysApi.md +2 -2
  32. package/docs/{VPSGetActionsV1200Response.md → VPSV1ActionListResponse.md} +3 -3
  33. package/docs/{VPSGetBackupsV1200Response.md → VPSV1BackupListResponse.md} +3 -3
  34. package/docs/{VPSGetFirewallListV1200Response.md → VPSV1FirewallListResponse.md} +3 -3
  35. package/docs/{VPSGetPostInstallScriptsV1200Response.md → VPSV1PostInstallScriptListResponse.md} +3 -3
  36. package/docs/{VPSGetPublicKeysV1200Response.md → VPSV1PublicKeyListResponse.md} +3 -3
  37. package/docs/VPSVirtualMachineApi.md +2 -2
  38. package/docs/WordPressAIToolsApi.md +129 -0
  39. package/docs/WordPressInstallationsApi.md +408 -0
  40. package/docs/WordPressLiteSpeedCacheApi.md +121 -0
  41. package/docs/WordPressLoginApi.md +64 -0
  42. package/docs/WordPressMaintenanceApi.md +126 -0
  43. package/docs/WordPressObjectCacheApi.md +126 -0
  44. package/docs/WordPressV1HostingerPluginsAiOptionStatusResource.md +22 -0
  45. package/docs/WordPressV1HostingerPluginsUpdateAiOptionStatusRequest.md +22 -0
  46. package/docs/WordPressV1InstallationsCheckIsValidRequest.md +22 -0
  47. package/docs/WordPressV1InstallationsCheckIsValidResultResource.md +22 -0
  48. package/docs/WordPressV1InstallationsDeleteInstallationRequest.md +22 -0
  49. package/docs/WordPressV1InstallationsJwtTokenResource.md +26 -0
  50. package/docs/WordPressV1InstallationsUpdateInstallationRequest.md +22 -0
  51. package/docs/WordPressV1InstallationsUpdateResource.md +24 -0
  52. package/docs/WordPressV1InstallationsVersionResource.md +22 -0
  53. package/docs/WordPressV1LitespeedLitespeedCacheStatusResource.md +22 -0
  54. package/docs/WordPressV1LoginLoginLinksResource.md +24 -0
  55. package/docs/WordPressV1MaintenanceMaintenanceStatusResource.md +20 -0
  56. package/docs/WordPressV1MaintenanceToggleMaintenanceRequest.md +20 -0
  57. package/docs/WordPressV1MemcachedMemcachedStatusResource.md +20 -0
  58. package/docs/WordPressV1MemcachedToggleMemcachedRequest.md +20 -0
  59. package/index.ts +1 -1
  60. package/package.json +1 -1
package/dist/esm/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.4.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
@@ -4099,101 +4099,6 @@ export interface ReachV1ProfilesProfileResourceProfilesInner {
4099
4099
  */
4100
4100
  'updated_at': string;
4101
4101
  }
4102
- /**
4103
- *
4104
- * @export
4105
- * @interface VPSGetActionsV1200Response
4106
- */
4107
- export interface VPSGetActionsV1200Response {
4108
- /**
4109
- * Array of [`VPS.V1.Action.ActionResource`](#model/vpsv1actionactionresource)
4110
- * @type {Array<VPSV1ActionActionResource>}
4111
- * @memberof VPSGetActionsV1200Response
4112
- */
4113
- 'data': Array<VPSV1ActionActionResource>;
4114
- /**
4115
- *
4116
- * @type {CommonSchemaPaginationMetaSchema}
4117
- * @memberof VPSGetActionsV1200Response
4118
- */
4119
- 'meta': CommonSchemaPaginationMetaSchema;
4120
- }
4121
- /**
4122
- *
4123
- * @export
4124
- * @interface VPSGetBackupsV1200Response
4125
- */
4126
- export interface VPSGetBackupsV1200Response {
4127
- /**
4128
- * Array of [`VPS.V1.Backup.BackupResource`](#model/vpsv1backupbackupresource)
4129
- * @type {Array<VPSV1BackupBackupResource>}
4130
- * @memberof VPSGetBackupsV1200Response
4131
- */
4132
- 'data': Array<VPSV1BackupBackupResource>;
4133
- /**
4134
- *
4135
- * @type {CommonSchemaPaginationMetaSchema}
4136
- * @memberof VPSGetBackupsV1200Response
4137
- */
4138
- 'meta': CommonSchemaPaginationMetaSchema;
4139
- }
4140
- /**
4141
- *
4142
- * @export
4143
- * @interface VPSGetFirewallListV1200Response
4144
- */
4145
- export interface VPSGetFirewallListV1200Response {
4146
- /**
4147
- * Array of [`VPS.V1.Firewall.FirewallResource`](#model/vpsv1firewallfirewallresource)
4148
- * @type {Array<VPSV1FirewallFirewallResource>}
4149
- * @memberof VPSGetFirewallListV1200Response
4150
- */
4151
- 'data': Array<VPSV1FirewallFirewallResource>;
4152
- /**
4153
- *
4154
- * @type {CommonSchemaPaginationMetaSchema}
4155
- * @memberof VPSGetFirewallListV1200Response
4156
- */
4157
- 'meta': CommonSchemaPaginationMetaSchema;
4158
- }
4159
- /**
4160
- *
4161
- * @export
4162
- * @interface VPSGetPostInstallScriptsV1200Response
4163
- */
4164
- export interface VPSGetPostInstallScriptsV1200Response {
4165
- /**
4166
- * Array of [`VPS.V1.PostInstallScript.PostInstallScriptResource`](#model/vpsv1postinstallscriptpostinstallscriptresource)
4167
- * @type {Array<VPSV1PostInstallScriptPostInstallScriptResource>}
4168
- * @memberof VPSGetPostInstallScriptsV1200Response
4169
- */
4170
- 'data': Array<VPSV1PostInstallScriptPostInstallScriptResource>;
4171
- /**
4172
- *
4173
- * @type {CommonSchemaPaginationMetaSchema}
4174
- * @memberof VPSGetPostInstallScriptsV1200Response
4175
- */
4176
- 'meta': CommonSchemaPaginationMetaSchema;
4177
- }
4178
- /**
4179
- *
4180
- * @export
4181
- * @interface VPSGetPublicKeysV1200Response
4182
- */
4183
- export interface VPSGetPublicKeysV1200Response {
4184
- /**
4185
- * Array of [`VPS.V1.PublicKey.PublicKeyResource`](#model/vpsv1publickeypublickeyresource)
4186
- * @type {Array<VPSV1PublicKeyPublicKeyResource>}
4187
- * @memberof VPSGetPublicKeysV1200Response
4188
- */
4189
- 'data': Array<VPSV1PublicKeyPublicKeyResource>;
4190
- /**
4191
- *
4192
- * @type {CommonSchemaPaginationMetaSchema}
4193
- * @memberof VPSGetPublicKeysV1200Response
4194
- */
4195
- 'meta': CommonSchemaPaginationMetaSchema;
4196
- }
4197
4102
  /**
4198
4103
  *
4199
4104
  * @export
@@ -4239,6 +4144,25 @@ export declare const VPSV1ActionActionResourceStateEnum: {
4239
4144
  readonly Created: "created";
4240
4145
  };
4241
4146
  export type VPSV1ActionActionResourceStateEnum = typeof VPSV1ActionActionResourceStateEnum[keyof typeof VPSV1ActionActionResourceStateEnum];
4147
+ /**
4148
+ *
4149
+ * @export
4150
+ * @interface VPSV1ActionListResponse
4151
+ */
4152
+ export interface VPSV1ActionListResponse {
4153
+ /**
4154
+ * Array of [`VPS.V1.Action.ActionResource`](#model/vpsv1actionactionresource)
4155
+ * @type {Array<VPSV1ActionActionResource>}
4156
+ * @memberof VPSV1ActionListResponse
4157
+ */
4158
+ 'data': Array<VPSV1ActionActionResource>;
4159
+ /**
4160
+ *
4161
+ * @type {CommonSchemaPaginationMetaSchema}
4162
+ * @memberof VPSV1ActionListResponse
4163
+ */
4164
+ 'meta': CommonSchemaPaginationMetaSchema;
4165
+ }
4242
4166
  /**
4243
4167
  *
4244
4168
  * @export
@@ -4276,6 +4200,25 @@ export interface VPSV1BackupBackupResource {
4276
4200
  */
4277
4201
  'created_at': string;
4278
4202
  }
4203
+ /**
4204
+ *
4205
+ * @export
4206
+ * @interface VPSV1BackupListResponse
4207
+ */
4208
+ export interface VPSV1BackupListResponse {
4209
+ /**
4210
+ * Array of [`VPS.V1.Backup.BackupResource`](#model/vpsv1backupbackupresource)
4211
+ * @type {Array<VPSV1BackupBackupResource>}
4212
+ * @memberof VPSV1BackupListResponse
4213
+ */
4214
+ 'data': Array<VPSV1BackupBackupResource>;
4215
+ /**
4216
+ *
4217
+ * @type {CommonSchemaPaginationMetaSchema}
4218
+ * @memberof VPSV1BackupListResponse
4219
+ */
4220
+ 'meta': CommonSchemaPaginationMetaSchema;
4221
+ }
4279
4222
  /**
4280
4223
  *
4281
4224
  * @export
@@ -4716,6 +4659,25 @@ export declare const VPSV1FirewallFirewallRuleResourceProtocolEnum: {
4716
4659
  readonly PostgreSql: "PostgreSQL";
4717
4660
  };
4718
4661
  export type VPSV1FirewallFirewallRuleResourceProtocolEnum = typeof VPSV1FirewallFirewallRuleResourceProtocolEnum[keyof typeof VPSV1FirewallFirewallRuleResourceProtocolEnum];
4662
+ /**
4663
+ *
4664
+ * @export
4665
+ * @interface VPSV1FirewallListResponse
4666
+ */
4667
+ export interface VPSV1FirewallListResponse {
4668
+ /**
4669
+ * Array of [`VPS.V1.Firewall.FirewallResource`](#model/vpsv1firewallfirewallresource)
4670
+ * @type {Array<VPSV1FirewallFirewallResource>}
4671
+ * @memberof VPSV1FirewallListResponse
4672
+ */
4673
+ 'data': Array<VPSV1FirewallFirewallResource>;
4674
+ /**
4675
+ *
4676
+ * @type {CommonSchemaPaginationMetaSchema}
4677
+ * @memberof VPSV1FirewallListResponse
4678
+ */
4679
+ 'meta': CommonSchemaPaginationMetaSchema;
4680
+ }
4719
4681
  /**
4720
4682
  *
4721
4683
  * @export
@@ -4911,6 +4873,25 @@ export interface VPSV1MetricsMetricsResource {
4911
4873
  */
4912
4874
  'usage': object;
4913
4875
  }
4876
+ /**
4877
+ *
4878
+ * @export
4879
+ * @interface VPSV1PostInstallScriptListResponse
4880
+ */
4881
+ export interface VPSV1PostInstallScriptListResponse {
4882
+ /**
4883
+ * Array of [`VPS.V1.PostInstallScript.PostInstallScriptResource`](#model/vpsv1postinstallscriptpostinstallscriptresource)
4884
+ * @type {Array<VPSV1PostInstallScriptPostInstallScriptResource>}
4885
+ * @memberof VPSV1PostInstallScriptListResponse
4886
+ */
4887
+ 'data': Array<VPSV1PostInstallScriptPostInstallScriptResource>;
4888
+ /**
4889
+ *
4890
+ * @type {CommonSchemaPaginationMetaSchema}
4891
+ * @memberof VPSV1PostInstallScriptListResponse
4892
+ */
4893
+ 'meta': CommonSchemaPaginationMetaSchema;
4894
+ }
4914
4895
  /**
4915
4896
  *
4916
4897
  * @export
@@ -4980,6 +4961,25 @@ export interface VPSV1PublicKeyAttachRequest {
4980
4961
  */
4981
4962
  'ids': Array<number>;
4982
4963
  }
4964
+ /**
4965
+ *
4966
+ * @export
4967
+ * @interface VPSV1PublicKeyListResponse
4968
+ */
4969
+ export interface VPSV1PublicKeyListResponse {
4970
+ /**
4971
+ * Array of [`VPS.V1.PublicKey.PublicKeyResource`](#model/vpsv1publickeypublickeyresource)
4972
+ * @type {Array<VPSV1PublicKeyPublicKeyResource>}
4973
+ * @memberof VPSV1PublicKeyListResponse
4974
+ */
4975
+ 'data': Array<VPSV1PublicKeyPublicKeyResource>;
4976
+ /**
4977
+ *
4978
+ * @type {CommonSchemaPaginationMetaSchema}
4979
+ * @memberof VPSV1PublicKeyListResponse
4980
+ */
4981
+ 'meta': CommonSchemaPaginationMetaSchema;
4982
+ }
4983
4983
  /**
4984
4984
  *
4985
4985
  * @export
@@ -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
@@ -5658,66 +5758,165 @@ export interface WordPressV1InstallationsInstallWordPressRequestDatabase {
5658
5758
  /**
5659
5759
  *
5660
5760
  * @export
5661
- * @interface WordPressV1InstallationsWordPressInstallationResource
5761
+ * @interface WordPressV1InstallationsJwtTokenResource
5662
5762
  */
5663
- export interface WordPressV1InstallationsWordPressInstallationResource {
5763
+ export interface WordPressV1InstallationsJwtTokenResource {
5664
5764
  /**
5665
- * WordPress installation (software) id
5765
+ * Signed JWT used to authenticate requests against the WordPress installation
5666
5766
  * @type {string}
5667
- * @memberof WordPressV1InstallationsWordPressInstallationResource
5767
+ * @memberof WordPressV1InstallationsJwtTokenResource
5668
5768
  */
5669
- 'id': string;
5769
+ 'token': string;
5670
5770
  /**
5671
- * Hosting account username
5672
- * @type {string}
5673
- * @memberof WordPressV1InstallationsWordPressInstallationResource
5771
+ * Token lifetime in seconds from the moment it was issued
5772
+ * @type {number}
5773
+ * @memberof WordPressV1InstallationsJwtTokenResource
5674
5774
  */
5675
- 'username': string;
5775
+ 'expires_in': number;
5676
5776
  /**
5677
- * Domain the installation belongs to
5777
+ * Date-time at which the token expires, or null when not provided
5678
5778
  * @type {string}
5679
- * @memberof WordPressV1InstallationsWordPressInstallationResource
5779
+ * @memberof WordPressV1InstallationsJwtTokenResource
5680
5780
  */
5681
- 'domain': string;
5781
+ 'expires_at': string | null;
5682
5782
  /**
5683
- * WordPress site title
5783
+ * MCP (Model Context Protocol) endpoint URL for the WordPress installation, or null when not provided
5684
5784
  * @type {string}
5685
- * @memberof WordPressV1InstallationsWordPressInstallationResource
5785
+ * @memberof WordPressV1InstallationsJwtTokenResource
5686
5786
  */
5687
- 'site_title': string;
5787
+ 'mcp_url': string | null;
5788
+ }
5789
+ /**
5790
+ *
5791
+ * @export
5792
+ * @interface WordPressV1InstallationsUpdateInstallationRequest
5793
+ */
5794
+ export interface WordPressV1InstallationsUpdateInstallationRequest {
5688
5795
  /**
5689
- * WordPress site URL
5690
- * @type {string}
5691
- * @memberof WordPressV1InstallationsWordPressInstallationResource
5796
+ * Update the minor version only.
5797
+ * @type {boolean}
5798
+ * @memberof WordPressV1InstallationsUpdateInstallationRequest
5692
5799
  */
5693
- 'url': string;
5800
+ 'minor': boolean;
5694
5801
  /**
5695
- * Installation directory
5802
+ * Update to a specific WordPress core version.
5696
5803
  * @type {string}
5697
- * @memberof WordPressV1InstallationsWordPressInstallationResource
5804
+ * @memberof WordPressV1InstallationsUpdateInstallationRequest
5698
5805
  */
5699
- 'directory': string;
5806
+ 'version': string | null;
5807
+ }
5808
+ /**
5809
+ *
5810
+ * @export
5811
+ * @interface WordPressV1InstallationsUpdateResource
5812
+ */
5813
+ export interface WordPressV1InstallationsUpdateResource {
5700
5814
  /**
5701
- * WordPress locale
5815
+ * Available WordPress core version
5702
5816
  * @type {string}
5703
- * @memberof WordPressV1InstallationsWordPressInstallationResource
5817
+ * @memberof WordPressV1InstallationsUpdateResource
5704
5818
  */
5705
- 'language': string;
5819
+ 'version': string;
5706
5820
  /**
5707
- * WordPress admin username
5821
+ * Update type
5708
5822
  * @type {string}
5709
- * @memberof WordPressV1InstallationsWordPressInstallationResource
5823
+ * @memberof WordPressV1InstallationsUpdateResource
5710
5824
  */
5711
- 'login': string;
5825
+ 'type': WordPressV1InstallationsUpdateResourceTypeEnum;
5712
5826
  /**
5713
- * WordPress admin email
5827
+ * Download URL for the update package
5714
5828
  * @type {string}
5715
- * @memberof WordPressV1InstallationsWordPressInstallationResource
5829
+ * @memberof WordPressV1InstallationsUpdateResource
5716
5830
  */
5717
- 'email': string;
5718
- /**
5719
- * Whether the installation is considered valid
5720
- * @type {boolean}
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
+ }
5857
+ /**
5858
+ *
5859
+ * @export
5860
+ * @interface WordPressV1InstallationsWordPressInstallationResource
5861
+ */
5862
+ export interface WordPressV1InstallationsWordPressInstallationResource {
5863
+ /**
5864
+ * WordPress installation (software) id
5865
+ * @type {string}
5866
+ * @memberof WordPressV1InstallationsWordPressInstallationResource
5867
+ */
5868
+ 'id': string;
5869
+ /**
5870
+ * Hosting account username
5871
+ * @type {string}
5872
+ * @memberof WordPressV1InstallationsWordPressInstallationResource
5873
+ */
5874
+ 'username': string;
5875
+ /**
5876
+ * Domain the installation belongs to
5877
+ * @type {string}
5878
+ * @memberof WordPressV1InstallationsWordPressInstallationResource
5879
+ */
5880
+ 'domain': string;
5881
+ /**
5882
+ * WordPress site title
5883
+ * @type {string}
5884
+ * @memberof WordPressV1InstallationsWordPressInstallationResource
5885
+ */
5886
+ 'site_title': string;
5887
+ /**
5888
+ * WordPress site URL
5889
+ * @type {string}
5890
+ * @memberof WordPressV1InstallationsWordPressInstallationResource
5891
+ */
5892
+ 'url': string;
5893
+ /**
5894
+ * Installation directory
5895
+ * @type {string}
5896
+ * @memberof WordPressV1InstallationsWordPressInstallationResource
5897
+ */
5898
+ 'directory': string;
5899
+ /**
5900
+ * WordPress locale
5901
+ * @type {string}
5902
+ * @memberof WordPressV1InstallationsWordPressInstallationResource
5903
+ */
5904
+ 'language': string;
5905
+ /**
5906
+ * WordPress admin username
5907
+ * @type {string}
5908
+ * @memberof WordPressV1InstallationsWordPressInstallationResource
5909
+ */
5910
+ 'login': string;
5911
+ /**
5912
+ * WordPress admin email
5913
+ * @type {string}
5914
+ * @memberof WordPressV1InstallationsWordPressInstallationResource
5915
+ */
5916
+ 'email': string;
5917
+ /**
5918
+ * Whether the installation is considered valid
5919
+ * @type {boolean}
5721
5920
  * @memberof WordPressV1InstallationsWordPressInstallationResource
5722
5921
  */
5723
5922
  'is_valid': boolean;
@@ -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
@@ -8328,174 +8633,389 @@ export declare class HorizonsWebsitesApi extends BaseAPI {
8328
8633
  getWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesWebsiteUrlResource, any, {}>>;
8329
8634
  }
8330
8635
  /**
8331
- * HostingCronJobsApi - axios parameter creator
8636
+ * HostingCacheApi - axios parameter creator
8332
8637
  * @export
8333
8638
  */
8334
- export declare const HostingCronJobsApiAxiosParamCreator: (configuration?: Configuration) => {
8639
+ export declare const HostingCacheApiAxiosParamCreator: (configuration?: Configuration) => {
8335
8640
  /**
8336
- * Creates a cron job for the specified account from a schedule expression and a command. Returns the created cron job, including its uid, which is required to delete the cron job or fetch its output.
8337
- * @summary Create account cron job
8641
+ * Permanently clears all server-side cache for the website at once. Use it when content was updated and needs to be visible immediately, or after making major changes. Also purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress installation living in a subdirectory, pass the directory query parameter to clear its cache.
8642
+ * @summary Clear website cache
8338
8643
  * @param {string} username
8339
- * @param {HostingV1CronJobsCreateCronJobRequest} hostingV1CronJobsCreateCronJobRequest
8644
+ * @param {string} domain Domain name
8645
+ * @param {string} [directory] Directory of the website installation to clear, relative to the website root. Defaults to the website root.
8340
8646
  * @param {*} [options] Override http request option.
8341
8647
  * @throws {RequiredError}
8342
8648
  */
8343
- createAccountCronJobV1: (username: string, hostingV1CronJobsCreateCronJobRequest: HostingV1CronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8649
+ clearWebsiteCacheV1: (username: string, domain: string, directory?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8344
8650
  /**
8345
- * Permanently deletes the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
8346
- * @summary Delete account cron job
8651
+ * Turns off development (cacheless) mode and returns the website to normal caching. Use it after finishing development work to restore the performance benefits of caching.
8652
+ * @summary Disable cacheless mode
8347
8653
  * @param {string} username
8348
- * @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
8654
+ * @param {string} domain Domain name
8349
8655
  * @param {*} [options] Override http request option.
8350
8656
  * @throws {RequiredError}
8351
8657
  */
8352
- deleteAccountCronJobV1: (username: string, uid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8658
+ disableCachelessModeV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8353
8659
  /**
8354
- * Returns the output captured from the last execution of the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
8355
- * @summary Get cron job output
8660
+ * Turns off server-side caching for the website until it is enabled again. May impact performance. Use it when experiencing cache-related issues; to temporarily bypass caching while developing or debugging, prefer enabling cacheless mode instead. Does nothing if caching is already disabled.
8661
+ * @summary Disable website cache
8356
8662
  * @param {string} username
8357
- * @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
8663
+ * @param {string} domain Domain name
8358
8664
  * @param {*} [options] Override http request option.
8359
8665
  * @throws {RequiredError}
8360
8666
  */
8361
- getCronJobOutputV1: (username: string, uid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8667
+ disableWebsiteCacheV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8362
8668
  /**
8363
- * Returns the list of cron jobs configured for the specified account, including their schedule and command.
8364
- * @summary List account cron jobs
8669
+ * Enables development (cacheless) mode where nothing is cached, effectively turning off all caching for the website. Use it while actively developing, testing changes, debugging issues, or when real-time updates must be visible. Disable cacheless mode afterwards to restore normal caching.
8670
+ * @summary Enable cacheless mode
8365
8671
  * @param {string} username
8672
+ * @param {string} domain Domain name
8366
8673
  * @param {*} [options] Override http request option.
8367
8674
  * @throws {RequiredError}
8368
8675
  */
8369
- listAccountCronJobsV1: (username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8676
+ enableCachelessModeV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8677
+ /**
8678
+ * Turns on server-side caching for the website for better performance. Use it for faster page loads, reduced server load, or improved user experience. Recommended for production websites. Does nothing if caching is already enabled.
8679
+ * @summary Enable website cache
8680
+ * @param {string} username
8681
+ * @param {string} domain Domain name
8682
+ * @param {*} [options] Override http request option.
8683
+ * @throws {RequiredError}
8684
+ */
8685
+ enableWebsiteCacheV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8370
8686
  };
8371
8687
  /**
8372
- * HostingCronJobsApi - functional programming interface
8688
+ * HostingCacheApi - functional programming interface
8373
8689
  * @export
8374
8690
  */
8375
- export declare const HostingCronJobsApiFp: (configuration?: Configuration) => {
8691
+ export declare const HostingCacheApiFp: (configuration?: Configuration) => {
8376
8692
  /**
8377
- * Creates a cron job for the specified account from a schedule expression and a command. Returns the created cron job, including its uid, which is required to delete the cron job or fetch its output.
8378
- * @summary Create account cron job
8693
+ * Permanently clears all server-side cache for the website at once. Use it when content was updated and needs to be visible immediately, or after making major changes. Also purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress installation living in a subdirectory, pass the directory query parameter to clear its cache.
8694
+ * @summary Clear website cache
8379
8695
  * @param {string} username
8380
- * @param {HostingV1CronJobsCreateCronJobRequest} hostingV1CronJobsCreateCronJobRequest
8696
+ * @param {string} domain Domain name
8697
+ * @param {string} [directory] Directory of the website installation to clear, relative to the website root. Defaults to the website root.
8381
8698
  * @param {*} [options] Override http request option.
8382
8699
  * @throws {RequiredError}
8383
8700
  */
8384
- createAccountCronJobV1(username: string, hostingV1CronJobsCreateCronJobRequest: HostingV1CronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1CronJobsCronJobResource>>;
8701
+ clearWebsiteCacheV1(username: string, domain: string, directory?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
8385
8702
  /**
8386
- * Permanently deletes the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
8387
- * @summary Delete account cron job
8703
+ * Turns off development (cacheless) mode and returns the website to normal caching. Use it after finishing development work to restore the performance benefits of caching.
8704
+ * @summary Disable cacheless mode
8388
8705
  * @param {string} username
8389
- * @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
8706
+ * @param {string} domain Domain name
8390
8707
  * @param {*} [options] Override http request option.
8391
8708
  * @throws {RequiredError}
8392
8709
  */
8393
- deleteAccountCronJobV1(username: string, uid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
8710
+ disableCachelessModeV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
8394
8711
  /**
8395
- * Returns the output captured from the last execution of the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
8396
- * @summary Get cron job output
8712
+ * Turns off server-side caching for the website until it is enabled again. May impact performance. Use it when experiencing cache-related issues; to temporarily bypass caching while developing or debugging, prefer enabling cacheless mode instead. Does nothing if caching is already disabled.
8713
+ * @summary Disable website cache
8397
8714
  * @param {string} username
8398
- * @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
8715
+ * @param {string} domain Domain name
8399
8716
  * @param {*} [options] Override http request option.
8400
8717
  * @throws {RequiredError}
8401
8718
  */
8402
- getCronJobOutputV1(username: string, uid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1CronJobsCronJobOutputResource>>;
8719
+ disableWebsiteCacheV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
8403
8720
  /**
8404
- * Returns the list of cron jobs configured for the specified account, including their schedule and command.
8405
- * @summary List account cron jobs
8721
+ * Enables development (cacheless) mode where nothing is cached, effectively turning off all caching for the website. Use it while actively developing, testing changes, debugging issues, or when real-time updates must be visible. Disable cacheless mode afterwards to restore normal caching.
8722
+ * @summary Enable cacheless mode
8406
8723
  * @param {string} username
8724
+ * @param {string} domain Domain name
8407
8725
  * @param {*} [options] Override http request option.
8408
8726
  * @throws {RequiredError}
8409
8727
  */
8410
- listAccountCronJobsV1(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HostingV1CronJobsCronJobResource>>>;
8728
+ enableCachelessModeV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
8729
+ /**
8730
+ * Turns on server-side caching for the website for better performance. Use it for faster page loads, reduced server load, or improved user experience. Recommended for production websites. Does nothing if caching is already enabled.
8731
+ * @summary Enable website cache
8732
+ * @param {string} username
8733
+ * @param {string} domain Domain name
8734
+ * @param {*} [options] Override http request option.
8735
+ * @throws {RequiredError}
8736
+ */
8737
+ enableWebsiteCacheV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
8411
8738
  };
8412
8739
  /**
8413
- * HostingCronJobsApi - factory interface
8740
+ * HostingCacheApi - factory interface
8414
8741
  * @export
8415
8742
  */
8416
- export declare const HostingCronJobsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
8743
+ export declare const HostingCacheApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
8417
8744
  /**
8418
- * Creates a cron job for the specified account from a schedule expression and a command. Returns the created cron job, including its uid, which is required to delete the cron job or fetch its output.
8419
- * @summary Create account cron job
8745
+ * Permanently clears all server-side cache for the website at once. Use it when content was updated and needs to be visible immediately, or after making major changes. Also purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress installation living in a subdirectory, pass the directory query parameter to clear its cache.
8746
+ * @summary Clear website cache
8420
8747
  * @param {string} username
8421
- * @param {HostingV1CronJobsCreateCronJobRequest} hostingV1CronJobsCreateCronJobRequest
8748
+ * @param {string} domain Domain name
8749
+ * @param {string} [directory] Directory of the website installation to clear, relative to the website root. Defaults to the website root.
8422
8750
  * @param {*} [options] Override http request option.
8423
8751
  * @throws {RequiredError}
8424
8752
  */
8425
- createAccountCronJobV1(username: string, hostingV1CronJobsCreateCronJobRequest: HostingV1CronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1CronJobsCronJobResource>;
8753
+ clearWebsiteCacheV1(username: string, domain: string, directory?: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
8426
8754
  /**
8427
- * Permanently deletes the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
8428
- * @summary Delete account cron job
8755
+ * Turns off development (cacheless) mode and returns the website to normal caching. Use it after finishing development work to restore the performance benefits of caching.
8756
+ * @summary Disable cacheless mode
8429
8757
  * @param {string} username
8430
- * @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
8758
+ * @param {string} domain Domain name
8431
8759
  * @param {*} [options] Override http request option.
8432
8760
  * @throws {RequiredError}
8433
8761
  */
8434
- deleteAccountCronJobV1(username: string, uid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
8762
+ disableCachelessModeV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
8435
8763
  /**
8436
- * Returns the output captured from the last execution of the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
8437
- * @summary Get cron job output
8764
+ * Turns off server-side caching for the website until it is enabled again. May impact performance. Use it when experiencing cache-related issues; to temporarily bypass caching while developing or debugging, prefer enabling cacheless mode instead. Does nothing if caching is already disabled.
8765
+ * @summary Disable website cache
8438
8766
  * @param {string} username
8439
- * @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
8767
+ * @param {string} domain Domain name
8440
8768
  * @param {*} [options] Override http request option.
8441
8769
  * @throws {RequiredError}
8442
8770
  */
8443
- getCronJobOutputV1(username: string, uid: string, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1CronJobsCronJobOutputResource>;
8771
+ disableWebsiteCacheV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
8444
8772
  /**
8445
- * Returns the list of cron jobs configured for the specified account, including their schedule and command.
8446
- * @summary List account cron jobs
8773
+ * Enables development (cacheless) mode where nothing is cached, effectively turning off all caching for the website. Use it while actively developing, testing changes, debugging issues, or when real-time updates must be visible. Disable cacheless mode afterwards to restore normal caching.
8774
+ * @summary Enable cacheless mode
8447
8775
  * @param {string} username
8776
+ * @param {string} domain Domain name
8448
8777
  * @param {*} [options] Override http request option.
8449
8778
  * @throws {RequiredError}
8450
8779
  */
8451
- listAccountCronJobsV1(username: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<HostingV1CronJobsCronJobResource>>;
8780
+ enableCachelessModeV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
8781
+ /**
8782
+ * Turns on server-side caching for the website for better performance. Use it for faster page loads, reduced server load, or improved user experience. Recommended for production websites. Does nothing if caching is already enabled.
8783
+ * @summary Enable website cache
8784
+ * @param {string} username
8785
+ * @param {string} domain Domain name
8786
+ * @param {*} [options] Override http request option.
8787
+ * @throws {RequiredError}
8788
+ */
8789
+ enableWebsiteCacheV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
8452
8790
  };
8453
8791
  /**
8454
- * HostingCronJobsApi - object-oriented interface
8792
+ * HostingCacheApi - object-oriented interface
8455
8793
  * @export
8456
- * @class HostingCronJobsApi
8794
+ * @class HostingCacheApi
8457
8795
  * @extends {BaseAPI}
8458
8796
  */
8459
- export declare class HostingCronJobsApi extends BaseAPI {
8797
+ export declare class HostingCacheApi extends BaseAPI {
8460
8798
  /**
8461
- * Creates a cron job for the specified account from a schedule expression and a command. Returns the created cron job, including its uid, which is required to delete the cron job or fetch its output.
8462
- * @summary Create account cron job
8799
+ * Permanently clears all server-side cache for the website at once. Use it when content was updated and needs to be visible immediately, or after making major changes. Also purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress installation living in a subdirectory, pass the directory query parameter to clear its cache.
8800
+ * @summary Clear website cache
8463
8801
  * @param {string} username
8464
- * @param {HostingV1CronJobsCreateCronJobRequest} hostingV1CronJobsCreateCronJobRequest
8802
+ * @param {string} domain Domain name
8803
+ * @param {string} [directory] Directory of the website installation to clear, relative to the website root. Defaults to the website root.
8465
8804
  * @param {*} [options] Override http request option.
8466
8805
  * @throws {RequiredError}
8467
- * @memberof HostingCronJobsApi
8806
+ * @memberof HostingCacheApi
8468
8807
  */
8469
- createAccountCronJobV1(username: string, hostingV1CronJobsCreateCronJobRequest: HostingV1CronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1CronJobsCronJobResource, any, {}>>;
8808
+ clearWebsiteCacheV1(username: string, domain: string, directory?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
8470
8809
  /**
8471
- * Permanently deletes the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
8472
- * @summary Delete account cron job
8810
+ * Turns off development (cacheless) mode and returns the website to normal caching. Use it after finishing development work to restore the performance benefits of caching.
8811
+ * @summary Disable cacheless mode
8473
8812
  * @param {string} username
8474
- * @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
8813
+ * @param {string} domain Domain name
8475
8814
  * @param {*} [options] Override http request option.
8476
8815
  * @throws {RequiredError}
8477
- * @memberof HostingCronJobsApi
8816
+ * @memberof HostingCacheApi
8478
8817
  */
8479
- deleteAccountCronJobV1(username: string, uid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
8818
+ disableCachelessModeV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
8480
8819
  /**
8481
- * Returns the output captured from the last execution of the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
8482
- * @summary Get cron job output
8820
+ * Turns off server-side caching for the website until it is enabled again. May impact performance. Use it when experiencing cache-related issues; to temporarily bypass caching while developing or debugging, prefer enabling cacheless mode instead. Does nothing if caching is already disabled.
8821
+ * @summary Disable website cache
8483
8822
  * @param {string} username
8484
- * @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
8823
+ * @param {string} domain Domain name
8485
8824
  * @param {*} [options] Override http request option.
8486
8825
  * @throws {RequiredError}
8487
- * @memberof HostingCronJobsApi
8826
+ * @memberof HostingCacheApi
8488
8827
  */
8489
- getCronJobOutputV1(username: string, uid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1CronJobsCronJobOutputResource, any, {}>>;
8828
+ disableWebsiteCacheV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
8490
8829
  /**
8491
- * Returns the list of cron jobs configured for the specified account, including their schedule and command.
8492
- * @summary List account cron jobs
8830
+ * Enables development (cacheless) mode where nothing is cached, effectively turning off all caching for the website. Use it while actively developing, testing changes, debugging issues, or when real-time updates must be visible. Disable cacheless mode afterwards to restore normal caching.
8831
+ * @summary Enable cacheless mode
8832
+ * @param {string} username
8833
+ * @param {string} domain Domain name
8834
+ * @param {*} [options] Override http request option.
8835
+ * @throws {RequiredError}
8836
+ * @memberof HostingCacheApi
8837
+ */
8838
+ enableCachelessModeV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
8839
+ /**
8840
+ * Turns on server-side caching for the website for better performance. Use it for faster page loads, reduced server load, or improved user experience. Recommended for production websites. Does nothing if caching is already enabled.
8841
+ * @summary Enable website cache
8493
8842
  * @param {string} username
8843
+ * @param {string} domain Domain name
8494
8844
  * @param {*} [options] Override http request option.
8495
8845
  * @throws {RequiredError}
8496
- * @memberof HostingCronJobsApi
8846
+ * @memberof HostingCacheApi
8497
8847
  */
8498
- listAccountCronJobsV1(username: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1CronJobsCronJobResource[], any, {}>>;
8848
+ enableWebsiteCacheV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
8849
+ }
8850
+ /**
8851
+ * HostingCronJobsApi - axios parameter creator
8852
+ * @export
8853
+ */
8854
+ export declare const HostingCronJobsApiAxiosParamCreator: (configuration?: Configuration) => {
8855
+ /**
8856
+ * Creates a cron job for the specified account from a schedule expression and a command. Returns the created cron job, including its uid, which is required to delete the cron job or fetch its output.
8857
+ * @summary Create account cron job
8858
+ * @param {string} username
8859
+ * @param {HostingV1CronJobsCreateCronJobRequest} hostingV1CronJobsCreateCronJobRequest
8860
+ * @param {*} [options] Override http request option.
8861
+ * @throws {RequiredError}
8862
+ */
8863
+ createAccountCronJobV1: (username: string, hostingV1CronJobsCreateCronJobRequest: HostingV1CronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8864
+ /**
8865
+ * Permanently deletes the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
8866
+ * @summary Delete account cron job
8867
+ * @param {string} username
8868
+ * @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
8869
+ * @param {*} [options] Override http request option.
8870
+ * @throws {RequiredError}
8871
+ */
8872
+ deleteAccountCronJobV1: (username: string, uid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8873
+ /**
8874
+ * Returns the output captured from the last execution of the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
8875
+ * @summary Get cron job output
8876
+ * @param {string} username
8877
+ * @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
8878
+ * @param {*} [options] Override http request option.
8879
+ * @throws {RequiredError}
8880
+ */
8881
+ getCronJobOutputV1: (username: string, uid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8882
+ /**
8883
+ * Returns the list of cron jobs configured for the specified account, including their schedule and command.
8884
+ * @summary List account cron jobs
8885
+ * @param {string} username
8886
+ * @param {*} [options] Override http request option.
8887
+ * @throws {RequiredError}
8888
+ */
8889
+ listAccountCronJobsV1: (username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8890
+ };
8891
+ /**
8892
+ * HostingCronJobsApi - functional programming interface
8893
+ * @export
8894
+ */
8895
+ export declare const HostingCronJobsApiFp: (configuration?: Configuration) => {
8896
+ /**
8897
+ * Creates a cron job for the specified account from a schedule expression and a command. Returns the created cron job, including its uid, which is required to delete the cron job or fetch its output.
8898
+ * @summary Create account cron job
8899
+ * @param {string} username
8900
+ * @param {HostingV1CronJobsCreateCronJobRequest} hostingV1CronJobsCreateCronJobRequest
8901
+ * @param {*} [options] Override http request option.
8902
+ * @throws {RequiredError}
8903
+ */
8904
+ createAccountCronJobV1(username: string, hostingV1CronJobsCreateCronJobRequest: HostingV1CronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1CronJobsCronJobResource>>;
8905
+ /**
8906
+ * Permanently deletes the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
8907
+ * @summary Delete account cron job
8908
+ * @param {string} username
8909
+ * @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
8910
+ * @param {*} [options] Override http request option.
8911
+ * @throws {RequiredError}
8912
+ */
8913
+ deleteAccountCronJobV1(username: string, uid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
8914
+ /**
8915
+ * Returns the output captured from the last execution of the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
8916
+ * @summary Get cron job output
8917
+ * @param {string} username
8918
+ * @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
8919
+ * @param {*} [options] Override http request option.
8920
+ * @throws {RequiredError}
8921
+ */
8922
+ getCronJobOutputV1(username: string, uid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1CronJobsCronJobOutputResource>>;
8923
+ /**
8924
+ * Returns the list of cron jobs configured for the specified account, including their schedule and command.
8925
+ * @summary List account cron jobs
8926
+ * @param {string} username
8927
+ * @param {*} [options] Override http request option.
8928
+ * @throws {RequiredError}
8929
+ */
8930
+ listAccountCronJobsV1(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HostingV1CronJobsCronJobResource>>>;
8931
+ };
8932
+ /**
8933
+ * HostingCronJobsApi - factory interface
8934
+ * @export
8935
+ */
8936
+ export declare const HostingCronJobsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
8937
+ /**
8938
+ * Creates a cron job for the specified account from a schedule expression and a command. Returns the created cron job, including its uid, which is required to delete the cron job or fetch its output.
8939
+ * @summary Create account cron job
8940
+ * @param {string} username
8941
+ * @param {HostingV1CronJobsCreateCronJobRequest} hostingV1CronJobsCreateCronJobRequest
8942
+ * @param {*} [options] Override http request option.
8943
+ * @throws {RequiredError}
8944
+ */
8945
+ createAccountCronJobV1(username: string, hostingV1CronJobsCreateCronJobRequest: HostingV1CronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1CronJobsCronJobResource>;
8946
+ /**
8947
+ * Permanently deletes the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
8948
+ * @summary Delete account cron job
8949
+ * @param {string} username
8950
+ * @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
8951
+ * @param {*} [options] Override http request option.
8952
+ * @throws {RequiredError}
8953
+ */
8954
+ deleteAccountCronJobV1(username: string, uid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
8955
+ /**
8956
+ * Returns the output captured from the last execution of the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
8957
+ * @summary Get cron job output
8958
+ * @param {string} username
8959
+ * @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
8960
+ * @param {*} [options] Override http request option.
8961
+ * @throws {RequiredError}
8962
+ */
8963
+ getCronJobOutputV1(username: string, uid: string, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1CronJobsCronJobOutputResource>;
8964
+ /**
8965
+ * Returns the list of cron jobs configured for the specified account, including their schedule and command.
8966
+ * @summary List account cron jobs
8967
+ * @param {string} username
8968
+ * @param {*} [options] Override http request option.
8969
+ * @throws {RequiredError}
8970
+ */
8971
+ listAccountCronJobsV1(username: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<HostingV1CronJobsCronJobResource>>;
8972
+ };
8973
+ /**
8974
+ * HostingCronJobsApi - object-oriented interface
8975
+ * @export
8976
+ * @class HostingCronJobsApi
8977
+ * @extends {BaseAPI}
8978
+ */
8979
+ export declare class HostingCronJobsApi extends BaseAPI {
8980
+ /**
8981
+ * Creates a cron job for the specified account from a schedule expression and a command. Returns the created cron job, including its uid, which is required to delete the cron job or fetch its output.
8982
+ * @summary Create account cron job
8983
+ * @param {string} username
8984
+ * @param {HostingV1CronJobsCreateCronJobRequest} hostingV1CronJobsCreateCronJobRequest
8985
+ * @param {*} [options] Override http request option.
8986
+ * @throws {RequiredError}
8987
+ * @memberof HostingCronJobsApi
8988
+ */
8989
+ createAccountCronJobV1(username: string, hostingV1CronJobsCreateCronJobRequest: HostingV1CronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1CronJobsCronJobResource, any, {}>>;
8990
+ /**
8991
+ * Permanently deletes the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
8992
+ * @summary Delete account cron job
8993
+ * @param {string} username
8994
+ * @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
8995
+ * @param {*} [options] Override http request option.
8996
+ * @throws {RequiredError}
8997
+ * @memberof HostingCronJobsApi
8998
+ */
8999
+ deleteAccountCronJobV1(username: string, uid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
9000
+ /**
9001
+ * Returns the output captured from the last execution of the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
9002
+ * @summary Get cron job output
9003
+ * @param {string} username
9004
+ * @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
9005
+ * @param {*} [options] Override http request option.
9006
+ * @throws {RequiredError}
9007
+ * @memberof HostingCronJobsApi
9008
+ */
9009
+ getCronJobOutputV1(username: string, uid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1CronJobsCronJobOutputResource, any, {}>>;
9010
+ /**
9011
+ * Returns the list of cron jobs configured for the specified account, including their schedule and command.
9012
+ * @summary List account cron jobs
9013
+ * @param {string} username
9014
+ * @param {*} [options] Override http request option.
9015
+ * @throws {RequiredError}
9016
+ * @memberof HostingCronJobsApi
9017
+ */
9018
+ listAccountCronJobsV1(username: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1CronJobsCronJobResource[], any, {}>>;
8499
9019
  }
8500
9020
  /**
8501
9021
  * HostingDatabasesApi - axios parameter creator
@@ -10449,7 +10969,7 @@ export declare const VPSActionsApiFp: (configuration?: Configuration) => {
10449
10969
  * @param {*} [options] Override http request option.
10450
10970
  * @throws {RequiredError}
10451
10971
  */
10452
- getActionsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSGetActionsV1200Response>>;
10972
+ getActionsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionListResponse>>;
10453
10973
  };
10454
10974
  /**
10455
10975
  * VPSActionsApi - factory interface
@@ -10473,7 +10993,7 @@ export declare const VPSActionsApiFactory: (configuration?: Configuration, baseP
10473
10993
  * @param {*} [options] Override http request option.
10474
10994
  * @throws {RequiredError}
10475
10995
  */
10476
- getActionsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSGetActionsV1200Response>;
10996
+ getActionsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionListResponse>;
10477
10997
  };
10478
10998
  /**
10479
10999
  * VPSActionsApi - object-oriented interface
@@ -10501,7 +11021,7 @@ export declare class VPSActionsApi extends BaseAPI {
10501
11021
  * @throws {RequiredError}
10502
11022
  * @memberof VPSActionsApi
10503
11023
  */
10504
- getActionsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetActionsV1200Response, any, {}>>;
11024
+ getActionsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionListResponse, any, {}>>;
10505
11025
  }
10506
11026
  /**
10507
11027
  * VPSBackupsApi - axios parameter creator
@@ -10540,7 +11060,7 @@ export declare const VPSBackupsApiFp: (configuration?: Configuration) => {
10540
11060
  * @param {*} [options] Override http request option.
10541
11061
  * @throws {RequiredError}
10542
11062
  */
10543
- getBackupsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSGetBackupsV1200Response>>;
11063
+ getBackupsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1BackupListResponse>>;
10544
11064
  /**
10545
11065
  * Restore a backup for a specified virtual machine. The system will then initiate the restore process, which may take some time depending on the size of the backup. **All data on the virtual machine will be overwritten with the data from the backup.** Use this endpoint to recover VPS data from backup points.
10546
11066
  * @summary Restore backup
@@ -10564,7 +11084,7 @@ export declare const VPSBackupsApiFactory: (configuration?: Configuration, baseP
10564
11084
  * @param {*} [options] Override http request option.
10565
11085
  * @throws {RequiredError}
10566
11086
  */
10567
- getBackupsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSGetBackupsV1200Response>;
11087
+ getBackupsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1BackupListResponse>;
10568
11088
  /**
10569
11089
  * Restore a backup for a specified virtual machine. The system will then initiate the restore process, which may take some time depending on the size of the backup. **All data on the virtual machine will be overwritten with the data from the backup.** Use this endpoint to recover VPS data from backup points.
10570
11090
  * @summary Restore backup
@@ -10591,7 +11111,7 @@ export declare class VPSBackupsApi extends BaseAPI {
10591
11111
  * @throws {RequiredError}
10592
11112
  * @memberof VPSBackupsApi
10593
11113
  */
10594
- getBackupsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetBackupsV1200Response, any, {}>>;
11114
+ getBackupsV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1BackupListResponse, any, {}>>;
10595
11115
  /**
10596
11116
  * Restore a backup for a specified virtual machine. The system will then initiate the restore process, which may take some time depending on the size of the backup. **All data on the virtual machine will be overwritten with the data from the backup.** Use this endpoint to recover VPS data from backup points.
10597
11117
  * @summary Restore backup
@@ -11215,7 +11735,7 @@ export declare const VPSFirewallApiFp: (configuration?: Configuration) => {
11215
11735
  * @param {*} [options] Override http request option.
11216
11736
  * @throws {RequiredError}
11217
11737
  */
11218
- getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSGetFirewallListV1200Response>>;
11738
+ getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1FirewallListResponse>>;
11219
11739
  /**
11220
11740
  * Sync a firewall for a specified virtual machine. Firewall can lose sync with virtual machine if the firewall has new rules added, removed or updated. Use this endpoint to apply updated firewall rules to VPS instances.
11221
11741
  * @summary Sync firewall
@@ -11308,7 +11828,7 @@ export declare const VPSFirewallApiFactory: (configuration?: Configuration, base
11308
11828
  * @param {*} [options] Override http request option.
11309
11829
  * @throws {RequiredError}
11310
11830
  */
11311
- getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSGetFirewallListV1200Response>;
11831
+ getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1FirewallListResponse>;
11312
11832
  /**
11313
11833
  * Sync a firewall for a specified virtual machine. Firewall can lose sync with virtual machine if the firewall has new rules added, removed or updated. Use this endpoint to apply updated firewall rules to VPS instances.
11314
11834
  * @summary Sync firewall
@@ -11411,7 +11931,7 @@ export declare class VPSFirewallApi extends BaseAPI {
11411
11931
  * @throws {RequiredError}
11412
11932
  * @memberof VPSFirewallApi
11413
11933
  */
11414
- getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetFirewallListV1200Response, any, {}>>;
11934
+ getFirewallListV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1FirewallListResponse, any, {}>>;
11415
11935
  /**
11416
11936
  * Sync a firewall for a specified virtual machine. Firewall can lose sync with virtual machine if the firewall has new rules added, removed or updated. Use this endpoint to apply updated firewall rules to VPS instances.
11417
11937
  * @summary Sync firewall
@@ -11834,7 +12354,7 @@ export declare const VPSPostInstallScriptsApiFp: (configuration?: Configuration)
11834
12354
  * @param {*} [options] Override http request option.
11835
12355
  * @throws {RequiredError}
11836
12356
  */
11837
- getPostInstallScriptsV1(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSGetPostInstallScriptsV1200Response>>;
12357
+ getPostInstallScriptsV1(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1PostInstallScriptListResponse>>;
11838
12358
  /**
11839
12359
  * Update a specific post-install script. Use this endpoint to modify existing automation scripts.
11840
12360
  * @summary Update post-install script
@@ -11881,7 +12401,7 @@ export declare const VPSPostInstallScriptsApiFactory: (configuration?: Configura
11881
12401
  * @param {*} [options] Override http request option.
11882
12402
  * @throws {RequiredError}
11883
12403
  */
11884
- getPostInstallScriptsV1(page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSGetPostInstallScriptsV1200Response>;
12404
+ getPostInstallScriptsV1(page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1PostInstallScriptListResponse>;
11885
12405
  /**
11886
12406
  * Update a specific post-install script. Use this endpoint to modify existing automation scripts.
11887
12407
  * @summary Update post-install script
@@ -11934,7 +12454,7 @@ export declare class VPSPostInstallScriptsApi extends BaseAPI {
11934
12454
  * @throws {RequiredError}
11935
12455
  * @memberof VPSPostInstallScriptsApi
11936
12456
  */
11937
- getPostInstallScriptsV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetPostInstallScriptsV1200Response, any, {}>>;
12457
+ getPostInstallScriptsV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PostInstallScriptListResponse, any, {}>>;
11938
12458
  /**
11939
12459
  * Update a specific post-install script. Use this endpoint to modify existing automation scripts.
11940
12460
  * @summary Update post-install script
@@ -12022,7 +12542,7 @@ export declare const VPSPublicKeysApiFp: (configuration?: Configuration) => {
12022
12542
  * @param {*} [options] Override http request option.
12023
12543
  * @throws {RequiredError}
12024
12544
  */
12025
- getPublicKeysV1(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSGetPublicKeysV1200Response>>;
12545
+ getPublicKeysV1(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1PublicKeyListResponse>>;
12026
12546
  };
12027
12547
  /**
12028
12548
  * VPSPublicKeysApi - factory interface
@@ -12061,7 +12581,7 @@ export declare const VPSPublicKeysApiFactory: (configuration?: Configuration, ba
12061
12581
  * @param {*} [options] Override http request option.
12062
12582
  * @throws {RequiredError}
12063
12583
  */
12064
- getPublicKeysV1(page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSGetPublicKeysV1200Response>;
12584
+ getPublicKeysV1(page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1PublicKeyListResponse>;
12065
12585
  };
12066
12586
  /**
12067
12587
  * VPSPublicKeysApi - object-oriented interface
@@ -12106,7 +12626,7 @@ export declare class VPSPublicKeysApi extends BaseAPI {
12106
12626
  * @throws {RequiredError}
12107
12627
  * @memberof VPSPublicKeysApi
12108
12628
  */
12109
- getPublicKeysV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetPublicKeysV1200Response, any, {}>>;
12629
+ getPublicKeysV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PublicKeyListResponse, any, {}>>;
12110
12630
  }
12111
12631
  /**
12112
12632
  * VPSRecoveryApi - axios parameter creator
@@ -12509,7 +13029,7 @@ export declare const VPSVirtualMachineApiFp: (configuration?: Configuration) =>
12509
13029
  * @param {*} [options] Override http request option.
12510
13030
  * @throws {RequiredError}
12511
13031
  */
12512
- getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSGetPublicKeysV1200Response>>;
13032
+ getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1PublicKeyListResponse>>;
12513
13033
  /**
12514
13034
  * Retrieve historical metrics for a specified virtual machine. It includes the following metrics: - CPU usage - Memory usage - Disk usage - Network usage - Uptime Use this endpoint to monitor VPS performance and resource utilization over time.
12515
13035
  * @summary Get metrics
@@ -12643,7 +13163,7 @@ export declare const VPSVirtualMachineApiFactory: (configuration?: Configuration
12643
13163
  * @param {*} [options] Override http request option.
12644
13164
  * @throws {RequiredError}
12645
13165
  */
12646
- getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSGetPublicKeysV1200Response>;
13166
+ getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1PublicKeyListResponse>;
12647
13167
  /**
12648
13168
  * Retrieve historical metrics for a specified virtual machine. It includes the following metrics: - CPU usage - Memory usage - Disk usage - Network usage - Uptime Use this endpoint to monitor VPS performance and resource utilization over time.
12649
13169
  * @summary Get metrics
@@ -12780,7 +13300,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
12780
13300
  * @throws {RequiredError}
12781
13301
  * @memberof VPSVirtualMachineApi
12782
13302
  */
12783
- getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSGetPublicKeysV1200Response, any, {}>>;
13303
+ getAttachedPublicKeysV1(virtualMachineId: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1PublicKeyListResponse, any, {}>>;
12784
13304
  /**
12785
13305
  * Retrieve historical metrics for a specified virtual machine. It includes the following metrics: - CPU usage - Memory usage - Disk usage - Network usage - Uptime Use this endpoint to monitor VPS performance and resource utilization over time.
12786
13306
  * @summary Get metrics
@@ -12916,118 +13436,868 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
12916
13436
  stopVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
12917
13437
  }
12918
13438
  /**
12919
- * WordPressInstallationsApi - axios parameter creator
13439
+ * WordPressAIToolsApi - axios parameter creator
12920
13440
  * @export
12921
13441
  */
12922
- export declare const WordPressInstallationsApiAxiosParamCreator: (configuration?: Configuration) => {
13442
+ export declare const WordPressAIToolsApiAxiosParamCreator: (configuration?: Configuration) => {
12923
13443
  /**
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
13444
+ * 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).
13445
+ * @summary Set AI option status
12926
13446
  * @param {string} username
12927
- * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
13447
+ * @param {string} software WordPress installation (software) identifier
13448
+ * @param {WordPressV1HostingerPluginsUpdateAiOptionStatusRequest} wordPressV1HostingerPluginsUpdateAiOptionStatusRequest
12928
13449
  * @param {*} [options] Override http request option.
12929
13450
  * @throws {RequiredError}
12930
13451
  */
12931
- installWordPressV1: (username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13452
+ setAIOptionStatusV1: (username: string, software: string, wordPressV1HostingerPluginsUpdateAiOptionStatusRequest: WordPressV1HostingerPluginsUpdateAiOptionStatusRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12932
13453
  /**
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.
13454
+ * 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).
13455
+ * @summary Show AI option status
13456
+ * @param {string} username
13457
+ * @param {string} software WordPress installation (software) identifier
13458
+ * @param {ShowAIOptionStatusV1OptionEnum} [option] Filter the status by a single AI option.
12938
13459
  * @param {*} [options] Override http request option.
12939
13460
  * @throws {RequiredError}
12940
13461
  */
12941
- listWordPressInstallationsV1: (username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13462
+ showAIOptionStatusV1: (username: string, software: string, option?: ShowAIOptionStatusV1OptionEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12942
13463
  };
12943
13464
  /**
12944
- * WordPressInstallationsApi - functional programming interface
13465
+ * WordPressAIToolsApi - functional programming interface
12945
13466
  * @export
12946
13467
  */
12947
- export declare const WordPressInstallationsApiFp: (configuration?: Configuration) => {
13468
+ export declare const WordPressAIToolsApiFp: (configuration?: Configuration) => {
12948
13469
  /**
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
13470
+ * 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).
13471
+ * @summary Set AI option status
12951
13472
  * @param {string} username
12952
- * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
13473
+ * @param {string} software WordPress installation (software) identifier
13474
+ * @param {WordPressV1HostingerPluginsUpdateAiOptionStatusRequest} wordPressV1HostingerPluginsUpdateAiOptionStatusRequest
12953
13475
  * @param {*} [options] Override http request option.
12954
13476
  * @throws {RequiredError}
12955
13477
  */
12956
- installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
13478
+ setAIOptionStatusV1(username: string, software: string, wordPressV1HostingerPluginsUpdateAiOptionStatusRequest: WordPressV1HostingerPluginsUpdateAiOptionStatusRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
12957
13479
  /**
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.
13480
+ * 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).
13481
+ * @summary Show AI option status
13482
+ * @param {string} username
13483
+ * @param {string} software WordPress installation (software) identifier
13484
+ * @param {ShowAIOptionStatusV1OptionEnum} [option] Filter the status by a single AI option.
12963
13485
  * @param {*} [options] Override http request option.
12964
13486
  * @throws {RequiredError}
12965
13487
  */
12966
- listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WordPressV1InstallationsWordPressInstallationResource>>>;
13488
+ showAIOptionStatusV1(username: string, software: string, option?: ShowAIOptionStatusV1OptionEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1HostingerPluginsAiOptionStatusResource>>;
12967
13489
  };
12968
13490
  /**
12969
- * WordPressInstallationsApi - factory interface
13491
+ * WordPressAIToolsApi - factory interface
12970
13492
  * @export
12971
13493
  */
12972
- export declare const WordPressInstallationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13494
+ export declare const WordPressAIToolsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
12973
13495
  /**
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
13496
+ * 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).
13497
+ * @summary Set AI option status
12976
13498
  * @param {string} username
12977
- * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
13499
+ * @param {string} software WordPress installation (software) identifier
13500
+ * @param {WordPressV1HostingerPluginsUpdateAiOptionStatusRequest} wordPressV1HostingerPluginsUpdateAiOptionStatusRequest
12978
13501
  * @param {*} [options] Override http request option.
12979
13502
  * @throws {RequiredError}
12980
13503
  */
12981
- installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
13504
+ setAIOptionStatusV1(username: string, software: string, wordPressV1HostingerPluginsUpdateAiOptionStatusRequest: WordPressV1HostingerPluginsUpdateAiOptionStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
12982
13505
  /**
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.
13506
+ * 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).
13507
+ * @summary Show AI option status
13508
+ * @param {string} username
13509
+ * @param {string} software WordPress installation (software) identifier
13510
+ * @param {ShowAIOptionStatusV1OptionEnum} [option] Filter the status by a single AI option.
12988
13511
  * @param {*} [options] Override http request option.
12989
13512
  * @throws {RequiredError}
12990
13513
  */
12991
- listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<WordPressV1InstallationsWordPressInstallationResource>>;
13514
+ showAIOptionStatusV1(username: string, software: string, option?: ShowAIOptionStatusV1OptionEnum, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1HostingerPluginsAiOptionStatusResource>;
12992
13515
  };
12993
13516
  /**
12994
- * WordPressInstallationsApi - object-oriented interface
13517
+ * WordPressAIToolsApi - object-oriented interface
12995
13518
  * @export
12996
- * @class WordPressInstallationsApi
13519
+ * @class WordPressAIToolsApi
12997
13520
  * @extends {BaseAPI}
12998
13521
  */
12999
- export declare class WordPressInstallationsApi extends BaseAPI {
13522
+ export declare class WordPressAIToolsApi extends BaseAPI {
13000
13523
  /**
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
13524
+ * 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).
13525
+ * @summary Set AI option status
13003
13526
  * @param {string} username
13004
- * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
13527
+ * @param {string} software WordPress installation (software) identifier
13528
+ * @param {WordPressV1HostingerPluginsUpdateAiOptionStatusRequest} wordPressV1HostingerPluginsUpdateAiOptionStatusRequest
13005
13529
  * @param {*} [options] Override http request option.
13006
13530
  * @throws {RequiredError}
13007
- * @memberof WordPressInstallationsApi
13531
+ * @memberof WordPressAIToolsApi
13008
13532
  */
13009
- installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
13533
+ setAIOptionStatusV1(username: string, software: string, wordPressV1HostingerPluginsUpdateAiOptionStatusRequest: WordPressV1HostingerPluginsUpdateAiOptionStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
13010
13534
  /**
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.
13535
+ * 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).
13536
+ * @summary Show AI option status
13537
+ * @param {string} username
13538
+ * @param {string} software WordPress installation (software) identifier
13539
+ * @param {ShowAIOptionStatusV1OptionEnum} [option] Filter the status by a single AI option.
13016
13540
  * @param {*} [options] Override http request option.
13017
13541
  * @throws {RequiredError}
13018
- * @memberof WordPressInstallationsApi
13542
+ * @memberof WordPressAIToolsApi
13019
13543
  */
13020
- listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsWordPressInstallationResource[], any, {}>>;
13544
+ showAIOptionStatusV1(username: string, software: string, option?: ShowAIOptionStatusV1OptionEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1HostingerPluginsAiOptionStatusResource, any, {}>>;
13021
13545
  }
13022
13546
  /**
13023
13547
  * @export
13024
13548
  */
13025
- export declare const ListWordPressInstallationsV1OwnershipEnum: {
13026
- readonly Owned: "owned";
13027
- readonly Managed: "managed";
13028
- readonly All: "all";
13549
+ export declare const ShowAIOptionStatusV1OptionEnum: {
13550
+ readonly Llmstxt: "llmstxt";
13551
+ readonly Web2agent: "web2agent";
13029
13552
  };
13030
- export type ListWordPressInstallationsV1OwnershipEnum = typeof ListWordPressInstallationsV1OwnershipEnum[keyof typeof ListWordPressInstallationsV1OwnershipEnum];
13553
+ export type ShowAIOptionStatusV1OptionEnum = typeof ShowAIOptionStatusV1OptionEnum[keyof typeof ShowAIOptionStatusV1OptionEnum];
13554
+ /**
13555
+ * WordPressInstallationsApi - axios parameter creator
13556
+ * @export
13557
+ */
13558
+ export declare const WordPressInstallationsApiAxiosParamCreator: (configuration?: Configuration) => {
13559
+ /**
13560
+ * 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).
13561
+ * @summary Check if WordPress installations are valid
13562
+ * @param {string} username
13563
+ * @param {WordPressV1InstallationsCheckIsValidRequest} wordPressV1InstallationsCheckIsValidRequest
13564
+ * @param {*} [options] Override http request option.
13565
+ * @throws {RequiredError}
13566
+ */
13567
+ checkIfWordPressInstallationsAreValidV1: (username: string, wordPressV1InstallationsCheckIsValidRequest: WordPressV1InstallationsCheckIsValidRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13568
+ /**
13569
+ * 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).
13570
+ * @summary Delete WordPress installation
13571
+ * @param {string} username
13572
+ * @param {string} software WordPress installation (software) identifier
13573
+ * @param {WordPressV1InstallationsDeleteInstallationRequest} wordPressV1InstallationsDeleteInstallationRequest
13574
+ * @param {*} [options] Override http request option.
13575
+ * @throws {RequiredError}
13576
+ */
13577
+ deleteWordPressInstallationV1: (username: string, software: string, wordPressV1InstallationsDeleteInstallationRequest: WordPressV1InstallationsDeleteInstallationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13578
+ /**
13579
+ * 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.
13580
+ * @summary Detect WordPress installations
13581
+ * @param {string} username
13582
+ * @param {*} [options] Override http request option.
13583
+ * @throws {RequiredError}
13584
+ */
13585
+ detectWordPressInstallationsV1: (username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13586
+ /**
13587
+ * 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).
13588
+ * @summary Get installation JWT token
13589
+ * @param {string} username
13590
+ * @param {string} software WordPress installation (software) identifier
13591
+ * @param {*} [options] Override http request option.
13592
+ * @throws {RequiredError}
13593
+ */
13594
+ getInstallationJWTTokenV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13595
+ /**
13596
+ * 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.
13597
+ * @summary Install WordPress
13598
+ * @param {string} username
13599
+ * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
13600
+ * @param {*} [options] Override http request option.
13601
+ * @throws {RequiredError}
13602
+ */
13603
+ installWordPressV1: (username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13604
+ /**
13605
+ * 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).
13606
+ * @summary List available WordPress core updates
13607
+ * @param {string} username
13608
+ * @param {string} software WordPress installation (software) identifier
13609
+ * @param {*} [options] Override http request option.
13610
+ * @throws {RequiredError}
13611
+ */
13612
+ listAvailableWordPressCoreUpdatesV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13613
+ /**
13614
+ * 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.
13615
+ * @summary List WordPress installations
13616
+ * @param {string | null} [username] Filter by specific username
13617
+ * @param {string | null} [domain] Filter by domain name (exact match)
13618
+ * @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \&quot;owned\&quot;. Use \&quot;all\&quot; to include both owned and managed installations.
13619
+ * @param {*} [options] Override http request option.
13620
+ * @throws {RequiredError}
13621
+ */
13622
+ listWordPressInstallationsV1: (username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13623
+ /**
13624
+ * 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).
13625
+ * @summary Show WordPress core version
13626
+ * @param {string} username
13627
+ * @param {string} software WordPress installation (software) identifier
13628
+ * @param {*} [options] Override http request option.
13629
+ * @throws {RequiredError}
13630
+ */
13631
+ showWordPressCoreVersionV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13632
+ /**
13633
+ * 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.
13634
+ * @summary Update WordPress core
13635
+ * @param {string} username
13636
+ * @param {string} software WordPress installation (software) identifier
13637
+ * @param {WordPressV1InstallationsUpdateInstallationRequest} wordPressV1InstallationsUpdateInstallationRequest
13638
+ * @param {*} [options] Override http request option.
13639
+ * @throws {RequiredError}
13640
+ */
13641
+ updateWordPressCoreV1: (username: string, software: string, wordPressV1InstallationsUpdateInstallationRequest: WordPressV1InstallationsUpdateInstallationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13642
+ };
13643
+ /**
13644
+ * WordPressInstallationsApi - functional programming interface
13645
+ * @export
13646
+ */
13647
+ export declare const WordPressInstallationsApiFp: (configuration?: Configuration) => {
13648
+ /**
13649
+ * 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).
13650
+ * @summary Check if WordPress installations are valid
13651
+ * @param {string} username
13652
+ * @param {WordPressV1InstallationsCheckIsValidRequest} wordPressV1InstallationsCheckIsValidRequest
13653
+ * @param {*} [options] Override http request option.
13654
+ * @throws {RequiredError}
13655
+ */
13656
+ checkIfWordPressInstallationsAreValidV1(username: string, wordPressV1InstallationsCheckIsValidRequest: WordPressV1InstallationsCheckIsValidRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WordPressV1InstallationsCheckIsValidResultResource>>>;
13657
+ /**
13658
+ * 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).
13659
+ * @summary Delete WordPress installation
13660
+ * @param {string} username
13661
+ * @param {string} software WordPress installation (software) identifier
13662
+ * @param {WordPressV1InstallationsDeleteInstallationRequest} wordPressV1InstallationsDeleteInstallationRequest
13663
+ * @param {*} [options] Override http request option.
13664
+ * @throws {RequiredError}
13665
+ */
13666
+ deleteWordPressInstallationV1(username: string, software: string, wordPressV1InstallationsDeleteInstallationRequest: WordPressV1InstallationsDeleteInstallationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
13667
+ /**
13668
+ * 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.
13669
+ * @summary Detect WordPress installations
13670
+ * @param {string} username
13671
+ * @param {*} [options] Override http request option.
13672
+ * @throws {RequiredError}
13673
+ */
13674
+ detectWordPressInstallationsV1(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
13675
+ /**
13676
+ * 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).
13677
+ * @summary Get installation JWT token
13678
+ * @param {string} username
13679
+ * @param {string} software WordPress installation (software) identifier
13680
+ * @param {*} [options] Override http request option.
13681
+ * @throws {RequiredError}
13682
+ */
13683
+ getInstallationJWTTokenV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1InstallationsJwtTokenResource>>;
13684
+ /**
13685
+ * 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.
13686
+ * @summary Install WordPress
13687
+ * @param {string} username
13688
+ * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
13689
+ * @param {*} [options] Override http request option.
13690
+ * @throws {RequiredError}
13691
+ */
13692
+ installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
13693
+ /**
13694
+ * 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).
13695
+ * @summary List available WordPress core updates
13696
+ * @param {string} username
13697
+ * @param {string} software WordPress installation (software) identifier
13698
+ * @param {*} [options] Override http request option.
13699
+ * @throws {RequiredError}
13700
+ */
13701
+ listAvailableWordPressCoreUpdatesV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WordPressV1InstallationsUpdateResource>>>;
13702
+ /**
13703
+ * 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.
13704
+ * @summary List WordPress installations
13705
+ * @param {string | null} [username] Filter by specific username
13706
+ * @param {string | null} [domain] Filter by domain name (exact match)
13707
+ * @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \&quot;owned\&quot;. Use \&quot;all\&quot; to include both owned and managed installations.
13708
+ * @param {*} [options] Override http request option.
13709
+ * @throws {RequiredError}
13710
+ */
13711
+ listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WordPressV1InstallationsWordPressInstallationResource>>>;
13712
+ /**
13713
+ * 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).
13714
+ * @summary Show WordPress core version
13715
+ * @param {string} username
13716
+ * @param {string} software WordPress installation (software) identifier
13717
+ * @param {*} [options] Override http request option.
13718
+ * @throws {RequiredError}
13719
+ */
13720
+ showWordPressCoreVersionV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1InstallationsVersionResource>>;
13721
+ /**
13722
+ * 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.
13723
+ * @summary Update WordPress core
13724
+ * @param {string} username
13725
+ * @param {string} software WordPress installation (software) identifier
13726
+ * @param {WordPressV1InstallationsUpdateInstallationRequest} wordPressV1InstallationsUpdateInstallationRequest
13727
+ * @param {*} [options] Override http request option.
13728
+ * @throws {RequiredError}
13729
+ */
13730
+ updateWordPressCoreV1(username: string, software: string, wordPressV1InstallationsUpdateInstallationRequest: WordPressV1InstallationsUpdateInstallationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
13731
+ };
13732
+ /**
13733
+ * WordPressInstallationsApi - factory interface
13734
+ * @export
13735
+ */
13736
+ export declare const WordPressInstallationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13737
+ /**
13738
+ * 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).
13739
+ * @summary Check if WordPress installations are valid
13740
+ * @param {string} username
13741
+ * @param {WordPressV1InstallationsCheckIsValidRequest} wordPressV1InstallationsCheckIsValidRequest
13742
+ * @param {*} [options] Override http request option.
13743
+ * @throws {RequiredError}
13744
+ */
13745
+ checkIfWordPressInstallationsAreValidV1(username: string, wordPressV1InstallationsCheckIsValidRequest: WordPressV1InstallationsCheckIsValidRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<WordPressV1InstallationsCheckIsValidResultResource>>;
13746
+ /**
13747
+ * 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).
13748
+ * @summary Delete WordPress installation
13749
+ * @param {string} username
13750
+ * @param {string} software WordPress installation (software) identifier
13751
+ * @param {WordPressV1InstallationsDeleteInstallationRequest} wordPressV1InstallationsDeleteInstallationRequest
13752
+ * @param {*} [options] Override http request option.
13753
+ * @throws {RequiredError}
13754
+ */
13755
+ deleteWordPressInstallationV1(username: string, software: string, wordPressV1InstallationsDeleteInstallationRequest: WordPressV1InstallationsDeleteInstallationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
13756
+ /**
13757
+ * 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.
13758
+ * @summary Detect WordPress installations
13759
+ * @param {string} username
13760
+ * @param {*} [options] Override http request option.
13761
+ * @throws {RequiredError}
13762
+ */
13763
+ detectWordPressInstallationsV1(username: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
13764
+ /**
13765
+ * 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).
13766
+ * @summary Get installation JWT token
13767
+ * @param {string} username
13768
+ * @param {string} software WordPress installation (software) identifier
13769
+ * @param {*} [options] Override http request option.
13770
+ * @throws {RequiredError}
13771
+ */
13772
+ getInstallationJWTTokenV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1InstallationsJwtTokenResource>;
13773
+ /**
13774
+ * 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.
13775
+ * @summary Install WordPress
13776
+ * @param {string} username
13777
+ * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
13778
+ * @param {*} [options] Override http request option.
13779
+ * @throws {RequiredError}
13780
+ */
13781
+ installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
13782
+ /**
13783
+ * 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).
13784
+ * @summary List available WordPress core updates
13785
+ * @param {string} username
13786
+ * @param {string} software WordPress installation (software) identifier
13787
+ * @param {*} [options] Override http request option.
13788
+ * @throws {RequiredError}
13789
+ */
13790
+ listAvailableWordPressCoreUpdatesV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<WordPressV1InstallationsUpdateResource>>;
13791
+ /**
13792
+ * 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.
13793
+ * @summary List WordPress installations
13794
+ * @param {string | null} [username] Filter by specific username
13795
+ * @param {string | null} [domain] Filter by domain name (exact match)
13796
+ * @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \&quot;owned\&quot;. Use \&quot;all\&quot; to include both owned and managed installations.
13797
+ * @param {*} [options] Override http request option.
13798
+ * @throws {RequiredError}
13799
+ */
13800
+ listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<WordPressV1InstallationsWordPressInstallationResource>>;
13801
+ /**
13802
+ * 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).
13803
+ * @summary Show WordPress core version
13804
+ * @param {string} username
13805
+ * @param {string} software WordPress installation (software) identifier
13806
+ * @param {*} [options] Override http request option.
13807
+ * @throws {RequiredError}
13808
+ */
13809
+ showWordPressCoreVersionV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1InstallationsVersionResource>;
13810
+ /**
13811
+ * 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.
13812
+ * @summary Update WordPress core
13813
+ * @param {string} username
13814
+ * @param {string} software WordPress installation (software) identifier
13815
+ * @param {WordPressV1InstallationsUpdateInstallationRequest} wordPressV1InstallationsUpdateInstallationRequest
13816
+ * @param {*} [options] Override http request option.
13817
+ * @throws {RequiredError}
13818
+ */
13819
+ updateWordPressCoreV1(username: string, software: string, wordPressV1InstallationsUpdateInstallationRequest: WordPressV1InstallationsUpdateInstallationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
13820
+ };
13821
+ /**
13822
+ * WordPressInstallationsApi - object-oriented interface
13823
+ * @export
13824
+ * @class WordPressInstallationsApi
13825
+ * @extends {BaseAPI}
13826
+ */
13827
+ export declare class WordPressInstallationsApi extends BaseAPI {
13828
+ /**
13829
+ * 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).
13830
+ * @summary Check if WordPress installations are valid
13831
+ * @param {string} username
13832
+ * @param {WordPressV1InstallationsCheckIsValidRequest} wordPressV1InstallationsCheckIsValidRequest
13833
+ * @param {*} [options] Override http request option.
13834
+ * @throws {RequiredError}
13835
+ * @memberof WordPressInstallationsApi
13836
+ */
13837
+ checkIfWordPressInstallationsAreValidV1(username: string, wordPressV1InstallationsCheckIsValidRequest: WordPressV1InstallationsCheckIsValidRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsCheckIsValidResultResource[], any, {}>>;
13838
+ /**
13839
+ * 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).
13840
+ * @summary Delete WordPress installation
13841
+ * @param {string} username
13842
+ * @param {string} software WordPress installation (software) identifier
13843
+ * @param {WordPressV1InstallationsDeleteInstallationRequest} wordPressV1InstallationsDeleteInstallationRequest
13844
+ * @param {*} [options] Override http request option.
13845
+ * @throws {RequiredError}
13846
+ * @memberof WordPressInstallationsApi
13847
+ */
13848
+ deleteWordPressInstallationV1(username: string, software: string, wordPressV1InstallationsDeleteInstallationRequest: WordPressV1InstallationsDeleteInstallationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
13849
+ /**
13850
+ * 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.
13851
+ * @summary Detect WordPress installations
13852
+ * @param {string} username
13853
+ * @param {*} [options] Override http request option.
13854
+ * @throws {RequiredError}
13855
+ * @memberof WordPressInstallationsApi
13856
+ */
13857
+ detectWordPressInstallationsV1(username: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
13858
+ /**
13859
+ * 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).
13860
+ * @summary Get installation JWT token
13861
+ * @param {string} username
13862
+ * @param {string} software WordPress installation (software) identifier
13863
+ * @param {*} [options] Override http request option.
13864
+ * @throws {RequiredError}
13865
+ * @memberof WordPressInstallationsApi
13866
+ */
13867
+ getInstallationJWTTokenV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsJwtTokenResource, any, {}>>;
13868
+ /**
13869
+ * 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.
13870
+ * @summary Install WordPress
13871
+ * @param {string} username
13872
+ * @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
13873
+ * @param {*} [options] Override http request option.
13874
+ * @throws {RequiredError}
13875
+ * @memberof WordPressInstallationsApi
13876
+ */
13877
+ installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
13878
+ /**
13879
+ * 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).
13880
+ * @summary List available WordPress core updates
13881
+ * @param {string} username
13882
+ * @param {string} software WordPress installation (software) identifier
13883
+ * @param {*} [options] Override http request option.
13884
+ * @throws {RequiredError}
13885
+ * @memberof WordPressInstallationsApi
13886
+ */
13887
+ listAvailableWordPressCoreUpdatesV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsUpdateResource[], any, {}>>;
13888
+ /**
13889
+ * 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.
13890
+ * @summary List WordPress installations
13891
+ * @param {string | null} [username] Filter by specific username
13892
+ * @param {string | null} [domain] Filter by domain name (exact match)
13893
+ * @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \&quot;owned\&quot;. Use \&quot;all\&quot; to include both owned and managed installations.
13894
+ * @param {*} [options] Override http request option.
13895
+ * @throws {RequiredError}
13896
+ * @memberof WordPressInstallationsApi
13897
+ */
13898
+ listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsWordPressInstallationResource[], any, {}>>;
13899
+ /**
13900
+ * 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).
13901
+ * @summary Show WordPress core version
13902
+ * @param {string} username
13903
+ * @param {string} software WordPress installation (software) identifier
13904
+ * @param {*} [options] Override http request option.
13905
+ * @throws {RequiredError}
13906
+ * @memberof WordPressInstallationsApi
13907
+ */
13908
+ showWordPressCoreVersionV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsVersionResource, any, {}>>;
13909
+ /**
13910
+ * 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.
13911
+ * @summary Update WordPress core
13912
+ * @param {string} username
13913
+ * @param {string} software WordPress installation (software) identifier
13914
+ * @param {WordPressV1InstallationsUpdateInstallationRequest} wordPressV1InstallationsUpdateInstallationRequest
13915
+ * @param {*} [options] Override http request option.
13916
+ * @throws {RequiredError}
13917
+ * @memberof WordPressInstallationsApi
13918
+ */
13919
+ updateWordPressCoreV1(username: string, software: string, wordPressV1InstallationsUpdateInstallationRequest: WordPressV1InstallationsUpdateInstallationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
13920
+ }
13921
+ /**
13922
+ * @export
13923
+ */
13924
+ export declare const ListWordPressInstallationsV1OwnershipEnum: {
13925
+ readonly Owned: "owned";
13926
+ readonly Managed: "managed";
13927
+ readonly All: "all";
13928
+ };
13929
+ export type ListWordPressInstallationsV1OwnershipEnum = typeof ListWordPressInstallationsV1OwnershipEnum[keyof typeof ListWordPressInstallationsV1OwnershipEnum];
13930
+ /**
13931
+ * WordPressLiteSpeedCacheApi - axios parameter creator
13932
+ * @export
13933
+ */
13934
+ export declare const WordPressLiteSpeedCacheApiAxiosParamCreator: (configuration?: Configuration) => {
13935
+ /**
13936
+ * 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).
13937
+ * @summary Purge LiteSpeed Cache
13938
+ * @param {string} username
13939
+ * @param {string} software WordPress installation (software) identifier
13940
+ * @param {*} [options] Override http request option.
13941
+ * @throws {RequiredError}
13942
+ */
13943
+ purgeLiteSpeedCacheV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13944
+ /**
13945
+ * 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).
13946
+ * @summary Show LiteSpeed Cache status
13947
+ * @param {string} username
13948
+ * @param {string} software WordPress installation (software) identifier
13949
+ * @param {*} [options] Override http request option.
13950
+ * @throws {RequiredError}
13951
+ */
13952
+ showLiteSpeedCacheStatusV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13953
+ };
13954
+ /**
13955
+ * WordPressLiteSpeedCacheApi - functional programming interface
13956
+ * @export
13957
+ */
13958
+ export declare const WordPressLiteSpeedCacheApiFp: (configuration?: Configuration) => {
13959
+ /**
13960
+ * 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).
13961
+ * @summary Purge LiteSpeed Cache
13962
+ * @param {string} username
13963
+ * @param {string} software WordPress installation (software) identifier
13964
+ * @param {*} [options] Override http request option.
13965
+ * @throws {RequiredError}
13966
+ */
13967
+ purgeLiteSpeedCacheV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
13968
+ /**
13969
+ * 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).
13970
+ * @summary Show LiteSpeed Cache status
13971
+ * @param {string} username
13972
+ * @param {string} software WordPress installation (software) identifier
13973
+ * @param {*} [options] Override http request option.
13974
+ * @throws {RequiredError}
13975
+ */
13976
+ showLiteSpeedCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1LitespeedLitespeedCacheStatusResource>>;
13977
+ };
13978
+ /**
13979
+ * WordPressLiteSpeedCacheApi - factory interface
13980
+ * @export
13981
+ */
13982
+ export declare const WordPressLiteSpeedCacheApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13983
+ /**
13984
+ * 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).
13985
+ * @summary Purge LiteSpeed Cache
13986
+ * @param {string} username
13987
+ * @param {string} software WordPress installation (software) identifier
13988
+ * @param {*} [options] Override http request option.
13989
+ * @throws {RequiredError}
13990
+ */
13991
+ purgeLiteSpeedCacheV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
13992
+ /**
13993
+ * 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).
13994
+ * @summary Show LiteSpeed Cache status
13995
+ * @param {string} username
13996
+ * @param {string} software WordPress installation (software) identifier
13997
+ * @param {*} [options] Override http request option.
13998
+ * @throws {RequiredError}
13999
+ */
14000
+ showLiteSpeedCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1LitespeedLitespeedCacheStatusResource>;
14001
+ };
14002
+ /**
14003
+ * WordPressLiteSpeedCacheApi - object-oriented interface
14004
+ * @export
14005
+ * @class WordPressLiteSpeedCacheApi
14006
+ * @extends {BaseAPI}
14007
+ */
14008
+ export declare class WordPressLiteSpeedCacheApi extends BaseAPI {
14009
+ /**
14010
+ * 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).
14011
+ * @summary Purge LiteSpeed Cache
14012
+ * @param {string} username
14013
+ * @param {string} software WordPress installation (software) identifier
14014
+ * @param {*} [options] Override http request option.
14015
+ * @throws {RequiredError}
14016
+ * @memberof WordPressLiteSpeedCacheApi
14017
+ */
14018
+ purgeLiteSpeedCacheV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
14019
+ /**
14020
+ * 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).
14021
+ * @summary Show LiteSpeed Cache status
14022
+ * @param {string} username
14023
+ * @param {string} software WordPress installation (software) identifier
14024
+ * @param {*} [options] Override http request option.
14025
+ * @throws {RequiredError}
14026
+ * @memberof WordPressLiteSpeedCacheApi
14027
+ */
14028
+ showLiteSpeedCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1LitespeedLitespeedCacheStatusResource, any, {}>>;
14029
+ }
14030
+ /**
14031
+ * WordPressLoginApi - axios parameter creator
14032
+ * @export
14033
+ */
14034
+ export declare const WordPressLoginApiAxiosParamCreator: (configuration?: Configuration) => {
14035
+ /**
14036
+ * 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).
14037
+ * @summary Create login links
14038
+ * @param {string} username
14039
+ * @param {string} software WordPress installation (software) identifier
14040
+ * @param {*} [options] Override http request option.
14041
+ * @throws {RequiredError}
14042
+ */
14043
+ createLoginLinksV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14044
+ };
14045
+ /**
14046
+ * WordPressLoginApi - functional programming interface
14047
+ * @export
14048
+ */
14049
+ export declare const WordPressLoginApiFp: (configuration?: Configuration) => {
14050
+ /**
14051
+ * 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).
14052
+ * @summary Create login links
14053
+ * @param {string} username
14054
+ * @param {string} software WordPress installation (software) identifier
14055
+ * @param {*} [options] Override http request option.
14056
+ * @throws {RequiredError}
14057
+ */
14058
+ createLoginLinksV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1LoginLoginLinksResource>>;
14059
+ };
14060
+ /**
14061
+ * WordPressLoginApi - factory interface
14062
+ * @export
14063
+ */
14064
+ export declare const WordPressLoginApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14065
+ /**
14066
+ * 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).
14067
+ * @summary Create login links
14068
+ * @param {string} username
14069
+ * @param {string} software WordPress installation (software) identifier
14070
+ * @param {*} [options] Override http request option.
14071
+ * @throws {RequiredError}
14072
+ */
14073
+ createLoginLinksV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1LoginLoginLinksResource>;
14074
+ };
14075
+ /**
14076
+ * WordPressLoginApi - object-oriented interface
14077
+ * @export
14078
+ * @class WordPressLoginApi
14079
+ * @extends {BaseAPI}
14080
+ */
14081
+ export declare class WordPressLoginApi extends BaseAPI {
14082
+ /**
14083
+ * 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).
14084
+ * @summary Create login links
14085
+ * @param {string} username
14086
+ * @param {string} software WordPress installation (software) identifier
14087
+ * @param {*} [options] Override http request option.
14088
+ * @throws {RequiredError}
14089
+ * @memberof WordPressLoginApi
14090
+ */
14091
+ createLoginLinksV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1LoginLoginLinksResource, any, {}>>;
14092
+ }
14093
+ /**
14094
+ * WordPressMaintenanceApi - axios parameter creator
14095
+ * @export
14096
+ */
14097
+ export declare const WordPressMaintenanceApiAxiosParamCreator: (configuration?: Configuration) => {
14098
+ /**
14099
+ * 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).
14100
+ * @summary Show maintenance status
14101
+ * @param {string} username
14102
+ * @param {string} software WordPress installation (software) identifier
14103
+ * @param {*} [options] Override http request option.
14104
+ * @throws {RequiredError}
14105
+ */
14106
+ showMaintenanceStatusV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14107
+ /**
14108
+ * 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).
14109
+ * @summary Toggle maintenance mode
14110
+ * @param {string} username
14111
+ * @param {string} software WordPress installation (software) identifier
14112
+ * @param {WordPressV1MaintenanceToggleMaintenanceRequest} wordPressV1MaintenanceToggleMaintenanceRequest
14113
+ * @param {*} [options] Override http request option.
14114
+ * @throws {RequiredError}
14115
+ */
14116
+ toggleMaintenanceModeV1: (username: string, software: string, wordPressV1MaintenanceToggleMaintenanceRequest: WordPressV1MaintenanceToggleMaintenanceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14117
+ };
14118
+ /**
14119
+ * WordPressMaintenanceApi - functional programming interface
14120
+ * @export
14121
+ */
14122
+ export declare const WordPressMaintenanceApiFp: (configuration?: Configuration) => {
14123
+ /**
14124
+ * 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).
14125
+ * @summary Show maintenance status
14126
+ * @param {string} username
14127
+ * @param {string} software WordPress installation (software) identifier
14128
+ * @param {*} [options] Override http request option.
14129
+ * @throws {RequiredError}
14130
+ */
14131
+ showMaintenanceStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1MaintenanceMaintenanceStatusResource>>;
14132
+ /**
14133
+ * 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).
14134
+ * @summary Toggle maintenance mode
14135
+ * @param {string} username
14136
+ * @param {string} software WordPress installation (software) identifier
14137
+ * @param {WordPressV1MaintenanceToggleMaintenanceRequest} wordPressV1MaintenanceToggleMaintenanceRequest
14138
+ * @param {*} [options] Override http request option.
14139
+ * @throws {RequiredError}
14140
+ */
14141
+ toggleMaintenanceModeV1(username: string, software: string, wordPressV1MaintenanceToggleMaintenanceRequest: WordPressV1MaintenanceToggleMaintenanceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
14142
+ };
14143
+ /**
14144
+ * WordPressMaintenanceApi - factory interface
14145
+ * @export
14146
+ */
14147
+ export declare const WordPressMaintenanceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14148
+ /**
14149
+ * 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).
14150
+ * @summary Show maintenance status
14151
+ * @param {string} username
14152
+ * @param {string} software WordPress installation (software) identifier
14153
+ * @param {*} [options] Override http request option.
14154
+ * @throws {RequiredError}
14155
+ */
14156
+ showMaintenanceStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1MaintenanceMaintenanceStatusResource>;
14157
+ /**
14158
+ * 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).
14159
+ * @summary Toggle maintenance mode
14160
+ * @param {string} username
14161
+ * @param {string} software WordPress installation (software) identifier
14162
+ * @param {WordPressV1MaintenanceToggleMaintenanceRequest} wordPressV1MaintenanceToggleMaintenanceRequest
14163
+ * @param {*} [options] Override http request option.
14164
+ * @throws {RequiredError}
14165
+ */
14166
+ toggleMaintenanceModeV1(username: string, software: string, wordPressV1MaintenanceToggleMaintenanceRequest: WordPressV1MaintenanceToggleMaintenanceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
14167
+ };
14168
+ /**
14169
+ * WordPressMaintenanceApi - object-oriented interface
14170
+ * @export
14171
+ * @class WordPressMaintenanceApi
14172
+ * @extends {BaseAPI}
14173
+ */
14174
+ export declare class WordPressMaintenanceApi extends BaseAPI {
14175
+ /**
14176
+ * 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).
14177
+ * @summary Show maintenance status
14178
+ * @param {string} username
14179
+ * @param {string} software WordPress installation (software) identifier
14180
+ * @param {*} [options] Override http request option.
14181
+ * @throws {RequiredError}
14182
+ * @memberof WordPressMaintenanceApi
14183
+ */
14184
+ showMaintenanceStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1MaintenanceMaintenanceStatusResource, any, {}>>;
14185
+ /**
14186
+ * 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).
14187
+ * @summary Toggle maintenance mode
14188
+ * @param {string} username
14189
+ * @param {string} software WordPress installation (software) identifier
14190
+ * @param {WordPressV1MaintenanceToggleMaintenanceRequest} wordPressV1MaintenanceToggleMaintenanceRequest
14191
+ * @param {*} [options] Override http request option.
14192
+ * @throws {RequiredError}
14193
+ * @memberof WordPressMaintenanceApi
14194
+ */
14195
+ toggleMaintenanceModeV1(username: string, software: string, wordPressV1MaintenanceToggleMaintenanceRequest: WordPressV1MaintenanceToggleMaintenanceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
14196
+ }
14197
+ /**
14198
+ * WordPressObjectCacheApi - axios parameter creator
14199
+ * @export
14200
+ */
14201
+ export declare const WordPressObjectCacheApiAxiosParamCreator: (configuration?: Configuration) => {
14202
+ /**
14203
+ * 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).
14204
+ * @summary Show Memcached object cache status
14205
+ * @param {string} username
14206
+ * @param {string} software WordPress installation (software) identifier
14207
+ * @param {*} [options] Override http request option.
14208
+ * @throws {RequiredError}
14209
+ */
14210
+ showMemcachedObjectCacheStatusV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14211
+ /**
14212
+ * 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).
14213
+ * @summary Toggle Memcached object cache
14214
+ * @param {string} username
14215
+ * @param {string} software WordPress installation (software) identifier
14216
+ * @param {WordPressV1MemcachedToggleMemcachedRequest} wordPressV1MemcachedToggleMemcachedRequest
14217
+ * @param {*} [options] Override http request option.
14218
+ * @throws {RequiredError}
14219
+ */
14220
+ toggleMemcachedObjectCacheV1: (username: string, software: string, wordPressV1MemcachedToggleMemcachedRequest: WordPressV1MemcachedToggleMemcachedRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14221
+ };
14222
+ /**
14223
+ * WordPressObjectCacheApi - functional programming interface
14224
+ * @export
14225
+ */
14226
+ export declare const WordPressObjectCacheApiFp: (configuration?: Configuration) => {
14227
+ /**
14228
+ * 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).
14229
+ * @summary Show Memcached object cache status
14230
+ * @param {string} username
14231
+ * @param {string} software WordPress installation (software) identifier
14232
+ * @param {*} [options] Override http request option.
14233
+ * @throws {RequiredError}
14234
+ */
14235
+ showMemcachedObjectCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1MemcachedMemcachedStatusResource>>;
14236
+ /**
14237
+ * 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).
14238
+ * @summary Toggle Memcached object cache
14239
+ * @param {string} username
14240
+ * @param {string} software WordPress installation (software) identifier
14241
+ * @param {WordPressV1MemcachedToggleMemcachedRequest} wordPressV1MemcachedToggleMemcachedRequest
14242
+ * @param {*} [options] Override http request option.
14243
+ * @throws {RequiredError}
14244
+ */
14245
+ toggleMemcachedObjectCacheV1(username: string, software: string, wordPressV1MemcachedToggleMemcachedRequest: WordPressV1MemcachedToggleMemcachedRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
14246
+ };
14247
+ /**
14248
+ * WordPressObjectCacheApi - factory interface
14249
+ * @export
14250
+ */
14251
+ export declare const WordPressObjectCacheApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14252
+ /**
14253
+ * 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).
14254
+ * @summary Show Memcached object cache status
14255
+ * @param {string} username
14256
+ * @param {string} software WordPress installation (software) identifier
14257
+ * @param {*} [options] Override http request option.
14258
+ * @throws {RequiredError}
14259
+ */
14260
+ showMemcachedObjectCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1MemcachedMemcachedStatusResource>;
14261
+ /**
14262
+ * 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).
14263
+ * @summary Toggle Memcached object cache
14264
+ * @param {string} username
14265
+ * @param {string} software WordPress installation (software) identifier
14266
+ * @param {WordPressV1MemcachedToggleMemcachedRequest} wordPressV1MemcachedToggleMemcachedRequest
14267
+ * @param {*} [options] Override http request option.
14268
+ * @throws {RequiredError}
14269
+ */
14270
+ toggleMemcachedObjectCacheV1(username: string, software: string, wordPressV1MemcachedToggleMemcachedRequest: WordPressV1MemcachedToggleMemcachedRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
14271
+ };
14272
+ /**
14273
+ * WordPressObjectCacheApi - object-oriented interface
14274
+ * @export
14275
+ * @class WordPressObjectCacheApi
14276
+ * @extends {BaseAPI}
14277
+ */
14278
+ export declare class WordPressObjectCacheApi extends BaseAPI {
14279
+ /**
14280
+ * 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).
14281
+ * @summary Show Memcached object cache status
14282
+ * @param {string} username
14283
+ * @param {string} software WordPress installation (software) identifier
14284
+ * @param {*} [options] Override http request option.
14285
+ * @throws {RequiredError}
14286
+ * @memberof WordPressObjectCacheApi
14287
+ */
14288
+ showMemcachedObjectCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1MemcachedMemcachedStatusResource, any, {}>>;
14289
+ /**
14290
+ * 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).
14291
+ * @summary Toggle Memcached object cache
14292
+ * @param {string} username
14293
+ * @param {string} software WordPress installation (software) identifier
14294
+ * @param {WordPressV1MemcachedToggleMemcachedRequest} wordPressV1MemcachedToggleMemcachedRequest
14295
+ * @param {*} [options] Override http request option.
14296
+ * @throws {RequiredError}
14297
+ * @memberof WordPressObjectCacheApi
14298
+ */
14299
+ toggleMemcachedObjectCacheV1(username: string, software: string, wordPressV1MemcachedToggleMemcachedRequest: WordPressV1MemcachedToggleMemcachedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
14300
+ }
13031
14301
  /**
13032
14302
  * WordPressPluginsApi - axios parameter creator
13033
14303
  * @export