@newfold/huapi-js 2.1365.0 → 2.1398.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 +211 -120
- package/src/index.js +161 -97
- package/src/index.msw.d.ts +15 -9
- package/src/index.msw.js +84 -48
- package/src/index.schemas.d.ts +269 -137
- package/src/index.schemas.js +6 -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.1398.0
|
|
7
7
|
*/
|
|
8
8
|
import { useInfiniteQuery, useMutation, useQuery } from '@tanstack/react-query';
|
|
9
9
|
import axios from 'axios';
|
|
@@ -588,7 +588,7 @@ export function useBackupStatus(addonId, params, options) {
|
|
|
588
588
|
return query;
|
|
589
589
|
}
|
|
590
590
|
/**
|
|
591
|
-
* Returns backup list
|
|
591
|
+
* Deprecated, use backup_list_v2 instead - Returns backup list
|
|
592
592
|
* @deprecated
|
|
593
593
|
* @summary Backup list
|
|
594
594
|
*/
|
|
@@ -1395,30 +1395,6 @@ export function useHostingCapabilities(hostingId, options) {
|
|
|
1395
1395
|
query.queryKey = queryOptions.queryKey;
|
|
1396
1396
|
return query;
|
|
1397
1397
|
}
|
|
1398
|
-
/**
|
|
1399
|
-
* Creates cloudflare basic addon
|
|
1400
|
-
* @deprecated
|
|
1401
|
-
* @summary Deprecated - Install cloudflare basic addon
|
|
1402
|
-
*/
|
|
1403
|
-
export const addonCloudflare = (hostingId, addonCloudflareBody, options) => {
|
|
1404
|
-
return axios.post(`/v1/hosting/${hostingId}/cloudflare`, addonCloudflareBody, options);
|
|
1405
|
-
};
|
|
1406
|
-
export const getAddonCloudflareMutationOptions = (options) => {
|
|
1407
|
-
const { mutation: mutationOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
1408
|
-
const mutationFn = (props) => {
|
|
1409
|
-
const { hostingId, data } = props !== null && props !== void 0 ? props : {};
|
|
1410
|
-
return addonCloudflare(hostingId, data, axiosOptions);
|
|
1411
|
-
};
|
|
1412
|
-
return Object.assign({ mutationFn }, mutationOptions);
|
|
1413
|
-
};
|
|
1414
|
-
/**
|
|
1415
|
-
* @deprecated
|
|
1416
|
-
* @summary Deprecated - Install cloudflare basic addon
|
|
1417
|
-
*/
|
|
1418
|
-
export const useAddonCloudflare = (options) => {
|
|
1419
|
-
const mutationOptions = getAddonCloudflareMutationOptions(options);
|
|
1420
|
-
return useMutation(mutationOptions);
|
|
1421
|
-
};
|
|
1422
1398
|
/**
|
|
1423
1399
|
* Returns a list of cron jobs
|
|
1424
1400
|
* @summary cron_list
|
|
@@ -1581,34 +1557,6 @@ export const useDb = (options) => {
|
|
|
1581
1557
|
const mutationOptions = getDbMutationOptions(options);
|
|
1582
1558
|
return useMutation(mutationOptions);
|
|
1583
1559
|
};
|
|
1584
|
-
/**
|
|
1585
|
-
* List all DB name
|
|
1586
|
-
* @deprecated
|
|
1587
|
-
* @summary Get list of database name
|
|
1588
|
-
*/
|
|
1589
|
-
export const dbList = (hostingId, options) => {
|
|
1590
|
-
return axios.get(`/v1/hosting/${hostingId}/db`, options);
|
|
1591
|
-
};
|
|
1592
|
-
export const getDbListQueryKey = (hostingId) => {
|
|
1593
|
-
return [`/v1/hosting/${hostingId}/db`];
|
|
1594
|
-
};
|
|
1595
|
-
export const getDbListQueryOptions = (hostingId, options) => {
|
|
1596
|
-
var _a;
|
|
1597
|
-
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
1598
|
-
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getDbListQueryKey(hostingId);
|
|
1599
|
-
const queryFn = ({ signal }) => dbList(hostingId, Object.assign({ signal }, axiosOptions));
|
|
1600
|
-
return Object.assign({ queryKey, queryFn, enabled: !!(hostingId) }, queryOptions);
|
|
1601
|
-
};
|
|
1602
|
-
/**
|
|
1603
|
-
* @deprecated
|
|
1604
|
-
* @summary Get list of database name
|
|
1605
|
-
*/
|
|
1606
|
-
export function useDbList(hostingId, options) {
|
|
1607
|
-
const queryOptions = getDbListQueryOptions(hostingId, options);
|
|
1608
|
-
const query = useQuery(queryOptions);
|
|
1609
|
-
query.queryKey = queryOptions.queryKey;
|
|
1610
|
-
return query;
|
|
1611
|
-
}
|
|
1612
1560
|
/**
|
|
1613
1561
|
* Returns a list of Remote IP
|
|
1614
1562
|
* @summary Returns a list of authorized DB hosts / ips
|
|
@@ -2403,6 +2351,32 @@ export const useHostingEmailForwarderDelete = (options) => {
|
|
|
2403
2351
|
const mutationOptions = getHostingEmailForwarderDeleteMutationOptions(options);
|
|
2404
2352
|
return useMutation(mutationOptions);
|
|
2405
2353
|
};
|
|
2354
|
+
/**
|
|
2355
|
+
* Returns a SSO login token for an email account by using the query parameters.
|
|
2356
|
+
* @summary email sso
|
|
2357
|
+
*/
|
|
2358
|
+
export const emailSso = (hostingId, params, options) => {
|
|
2359
|
+
return axios.get(`/v1/hosting/${hostingId}/emails/sso`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
|
|
2360
|
+
};
|
|
2361
|
+
export const getEmailSsoQueryKey = (hostingId, params) => {
|
|
2362
|
+
return [`/v1/hosting/${hostingId}/emails/sso`, ...(params ? [params] : [])];
|
|
2363
|
+
};
|
|
2364
|
+
export const getEmailSsoQueryOptions = (hostingId, params, options) => {
|
|
2365
|
+
var _a;
|
|
2366
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
2367
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getEmailSsoQueryKey(hostingId, params);
|
|
2368
|
+
const queryFn = ({ signal }) => emailSso(hostingId, params, Object.assign({ signal }, axiosOptions));
|
|
2369
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(hostingId) }, queryOptions);
|
|
2370
|
+
};
|
|
2371
|
+
/**
|
|
2372
|
+
* @summary email sso
|
|
2373
|
+
*/
|
|
2374
|
+
export function useEmailSso(hostingId, params, options) {
|
|
2375
|
+
const queryOptions = getEmailSsoQueryOptions(hostingId, params, options);
|
|
2376
|
+
const query = useQuery(queryOptions);
|
|
2377
|
+
query.queryKey = queryOptions.queryKey;
|
|
2378
|
+
return query;
|
|
2379
|
+
}
|
|
2406
2380
|
/**
|
|
2407
2381
|
* Suspend or unsuspend an email accounts ability to send and receive email
|
|
2408
2382
|
* @summary email suspend
|
|
@@ -2426,29 +2400,27 @@ export const useHostingEmailSuspend = (options) => {
|
|
|
2426
2400
|
return useMutation(mutationOptions);
|
|
2427
2401
|
};
|
|
2428
2402
|
/**
|
|
2429
|
-
*
|
|
2430
|
-
* @
|
|
2431
|
-
* @summary List files
|
|
2403
|
+
* Lists existing email address folders
|
|
2404
|
+
* @summary email folder list
|
|
2432
2405
|
*/
|
|
2433
|
-
export const
|
|
2434
|
-
return axios.get(`/v1/hosting/${hostingId}/
|
|
2406
|
+
export const hostingEmailFolderList = (hostingId, address, options) => {
|
|
2407
|
+
return axios.get(`/v1/hosting/${hostingId}/emails/${address}/folders`, options);
|
|
2435
2408
|
};
|
|
2436
|
-
export const
|
|
2437
|
-
return [`/v1/hosting/${hostingId}/
|
|
2409
|
+
export const getHostingEmailFolderListQueryKey = (hostingId, address) => {
|
|
2410
|
+
return [`/v1/hosting/${hostingId}/emails/${address}/folders`];
|
|
2438
2411
|
};
|
|
2439
|
-
export const
|
|
2412
|
+
export const getHostingEmailFolderListQueryOptions = (hostingId, address, options) => {
|
|
2440
2413
|
var _a;
|
|
2441
2414
|
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
2442
|
-
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a :
|
|
2443
|
-
const queryFn = ({ signal }) =>
|
|
2444
|
-
return Object.assign({ queryKey, queryFn, enabled: !!(hostingId) }, queryOptions);
|
|
2415
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getHostingEmailFolderListQueryKey(hostingId, address);
|
|
2416
|
+
const queryFn = ({ signal }) => hostingEmailFolderList(hostingId, address, Object.assign({ signal }, axiosOptions));
|
|
2417
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(hostingId && address) }, queryOptions);
|
|
2445
2418
|
};
|
|
2446
2419
|
/**
|
|
2447
|
-
* @
|
|
2448
|
-
* @summary List files
|
|
2420
|
+
* @summary email folder list
|
|
2449
2421
|
*/
|
|
2450
|
-
export function
|
|
2451
|
-
const queryOptions =
|
|
2422
|
+
export function useHostingEmailFolderList(hostingId, address, options) {
|
|
2423
|
+
const queryOptions = getHostingEmailFolderListQueryOptions(hostingId, address, options);
|
|
2452
2424
|
const query = useQuery(queryOptions);
|
|
2453
2425
|
query.queryKey = queryOptions.queryKey;
|
|
2454
2426
|
return query;
|
|
@@ -2567,6 +2539,102 @@ export const useHostingFtp = (options) => {
|
|
|
2567
2539
|
const mutationOptions = getHostingFtpMutationOptions(options);
|
|
2568
2540
|
return useMutation(mutationOptions);
|
|
2569
2541
|
};
|
|
2542
|
+
/**
|
|
2543
|
+
* Returns a list of Git repositories associated
|
|
2544
|
+
* @summary List Git repositories
|
|
2545
|
+
*/
|
|
2546
|
+
export const hostingRepoList = (hostingId, options) => {
|
|
2547
|
+
return axios.get(`/v1/hosting/${hostingId}/git-repos`, options);
|
|
2548
|
+
};
|
|
2549
|
+
export const getHostingRepoListQueryKey = (hostingId) => {
|
|
2550
|
+
return [`/v1/hosting/${hostingId}/git-repos`];
|
|
2551
|
+
};
|
|
2552
|
+
export const getHostingRepoListQueryOptions = (hostingId, options) => {
|
|
2553
|
+
var _a;
|
|
2554
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
2555
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getHostingRepoListQueryKey(hostingId);
|
|
2556
|
+
const queryFn = ({ signal }) => hostingRepoList(hostingId, Object.assign({ signal }, axiosOptions));
|
|
2557
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(hostingId) }, queryOptions);
|
|
2558
|
+
};
|
|
2559
|
+
/**
|
|
2560
|
+
* @summary List Git repositories
|
|
2561
|
+
*/
|
|
2562
|
+
export function useHostingRepoList(hostingId, options) {
|
|
2563
|
+
const queryOptions = getHostingRepoListQueryOptions(hostingId, options);
|
|
2564
|
+
const query = useQuery(queryOptions);
|
|
2565
|
+
query.queryKey = queryOptions.queryKey;
|
|
2566
|
+
return query;
|
|
2567
|
+
}
|
|
2568
|
+
/**
|
|
2569
|
+
* Clone a new Git repo or pull latest changes into the given path (deployment)
|
|
2570
|
+
* @summary Clone or pull Git repository(deploy)
|
|
2571
|
+
*/
|
|
2572
|
+
export const hostingRepoSync = (hostingId, hostingRepoSyncBody, options) => {
|
|
2573
|
+
return axios.post(`/v1/hosting/${hostingId}/git-repos`, hostingRepoSyncBody, options);
|
|
2574
|
+
};
|
|
2575
|
+
export const getHostingRepoSyncMutationOptions = (options) => {
|
|
2576
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
2577
|
+
const mutationFn = (props) => {
|
|
2578
|
+
const { hostingId, data } = props !== null && props !== void 0 ? props : {};
|
|
2579
|
+
return hostingRepoSync(hostingId, data, axiosOptions);
|
|
2580
|
+
};
|
|
2581
|
+
return Object.assign({ mutationFn }, mutationOptions);
|
|
2582
|
+
};
|
|
2583
|
+
/**
|
|
2584
|
+
* @summary Clone or pull Git repository(deploy)
|
|
2585
|
+
*/
|
|
2586
|
+
export const useHostingRepoSync = (options) => {
|
|
2587
|
+
const mutationOptions = getHostingRepoSyncMutationOptions(options);
|
|
2588
|
+
return useMutation(mutationOptions);
|
|
2589
|
+
};
|
|
2590
|
+
/**
|
|
2591
|
+
* Deletes the local clone of a Git repository at the specified path
|
|
2592
|
+
* @summary Delete Git repository
|
|
2593
|
+
*/
|
|
2594
|
+
export const hostingRepo = (hostingId, hostingRepoBody, options) => {
|
|
2595
|
+
return axios.delete(`/v1/hosting/${hostingId}/git-repos`, Object.assign({ data: hostingRepoBody }, options));
|
|
2596
|
+
};
|
|
2597
|
+
export const getHostingRepoMutationOptions = (options) => {
|
|
2598
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
2599
|
+
const mutationFn = (props) => {
|
|
2600
|
+
const { hostingId, data } = props !== null && props !== void 0 ? props : {};
|
|
2601
|
+
return hostingRepo(hostingId, data, axiosOptions);
|
|
2602
|
+
};
|
|
2603
|
+
return Object.assign({ mutationFn }, mutationOptions);
|
|
2604
|
+
};
|
|
2605
|
+
/**
|
|
2606
|
+
* @summary Delete Git repository
|
|
2607
|
+
*/
|
|
2608
|
+
export const useHostingRepo = (options) => {
|
|
2609
|
+
const mutationOptions = getHostingRepoMutationOptions(options);
|
|
2610
|
+
return useMutation(mutationOptions);
|
|
2611
|
+
};
|
|
2612
|
+
/**
|
|
2613
|
+
* Returns the deployment log for a Git repository identified by the path
|
|
2614
|
+
* @summary View Git repository deployment log
|
|
2615
|
+
*/
|
|
2616
|
+
export const hostingRepoLog = (hostingId, params, options) => {
|
|
2617
|
+
return axios.get(`/v1/hosting/${hostingId}/git-repos/log`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
|
|
2618
|
+
};
|
|
2619
|
+
export const getHostingRepoLogQueryKey = (hostingId, params) => {
|
|
2620
|
+
return [`/v1/hosting/${hostingId}/git-repos/log`, ...(params ? [params] : [])];
|
|
2621
|
+
};
|
|
2622
|
+
export const getHostingRepoLogQueryOptions = (hostingId, params, options) => {
|
|
2623
|
+
var _a;
|
|
2624
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
2625
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getHostingRepoLogQueryKey(hostingId, params);
|
|
2626
|
+
const queryFn = ({ signal }) => hostingRepoLog(hostingId, params, Object.assign({ signal }, axiosOptions));
|
|
2627
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(hostingId) }, queryOptions);
|
|
2628
|
+
};
|
|
2629
|
+
/**
|
|
2630
|
+
* @summary View Git repository deployment log
|
|
2631
|
+
*/
|
|
2632
|
+
export function useHostingRepoLog(hostingId, params, options) {
|
|
2633
|
+
const queryOptions = getHostingRepoLogQueryOptions(hostingId, params, options);
|
|
2634
|
+
const query = useQuery(queryOptions);
|
|
2635
|
+
query.queryKey = queryOptions.queryKey;
|
|
2636
|
+
return query;
|
|
2637
|
+
}
|
|
2570
2638
|
/**
|
|
2571
2639
|
* Hotlink configuration details
|
|
2572
2640
|
* @summary Hotlink configuration details
|
|
@@ -2829,34 +2897,6 @@ export const useHostingMigrations = (options) => {
|
|
|
2829
2897
|
const mutationOptions = getHostingMigrationsMutationOptions(options);
|
|
2830
2898
|
return useMutation(mutationOptions);
|
|
2831
2899
|
};
|
|
2832
|
-
/**
|
|
2833
|
-
* Checks if Migration ID exists, indicating the site migration is in progress or completed
|
|
2834
|
-
* @deprecated
|
|
2835
|
-
* @summary Deprecated Migration ID check
|
|
2836
|
-
*/
|
|
2837
|
-
export const hostingMigrationsCheck = (hostingId, params, options) => {
|
|
2838
|
-
return axios.get(`/v1/hosting/${hostingId}/migrations/check`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
|
|
2839
|
-
};
|
|
2840
|
-
export const getHostingMigrationsCheckQueryKey = (hostingId, params) => {
|
|
2841
|
-
return [`/v1/hosting/${hostingId}/migrations/check`, ...(params ? [params] : [])];
|
|
2842
|
-
};
|
|
2843
|
-
export const getHostingMigrationsCheckQueryOptions = (hostingId, params, options) => {
|
|
2844
|
-
var _a;
|
|
2845
|
-
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
2846
|
-
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getHostingMigrationsCheckQueryKey(hostingId, params);
|
|
2847
|
-
const queryFn = ({ signal }) => hostingMigrationsCheck(hostingId, params, Object.assign({ signal }, axiosOptions));
|
|
2848
|
-
return Object.assign({ queryKey, queryFn, enabled: !!(hostingId) }, queryOptions);
|
|
2849
|
-
};
|
|
2850
|
-
/**
|
|
2851
|
-
* @deprecated
|
|
2852
|
-
* @summary Deprecated Migration ID check
|
|
2853
|
-
*/
|
|
2854
|
-
export function useHostingMigrationsCheck(hostingId, params, options) {
|
|
2855
|
-
const queryOptions = getHostingMigrationsCheckQueryOptions(hostingId, params, options);
|
|
2856
|
-
const query = useQuery(queryOptions);
|
|
2857
|
-
query.queryKey = queryOptions.queryKey;
|
|
2858
|
-
return query;
|
|
2859
|
-
}
|
|
2860
2900
|
/**
|
|
2861
2901
|
* Post migration event to CWM
|
|
2862
2902
|
* @summary hosting migrations event
|
|
@@ -5305,6 +5345,7 @@ export function useAddonsSitelockSsoV2(addonId, params, options) {
|
|
|
5305
5345
|
}
|
|
5306
5346
|
/**
|
|
5307
5347
|
* Backup create
|
|
5348
|
+
* @deprecated
|
|
5308
5349
|
* @summary Backup create
|
|
5309
5350
|
*/
|
|
5310
5351
|
export const backupCreateV2 = (addonId, backupCreateV2Body, options) => {
|
|
@@ -5319,6 +5360,7 @@ export const getBackupCreateV2MutationOptions = (options) => {
|
|
|
5319
5360
|
return Object.assign({ mutationFn }, mutationOptions);
|
|
5320
5361
|
};
|
|
5321
5362
|
/**
|
|
5363
|
+
* @deprecated
|
|
5322
5364
|
* @summary Backup create
|
|
5323
5365
|
*/
|
|
5324
5366
|
export const useBackupCreateV2 = (options) => {
|
|
@@ -5853,6 +5895,28 @@ export function useSiteUsersV2(siteId, params, options) {
|
|
|
5853
5895
|
query.queryKey = queryOptions.queryKey;
|
|
5854
5896
|
return query;
|
|
5855
5897
|
}
|
|
5898
|
+
/**
|
|
5899
|
+
* Backup create
|
|
5900
|
+
* @summary Backup create
|
|
5901
|
+
*/
|
|
5902
|
+
export const backupCreateV3 = (addonId, backupCreateV3Body, options) => {
|
|
5903
|
+
return axios.post(`/v3/addons/${addonId}/backup/create`, backupCreateV3Body, options);
|
|
5904
|
+
};
|
|
5905
|
+
export const getBackupCreateV3MutationOptions = (options) => {
|
|
5906
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
5907
|
+
const mutationFn = (props) => {
|
|
5908
|
+
const { addonId, data } = props !== null && props !== void 0 ? props : {};
|
|
5909
|
+
return backupCreateV3(addonId, data, axiosOptions);
|
|
5910
|
+
};
|
|
5911
|
+
return Object.assign({ mutationFn }, mutationOptions);
|
|
5912
|
+
};
|
|
5913
|
+
/**
|
|
5914
|
+
* @summary Backup create
|
|
5915
|
+
*/
|
|
5916
|
+
export const useBackupCreateV3 = (options) => {
|
|
5917
|
+
const mutationOptions = getBackupCreateV3MutationOptions(options);
|
|
5918
|
+
return useMutation(mutationOptions);
|
|
5919
|
+
};
|
|
5856
5920
|
/**
|
|
5857
5921
|
* Import public ssh key
|
|
5858
5922
|
* @summary Import ssh key
|
package/src/index.msw.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { http } from 'msw';
|
|
2
|
-
import type { AccessLogs200, AccountEventList200, AccountHostingList200, AccountPublicKey200, AccountPublicKeyCreate200, AccountPublicKeyDelete200, AccountPublicKeyToggle200, AccountPublicKeys200, ActivityLog200, AddCron200, AddHostingRedirects200, AddIndex200, AddPrivacy200, AddSiteIpaddress200,
|
|
2
|
+
import type { AccessLogs200, AccountEventList200, AccountHostingList200, AccountPublicKey200, AccountPublicKeyCreate200, AccountPublicKeyDelete200, AccountPublicKeyToggle200, AccountPublicKeys200, ActivityLog200, AddCron200, AddHostingRedirects200, AddIndex200, AddPrivacy200, AddSiteIpaddress200, AddonsCloudflare200, AddonsInfo200, AddonsJetpackValidate200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSpamexpertsSso200, BackupCreateV2200, BackupCreateV3200, BackupDownloadV2200, BackupInitiate200, BackupList200, BackupListV2200, BackupRestoreV2200, BackupStatus200, BackupStatusV2200, BackupsJetpackBackup200, 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, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, EditPrivacy200, EmailSso200, ErrorPagesAdd200, ErrorPagesDelete200, ErrorPagesFetch200, HostingAccount200, HostingAddons200, HostingAdvancedDns200, HostingAdvancedDnsUpdate200, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesCheck200, HostingAdvancedPassword200, HostingAdvancedServer200, HostingAdvancedServerStatus200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingCapabilities200, HostingDbAuthorizedHosts200, HostingDbAuthorizedHostsAdd200, HostingDbAuthorizedHostsDelete200, HostingDbAuthorizedHostsUpdate200, HostingDomainAssign200, HostingDomainAvailability200, HostingDomainsUnassign200, HostingDomainsUnassignV2200, HostingEcommerceInfo200, HostingEmailAdd200, HostingEmailDelete200, HostingEmailFolderList200, HostingEmailForwarderAdd200, HostingEmailForwarderDelete200, HostingEmailForwardersList200, HostingEmailList200, HostingEmailSuspend200, HostingEmailUpdate200, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpList200, HostingFtpUpdate200, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingMigrationInfo200, HostingMigrationSiteScanStatus200, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsEvent200, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingRedirect200, HostingRedirects200Item, HostingRedirectsV2200Item, HostingRepo200, HostingRepoList200Item, HostingRepoLog200, HostingRepoSync200, HostingResellerSsoWhm200, HostingServerHits200, HostingShellInfo200, HostingShellToggle200, HostingSiteAdd200, HostingSiteAddV2200, HostingSitesV2200, HostingSshInfo200, HostingVisitors200, HotlinkconfigAdd200, HotlinkconfigDelete200, HotlinkconfigDetails200, Index200, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListIndex200, PasswordGenerate200, PasswordScore200, PhpErrors200, Privacy200, PrivacyUser200, ProductLicenseDetails200, RepairDatabase200, ResetSite200, Site200, SiteAddonCloudflare200, SiteAddonWpsolution200, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginUpdate200, SitePlugins200, SitePluginsAutoupdate200, SitePluginsToggle200, SitePluginsUpdate200, SiteQualityMetrics200, SiteStatus200, SiteUpdate200, SiteUsers200, SiteUsersV2200, SitesAccessLogs200, SitesAtomicMetrics200, SitesAutoupdatesResponse, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBatch200, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDomain200, SitesDomainUrl200, SitesDomainsCreate200, SitesDomainsV2200, SitesErrorLogs200, SitesHasBackups200, SitesInfo200, SitesListV2200, SitesListV3200, SitesMetricDimensions200, SitesMetricsDimensionAveraged200, SitesPerformanceCachepurge200, SitesPerformanceEdgecache200, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockV2200, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserDelete200, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSsl200, SitesSso200, SitesVersion200, SshKey200, SshKeyFetch200, SshKeyGenerate200, SshKeyImport200, SshKeyImportV2200, SshKeyImportV3200, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, Sso200, StagingSitePromote200, UpdateCron200, WebzaiSso200, WeeblySso200 } from './index.schemas';
|
|
3
3
|
export declare const getAccountEventListResponseMock: (overrideResponse?: Partial<AccountEventList200>) => AccountEventList200;
|
|
4
4
|
export declare const getAccountHostingListResponseMock: (overrideResponse?: Partial<AccountHostingList200>) => AccountHostingList200;
|
|
5
5
|
export declare const getAccountPublicKeysResponseMock: (overrideResponse?: Partial<AccountPublicKeys200>) => AccountPublicKeys200;
|
|
@@ -57,7 +57,6 @@ export declare const getHostingAdvancedPasswordResponseMock: (overrideResponse?:
|
|
|
57
57
|
export declare const getHostingAdvancedSsoWhmResponseMock: (overrideResponse?: Partial<HostingAdvancedSsoWhm200>) => HostingAdvancedSsoWhm200;
|
|
58
58
|
export declare const getHostingAdvancedSystemConsoleResponseMock: (overrideResponse?: Partial<HostingAdvancedSystemConsole200>) => HostingAdvancedSystemConsole200;
|
|
59
59
|
export declare const getHostingCapabilitiesResponseMock: (overrideResponse?: Partial<HostingCapabilities200>) => HostingCapabilities200;
|
|
60
|
-
export declare const getAddonCloudflareResponseMock: (overrideResponse?: Partial<AddonCloudflare200>) => AddonCloudflare200;
|
|
61
60
|
export declare const getListCronsResponseMock: (overrideResponse?: Partial<ListCrons200>) => ListCrons200;
|
|
62
61
|
export declare const getAddCronResponseMock: (overrideResponse?: Partial<AddCron200>) => AddCron200;
|
|
63
62
|
export declare const getUpdateCronResponseMock: (overrideResponse?: Partial<UpdateCron200>) => UpdateCron200;
|
|
@@ -65,7 +64,6 @@ export declare const getCronResponseMock: (overrideResponse?: Partial<Cron200>)
|
|
|
65
64
|
export declare const getCronLastRunResponseMock: (overrideResponse?: Partial<CronLastRun200>) => CronLastRun200;
|
|
66
65
|
export declare const getDbAddResponseMock: (overrideResponse?: Partial<DbAdd200>) => DbAdd200;
|
|
67
66
|
export declare const getDbResponseMock: (overrideResponse?: Partial<Db200>) => Db200;
|
|
68
|
-
export declare const getDbListResponseMock: (overrideResponse?: Partial<DbList200>) => DbList200;
|
|
69
67
|
export declare const getHostingDbAuthorizedHostsResponseMock: (overrideResponse?: Partial<HostingDbAuthorizedHosts200>) => HostingDbAuthorizedHosts200;
|
|
70
68
|
export declare const getHostingDbAuthorizedHostsAddResponseMock: (overrideResponse?: Partial<HostingDbAuthorizedHostsAdd200>) => HostingDbAuthorizedHostsAdd200;
|
|
71
69
|
export declare const getHostingDbAuthorizedHostsUpdateResponseMock: (overrideResponse?: Partial<HostingDbAuthorizedHostsUpdate200>) => HostingDbAuthorizedHostsUpdate200;
|
|
@@ -100,13 +98,18 @@ export declare const getHostingEmailUpdateResponseMock: (overrideResponse?: Part
|
|
|
100
98
|
export declare const getHostingEmailForwardersListResponseMock: (overrideResponse?: Partial<HostingEmailForwardersList200>) => HostingEmailForwardersList200;
|
|
101
99
|
export declare const getHostingEmailForwarderAddResponseMock: (overrideResponse?: Partial<HostingEmailForwarderAdd200>) => HostingEmailForwarderAdd200;
|
|
102
100
|
export declare const getHostingEmailForwarderDeleteResponseMock: (overrideResponse?: Partial<HostingEmailForwarderDelete200>) => HostingEmailForwarderDelete200;
|
|
101
|
+
export declare const getEmailSsoResponseMock: (overrideResponse?: Partial<EmailSso200>) => EmailSso200;
|
|
103
102
|
export declare const getHostingEmailSuspendResponseMock: (overrideResponse?: Partial<HostingEmailSuspend200>) => HostingEmailSuspend200;
|
|
104
|
-
export declare const
|
|
103
|
+
export declare const getHostingEmailFolderListResponseMock: (overrideResponse?: Partial<HostingEmailFolderList200>) => HostingEmailFolderList200;
|
|
105
104
|
export declare const getHostingFixownershipResponseMock: (overrideResponse?: Partial<HostingFixownership200>) => HostingFixownership200;
|
|
106
105
|
export declare const getHostingFtpListResponseMock: (overrideResponse?: Partial<HostingFtpList200>) => HostingFtpList200;
|
|
107
106
|
export declare const getHostingFtpAddResponseMock: (overrideResponse?: Partial<HostingFtpAdd200>) => HostingFtpAdd200;
|
|
108
107
|
export declare const getHostingFtpUpdateResponseMock: (overrideResponse?: Partial<HostingFtpUpdate200>) => HostingFtpUpdate200;
|
|
109
108
|
export declare const getHostingFtpResponseMock: (overrideResponse?: Partial<HostingFtp200>) => HostingFtp200;
|
|
109
|
+
export declare const getHostingRepoListResponseMock: () => HostingRepoList200Item[];
|
|
110
|
+
export declare const getHostingRepoSyncResponseMock: (overrideResponse?: Partial<HostingRepoSync200>) => HostingRepoSync200;
|
|
111
|
+
export declare const getHostingRepoResponseMock: (overrideResponse?: Partial<HostingRepo200>) => HostingRepo200;
|
|
112
|
+
export declare const getHostingRepoLogResponseMock: (overrideResponse?: Partial<HostingRepoLog200>) => HostingRepoLog200;
|
|
110
113
|
export declare const getHotlinkconfigDetailsResponseMock: (overrideResponse?: Partial<HotlinkconfigDetails200>) => HotlinkconfigDetails200;
|
|
111
114
|
export declare const getHotlinkconfigAddResponseMock: (overrideResponse?: Partial<HotlinkconfigAdd200>) => HotlinkconfigAdd200;
|
|
112
115
|
export declare const getHotlinkconfigDeleteResponseMock: (overrideResponse?: Partial<HotlinkconfigDelete200>) => HotlinkconfigDelete200;
|
|
@@ -118,7 +121,6 @@ export declare const getHostingInfoDiskUsageResponseMock: (overrideResponse?: Pa
|
|
|
118
121
|
export declare const getHostingLeadResponseMock: (overrideResponse?: Partial<HostingLead200>) => HostingLead200;
|
|
119
122
|
export declare const getHostingMigrationStatusResponseMock: (overrideResponse?: Partial<HostingMigrationStatus200>) => HostingMigrationStatus200;
|
|
120
123
|
export declare const getHostingMigrationsResponseMock: (overrideResponse?: Partial<HostingMigrations200>) => HostingMigrations200;
|
|
121
|
-
export declare const getHostingMigrationsCheckResponseMock: (overrideResponse?: Partial<HostingMigrationsCheck200>) => HostingMigrationsCheck200;
|
|
122
124
|
export declare const getHostingMigrationsEventResponseMock: (overrideResponse?: Partial<HostingMigrationsEvent200>) => HostingMigrationsEvent200;
|
|
123
125
|
export declare const getHostingMigrationInfoResponseMock: (overrideResponse?: Partial<HostingMigrationInfo200>) => HostingMigrationInfo200;
|
|
124
126
|
export declare const getHostingMigrationSiteScanStatusResponseMock: (overrideResponse?: Partial<HostingMigrationSiteScanStatus200>) => HostingMigrationSiteScanStatus200;
|
|
@@ -238,6 +240,7 @@ export declare const getSiteMalwareStatusV2ResponseMock: (overrideResponse?: Par
|
|
|
238
240
|
export declare const getSitesSecuritySitelockV2ResponseMock: (overrideResponse?: Partial<SitesSecuritySitelockV2200>) => SitesSecuritySitelockV2200;
|
|
239
241
|
export declare const getSitesSshUserListV2ResponseMock: (overrideResponse?: Partial<SitesSshUserListV2200>) => SitesSshUserListV2200;
|
|
240
242
|
export declare const getSiteUsersV2ResponseMock: (overrideResponse?: Partial<SiteUsersV2200>) => SiteUsersV2200;
|
|
243
|
+
export declare const getBackupCreateV3ResponseMock: (overrideResponse?: Partial<BackupCreateV3200>) => BackupCreateV3200;
|
|
241
244
|
export declare const getSshKeyImportV3ResponseMock: (overrideResponse?: Partial<SshKeyImportV3200>) => SshKeyImportV3200;
|
|
242
245
|
export declare const getSshKeyListV3ResponseMock: (overrideResponse?: Partial<SshKeyListV3200>) => SshKeyListV3200;
|
|
243
246
|
export declare const getSitesListV3ResponseMock: (overrideResponse?: Partial<SitesListV3200>) => SitesListV3200;
|
|
@@ -299,7 +302,6 @@ export declare const getHostingAdvancedPasswordMockHandler: (overrideResponse?:
|
|
|
299
302
|
export declare const getHostingAdvancedSsoWhmMockHandler: (overrideResponse?: HostingAdvancedSsoWhm200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingAdvancedSsoWhm200> | HostingAdvancedSsoWhm200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
300
303
|
export declare const getHostingAdvancedSystemConsoleMockHandler: (overrideResponse?: HostingAdvancedSystemConsole200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingAdvancedSystemConsole200> | HostingAdvancedSystemConsole200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
301
304
|
export declare const getHostingCapabilitiesMockHandler: (overrideResponse?: HostingCapabilities200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingCapabilities200> | HostingCapabilities200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
302
|
-
export declare const getAddonCloudflareMockHandler: (overrideResponse?: AddonCloudflare200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<AddonCloudflare200> | AddonCloudflare200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
303
305
|
export declare const getListCronsMockHandler: (overrideResponse?: ListCrons200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ListCrons200> | ListCrons200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
304
306
|
export declare const getAddCronMockHandler: (overrideResponse?: AddCron200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<AddCron200> | AddCron200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
305
307
|
export declare const getUpdateCronMockHandler: (overrideResponse?: UpdateCron200 | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<UpdateCron200> | UpdateCron200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
@@ -307,7 +309,6 @@ export declare const getCronMockHandler: (overrideResponse?: Cron200 | ((info: P
|
|
|
307
309
|
export declare const getCronLastRunMockHandler: (overrideResponse?: CronLastRun200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<CronLastRun200> | CronLastRun200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
308
310
|
export declare const getDbAddMockHandler: (overrideResponse?: DbAdd200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<DbAdd200> | DbAdd200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
309
311
|
export declare const getDbMockHandler: (overrideResponse?: Db200 | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<Db200> | Db200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
310
|
-
export declare const getDbListMockHandler: (overrideResponse?: DbList200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DbList200> | DbList200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
311
312
|
export declare const getHostingDbAuthorizedHostsMockHandler: (overrideResponse?: HostingDbAuthorizedHosts200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingDbAuthorizedHosts200> | HostingDbAuthorizedHosts200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
312
313
|
export declare const getHostingDbAuthorizedHostsAddMockHandler: (overrideResponse?: HostingDbAuthorizedHostsAdd200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<HostingDbAuthorizedHostsAdd200> | HostingDbAuthorizedHostsAdd200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
313
314
|
export declare const getHostingDbAuthorizedHostsUpdateMockHandler: (overrideResponse?: HostingDbAuthorizedHostsUpdate200 | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<HostingDbAuthorizedHostsUpdate200> | HostingDbAuthorizedHostsUpdate200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
@@ -342,13 +343,18 @@ export declare const getHostingEmailUpdateMockHandler: (overrideResponse?: Hosti
|
|
|
342
343
|
export declare const getHostingEmailForwardersListMockHandler: (overrideResponse?: HostingEmailForwardersList200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingEmailForwardersList200> | HostingEmailForwardersList200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
343
344
|
export declare const getHostingEmailForwarderAddMockHandler: (overrideResponse?: HostingEmailForwarderAdd200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<HostingEmailForwarderAdd200> | HostingEmailForwarderAdd200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
344
345
|
export declare const getHostingEmailForwarderDeleteMockHandler: (overrideResponse?: HostingEmailForwarderDelete200 | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<HostingEmailForwarderDelete200> | HostingEmailForwarderDelete200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
346
|
+
export declare const getEmailSsoMockHandler: (overrideResponse?: EmailSso200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<EmailSso200> | EmailSso200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
345
347
|
export declare const getHostingEmailSuspendMockHandler: (overrideResponse?: HostingEmailSuspend200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<HostingEmailSuspend200> | HostingEmailSuspend200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
346
|
-
export declare const
|
|
348
|
+
export declare const getHostingEmailFolderListMockHandler: (overrideResponse?: HostingEmailFolderList200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingEmailFolderList200> | HostingEmailFolderList200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
347
349
|
export declare const getHostingFixownershipMockHandler: (overrideResponse?: HostingFixownership200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<HostingFixownership200> | HostingFixownership200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
348
350
|
export declare const getHostingFtpListMockHandler: (overrideResponse?: HostingFtpList200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingFtpList200> | HostingFtpList200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
349
351
|
export declare const getHostingFtpAddMockHandler: (overrideResponse?: HostingFtpAdd200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<HostingFtpAdd200> | HostingFtpAdd200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
350
352
|
export declare const getHostingFtpUpdateMockHandler: (overrideResponse?: HostingFtpUpdate200 | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<HostingFtpUpdate200> | HostingFtpUpdate200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
351
353
|
export declare const getHostingFtpMockHandler: (overrideResponse?: HostingFtp200 | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<HostingFtp200> | HostingFtp200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
354
|
+
export declare const getHostingRepoListMockHandler: (overrideResponse?: HostingRepoList200Item[] | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingRepoList200Item[]> | HostingRepoList200Item[]) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
355
|
+
export declare const getHostingRepoSyncMockHandler: (overrideResponse?: HostingRepoSync200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<HostingRepoSync200> | HostingRepoSync200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
356
|
+
export declare const getHostingRepoMockHandler: (overrideResponse?: HostingRepo200 | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<HostingRepo200> | HostingRepo200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
357
|
+
export declare const getHostingRepoLogMockHandler: (overrideResponse?: HostingRepoLog200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingRepoLog200> | HostingRepoLog200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
352
358
|
export declare const getHotlinkconfigDetailsMockHandler: (overrideResponse?: HotlinkconfigDetails200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HotlinkconfigDetails200> | HotlinkconfigDetails200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
353
359
|
export declare const getHotlinkconfigAddMockHandler: (overrideResponse?: HotlinkconfigAdd200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<HotlinkconfigAdd200> | HotlinkconfigAdd200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
354
360
|
export declare const getHotlinkconfigDeleteMockHandler: (overrideResponse?: HotlinkconfigDelete200 | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<HotlinkconfigDelete200> | HotlinkconfigDelete200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
@@ -360,7 +366,6 @@ export declare const getHostingInfoDiskUsageMockHandler: (overrideResponse?: Hos
|
|
|
360
366
|
export declare const getHostingLeadMockHandler: (overrideResponse?: HostingLead200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<HostingLead200> | HostingLead200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
361
367
|
export declare const getHostingMigrationStatusMockHandler: (overrideResponse?: HostingMigrationStatus200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingMigrationStatus200> | HostingMigrationStatus200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
362
368
|
export declare const getHostingMigrationsMockHandler: (overrideResponse?: HostingMigrations200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<HostingMigrations200> | HostingMigrations200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
363
|
-
export declare const getHostingMigrationsCheckMockHandler: (overrideResponse?: HostingMigrationsCheck200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingMigrationsCheck200> | HostingMigrationsCheck200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
364
369
|
export declare const getHostingMigrationsEventMockHandler: (overrideResponse?: HostingMigrationsEvent200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<HostingMigrationsEvent200> | HostingMigrationsEvent200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
365
370
|
export declare const getHostingMigrationInfoMockHandler: (overrideResponse?: HostingMigrationInfo200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingMigrationInfo200> | HostingMigrationInfo200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
366
371
|
export declare const getHostingMigrationSiteScanStatusMockHandler: (overrideResponse?: HostingMigrationSiteScanStatus200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingMigrationSiteScanStatus200> | HostingMigrationSiteScanStatus200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
@@ -482,6 +487,7 @@ export declare const getSiteMalwareStatusV2MockHandler: (overrideResponse?: Site
|
|
|
482
487
|
export declare const getSitesSecuritySitelockV2MockHandler: (overrideResponse?: SitesSecuritySitelockV2200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SitesSecuritySitelockV2200> | SitesSecuritySitelockV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
483
488
|
export declare const getSitesSshUserListV2MockHandler: (overrideResponse?: SitesSshUserListV2200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SitesSshUserListV2200> | SitesSshUserListV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
484
489
|
export declare const getSiteUsersV2MockHandler: (overrideResponse?: SiteUsersV2200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SiteUsersV2200> | SiteUsersV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
490
|
+
export declare const getBackupCreateV3MockHandler: (overrideResponse?: BackupCreateV3200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<BackupCreateV3200> | BackupCreateV3200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
485
491
|
export declare const getSshKeyImportV3MockHandler: (overrideResponse?: SshKeyImportV3200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<SshKeyImportV3200> | SshKeyImportV3200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
486
492
|
export declare const getSshKeyListV3MockHandler: (overrideResponse?: SshKeyListV3200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SshKeyListV3200> | SshKeyListV3200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
487
493
|
export declare const getSitesListV3MockHandler: (overrideResponse?: SitesListV3200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SitesListV3200> | SitesListV3200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|