hostinger-api-sdk 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +2249 -120
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +1339 -73
- package/dist/api.js +1710 -104
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +1339 -73
- package/dist/esm/api.js +1681 -96
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/EcommerceSalesChannelsApi.md +66 -4
- package/docs/EcommerceStoresApi.md +54 -0
- package/docs/EcommerceV1SalesChannelSalesChannelUpdateResource.md +20 -0
- package/docs/EcommerceV1SalesChannelUpdateRequest.md +22 -0
- package/docs/EcommerceV1StoreStoreMetadataResource.md +20 -0
- package/docs/EcommerceV1StoreStoreMetadataResourceMetadata.md +26 -0
- package/docs/EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency.md +37 -0
- package/docs/WordPressAIToolsApi.md +129 -0
- package/docs/WordPressInstallationsApi.md +408 -0
- package/docs/WordPressLiteSpeedCacheApi.md +121 -0
- package/docs/WordPressLoginApi.md +64 -0
- package/docs/WordPressMaintenanceApi.md +126 -0
- package/docs/WordPressObjectCacheApi.md +126 -0
- package/docs/WordPressV1HostingerPluginsAiOptionStatusResource.md +22 -0
- package/docs/WordPressV1HostingerPluginsUpdateAiOptionStatusRequest.md +22 -0
- package/docs/WordPressV1InstallationsCheckIsValidRequest.md +22 -0
- package/docs/WordPressV1InstallationsCheckIsValidResultResource.md +22 -0
- package/docs/WordPressV1InstallationsDeleteInstallationRequest.md +22 -0
- package/docs/WordPressV1InstallationsJwtTokenResource.md +26 -0
- package/docs/WordPressV1InstallationsUpdateInstallationRequest.md +22 -0
- package/docs/WordPressV1InstallationsUpdateResource.md +24 -0
- package/docs/WordPressV1InstallationsVersionResource.md +22 -0
- package/docs/WordPressV1LitespeedLitespeedCacheStatusResource.md +22 -0
- package/docs/WordPressV1LoginLoginLinksResource.md +24 -0
- package/docs/WordPressV1MaintenanceMaintenanceStatusResource.md +20 -0
- package/docs/WordPressV1MaintenanceToggleMaintenanceRequest.md +20 -0
- package/docs/WordPressV1MemcachedMemcachedStatusResource.md +20 -0
- package/docs/WordPressV1MemcachedToggleMemcachedRequest.md +20 -0
- package/index.ts +1 -1
- 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.
|
|
4
|
+
* API Version: 1.3.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -1816,6 +1816,19 @@ export declare const EcommerceV1SalesChannelSalesChannelListResourceSalesChannel
|
|
|
1816
1816
|
readonly Wordpress: "wordpress";
|
|
1817
1817
|
};
|
|
1818
1818
|
export type EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInnerTypeEnum = typeof EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInnerTypeEnum[keyof typeof EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInnerTypeEnum];
|
|
1819
|
+
/**
|
|
1820
|
+
*
|
|
1821
|
+
* @export
|
|
1822
|
+
* @interface EcommerceV1SalesChannelSalesChannelUpdateResource
|
|
1823
|
+
*/
|
|
1824
|
+
export interface EcommerceV1SalesChannelSalesChannelUpdateResource {
|
|
1825
|
+
/**
|
|
1826
|
+
*
|
|
1827
|
+
* @type {EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannel}
|
|
1828
|
+
* @memberof EcommerceV1SalesChannelSalesChannelUpdateResource
|
|
1829
|
+
*/
|
|
1830
|
+
'sales_channel': EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannel;
|
|
1831
|
+
}
|
|
1819
1832
|
/**
|
|
1820
1833
|
*
|
|
1821
1834
|
* @export
|
|
@@ -1845,6 +1858,25 @@ export declare const EcommerceV1SalesChannelStoreRequestTypeEnum: {
|
|
|
1845
1858
|
readonly Custom: "custom";
|
|
1846
1859
|
};
|
|
1847
1860
|
export type EcommerceV1SalesChannelStoreRequestTypeEnum = typeof EcommerceV1SalesChannelStoreRequestTypeEnum[keyof typeof EcommerceV1SalesChannelStoreRequestTypeEnum];
|
|
1861
|
+
/**
|
|
1862
|
+
*
|
|
1863
|
+
* @export
|
|
1864
|
+
* @interface EcommerceV1SalesChannelUpdateRequest
|
|
1865
|
+
*/
|
|
1866
|
+
export interface EcommerceV1SalesChannelUpdateRequest {
|
|
1867
|
+
/**
|
|
1868
|
+
* Merchant-facing custom name shown in the sales channels list. Pass null to clear it.
|
|
1869
|
+
* @type {string}
|
|
1870
|
+
* @memberof EcommerceV1SalesChannelUpdateRequest
|
|
1871
|
+
*/
|
|
1872
|
+
'name': string | null;
|
|
1873
|
+
/**
|
|
1874
|
+
* Public address where the custom sales channel lives. Pass null to clear it.
|
|
1875
|
+
* @type {string}
|
|
1876
|
+
* @memberof EcommerceV1SalesChannelUpdateRequest
|
|
1877
|
+
*/
|
|
1878
|
+
'url': string | null;
|
|
1879
|
+
}
|
|
1848
1880
|
/**
|
|
1849
1881
|
*
|
|
1850
1882
|
* @export
|
|
@@ -2017,6 +2049,111 @@ export interface EcommerceV1StoreStoreDeleteResource {
|
|
|
2017
2049
|
*/
|
|
2018
2050
|
'is_deleted': boolean;
|
|
2019
2051
|
}
|
|
2052
|
+
/**
|
|
2053
|
+
*
|
|
2054
|
+
* @export
|
|
2055
|
+
* @interface EcommerceV1StoreStoreMetadataResource
|
|
2056
|
+
*/
|
|
2057
|
+
export interface EcommerceV1StoreStoreMetadataResource {
|
|
2058
|
+
/**
|
|
2059
|
+
*
|
|
2060
|
+
* @type {EcommerceV1StoreStoreMetadataResourceMetadata}
|
|
2061
|
+
* @memberof EcommerceV1StoreStoreMetadataResource
|
|
2062
|
+
*/
|
|
2063
|
+
'metadata': EcommerceV1StoreStoreMetadataResourceMetadata;
|
|
2064
|
+
}
|
|
2065
|
+
/**
|
|
2066
|
+
*
|
|
2067
|
+
* @export
|
|
2068
|
+
* @interface EcommerceV1StoreStoreMetadataResourceMetadata
|
|
2069
|
+
*/
|
|
2070
|
+
export interface EcommerceV1StoreStoreMetadataResourceMetadata {
|
|
2071
|
+
/**
|
|
2072
|
+
* Whether the store has at least one payment method connected.
|
|
2073
|
+
* @type {boolean}
|
|
2074
|
+
* @memberof EcommerceV1StoreStoreMetadataResourceMetadata
|
|
2075
|
+
*/
|
|
2076
|
+
'has_payment_methods': boolean;
|
|
2077
|
+
/**
|
|
2078
|
+
* Whether the store has at least one shipping option configured.
|
|
2079
|
+
* @type {boolean}
|
|
2080
|
+
* @memberof EcommerceV1StoreStoreMetadataResourceMetadata
|
|
2081
|
+
*/
|
|
2082
|
+
'has_shipping': boolean;
|
|
2083
|
+
/**
|
|
2084
|
+
* The default currency code of the store.
|
|
2085
|
+
* @type {string}
|
|
2086
|
+
* @memberof EcommerceV1StoreStoreMetadataResourceMetadata
|
|
2087
|
+
*/
|
|
2088
|
+
'default_currency_code': string;
|
|
2089
|
+
/**
|
|
2090
|
+
*
|
|
2091
|
+
* @type {EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency}
|
|
2092
|
+
* @memberof EcommerceV1StoreStoreMetadataResourceMetadata
|
|
2093
|
+
*/
|
|
2094
|
+
'default_currency': EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency | null;
|
|
2095
|
+
}
|
|
2096
|
+
/**
|
|
2097
|
+
* The store\'s default currency, or null when unset.
|
|
2098
|
+
* @export
|
|
2099
|
+
* @interface EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
|
|
2100
|
+
*/
|
|
2101
|
+
export interface EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency {
|
|
2102
|
+
/**
|
|
2103
|
+
*
|
|
2104
|
+
* @type {string}
|
|
2105
|
+
* @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
|
|
2106
|
+
*/
|
|
2107
|
+
'code': string;
|
|
2108
|
+
/**
|
|
2109
|
+
*
|
|
2110
|
+
* @type {string}
|
|
2111
|
+
* @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
|
|
2112
|
+
*/
|
|
2113
|
+
'symbol': string;
|
|
2114
|
+
/**
|
|
2115
|
+
*
|
|
2116
|
+
* @type {string}
|
|
2117
|
+
* @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
|
|
2118
|
+
*/
|
|
2119
|
+
'symbol_native': string;
|
|
2120
|
+
/**
|
|
2121
|
+
*
|
|
2122
|
+
* @type {string}
|
|
2123
|
+
* @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
|
|
2124
|
+
*/
|
|
2125
|
+
'name': string;
|
|
2126
|
+
/**
|
|
2127
|
+
*
|
|
2128
|
+
* @type {string}
|
|
2129
|
+
* @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
|
|
2130
|
+
*/
|
|
2131
|
+
'name_plural': string;
|
|
2132
|
+
/**
|
|
2133
|
+
*
|
|
2134
|
+
* @type {number}
|
|
2135
|
+
* @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
|
|
2136
|
+
*/
|
|
2137
|
+
'decimal_digits': number;
|
|
2138
|
+
/**
|
|
2139
|
+
*
|
|
2140
|
+
* @type {number}
|
|
2141
|
+
* @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
|
|
2142
|
+
*/
|
|
2143
|
+
'rounding': number;
|
|
2144
|
+
/**
|
|
2145
|
+
*
|
|
2146
|
+
* @type {string}
|
|
2147
|
+
* @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
|
|
2148
|
+
*/
|
|
2149
|
+
'template': string | null;
|
|
2150
|
+
/**
|
|
2151
|
+
*
|
|
2152
|
+
* @type {number}
|
|
2153
|
+
* @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
|
|
2154
|
+
*/
|
|
2155
|
+
'min_amount': number | null;
|
|
2156
|
+
}
|
|
2020
2157
|
/**
|
|
2021
2158
|
*
|
|
2022
2159
|
* @export
|
|
@@ -5407,6 +5544,106 @@ export interface WordPressV1CommonVulnerabilityResource {
|
|
|
5407
5544
|
*/
|
|
5408
5545
|
'direct_url': string;
|
|
5409
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
|
+
}
|
|
5410
5647
|
/**
|
|
5411
5648
|
*
|
|
5412
5649
|
* @export
|
|
@@ -5518,6 +5755,105 @@ export interface WordPressV1InstallationsInstallWordPressRequestDatabase {
|
|
|
5518
5755
|
*/
|
|
5519
5756
|
'password': string | null;
|
|
5520
5757
|
}
|
|
5758
|
+
/**
|
|
5759
|
+
*
|
|
5760
|
+
* @export
|
|
5761
|
+
* @interface WordPressV1InstallationsJwtTokenResource
|
|
5762
|
+
*/
|
|
5763
|
+
export interface WordPressV1InstallationsJwtTokenResource {
|
|
5764
|
+
/**
|
|
5765
|
+
* Signed JWT used to authenticate requests against the WordPress installation
|
|
5766
|
+
* @type {string}
|
|
5767
|
+
* @memberof WordPressV1InstallationsJwtTokenResource
|
|
5768
|
+
*/
|
|
5769
|
+
'token': string;
|
|
5770
|
+
/**
|
|
5771
|
+
* Token lifetime in seconds from the moment it was issued
|
|
5772
|
+
* @type {number}
|
|
5773
|
+
* @memberof WordPressV1InstallationsJwtTokenResource
|
|
5774
|
+
*/
|
|
5775
|
+
'expires_in': number;
|
|
5776
|
+
/**
|
|
5777
|
+
* Date-time at which the token expires, or null when not provided
|
|
5778
|
+
* @type {string}
|
|
5779
|
+
* @memberof WordPressV1InstallationsJwtTokenResource
|
|
5780
|
+
*/
|
|
5781
|
+
'expires_at': string | null;
|
|
5782
|
+
/**
|
|
5783
|
+
* MCP (Model Context Protocol) endpoint URL for the WordPress installation, or null when not provided
|
|
5784
|
+
* @type {string}
|
|
5785
|
+
* @memberof WordPressV1InstallationsJwtTokenResource
|
|
5786
|
+
*/
|
|
5787
|
+
'mcp_url': string | null;
|
|
5788
|
+
}
|
|
5789
|
+
/**
|
|
5790
|
+
*
|
|
5791
|
+
* @export
|
|
5792
|
+
* @interface WordPressV1InstallationsUpdateInstallationRequest
|
|
5793
|
+
*/
|
|
5794
|
+
export interface WordPressV1InstallationsUpdateInstallationRequest {
|
|
5795
|
+
/**
|
|
5796
|
+
* Update the minor version only.
|
|
5797
|
+
* @type {boolean}
|
|
5798
|
+
* @memberof WordPressV1InstallationsUpdateInstallationRequest
|
|
5799
|
+
*/
|
|
5800
|
+
'minor': boolean;
|
|
5801
|
+
/**
|
|
5802
|
+
* Update to a specific WordPress core version.
|
|
5803
|
+
* @type {string}
|
|
5804
|
+
* @memberof WordPressV1InstallationsUpdateInstallationRequest
|
|
5805
|
+
*/
|
|
5806
|
+
'version': string | null;
|
|
5807
|
+
}
|
|
5808
|
+
/**
|
|
5809
|
+
*
|
|
5810
|
+
* @export
|
|
5811
|
+
* @interface WordPressV1InstallationsUpdateResource
|
|
5812
|
+
*/
|
|
5813
|
+
export interface WordPressV1InstallationsUpdateResource {
|
|
5814
|
+
/**
|
|
5815
|
+
* Available WordPress core version
|
|
5816
|
+
* @type {string}
|
|
5817
|
+
* @memberof WordPressV1InstallationsUpdateResource
|
|
5818
|
+
*/
|
|
5819
|
+
'version': string;
|
|
5820
|
+
/**
|
|
5821
|
+
* Update type
|
|
5822
|
+
* @type {string}
|
|
5823
|
+
* @memberof WordPressV1InstallationsUpdateResource
|
|
5824
|
+
*/
|
|
5825
|
+
'type': WordPressV1InstallationsUpdateResourceTypeEnum;
|
|
5826
|
+
/**
|
|
5827
|
+
* Download URL for the update package
|
|
5828
|
+
* @type {string}
|
|
5829
|
+
* @memberof WordPressV1InstallationsUpdateResource
|
|
5830
|
+
*/
|
|
5831
|
+
'url': string;
|
|
5832
|
+
}
|
|
5833
|
+
export declare const WordPressV1InstallationsUpdateResourceTypeEnum: {
|
|
5834
|
+
readonly Major: "major";
|
|
5835
|
+
readonly Minor: "minor";
|
|
5836
|
+
};
|
|
5837
|
+
export type WordPressV1InstallationsUpdateResourceTypeEnum = typeof WordPressV1InstallationsUpdateResourceTypeEnum[keyof typeof WordPressV1InstallationsUpdateResourceTypeEnum];
|
|
5838
|
+
/**
|
|
5839
|
+
*
|
|
5840
|
+
* @export
|
|
5841
|
+
* @interface WordPressV1InstallationsVersionResource
|
|
5842
|
+
*/
|
|
5843
|
+
export interface WordPressV1InstallationsVersionResource {
|
|
5844
|
+
/**
|
|
5845
|
+
* Installed WordPress core version
|
|
5846
|
+
* @type {string}
|
|
5847
|
+
* @memberof WordPressV1InstallationsVersionResource
|
|
5848
|
+
*/
|
|
5849
|
+
'version': string;
|
|
5850
|
+
/**
|
|
5851
|
+
* Known vulnerabilities affecting the installed core version
|
|
5852
|
+
* @type {Array<WordPressV1CommonVulnerabilityResource>}
|
|
5853
|
+
* @memberof WordPressV1InstallationsVersionResource
|
|
5854
|
+
*/
|
|
5855
|
+
'vulnerabilities': Array<WordPressV1CommonVulnerabilityResource>;
|
|
5856
|
+
}
|
|
5521
5857
|
/**
|
|
5522
5858
|
*
|
|
5523
5859
|
* @export
|
|
@@ -5600,52 +5936,158 @@ export interface WordPressV1InstallationsWordPressInstallationResource {
|
|
|
5600
5936
|
/**
|
|
5601
5937
|
*
|
|
5602
5938
|
* @export
|
|
5603
|
-
* @interface
|
|
5939
|
+
* @interface WordPressV1LitespeedLitespeedCacheStatusResource
|
|
5604
5940
|
*/
|
|
5605
|
-
export interface
|
|
5941
|
+
export interface WordPressV1LitespeedLitespeedCacheStatusResource {
|
|
5606
5942
|
/**
|
|
5607
|
-
*
|
|
5608
|
-
* @type {
|
|
5609
|
-
* @memberof
|
|
5943
|
+
* Whether the LiteSpeed Cache plugin is installed on the WordPress installation
|
|
5944
|
+
* @type {boolean}
|
|
5945
|
+
* @memberof WordPressV1LitespeedLitespeedCacheStatusResource
|
|
5610
5946
|
*/
|
|
5611
|
-
'
|
|
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;
|
|
5612
5954
|
}
|
|
5613
5955
|
/**
|
|
5614
5956
|
*
|
|
5615
5957
|
* @export
|
|
5616
|
-
* @interface
|
|
5958
|
+
* @interface WordPressV1LoginLoginLinksResource
|
|
5617
5959
|
*/
|
|
5618
|
-
export interface
|
|
5960
|
+
export interface WordPressV1LoginLoginLinksResource {
|
|
5619
5961
|
/**
|
|
5620
|
-
*
|
|
5962
|
+
* Primary auto-login URL for the WordPress installation
|
|
5621
5963
|
* @type {string}
|
|
5622
|
-
* @memberof
|
|
5964
|
+
* @memberof WordPressV1LoginLoginLinksResource
|
|
5623
5965
|
*/
|
|
5624
|
-
'
|
|
5966
|
+
'login': string | null;
|
|
5625
5967
|
/**
|
|
5626
|
-
*
|
|
5968
|
+
* Fallback auto-login URL using the temporary Hostinger domain
|
|
5627
5969
|
* @type {string}
|
|
5628
|
-
* @memberof
|
|
5970
|
+
* @memberof WordPressV1LoginLoginLinksResource
|
|
5629
5971
|
*/
|
|
5630
|
-
'
|
|
5972
|
+
'fallback': string | null;
|
|
5631
5973
|
/**
|
|
5632
|
-
*
|
|
5974
|
+
* Default WordPress admin URL used when auto-login is unavailable
|
|
5633
5975
|
* @type {string}
|
|
5634
|
-
* @memberof
|
|
5976
|
+
* @memberof WordPressV1LoginLoginLinksResource
|
|
5635
5977
|
*/
|
|
5636
|
-
'
|
|
5978
|
+
'default': string | null;
|
|
5979
|
+
}
|
|
5980
|
+
/**
|
|
5981
|
+
*
|
|
5982
|
+
* @export
|
|
5983
|
+
* @interface WordPressV1MaintenanceMaintenanceStatusResource
|
|
5984
|
+
*/
|
|
5985
|
+
export interface WordPressV1MaintenanceMaintenanceStatusResource {
|
|
5637
5986
|
/**
|
|
5638
|
-
*
|
|
5987
|
+
* Current maintenance mode status for the WordPress installation
|
|
5639
5988
|
* @type {string}
|
|
5640
|
-
* @memberof
|
|
5989
|
+
* @memberof WordPressV1MaintenanceMaintenanceStatusResource
|
|
5641
5990
|
*/
|
|
5642
|
-
'
|
|
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 {
|
|
5643
6004
|
/**
|
|
5644
|
-
*
|
|
5645
|
-
* @type {
|
|
5646
|
-
* @memberof
|
|
6005
|
+
* Enable (true) or disable (false) maintenance mode for the WordPress installation.
|
|
6006
|
+
* @type {boolean}
|
|
6007
|
+
* @memberof WordPressV1MaintenanceToggleMaintenanceRequest
|
|
5647
6008
|
*/
|
|
5648
|
-
'
|
|
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
|
+
}
|
|
6042
|
+
/**
|
|
6043
|
+
*
|
|
6044
|
+
* @export
|
|
6045
|
+
* @interface WordPressV1PluginsActivatePluginRequest
|
|
6046
|
+
*/
|
|
6047
|
+
export interface WordPressV1PluginsActivatePluginRequest {
|
|
6048
|
+
/**
|
|
6049
|
+
* Slug of the installed plugin to activate.
|
|
6050
|
+
* @type {string}
|
|
6051
|
+
* @memberof WordPressV1PluginsActivatePluginRequest
|
|
6052
|
+
*/
|
|
6053
|
+
'plugin': string;
|
|
6054
|
+
}
|
|
6055
|
+
/**
|
|
6056
|
+
*
|
|
6057
|
+
* @export
|
|
6058
|
+
* @interface WordPressV1PluginsAvailablePluginResource
|
|
6059
|
+
*/
|
|
6060
|
+
export interface WordPressV1PluginsAvailablePluginResource {
|
|
6061
|
+
/**
|
|
6062
|
+
* Plugin slug used when installing the plugin
|
|
6063
|
+
* @type {string}
|
|
6064
|
+
* @memberof WordPressV1PluginsAvailablePluginResource
|
|
6065
|
+
*/
|
|
6066
|
+
'slug': string;
|
|
6067
|
+
/**
|
|
6068
|
+
* Human readable plugin name
|
|
6069
|
+
* @type {string}
|
|
6070
|
+
* @memberof WordPressV1PluginsAvailablePluginResource
|
|
6071
|
+
*/
|
|
6072
|
+
'title': string;
|
|
6073
|
+
/**
|
|
6074
|
+
* Short plugin description
|
|
6075
|
+
* @type {string}
|
|
6076
|
+
* @memberof WordPressV1PluginsAvailablePluginResource
|
|
6077
|
+
*/
|
|
6078
|
+
'description': string;
|
|
6079
|
+
/**
|
|
6080
|
+
* Translation slug for the onboarding description
|
|
6081
|
+
* @type {string}
|
|
6082
|
+
* @memberof WordPressV1PluginsAvailablePluginResource
|
|
6083
|
+
*/
|
|
6084
|
+
'onboarding_description_slug': string | null;
|
|
6085
|
+
/**
|
|
6086
|
+
* Translation slug for the recommended description
|
|
6087
|
+
* @type {string}
|
|
6088
|
+
* @memberof WordPressV1PluginsAvailablePluginResource
|
|
6089
|
+
*/
|
|
6090
|
+
'recommended_description_slug': string | null;
|
|
5649
6091
|
/**
|
|
5650
6092
|
* Link to the plugin page on WordPress.org
|
|
5651
6093
|
* @type {string}
|
|
@@ -7747,13 +8189,13 @@ export declare class EcommerceProductsApi extends BaseAPI {
|
|
|
7747
8189
|
export declare const EcommerceSalesChannelsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
7748
8190
|
/**
|
|
7749
8191
|
* Create a custom sales channel for a store. Build your own frontend and keep your catalog, orders, shipping and payments in sync through the Ecommerce API.
|
|
7750
|
-
* @summary Create
|
|
8192
|
+
* @summary Create custom sales channel
|
|
7751
8193
|
* @param {string} storeId The ID of the store to create the sales channel for.
|
|
7752
8194
|
* @param {EcommerceV1SalesChannelStoreRequest} ecommerceV1SalesChannelStoreRequest
|
|
7753
8195
|
* @param {*} [options] Override http request option.
|
|
7754
8196
|
* @throws {RequiredError}
|
|
7755
8197
|
*/
|
|
7756
|
-
|
|
8198
|
+
createCustomSalesChannelV1: (storeId: string, ecommerceV1SalesChannelStoreRequest: EcommerceV1SalesChannelStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7757
8199
|
/**
|
|
7758
8200
|
* List a store\'s active sales channels with their full metadata.
|
|
7759
8201
|
* @summary List sales channels
|
|
@@ -7762,6 +8204,16 @@ export declare const EcommerceSalesChannelsApiAxiosParamCreator: (configuration?
|
|
|
7762
8204
|
* @throws {RequiredError}
|
|
7763
8205
|
*/
|
|
7764
8206
|
listSalesChannelsV1: (storeId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8207
|
+
/**
|
|
8208
|
+
* Update a custom sales channel. The merchant-facing `name` and the public `url` (returned as the channel `domain`) can be changed. Pass `null` to clear a value.
|
|
8209
|
+
* @summary Update sales channel
|
|
8210
|
+
* @param {string} storeId The ID of the store that owns the sales channel.
|
|
8211
|
+
* @param {string} salesChannelId The ID of the sales channel to update.
|
|
8212
|
+
* @param {EcommerceV1SalesChannelUpdateRequest} ecommerceV1SalesChannelUpdateRequest
|
|
8213
|
+
* @param {*} [options] Override http request option.
|
|
8214
|
+
* @throws {RequiredError}
|
|
8215
|
+
*/
|
|
8216
|
+
updateSalesChannelV1: (storeId: string, salesChannelId: string, ecommerceV1SalesChannelUpdateRequest: EcommerceV1SalesChannelUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7765
8217
|
};
|
|
7766
8218
|
/**
|
|
7767
8219
|
* EcommerceSalesChannelsApi - functional programming interface
|
|
@@ -7770,13 +8222,13 @@ export declare const EcommerceSalesChannelsApiAxiosParamCreator: (configuration?
|
|
|
7770
8222
|
export declare const EcommerceSalesChannelsApiFp: (configuration?: Configuration) => {
|
|
7771
8223
|
/**
|
|
7772
8224
|
* Create a custom sales channel for a store. Build your own frontend and keep your catalog, orders, shipping and payments in sync through the Ecommerce API.
|
|
7773
|
-
* @summary Create
|
|
8225
|
+
* @summary Create custom sales channel
|
|
7774
8226
|
* @param {string} storeId The ID of the store to create the sales channel for.
|
|
7775
8227
|
* @param {EcommerceV1SalesChannelStoreRequest} ecommerceV1SalesChannelStoreRequest
|
|
7776
8228
|
* @param {*} [options] Override http request option.
|
|
7777
8229
|
* @throws {RequiredError}
|
|
7778
8230
|
*/
|
|
7779
|
-
|
|
8231
|
+
createCustomSalesChannelV1(storeId: string, ecommerceV1SalesChannelStoreRequest: EcommerceV1SalesChannelStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1SalesChannelSalesChannelCreationResource>>;
|
|
7780
8232
|
/**
|
|
7781
8233
|
* List a store\'s active sales channels with their full metadata.
|
|
7782
8234
|
* @summary List sales channels
|
|
@@ -7785,6 +8237,16 @@ export declare const EcommerceSalesChannelsApiFp: (configuration?: Configuration
|
|
|
7785
8237
|
* @throws {RequiredError}
|
|
7786
8238
|
*/
|
|
7787
8239
|
listSalesChannelsV1(storeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1SalesChannelSalesChannelListResource>>;
|
|
8240
|
+
/**
|
|
8241
|
+
* Update a custom sales channel. The merchant-facing `name` and the public `url` (returned as the channel `domain`) can be changed. Pass `null` to clear a value.
|
|
8242
|
+
* @summary Update sales channel
|
|
8243
|
+
* @param {string} storeId The ID of the store that owns the sales channel.
|
|
8244
|
+
* @param {string} salesChannelId The ID of the sales channel to update.
|
|
8245
|
+
* @param {EcommerceV1SalesChannelUpdateRequest} ecommerceV1SalesChannelUpdateRequest
|
|
8246
|
+
* @param {*} [options] Override http request option.
|
|
8247
|
+
* @throws {RequiredError}
|
|
8248
|
+
*/
|
|
8249
|
+
updateSalesChannelV1(storeId: string, salesChannelId: string, ecommerceV1SalesChannelUpdateRequest: EcommerceV1SalesChannelUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1SalesChannelSalesChannelUpdateResource>>;
|
|
7788
8250
|
};
|
|
7789
8251
|
/**
|
|
7790
8252
|
* EcommerceSalesChannelsApi - factory interface
|
|
@@ -7793,13 +8255,13 @@ export declare const EcommerceSalesChannelsApiFp: (configuration?: Configuration
|
|
|
7793
8255
|
export declare const EcommerceSalesChannelsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
7794
8256
|
/**
|
|
7795
8257
|
* Create a custom sales channel for a store. Build your own frontend and keep your catalog, orders, shipping and payments in sync through the Ecommerce API.
|
|
7796
|
-
* @summary Create
|
|
8258
|
+
* @summary Create custom sales channel
|
|
7797
8259
|
* @param {string} storeId The ID of the store to create the sales channel for.
|
|
7798
8260
|
* @param {EcommerceV1SalesChannelStoreRequest} ecommerceV1SalesChannelStoreRequest
|
|
7799
8261
|
* @param {*} [options] Override http request option.
|
|
7800
8262
|
* @throws {RequiredError}
|
|
7801
8263
|
*/
|
|
7802
|
-
|
|
8264
|
+
createCustomSalesChannelV1(storeId: string, ecommerceV1SalesChannelStoreRequest: EcommerceV1SalesChannelStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1SalesChannelSalesChannelCreationResource>;
|
|
7803
8265
|
/**
|
|
7804
8266
|
* List a store\'s active sales channels with their full metadata.
|
|
7805
8267
|
* @summary List sales channels
|
|
@@ -7808,6 +8270,16 @@ export declare const EcommerceSalesChannelsApiFactory: (configuration?: Configur
|
|
|
7808
8270
|
* @throws {RequiredError}
|
|
7809
8271
|
*/
|
|
7810
8272
|
listSalesChannelsV1(storeId: string, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1SalesChannelSalesChannelListResource>;
|
|
8273
|
+
/**
|
|
8274
|
+
* Update a custom sales channel. The merchant-facing `name` and the public `url` (returned as the channel `domain`) can be changed. Pass `null` to clear a value.
|
|
8275
|
+
* @summary Update sales channel
|
|
8276
|
+
* @param {string} storeId The ID of the store that owns the sales channel.
|
|
8277
|
+
* @param {string} salesChannelId The ID of the sales channel to update.
|
|
8278
|
+
* @param {EcommerceV1SalesChannelUpdateRequest} ecommerceV1SalesChannelUpdateRequest
|
|
8279
|
+
* @param {*} [options] Override http request option.
|
|
8280
|
+
* @throws {RequiredError}
|
|
8281
|
+
*/
|
|
8282
|
+
updateSalesChannelV1(storeId: string, salesChannelId: string, ecommerceV1SalesChannelUpdateRequest: EcommerceV1SalesChannelUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1SalesChannelSalesChannelUpdateResource>;
|
|
7811
8283
|
};
|
|
7812
8284
|
/**
|
|
7813
8285
|
* EcommerceSalesChannelsApi - object-oriented interface
|
|
@@ -7818,14 +8290,14 @@ export declare const EcommerceSalesChannelsApiFactory: (configuration?: Configur
|
|
|
7818
8290
|
export declare class EcommerceSalesChannelsApi extends BaseAPI {
|
|
7819
8291
|
/**
|
|
7820
8292
|
* Create a custom sales channel for a store. Build your own frontend and keep your catalog, orders, shipping and payments in sync through the Ecommerce API.
|
|
7821
|
-
* @summary Create
|
|
8293
|
+
* @summary Create custom sales channel
|
|
7822
8294
|
* @param {string} storeId The ID of the store to create the sales channel for.
|
|
7823
8295
|
* @param {EcommerceV1SalesChannelStoreRequest} ecommerceV1SalesChannelStoreRequest
|
|
7824
8296
|
* @param {*} [options] Override http request option.
|
|
7825
8297
|
* @throws {RequiredError}
|
|
7826
8298
|
* @memberof EcommerceSalesChannelsApi
|
|
7827
8299
|
*/
|
|
7828
|
-
|
|
8300
|
+
createCustomSalesChannelV1(storeId: string, ecommerceV1SalesChannelStoreRequest: EcommerceV1SalesChannelStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1SalesChannelSalesChannelCreationResource, any, {}>>;
|
|
7829
8301
|
/**
|
|
7830
8302
|
* List a store\'s active sales channels with their full metadata.
|
|
7831
8303
|
* @summary List sales channels
|
|
@@ -7835,6 +8307,17 @@ export declare class EcommerceSalesChannelsApi extends BaseAPI {
|
|
|
7835
8307
|
* @memberof EcommerceSalesChannelsApi
|
|
7836
8308
|
*/
|
|
7837
8309
|
listSalesChannelsV1(storeId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1SalesChannelSalesChannelListResource, any, {}>>;
|
|
8310
|
+
/**
|
|
8311
|
+
* Update a custom sales channel. The merchant-facing `name` and the public `url` (returned as the channel `domain`) can be changed. Pass `null` to clear a value.
|
|
8312
|
+
* @summary Update sales channel
|
|
8313
|
+
* @param {string} storeId The ID of the store that owns the sales channel.
|
|
8314
|
+
* @param {string} salesChannelId The ID of the sales channel to update.
|
|
8315
|
+
* @param {EcommerceV1SalesChannelUpdateRequest} ecommerceV1SalesChannelUpdateRequest
|
|
8316
|
+
* @param {*} [options] Override http request option.
|
|
8317
|
+
* @throws {RequiredError}
|
|
8318
|
+
* @memberof EcommerceSalesChannelsApi
|
|
8319
|
+
*/
|
|
8320
|
+
updateSalesChannelV1(storeId: string, salesChannelId: string, ecommerceV1SalesChannelUpdateRequest: EcommerceV1SalesChannelUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1SalesChannelSalesChannelUpdateResource, any, {}>>;
|
|
7838
8321
|
}
|
|
7839
8322
|
/**
|
|
7840
8323
|
* EcommerceShippingApi - axios parameter creator
|
|
@@ -7920,6 +8403,14 @@ export declare const EcommerceStoresApiAxiosParamCreator: (configuration?: Confi
|
|
|
7920
8403
|
* @throws {RequiredError}
|
|
7921
8404
|
*/
|
|
7922
8405
|
deleteStoreV1: (storeId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8406
|
+
/**
|
|
8407
|
+
* Get a store\'s readiness metadata: whether payment methods and shipping are configured, plus its default currency. Useful to verify prerequisites before building a storefront.
|
|
8408
|
+
* @summary Get store metadata
|
|
8409
|
+
* @param {string} storeId The ID of the store to read metadata for.
|
|
8410
|
+
* @param {*} [options] Override http request option.
|
|
8411
|
+
* @throws {RequiredError}
|
|
8412
|
+
*/
|
|
8413
|
+
getStoreMetadataV1: (storeId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7923
8414
|
/**
|
|
7924
8415
|
* Retrieve the stores associated with your account.
|
|
7925
8416
|
* @summary Get stores
|
|
@@ -7950,6 +8441,14 @@ export declare const EcommerceStoresApiFp: (configuration?: Configuration) => {
|
|
|
7950
8441
|
* @throws {RequiredError}
|
|
7951
8442
|
*/
|
|
7952
8443
|
deleteStoreV1(storeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1StoreStoreDeleteResource>>;
|
|
8444
|
+
/**
|
|
8445
|
+
* Get a store\'s readiness metadata: whether payment methods and shipping are configured, plus its default currency. Useful to verify prerequisites before building a storefront.
|
|
8446
|
+
* @summary Get store metadata
|
|
8447
|
+
* @param {string} storeId The ID of the store to read metadata for.
|
|
8448
|
+
* @param {*} [options] Override http request option.
|
|
8449
|
+
* @throws {RequiredError}
|
|
8450
|
+
*/
|
|
8451
|
+
getStoreMetadataV1(storeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1StoreStoreMetadataResource>>;
|
|
7953
8452
|
/**
|
|
7954
8453
|
* Retrieve the stores associated with your account.
|
|
7955
8454
|
* @summary Get stores
|
|
@@ -7980,6 +8479,14 @@ export declare const EcommerceStoresApiFactory: (configuration?: Configuration,
|
|
|
7980
8479
|
* @throws {RequiredError}
|
|
7981
8480
|
*/
|
|
7982
8481
|
deleteStoreV1(storeId: string, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1StoreStoreDeleteResource>;
|
|
8482
|
+
/**
|
|
8483
|
+
* Get a store\'s readiness metadata: whether payment methods and shipping are configured, plus its default currency. Useful to verify prerequisites before building a storefront.
|
|
8484
|
+
* @summary Get store metadata
|
|
8485
|
+
* @param {string} storeId The ID of the store to read metadata for.
|
|
8486
|
+
* @param {*} [options] Override http request option.
|
|
8487
|
+
* @throws {RequiredError}
|
|
8488
|
+
*/
|
|
8489
|
+
getStoreMetadataV1(storeId: string, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1StoreStoreMetadataResource>;
|
|
7983
8490
|
/**
|
|
7984
8491
|
* Retrieve the stores associated with your account.
|
|
7985
8492
|
* @summary Get stores
|
|
@@ -8014,6 +8521,15 @@ export declare class EcommerceStoresApi extends BaseAPI {
|
|
|
8014
8521
|
* @memberof EcommerceStoresApi
|
|
8015
8522
|
*/
|
|
8016
8523
|
deleteStoreV1(storeId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1StoreStoreDeleteResource, any, {}>>;
|
|
8524
|
+
/**
|
|
8525
|
+
* Get a store\'s readiness metadata: whether payment methods and shipping are configured, plus its default currency. Useful to verify prerequisites before building a storefront.
|
|
8526
|
+
* @summary Get store metadata
|
|
8527
|
+
* @param {string} storeId The ID of the store to read metadata for.
|
|
8528
|
+
* @param {*} [options] Override http request option.
|
|
8529
|
+
* @throws {RequiredError}
|
|
8530
|
+
* @memberof EcommerceStoresApi
|
|
8531
|
+
*/
|
|
8532
|
+
getStoreMetadataV1(storeId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1StoreStoreMetadataResource, any, {}>>;
|
|
8017
8533
|
/**
|
|
8018
8534
|
* Retrieve the stores associated with your account.
|
|
8019
8535
|
* @summary Get stores
|
|
@@ -12705,60 +13221,162 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
12705
13221
|
stopVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}>>;
|
|
12706
13222
|
}
|
|
12707
13223
|
/**
|
|
12708
|
-
*
|
|
13224
|
+
* WordPressAIToolsApi - axios parameter creator
|
|
12709
13225
|
* @export
|
|
12710
13226
|
*/
|
|
12711
|
-
export declare const
|
|
13227
|
+
export declare const WordPressAIToolsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
12712
13228
|
/**
|
|
12713
|
-
*
|
|
12714
|
-
* @summary
|
|
13229
|
+
* Enable or disable an AI option for the Hostinger Tools plugin on the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13230
|
+
* @summary Set AI option status
|
|
12715
13231
|
* @param {string} username
|
|
12716
|
-
* @param {
|
|
13232
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13233
|
+
* @param {WordPressV1HostingerPluginsUpdateAiOptionStatusRequest} wordPressV1HostingerPluginsUpdateAiOptionStatusRequest
|
|
12717
13234
|
* @param {*} [options] Override http request option.
|
|
12718
13235
|
* @throws {RequiredError}
|
|
12719
13236
|
*/
|
|
12720
|
-
|
|
13237
|
+
setAIOptionStatusV1: (username: string, software: string, wordPressV1HostingerPluginsUpdateAiOptionStatusRequest: WordPressV1HostingerPluginsUpdateAiOptionStatusRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12721
13238
|
/**
|
|
12722
|
-
*
|
|
12723
|
-
* @summary
|
|
12724
|
-
* @param {string
|
|
12725
|
-
* @param {string
|
|
12726
|
-
* @param {
|
|
13239
|
+
* Show the current AI option status for the Hostinger Tools plugin on the specified WordPress installation. Filter by `option` to return a single option, or omit it to return all options. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13240
|
+
* @summary Show AI option status
|
|
13241
|
+
* @param {string} username
|
|
13242
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13243
|
+
* @param {ShowAIOptionStatusV1OptionEnum} [option] Filter the status by a single AI option.
|
|
12727
13244
|
* @param {*} [options] Override http request option.
|
|
12728
13245
|
* @throws {RequiredError}
|
|
12729
13246
|
*/
|
|
12730
|
-
|
|
13247
|
+
showAIOptionStatusV1: (username: string, software: string, option?: ShowAIOptionStatusV1OptionEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12731
13248
|
};
|
|
12732
13249
|
/**
|
|
12733
|
-
*
|
|
13250
|
+
* WordPressAIToolsApi - functional programming interface
|
|
12734
13251
|
* @export
|
|
12735
13252
|
*/
|
|
12736
|
-
export declare const
|
|
13253
|
+
export declare const WordPressAIToolsApiFp: (configuration?: Configuration) => {
|
|
12737
13254
|
/**
|
|
12738
|
-
*
|
|
12739
|
-
* @summary
|
|
13255
|
+
* Enable or disable an AI option for the Hostinger Tools plugin on the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13256
|
+
* @summary Set AI option status
|
|
12740
13257
|
* @param {string} username
|
|
12741
|
-
* @param {
|
|
13258
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13259
|
+
* @param {WordPressV1HostingerPluginsUpdateAiOptionStatusRequest} wordPressV1HostingerPluginsUpdateAiOptionStatusRequest
|
|
12742
13260
|
* @param {*} [options] Override http request option.
|
|
12743
13261
|
* @throws {RequiredError}
|
|
12744
13262
|
*/
|
|
12745
|
-
|
|
13263
|
+
setAIOptionStatusV1(username: string, software: string, wordPressV1HostingerPluginsUpdateAiOptionStatusRequest: WordPressV1HostingerPluginsUpdateAiOptionStatusRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
12746
13264
|
/**
|
|
12747
|
-
*
|
|
12748
|
-
* @summary
|
|
12749
|
-
* @param {string
|
|
12750
|
-
* @param {string
|
|
12751
|
-
* @param {
|
|
13265
|
+
* Show the current AI option status for the Hostinger Tools plugin on the specified WordPress installation. Filter by `option` to return a single option, or omit it to return all options. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13266
|
+
* @summary Show AI option status
|
|
13267
|
+
* @param {string} username
|
|
13268
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13269
|
+
* @param {ShowAIOptionStatusV1OptionEnum} [option] Filter the status by a single AI option.
|
|
12752
13270
|
* @param {*} [options] Override http request option.
|
|
12753
13271
|
* @throws {RequiredError}
|
|
12754
13272
|
*/
|
|
12755
|
-
|
|
13273
|
+
showAIOptionStatusV1(username: string, software: string, option?: ShowAIOptionStatusV1OptionEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1HostingerPluginsAiOptionStatusResource>>;
|
|
12756
13274
|
};
|
|
12757
13275
|
/**
|
|
12758
|
-
*
|
|
13276
|
+
* WordPressAIToolsApi - factory interface
|
|
12759
13277
|
* @export
|
|
12760
13278
|
*/
|
|
12761
|
-
export declare const
|
|
13279
|
+
export declare const WordPressAIToolsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13280
|
+
/**
|
|
13281
|
+
* Enable or disable an AI option for the Hostinger Tools plugin on the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13282
|
+
* @summary Set AI option status
|
|
13283
|
+
* @param {string} username
|
|
13284
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13285
|
+
* @param {WordPressV1HostingerPluginsUpdateAiOptionStatusRequest} wordPressV1HostingerPluginsUpdateAiOptionStatusRequest
|
|
13286
|
+
* @param {*} [options] Override http request option.
|
|
13287
|
+
* @throws {RequiredError}
|
|
13288
|
+
*/
|
|
13289
|
+
setAIOptionStatusV1(username: string, software: string, wordPressV1HostingerPluginsUpdateAiOptionStatusRequest: WordPressV1HostingerPluginsUpdateAiOptionStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
13290
|
+
/**
|
|
13291
|
+
* Show the current AI option status for the Hostinger Tools plugin on the specified WordPress installation. Filter by `option` to return a single option, or omit it to return all options. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13292
|
+
* @summary Show AI option status
|
|
13293
|
+
* @param {string} username
|
|
13294
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13295
|
+
* @param {ShowAIOptionStatusV1OptionEnum} [option] Filter the status by a single AI option.
|
|
13296
|
+
* @param {*} [options] Override http request option.
|
|
13297
|
+
* @throws {RequiredError}
|
|
13298
|
+
*/
|
|
13299
|
+
showAIOptionStatusV1(username: string, software: string, option?: ShowAIOptionStatusV1OptionEnum, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1HostingerPluginsAiOptionStatusResource>;
|
|
13300
|
+
};
|
|
13301
|
+
/**
|
|
13302
|
+
* WordPressAIToolsApi - object-oriented interface
|
|
13303
|
+
* @export
|
|
13304
|
+
* @class WordPressAIToolsApi
|
|
13305
|
+
* @extends {BaseAPI}
|
|
13306
|
+
*/
|
|
13307
|
+
export declare class WordPressAIToolsApi extends BaseAPI {
|
|
13308
|
+
/**
|
|
13309
|
+
* Enable or disable an AI option for the Hostinger Tools plugin on the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13310
|
+
* @summary Set AI option status
|
|
13311
|
+
* @param {string} username
|
|
13312
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13313
|
+
* @param {WordPressV1HostingerPluginsUpdateAiOptionStatusRequest} wordPressV1HostingerPluginsUpdateAiOptionStatusRequest
|
|
13314
|
+
* @param {*} [options] Override http request option.
|
|
13315
|
+
* @throws {RequiredError}
|
|
13316
|
+
* @memberof WordPressAIToolsApi
|
|
13317
|
+
*/
|
|
13318
|
+
setAIOptionStatusV1(username: string, software: string, wordPressV1HostingerPluginsUpdateAiOptionStatusRequest: WordPressV1HostingerPluginsUpdateAiOptionStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
13319
|
+
/**
|
|
13320
|
+
* Show the current AI option status for the Hostinger Tools plugin on the specified WordPress installation. Filter by `option` to return a single option, or omit it to return all options. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13321
|
+
* @summary Show AI option status
|
|
13322
|
+
* @param {string} username
|
|
13323
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13324
|
+
* @param {ShowAIOptionStatusV1OptionEnum} [option] Filter the status by a single AI option.
|
|
13325
|
+
* @param {*} [options] Override http request option.
|
|
13326
|
+
* @throws {RequiredError}
|
|
13327
|
+
* @memberof WordPressAIToolsApi
|
|
13328
|
+
*/
|
|
13329
|
+
showAIOptionStatusV1(username: string, software: string, option?: ShowAIOptionStatusV1OptionEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1HostingerPluginsAiOptionStatusResource, any, {}>>;
|
|
13330
|
+
}
|
|
13331
|
+
/**
|
|
13332
|
+
* @export
|
|
13333
|
+
*/
|
|
13334
|
+
export declare const ShowAIOptionStatusV1OptionEnum: {
|
|
13335
|
+
readonly Llmstxt: "llmstxt";
|
|
13336
|
+
readonly Web2agent: "web2agent";
|
|
13337
|
+
};
|
|
13338
|
+
export type ShowAIOptionStatusV1OptionEnum = typeof ShowAIOptionStatusV1OptionEnum[keyof typeof ShowAIOptionStatusV1OptionEnum];
|
|
13339
|
+
/**
|
|
13340
|
+
* WordPressInstallationsApi - axios parameter creator
|
|
13341
|
+
* @export
|
|
13342
|
+
*/
|
|
13343
|
+
export declare const WordPressInstallationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13344
|
+
/**
|
|
13345
|
+
* Check whether one or more WordPress installations are valid and working correctly. Detects broken installations caused by missing files, broken plugins, themes and similar issues. Provide the WordPress installation (software) identifiers in the body. They can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13346
|
+
* @summary Check if WordPress installations are valid
|
|
13347
|
+
* @param {string} username
|
|
13348
|
+
* @param {WordPressV1InstallationsCheckIsValidRequest} wordPressV1InstallationsCheckIsValidRequest
|
|
13349
|
+
* @param {*} [options] Override http request option.
|
|
13350
|
+
* @throws {RequiredError}
|
|
13351
|
+
*/
|
|
13352
|
+
checkIfWordPressInstallationsAreValidV1: (username: string, wordPressV1InstallationsCheckIsValidRequest: WordPressV1InstallationsCheckIsValidRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13353
|
+
/**
|
|
13354
|
+
* Delete the specified WordPress installation, with optional file and database removal. This removes all associated components including plugins, themes, staging websites and any other related data. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13355
|
+
* @summary Delete WordPress installation
|
|
13356
|
+
* @param {string} username
|
|
13357
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13358
|
+
* @param {WordPressV1InstallationsDeleteInstallationRequest} wordPressV1InstallationsDeleteInstallationRequest
|
|
13359
|
+
* @param {*} [options] Override http request option.
|
|
13360
|
+
* @throws {RequiredError}
|
|
13361
|
+
*/
|
|
13362
|
+
deleteWordPressInstallationV1: (username: string, software: string, wordPressV1InstallationsDeleteInstallationRequest: WordPressV1InstallationsDeleteInstallationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13363
|
+
/**
|
|
13364
|
+
* Trigger a background scan to detect WordPress installations for the account. This operation is asynchronous: a successful response only means the scan has been queued. Poll GET /api/hosting/v1/wordpress/installations to fetch the detected installations once the scan completes.
|
|
13365
|
+
* @summary Detect WordPress installations
|
|
13366
|
+
* @param {string} username
|
|
13367
|
+
* @param {*} [options] Override http request option.
|
|
13368
|
+
* @throws {RequiredError}
|
|
13369
|
+
*/
|
|
13370
|
+
detectWordPressInstallationsV1: (username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13371
|
+
/**
|
|
13372
|
+
* Return a JWT token used to authenticate requests against the specified WordPress installation, including its MCP (Model Context Protocol) endpoint. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13373
|
+
* @summary Get installation JWT token
|
|
13374
|
+
* @param {string} username
|
|
13375
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13376
|
+
* @param {*} [options] Override http request option.
|
|
13377
|
+
* @throws {RequiredError}
|
|
13378
|
+
*/
|
|
13379
|
+
getInstallationJWTTokenV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12762
13380
|
/**
|
|
12763
13381
|
* Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/websites and poll GET /api/hosting/v1/websites until it appears. Call GET /api/hosting/v1/wordpress/installations filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.
|
|
12764
13382
|
* @summary Install WordPress
|
|
@@ -12767,7 +13385,16 @@ export declare const WordPressInstallationsApiFactory: (configuration?: Configur
|
|
|
12767
13385
|
* @param {*} [options] Override http request option.
|
|
12768
13386
|
* @throws {RequiredError}
|
|
12769
13387
|
*/
|
|
12770
|
-
installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig)
|
|
13388
|
+
installWordPressV1: (username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13389
|
+
/**
|
|
13390
|
+
* List available WordPress core updates for the specified installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13391
|
+
* @summary List available WordPress core updates
|
|
13392
|
+
* @param {string} username
|
|
13393
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13394
|
+
* @param {*} [options] Override http request option.
|
|
13395
|
+
* @throws {RequiredError}
|
|
13396
|
+
*/
|
|
13397
|
+
listAvailableWordPressCoreUpdatesV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12771
13398
|
/**
|
|
12772
13399
|
* List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
|
|
12773
13400
|
* @summary List WordPress installations
|
|
@@ -12777,15 +13404,68 @@ export declare const WordPressInstallationsApiFactory: (configuration?: Configur
|
|
|
12777
13404
|
* @param {*} [options] Override http request option.
|
|
12778
13405
|
* @throws {RequiredError}
|
|
12779
13406
|
*/
|
|
12780
|
-
listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig)
|
|
13407
|
+
listWordPressInstallationsV1: (username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13408
|
+
/**
|
|
13409
|
+
* Show the WordPress core version for the specified installation, along with known vulnerabilities affecting it. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13410
|
+
* @summary Show WordPress core version
|
|
13411
|
+
* @param {string} username
|
|
13412
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13413
|
+
* @param {*} [options] Override http request option.
|
|
13414
|
+
* @throws {RequiredError}
|
|
13415
|
+
*/
|
|
13416
|
+
showWordPressCoreVersionV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13417
|
+
/**
|
|
13418
|
+
* Update the WordPress core for the specified installation (minor update or a specific version). Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field). This operation is asynchronous: a successful response only means the update job has been queued.
|
|
13419
|
+
* @summary Update WordPress core
|
|
13420
|
+
* @param {string} username
|
|
13421
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13422
|
+
* @param {WordPressV1InstallationsUpdateInstallationRequest} wordPressV1InstallationsUpdateInstallationRequest
|
|
13423
|
+
* @param {*} [options] Override http request option.
|
|
13424
|
+
* @throws {RequiredError}
|
|
13425
|
+
*/
|
|
13426
|
+
updateWordPressCoreV1: (username: string, software: string, wordPressV1InstallationsUpdateInstallationRequest: WordPressV1InstallationsUpdateInstallationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12781
13427
|
};
|
|
12782
13428
|
/**
|
|
12783
|
-
* WordPressInstallationsApi -
|
|
13429
|
+
* WordPressInstallationsApi - functional programming interface
|
|
12784
13430
|
* @export
|
|
12785
|
-
* @class WordPressInstallationsApi
|
|
12786
|
-
* @extends {BaseAPI}
|
|
12787
13431
|
*/
|
|
12788
|
-
export declare
|
|
13432
|
+
export declare const WordPressInstallationsApiFp: (configuration?: Configuration) => {
|
|
13433
|
+
/**
|
|
13434
|
+
* Check whether one or more WordPress installations are valid and working correctly. Detects broken installations caused by missing files, broken plugins, themes and similar issues. Provide the WordPress installation (software) identifiers in the body. They can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13435
|
+
* @summary Check if WordPress installations are valid
|
|
13436
|
+
* @param {string} username
|
|
13437
|
+
* @param {WordPressV1InstallationsCheckIsValidRequest} wordPressV1InstallationsCheckIsValidRequest
|
|
13438
|
+
* @param {*} [options] Override http request option.
|
|
13439
|
+
* @throws {RequiredError}
|
|
13440
|
+
*/
|
|
13441
|
+
checkIfWordPressInstallationsAreValidV1(username: string, wordPressV1InstallationsCheckIsValidRequest: WordPressV1InstallationsCheckIsValidRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WordPressV1InstallationsCheckIsValidResultResource>>>;
|
|
13442
|
+
/**
|
|
13443
|
+
* Delete the specified WordPress installation, with optional file and database removal. This removes all associated components including plugins, themes, staging websites and any other related data. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13444
|
+
* @summary Delete WordPress installation
|
|
13445
|
+
* @param {string} username
|
|
13446
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13447
|
+
* @param {WordPressV1InstallationsDeleteInstallationRequest} wordPressV1InstallationsDeleteInstallationRequest
|
|
13448
|
+
* @param {*} [options] Override http request option.
|
|
13449
|
+
* @throws {RequiredError}
|
|
13450
|
+
*/
|
|
13451
|
+
deleteWordPressInstallationV1(username: string, software: string, wordPressV1InstallationsDeleteInstallationRequest: WordPressV1InstallationsDeleteInstallationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
13452
|
+
/**
|
|
13453
|
+
* Trigger a background scan to detect WordPress installations for the account. This operation is asynchronous: a successful response only means the scan has been queued. Poll GET /api/hosting/v1/wordpress/installations to fetch the detected installations once the scan completes.
|
|
13454
|
+
* @summary Detect WordPress installations
|
|
13455
|
+
* @param {string} username
|
|
13456
|
+
* @param {*} [options] Override http request option.
|
|
13457
|
+
* @throws {RequiredError}
|
|
13458
|
+
*/
|
|
13459
|
+
detectWordPressInstallationsV1(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
13460
|
+
/**
|
|
13461
|
+
* Return a JWT token used to authenticate requests against the specified WordPress installation, including its MCP (Model Context Protocol) endpoint. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13462
|
+
* @summary Get installation JWT token
|
|
13463
|
+
* @param {string} username
|
|
13464
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13465
|
+
* @param {*} [options] Override http request option.
|
|
13466
|
+
* @throws {RequiredError}
|
|
13467
|
+
*/
|
|
13468
|
+
getInstallationJWTTokenV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1InstallationsJwtTokenResource>>;
|
|
12789
13469
|
/**
|
|
12790
13470
|
* Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/websites and poll GET /api/hosting/v1/websites until it appears. Call GET /api/hosting/v1/wordpress/installations filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.
|
|
12791
13471
|
* @summary Install WordPress
|
|
@@ -12793,9 +13473,17 @@ export declare class WordPressInstallationsApi extends BaseAPI {
|
|
|
12793
13473
|
* @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
|
|
12794
13474
|
* @param {*} [options] Override http request option.
|
|
12795
13475
|
* @throws {RequiredError}
|
|
12796
|
-
* @memberof WordPressInstallationsApi
|
|
12797
13476
|
*/
|
|
12798
|
-
installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig): Promise<
|
|
13477
|
+
installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
13478
|
+
/**
|
|
13479
|
+
* List available WordPress core updates for the specified installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13480
|
+
* @summary List available WordPress core updates
|
|
13481
|
+
* @param {string} username
|
|
13482
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13483
|
+
* @param {*} [options] Override http request option.
|
|
13484
|
+
* @throws {RequiredError}
|
|
13485
|
+
*/
|
|
13486
|
+
listAvailableWordPressCoreUpdatesV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WordPressV1InstallationsUpdateResource>>>;
|
|
12799
13487
|
/**
|
|
12800
13488
|
* List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
|
|
12801
13489
|
* @summary List WordPress installations
|
|
@@ -12804,19 +13492,597 @@ export declare class WordPressInstallationsApi extends BaseAPI {
|
|
|
12804
13492
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
12805
13493
|
* @param {*} [options] Override http request option.
|
|
12806
13494
|
* @throws {RequiredError}
|
|
12807
|
-
* @memberof WordPressInstallationsApi
|
|
12808
13495
|
*/
|
|
12809
|
-
listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig): Promise<
|
|
12810
|
-
|
|
12811
|
-
|
|
12812
|
-
|
|
12813
|
-
|
|
13496
|
+
listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WordPressV1InstallationsWordPressInstallationResource>>>;
|
|
13497
|
+
/**
|
|
13498
|
+
* Show the WordPress core version for the specified installation, along with known vulnerabilities affecting it. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13499
|
+
* @summary Show WordPress core version
|
|
13500
|
+
* @param {string} username
|
|
13501
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13502
|
+
* @param {*} [options] Override http request option.
|
|
13503
|
+
* @throws {RequiredError}
|
|
13504
|
+
*/
|
|
13505
|
+
showWordPressCoreVersionV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1InstallationsVersionResource>>;
|
|
13506
|
+
/**
|
|
13507
|
+
* Update the WordPress core for the specified installation (minor update or a specific version). Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field). This operation is asynchronous: a successful response only means the update job has been queued.
|
|
13508
|
+
* @summary Update WordPress core
|
|
13509
|
+
* @param {string} username
|
|
13510
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13511
|
+
* @param {WordPressV1InstallationsUpdateInstallationRequest} wordPressV1InstallationsUpdateInstallationRequest
|
|
13512
|
+
* @param {*} [options] Override http request option.
|
|
13513
|
+
* @throws {RequiredError}
|
|
13514
|
+
*/
|
|
13515
|
+
updateWordPressCoreV1(username: string, software: string, wordPressV1InstallationsUpdateInstallationRequest: WordPressV1InstallationsUpdateInstallationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
13516
|
+
};
|
|
13517
|
+
/**
|
|
13518
|
+
* WordPressInstallationsApi - factory interface
|
|
13519
|
+
* @export
|
|
13520
|
+
*/
|
|
13521
|
+
export declare const WordPressInstallationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13522
|
+
/**
|
|
13523
|
+
* Check whether one or more WordPress installations are valid and working correctly. Detects broken installations caused by missing files, broken plugins, themes and similar issues. Provide the WordPress installation (software) identifiers in the body. They can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13524
|
+
* @summary Check if WordPress installations are valid
|
|
13525
|
+
* @param {string} username
|
|
13526
|
+
* @param {WordPressV1InstallationsCheckIsValidRequest} wordPressV1InstallationsCheckIsValidRequest
|
|
13527
|
+
* @param {*} [options] Override http request option.
|
|
13528
|
+
* @throws {RequiredError}
|
|
13529
|
+
*/
|
|
13530
|
+
checkIfWordPressInstallationsAreValidV1(username: string, wordPressV1InstallationsCheckIsValidRequest: WordPressV1InstallationsCheckIsValidRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<WordPressV1InstallationsCheckIsValidResultResource>>;
|
|
13531
|
+
/**
|
|
13532
|
+
* Delete the specified WordPress installation, with optional file and database removal. This removes all associated components including plugins, themes, staging websites and any other related data. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13533
|
+
* @summary Delete WordPress installation
|
|
13534
|
+
* @param {string} username
|
|
13535
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13536
|
+
* @param {WordPressV1InstallationsDeleteInstallationRequest} wordPressV1InstallationsDeleteInstallationRequest
|
|
13537
|
+
* @param {*} [options] Override http request option.
|
|
13538
|
+
* @throws {RequiredError}
|
|
13539
|
+
*/
|
|
13540
|
+
deleteWordPressInstallationV1(username: string, software: string, wordPressV1InstallationsDeleteInstallationRequest: WordPressV1InstallationsDeleteInstallationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
13541
|
+
/**
|
|
13542
|
+
* Trigger a background scan to detect WordPress installations for the account. This operation is asynchronous: a successful response only means the scan has been queued. Poll GET /api/hosting/v1/wordpress/installations to fetch the detected installations once the scan completes.
|
|
13543
|
+
* @summary Detect WordPress installations
|
|
13544
|
+
* @param {string} username
|
|
13545
|
+
* @param {*} [options] Override http request option.
|
|
13546
|
+
* @throws {RequiredError}
|
|
13547
|
+
*/
|
|
13548
|
+
detectWordPressInstallationsV1(username: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
13549
|
+
/**
|
|
13550
|
+
* Return a JWT token used to authenticate requests against the specified WordPress installation, including its MCP (Model Context Protocol) endpoint. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13551
|
+
* @summary Get installation JWT token
|
|
13552
|
+
* @param {string} username
|
|
13553
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13554
|
+
* @param {*} [options] Override http request option.
|
|
13555
|
+
* @throws {RequiredError}
|
|
13556
|
+
*/
|
|
13557
|
+
getInstallationJWTTokenV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1InstallationsJwtTokenResource>;
|
|
13558
|
+
/**
|
|
13559
|
+
* Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/websites and poll GET /api/hosting/v1/websites until it appears. Call GET /api/hosting/v1/wordpress/installations filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.
|
|
13560
|
+
* @summary Install WordPress
|
|
13561
|
+
* @param {string} username
|
|
13562
|
+
* @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
|
|
13563
|
+
* @param {*} [options] Override http request option.
|
|
13564
|
+
* @throws {RequiredError}
|
|
13565
|
+
*/
|
|
13566
|
+
installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
13567
|
+
/**
|
|
13568
|
+
* List available WordPress core updates for the specified installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13569
|
+
* @summary List available WordPress core updates
|
|
13570
|
+
* @param {string} username
|
|
13571
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13572
|
+
* @param {*} [options] Override http request option.
|
|
13573
|
+
* @throws {RequiredError}
|
|
13574
|
+
*/
|
|
13575
|
+
listAvailableWordPressCoreUpdatesV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<WordPressV1InstallationsUpdateResource>>;
|
|
13576
|
+
/**
|
|
13577
|
+
* List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
|
|
13578
|
+
* @summary List WordPress installations
|
|
13579
|
+
* @param {string | null} [username] Filter by specific username
|
|
13580
|
+
* @param {string | null} [domain] Filter by domain name (exact match)
|
|
13581
|
+
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
13582
|
+
* @param {*} [options] Override http request option.
|
|
13583
|
+
* @throws {RequiredError}
|
|
13584
|
+
*/
|
|
13585
|
+
listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<WordPressV1InstallationsWordPressInstallationResource>>;
|
|
13586
|
+
/**
|
|
13587
|
+
* Show the WordPress core version for the specified installation, along with known vulnerabilities affecting it. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13588
|
+
* @summary Show WordPress core version
|
|
13589
|
+
* @param {string} username
|
|
13590
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13591
|
+
* @param {*} [options] Override http request option.
|
|
13592
|
+
* @throws {RequiredError}
|
|
13593
|
+
*/
|
|
13594
|
+
showWordPressCoreVersionV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1InstallationsVersionResource>;
|
|
13595
|
+
/**
|
|
13596
|
+
* Update the WordPress core for the specified installation (minor update or a specific version). Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field). This operation is asynchronous: a successful response only means the update job has been queued.
|
|
13597
|
+
* @summary Update WordPress core
|
|
13598
|
+
* @param {string} username
|
|
13599
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13600
|
+
* @param {WordPressV1InstallationsUpdateInstallationRequest} wordPressV1InstallationsUpdateInstallationRequest
|
|
13601
|
+
* @param {*} [options] Override http request option.
|
|
13602
|
+
* @throws {RequiredError}
|
|
13603
|
+
*/
|
|
13604
|
+
updateWordPressCoreV1(username: string, software: string, wordPressV1InstallationsUpdateInstallationRequest: WordPressV1InstallationsUpdateInstallationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
13605
|
+
};
|
|
13606
|
+
/**
|
|
13607
|
+
* WordPressInstallationsApi - object-oriented interface
|
|
13608
|
+
* @export
|
|
13609
|
+
* @class WordPressInstallationsApi
|
|
13610
|
+
* @extends {BaseAPI}
|
|
13611
|
+
*/
|
|
13612
|
+
export declare class WordPressInstallationsApi extends BaseAPI {
|
|
13613
|
+
/**
|
|
13614
|
+
* Check whether one or more WordPress installations are valid and working correctly. Detects broken installations caused by missing files, broken plugins, themes and similar issues. Provide the WordPress installation (software) identifiers in the body. They can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13615
|
+
* @summary Check if WordPress installations are valid
|
|
13616
|
+
* @param {string} username
|
|
13617
|
+
* @param {WordPressV1InstallationsCheckIsValidRequest} wordPressV1InstallationsCheckIsValidRequest
|
|
13618
|
+
* @param {*} [options] Override http request option.
|
|
13619
|
+
* @throws {RequiredError}
|
|
13620
|
+
* @memberof WordPressInstallationsApi
|
|
13621
|
+
*/
|
|
13622
|
+
checkIfWordPressInstallationsAreValidV1(username: string, wordPressV1InstallationsCheckIsValidRequest: WordPressV1InstallationsCheckIsValidRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsCheckIsValidResultResource[], any, {}>>;
|
|
13623
|
+
/**
|
|
13624
|
+
* Delete the specified WordPress installation, with optional file and database removal. This removes all associated components including plugins, themes, staging websites and any other related data. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13625
|
+
* @summary Delete WordPress installation
|
|
13626
|
+
* @param {string} username
|
|
13627
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13628
|
+
* @param {WordPressV1InstallationsDeleteInstallationRequest} wordPressV1InstallationsDeleteInstallationRequest
|
|
13629
|
+
* @param {*} [options] Override http request option.
|
|
13630
|
+
* @throws {RequiredError}
|
|
13631
|
+
* @memberof WordPressInstallationsApi
|
|
13632
|
+
*/
|
|
13633
|
+
deleteWordPressInstallationV1(username: string, software: string, wordPressV1InstallationsDeleteInstallationRequest: WordPressV1InstallationsDeleteInstallationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
13634
|
+
/**
|
|
13635
|
+
* Trigger a background scan to detect WordPress installations for the account. This operation is asynchronous: a successful response only means the scan has been queued. Poll GET /api/hosting/v1/wordpress/installations to fetch the detected installations once the scan completes.
|
|
13636
|
+
* @summary Detect WordPress installations
|
|
13637
|
+
* @param {string} username
|
|
13638
|
+
* @param {*} [options] Override http request option.
|
|
13639
|
+
* @throws {RequiredError}
|
|
13640
|
+
* @memberof WordPressInstallationsApi
|
|
13641
|
+
*/
|
|
13642
|
+
detectWordPressInstallationsV1(username: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
13643
|
+
/**
|
|
13644
|
+
* Return a JWT token used to authenticate requests against the specified WordPress installation, including its MCP (Model Context Protocol) endpoint. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13645
|
+
* @summary Get installation JWT token
|
|
13646
|
+
* @param {string} username
|
|
13647
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13648
|
+
* @param {*} [options] Override http request option.
|
|
13649
|
+
* @throws {RequiredError}
|
|
13650
|
+
* @memberof WordPressInstallationsApi
|
|
13651
|
+
*/
|
|
13652
|
+
getInstallationJWTTokenV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsJwtTokenResource, any, {}>>;
|
|
13653
|
+
/**
|
|
13654
|
+
* Install WordPress on an existing website. The website must already exist before calling this endpoint. To create a new website first, use POST /api/hosting/v1/websites and poll GET /api/hosting/v1/websites until it appears. Call GET /api/hosting/v1/wordpress/installations filtered by username and domain before proceeding to check whether WordPress is already installed on the target domain/path. If WordPress already exists and `overwrite` is false (the default), the async job will fail. This operation is asynchronous: a successful response only means the install job has been queued, not that WordPress is ready. Installation typically takes 1-2 minutes. Poll GET /api/hosting/v1/wordpress/installations filtered by username and domain to track progress. When the installation appears in that list, WordPress is ready.
|
|
13655
|
+
* @summary Install WordPress
|
|
13656
|
+
* @param {string} username
|
|
13657
|
+
* @param {WordPressV1InstallationsInstallWordPressRequest} wordPressV1InstallationsInstallWordPressRequest
|
|
13658
|
+
* @param {*} [options] Override http request option.
|
|
13659
|
+
* @throws {RequiredError}
|
|
13660
|
+
* @memberof WordPressInstallationsApi
|
|
13661
|
+
*/
|
|
13662
|
+
installWordPressV1(username: string, wordPressV1InstallationsInstallWordPressRequest: WordPressV1InstallationsInstallWordPressRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
13663
|
+
/**
|
|
13664
|
+
* List available WordPress core updates for the specified installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13665
|
+
* @summary List available WordPress core updates
|
|
13666
|
+
* @param {string} username
|
|
13667
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13668
|
+
* @param {*} [options] Override http request option.
|
|
13669
|
+
* @throws {RequiredError}
|
|
13670
|
+
* @memberof WordPressInstallationsApi
|
|
13671
|
+
*/
|
|
13672
|
+
listAvailableWordPressCoreUpdatesV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsUpdateResource[], any, {}>>;
|
|
13673
|
+
/**
|
|
13674
|
+
* List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
|
|
13675
|
+
* @summary List WordPress installations
|
|
13676
|
+
* @param {string | null} [username] Filter by specific username
|
|
13677
|
+
* @param {string | null} [domain] Filter by domain name (exact match)
|
|
13678
|
+
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
13679
|
+
* @param {*} [options] Override http request option.
|
|
13680
|
+
* @throws {RequiredError}
|
|
13681
|
+
* @memberof WordPressInstallationsApi
|
|
13682
|
+
*/
|
|
13683
|
+
listWordPressInstallationsV1(username?: string | null, domain?: string | null, ownership?: ListWordPressInstallationsV1OwnershipEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsWordPressInstallationResource[], any, {}>>;
|
|
13684
|
+
/**
|
|
13685
|
+
* Show the WordPress core version for the specified installation, along with known vulnerabilities affecting it. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13686
|
+
* @summary Show WordPress core version
|
|
13687
|
+
* @param {string} username
|
|
13688
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13689
|
+
* @param {*} [options] Override http request option.
|
|
13690
|
+
* @throws {RequiredError}
|
|
13691
|
+
* @memberof WordPressInstallationsApi
|
|
13692
|
+
*/
|
|
13693
|
+
showWordPressCoreVersionV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1InstallationsVersionResource, any, {}>>;
|
|
13694
|
+
/**
|
|
13695
|
+
* Update the WordPress core for the specified installation (minor update or a specific version). Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field). This operation is asynchronous: a successful response only means the update job has been queued.
|
|
13696
|
+
* @summary Update WordPress core
|
|
13697
|
+
* @param {string} username
|
|
13698
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13699
|
+
* @param {WordPressV1InstallationsUpdateInstallationRequest} wordPressV1InstallationsUpdateInstallationRequest
|
|
13700
|
+
* @param {*} [options] Override http request option.
|
|
13701
|
+
* @throws {RequiredError}
|
|
13702
|
+
* @memberof WordPressInstallationsApi
|
|
13703
|
+
*/
|
|
13704
|
+
updateWordPressCoreV1(username: string, software: string, wordPressV1InstallationsUpdateInstallationRequest: WordPressV1InstallationsUpdateInstallationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
13705
|
+
}
|
|
13706
|
+
/**
|
|
13707
|
+
* @export
|
|
13708
|
+
*/
|
|
12814
13709
|
export declare const ListWordPressInstallationsV1OwnershipEnum: {
|
|
12815
13710
|
readonly Owned: "owned";
|
|
12816
13711
|
readonly Managed: "managed";
|
|
12817
13712
|
readonly All: "all";
|
|
12818
13713
|
};
|
|
12819
13714
|
export type ListWordPressInstallationsV1OwnershipEnum = typeof ListWordPressInstallationsV1OwnershipEnum[keyof typeof ListWordPressInstallationsV1OwnershipEnum];
|
|
13715
|
+
/**
|
|
13716
|
+
* WordPressLiteSpeedCacheApi - axios parameter creator
|
|
13717
|
+
* @export
|
|
13718
|
+
*/
|
|
13719
|
+
export declare const WordPressLiteSpeedCacheApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13720
|
+
/**
|
|
13721
|
+
* Purge the LiteSpeed Cache for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13722
|
+
* @summary Purge LiteSpeed Cache
|
|
13723
|
+
* @param {string} username
|
|
13724
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13725
|
+
* @param {*} [options] Override http request option.
|
|
13726
|
+
* @throws {RequiredError}
|
|
13727
|
+
*/
|
|
13728
|
+
purgeLiteSpeedCacheV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13729
|
+
/**
|
|
13730
|
+
* Show the LiteSpeed Cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13731
|
+
* @summary Show LiteSpeed Cache status
|
|
13732
|
+
* @param {string} username
|
|
13733
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13734
|
+
* @param {*} [options] Override http request option.
|
|
13735
|
+
* @throws {RequiredError}
|
|
13736
|
+
*/
|
|
13737
|
+
showLiteSpeedCacheStatusV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13738
|
+
};
|
|
13739
|
+
/**
|
|
13740
|
+
* WordPressLiteSpeedCacheApi - functional programming interface
|
|
13741
|
+
* @export
|
|
13742
|
+
*/
|
|
13743
|
+
export declare const WordPressLiteSpeedCacheApiFp: (configuration?: Configuration) => {
|
|
13744
|
+
/**
|
|
13745
|
+
* Purge the LiteSpeed Cache for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13746
|
+
* @summary Purge LiteSpeed Cache
|
|
13747
|
+
* @param {string} username
|
|
13748
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13749
|
+
* @param {*} [options] Override http request option.
|
|
13750
|
+
* @throws {RequiredError}
|
|
13751
|
+
*/
|
|
13752
|
+
purgeLiteSpeedCacheV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
13753
|
+
/**
|
|
13754
|
+
* Show the LiteSpeed Cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13755
|
+
* @summary Show LiteSpeed Cache status
|
|
13756
|
+
* @param {string} username
|
|
13757
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13758
|
+
* @param {*} [options] Override http request option.
|
|
13759
|
+
* @throws {RequiredError}
|
|
13760
|
+
*/
|
|
13761
|
+
showLiteSpeedCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1LitespeedLitespeedCacheStatusResource>>;
|
|
13762
|
+
};
|
|
13763
|
+
/**
|
|
13764
|
+
* WordPressLiteSpeedCacheApi - factory interface
|
|
13765
|
+
* @export
|
|
13766
|
+
*/
|
|
13767
|
+
export declare const WordPressLiteSpeedCacheApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13768
|
+
/**
|
|
13769
|
+
* Purge the LiteSpeed Cache for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13770
|
+
* @summary Purge LiteSpeed Cache
|
|
13771
|
+
* @param {string} username
|
|
13772
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13773
|
+
* @param {*} [options] Override http request option.
|
|
13774
|
+
* @throws {RequiredError}
|
|
13775
|
+
*/
|
|
13776
|
+
purgeLiteSpeedCacheV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
13777
|
+
/**
|
|
13778
|
+
* Show the LiteSpeed Cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13779
|
+
* @summary Show LiteSpeed Cache status
|
|
13780
|
+
* @param {string} username
|
|
13781
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13782
|
+
* @param {*} [options] Override http request option.
|
|
13783
|
+
* @throws {RequiredError}
|
|
13784
|
+
*/
|
|
13785
|
+
showLiteSpeedCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1LitespeedLitespeedCacheStatusResource>;
|
|
13786
|
+
};
|
|
13787
|
+
/**
|
|
13788
|
+
* WordPressLiteSpeedCacheApi - object-oriented interface
|
|
13789
|
+
* @export
|
|
13790
|
+
* @class WordPressLiteSpeedCacheApi
|
|
13791
|
+
* @extends {BaseAPI}
|
|
13792
|
+
*/
|
|
13793
|
+
export declare class WordPressLiteSpeedCacheApi extends BaseAPI {
|
|
13794
|
+
/**
|
|
13795
|
+
* Purge the LiteSpeed Cache for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13796
|
+
* @summary Purge LiteSpeed Cache
|
|
13797
|
+
* @param {string} username
|
|
13798
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13799
|
+
* @param {*} [options] Override http request option.
|
|
13800
|
+
* @throws {RequiredError}
|
|
13801
|
+
* @memberof WordPressLiteSpeedCacheApi
|
|
13802
|
+
*/
|
|
13803
|
+
purgeLiteSpeedCacheV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
13804
|
+
/**
|
|
13805
|
+
* Show the LiteSpeed Cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13806
|
+
* @summary Show LiteSpeed Cache status
|
|
13807
|
+
* @param {string} username
|
|
13808
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13809
|
+
* @param {*} [options] Override http request option.
|
|
13810
|
+
* @throws {RequiredError}
|
|
13811
|
+
* @memberof WordPressLiteSpeedCacheApi
|
|
13812
|
+
*/
|
|
13813
|
+
showLiteSpeedCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1LitespeedLitespeedCacheStatusResource, any, {}>>;
|
|
13814
|
+
}
|
|
13815
|
+
/**
|
|
13816
|
+
* WordPressLoginApi - axios parameter creator
|
|
13817
|
+
* @export
|
|
13818
|
+
*/
|
|
13819
|
+
export declare const WordPressLoginApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13820
|
+
/**
|
|
13821
|
+
* Create temporary auto-login links for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13822
|
+
* @summary Create login links
|
|
13823
|
+
* @param {string} username
|
|
13824
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13825
|
+
* @param {*} [options] Override http request option.
|
|
13826
|
+
* @throws {RequiredError}
|
|
13827
|
+
*/
|
|
13828
|
+
createLoginLinksV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13829
|
+
};
|
|
13830
|
+
/**
|
|
13831
|
+
* WordPressLoginApi - functional programming interface
|
|
13832
|
+
* @export
|
|
13833
|
+
*/
|
|
13834
|
+
export declare const WordPressLoginApiFp: (configuration?: Configuration) => {
|
|
13835
|
+
/**
|
|
13836
|
+
* Create temporary auto-login links for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13837
|
+
* @summary Create login links
|
|
13838
|
+
* @param {string} username
|
|
13839
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13840
|
+
* @param {*} [options] Override http request option.
|
|
13841
|
+
* @throws {RequiredError}
|
|
13842
|
+
*/
|
|
13843
|
+
createLoginLinksV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1LoginLoginLinksResource>>;
|
|
13844
|
+
};
|
|
13845
|
+
/**
|
|
13846
|
+
* WordPressLoginApi - factory interface
|
|
13847
|
+
* @export
|
|
13848
|
+
*/
|
|
13849
|
+
export declare const WordPressLoginApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13850
|
+
/**
|
|
13851
|
+
* Create temporary auto-login links for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13852
|
+
* @summary Create login links
|
|
13853
|
+
* @param {string} username
|
|
13854
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13855
|
+
* @param {*} [options] Override http request option.
|
|
13856
|
+
* @throws {RequiredError}
|
|
13857
|
+
*/
|
|
13858
|
+
createLoginLinksV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1LoginLoginLinksResource>;
|
|
13859
|
+
};
|
|
13860
|
+
/**
|
|
13861
|
+
* WordPressLoginApi - object-oriented interface
|
|
13862
|
+
* @export
|
|
13863
|
+
* @class WordPressLoginApi
|
|
13864
|
+
* @extends {BaseAPI}
|
|
13865
|
+
*/
|
|
13866
|
+
export declare class WordPressLoginApi extends BaseAPI {
|
|
13867
|
+
/**
|
|
13868
|
+
* Create temporary auto-login links for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13869
|
+
* @summary Create login links
|
|
13870
|
+
* @param {string} username
|
|
13871
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13872
|
+
* @param {*} [options] Override http request option.
|
|
13873
|
+
* @throws {RequiredError}
|
|
13874
|
+
* @memberof WordPressLoginApi
|
|
13875
|
+
*/
|
|
13876
|
+
createLoginLinksV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1LoginLoginLinksResource, any, {}>>;
|
|
13877
|
+
}
|
|
13878
|
+
/**
|
|
13879
|
+
* WordPressMaintenanceApi - axios parameter creator
|
|
13880
|
+
* @export
|
|
13881
|
+
*/
|
|
13882
|
+
export declare const WordPressMaintenanceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13883
|
+
/**
|
|
13884
|
+
* Show the maintenance mode status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13885
|
+
* @summary Show maintenance status
|
|
13886
|
+
* @param {string} username
|
|
13887
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13888
|
+
* @param {*} [options] Override http request option.
|
|
13889
|
+
* @throws {RequiredError}
|
|
13890
|
+
*/
|
|
13891
|
+
showMaintenanceStatusV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13892
|
+
/**
|
|
13893
|
+
* Enable or disable maintenance mode for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13894
|
+
* @summary Toggle maintenance mode
|
|
13895
|
+
* @param {string} username
|
|
13896
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13897
|
+
* @param {WordPressV1MaintenanceToggleMaintenanceRequest} wordPressV1MaintenanceToggleMaintenanceRequest
|
|
13898
|
+
* @param {*} [options] Override http request option.
|
|
13899
|
+
* @throws {RequiredError}
|
|
13900
|
+
*/
|
|
13901
|
+
toggleMaintenanceModeV1: (username: string, software: string, wordPressV1MaintenanceToggleMaintenanceRequest: WordPressV1MaintenanceToggleMaintenanceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13902
|
+
};
|
|
13903
|
+
/**
|
|
13904
|
+
* WordPressMaintenanceApi - functional programming interface
|
|
13905
|
+
* @export
|
|
13906
|
+
*/
|
|
13907
|
+
export declare const WordPressMaintenanceApiFp: (configuration?: Configuration) => {
|
|
13908
|
+
/**
|
|
13909
|
+
* Show the maintenance mode status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13910
|
+
* @summary Show maintenance status
|
|
13911
|
+
* @param {string} username
|
|
13912
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13913
|
+
* @param {*} [options] Override http request option.
|
|
13914
|
+
* @throws {RequiredError}
|
|
13915
|
+
*/
|
|
13916
|
+
showMaintenanceStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1MaintenanceMaintenanceStatusResource>>;
|
|
13917
|
+
/**
|
|
13918
|
+
* Enable or disable maintenance mode for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13919
|
+
* @summary Toggle maintenance mode
|
|
13920
|
+
* @param {string} username
|
|
13921
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13922
|
+
* @param {WordPressV1MaintenanceToggleMaintenanceRequest} wordPressV1MaintenanceToggleMaintenanceRequest
|
|
13923
|
+
* @param {*} [options] Override http request option.
|
|
13924
|
+
* @throws {RequiredError}
|
|
13925
|
+
*/
|
|
13926
|
+
toggleMaintenanceModeV1(username: string, software: string, wordPressV1MaintenanceToggleMaintenanceRequest: WordPressV1MaintenanceToggleMaintenanceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
13927
|
+
};
|
|
13928
|
+
/**
|
|
13929
|
+
* WordPressMaintenanceApi - factory interface
|
|
13930
|
+
* @export
|
|
13931
|
+
*/
|
|
13932
|
+
export declare const WordPressMaintenanceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13933
|
+
/**
|
|
13934
|
+
* Show the maintenance mode status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13935
|
+
* @summary Show maintenance status
|
|
13936
|
+
* @param {string} username
|
|
13937
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13938
|
+
* @param {*} [options] Override http request option.
|
|
13939
|
+
* @throws {RequiredError}
|
|
13940
|
+
*/
|
|
13941
|
+
showMaintenanceStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1MaintenanceMaintenanceStatusResource>;
|
|
13942
|
+
/**
|
|
13943
|
+
* Enable or disable maintenance mode for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13944
|
+
* @summary Toggle maintenance mode
|
|
13945
|
+
* @param {string} username
|
|
13946
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13947
|
+
* @param {WordPressV1MaintenanceToggleMaintenanceRequest} wordPressV1MaintenanceToggleMaintenanceRequest
|
|
13948
|
+
* @param {*} [options] Override http request option.
|
|
13949
|
+
* @throws {RequiredError}
|
|
13950
|
+
*/
|
|
13951
|
+
toggleMaintenanceModeV1(username: string, software: string, wordPressV1MaintenanceToggleMaintenanceRequest: WordPressV1MaintenanceToggleMaintenanceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
13952
|
+
};
|
|
13953
|
+
/**
|
|
13954
|
+
* WordPressMaintenanceApi - object-oriented interface
|
|
13955
|
+
* @export
|
|
13956
|
+
* @class WordPressMaintenanceApi
|
|
13957
|
+
* @extends {BaseAPI}
|
|
13958
|
+
*/
|
|
13959
|
+
export declare class WordPressMaintenanceApi extends BaseAPI {
|
|
13960
|
+
/**
|
|
13961
|
+
* Show the maintenance mode status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13962
|
+
* @summary Show maintenance status
|
|
13963
|
+
* @param {string} username
|
|
13964
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13965
|
+
* @param {*} [options] Override http request option.
|
|
13966
|
+
* @throws {RequiredError}
|
|
13967
|
+
* @memberof WordPressMaintenanceApi
|
|
13968
|
+
*/
|
|
13969
|
+
showMaintenanceStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1MaintenanceMaintenanceStatusResource, any, {}>>;
|
|
13970
|
+
/**
|
|
13971
|
+
* Enable or disable maintenance mode for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13972
|
+
* @summary Toggle maintenance mode
|
|
13973
|
+
* @param {string} username
|
|
13974
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13975
|
+
* @param {WordPressV1MaintenanceToggleMaintenanceRequest} wordPressV1MaintenanceToggleMaintenanceRequest
|
|
13976
|
+
* @param {*} [options] Override http request option.
|
|
13977
|
+
* @throws {RequiredError}
|
|
13978
|
+
* @memberof WordPressMaintenanceApi
|
|
13979
|
+
*/
|
|
13980
|
+
toggleMaintenanceModeV1(username: string, software: string, wordPressV1MaintenanceToggleMaintenanceRequest: WordPressV1MaintenanceToggleMaintenanceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
13981
|
+
}
|
|
13982
|
+
/**
|
|
13983
|
+
* WordPressObjectCacheApi - axios parameter creator
|
|
13984
|
+
* @export
|
|
13985
|
+
*/
|
|
13986
|
+
export declare const WordPressObjectCacheApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13987
|
+
/**
|
|
13988
|
+
* Show the Memcached object cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13989
|
+
* @summary Show Memcached object cache status
|
|
13990
|
+
* @param {string} username
|
|
13991
|
+
* @param {string} software WordPress installation (software) identifier
|
|
13992
|
+
* @param {*} [options] Override http request option.
|
|
13993
|
+
* @throws {RequiredError}
|
|
13994
|
+
*/
|
|
13995
|
+
showMemcachedObjectCacheStatusV1: (username: string, software: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13996
|
+
/**
|
|
13997
|
+
* Activate or deactivate the Memcached object cache for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
13998
|
+
* @summary Toggle Memcached object cache
|
|
13999
|
+
* @param {string} username
|
|
14000
|
+
* @param {string} software WordPress installation (software) identifier
|
|
14001
|
+
* @param {WordPressV1MemcachedToggleMemcachedRequest} wordPressV1MemcachedToggleMemcachedRequest
|
|
14002
|
+
* @param {*} [options] Override http request option.
|
|
14003
|
+
* @throws {RequiredError}
|
|
14004
|
+
*/
|
|
14005
|
+
toggleMemcachedObjectCacheV1: (username: string, software: string, wordPressV1MemcachedToggleMemcachedRequest: WordPressV1MemcachedToggleMemcachedRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14006
|
+
};
|
|
14007
|
+
/**
|
|
14008
|
+
* WordPressObjectCacheApi - functional programming interface
|
|
14009
|
+
* @export
|
|
14010
|
+
*/
|
|
14011
|
+
export declare const WordPressObjectCacheApiFp: (configuration?: Configuration) => {
|
|
14012
|
+
/**
|
|
14013
|
+
* Show the Memcached object cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
14014
|
+
* @summary Show Memcached object cache status
|
|
14015
|
+
* @param {string} username
|
|
14016
|
+
* @param {string} software WordPress installation (software) identifier
|
|
14017
|
+
* @param {*} [options] Override http request option.
|
|
14018
|
+
* @throws {RequiredError}
|
|
14019
|
+
*/
|
|
14020
|
+
showMemcachedObjectCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WordPressV1MemcachedMemcachedStatusResource>>;
|
|
14021
|
+
/**
|
|
14022
|
+
* Activate or deactivate the Memcached object cache for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
14023
|
+
* @summary Toggle Memcached object cache
|
|
14024
|
+
* @param {string} username
|
|
14025
|
+
* @param {string} software WordPress installation (software) identifier
|
|
14026
|
+
* @param {WordPressV1MemcachedToggleMemcachedRequest} wordPressV1MemcachedToggleMemcachedRequest
|
|
14027
|
+
* @param {*} [options] Override http request option.
|
|
14028
|
+
* @throws {RequiredError}
|
|
14029
|
+
*/
|
|
14030
|
+
toggleMemcachedObjectCacheV1(username: string, software: string, wordPressV1MemcachedToggleMemcachedRequest: WordPressV1MemcachedToggleMemcachedRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
14031
|
+
};
|
|
14032
|
+
/**
|
|
14033
|
+
* WordPressObjectCacheApi - factory interface
|
|
14034
|
+
* @export
|
|
14035
|
+
*/
|
|
14036
|
+
export declare const WordPressObjectCacheApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
14037
|
+
/**
|
|
14038
|
+
* Show the Memcached object cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
14039
|
+
* @summary Show Memcached object cache status
|
|
14040
|
+
* @param {string} username
|
|
14041
|
+
* @param {string} software WordPress installation (software) identifier
|
|
14042
|
+
* @param {*} [options] Override http request option.
|
|
14043
|
+
* @throws {RequiredError}
|
|
14044
|
+
*/
|
|
14045
|
+
showMemcachedObjectCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): AxiosPromise<WordPressV1MemcachedMemcachedStatusResource>;
|
|
14046
|
+
/**
|
|
14047
|
+
* Activate or deactivate the Memcached object cache for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
14048
|
+
* @summary Toggle Memcached object cache
|
|
14049
|
+
* @param {string} username
|
|
14050
|
+
* @param {string} software WordPress installation (software) identifier
|
|
14051
|
+
* @param {WordPressV1MemcachedToggleMemcachedRequest} wordPressV1MemcachedToggleMemcachedRequest
|
|
14052
|
+
* @param {*} [options] Override http request option.
|
|
14053
|
+
* @throws {RequiredError}
|
|
14054
|
+
*/
|
|
14055
|
+
toggleMemcachedObjectCacheV1(username: string, software: string, wordPressV1MemcachedToggleMemcachedRequest: WordPressV1MemcachedToggleMemcachedRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
14056
|
+
};
|
|
14057
|
+
/**
|
|
14058
|
+
* WordPressObjectCacheApi - object-oriented interface
|
|
14059
|
+
* @export
|
|
14060
|
+
* @class WordPressObjectCacheApi
|
|
14061
|
+
* @extends {BaseAPI}
|
|
14062
|
+
*/
|
|
14063
|
+
export declare class WordPressObjectCacheApi extends BaseAPI {
|
|
14064
|
+
/**
|
|
14065
|
+
* Show the Memcached object cache status for the specified WordPress installation. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
14066
|
+
* @summary Show Memcached object cache status
|
|
14067
|
+
* @param {string} username
|
|
14068
|
+
* @param {string} software WordPress installation (software) identifier
|
|
14069
|
+
* @param {*} [options] Override http request option.
|
|
14070
|
+
* @throws {RequiredError}
|
|
14071
|
+
* @memberof WordPressObjectCacheApi
|
|
14072
|
+
*/
|
|
14073
|
+
showMemcachedObjectCacheStatusV1(username: string, software: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WordPressV1MemcachedMemcachedStatusResource, any, {}>>;
|
|
14074
|
+
/**
|
|
14075
|
+
* Activate or deactivate the Memcached object cache for the specified WordPress installation, based on the `enabled` flag. Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
|
|
14076
|
+
* @summary Toggle Memcached object cache
|
|
14077
|
+
* @param {string} username
|
|
14078
|
+
* @param {string} software WordPress installation (software) identifier
|
|
14079
|
+
* @param {WordPressV1MemcachedToggleMemcachedRequest} wordPressV1MemcachedToggleMemcachedRequest
|
|
14080
|
+
* @param {*} [options] Override http request option.
|
|
14081
|
+
* @throws {RequiredError}
|
|
14082
|
+
* @memberof WordPressObjectCacheApi
|
|
14083
|
+
*/
|
|
14084
|
+
toggleMemcachedObjectCacheV1(username: string, software: string, wordPressV1MemcachedToggleMemcachedRequest: WordPressV1MemcachedToggleMemcachedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
14085
|
+
}
|
|
12820
14086
|
/**
|
|
12821
14087
|
* WordPressPluginsApi - axios parameter creator
|
|
12822
14088
|
* @export
|