@newfold/huapi-js 2.2018.0 → 2.2028.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/package.json +1 -1
- package/src/index.d.ts +383 -2
- package/src/index.js +303 -3
- package/src/index.msw.d.ts +25 -1
- package/src/index.msw.js +149 -5
- package/src/index.schemas.d.ts +978 -359
- package/src/index.schemas.js +12 -0
package/src/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Hosting UAPI
|
|
5
5
|
* Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.2028.0
|
|
7
7
|
*/
|
|
8
8
|
import { useInfiniteQuery, useMutation, useQuery } from '@tanstack/react-query';
|
|
9
9
|
import axios from 'axios';
|
|
@@ -205,6 +205,32 @@ export const useAccountPublicKeyDelete = (options) => {
|
|
|
205
205
|
const mutationOptions = getAccountPublicKeyDeleteMutationOptions(options);
|
|
206
206
|
return useMutation(mutationOptions);
|
|
207
207
|
};
|
|
208
|
+
/**
|
|
209
|
+
* Returns a tenant (billing account) addon list
|
|
210
|
+
* @summary List of addons under a tenant
|
|
211
|
+
*/
|
|
212
|
+
export const accountAddonList = (accountId, params, options) => {
|
|
213
|
+
return axios.get(`/v1/account/${accountId}/addons`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
|
|
214
|
+
};
|
|
215
|
+
export const getAccountAddonListQueryKey = (accountId, params) => {
|
|
216
|
+
return [`/v1/account/${accountId}/addons`, ...(params ? [params] : [])];
|
|
217
|
+
};
|
|
218
|
+
export const getAccountAddonListQueryOptions = (accountId, params, options) => {
|
|
219
|
+
var _a;
|
|
220
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
221
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getAccountAddonListQueryKey(accountId, params);
|
|
222
|
+
const queryFn = ({ signal }) => accountAddonList(accountId, params, Object.assign({ signal }, axiosOptions));
|
|
223
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(accountId) }, queryOptions);
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* @summary List of addons under a tenant
|
|
227
|
+
*/
|
|
228
|
+
export function useAccountAddonList(accountId, params, options) {
|
|
229
|
+
const queryOptions = getAccountAddonListQueryOptions(accountId, params, options);
|
|
230
|
+
const query = useQuery(queryOptions);
|
|
231
|
+
query.queryKey = queryOptions.queryKey;
|
|
232
|
+
return query;
|
|
233
|
+
}
|
|
208
234
|
/**
|
|
209
235
|
* Returns a combined backup list with website commit ids and corresponding database commits
|
|
210
236
|
* @summary backup list
|
|
@@ -1087,6 +1113,102 @@ export const useAddonsJetpackValidate = (options) => {
|
|
|
1087
1113
|
const mutationOptions = getAddonsJetpackValidateMutationOptions(options);
|
|
1088
1114
|
return useMutation(mutationOptions);
|
|
1089
1115
|
};
|
|
1116
|
+
/**
|
|
1117
|
+
* Returns the credits balance of an llm addon
|
|
1118
|
+
* @summary Get the credits balance of llm addon
|
|
1119
|
+
*/
|
|
1120
|
+
export const addonsLlmBalance = (addonId, options) => {
|
|
1121
|
+
return axios.get(`/v1/addons/${addonId}/llm/balance`, options);
|
|
1122
|
+
};
|
|
1123
|
+
export const getAddonsLlmBalanceQueryKey = (addonId) => {
|
|
1124
|
+
return [`/v1/addons/${addonId}/llm/balance`];
|
|
1125
|
+
};
|
|
1126
|
+
export const getAddonsLlmBalanceQueryOptions = (addonId, options) => {
|
|
1127
|
+
var _a;
|
|
1128
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
1129
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getAddonsLlmBalanceQueryKey(addonId);
|
|
1130
|
+
const queryFn = ({ signal }) => addonsLlmBalance(addonId, Object.assign({ signal }, axiosOptions));
|
|
1131
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(addonId) }, queryOptions);
|
|
1132
|
+
};
|
|
1133
|
+
/**
|
|
1134
|
+
* @summary Get the credits balance of llm addon
|
|
1135
|
+
*/
|
|
1136
|
+
export function useAddonsLlmBalance(addonId, options) {
|
|
1137
|
+
const queryOptions = getAddonsLlmBalanceQueryOptions(addonId, options);
|
|
1138
|
+
const query = useQuery(queryOptions);
|
|
1139
|
+
query.queryKey = queryOptions.queryKey;
|
|
1140
|
+
return query;
|
|
1141
|
+
}
|
|
1142
|
+
/**
|
|
1143
|
+
* Returns a list of llm keys
|
|
1144
|
+
* @summary List of keys for an llm addon
|
|
1145
|
+
*/
|
|
1146
|
+
export const addonsLlmKeys = (addonId, params, options) => {
|
|
1147
|
+
return axios.get(`/v1/addons/${addonId}/llm/keys`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
|
|
1148
|
+
};
|
|
1149
|
+
export const getAddonsLlmKeysQueryKey = (addonId, params) => {
|
|
1150
|
+
return [`/v1/addons/${addonId}/llm/keys`, ...(params ? [params] : [])];
|
|
1151
|
+
};
|
|
1152
|
+
export const getAddonsLlmKeysQueryOptions = (addonId, params, options) => {
|
|
1153
|
+
var _a;
|
|
1154
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
1155
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getAddonsLlmKeysQueryKey(addonId, params);
|
|
1156
|
+
const queryFn = ({ signal }) => addonsLlmKeys(addonId, params, Object.assign({ signal }, axiosOptions));
|
|
1157
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(addonId) }, queryOptions);
|
|
1158
|
+
};
|
|
1159
|
+
/**
|
|
1160
|
+
* @summary List of keys for an llm addon
|
|
1161
|
+
*/
|
|
1162
|
+
export function useAddonsLlmKeys(addonId, params, options) {
|
|
1163
|
+
const queryOptions = getAddonsLlmKeysQueryOptions(addonId, params, options);
|
|
1164
|
+
const query = useQuery(queryOptions);
|
|
1165
|
+
query.queryKey = queryOptions.queryKey;
|
|
1166
|
+
return query;
|
|
1167
|
+
}
|
|
1168
|
+
/**
|
|
1169
|
+
* Add an llm key
|
|
1170
|
+
* @summary Add a key to an llm addon
|
|
1171
|
+
*/
|
|
1172
|
+
export const addonsLlmKeysCreate = (addonId, addonsLlmKeysCreateBody, options) => {
|
|
1173
|
+
return axios.post(`/v1/addons/${addonId}/llm/keys`, addonsLlmKeysCreateBody, options);
|
|
1174
|
+
};
|
|
1175
|
+
export const getAddonsLlmKeysCreateMutationOptions = (options) => {
|
|
1176
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
1177
|
+
const mutationFn = (props) => {
|
|
1178
|
+
const { addonId, data } = props !== null && props !== void 0 ? props : {};
|
|
1179
|
+
return addonsLlmKeysCreate(addonId, data, axiosOptions);
|
|
1180
|
+
};
|
|
1181
|
+
return Object.assign({ mutationFn }, mutationOptions);
|
|
1182
|
+
};
|
|
1183
|
+
/**
|
|
1184
|
+
* @summary Add a key to an llm addon
|
|
1185
|
+
*/
|
|
1186
|
+
export const useAddonsLlmKeysCreate = (options) => {
|
|
1187
|
+
const mutationOptions = getAddonsLlmKeysCreateMutationOptions(options);
|
|
1188
|
+
return useMutation(mutationOptions);
|
|
1189
|
+
};
|
|
1190
|
+
/**
|
|
1191
|
+
* Delete an llm key
|
|
1192
|
+
* @summary Delete a key from an llm addon
|
|
1193
|
+
*/
|
|
1194
|
+
export const addonsLlmKeysDelete = (addonId, addonsLlmKeysDeleteBody, options) => {
|
|
1195
|
+
return axios.delete(`/v1/addons/${addonId}/llm/keys`, Object.assign({ data: addonsLlmKeysDeleteBody }, options));
|
|
1196
|
+
};
|
|
1197
|
+
export const getAddonsLlmKeysDeleteMutationOptions = (options) => {
|
|
1198
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
1199
|
+
const mutationFn = (props) => {
|
|
1200
|
+
const { addonId, data } = props !== null && props !== void 0 ? props : {};
|
|
1201
|
+
return addonsLlmKeysDelete(addonId, data, axiosOptions);
|
|
1202
|
+
};
|
|
1203
|
+
return Object.assign({ mutationFn }, mutationOptions);
|
|
1204
|
+
};
|
|
1205
|
+
/**
|
|
1206
|
+
* @summary Delete a key from an llm addon
|
|
1207
|
+
*/
|
|
1208
|
+
export const useAddonsLlmKeysDelete = (options) => {
|
|
1209
|
+
const mutationOptions = getAddonsLlmKeysDeleteMutationOptions(options);
|
|
1210
|
+
return useMutation(mutationOptions);
|
|
1211
|
+
};
|
|
1090
1212
|
/**
|
|
1091
1213
|
* Generates the Monarx seal HTML snippet and registration ID for the specified domain.
|
|
1092
1214
|
* @summary Monarx seal generation
|
|
@@ -4946,7 +5068,7 @@ export function useHostingVisitors(hostingId, params, options) {
|
|
|
4946
5068
|
}
|
|
4947
5069
|
/**
|
|
4948
5070
|
* Returns a list of images available for public use.
|
|
4949
|
-
* @summary
|
|
5071
|
+
* @summary Public OS image list
|
|
4950
5072
|
*/
|
|
4951
5073
|
export const publicImages = (params, options) => {
|
|
4952
5074
|
return axios.get(`/v1/public/images`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
|
|
@@ -4962,7 +5084,7 @@ export const getPublicImagesQueryOptions = (params, options) => {
|
|
|
4962
5084
|
return Object.assign({ queryKey, queryFn }, queryOptions);
|
|
4963
5085
|
};
|
|
4964
5086
|
/**
|
|
4965
|
-
* @summary
|
|
5087
|
+
* @summary Public OS image list
|
|
4966
5088
|
*/
|
|
4967
5089
|
export function usePublicImages(params, options) {
|
|
4968
5090
|
const queryOptions = getPublicImagesQueryOptions(params, options);
|
|
@@ -4996,6 +5118,80 @@ export function usePublicRegions(options) {
|
|
|
4996
5118
|
query.queryKey = queryOptions.queryKey;
|
|
4997
5119
|
return query;
|
|
4998
5120
|
}
|
|
5121
|
+
/**
|
|
5122
|
+
* Returns hosting VPS SKU catalog entries with live account-specific prices (including tax when a billing address is on file). Returns 502 purchasePricingFailed when live pricing is unavailable.
|
|
5123
|
+
* @summary List purchasable hosting products
|
|
5124
|
+
*/
|
|
5125
|
+
export const accountPurchaseProducts = (billingAccountId, options) => {
|
|
5126
|
+
return axios.get(`/v1/purchase/accounts/${billingAccountId}/hosting`, options);
|
|
5127
|
+
};
|
|
5128
|
+
export const getAccountPurchaseProductsQueryKey = (billingAccountId) => {
|
|
5129
|
+
return [`/v1/purchase/accounts/${billingAccountId}/hosting`];
|
|
5130
|
+
};
|
|
5131
|
+
export const getAccountPurchaseProductsQueryOptions = (billingAccountId, options) => {
|
|
5132
|
+
var _a;
|
|
5133
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
5134
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getAccountPurchaseProductsQueryKey(billingAccountId);
|
|
5135
|
+
const queryFn = ({ signal }) => accountPurchaseProducts(billingAccountId, Object.assign({ signal }, axiosOptions));
|
|
5136
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(billingAccountId) }, queryOptions);
|
|
5137
|
+
};
|
|
5138
|
+
/**
|
|
5139
|
+
* @summary List purchasable hosting products
|
|
5140
|
+
*/
|
|
5141
|
+
export function useAccountPurchaseProducts(billingAccountId, options) {
|
|
5142
|
+
const queryOptions = getAccountPurchaseProductsQueryOptions(billingAccountId, options);
|
|
5143
|
+
const query = useQuery(queryOptions);
|
|
5144
|
+
query.queryKey = queryOptions.queryKey;
|
|
5145
|
+
return query;
|
|
5146
|
+
}
|
|
5147
|
+
/**
|
|
5148
|
+
* Submits a hosting VPS purchase order and returns order metadata.
|
|
5149
|
+
* @summary Submit a hosting VPS purchase order
|
|
5150
|
+
*/
|
|
5151
|
+
export const accountPurchaseHosting = (billingAccountId, accountPurchaseHostingBody, options) => {
|
|
5152
|
+
return axios.post(`/v1/purchase/accounts/${billingAccountId}/hosting`, accountPurchaseHostingBody, options);
|
|
5153
|
+
};
|
|
5154
|
+
export const getAccountPurchaseHostingMutationOptions = (options) => {
|
|
5155
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
5156
|
+
const mutationFn = (props) => {
|
|
5157
|
+
const { billingAccountId, data } = props !== null && props !== void 0 ? props : {};
|
|
5158
|
+
return accountPurchaseHosting(billingAccountId, data, axiosOptions);
|
|
5159
|
+
};
|
|
5160
|
+
return Object.assign({ mutationFn }, mutationOptions);
|
|
5161
|
+
};
|
|
5162
|
+
/**
|
|
5163
|
+
* @summary Submit a hosting VPS purchase order
|
|
5164
|
+
*/
|
|
5165
|
+
export const useAccountPurchaseHosting = (options) => {
|
|
5166
|
+
const mutationOptions = getAccountPurchaseHostingMutationOptions(options);
|
|
5167
|
+
return useMutation(mutationOptions);
|
|
5168
|
+
};
|
|
5169
|
+
/**
|
|
5170
|
+
* Polls FG order fulfillment and hosting provisioning status for a submitted hosting VPS purchase order.
|
|
5171
|
+
* @summary Get hosting purchase order status by order id
|
|
5172
|
+
*/
|
|
5173
|
+
export const accountPurchaseOrder = (billingAccountId, orderId, options) => {
|
|
5174
|
+
return axios.get(`/v1/purchase/accounts/${billingAccountId}/orders/${orderId}`, options);
|
|
5175
|
+
};
|
|
5176
|
+
export const getAccountPurchaseOrderQueryKey = (billingAccountId, orderId) => {
|
|
5177
|
+
return [`/v1/purchase/accounts/${billingAccountId}/orders/${orderId}`];
|
|
5178
|
+
};
|
|
5179
|
+
export const getAccountPurchaseOrderQueryOptions = (billingAccountId, orderId, options) => {
|
|
5180
|
+
var _a;
|
|
5181
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
5182
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getAccountPurchaseOrderQueryKey(billingAccountId, orderId);
|
|
5183
|
+
const queryFn = ({ signal }) => accountPurchaseOrder(billingAccountId, orderId, Object.assign({ signal }, axiosOptions));
|
|
5184
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(billingAccountId && orderId) }, queryOptions);
|
|
5185
|
+
};
|
|
5186
|
+
/**
|
|
5187
|
+
* @summary Get hosting purchase order status by order id
|
|
5188
|
+
*/
|
|
5189
|
+
export function useAccountPurchaseOrder(billingAccountId, orderId, options) {
|
|
5190
|
+
const queryOptions = getAccountPurchaseOrderQueryOptions(billingAccountId, orderId, options);
|
|
5191
|
+
const query = useQuery(queryOptions);
|
|
5192
|
+
query.queryKey = queryOptions.queryKey;
|
|
5193
|
+
return query;
|
|
5194
|
+
}
|
|
4999
5195
|
/**
|
|
5000
5196
|
* Returns site information.
|
|
5001
5197
|
* @summary info
|
|
@@ -7097,6 +7293,32 @@ export const useSiteAddonWpsolution = (options) => {
|
|
|
7097
7293
|
const mutationOptions = getSiteAddonWpsolutionMutationOptions(options);
|
|
7098
7294
|
return useMutation(mutationOptions);
|
|
7099
7295
|
};
|
|
7296
|
+
/**
|
|
7297
|
+
* Returns billing accounts for the authenticated user.
|
|
7298
|
+
* @summary List user billing accounts
|
|
7299
|
+
*/
|
|
7300
|
+
export const userBillingAccounts = (options) => {
|
|
7301
|
+
return axios.get(`/v1/user/billing-accounts`, options);
|
|
7302
|
+
};
|
|
7303
|
+
export const getUserBillingAccountsQueryKey = () => {
|
|
7304
|
+
return [`/v1/user/billing-accounts`];
|
|
7305
|
+
};
|
|
7306
|
+
export const getUserBillingAccountsQueryOptions = (options) => {
|
|
7307
|
+
var _a;
|
|
7308
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
7309
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getUserBillingAccountsQueryKey();
|
|
7310
|
+
const queryFn = ({ signal }) => userBillingAccounts(Object.assign({ signal }, axiosOptions));
|
|
7311
|
+
return Object.assign({ queryKey, queryFn }, queryOptions);
|
|
7312
|
+
};
|
|
7313
|
+
/**
|
|
7314
|
+
* @summary List user billing accounts
|
|
7315
|
+
*/
|
|
7316
|
+
export function useUserBillingAccounts(options) {
|
|
7317
|
+
const queryOptions = getUserBillingAccountsQueryOptions(options);
|
|
7318
|
+
const query = useQuery(queryOptions);
|
|
7319
|
+
query.queryKey = queryOptions.queryKey;
|
|
7320
|
+
return query;
|
|
7321
|
+
}
|
|
7100
7322
|
/**
|
|
7101
7323
|
* Returns a list of feature information such as addon, features, sites, du, fs, db
|
|
7102
7324
|
* @summary Return a list of accounts and info about each (account, addon, sites), plus extra optional info (disk usage, userbox limits, etc)
|
|
@@ -7279,6 +7501,32 @@ export function useWaldaiSso(prodInstId, options) {
|
|
|
7279
7501
|
query.queryKey = queryOptions.queryKey;
|
|
7280
7502
|
return query;
|
|
7281
7503
|
}
|
|
7504
|
+
/**
|
|
7505
|
+
* Returns a hosting account list with nullable optional account fields.
|
|
7506
|
+
* @summary Hosting account list for a customer (v2 schema)
|
|
7507
|
+
*/
|
|
7508
|
+
export const accountHostingListV2 = (params, options) => {
|
|
7509
|
+
return axios.get(`/v2/account/hosting`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
|
|
7510
|
+
};
|
|
7511
|
+
export const getAccountHostingListV2QueryKey = (params) => {
|
|
7512
|
+
return [`/v2/account/hosting`, ...(params ? [params] : [])];
|
|
7513
|
+
};
|
|
7514
|
+
export const getAccountHostingListV2QueryOptions = (params, options) => {
|
|
7515
|
+
var _a;
|
|
7516
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
7517
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getAccountHostingListV2QueryKey(params);
|
|
7518
|
+
const queryFn = ({ signal }) => accountHostingListV2(params, Object.assign({ signal }, axiosOptions));
|
|
7519
|
+
return Object.assign({ queryKey, queryFn }, queryOptions);
|
|
7520
|
+
};
|
|
7521
|
+
/**
|
|
7522
|
+
* @summary Hosting account list for a customer (v2 schema)
|
|
7523
|
+
*/
|
|
7524
|
+
export function useAccountHostingListV2(params, options) {
|
|
7525
|
+
const queryOptions = getAccountHostingListV2QueryOptions(params, options);
|
|
7526
|
+
const query = useQuery(queryOptions);
|
|
7527
|
+
query.queryKey = queryOptions.queryKey;
|
|
7528
|
+
return query;
|
|
7529
|
+
}
|
|
7282
7530
|
/**
|
|
7283
7531
|
* Returns an oauth login URL that can be used to access Sitelock dashboard for a user.
|
|
7284
7532
|
* @summary sso
|
|
@@ -7427,6 +7675,32 @@ export function useBackupStatusV2(addonId, params, options) {
|
|
|
7427
7675
|
query.queryKey = queryOptions.queryKey;
|
|
7428
7676
|
return query;
|
|
7429
7677
|
}
|
|
7678
|
+
/**
|
|
7679
|
+
* Returns the hosting server info with nullable optional fields for MCP and structured clients
|
|
7680
|
+
* @summary server status/info (v2 schema)
|
|
7681
|
+
*/
|
|
7682
|
+
export const hostingAdvancedServerV2 = (hostingId, options) => {
|
|
7683
|
+
return axios.get(`/v2/hosting/${hostingId}/advanced/server`, options);
|
|
7684
|
+
};
|
|
7685
|
+
export const getHostingAdvancedServerV2QueryKey = (hostingId) => {
|
|
7686
|
+
return [`/v2/hosting/${hostingId}/advanced/server`];
|
|
7687
|
+
};
|
|
7688
|
+
export const getHostingAdvancedServerV2QueryOptions = (hostingId, options) => {
|
|
7689
|
+
var _a;
|
|
7690
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
7691
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getHostingAdvancedServerV2QueryKey(hostingId);
|
|
7692
|
+
const queryFn = ({ signal }) => hostingAdvancedServerV2(hostingId, Object.assign({ signal }, axiosOptions));
|
|
7693
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(hostingId) }, queryOptions);
|
|
7694
|
+
};
|
|
7695
|
+
/**
|
|
7696
|
+
* @summary server status/info (v2 schema)
|
|
7697
|
+
*/
|
|
7698
|
+
export function useHostingAdvancedServerV2(hostingId, options) {
|
|
7699
|
+
const queryOptions = getHostingAdvancedServerV2QueryOptions(hostingId, options);
|
|
7700
|
+
const query = useQuery(queryOptions);
|
|
7701
|
+
query.queryKey = queryOptions.queryKey;
|
|
7702
|
+
return query;
|
|
7703
|
+
}
|
|
7430
7704
|
/**
|
|
7431
7705
|
* List all DB names
|
|
7432
7706
|
* @summary Get list of database names
|
|
@@ -7701,6 +7975,32 @@ export const useSshKeyV2 = (options) => {
|
|
|
7701
7975
|
const mutationOptions = getSshKeyV2MutationOptions(options);
|
|
7702
7976
|
return useMutation(mutationOptions);
|
|
7703
7977
|
};
|
|
7978
|
+
/**
|
|
7979
|
+
* Returns a list of images available for public use.
|
|
7980
|
+
* @summary Public OS image list (v2)
|
|
7981
|
+
*/
|
|
7982
|
+
export const publicImagesV2 = (params, options) => {
|
|
7983
|
+
return axios.get(`/v2/public/images`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
|
|
7984
|
+
};
|
|
7985
|
+
export const getPublicImagesV2QueryKey = (params) => {
|
|
7986
|
+
return [`/v2/public/images`, ...(params ? [params] : [])];
|
|
7987
|
+
};
|
|
7988
|
+
export const getPublicImagesV2QueryOptions = (params, options) => {
|
|
7989
|
+
var _a;
|
|
7990
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
7991
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getPublicImagesV2QueryKey(params);
|
|
7992
|
+
const queryFn = ({ signal }) => publicImagesV2(params, Object.assign({ signal }, axiosOptions));
|
|
7993
|
+
return Object.assign({ queryKey, queryFn }, queryOptions);
|
|
7994
|
+
};
|
|
7995
|
+
/**
|
|
7996
|
+
* @summary Public OS image list (v2)
|
|
7997
|
+
*/
|
|
7998
|
+
export function usePublicImagesV2(params, options) {
|
|
7999
|
+
const queryOptions = getPublicImagesV2QueryOptions(params, options);
|
|
8000
|
+
const query = useQuery(queryOptions);
|
|
8001
|
+
query.queryKey = queryOptions.queryKey;
|
|
8002
|
+
return query;
|
|
8003
|
+
}
|
|
7704
8004
|
/**
|
|
7705
8005
|
* Deprecated - use sites_list_v3 instead
|
|
7706
8006
|
* @deprecated
|
package/src/index.msw.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { http } from 'msw';
|
|
2
|
-
import type { AccessLogs200, AccountEventList200, AccountFeatures200, AccountHostingList200, AccountPublicKey200, AccountPublicKeyCreate200, AccountPublicKeyDelete200, AccountPublicKeyToggle200, AccountPublicKeys200, ActivityLog200, AddCron200, AddHostingRedirects200, AddIndex200, AddPrivacy200, AddSiteIpaddress200, AddonsCloudflare200, AddonsCloudflareExternalNsCheck200, AddonsInfo200, AddonsJetpackValidate200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSpamexpertsDomainAssign200, AddonsSpamexpertsSso200, AddonsSync200, AddonsWorkflows200, AllUserMonarxDetails200, Announcements200, BackupCreateOndemandV1200, BackupCreateV2200, BackupCreateV3200, BackupCustomDeleteV1200, BackupDownloadV2200, BackupInitiate200, BackupList200, BackupListV2200, BackupListV3200, BackupMeta200, BackupPrefSetStatus200, BackupRestoreV2200, BackupRestoreV3200, BackupSettings200, BackupSettingsCreate200, BackupSettingsUpdate200, BackupStatus200, BackupStatusV2200, BackupStatusV3200, BackupUsage200, BackupsJetpackBackup200, BullhornAnnouncements200, CodeguardBackupCreate200, CodeguardBackupDownload200, CodeguardBackupList200, CodeguardBackupRestore200, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupRestore200, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupRestore200, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronLastRun200, Db200, DbAdd200, DbCheckDatabase200, DbListV2200, DbMultipleUserDatabase200, DbUsage200, DbUserAdd200, DbUserDelete200, DbUserList200, DbUserPasswordSet200, DbUserPrivsGet200, DbUserPrivsSet200, DbUserRename200, DirectoryPrivacy200, DomainCertInstall200, DomainCertUninstall200, DomainCertUpdate200, DomainCerts200, DomainDnsExport200, DomainDnsImport200, DomainDnseditor200, DomainDnseditorAdd200, DomainDnseditorEdit200, DomainDnseditorList200, DomainDnszoneReset200, DomainEmailDeliverability200, DomainHealth200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsSetEntriUsed200, DomainsUnsetEntriUsed200, EditPrivacy200, EmailSso200, ErrorPagesAdd200, ErrorPagesDelete200, ErrorPagesFetch200, HostingAccount200, HostingAddons200, HostingAdvancedConsole200, HostingAdvancedDns200, HostingAdvancedDnsUpdate200, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesCheck200, HostingAdvancedImages200, HostingAdvancedPassword200, HostingAdvancedServer200, HostingAdvancedServerHealthcheck200, HostingAdvancedServerStatus200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingBackups200, HostingCapabilities200, HostingDbAuthorizedHosts200, HostingDbAuthorizedHostsAdd200, HostingDbAuthorizedHostsDelete200, HostingDbAuthorizedHostsUpdate200, HostingDomainAssign200, HostingDomainAvailability200, HostingDomainsUnassign200, HostingDomainsUnassignV2200, HostingDomainsV2200, HostingEcommerceInfo200, HostingEmailAdd200, HostingEmailAutoresponderCreate200, HostingEmailAutoresponderDelete200, HostingEmailAutoresponderInfo200, HostingEmailAutoresponderList200, HostingEmailAutoresponderUpdate200, HostingEmailDelete200, HostingEmailDomainRouting200, HostingEmailDomainRoutingSet200, HostingEmailFiltersAdd200, HostingEmailFiltersDelete200, HostingEmailFiltersList200, HostingEmailFiltersUpdate200, HostingEmailFolderList200, HostingEmailForwardDelete200, HostingEmailForwarderAdd200, HostingEmailForwardersList200, HostingEmailKeysAdd200, HostingEmailKeysList200, HostingEmailList200, HostingEmailSettings200, HostingEmailSetupInfo200, HostingEmailSpamCustomSettings200, HostingEmailSpamCustomSettingsUpdate200, HostingEmailSpamEmpty200, HostingEmailSpamSettings200, HostingEmailSpamSettingsUpdate200, HostingEmailTestSend200, HostingEmailUpdate200, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpList200, HostingFtpUpdate200, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingLicenseInfo200, HostingMigrationInfo200, HostingMigrationSiteScanStatus200, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsEvent200, HostingMonarxAddonsList200, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingPasswordUpdate200, HostingRedirect200, HostingRedirects200Item, HostingRedirectsV2200Item, HostingRepo200, HostingRepoList200Item, HostingRepoLog200, HostingRepoSync200, HostingResellerSsoWhm200, HostingSendEmailSetupInfo200, HostingServerHits200, HostingShellInfo200, HostingShellToggle200, HostingSiteAdd200, HostingSiteAddV2200, HostingSiteAddV3200, HostingSitesV2200, HostingSpamexpertsEligibleDomains200, HostingSshInfo200, HostingVisitors200, HotlinkconfigAdd200, HotlinkconfigDelete200, HotlinkconfigDetails200, Index200, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListIndex200, MonarxAddonReportUrl200, MonarxAddonSealGeneration200, PasswordGenerate200, PasswordScore200, PhpErrors200, Privacy200, PrivacyUser200, ProductLicenseDetails200, PublicImages200, PublicRegions200, RepairDatabase200, ResetSite200, Site200, SiteAddonCloudflare200, SiteAddonWpsolution200, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginInstall200, SitePluginInstaller200, SitePluginUpdate200, SitePlugins200, SitePluginsAutoupdate200, SitePluginsToggle200, SitePluginsUpdate200, SiteQualityMetrics200, SiteStatus200, SiteThemeInstall200, SiteUpdate200, SiteUsers200, SiteUsersV2200, SiteWpGenerate200, SitesAccessLogs200, SitesAtomicMetrics200, SitesAutoupdatesResponse, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBackupsXcitium200, SitesBatch200, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDomain200, SitesDomainUrl200, SitesDomainsCreate200, SitesDomainsV2200, SitesErrorLogs200, SitesHasBackups200, SitesInfo200, SitesJetpackPurchase200, SitesListV2200, SitesListV3200, SitesMetricDimensions200, SitesMetricsDimensionAveraged200, SitesOnboardingSteps200, SitesPerformanceCachepurge200, SitesPerformanceEdgecache200, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesPerformanceRedisPurge200, SitesPerformanceRedisStatus200, SitesPerformanceRedisToggle200, SitesPerformanceRedisUninstall200, SitesPerformanceScans200, SitesPerformanceScansAdd200, SitesPerformanceScansList200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockV2200, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsPhpVersionInheritance200, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserDelete200, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSsl200, SitesSso200, SitesVersion200, SshKey200, SshKeyFetch200, SshKeyGenerate200, SshKeyImport200, SshKeyImportV2200, SshKeyImportV3200, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, Sso200, StagingSitePromote200, UpdateCron200, UserHosting200, UserHostingOverview200, UserProducts200, UserProservices200, UserSpamexperts200, WaldaiSso200, WebzaiSso200, WeeblySso200, XcitiumBackupCreate200, XcitiumBackupDownload200, XcitiumBackupList200, XcitiumBackupRestore200, XcitiumPlanInfo200, XcitiumSso200 } from './index.schemas';
|
|
2
|
+
import type { AccessLogs200, AccountAddonList200, AccountEventList200, AccountFeatures200, AccountHostingList200, AccountHostingListV2200, AccountPublicKey200, AccountPublicKeyCreate200, AccountPublicKeyDelete200, AccountPublicKeyToggle200, AccountPublicKeys200, AccountPurchaseHosting200, AccountPurchaseOrder200, AccountPurchaseProducts200, ActivityLog200, AddCron200, AddHostingRedirects200, AddIndex200, AddPrivacy200, AddSiteIpaddress200, AddonsCloudflare200, AddonsCloudflareExternalNsCheck200, AddonsInfo200, AddonsJetpackValidate200, AddonsLlmBalance200, AddonsLlmKeys200, AddonsLlmKeysCreate200, AddonsLlmKeysDelete200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSpamexpertsDomainAssign200, AddonsSpamexpertsSso200, AddonsSync200, AddonsWorkflows200, AllUserMonarxDetails200, Announcements200, BackupCreateOndemandV1200, BackupCreateV2200, BackupCreateV3200, BackupCustomDeleteV1200, BackupDownloadV2200, BackupInitiate200, BackupList200, BackupListV2200, BackupListV3200, BackupMeta200, BackupPrefSetStatus200, BackupRestoreV2200, BackupRestoreV3200, BackupSettings200, BackupSettingsCreate200, BackupSettingsUpdate200, BackupStatus200, BackupStatusV2200, BackupStatusV3200, BackupUsage200, BackupsJetpackBackup200, BullhornAnnouncements200, CodeguardBackupCreate200, CodeguardBackupDownload200, CodeguardBackupList200, CodeguardBackupRestore200, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupRestore200, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupRestore200, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronLastRun200, Db200, DbAdd200, DbCheckDatabase200, DbListV2200, DbMultipleUserDatabase200, DbUsage200, DbUserAdd200, DbUserDelete200, DbUserList200, DbUserPasswordSet200, DbUserPrivsGet200, DbUserPrivsSet200, DbUserRename200, DirectoryPrivacy200, DomainCertInstall200, DomainCertUninstall200, DomainCertUpdate200, DomainCerts200, DomainDnsExport200, DomainDnsImport200, DomainDnseditor200, DomainDnseditorAdd200, DomainDnseditorEdit200, DomainDnseditorList200, DomainDnszoneReset200, DomainEmailDeliverability200, DomainHealth200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsSetEntriUsed200, DomainsUnsetEntriUsed200, EditPrivacy200, EmailSso200, ErrorPagesAdd200, ErrorPagesDelete200, ErrorPagesFetch200, HostingAccount200, HostingAddons200, HostingAdvancedConsole200, HostingAdvancedDns200, HostingAdvancedDnsUpdate200, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesCheck200, HostingAdvancedImages200, HostingAdvancedPassword200, HostingAdvancedServer200, HostingAdvancedServerHealthcheck200, HostingAdvancedServerStatus200, HostingAdvancedServerV2200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingBackups200, HostingCapabilities200, HostingDbAuthorizedHosts200, HostingDbAuthorizedHostsAdd200, HostingDbAuthorizedHostsDelete200, HostingDbAuthorizedHostsUpdate200, HostingDomainAssign200, HostingDomainAvailability200, HostingDomainsUnassign200, HostingDomainsUnassignV2200, HostingDomainsV2200, HostingEcommerceInfo200, HostingEmailAdd200, HostingEmailAutoresponderCreate200, HostingEmailAutoresponderDelete200, HostingEmailAutoresponderInfo200, HostingEmailAutoresponderList200, HostingEmailAutoresponderUpdate200, HostingEmailDelete200, HostingEmailDomainRouting200, HostingEmailDomainRoutingSet200, HostingEmailFiltersAdd200, HostingEmailFiltersDelete200, HostingEmailFiltersList200, HostingEmailFiltersUpdate200, HostingEmailFolderList200, HostingEmailForwardDelete200, HostingEmailForwarderAdd200, HostingEmailForwardersList200, HostingEmailKeysAdd200, HostingEmailKeysList200, HostingEmailList200, HostingEmailSettings200, HostingEmailSetupInfo200, HostingEmailSpamCustomSettings200, HostingEmailSpamCustomSettingsUpdate200, HostingEmailSpamEmpty200, HostingEmailSpamSettings200, HostingEmailSpamSettingsUpdate200, HostingEmailTestSend200, HostingEmailUpdate200, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpList200, HostingFtpUpdate200, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingLicenseInfo200, HostingMigrationInfo200, HostingMigrationSiteScanStatus200, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsEvent200, HostingMonarxAddonsList200, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingPasswordUpdate200, HostingRedirect200, HostingRedirects200Item, HostingRedirectsV2200Item, HostingRepo200, HostingRepoList200Item, HostingRepoLog200, HostingRepoSync200, HostingResellerSsoWhm200, HostingSendEmailSetupInfo200, HostingServerHits200, HostingShellInfo200, HostingShellToggle200, HostingSiteAdd200, HostingSiteAddV2200, HostingSiteAddV3200, HostingSitesV2200, HostingSpamexpertsEligibleDomains200, HostingSshInfo200, HostingVisitors200, HotlinkconfigAdd200, HotlinkconfigDelete200, HotlinkconfigDetails200, Index200, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListIndex200, MonarxAddonReportUrl200, MonarxAddonSealGeneration200, PasswordGenerate200, PasswordScore200, PhpErrors200, Privacy200, PrivacyUser200, ProductLicenseDetails200, PublicImages200, PublicImagesV2200, PublicRegions200, RepairDatabase200, ResetSite200, Site200, SiteAddonCloudflare200, SiteAddonWpsolution200, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginInstall200, SitePluginInstaller200, SitePluginUpdate200, SitePlugins200, SitePluginsAutoupdate200, SitePluginsToggle200, SitePluginsUpdate200, SiteQualityMetrics200, SiteStatus200, SiteThemeInstall200, SiteUpdate200, SiteUsers200, SiteUsersV2200, SiteWpGenerate200, SitesAccessLogs200, SitesAtomicMetrics200, SitesAutoupdatesResponse, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBackupsXcitium200, SitesBatch200, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDomain200, SitesDomainUrl200, SitesDomainsCreate200, SitesDomainsV2200, SitesErrorLogs200, SitesHasBackups200, SitesInfo200, SitesJetpackPurchase200, SitesListV2200, SitesListV3200, SitesMetricDimensions200, SitesMetricsDimensionAveraged200, SitesOnboardingSteps200, SitesPerformanceCachepurge200, SitesPerformanceEdgecache200, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesPerformanceRedisPurge200, SitesPerformanceRedisStatus200, SitesPerformanceRedisToggle200, SitesPerformanceRedisUninstall200, SitesPerformanceScans200, SitesPerformanceScansAdd200, SitesPerformanceScansList200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockV2200, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsPhpVersionInheritance200, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserDelete200, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSsl200, SitesSso200, SitesVersion200, SshKey200, SshKeyFetch200, SshKeyGenerate200, SshKeyImport200, SshKeyImportV2200, SshKeyImportV3200, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, Sso200, StagingSitePromote200, UpdateCron200, UserBillingAccounts200, UserHosting200, UserHostingOverview200, UserProducts200, UserProservices200, UserSpamexperts200, WaldaiSso200, WebzaiSso200, WeeblySso200, XcitiumBackupCreate200, XcitiumBackupDownload200, XcitiumBackupList200, XcitiumBackupRestore200, XcitiumPlanInfo200, XcitiumSso200 } from './index.schemas';
|
|
3
3
|
export declare const getAccountEventListResponseMock: (overrideResponse?: Partial<AccountEventList200>) => AccountEventList200;
|
|
4
4
|
export declare const getAccountFeaturesResponseMock: (overrideResponse?: Partial<AccountFeatures200>) => AccountFeatures200;
|
|
5
5
|
export declare const getAccountHostingListResponseMock: (overrideResponse?: Partial<AccountHostingList200>) => AccountHostingList200;
|
|
@@ -8,6 +8,7 @@ export declare const getAccountPublicKeyCreateResponseMock: (overrideResponse?:
|
|
|
8
8
|
export declare const getAccountPublicKeyResponseMock: (overrideResponse?: Partial<AccountPublicKey200>) => AccountPublicKey200;
|
|
9
9
|
export declare const getAccountPublicKeyToggleResponseMock: (overrideResponse?: Partial<AccountPublicKeyToggle200>) => AccountPublicKeyToggle200;
|
|
10
10
|
export declare const getAccountPublicKeyDeleteResponseMock: (overrideResponse?: Partial<AccountPublicKeyDelete200>) => AccountPublicKeyDelete200;
|
|
11
|
+
export declare const getAccountAddonListResponseMock: (overrideResponse?: Partial<AccountAddonList200>) => AccountAddonList200;
|
|
11
12
|
export declare const getCodeguardBackupListResponseMock: (overrideResponse?: Partial<CodeguardBackupList200>) => CodeguardBackupList200;
|
|
12
13
|
export declare const getCodeguardBackupCreateResponseMock: (overrideResponse?: Partial<CodeguardBackupCreate200>) => CodeguardBackupCreate200;
|
|
13
14
|
export declare const getCodeguardBackupDownloadResponseMock: (overrideResponse?: Partial<CodeguardBackupDownload200>) => CodeguardBackupDownload200;
|
|
@@ -44,6 +45,10 @@ export declare const getAddonsCloudflareResponseMock: (overrideResponse?: Partia
|
|
|
44
45
|
export declare const getAddonsCloudflareExternalNsCheckResponseMock: (overrideResponse?: Partial<AddonsCloudflareExternalNsCheck200>) => AddonsCloudflareExternalNsCheck200;
|
|
45
46
|
export declare const getAddonsInfoResponseMock: (overrideResponse?: Partial<AddonsInfo200>) => AddonsInfo200;
|
|
46
47
|
export declare const getAddonsJetpackValidateResponseMock: (overrideResponse?: Partial<AddonsJetpackValidate200>) => AddonsJetpackValidate200;
|
|
48
|
+
export declare const getAddonsLlmBalanceResponseMock: (overrideResponse?: Partial<AddonsLlmBalance200>) => AddonsLlmBalance200;
|
|
49
|
+
export declare const getAddonsLlmKeysResponseMock: (overrideResponse?: Partial<AddonsLlmKeys200>) => AddonsLlmKeys200;
|
|
50
|
+
export declare const getAddonsLlmKeysCreateResponseMock: (overrideResponse?: Partial<AddonsLlmKeysCreate200>) => AddonsLlmKeysCreate200;
|
|
51
|
+
export declare const getAddonsLlmKeysDeleteResponseMock: (overrideResponse?: Partial<AddonsLlmKeysDelete200>) => AddonsLlmKeysDelete200;
|
|
47
52
|
export declare const getMonarxAddonSealGenerationResponseMock: (overrideResponse?: Partial<MonarxAddonSealGeneration200>) => MonarxAddonSealGeneration200;
|
|
48
53
|
export declare const getMonarxAddonReportUrlResponseMock: (overrideResponse?: Partial<MonarxAddonReportUrl200>) => MonarxAddonReportUrl200;
|
|
49
54
|
export declare const getAddonsSpamexpertsDomainAssignResponseMock: (overrideResponse?: Partial<AddonsSpamexpertsDomainAssign200>) => AddonsSpamexpertsDomainAssign200;
|
|
@@ -206,6 +211,9 @@ export declare const getSsoResponseMock: (overrideResponse?: Partial<Sso200>) =>
|
|
|
206
211
|
export declare const getHostingVisitorsResponseMock: (overrideResponse?: Partial<HostingVisitors200>) => HostingVisitors200;
|
|
207
212
|
export declare const getPublicImagesResponseMock: (overrideResponse?: Partial<PublicImages200>) => PublicImages200;
|
|
208
213
|
export declare const getPublicRegionsResponseMock: (overrideResponse?: Partial<PublicRegions200>) => PublicRegions200;
|
|
214
|
+
export declare const getAccountPurchaseProductsResponseMock: (overrideResponse?: Partial<AccountPurchaseProducts200>) => AccountPurchaseProducts200;
|
|
215
|
+
export declare const getAccountPurchaseHostingResponseMock: (overrideResponse?: Partial<AccountPurchaseHosting200>) => AccountPurchaseHosting200;
|
|
216
|
+
export declare const getAccountPurchaseOrderResponseMock: (overrideResponse?: Partial<AccountPurchaseOrder200>) => AccountPurchaseOrder200;
|
|
209
217
|
export declare const getSitesInfoResponseMock: (overrideResponse?: Partial<SitesInfo200>) => SitesInfo200;
|
|
210
218
|
export declare const getSiteUpdateResponseMock: (overrideResponse?: Partial<SiteUpdate200>) => SiteUpdate200;
|
|
211
219
|
export declare const getSiteResponseMock: (overrideResponse?: Partial<Site200>) => Site200;
|
|
@@ -290,6 +298,7 @@ export declare const getSitesVersionResponseMock: (overrideResponse?: Partial<Si
|
|
|
290
298
|
export declare const getSiteWpGenerateResponseMock: (overrideResponse?: Partial<SiteWpGenerate200>) => SiteWpGenerate200;
|
|
291
299
|
export declare const getSiteThemeInstallResponseMock: (overrideResponse?: Partial<SiteThemeInstall200>) => SiteThemeInstall200;
|
|
292
300
|
export declare const getSiteAddonWpsolutionResponseMock: (overrideResponse?: Partial<SiteAddonWpsolution200>) => SiteAddonWpsolution200;
|
|
301
|
+
export declare const getUserBillingAccountsResponseMock: (overrideResponse?: Partial<UserBillingAccounts200>) => UserBillingAccounts200;
|
|
293
302
|
export declare const getUserHostingResponseMock: (overrideResponse?: Partial<UserHosting200>) => UserHosting200;
|
|
294
303
|
export declare const getUserHostingOverviewResponseMock: (overrideResponse?: Partial<UserHostingOverview200>) => UserHostingOverview200;
|
|
295
304
|
export declare const getAllUserMonarxDetailsResponseMock: (overrideResponse?: Partial<AllUserMonarxDetails200>) => AllUserMonarxDetails200;
|
|
@@ -297,12 +306,14 @@ export declare const getUserProductsResponseMock: (overrideResponse?: Partial<Us
|
|
|
297
306
|
export declare const getUserProservicesResponseMock: (overrideResponse?: Partial<UserProservices200>) => UserProservices200;
|
|
298
307
|
export declare const getUserSpamexpertsResponseMock: (overrideResponse?: Partial<UserSpamexperts200>) => UserSpamexperts200;
|
|
299
308
|
export declare const getWaldaiSsoResponseMock: (overrideResponse?: Partial<WaldaiSso200>) => WaldaiSso200;
|
|
309
|
+
export declare const getAccountHostingListV2ResponseMock: (overrideResponse?: Partial<AccountHostingListV2200>) => AccountHostingListV2200;
|
|
300
310
|
export declare const getAddonsSitelockSsoV2ResponseMock: (overrideResponse?: Partial<AddonsSitelockSsoV2200>) => AddonsSitelockSsoV2200;
|
|
301
311
|
export declare const getBackupCreateV2ResponseMock: (overrideResponse?: Partial<BackupCreateV2200>) => BackupCreateV2200;
|
|
302
312
|
export declare const getBackupDownloadV2ResponseMock: (overrideResponse?: Partial<BackupDownloadV2200>) => BackupDownloadV2200;
|
|
303
313
|
export declare const getBackupListV2ResponseMock: (overrideResponse?: Partial<BackupListV2200>) => BackupListV2200;
|
|
304
314
|
export declare const getBackupRestoreV2ResponseMock: (overrideResponse?: Partial<BackupRestoreV2200>) => BackupRestoreV2200;
|
|
305
315
|
export declare const getBackupStatusV2ResponseMock: (overrideResponse?: Partial<BackupStatusV2200>) => BackupStatusV2200;
|
|
316
|
+
export declare const getHostingAdvancedServerV2ResponseMock: (overrideResponse?: Partial<HostingAdvancedServerV2200>) => HostingAdvancedServerV2200;
|
|
306
317
|
export declare const getDbListV2ResponseMock: (overrideResponse?: Partial<DbListV2200>) => DbListV2200;
|
|
307
318
|
export declare const getHostingDomainsV2ResponseMock: (overrideResponse?: Partial<HostingDomainsV2200>) => HostingDomainsV2200;
|
|
308
319
|
export declare const getHostingDomainsUnassignV2ResponseMock: (overrideResponse?: Partial<HostingDomainsUnassignV2200>) => HostingDomainsUnassignV2200;
|
|
@@ -314,6 +325,7 @@ export declare const getHostingSiteAddV2ResponseMock: (overrideResponse?: Partia
|
|
|
314
325
|
export declare const getSshKeyImportV2ResponseMock: (overrideResponse?: Partial<SshKeyImportV2200>) => SshKeyImportV2200;
|
|
315
326
|
export declare const getSshKeyListV2ResponseMock: (overrideResponse?: Partial<SshKeyListV2200>) => SshKeyListV2200;
|
|
316
327
|
export declare const getSshKeyV2ResponseMock: (overrideResponse?: Partial<SshKeyV2200>) => SshKeyV2200;
|
|
328
|
+
export declare const getPublicImagesV2ResponseMock: (overrideResponse?: Partial<PublicImagesV2200>) => PublicImagesV2200;
|
|
317
329
|
export declare const getSitesListV2ResponseMock: (overrideResponse?: Partial<SitesListV2200>) => SitesListV2200;
|
|
318
330
|
export declare const getSitesInfoV2ResponseMock: (overrideResponse?: Partial<SiteInfoResponseModelV2>) => SiteInfoResponseModelV2;
|
|
319
331
|
export declare const getSitesDomainsV2ResponseMock: (overrideResponse?: Partial<SitesDomainsV2200>) => SitesDomainsV2200;
|
|
@@ -339,6 +351,7 @@ export declare const getAccountPublicKeyCreateMockHandler: (overrideResponse?: A
|
|
|
339
351
|
export declare const getAccountPublicKeyMockHandler: (overrideResponse?: AccountPublicKey200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AccountPublicKey200> | AccountPublicKey200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
340
352
|
export declare const getAccountPublicKeyToggleMockHandler: (overrideResponse?: AccountPublicKeyToggle200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<AccountPublicKeyToggle200> | AccountPublicKeyToggle200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
341
353
|
export declare const getAccountPublicKeyDeleteMockHandler: (overrideResponse?: AccountPublicKeyDelete200 | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<AccountPublicKeyDelete200> | AccountPublicKeyDelete200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
354
|
+
export declare const getAccountAddonListMockHandler: (overrideResponse?: AccountAddonList200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AccountAddonList200> | AccountAddonList200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
342
355
|
export declare const getCodeguardBackupListMockHandler: (overrideResponse?: CodeguardBackupList200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<CodeguardBackupList200> | CodeguardBackupList200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
343
356
|
export declare const getCodeguardBackupCreateMockHandler: (overrideResponse?: CodeguardBackupCreate200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<CodeguardBackupCreate200> | CodeguardBackupCreate200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
344
357
|
export declare const getCodeguardBackupDownloadMockHandler: (overrideResponse?: CodeguardBackupDownload200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<CodeguardBackupDownload200> | CodeguardBackupDownload200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
@@ -375,6 +388,10 @@ export declare const getAddonsCloudflareMockHandler: (overrideResponse?: AddonsC
|
|
|
375
388
|
export declare const getAddonsCloudflareExternalNsCheckMockHandler: (overrideResponse?: AddonsCloudflareExternalNsCheck200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AddonsCloudflareExternalNsCheck200> | AddonsCloudflareExternalNsCheck200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
376
389
|
export declare const getAddonsInfoMockHandler: (overrideResponse?: AddonsInfo200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AddonsInfo200> | AddonsInfo200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
377
390
|
export declare const getAddonsJetpackValidateMockHandler: (overrideResponse?: AddonsJetpackValidate200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<AddonsJetpackValidate200> | AddonsJetpackValidate200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
391
|
+
export declare const getAddonsLlmBalanceMockHandler: (overrideResponse?: AddonsLlmBalance200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AddonsLlmBalance200> | AddonsLlmBalance200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
392
|
+
export declare const getAddonsLlmKeysMockHandler: (overrideResponse?: AddonsLlmKeys200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AddonsLlmKeys200> | AddonsLlmKeys200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
393
|
+
export declare const getAddonsLlmKeysCreateMockHandler: (overrideResponse?: AddonsLlmKeysCreate200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<AddonsLlmKeysCreate200> | AddonsLlmKeysCreate200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
394
|
+
export declare const getAddonsLlmKeysDeleteMockHandler: (overrideResponse?: AddonsLlmKeysDelete200 | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<AddonsLlmKeysDelete200> | AddonsLlmKeysDelete200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
378
395
|
export declare const getMonarxAddonSealGenerationMockHandler: (overrideResponse?: MonarxAddonSealGeneration200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<MonarxAddonSealGeneration200> | MonarxAddonSealGeneration200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
379
396
|
export declare const getMonarxAddonReportUrlMockHandler: (overrideResponse?: MonarxAddonReportUrl200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<MonarxAddonReportUrl200> | MonarxAddonReportUrl200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
380
397
|
export declare const getAddonsSpamexpertsDomainAssignMockHandler: (overrideResponse?: AddonsSpamexpertsDomainAssign200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<AddonsSpamexpertsDomainAssign200> | AddonsSpamexpertsDomainAssign200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
@@ -537,6 +554,9 @@ export declare const getSsoMockHandler: (overrideResponse?: Sso200 | ((info: Par
|
|
|
537
554
|
export declare const getHostingVisitorsMockHandler: (overrideResponse?: HostingVisitors200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingVisitors200> | HostingVisitors200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
538
555
|
export declare const getPublicImagesMockHandler: (overrideResponse?: PublicImages200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PublicImages200> | PublicImages200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
539
556
|
export declare const getPublicRegionsMockHandler: (overrideResponse?: PublicRegions200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PublicRegions200> | PublicRegions200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
557
|
+
export declare const getAccountPurchaseProductsMockHandler: (overrideResponse?: AccountPurchaseProducts200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AccountPurchaseProducts200> | AccountPurchaseProducts200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
558
|
+
export declare const getAccountPurchaseHostingMockHandler: (overrideResponse?: AccountPurchaseHosting200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<AccountPurchaseHosting200> | AccountPurchaseHosting200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
559
|
+
export declare const getAccountPurchaseOrderMockHandler: (overrideResponse?: AccountPurchaseOrder200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AccountPurchaseOrder200> | AccountPurchaseOrder200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
540
560
|
export declare const getSitesInfoMockHandler: (overrideResponse?: SitesInfo200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SitesInfo200> | SitesInfo200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
541
561
|
export declare const getSiteUpdateMockHandler: (overrideResponse?: SiteUpdate200 | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<SiteUpdate200> | SiteUpdate200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
542
562
|
export declare const getSiteMockHandler: (overrideResponse?: Site200 | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<Site200> | Site200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
@@ -623,6 +643,7 @@ export declare const getSitesVersionMockHandler: (overrideResponse?: SitesVersio
|
|
|
623
643
|
export declare const getSiteWpGenerateMockHandler: (overrideResponse?: SiteWpGenerate200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<SiteWpGenerate200> | SiteWpGenerate200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
624
644
|
export declare const getSiteThemeInstallMockHandler: (overrideResponse?: SiteThemeInstall200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<SiteThemeInstall200> | SiteThemeInstall200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
625
645
|
export declare const getSiteAddonWpsolutionMockHandler: (overrideResponse?: SiteAddonWpsolution200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<SiteAddonWpsolution200> | SiteAddonWpsolution200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
646
|
+
export declare const getUserBillingAccountsMockHandler: (overrideResponse?: UserBillingAccounts200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<UserBillingAccounts200> | UserBillingAccounts200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
626
647
|
export declare const getUserHostingMockHandler: (overrideResponse?: UserHosting200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<UserHosting200> | UserHosting200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
627
648
|
export declare const getUserHostingOverviewMockHandler: (overrideResponse?: UserHostingOverview200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<UserHostingOverview200> | UserHostingOverview200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
628
649
|
export declare const getAllUserMonarxDetailsMockHandler: (overrideResponse?: AllUserMonarxDetails200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AllUserMonarxDetails200> | AllUserMonarxDetails200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
@@ -630,12 +651,14 @@ export declare const getUserProductsMockHandler: (overrideResponse?: UserProduct
|
|
|
630
651
|
export declare const getUserProservicesMockHandler: (overrideResponse?: UserProservices200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<UserProservices200> | UserProservices200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
631
652
|
export declare const getUserSpamexpertsMockHandler: (overrideResponse?: UserSpamexperts200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<UserSpamexperts200> | UserSpamexperts200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
632
653
|
export declare const getWaldaiSsoMockHandler: (overrideResponse?: WaldaiSso200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<WaldaiSso200> | WaldaiSso200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
654
|
+
export declare const getAccountHostingListV2MockHandler: (overrideResponse?: AccountHostingListV2200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AccountHostingListV2200> | AccountHostingListV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
633
655
|
export declare const getAddonsSitelockSsoV2MockHandler: (overrideResponse?: AddonsSitelockSsoV2200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AddonsSitelockSsoV2200> | AddonsSitelockSsoV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
634
656
|
export declare const getBackupCreateV2MockHandler: (overrideResponse?: BackupCreateV2200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<BackupCreateV2200> | BackupCreateV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
635
657
|
export declare const getBackupDownloadV2MockHandler: (overrideResponse?: BackupDownloadV2200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<BackupDownloadV2200> | BackupDownloadV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
636
658
|
export declare const getBackupListV2MockHandler: (overrideResponse?: BackupListV2200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<BackupListV2200> | BackupListV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
637
659
|
export declare const getBackupRestoreV2MockHandler: (overrideResponse?: BackupRestoreV2200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<BackupRestoreV2200> | BackupRestoreV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
638
660
|
export declare const getBackupStatusV2MockHandler: (overrideResponse?: BackupStatusV2200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<BackupStatusV2200> | BackupStatusV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
661
|
+
export declare const getHostingAdvancedServerV2MockHandler: (overrideResponse?: HostingAdvancedServerV2200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingAdvancedServerV2200> | HostingAdvancedServerV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
639
662
|
export declare const getDbListV2MockHandler: (overrideResponse?: DbListV2200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DbListV2200> | DbListV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
640
663
|
export declare const getHostingDomainsV2MockHandler: (overrideResponse?: HostingDomainsV2200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingDomainsV2200> | HostingDomainsV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
641
664
|
export declare const getHostingDomainsUnassignV2MockHandler: (overrideResponse?: HostingDomainsUnassignV2200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<HostingDomainsUnassignV2200> | HostingDomainsUnassignV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
@@ -647,6 +670,7 @@ export declare const getHostingSiteAddV2MockHandler: (overrideResponse?: Hosting
|
|
|
647
670
|
export declare const getSshKeyImportV2MockHandler: (overrideResponse?: SshKeyImportV2200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<SshKeyImportV2200> | SshKeyImportV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
648
671
|
export declare const getSshKeyListV2MockHandler: (overrideResponse?: SshKeyListV2200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SshKeyListV2200> | SshKeyListV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
649
672
|
export declare const getSshKeyV2MockHandler: (overrideResponse?: SshKeyV2200 | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<SshKeyV2200> | SshKeyV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
673
|
+
export declare const getPublicImagesV2MockHandler: (overrideResponse?: PublicImagesV2200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PublicImagesV2200> | PublicImagesV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
650
674
|
export declare const getSitesListV2MockHandler: (overrideResponse?: SitesListV2200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SitesListV2200> | SitesListV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
651
675
|
export declare const getSitesInfoV2MockHandler: (overrideResponse?: SiteInfoResponseModelV2 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SiteInfoResponseModelV2> | SiteInfoResponseModelV2) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
652
676
|
export declare const getSitesDomainsV2MockHandler: (overrideResponse?: SitesDomainsV2200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SitesDomainsV2200> | SitesDomainsV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|