@newfold/huapi-js 2.1898.0 → 2.1900.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 +228 -1
- package/src/index.js +183 -1
- package/src/index.msw.d.ts +15 -1
- package/src/index.msw.js +86 -2
- package/src/index.schemas.d.ts +213 -110
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.1900.0
|
|
7
7
|
*/
|
|
8
8
|
import { useInfiniteQuery, useMutation, useQuery } from '@tanstack/react-query';
|
|
9
9
|
import axios from 'axios';
|
|
@@ -299,6 +299,7 @@ export const useCodeguardBackupRestore = (options) => {
|
|
|
299
299
|
};
|
|
300
300
|
/**
|
|
301
301
|
* Returns all database records CodeGuard maintains for this user's account.
|
|
302
|
+
* @deprecated
|
|
302
303
|
* @summary database list
|
|
303
304
|
*/
|
|
304
305
|
export const codeguardDatabaseList = (addonId, options) => {
|
|
@@ -315,6 +316,7 @@ export const getCodeguardDatabaseListQueryOptions = (addonId, options) => {
|
|
|
315
316
|
return Object.assign({ queryKey, queryFn, enabled: !!(addonId) }, queryOptions);
|
|
316
317
|
};
|
|
317
318
|
/**
|
|
319
|
+
* @deprecated
|
|
318
320
|
* @summary database list
|
|
319
321
|
*/
|
|
320
322
|
export function useCodeguardDatabaseList(addonId, options) {
|
|
@@ -325,6 +327,7 @@ export function useCodeguardDatabaseList(addonId, options) {
|
|
|
325
327
|
}
|
|
326
328
|
/**
|
|
327
329
|
* Returns all database backup records CodeGuard maintains for this user's account.
|
|
330
|
+
* @deprecated
|
|
328
331
|
* @summary database backup list
|
|
329
332
|
*/
|
|
330
333
|
export const codeguardDatabaseBackupList = (addonId, params, options) => {
|
|
@@ -341,6 +344,7 @@ export const getCodeguardDatabaseBackupListQueryOptions = (addonId, params, opti
|
|
|
341
344
|
return Object.assign({ queryKey, queryFn, enabled: !!(addonId) }, queryOptions);
|
|
342
345
|
};
|
|
343
346
|
/**
|
|
347
|
+
* @deprecated
|
|
344
348
|
* @summary database backup list
|
|
345
349
|
*/
|
|
346
350
|
export function useCodeguardDatabaseBackupList(addonId, params, options) {
|
|
@@ -351,6 +355,7 @@ export function useCodeguardDatabaseBackupList(addonId, params, options) {
|
|
|
351
355
|
}
|
|
352
356
|
/**
|
|
353
357
|
* Queue the creation of a database backup.
|
|
358
|
+
* @deprecated
|
|
354
359
|
* @summary database backup create
|
|
355
360
|
*/
|
|
356
361
|
export const codeguardDatabaseBackupCreate = (addonId, codeguardDatabaseBackupCreateBody, options) => {
|
|
@@ -365,6 +370,7 @@ export const getCodeguardDatabaseBackupCreateMutationOptions = (options) => {
|
|
|
365
370
|
return Object.assign({ mutationFn }, mutationOptions);
|
|
366
371
|
};
|
|
367
372
|
/**
|
|
373
|
+
* @deprecated
|
|
368
374
|
* @summary database backup create
|
|
369
375
|
*/
|
|
370
376
|
export const useCodeguardDatabaseBackupCreate = (options) => {
|
|
@@ -373,6 +379,7 @@ export const useCodeguardDatabaseBackupCreate = (options) => {
|
|
|
373
379
|
};
|
|
374
380
|
/**
|
|
375
381
|
* Restores a database backup
|
|
382
|
+
* @deprecated
|
|
376
383
|
* @summary database backup restore
|
|
377
384
|
*/
|
|
378
385
|
export const codeguardDatabaseBackupRestore = (addonId, codeguardDatabaseBackupRestoreBody, options) => {
|
|
@@ -387,6 +394,7 @@ export const getCodeguardDatabaseBackupRestoreMutationOptions = (options) => {
|
|
|
387
394
|
return Object.assign({ mutationFn }, mutationOptions);
|
|
388
395
|
};
|
|
389
396
|
/**
|
|
397
|
+
* @deprecated
|
|
390
398
|
* @summary database backup restore
|
|
391
399
|
*/
|
|
392
400
|
export const useCodeguardDatabaseBackupRestore = (options) => {
|
|
@@ -447,6 +455,7 @@ export function useCodeguardPlanInfo(addonId, options) {
|
|
|
447
455
|
}
|
|
448
456
|
/**
|
|
449
457
|
* Returns all website records CodeGuard maintains for this user's account.
|
|
458
|
+
* @deprecated
|
|
450
459
|
* @summary website list
|
|
451
460
|
*/
|
|
452
461
|
export const codeguardWebsiteList = (addonId, options) => {
|
|
@@ -463,6 +472,7 @@ export const getCodeguardWebsiteListQueryOptions = (addonId, options) => {
|
|
|
463
472
|
return Object.assign({ queryKey, queryFn, enabled: !!(addonId) }, queryOptions);
|
|
464
473
|
};
|
|
465
474
|
/**
|
|
475
|
+
* @deprecated
|
|
466
476
|
* @summary website list
|
|
467
477
|
*/
|
|
468
478
|
export function useCodeguardWebsiteList(addonId, options) {
|
|
@@ -473,6 +483,7 @@ export function useCodeguardWebsiteList(addonId, options) {
|
|
|
473
483
|
}
|
|
474
484
|
/**
|
|
475
485
|
* Returns all website backup records CodeGuard maintains for this user's account.
|
|
486
|
+
* @deprecated
|
|
476
487
|
* @summary website backup list
|
|
477
488
|
*/
|
|
478
489
|
export const codeguardWebsiteBackupList = (addonId, params, options) => {
|
|
@@ -489,6 +500,7 @@ export const getCodeguardWebsiteBackupListQueryOptions = (addonId, params, optio
|
|
|
489
500
|
return Object.assign({ queryKey, queryFn, enabled: !!(addonId) }, queryOptions);
|
|
490
501
|
};
|
|
491
502
|
/**
|
|
503
|
+
* @deprecated
|
|
492
504
|
* @summary website backup list
|
|
493
505
|
*/
|
|
494
506
|
export function useCodeguardWebsiteBackupList(addonId, params, options) {
|
|
@@ -499,6 +511,7 @@ export function useCodeguardWebsiteBackupList(addonId, params, options) {
|
|
|
499
511
|
}
|
|
500
512
|
/**
|
|
501
513
|
* Initiate the creation of a new backup for a given website
|
|
514
|
+
* @deprecated
|
|
502
515
|
* @summary website backup create
|
|
503
516
|
*/
|
|
504
517
|
export const codeguardWebsiteBackupCreate = (addonId, codeguardWebsiteBackupCreateBody, options) => {
|
|
@@ -513,6 +526,7 @@ export const getCodeguardWebsiteBackupCreateMutationOptions = (options) => {
|
|
|
513
526
|
return Object.assign({ mutationFn }, mutationOptions);
|
|
514
527
|
};
|
|
515
528
|
/**
|
|
529
|
+
* @deprecated
|
|
516
530
|
* @summary website backup create
|
|
517
531
|
*/
|
|
518
532
|
export const useCodeguardWebsiteBackupCreate = (options) => {
|
|
@@ -521,6 +535,7 @@ export const useCodeguardWebsiteBackupCreate = (options) => {
|
|
|
521
535
|
};
|
|
522
536
|
/**
|
|
523
537
|
* Restores a website backup
|
|
538
|
+
* @deprecated
|
|
524
539
|
* @summary website backup restore
|
|
525
540
|
*/
|
|
526
541
|
export const codeguardWebsiteBackupRestore = (addonId, codeguardWebsiteBackupRestoreBody, options) => {
|
|
@@ -535,6 +550,7 @@ export const getCodeguardWebsiteBackupRestoreMutationOptions = (options) => {
|
|
|
535
550
|
return Object.assign({ mutationFn }, mutationOptions);
|
|
536
551
|
};
|
|
537
552
|
/**
|
|
553
|
+
* @deprecated
|
|
538
554
|
* @summary website backup restore
|
|
539
555
|
*/
|
|
540
556
|
export const useCodeguardWebsiteBackupRestore = (options) => {
|
|
@@ -567,6 +583,150 @@ export function useAddonsSitelockSso(addonId, options) {
|
|
|
567
583
|
query.queryKey = queryOptions.queryKey;
|
|
568
584
|
return query;
|
|
569
585
|
}
|
|
586
|
+
/**
|
|
587
|
+
* Returns a combined backup list with website commit ids and corresponding database commits
|
|
588
|
+
* @summary backup list
|
|
589
|
+
*/
|
|
590
|
+
export const xcitiumBackupList = (addonId, params, options) => {
|
|
591
|
+
return axios.get(`/v1/addons/xcitium/${addonId}/backups`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
|
|
592
|
+
};
|
|
593
|
+
export const getXcitiumBackupListQueryKey = (addonId, params) => {
|
|
594
|
+
return [`/v1/addons/xcitium/${addonId}/backups`, ...(params ? [params] : [])];
|
|
595
|
+
};
|
|
596
|
+
export const getXcitiumBackupListQueryOptions = (addonId, params, options) => {
|
|
597
|
+
var _a;
|
|
598
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
599
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getXcitiumBackupListQueryKey(addonId, params);
|
|
600
|
+
const queryFn = ({ signal }) => xcitiumBackupList(addonId, params, Object.assign({ signal }, axiosOptions));
|
|
601
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(addonId) }, queryOptions);
|
|
602
|
+
};
|
|
603
|
+
/**
|
|
604
|
+
* @summary backup list
|
|
605
|
+
*/
|
|
606
|
+
export function useXcitiumBackupList(addonId, params, options) {
|
|
607
|
+
const queryOptions = getXcitiumBackupListQueryOptions(addonId, params, options);
|
|
608
|
+
const query = useQuery(queryOptions);
|
|
609
|
+
query.queryKey = queryOptions.queryKey;
|
|
610
|
+
return query;
|
|
611
|
+
}
|
|
612
|
+
/**
|
|
613
|
+
* Creates the website backup
|
|
614
|
+
* @summary backup create
|
|
615
|
+
*/
|
|
616
|
+
export const xcitiumBackupCreate = (addonId, xcitiumBackupCreateBody, options) => {
|
|
617
|
+
return axios.post(`/v1/addons/xcitium/${addonId}/backups`, xcitiumBackupCreateBody, options);
|
|
618
|
+
};
|
|
619
|
+
export const getXcitiumBackupCreateMutationOptions = (options) => {
|
|
620
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
621
|
+
const mutationFn = (props) => {
|
|
622
|
+
const { addonId, data } = props !== null && props !== void 0 ? props : {};
|
|
623
|
+
return xcitiumBackupCreate(addonId, data, axiosOptions);
|
|
624
|
+
};
|
|
625
|
+
return Object.assign({ mutationFn }, mutationOptions);
|
|
626
|
+
};
|
|
627
|
+
/**
|
|
628
|
+
* @summary backup create
|
|
629
|
+
*/
|
|
630
|
+
export const useXcitiumBackupCreate = (options) => {
|
|
631
|
+
const mutationOptions = getXcitiumBackupCreateMutationOptions(options);
|
|
632
|
+
return useMutation(mutationOptions);
|
|
633
|
+
};
|
|
634
|
+
/**
|
|
635
|
+
* Queues the backup download.
|
|
636
|
+
* @summary backup download
|
|
637
|
+
*/
|
|
638
|
+
export const xcitiumBackupDownload = (addonId, xcitiumBackupDownloadBody, options) => {
|
|
639
|
+
return axios.post(`/v1/addons/xcitium/${addonId}/backups/download`, xcitiumBackupDownloadBody, options);
|
|
640
|
+
};
|
|
641
|
+
export const getXcitiumBackupDownloadMutationOptions = (options) => {
|
|
642
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
643
|
+
const mutationFn = (props) => {
|
|
644
|
+
const { addonId, data } = props !== null && props !== void 0 ? props : {};
|
|
645
|
+
return xcitiumBackupDownload(addonId, data, axiosOptions);
|
|
646
|
+
};
|
|
647
|
+
return Object.assign({ mutationFn }, mutationOptions);
|
|
648
|
+
};
|
|
649
|
+
/**
|
|
650
|
+
* @summary backup download
|
|
651
|
+
*/
|
|
652
|
+
export const useXcitiumBackupDownload = (options) => {
|
|
653
|
+
const mutationOptions = getXcitiumBackupDownloadMutationOptions(options);
|
|
654
|
+
return useMutation(mutationOptions);
|
|
655
|
+
};
|
|
656
|
+
/**
|
|
657
|
+
* Restores a website and database backup
|
|
658
|
+
* @summary backups restore
|
|
659
|
+
*/
|
|
660
|
+
export const xcitiumBackupRestore = (addonId, xcitiumBackupRestoreBody, options) => {
|
|
661
|
+
return axios.post(`/v1/addons/xcitium/${addonId}/backups/restore`, xcitiumBackupRestoreBody, options);
|
|
662
|
+
};
|
|
663
|
+
export const getXcitiumBackupRestoreMutationOptions = (options) => {
|
|
664
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
665
|
+
const mutationFn = (props) => {
|
|
666
|
+
const { addonId, data } = props !== null && props !== void 0 ? props : {};
|
|
667
|
+
return xcitiumBackupRestore(addonId, data, axiosOptions);
|
|
668
|
+
};
|
|
669
|
+
return Object.assign({ mutationFn }, mutationOptions);
|
|
670
|
+
};
|
|
671
|
+
/**
|
|
672
|
+
* @summary backups restore
|
|
673
|
+
*/
|
|
674
|
+
export const useXcitiumBackupRestore = (options) => {
|
|
675
|
+
const mutationOptions = getXcitiumBackupRestoreMutationOptions(options);
|
|
676
|
+
return useMutation(mutationOptions);
|
|
677
|
+
};
|
|
678
|
+
/**
|
|
679
|
+
* Returns the subscribed plan and usage info
|
|
680
|
+
* @summary plan info
|
|
681
|
+
*/
|
|
682
|
+
export const xcitiumPlanInfo = (addonId, options) => {
|
|
683
|
+
return axios.get(`/v1/addons/xcitium/${addonId}/plan`, options);
|
|
684
|
+
};
|
|
685
|
+
export const getXcitiumPlanInfoQueryKey = (addonId) => {
|
|
686
|
+
return [`/v1/addons/xcitium/${addonId}/plan`];
|
|
687
|
+
};
|
|
688
|
+
export const getXcitiumPlanInfoQueryOptions = (addonId, options) => {
|
|
689
|
+
var _a;
|
|
690
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
691
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getXcitiumPlanInfoQueryKey(addonId);
|
|
692
|
+
const queryFn = ({ signal }) => xcitiumPlanInfo(addonId, Object.assign({ signal }, axiosOptions));
|
|
693
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(addonId) }, queryOptions);
|
|
694
|
+
};
|
|
695
|
+
/**
|
|
696
|
+
* @summary plan info
|
|
697
|
+
*/
|
|
698
|
+
export function useXcitiumPlanInfo(addonId, options) {
|
|
699
|
+
const queryOptions = getXcitiumPlanInfoQueryOptions(addonId, options);
|
|
700
|
+
const query = useQuery(queryOptions);
|
|
701
|
+
query.queryKey = queryOptions.queryKey;
|
|
702
|
+
return query;
|
|
703
|
+
}
|
|
704
|
+
/**
|
|
705
|
+
* Returns an SSO URL that can be used to access the user's Xcitium dashboard.
|
|
706
|
+
* @summary Xcitium SSO link
|
|
707
|
+
*/
|
|
708
|
+
export const xcitiumSso = (addonId, options) => {
|
|
709
|
+
return axios.get(`/v1/addons/xcitium/${addonId}/sso`, options);
|
|
710
|
+
};
|
|
711
|
+
export const getXcitiumSsoQueryKey = (addonId) => {
|
|
712
|
+
return [`/v1/addons/xcitium/${addonId}/sso`];
|
|
713
|
+
};
|
|
714
|
+
export const getXcitiumSsoQueryOptions = (addonId, options) => {
|
|
715
|
+
var _a;
|
|
716
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
717
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getXcitiumSsoQueryKey(addonId);
|
|
718
|
+
const queryFn = ({ signal }) => xcitiumSso(addonId, Object.assign({ signal }, axiosOptions));
|
|
719
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(addonId) }, queryOptions);
|
|
720
|
+
};
|
|
721
|
+
/**
|
|
722
|
+
* @summary Xcitium SSO link
|
|
723
|
+
*/
|
|
724
|
+
export function useXcitiumSso(addonId, options) {
|
|
725
|
+
const queryOptions = getXcitiumSsoQueryOptions(addonId, options);
|
|
726
|
+
const query = useQuery(queryOptions);
|
|
727
|
+
query.queryKey = queryOptions.queryKey;
|
|
728
|
+
return query;
|
|
729
|
+
}
|
|
570
730
|
/**
|
|
571
731
|
* Backup initiate
|
|
572
732
|
* @summary Backup initiate
|
|
@@ -4850,6 +5010,28 @@ export const useBackupsJetpackBackup = (options) => {
|
|
|
4850
5010
|
const mutationOptions = getBackupsJetpackBackupMutationOptions(options);
|
|
4851
5011
|
return useMutation(mutationOptions);
|
|
4852
5012
|
};
|
|
5013
|
+
/**
|
|
5014
|
+
* Adds the site to the Xcitium account
|
|
5015
|
+
* @summary Add site to xcitium
|
|
5016
|
+
*/
|
|
5017
|
+
export const sitesBackupsXcitium = (siteId, options) => {
|
|
5018
|
+
return axios.post(`/v1/sites/${siteId}/backups/xcitium`, undefined, options);
|
|
5019
|
+
};
|
|
5020
|
+
export const getSitesBackupsXcitiumMutationOptions = (options) => {
|
|
5021
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
5022
|
+
const mutationFn = (props) => {
|
|
5023
|
+
const { siteId } = props !== null && props !== void 0 ? props : {};
|
|
5024
|
+
return sitesBackupsXcitium(siteId, axiosOptions);
|
|
5025
|
+
};
|
|
5026
|
+
return Object.assign({ mutationFn }, mutationOptions);
|
|
5027
|
+
};
|
|
5028
|
+
/**
|
|
5029
|
+
* @summary Add site to xcitium
|
|
5030
|
+
*/
|
|
5031
|
+
export const useSitesBackupsXcitium = (options) => {
|
|
5032
|
+
const mutationOptions = getSitesBackupsXcitiumMutationOptions(options);
|
|
5033
|
+
return useMutation(mutationOptions);
|
|
5034
|
+
};
|
|
4853
5035
|
/**
|
|
4854
5036
|
* Creates cloudflare basic addon using site_id
|
|
4855
5037
|
* @summary Install cloudflare basic addon using site_id
|
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, AddonsSpamexpertsSso200, AddonsSync200, AllUserMonarxDetails200, BackupCreateOndemandV1200, BackupCreateV2200, BackupCreateV3200, BackupDownloadV2200, BackupInitiate200, BackupList200, BackupListV2200, BackupListV3200, BackupMeta200, BackupPrefSetStatus200, BackupRestoreV2200, BackupRestoreV3200, BackupSettings200, BackupSettingsCreate200, BackupSettingsUpdate200, BackupStatus200, BackupStatusV2200, BackupUsage200, 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, DomainEmailDeliverability200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsSetEntriUsed200, DomainsUnsetEntriUsed200, EditPrivacy200, EmailSso200, ErrorPagesAdd200, ErrorPagesDelete200, ErrorPagesFetch200, HostingAccount200, HostingAddons200, HostingAdvancedDns200, HostingAdvancedDnsUpdate200, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesCheck200, HostingAdvancedImages200, HostingAdvancedPassword200, HostingAdvancedServer200, HostingAdvancedServerStatus200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, 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, HostingSshInfo200, HostingVisitors200, HotlinkconfigAdd200, HotlinkconfigDelete200, HotlinkconfigDetails200, Index200, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListIndex200, MonarxAddonReportUrl200, MonarxAddonSealGeneration200, PasswordGenerate200, PasswordScore200, PhpErrors200, Privacy200, PrivacyUser200, ProductLicenseDetails200, PublicImages200, 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, 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, WebzaiSso200, WeeblySso200 } from './index.schemas';
|
|
2
|
+
import type { AccessLogs200, AccountEventList200, AccountFeatures200, AccountHostingList200, AccountPublicKey200, AccountPublicKeyCreate200, AccountPublicKeyDelete200, AccountPublicKeyToggle200, AccountPublicKeys200, ActivityLog200, AddCron200, AddHostingRedirects200, AddIndex200, AddPrivacy200, AddSiteIpaddress200, AddonsCloudflare200, AddonsCloudflareExternalNsCheck200, AddonsInfo200, AddonsJetpackValidate200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSpamexpertsSso200, AddonsSync200, AllUserMonarxDetails200, BackupCreateOndemandV1200, BackupCreateV2200, BackupCreateV3200, BackupDownloadV2200, BackupInitiate200, BackupList200, BackupListV2200, BackupListV3200, BackupMeta200, BackupPrefSetStatus200, BackupRestoreV2200, BackupRestoreV3200, BackupSettings200, BackupSettingsCreate200, BackupSettingsUpdate200, BackupStatus200, BackupStatusV2200, BackupUsage200, 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, DomainEmailDeliverability200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsSetEntriUsed200, DomainsUnsetEntriUsed200, EditPrivacy200, EmailSso200, ErrorPagesAdd200, ErrorPagesDelete200, ErrorPagesFetch200, HostingAccount200, HostingAddons200, HostingAdvancedDns200, HostingAdvancedDnsUpdate200, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesCheck200, HostingAdvancedImages200, HostingAdvancedPassword200, HostingAdvancedServer200, HostingAdvancedServerStatus200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, 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, HostingSshInfo200, HostingVisitors200, HotlinkconfigAdd200, HotlinkconfigDelete200, HotlinkconfigDetails200, Index200, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListIndex200, MonarxAddonReportUrl200, MonarxAddonSealGeneration200, PasswordGenerate200, PasswordScore200, PhpErrors200, Privacy200, PrivacyUser200, ProductLicenseDetails200, PublicImages200, 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, 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;
|
|
@@ -23,6 +23,12 @@ export declare const getCodeguardWebsiteBackupListResponseMock: (overrideRespons
|
|
|
23
23
|
export declare const getCodeguardWebsiteBackupCreateResponseMock: (overrideResponse?: Partial<CodeguardWebsiteBackupCreate200>) => CodeguardWebsiteBackupCreate200;
|
|
24
24
|
export declare const getCodeguardWebsiteBackupRestoreResponseMock: (overrideResponse?: Partial<CodeguardWebsiteBackupRestore200>) => CodeguardWebsiteBackupRestore200;
|
|
25
25
|
export declare const getAddonsSitelockSsoResponseMock: (overrideResponse?: Partial<AddonsSitelockSso200>) => AddonsSitelockSso200;
|
|
26
|
+
export declare const getXcitiumBackupListResponseMock: (overrideResponse?: Partial<XcitiumBackupList200>) => XcitiumBackupList200;
|
|
27
|
+
export declare const getXcitiumBackupCreateResponseMock: (overrideResponse?: Partial<XcitiumBackupCreate200>) => XcitiumBackupCreate200;
|
|
28
|
+
export declare const getXcitiumBackupDownloadResponseMock: (overrideResponse?: Partial<XcitiumBackupDownload200>) => XcitiumBackupDownload200;
|
|
29
|
+
export declare const getXcitiumBackupRestoreResponseMock: (overrideResponse?: Partial<XcitiumBackupRestore200>) => XcitiumBackupRestore200;
|
|
30
|
+
export declare const getXcitiumPlanInfoResponseMock: (overrideResponse?: Partial<XcitiumPlanInfo200>) => XcitiumPlanInfo200;
|
|
31
|
+
export declare const getXcitiumSsoResponseMock: (overrideResponse?: Partial<XcitiumSso200>) => XcitiumSso200;
|
|
26
32
|
export declare const getBackupInitiateResponseMock: (overrideResponse?: Partial<BackupInitiate200>) => BackupInitiate200;
|
|
27
33
|
export declare const getBackupStatusResponseMock: (overrideResponse?: Partial<BackupStatus200>) => BackupStatus200;
|
|
28
34
|
export declare const getBackupListResponseMock: (overrideResponse?: Partial<BackupList200>) => BackupList200;
|
|
@@ -201,6 +207,7 @@ export declare const getSitesBackupsCodeguardResponseMock: (overrideResponse?: P
|
|
|
201
207
|
export declare const getSitesBackupsDetailsResponseMock: (overrideResponse?: Partial<SitesBackupsDetails200>) => SitesBackupsDetails200;
|
|
202
208
|
export declare const getJetpackBackupStatusResponseMock: (overrideResponse?: Partial<JetpackBackupStatus200>) => JetpackBackupStatus200;
|
|
203
209
|
export declare const getBackupsJetpackBackupResponseMock: () => BackupsJetpackBackup200;
|
|
210
|
+
export declare const getSitesBackupsXcitiumResponseMock: (overrideResponse?: Partial<SitesBackupsXcitium200>) => SitesBackupsXcitium200;
|
|
204
211
|
export declare const getSiteAddonCloudflareResponseMock: (overrideResponse?: Partial<SiteAddonCloudflare200>) => SiteAddonCloudflare200;
|
|
205
212
|
export declare const getSitesDatabaseInfoResponseMock: (overrideResponse?: Partial<SitesDatabaseInfo200>) => SitesDatabaseInfo200;
|
|
206
213
|
export declare const getSitesDatabasePasswordsyncResponseMock: (overrideResponse?: Partial<SitesDatabasePasswordsync200>) => SitesDatabasePasswordsync200;
|
|
@@ -331,6 +338,12 @@ export declare const getCodeguardWebsiteBackupListMockHandler: (overrideResponse
|
|
|
331
338
|
export declare const getCodeguardWebsiteBackupCreateMockHandler: (overrideResponse?: CodeguardWebsiteBackupCreate200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<CodeguardWebsiteBackupCreate200> | CodeguardWebsiteBackupCreate200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
332
339
|
export declare const getCodeguardWebsiteBackupRestoreMockHandler: (overrideResponse?: CodeguardWebsiteBackupRestore200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<CodeguardWebsiteBackupRestore200> | CodeguardWebsiteBackupRestore200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
333
340
|
export declare const getAddonsSitelockSsoMockHandler: (overrideResponse?: AddonsSitelockSso200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AddonsSitelockSso200> | AddonsSitelockSso200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
341
|
+
export declare const getXcitiumBackupListMockHandler: (overrideResponse?: XcitiumBackupList200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<XcitiumBackupList200> | XcitiumBackupList200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
342
|
+
export declare const getXcitiumBackupCreateMockHandler: (overrideResponse?: XcitiumBackupCreate200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<XcitiumBackupCreate200> | XcitiumBackupCreate200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
343
|
+
export declare const getXcitiumBackupDownloadMockHandler: (overrideResponse?: XcitiumBackupDownload200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<XcitiumBackupDownload200> | XcitiumBackupDownload200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
344
|
+
export declare const getXcitiumBackupRestoreMockHandler: (overrideResponse?: XcitiumBackupRestore200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<XcitiumBackupRestore200> | XcitiumBackupRestore200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
345
|
+
export declare const getXcitiumPlanInfoMockHandler: (overrideResponse?: XcitiumPlanInfo200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<XcitiumPlanInfo200> | XcitiumPlanInfo200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
346
|
+
export declare const getXcitiumSsoMockHandler: (overrideResponse?: XcitiumSso200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<XcitiumSso200> | XcitiumSso200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
334
347
|
export declare const getBackupInitiateMockHandler: (overrideResponse?: BackupInitiate200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<BackupInitiate200> | BackupInitiate200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
335
348
|
export declare const getBackupStatusMockHandler: (overrideResponse?: BackupStatus200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<BackupStatus200> | BackupStatus200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
336
349
|
export declare const getBackupListMockHandler: (overrideResponse?: BackupList200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<BackupList200> | BackupList200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
@@ -509,6 +522,7 @@ export declare const getSitesBackupsCodeguardMockHandler: (overrideResponse?: Si
|
|
|
509
522
|
export declare const getSitesBackupsDetailsMockHandler: (overrideResponse?: SitesBackupsDetails200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SitesBackupsDetails200> | SitesBackupsDetails200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
510
523
|
export declare const getJetpackBackupStatusMockHandler: (overrideResponse?: JetpackBackupStatus200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<JetpackBackupStatus200> | JetpackBackupStatus200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
511
524
|
export declare const getBackupsJetpackBackupMockHandler: (overrideResponse?: BackupsJetpackBackup200 | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<BackupsJetpackBackup200> | BackupsJetpackBackup200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
525
|
+
export declare const getSitesBackupsXcitiumMockHandler: (overrideResponse?: SitesBackupsXcitium200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<SitesBackupsXcitium200> | SitesBackupsXcitium200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
512
526
|
export declare const getSiteAddonCloudflareMockHandler: (overrideResponse?: SiteAddonCloudflare200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<SiteAddonCloudflare200> | SiteAddonCloudflare200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
513
527
|
export declare const getSitesDatabaseInfoMockHandler: (overrideResponse?: SitesDatabaseInfo200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SitesDatabaseInfo200> | SitesDatabaseInfo200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
514
528
|
export declare const getSitesDatabasePasswordsyncMockHandler: (overrideResponse?: SitesDatabasePasswordsync200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<SitesDatabasePasswordsync200> | SitesDatabasePasswordsync200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
package/src/index.msw.js
CHANGED
|
@@ -4,7 +4,7 @@ import { __awaiter } from "tslib";
|
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Hosting UAPI
|
|
6
6
|
* Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
|
|
7
|
-
* OpenAPI spec version: 1.
|
|
7
|
+
* OpenAPI spec version: 1.1900.0
|
|
8
8
|
*/
|
|
9
9
|
import { faker } from '@faker-js/faker';
|
|
10
10
|
import { HttpResponse, delay, http } from 'msw';
|
|
@@ -32,6 +32,12 @@ export const getCodeguardWebsiteBackupListResponseMock = (overrideResponse = {})
|
|
|
32
32
|
export const getCodeguardWebsiteBackupCreateResponseMock = (overrideResponse = {}) => (Object.assign({ status: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
33
33
|
export const getCodeguardWebsiteBackupRestoreResponseMock = (overrideResponse = {}) => (Object.assign({ status: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
34
34
|
export const getAddonsSitelockSsoResponseMock = (overrideResponse = {}) => (Object.assign({ site_url: faker.helpers.arrayElement([faker.word.sample(), undefined]), sitelock_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), url: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
35
|
+
export const getXcitiumBackupListResponseMock = (overrideResponse = {}) => (Object.assign({ backups: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ database_backups: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ commit_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), event_time: faker.helpers.arrayElement([faker.word.sample(), undefined]), id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), recommended: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) })), undefined]), event_time: faker.helpers.arrayElement([faker.word.sample(), undefined]), website_commit_id: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]) }, overrideResponse));
|
|
36
|
+
export const getXcitiumBackupCreateResponseMock = (overrideResponse = {}) => (Object.assign({ database_success: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), website_success: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
|
37
|
+
export const getXcitiumBackupDownloadResponseMock = (overrideResponse = {}) => (Object.assign({ database_success: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), website_success: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
|
38
|
+
export const getXcitiumBackupRestoreResponseMock = (overrideResponse = {}) => (Object.assign({ database_success: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), website_success: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, overrideResponse));
|
|
39
|
+
export const getXcitiumPlanInfoResponseMock = (overrideResponse = {}) => (Object.assign({ back_reference: faker.helpers.arrayElement([faker.word.sample(), undefined]), can_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), disabled: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), over_quota: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), plan_name: faker.helpers.arrayElement([faker.word.sample(), undefined]), seat_count: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), seat_limit: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), seats: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ activated: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), url: faker.helpers.arrayElement([faker.word.sample(), undefined]), website_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) })), undefined]), size: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), size_limit: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
40
|
+
export const getXcitiumSsoResponseMock = (overrideResponse = {}) => (Object.assign({ url: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
35
41
|
export const getBackupInitiateResponseMock = (overrideResponse = {}) => (Object.assign({ message: faker.helpers.arrayElement([faker.word.sample(), undefined]), tracking_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
|
36
42
|
export const getBackupStatusResponseMock = (overrideResponse = {}) => (Object.assign({ download_url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), message: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
37
43
|
export const getBackupListResponseMock = (overrideResponse = {}) => (Object.assign({ home: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ backup_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), backup_status: faker.helpers.arrayElement([{ download_url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]), tracking_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, undefined]), time_created: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]) }, overrideResponse));
|
|
@@ -211,9 +217,10 @@ export const getSitesAutoupdatesUpdateResponseMock = (overrideResponse = {}) =>
|
|
|
211
217
|
export const getSitesBackupsResponseMock = (overrideResponse = {}) => (Object.assign({ has_backups: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, overrideResponse));
|
|
212
218
|
export const getSitesHasBackupsResponseMock = (overrideResponse = {}) => (Object.assign({ has_backups: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, overrideResponse));
|
|
213
219
|
export const getSitesBackupsCodeguardResponseMock = (overrideResponse = {}) => (Object.assign({ database_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), success: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), website_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
|
214
|
-
export const getSitesBackupsDetailsResponseMock = (overrideResponse = {}) => (Object.assign({ codeguard: faker.helpers.arrayElement([{ activated: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), addon_back_reference: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), addon_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), can_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), database_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), disabled: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), over_quota: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), plan_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), seats_available: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), seats_count: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), status: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), website_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), jetpack: faker.helpers.arrayElement([{ addon_back_reference: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), addon_exists: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), addon_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), can_purchase: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), can_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), has_active_addon: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), has_active_plugin: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), last_backup_date: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), last_error: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), next_url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), pending_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), plan_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), plugin_exists: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), status: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]) }, overrideResponse));
|
|
220
|
+
export const getSitesBackupsDetailsResponseMock = (overrideResponse = {}) => (Object.assign({ codeguard: faker.helpers.arrayElement([{ activated: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), addon_back_reference: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), addon_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), can_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), database_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), disabled: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), over_quota: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), plan_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), seats_available: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), seats_count: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), status: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), website_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), jetpack: faker.helpers.arrayElement([{ addon_back_reference: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), addon_exists: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), addon_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), can_purchase: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), can_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), has_active_addon: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), has_active_plugin: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), last_backup_date: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), last_error: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), next_url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), pending_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), plan_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), plugin_exists: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), status: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), xcitium: faker.helpers.arrayElement([{ activated: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), addon_back_reference: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), addon_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), can_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), database_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), disabled: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), over_quota: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), plan_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), seats_available: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), seats_count: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), status: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), website_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]) }, overrideResponse));
|
|
215
221
|
export const getJetpackBackupStatusResponseMock = (overrideResponse = {}) => (Object.assign({ addon_back_reference: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), addon_exists: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), addon_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), can_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), has_active_addon: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), has_active_plugin: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), next_url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), pending_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), plan_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), plugin_exists: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), status: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, overrideResponse));
|
|
216
222
|
export const getBackupsJetpackBackupResponseMock = () => ({});
|
|
223
|
+
export const getSitesBackupsXcitiumResponseMock = (overrideResponse = {}) => (Object.assign({ website_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
|
217
224
|
export const getSiteAddonCloudflareResponseMock = (overrideResponse = {}) => (Object.assign({ addon_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
|
218
225
|
export const getSitesDatabaseInfoResponseMock = (overrideResponse = {}) => (Object.assign({ charset: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), collation: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, overrideResponse));
|
|
219
226
|
export const getSitesDatabasePasswordsyncResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
|
|
@@ -575,6 +582,66 @@ export const getAddonsSitelockSsoMockHandler = (overrideResponse) => {
|
|
|
575
582
|
});
|
|
576
583
|
}));
|
|
577
584
|
};
|
|
585
|
+
export const getXcitiumBackupListMockHandler = (overrideResponse) => {
|
|
586
|
+
return http.get('*/v1/addons/xcitium/:addonId/backups', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
587
|
+
yield delay(0);
|
|
588
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
589
|
+
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
590
|
+
: getXcitiumBackupListResponseMock()), { status: 200,
|
|
591
|
+
headers: { 'Content-Type': 'application/json' }
|
|
592
|
+
});
|
|
593
|
+
}));
|
|
594
|
+
};
|
|
595
|
+
export const getXcitiumBackupCreateMockHandler = (overrideResponse) => {
|
|
596
|
+
return http.post('*/v1/addons/xcitium/:addonId/backups', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
597
|
+
yield delay(0);
|
|
598
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
599
|
+
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
600
|
+
: getXcitiumBackupCreateResponseMock()), { status: 200,
|
|
601
|
+
headers: { 'Content-Type': 'application/json' }
|
|
602
|
+
});
|
|
603
|
+
}));
|
|
604
|
+
};
|
|
605
|
+
export const getXcitiumBackupDownloadMockHandler = (overrideResponse) => {
|
|
606
|
+
return http.post('*/v1/addons/xcitium/:addonId/backups/download', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
607
|
+
yield delay(0);
|
|
608
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
609
|
+
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
610
|
+
: getXcitiumBackupDownloadResponseMock()), { status: 200,
|
|
611
|
+
headers: { 'Content-Type': 'application/json' }
|
|
612
|
+
});
|
|
613
|
+
}));
|
|
614
|
+
};
|
|
615
|
+
export const getXcitiumBackupRestoreMockHandler = (overrideResponse) => {
|
|
616
|
+
return http.post('*/v1/addons/xcitium/:addonId/backups/restore', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
617
|
+
yield delay(0);
|
|
618
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
619
|
+
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
620
|
+
: getXcitiumBackupRestoreResponseMock()), { status: 200,
|
|
621
|
+
headers: { 'Content-Type': 'application/json' }
|
|
622
|
+
});
|
|
623
|
+
}));
|
|
624
|
+
};
|
|
625
|
+
export const getXcitiumPlanInfoMockHandler = (overrideResponse) => {
|
|
626
|
+
return http.get('*/v1/addons/xcitium/:addonId/plan', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
627
|
+
yield delay(0);
|
|
628
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
629
|
+
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
630
|
+
: getXcitiumPlanInfoResponseMock()), { status: 200,
|
|
631
|
+
headers: { 'Content-Type': 'application/json' }
|
|
632
|
+
});
|
|
633
|
+
}));
|
|
634
|
+
};
|
|
635
|
+
export const getXcitiumSsoMockHandler = (overrideResponse) => {
|
|
636
|
+
return http.get('*/v1/addons/xcitium/:addonId/sso', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
637
|
+
yield delay(0);
|
|
638
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
639
|
+
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
640
|
+
: getXcitiumSsoResponseMock()), { status: 200,
|
|
641
|
+
headers: { 'Content-Type': 'application/json' }
|
|
642
|
+
});
|
|
643
|
+
}));
|
|
644
|
+
};
|
|
578
645
|
export const getBackupInitiateMockHandler = (overrideResponse) => {
|
|
579
646
|
return http.post('*/v1/addons/:addonId/backup', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
580
647
|
yield delay(0);
|
|
@@ -2355,6 +2422,16 @@ export const getBackupsJetpackBackupMockHandler = (overrideResponse) => {
|
|
|
2355
2422
|
});
|
|
2356
2423
|
}));
|
|
2357
2424
|
};
|
|
2425
|
+
export const getSitesBackupsXcitiumMockHandler = (overrideResponse) => {
|
|
2426
|
+
return http.post('*/v1/sites/:siteId/backups/xcitium', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2427
|
+
yield delay(0);
|
|
2428
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2429
|
+
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2430
|
+
: getSitesBackupsXcitiumResponseMock()), { status: 200,
|
|
2431
|
+
headers: { 'Content-Type': 'application/json' }
|
|
2432
|
+
});
|
|
2433
|
+
}));
|
|
2434
|
+
};
|
|
2358
2435
|
export const getSiteAddonCloudflareMockHandler = (overrideResponse) => {
|
|
2359
2436
|
return http.post('*/v1/sites/:siteId/cloudflare', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2360
2437
|
yield delay(0);
|
|
@@ -3469,6 +3546,12 @@ export const getHostingUAPIMock = () => [
|
|
|
3469
3546
|
getCodeguardWebsiteBackupCreateMockHandler(),
|
|
3470
3547
|
getCodeguardWebsiteBackupRestoreMockHandler(),
|
|
3471
3548
|
getAddonsSitelockSsoMockHandler(),
|
|
3549
|
+
getXcitiumBackupListMockHandler(),
|
|
3550
|
+
getXcitiumBackupCreateMockHandler(),
|
|
3551
|
+
getXcitiumBackupDownloadMockHandler(),
|
|
3552
|
+
getXcitiumBackupRestoreMockHandler(),
|
|
3553
|
+
getXcitiumPlanInfoMockHandler(),
|
|
3554
|
+
getXcitiumSsoMockHandler(),
|
|
3472
3555
|
getBackupInitiateMockHandler(),
|
|
3473
3556
|
getBackupStatusMockHandler(),
|
|
3474
3557
|
getBackupListMockHandler(),
|
|
@@ -3647,6 +3730,7 @@ export const getHostingUAPIMock = () => [
|
|
|
3647
3730
|
getSitesBackupsDetailsMockHandler(),
|
|
3648
3731
|
getJetpackBackupStatusMockHandler(),
|
|
3649
3732
|
getBackupsJetpackBackupMockHandler(),
|
|
3733
|
+
getSitesBackupsXcitiumMockHandler(),
|
|
3650
3734
|
getSiteAddonCloudflareMockHandler(),
|
|
3651
3735
|
getSitesDatabaseInfoMockHandler(),
|
|
3652
3736
|
getSitesDatabasePasswordsyncMockHandler(),
|