@newfold/huapi-js 2.1978.0 → 2.1990.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 +96 -1
- package/src/index.js +75 -1
- package/src/index.msw.d.ts +7 -1
- package/src/index.msw.js +38 -2
- package/src/index.schemas.d.ts +294 -146
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DefinedInitialDataOptions, DefinedUseInfiniteQueryResult, DefinedUseQueryResult, InfiniteData, QueryKey, UndefinedInitialDataOptions, UseInfiniteQueryOptions, UseInfiniteQueryResult, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import axios from 'axios';
|
|
3
3
|
import type { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
4
|
-
import type { AccessLogs200, AccessLogsParams, AccountEventList200, AccountEventListParams, AccountFeatures200, AccountFeaturesParams, AccountHostingList200, AccountHostingListParams, AccountPublicKey200, AccountPublicKey404, AccountPublicKeyCreate200, AccountPublicKeyCreate409, AccountPublicKeyCreateBody, AccountPublicKeyDelete200, AccountPublicKeyDelete404, AccountPublicKeyToggle200, AccountPublicKeyToggle409, AccountPublicKeyToggleBody, AccountPublicKeys200, ActivityLog200, ActivityLogParams, AddCron200, AddCron400, AddCronBody, AddHostingRedirects200, AddHostingRedirectsBody, AddIndex200, AddIndexBody, AddPrivacy200, AddPrivacyBody, AddSiteIpaddress200, AddSiteIpaddressBody, AddonsCloudflare200, AddonsCloudflareExternalNsCheck200, AddonsCloudflareExternalNsCheckParams, AddonsInfo200, AddonsJetpackValidate200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSitelockSsoV2Params, AddonsSpamexpertsSso200, AddonsSync200, AddonsWorkflows200, AddonsWorkflowsParams, AllUserMonarxDetails200, Announcements200, BackupCreateOndemandV1200, BackupCreateOndemandV1400, BackupCreateOndemandV1403, BackupCreateOndemandV1404, BackupCreateOndemandV1409, BackupCreateOndemandV1Body, BackupCreateV2200, BackupCreateV2Body, BackupCreateV3200, BackupCreateV3Body, BackupCustomDeleteV1200, BackupCustomDeleteV1400, BackupCustomDeleteV1403, BackupCustomDeleteV1404, BackupCustomDeleteV1409, BackupCustomDeleteV1Body, BackupDownloadV2200, BackupDownloadV2400, BackupDownloadV2403, BackupDownloadV2404, BackupDownloadV2409, BackupDownloadV2Body, BackupInitiate200, BackupInitiateBody, BackupList200, BackupListParams, BackupListV2200, BackupListV3200, BackupListV3Params, BackupMeta200, BackupMetaParams, BackupPrefSetStatus200, BackupPrefSetStatusBody, BackupRestoreV2200, BackupRestoreV2Body, BackupRestoreV3200, BackupRestoreV3400, BackupRestoreV3403, BackupRestoreV3404, BackupRestoreV3409, BackupRestoreV3Body, BackupSettings200, BackupSettingsCreate200, BackupSettingsCreateBody, BackupSettingsUpdate200, BackupSettingsUpdateBody, BackupStatus200, BackupStatusParams, BackupStatusV2200, BackupStatusV2Params, BackupStatusV3200, BackupStatusV3400, BackupStatusV3Params, BackupUsage200, BackupsJetpackBackup200, BullhornAnnouncements200, CodeguardBackupCreate200, CodeguardBackupCreateBody, CodeguardBackupDownload200, CodeguardBackupDownloadBody, CodeguardBackupList200, CodeguardBackupListParams, CodeguardBackupRestore200, CodeguardBackupRestoreBody, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupCreateBody, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupListParams, CodeguardDatabaseBackupRestore200, CodeguardDatabaseBackupRestoreBody, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupCreateBody, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupListParams, CodeguardWebsiteBackupRestore200, CodeguardWebsiteBackupRestoreBody, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronBody, CronLastRun200, CronLastRunParams, Db200, DbAdd200, DbAddBody, DbBody, DbCheckDatabase200, DbCheckDatabaseBody, DbListV2200, DbMultipleUserDatabase200, DbMultipleUserDatabaseBody, DbUsage200, DbUserAdd200, DbUserAddBody, DbUserDelete200, DbUserDeleteBody, DbUserList200, DbUserPasswordSet200, DbUserPasswordSetBody, DbUserPrivsGet200, DbUserPrivsGetParams, DbUserPrivsSet200, DbUserPrivsSetBody, DbUserRename200, DbUserRenameBody, DirectoryPrivacy200, DirectoryPrivacyParams, DomainCertInstall200, DomainCertInstallBody, DomainCertUninstall200, DomainCertUpdate200, DomainCertUpdateBody, DomainCerts200, DomainDnsExport200, DomainDnsExportParams, DomainDnsImport200, DomainDnsImportBody, DomainDnsImportParams, DomainDnseditor200, DomainDnseditorAdd200, DomainDnseditorAddBody, DomainDnseditorBody, DomainDnseditorEdit200, DomainDnseditorEditBody, DomainDnseditorList200, DomainDnszoneReset200, DomainEmailDeliverability200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsParams, DomainsSetEntriUsed200, DomainsUnsetEntriUsed200, EditPrivacy200, EditPrivacyBody, EmailSso200, EmailSso400, EmailSso512, EmailSsoParams, ErrorPagesAdd200, ErrorPagesAddBody, ErrorPagesDelete200, ErrorPagesDeleteBody, ErrorPagesFetch200, ErrorPagesFetchParams, HostingAccount200, HostingAddons200, HostingAddonsParams, HostingAdvancedConsole200, HostingAdvancedConsoleParams, HostingAdvancedDns200, HostingAdvancedDnsParams, HostingAdvancedDnsUpdate200, HostingAdvancedDnsUpdateBody, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesBody, HostingAdvancedDomainServicesCheck200, HostingAdvancedImages200, HostingAdvancedImagesParams, HostingAdvancedPassword200, HostingAdvancedPasswordBody, HostingAdvancedServer200, HostingAdvancedServerHealthcheck200, HostingAdvancedServerStatus200, HostingAdvancedServerStatusBody, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingCapabilities200, HostingDbAuthorizedHosts200, HostingDbAuthorizedHostsAdd200, HostingDbAuthorizedHostsAddBody, HostingDbAuthorizedHostsDelete200, HostingDbAuthorizedHostsDeleteBody, HostingDbAuthorizedHostsUpdate200, HostingDbAuthorizedHostsUpdateBody, HostingDomainAssign200, HostingDomainAssignBody, HostingDomainAvailability200, HostingDomainAvailabilityParams, HostingDomainsUnassign200, HostingDomainsUnassignBody, HostingDomainsUnassignV2200, HostingDomainsUnassignV2Body, HostingDomainsV2200, HostingDomainsV2Params, HostingEcommerceInfo200, HostingEmailAdd200, HostingEmailAdd400, HostingEmailAdd403, HostingEmailAdd409, HostingEmailAdd512, HostingEmailAddBody, HostingEmailAutoresponderCreate200, HostingEmailAutoresponderCreate400, HostingEmailAutoresponderCreateBody, HostingEmailAutoresponderDelete200, HostingEmailAutoresponderDelete400, HostingEmailAutoresponderDelete404, HostingEmailAutoresponderDeleteParams, HostingEmailAutoresponderInfo200, HostingEmailAutoresponderInfo404, HostingEmailAutoresponderInfoParams, HostingEmailAutoresponderList200, HostingEmailAutoresponderListParams, HostingEmailAutoresponderUpdate200, HostingEmailAutoresponderUpdate400, HostingEmailAutoresponderUpdateBody, HostingEmailDelete200, HostingEmailDeleteParams, HostingEmailDomainRouting200, HostingEmailDomainRoutingParams, HostingEmailDomainRoutingSet200, HostingEmailDomainRoutingSetBody, HostingEmailFiltersAdd200, HostingEmailFiltersAddBody, HostingEmailFiltersDelete200, HostingEmailFiltersDelete400, HostingEmailFiltersDelete404, HostingEmailFiltersDeleteParams, HostingEmailFiltersList200, HostingEmailFiltersListParams, HostingEmailFiltersUpdate200, HostingEmailFiltersUpdateBody, HostingEmailFolderList200, HostingEmailFolderList404, HostingEmailForwardDelete200, HostingEmailForwardDeleteParams, HostingEmailForwarderAdd200, HostingEmailForwarderAdd400, HostingEmailForwarderAdd403, HostingEmailForwarderAdd409, HostingEmailForwarderAdd512, HostingEmailForwarderAddBody, HostingEmailForwardersList200, HostingEmailForwardersListParams, HostingEmailKeysAdd200, HostingEmailKeysAddBody, HostingEmailKeysList200, HostingEmailList200, HostingEmailSettings200, HostingEmailSettings403, HostingEmailSettings404, HostingEmailSettings512, HostingEmailSettingsBody, HostingEmailSetupInfo200, HostingEmailSetupInfo404, HostingEmailSpamCustomSettings200, HostingEmailSpamCustomSettingsUpdate200, HostingEmailSpamCustomSettingsUpdateBody, HostingEmailSpamEmpty200, HostingEmailSpamSettings200, HostingEmailSpamSettingsUpdate200, HostingEmailSpamSettingsUpdateBody, HostingEmailTestSend200, HostingEmailTestSend403, HostingEmailTestSend404, HostingEmailTestSend512, HostingEmailTestSendBody, HostingEmailUpdate200, HostingEmailUpdate400, HostingEmailUpdate403, HostingEmailUpdate512, HostingEmailUpdateBody, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpAddBody, HostingFtpBody, HostingFtpList200, HostingFtpUpdate200, HostingFtpUpdateBody, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingLead400, HostingLeadParams, HostingLicenseInfo200, HostingLicenseInfoParams, HostingMigrationInfo200, HostingMigrationInfoParams, HostingMigrationSiteScanStatus200, HostingMigrationSiteScanStatusParams, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsBody, HostingMigrationsEvent200, HostingMigrationsEventBody, HostingMonarxAddonsList200, HostingMonarxAddonsListParams, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingOnboardingDataUpdateBody, HostingPasswordUpdate200, HostingPasswordUpdateBody, HostingRedirect200, HostingRedirectBody, HostingRedirects200Item, HostingRedirectsV2200Item, HostingRepo200, HostingRepoBody, HostingRepoList200Item, HostingRepoLog200, HostingRepoLogParams, HostingRepoSync200, HostingRepoSyncBody, HostingResellerSsoWhm200, HostingSendEmailSetupInfo200, HostingSendEmailSetupInfo404, HostingSendEmailSetupInfoBody, HostingServerHits200, HostingServerHitsParams, HostingShellInfo200, HostingShellToggle200, HostingShellToggleBody, HostingSiteAdd200, HostingSiteAddBody, HostingSiteAddV2200, HostingSiteAddV2Body, HostingSiteAddV3200, HostingSiteAddV3Body, HostingSitesV2200, HostingSitesV2Params, HostingSshInfo200, HostingVisitors200, HostingVisitorsParams, HotlinkconfigAdd200, HotlinkconfigAddBody, HotlinkconfigDelete200, HotlinkconfigDeleteBody, HotlinkconfigDetails200, HotlinkconfigDetailsParams, Index200, IndexBody, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListFilesV2Params, ListIndex200, ListIndexParams, MonarxAddonReportUrl200, MonarxAddonReportUrlParams, MonarxAddonSealGeneration200, MonarxAddonSealGenerationParams, PasswordGenerate200, PasswordScore200, PasswordScoreParams, PhpErrors200, PhpErrorsParams, Privacy200, PrivacyBody, PrivacyUser200, PrivacyUserBody, ProductLicenseDetails200, ProductLicenseDetailsParams, PublicImages200, PublicImagesParams, PublicRegions200, RepairDatabase200, RepairDatabaseBody, ResetSite200, ResetSiteBody, Site200, SiteAddonCloudflare200, SiteAddonCloudflare400, SiteAddonWpsolution200, SiteAddonWpsolution400, SiteAddonWpsolutionBody, SiteBody, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressBody, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginInstall200, SitePluginInstallBody, SitePluginInstaller200, SitePluginInstallerBody, SitePluginUpdate200, SitePluginUpdateBody, SitePlugins200, SitePluginsAutoupdate200, SitePluginsAutoupdateBody, SitePluginsParams, SitePluginsToggle200, SitePluginsToggleBody, SitePluginsUpdate200, SitePluginsUpdateBody, SiteQualityMetrics200, SiteQualityMetricsParams, SiteStatus200, SiteThemeInstall200, SiteThemeInstallBody, SiteUpdate200, SiteUpdate400, SiteUpdateBody, SiteUsers200, SiteUsersV2200, SiteUsersV2Params, SiteWpGenerate200, SiteWpGenerateBody, SitesAccessLogs200, SitesAccessLogsDownloadParams, SitesAccessLogsParams, SitesAtomicMetrics200, SitesAtomicMetricsParams, SitesAutoupdatesResponse, SitesAutoupdatesUpdateBody, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBackupsXcitium200, SitesBatch200, SitesBatchBody, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDnsParams, SitesDomain200, SitesDomainParams, SitesDomainUrl200, SitesDomainUrlBody, SitesDomainsCreate200, SitesDomainsCreateBody, SitesDomainsV2200, SitesDomainsV2Params, SitesErrorLogs200, SitesErrorLogsDownloadParams, SitesErrorLogsParams, SitesHasBackups200, SitesInfo200, SitesJetpackPurchase200, SitesListV2200, SitesListV3200, SitesListV3Params, SitesMetricDimensions200, SitesMetricDimensionsParams, SitesMetricsDimensionAveraged200, SitesMetricsDimensionAveragedParams, SitesOnboardingSteps200, SitesPerformanceCachepurge200, SitesPerformanceCachepurgeBody, SitesPerformanceEdgecache200, SitesPerformanceEdgecacheBody, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelBody, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesPerformanceRedisPurge200, SitesPerformanceRedisPurgeBody, SitesPerformanceRedisStatus200, SitesPerformanceRedisToggle200, SitesPerformanceRedisToggleBody, SitesPerformanceRedisUninstall200, SitesPerformanceScans200, SitesPerformanceScansAdd200, SitesPerformanceScansAddBody, SitesPerformanceScansList200, SitesPerformanceScansListParams, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsEnableDisableSslBody, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockParams, SitesSecuritySitelockV2200, SitesSecuritySitelockV2Params, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSecuritySslStatusParams, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsComingSoonToggleBody, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsDebugToggleBody, SitesSettingsPhpVersionInheritance200, SitesSettingsPhpVersionInheritanceParams, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersionUpdateBody, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserCreateBody, SitesSshUserDelete200, SitesSshUserDeleteBody, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSshUserUpdateBody, SitesSsl200, SitesSso200, SitesSsoParams, SitesVersion200, SshKey200, SshKeyBody, SshKeyFetch200, SshKeyFetchParams, SshKeyGenerate200, SshKeyGenerateBody, SshKeyImport200, SshKeyImportBody, SshKeyImportV2200, SshKeyImportV2Body, SshKeyImportV3200, SshKeyImportV3Body, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, SshKeyV2Body, Sso200, SsoParams, StagingSitePromote200, StagingSitePromote409, StagingSitePromoteBody, UpdateCron200, UpdateCronBody, UserHosting200, UserHostingOverview200, UserHostingOverviewParams, UserHostingParams, UserProservices200, WaldaiSso200, WaldaiSso404, WaldaiSso502, WebzaiSso200, WeeblySso200, XcitiumBackupCreate200, XcitiumBackupCreateBody, XcitiumBackupDownload200, XcitiumBackupDownloadBody, XcitiumBackupList200, XcitiumBackupListParams, XcitiumBackupRestore200, XcitiumBackupRestoreBody, XcitiumPlanInfo200, XcitiumSso200 } from './index.schemas';
|
|
4
|
+
import type { AccessLogs200, AccessLogsParams, AccountEventList200, AccountEventListParams, AccountFeatures200, AccountFeaturesParams, AccountHostingList200, AccountHostingListParams, AccountPublicKey200, AccountPublicKey404, AccountPublicKeyCreate200, AccountPublicKeyCreate409, AccountPublicKeyCreateBody, AccountPublicKeyDelete200, AccountPublicKeyDelete404, AccountPublicKeyToggle200, AccountPublicKeyToggle409, AccountPublicKeyToggleBody, AccountPublicKeys200, ActivityLog200, ActivityLogParams, AddCron200, AddCron400, AddCronBody, AddHostingRedirects200, AddHostingRedirectsBody, AddIndex200, AddIndexBody, AddPrivacy200, AddPrivacyBody, AddSiteIpaddress200, AddSiteIpaddressBody, AddonsCloudflare200, AddonsCloudflareExternalNsCheck200, AddonsCloudflareExternalNsCheckParams, AddonsInfo200, AddonsJetpackValidate200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSitelockSsoV2Params, AddonsSpamexpertsDomainAssign200, AddonsSpamexpertsDomainAssignBody, AddonsSpamexpertsSso200, AddonsSync200, AddonsWorkflows200, AddonsWorkflowsParams, AllUserMonarxDetails200, Announcements200, BackupCreateOndemandV1200, BackupCreateOndemandV1400, BackupCreateOndemandV1403, BackupCreateOndemandV1404, BackupCreateOndemandV1409, BackupCreateOndemandV1Body, BackupCreateV2200, BackupCreateV2Body, BackupCreateV3200, BackupCreateV3Body, BackupCustomDeleteV1200, BackupCustomDeleteV1400, BackupCustomDeleteV1403, BackupCustomDeleteV1404, BackupCustomDeleteV1409, BackupCustomDeleteV1Body, BackupDownloadV2200, BackupDownloadV2400, BackupDownloadV2403, BackupDownloadV2404, BackupDownloadV2409, BackupDownloadV2Body, BackupInitiate200, BackupInitiateBody, BackupList200, BackupListParams, BackupListV2200, BackupListV3200, BackupListV3Params, BackupMeta200, BackupMetaParams, BackupPrefSetStatus200, BackupPrefSetStatusBody, BackupRestoreV2200, BackupRestoreV2Body, BackupRestoreV3200, BackupRestoreV3400, BackupRestoreV3403, BackupRestoreV3404, BackupRestoreV3409, BackupRestoreV3Body, BackupSettings200, BackupSettingsCreate200, BackupSettingsCreateBody, BackupSettingsUpdate200, BackupSettingsUpdateBody, BackupStatus200, BackupStatusParams, BackupStatusV2200, BackupStatusV2Params, BackupStatusV3200, BackupStatusV3400, BackupStatusV3Params, BackupUsage200, BackupsJetpackBackup200, BullhornAnnouncements200, CodeguardBackupCreate200, CodeguardBackupCreateBody, CodeguardBackupDownload200, CodeguardBackupDownloadBody, CodeguardBackupList200, CodeguardBackupListParams, CodeguardBackupRestore200, CodeguardBackupRestoreBody, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupCreateBody, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupListParams, CodeguardDatabaseBackupRestore200, CodeguardDatabaseBackupRestoreBody, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupCreateBody, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupListParams, CodeguardWebsiteBackupRestore200, CodeguardWebsiteBackupRestoreBody, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronBody, CronLastRun200, CronLastRunParams, Db200, DbAdd200, DbAddBody, DbBody, DbCheckDatabase200, DbCheckDatabaseBody, DbListV2200, DbMultipleUserDatabase200, DbMultipleUserDatabaseBody, DbUsage200, DbUserAdd200, DbUserAddBody, DbUserDelete200, DbUserDeleteBody, DbUserList200, DbUserPasswordSet200, DbUserPasswordSetBody, DbUserPrivsGet200, DbUserPrivsGetParams, DbUserPrivsSet200, DbUserPrivsSetBody, DbUserRename200, DbUserRenameBody, DirectoryPrivacy200, DirectoryPrivacyParams, DomainCertInstall200, DomainCertInstallBody, DomainCertUninstall200, DomainCertUpdate200, DomainCertUpdateBody, DomainCerts200, DomainDnsExport200, DomainDnsExportParams, DomainDnsImport200, DomainDnsImportBody, DomainDnsImportParams, DomainDnseditor200, DomainDnseditorAdd200, DomainDnseditorAddBody, DomainDnseditorBody, DomainDnseditorEdit200, DomainDnseditorEditBody, DomainDnseditorList200, DomainDnszoneReset200, DomainEmailDeliverability200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsParams, DomainsSetEntriUsed200, DomainsUnsetEntriUsed200, EditPrivacy200, EditPrivacyBody, EmailSso200, EmailSso400, EmailSso512, EmailSsoParams, ErrorPagesAdd200, ErrorPagesAddBody, ErrorPagesDelete200, ErrorPagesDeleteBody, ErrorPagesFetch200, ErrorPagesFetchParams, HostingAccount200, HostingAddons200, HostingAddonsParams, HostingAdvancedConsole200, HostingAdvancedConsoleParams, HostingAdvancedDns200, HostingAdvancedDnsParams, HostingAdvancedDnsUpdate200, HostingAdvancedDnsUpdateBody, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesBody, HostingAdvancedDomainServicesCheck200, HostingAdvancedImages200, HostingAdvancedImagesParams, HostingAdvancedPassword200, HostingAdvancedPasswordBody, HostingAdvancedServer200, HostingAdvancedServerHealthcheck200, HostingAdvancedServerStatus200, HostingAdvancedServerStatusBody, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingCapabilities200, HostingDbAuthorizedHosts200, HostingDbAuthorizedHostsAdd200, HostingDbAuthorizedHostsAddBody, HostingDbAuthorizedHostsDelete200, HostingDbAuthorizedHostsDeleteBody, HostingDbAuthorizedHostsUpdate200, HostingDbAuthorizedHostsUpdateBody, HostingDomainAssign200, HostingDomainAssignBody, HostingDomainAvailability200, HostingDomainAvailabilityParams, HostingDomainsUnassign200, HostingDomainsUnassignBody, HostingDomainsUnassignV2200, HostingDomainsUnassignV2Body, HostingDomainsV2200, HostingDomainsV2Params, HostingEcommerceInfo200, HostingEmailAdd200, HostingEmailAdd400, HostingEmailAdd403, HostingEmailAdd409, HostingEmailAdd512, HostingEmailAddBody, HostingEmailAutoresponderCreate200, HostingEmailAutoresponderCreate400, HostingEmailAutoresponderCreateBody, HostingEmailAutoresponderDelete200, HostingEmailAutoresponderDelete400, HostingEmailAutoresponderDelete404, HostingEmailAutoresponderDeleteParams, HostingEmailAutoresponderInfo200, HostingEmailAutoresponderInfo404, HostingEmailAutoresponderInfoParams, HostingEmailAutoresponderList200, HostingEmailAutoresponderListParams, HostingEmailAutoresponderUpdate200, HostingEmailAutoresponderUpdate400, HostingEmailAutoresponderUpdateBody, HostingEmailDelete200, HostingEmailDeleteParams, HostingEmailDomainRouting200, HostingEmailDomainRoutingParams, HostingEmailDomainRoutingSet200, HostingEmailDomainRoutingSetBody, HostingEmailFiltersAdd200, HostingEmailFiltersAddBody, HostingEmailFiltersDelete200, HostingEmailFiltersDelete400, HostingEmailFiltersDelete404, HostingEmailFiltersDeleteParams, HostingEmailFiltersList200, HostingEmailFiltersListParams, HostingEmailFiltersUpdate200, HostingEmailFiltersUpdateBody, HostingEmailFolderList200, HostingEmailFolderList404, HostingEmailForwardDelete200, HostingEmailForwardDeleteParams, HostingEmailForwarderAdd200, HostingEmailForwarderAdd400, HostingEmailForwarderAdd403, HostingEmailForwarderAdd409, HostingEmailForwarderAdd512, HostingEmailForwarderAddBody, HostingEmailForwardersList200, HostingEmailForwardersListParams, HostingEmailKeysAdd200, HostingEmailKeysAddBody, HostingEmailKeysList200, HostingEmailList200, HostingEmailSettings200, HostingEmailSettings403, HostingEmailSettings404, HostingEmailSettings512, HostingEmailSettingsBody, HostingEmailSetupInfo200, HostingEmailSetupInfo404, HostingEmailSpamCustomSettings200, HostingEmailSpamCustomSettingsUpdate200, HostingEmailSpamCustomSettingsUpdateBody, HostingEmailSpamEmpty200, HostingEmailSpamSettings200, HostingEmailSpamSettingsUpdate200, HostingEmailSpamSettingsUpdateBody, HostingEmailTestSend200, HostingEmailTestSend403, HostingEmailTestSend404, HostingEmailTestSend512, HostingEmailTestSendBody, HostingEmailUpdate200, HostingEmailUpdate400, HostingEmailUpdate403, HostingEmailUpdate512, HostingEmailUpdateBody, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpAddBody, HostingFtpBody, HostingFtpList200, HostingFtpUpdate200, HostingFtpUpdateBody, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingLead400, HostingLeadParams, HostingLicenseInfo200, HostingLicenseInfoParams, HostingMigrationInfo200, HostingMigrationInfoParams, HostingMigrationSiteScanStatus200, HostingMigrationSiteScanStatusParams, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsBody, HostingMigrationsEvent200, HostingMigrationsEventBody, HostingMonarxAddonsList200, HostingMonarxAddonsListParams, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingOnboardingDataUpdateBody, HostingPasswordUpdate200, HostingPasswordUpdateBody, HostingRedirect200, HostingRedirectBody, HostingRedirects200Item, HostingRedirectsV2200Item, HostingRepo200, HostingRepoBody, HostingRepoList200Item, HostingRepoLog200, HostingRepoLogParams, HostingRepoSync200, HostingRepoSyncBody, HostingResellerSsoWhm200, HostingSendEmailSetupInfo200, HostingSendEmailSetupInfo404, HostingSendEmailSetupInfoBody, HostingServerHits200, HostingServerHitsParams, HostingShellInfo200, HostingShellToggle200, HostingShellToggleBody, HostingSiteAdd200, HostingSiteAddBody, HostingSiteAddV2200, HostingSiteAddV2Body, HostingSiteAddV3200, HostingSiteAddV3Body, HostingSitesV2200, HostingSitesV2Params, HostingSpamexpertsEligibleDomains200, HostingSshInfo200, HostingVisitors200, HostingVisitorsParams, HotlinkconfigAdd200, HotlinkconfigAddBody, HotlinkconfigDelete200, HotlinkconfigDeleteBody, HotlinkconfigDetails200, HotlinkconfigDetailsParams, Index200, IndexBody, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListFilesV2Params, ListIndex200, ListIndexParams, MonarxAddonReportUrl200, MonarxAddonReportUrlParams, MonarxAddonSealGeneration200, MonarxAddonSealGenerationParams, PasswordGenerate200, PasswordScore200, PasswordScoreParams, PhpErrors200, PhpErrorsParams, Privacy200, PrivacyBody, PrivacyUser200, PrivacyUserBody, ProductLicenseDetails200, ProductLicenseDetailsParams, PublicImages200, PublicImagesParams, PublicRegions200, RepairDatabase200, RepairDatabaseBody, ResetSite200, ResetSiteBody, Site200, SiteAddonCloudflare200, SiteAddonCloudflare400, SiteAddonWpsolution200, SiteAddonWpsolution400, SiteAddonWpsolutionBody, SiteBody, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressBody, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginInstall200, SitePluginInstallBody, SitePluginInstaller200, SitePluginInstallerBody, SitePluginUpdate200, SitePluginUpdateBody, SitePlugins200, SitePluginsAutoupdate200, SitePluginsAutoupdateBody, SitePluginsParams, SitePluginsToggle200, SitePluginsToggleBody, SitePluginsUpdate200, SitePluginsUpdateBody, SiteQualityMetrics200, SiteQualityMetricsParams, SiteStatus200, SiteThemeInstall200, SiteThemeInstallBody, SiteUpdate200, SiteUpdate400, SiteUpdateBody, SiteUsers200, SiteUsersV2200, SiteUsersV2Params, SiteWpGenerate200, SiteWpGenerateBody, SitesAccessLogs200, SitesAccessLogsDownloadParams, SitesAccessLogsParams, SitesAtomicMetrics200, SitesAtomicMetricsParams, SitesAutoupdatesResponse, SitesAutoupdatesUpdateBody, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBackupsXcitium200, SitesBatch200, SitesBatchBody, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDnsParams, SitesDomain200, SitesDomainParams, SitesDomainUrl200, SitesDomainUrlBody, SitesDomainsCreate200, SitesDomainsCreateBody, SitesDomainsV2200, SitesDomainsV2Params, SitesErrorLogs200, SitesErrorLogsDownloadParams, SitesErrorLogsParams, SitesHasBackups200, SitesInfo200, SitesJetpackPurchase200, SitesListV2200, SitesListV3200, SitesListV3Params, SitesMetricDimensions200, SitesMetricDimensionsParams, SitesMetricsDimensionAveraged200, SitesMetricsDimensionAveragedParams, SitesOnboardingSteps200, SitesPerformanceCachepurge200, SitesPerformanceCachepurgeBody, SitesPerformanceEdgecache200, SitesPerformanceEdgecacheBody, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelBody, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesPerformanceRedisPurge200, SitesPerformanceRedisPurgeBody, SitesPerformanceRedisStatus200, SitesPerformanceRedisToggle200, SitesPerformanceRedisToggleBody, SitesPerformanceRedisUninstall200, SitesPerformanceScans200, SitesPerformanceScansAdd200, SitesPerformanceScansAddBody, SitesPerformanceScansList200, SitesPerformanceScansListParams, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsEnableDisableSslBody, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockParams, SitesSecuritySitelockV2200, SitesSecuritySitelockV2Params, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSecuritySslStatusParams, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsComingSoonToggleBody, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsDebugToggleBody, SitesSettingsPhpVersionInheritance200, SitesSettingsPhpVersionInheritanceParams, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersionUpdateBody, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserCreateBody, SitesSshUserDelete200, SitesSshUserDeleteBody, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSshUserUpdateBody, SitesSsl200, SitesSso200, SitesSsoParams, SitesVersion200, SshKey200, SshKeyBody, SshKeyFetch200, SshKeyFetchParams, SshKeyGenerate200, SshKeyGenerateBody, SshKeyImport200, SshKeyImportBody, SshKeyImportV2200, SshKeyImportV2Body, SshKeyImportV3200, SshKeyImportV3Body, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, SshKeyV2Body, Sso200, SsoParams, StagingSitePromote200, StagingSitePromote409, StagingSitePromoteBody, UpdateCron200, UpdateCronBody, UserHosting200, UserHostingOverview200, UserHostingOverviewParams, UserHostingParams, UserProducts200, UserProducts401, UserProducts502, UserProservices200, WaldaiSso200, WaldaiSso404, WaldaiSso502, WebzaiSso200, WeeblySso200, XcitiumBackupCreate200, XcitiumBackupCreateBody, XcitiumBackupDownload200, XcitiumBackupDownloadBody, XcitiumBackupList200, XcitiumBackupListParams, XcitiumBackupRestore200, XcitiumBackupRestoreBody, XcitiumPlanInfo200, XcitiumSso200 } from './index.schemas';
|
|
5
5
|
declare type AwaitedInput<T> = PromiseLike<T> | T;
|
|
6
6
|
declare type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
7
7
|
/**
|
|
@@ -1470,6 +1470,37 @@ export declare function useMonarxAddonReportUrl<TData = Awaited<ReturnType<typeo
|
|
|
1470
1470
|
}): UseQueryResult<TData, TError> & {
|
|
1471
1471
|
queryKey: QueryKey;
|
|
1472
1472
|
};
|
|
1473
|
+
/**
|
|
1474
|
+
* Assigns a domain to SpamExperts
|
|
1475
|
+
* @summary SpamExperts domain assign
|
|
1476
|
+
*/
|
|
1477
|
+
export declare const addonsSpamexpertsDomainAssign: (addonId: string, addonsSpamexpertsDomainAssignBody: AddonsSpamexpertsDomainAssignBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddonsSpamexpertsDomainAssign200>>;
|
|
1478
|
+
export declare const getAddonsSpamexpertsDomainAssignMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1479
|
+
mutation?: UseMutationOptions<AxiosResponse<AddonsSpamexpertsDomainAssign200, any>, TError, {
|
|
1480
|
+
addonId: string;
|
|
1481
|
+
data: AddonsSpamexpertsDomainAssignBody;
|
|
1482
|
+
}, TContext> | undefined;
|
|
1483
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1484
|
+
} | undefined) => UseMutationOptions<AxiosResponse<AddonsSpamexpertsDomainAssign200, any>, TError, {
|
|
1485
|
+
addonId: string;
|
|
1486
|
+
data: AddonsSpamexpertsDomainAssignBody;
|
|
1487
|
+
}, TContext>;
|
|
1488
|
+
export declare type AddonsSpamexpertsDomainAssignMutationResult = NonNullable<Awaited<ReturnType<typeof addonsSpamexpertsDomainAssign>>>;
|
|
1489
|
+
export declare type AddonsSpamexpertsDomainAssignMutationBody = AddonsSpamexpertsDomainAssignBody;
|
|
1490
|
+
export declare type AddonsSpamexpertsDomainAssignMutationError = AxiosError<unknown>;
|
|
1491
|
+
/**
|
|
1492
|
+
* @summary SpamExperts domain assign
|
|
1493
|
+
*/
|
|
1494
|
+
export declare const useAddonsSpamexpertsDomainAssign: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1495
|
+
mutation?: UseMutationOptions<AxiosResponse<AddonsSpamexpertsDomainAssign200, any>, TError, {
|
|
1496
|
+
addonId: string;
|
|
1497
|
+
data: AddonsSpamexpertsDomainAssignBody;
|
|
1498
|
+
}, TContext> | undefined;
|
|
1499
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1500
|
+
} | undefined) => UseMutationResult<AxiosResponse<AddonsSpamexpertsDomainAssign200, any>, TError, {
|
|
1501
|
+
addonId: string;
|
|
1502
|
+
data: AddonsSpamexpertsDomainAssignBody;
|
|
1503
|
+
}, TContext>;
|
|
1473
1504
|
/**
|
|
1474
1505
|
* Returns spamexperts sso url
|
|
1475
1506
|
* @summary info
|
|
@@ -6043,6 +6074,38 @@ export declare const useSitesBatch: <TError = AxiosError<unknown, any>, TContext
|
|
|
6043
6074
|
hostingId: number;
|
|
6044
6075
|
data: SitesBatchBody;
|
|
6045
6076
|
}, TContext>;
|
|
6077
|
+
/**
|
|
6078
|
+
* Returns domains on the hosting account that are eligible for SpamExperts domain assignment
|
|
6079
|
+
* @summary SpamExperts eligible domains
|
|
6080
|
+
*/
|
|
6081
|
+
export declare const hostingSpamexpertsEligibleDomains: (hostingId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingSpamexpertsEligibleDomains200>>;
|
|
6082
|
+
export declare const getHostingSpamexpertsEligibleDomainsQueryKey: (hostingId: string) => readonly [`/v1/hosting/${string}/spamexperts/eligible-domains`];
|
|
6083
|
+
export declare const getHostingSpamexpertsEligibleDomainsQueryOptions: <TData = AxiosResponse<HostingSpamexpertsEligibleDomains200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
|
|
6084
|
+
query?: Partial<UseQueryOptions<AxiosResponse<HostingSpamexpertsEligibleDomains200, any>, TError, TData, QueryKey>> | undefined;
|
|
6085
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
6086
|
+
} | undefined) => UseQueryOptions<AxiosResponse<HostingSpamexpertsEligibleDomains200, any>, TError, TData, QueryKey> & {
|
|
6087
|
+
queryKey: QueryKey;
|
|
6088
|
+
};
|
|
6089
|
+
export declare type HostingSpamexpertsEligibleDomainsQueryResult = NonNullable<Awaited<ReturnType<typeof hostingSpamexpertsEligibleDomains>>>;
|
|
6090
|
+
export declare type HostingSpamexpertsEligibleDomainsQueryError = AxiosError<unknown>;
|
|
6091
|
+
export declare function useHostingSpamexpertsEligibleDomains<TData = Awaited<ReturnType<typeof hostingSpamexpertsEligibleDomains>>, TError = AxiosError<unknown>>(hostingId: string, options: {
|
|
6092
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof hostingSpamexpertsEligibleDomains>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof hostingSpamexpertsEligibleDomains>>, TError, TData>, 'initialData'>;
|
|
6093
|
+
axios?: AxiosRequestConfig;
|
|
6094
|
+
}): DefinedUseQueryResult<TData, TError> & {
|
|
6095
|
+
queryKey: QueryKey;
|
|
6096
|
+
};
|
|
6097
|
+
export declare function useHostingSpamexpertsEligibleDomains<TData = Awaited<ReturnType<typeof hostingSpamexpertsEligibleDomains>>, TError = AxiosError<unknown>>(hostingId: string, options?: {
|
|
6098
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof hostingSpamexpertsEligibleDomains>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof hostingSpamexpertsEligibleDomains>>, TError, TData>, 'initialData'>;
|
|
6099
|
+
axios?: AxiosRequestConfig;
|
|
6100
|
+
}): UseQueryResult<TData, TError> & {
|
|
6101
|
+
queryKey: QueryKey;
|
|
6102
|
+
};
|
|
6103
|
+
export declare function useHostingSpamexpertsEligibleDomains<TData = Awaited<ReturnType<typeof hostingSpamexpertsEligibleDomains>>, TError = AxiosError<unknown>>(hostingId: string, options?: {
|
|
6104
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof hostingSpamexpertsEligibleDomains>>, TError, TData>>;
|
|
6105
|
+
axios?: AxiosRequestConfig;
|
|
6106
|
+
}): UseQueryResult<TData, TError> & {
|
|
6107
|
+
queryKey: QueryKey;
|
|
6108
|
+
};
|
|
6046
6109
|
/**
|
|
6047
6110
|
* Returns the hosting account's SSH information
|
|
6048
6111
|
* @summary ssh info
|
|
@@ -9168,6 +9231,38 @@ export declare function useAllUserMonarxDetails<TData = Awaited<ReturnType<typeo
|
|
|
9168
9231
|
}): UseQueryResult<TData, TError> & {
|
|
9169
9232
|
queryKey: QueryKey;
|
|
9170
9233
|
};
|
|
9234
|
+
/**
|
|
9235
|
+
* Returns a list of products belonging to the user
|
|
9236
|
+
* @summary Get user product lites
|
|
9237
|
+
*/
|
|
9238
|
+
export declare const userProducts: (options?: AxiosRequestConfig) => Promise<AxiosResponse<UserProducts200>>;
|
|
9239
|
+
export declare const getUserProductsQueryKey: () => readonly ["/v1/user/products"];
|
|
9240
|
+
export declare const getUserProductsQueryOptions: <TData = AxiosResponse<UserProducts200, any>, TError = AxiosError<UserProducts502 | UserProducts401, any>>(options?: {
|
|
9241
|
+
query?: Partial<UseQueryOptions<AxiosResponse<UserProducts200, any>, TError, TData, QueryKey>> | undefined;
|
|
9242
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
9243
|
+
} | undefined) => UseQueryOptions<AxiosResponse<UserProducts200, any>, TError, TData, QueryKey> & {
|
|
9244
|
+
queryKey: QueryKey;
|
|
9245
|
+
};
|
|
9246
|
+
export declare type UserProductsQueryResult = NonNullable<Awaited<ReturnType<typeof userProducts>>>;
|
|
9247
|
+
export declare type UserProductsQueryError = AxiosError<UserProducts401 | UserProducts502>;
|
|
9248
|
+
export declare function useUserProducts<TData = Awaited<ReturnType<typeof userProducts>>, TError = AxiosError<UserProducts401 | UserProducts502>>(options: {
|
|
9249
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof userProducts>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof userProducts>>, TError, TData>, 'initialData'>;
|
|
9250
|
+
axios?: AxiosRequestConfig;
|
|
9251
|
+
}): DefinedUseQueryResult<TData, TError> & {
|
|
9252
|
+
queryKey: QueryKey;
|
|
9253
|
+
};
|
|
9254
|
+
export declare function useUserProducts<TData = Awaited<ReturnType<typeof userProducts>>, TError = AxiosError<UserProducts401 | UserProducts502>>(options?: {
|
|
9255
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof userProducts>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof userProducts>>, TError, TData>, 'initialData'>;
|
|
9256
|
+
axios?: AxiosRequestConfig;
|
|
9257
|
+
}): UseQueryResult<TData, TError> & {
|
|
9258
|
+
queryKey: QueryKey;
|
|
9259
|
+
};
|
|
9260
|
+
export declare function useUserProducts<TData = Awaited<ReturnType<typeof userProducts>>, TError = AxiosError<UserProducts401 | UserProducts502>>(options?: {
|
|
9261
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof userProducts>>, TError, TData>>;
|
|
9262
|
+
axios?: AxiosRequestConfig;
|
|
9263
|
+
}): UseQueryResult<TData, TError> & {
|
|
9264
|
+
queryKey: QueryKey;
|
|
9265
|
+
};
|
|
9171
9266
|
/**
|
|
9172
9267
|
* Returns pro-services FG products for the authenticated user
|
|
9173
9268
|
* @summary Return pro-services products for the user
|
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.1990.0
|
|
7
7
|
*/
|
|
8
8
|
import { useInfiniteQuery, useMutation, useQuery } from '@tanstack/react-query';
|
|
9
9
|
import axios from 'axios';
|
|
@@ -1139,6 +1139,28 @@ export function useMonarxAddonReportUrl(addonId, params, options) {
|
|
|
1139
1139
|
query.queryKey = queryOptions.queryKey;
|
|
1140
1140
|
return query;
|
|
1141
1141
|
}
|
|
1142
|
+
/**
|
|
1143
|
+
* Assigns a domain to SpamExperts
|
|
1144
|
+
* @summary SpamExperts domain assign
|
|
1145
|
+
*/
|
|
1146
|
+
export const addonsSpamexpertsDomainAssign = (addonId, addonsSpamexpertsDomainAssignBody, options) => {
|
|
1147
|
+
return axios.post(`/v1/addons/${addonId}/spamexperts/domain/assign`, addonsSpamexpertsDomainAssignBody, options);
|
|
1148
|
+
};
|
|
1149
|
+
export const getAddonsSpamexpertsDomainAssignMutationOptions = (options) => {
|
|
1150
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
1151
|
+
const mutationFn = (props) => {
|
|
1152
|
+
const { addonId, data } = props !== null && props !== void 0 ? props : {};
|
|
1153
|
+
return addonsSpamexpertsDomainAssign(addonId, data, axiosOptions);
|
|
1154
|
+
};
|
|
1155
|
+
return Object.assign({ mutationFn }, mutationOptions);
|
|
1156
|
+
};
|
|
1157
|
+
/**
|
|
1158
|
+
* @summary SpamExperts domain assign
|
|
1159
|
+
*/
|
|
1160
|
+
export const useAddonsSpamexpertsDomainAssign = (options) => {
|
|
1161
|
+
const mutationOptions = getAddonsSpamexpertsDomainAssignMutationOptions(options);
|
|
1162
|
+
return useMutation(mutationOptions);
|
|
1163
|
+
};
|
|
1142
1164
|
/**
|
|
1143
1165
|
* Returns spamexperts sso url
|
|
1144
1166
|
* @summary info
|
|
@@ -4642,6 +4664,32 @@ export const useSitesBatch = (options) => {
|
|
|
4642
4664
|
const mutationOptions = getSitesBatchMutationOptions(options);
|
|
4643
4665
|
return useMutation(mutationOptions);
|
|
4644
4666
|
};
|
|
4667
|
+
/**
|
|
4668
|
+
* Returns domains on the hosting account that are eligible for SpamExperts domain assignment
|
|
4669
|
+
* @summary SpamExperts eligible domains
|
|
4670
|
+
*/
|
|
4671
|
+
export const hostingSpamexpertsEligibleDomains = (hostingId, options) => {
|
|
4672
|
+
return axios.get(`/v1/hosting/${hostingId}/spamexperts/eligible-domains`, options);
|
|
4673
|
+
};
|
|
4674
|
+
export const getHostingSpamexpertsEligibleDomainsQueryKey = (hostingId) => {
|
|
4675
|
+
return [`/v1/hosting/${hostingId}/spamexperts/eligible-domains`];
|
|
4676
|
+
};
|
|
4677
|
+
export const getHostingSpamexpertsEligibleDomainsQueryOptions = (hostingId, options) => {
|
|
4678
|
+
var _a;
|
|
4679
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
4680
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getHostingSpamexpertsEligibleDomainsQueryKey(hostingId);
|
|
4681
|
+
const queryFn = ({ signal }) => hostingSpamexpertsEligibleDomains(hostingId, Object.assign({ signal }, axiosOptions));
|
|
4682
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(hostingId) }, queryOptions);
|
|
4683
|
+
};
|
|
4684
|
+
/**
|
|
4685
|
+
* @summary SpamExperts eligible domains
|
|
4686
|
+
*/
|
|
4687
|
+
export function useHostingSpamexpertsEligibleDomains(hostingId, options) {
|
|
4688
|
+
const queryOptions = getHostingSpamexpertsEligibleDomainsQueryOptions(hostingId, options);
|
|
4689
|
+
const query = useQuery(queryOptions);
|
|
4690
|
+
query.queryKey = queryOptions.queryKey;
|
|
4691
|
+
return query;
|
|
4692
|
+
}
|
|
4645
4693
|
/**
|
|
4646
4694
|
* Returns the hosting account's SSH information
|
|
4647
4695
|
* @summary ssh info
|
|
@@ -7075,6 +7123,32 @@ export function useAllUserMonarxDetails(options) {
|
|
|
7075
7123
|
query.queryKey = queryOptions.queryKey;
|
|
7076
7124
|
return query;
|
|
7077
7125
|
}
|
|
7126
|
+
/**
|
|
7127
|
+
* Returns a list of products belonging to the user
|
|
7128
|
+
* @summary Get user product lites
|
|
7129
|
+
*/
|
|
7130
|
+
export const userProducts = (options) => {
|
|
7131
|
+
return axios.get(`/v1/user/products`, options);
|
|
7132
|
+
};
|
|
7133
|
+
export const getUserProductsQueryKey = () => {
|
|
7134
|
+
return [`/v1/user/products`];
|
|
7135
|
+
};
|
|
7136
|
+
export const getUserProductsQueryOptions = (options) => {
|
|
7137
|
+
var _a;
|
|
7138
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
7139
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getUserProductsQueryKey();
|
|
7140
|
+
const queryFn = ({ signal }) => userProducts(Object.assign({ signal }, axiosOptions));
|
|
7141
|
+
return Object.assign({ queryKey, queryFn }, queryOptions);
|
|
7142
|
+
};
|
|
7143
|
+
/**
|
|
7144
|
+
* @summary Get user product lites
|
|
7145
|
+
*/
|
|
7146
|
+
export function useUserProducts(options) {
|
|
7147
|
+
const queryOptions = getUserProductsQueryOptions(options);
|
|
7148
|
+
const query = useQuery(queryOptions);
|
|
7149
|
+
query.queryKey = queryOptions.queryKey;
|
|
7150
|
+
return query;
|
|
7151
|
+
}
|
|
7078
7152
|
/**
|
|
7079
7153
|
* Returns pro-services FG products for the authenticated user
|
|
7080
7154
|
* @summary Return pro-services products for the user
|
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, AddonsWorkflows200, AllUserMonarxDetails200, Announcements200, BackupCreateOndemandV1200, BackupCreateV2200, BackupCreateV3200, BackupCustomDeleteV1200, BackupDownloadV2200, BackupInitiate200, BackupList200, BackupListV2200, BackupListV3200, BackupMeta200, BackupPrefSetStatus200, BackupRestoreV2200, BackupRestoreV3200, BackupSettings200, BackupSettingsCreate200, BackupSettingsUpdate200, BackupStatus200, BackupStatusV2200, BackupStatusV3200, BackupUsage200, BackupsJetpackBackup200, BullhornAnnouncements200, CodeguardBackupCreate200, CodeguardBackupDownload200, CodeguardBackupList200, CodeguardBackupRestore200, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupRestore200, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupRestore200, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronLastRun200, Db200, DbAdd200, DbCheckDatabase200, DbListV2200, DbMultipleUserDatabase200, DbUsage200, DbUserAdd200, DbUserDelete200, DbUserList200, DbUserPasswordSet200, DbUserPrivsGet200, DbUserPrivsSet200, DbUserRename200, DirectoryPrivacy200, DomainCertInstall200, DomainCertUninstall200, DomainCertUpdate200, DomainCerts200, DomainDnsExport200, DomainDnsImport200, DomainDnseditor200, DomainDnseditorAdd200, DomainDnseditorEdit200, DomainDnseditorList200, DomainDnszoneReset200, DomainEmailDeliverability200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsSetEntriUsed200, DomainsUnsetEntriUsed200, EditPrivacy200, EmailSso200, ErrorPagesAdd200, ErrorPagesDelete200, ErrorPagesFetch200, HostingAccount200, HostingAddons200, HostingAdvancedConsole200, HostingAdvancedDns200, HostingAdvancedDnsUpdate200, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesCheck200, HostingAdvancedImages200, HostingAdvancedPassword200, HostingAdvancedServer200, HostingAdvancedServerHealthcheck200, HostingAdvancedServerStatus200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, 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, PublicRegions200, RepairDatabase200, ResetSite200, Site200, SiteAddonCloudflare200, SiteAddonWpsolution200, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginInstall200, SitePluginInstaller200, SitePluginUpdate200, SitePlugins200, SitePluginsAutoupdate200, SitePluginsToggle200, SitePluginsUpdate200, SiteQualityMetrics200, SiteStatus200, SiteThemeInstall200, SiteUpdate200, SiteUsers200, SiteUsersV2200, SiteWpGenerate200, SitesAccessLogs200, SitesAtomicMetrics200, SitesAutoupdatesResponse, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBackupsXcitium200, SitesBatch200, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDomain200, SitesDomainUrl200, SitesDomainsCreate200, SitesDomainsV2200, SitesErrorLogs200, SitesHasBackups200, SitesInfo200, SitesJetpackPurchase200, SitesListV2200, SitesListV3200, SitesMetricDimensions200, SitesMetricsDimensionAveraged200, SitesOnboardingSteps200, SitesPerformanceCachepurge200, SitesPerformanceEdgecache200, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesPerformanceRedisPurge200, SitesPerformanceRedisStatus200, SitesPerformanceRedisToggle200, SitesPerformanceRedisUninstall200, SitesPerformanceScans200, SitesPerformanceScansAdd200, SitesPerformanceScansList200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockV2200, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsPhpVersionInheritance200, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserDelete200, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSsl200, SitesSso200, SitesVersion200, SshKey200, SshKeyFetch200, SshKeyGenerate200, SshKeyImport200, SshKeyImportV2200, SshKeyImportV3200, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, Sso200, StagingSitePromote200, UpdateCron200, UserHosting200, UserHostingOverview200, UserProservices200, WaldaiSso200, WebzaiSso200, WeeblySso200, XcitiumBackupCreate200, XcitiumBackupDownload200, XcitiumBackupList200, XcitiumBackupRestore200, XcitiumPlanInfo200, XcitiumSso200 } 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, AddonsSpamexpertsDomainAssign200, AddonsSpamexpertsSso200, AddonsSync200, AddonsWorkflows200, AllUserMonarxDetails200, Announcements200, BackupCreateOndemandV1200, BackupCreateV2200, BackupCreateV3200, BackupCustomDeleteV1200, BackupDownloadV2200, BackupInitiate200, BackupList200, BackupListV2200, BackupListV3200, BackupMeta200, BackupPrefSetStatus200, BackupRestoreV2200, BackupRestoreV3200, BackupSettings200, BackupSettingsCreate200, BackupSettingsUpdate200, BackupStatus200, BackupStatusV2200, BackupStatusV3200, BackupUsage200, BackupsJetpackBackup200, BullhornAnnouncements200, CodeguardBackupCreate200, CodeguardBackupDownload200, CodeguardBackupList200, CodeguardBackupRestore200, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupRestore200, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupRestore200, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronLastRun200, Db200, DbAdd200, DbCheckDatabase200, DbListV2200, DbMultipleUserDatabase200, DbUsage200, DbUserAdd200, DbUserDelete200, DbUserList200, DbUserPasswordSet200, DbUserPrivsGet200, DbUserPrivsSet200, DbUserRename200, DirectoryPrivacy200, DomainCertInstall200, DomainCertUninstall200, DomainCertUpdate200, DomainCerts200, DomainDnsExport200, DomainDnsImport200, DomainDnseditor200, DomainDnseditorAdd200, DomainDnseditorEdit200, DomainDnseditorList200, DomainDnszoneReset200, DomainEmailDeliverability200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsSetEntriUsed200, DomainsUnsetEntriUsed200, EditPrivacy200, EmailSso200, ErrorPagesAdd200, ErrorPagesDelete200, ErrorPagesFetch200, HostingAccount200, HostingAddons200, HostingAdvancedConsole200, HostingAdvancedDns200, HostingAdvancedDnsUpdate200, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesCheck200, HostingAdvancedImages200, HostingAdvancedPassword200, HostingAdvancedServer200, HostingAdvancedServerHealthcheck200, HostingAdvancedServerStatus200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingCapabilities200, HostingDbAuthorizedHosts200, HostingDbAuthorizedHostsAdd200, HostingDbAuthorizedHostsDelete200, HostingDbAuthorizedHostsUpdate200, HostingDomainAssign200, HostingDomainAvailability200, HostingDomainsUnassign200, HostingDomainsUnassignV2200, HostingDomainsV2200, HostingEcommerceInfo200, HostingEmailAdd200, HostingEmailAutoresponderCreate200, HostingEmailAutoresponderDelete200, HostingEmailAutoresponderInfo200, HostingEmailAutoresponderList200, HostingEmailAutoresponderUpdate200, HostingEmailDelete200, HostingEmailDomainRouting200, HostingEmailDomainRoutingSet200, HostingEmailFiltersAdd200, HostingEmailFiltersDelete200, HostingEmailFiltersList200, HostingEmailFiltersUpdate200, HostingEmailFolderList200, HostingEmailForwardDelete200, HostingEmailForwarderAdd200, HostingEmailForwardersList200, HostingEmailKeysAdd200, HostingEmailKeysList200, HostingEmailList200, HostingEmailSettings200, HostingEmailSetupInfo200, HostingEmailSpamCustomSettings200, HostingEmailSpamCustomSettingsUpdate200, HostingEmailSpamEmpty200, HostingEmailSpamSettings200, HostingEmailSpamSettingsUpdate200, HostingEmailTestSend200, HostingEmailUpdate200, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpList200, HostingFtpUpdate200, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingLicenseInfo200, HostingMigrationInfo200, HostingMigrationSiteScanStatus200, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsEvent200, HostingMonarxAddonsList200, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingPasswordUpdate200, HostingRedirect200, HostingRedirects200Item, HostingRedirectsV2200Item, HostingRepo200, HostingRepoList200Item, HostingRepoLog200, HostingRepoSync200, HostingResellerSsoWhm200, HostingSendEmailSetupInfo200, HostingServerHits200, HostingShellInfo200, HostingShellToggle200, HostingSiteAdd200, HostingSiteAddV2200, HostingSiteAddV3200, HostingSitesV2200, HostingSpamexpertsEligibleDomains200, HostingSshInfo200, HostingVisitors200, HotlinkconfigAdd200, HotlinkconfigDelete200, HotlinkconfigDetails200, Index200, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListIndex200, MonarxAddonReportUrl200, MonarxAddonSealGeneration200, PasswordGenerate200, PasswordScore200, PhpErrors200, Privacy200, PrivacyUser200, ProductLicenseDetails200, PublicImages200, PublicRegions200, RepairDatabase200, ResetSite200, Site200, SiteAddonCloudflare200, SiteAddonWpsolution200, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginInstall200, SitePluginInstaller200, SitePluginUpdate200, SitePlugins200, SitePluginsAutoupdate200, SitePluginsToggle200, SitePluginsUpdate200, SiteQualityMetrics200, SiteStatus200, SiteThemeInstall200, SiteUpdate200, SiteUsers200, SiteUsersV2200, SiteWpGenerate200, SitesAccessLogs200, SitesAtomicMetrics200, SitesAutoupdatesResponse, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBackupsXcitium200, SitesBatch200, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDomain200, SitesDomainUrl200, SitesDomainsCreate200, SitesDomainsV2200, SitesErrorLogs200, SitesHasBackups200, SitesInfo200, SitesJetpackPurchase200, SitesListV2200, SitesListV3200, SitesMetricDimensions200, SitesMetricsDimensionAveraged200, SitesOnboardingSteps200, SitesPerformanceCachepurge200, SitesPerformanceEdgecache200, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesPerformanceRedisPurge200, SitesPerformanceRedisStatus200, SitesPerformanceRedisToggle200, SitesPerformanceRedisUninstall200, SitesPerformanceScans200, SitesPerformanceScansAdd200, SitesPerformanceScansList200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockV2200, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsPhpVersionInheritance200, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserDelete200, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSsl200, SitesSso200, SitesVersion200, SshKey200, SshKeyFetch200, SshKeyGenerate200, SshKeyImport200, SshKeyImportV2200, SshKeyImportV3200, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, Sso200, StagingSitePromote200, UpdateCron200, UserHosting200, UserHostingOverview200, UserProducts200, UserProservices200, WaldaiSso200, WebzaiSso200, WeeblySso200, XcitiumBackupCreate200, XcitiumBackupDownload200, XcitiumBackupList200, XcitiumBackupRestore200, XcitiumPlanInfo200, XcitiumSso200 } from './index.schemas';
|
|
3
3
|
export declare const getAccountEventListResponseMock: (overrideResponse?: Partial<AccountEventList200>) => AccountEventList200;
|
|
4
4
|
export declare const getAccountFeaturesResponseMock: (overrideResponse?: Partial<AccountFeatures200>) => AccountFeatures200;
|
|
5
5
|
export declare const getAccountHostingListResponseMock: (overrideResponse?: Partial<AccountHostingList200>) => AccountHostingList200;
|
|
@@ -46,6 +46,7 @@ export declare const getAddonsInfoResponseMock: (overrideResponse?: Partial<Addo
|
|
|
46
46
|
export declare const getAddonsJetpackValidateResponseMock: (overrideResponse?: Partial<AddonsJetpackValidate200>) => AddonsJetpackValidate200;
|
|
47
47
|
export declare const getMonarxAddonSealGenerationResponseMock: (overrideResponse?: Partial<MonarxAddonSealGeneration200>) => MonarxAddonSealGeneration200;
|
|
48
48
|
export declare const getMonarxAddonReportUrlResponseMock: (overrideResponse?: Partial<MonarxAddonReportUrl200>) => MonarxAddonReportUrl200;
|
|
49
|
+
export declare const getAddonsSpamexpertsDomainAssignResponseMock: (overrideResponse?: Partial<AddonsSpamexpertsDomainAssign200>) => AddonsSpamexpertsDomainAssign200;
|
|
49
50
|
export declare const getAddonsSpamexpertsSsoResponseMock: (overrideResponse?: Partial<AddonsSpamexpertsSso200>) => AddonsSpamexpertsSso200;
|
|
50
51
|
export declare const getAddonsSyncResponseMock: (overrideResponse?: Partial<AddonsSync200>) => AddonsSync200;
|
|
51
52
|
export declare const getWebzaiSsoResponseMock: (overrideResponse?: Partial<WebzaiSso200>) => WebzaiSso200;
|
|
@@ -192,6 +193,7 @@ export declare const getHostingShellToggleResponseMock: (overrideResponse?: Part
|
|
|
192
193
|
export declare const getHostingShellInfoResponseMock: (overrideResponse?: Partial<HostingShellInfo200>) => HostingShellInfo200;
|
|
193
194
|
export declare const getHostingSiteAddResponseMock: (overrideResponse?: Partial<HostingSiteAdd200>) => HostingSiteAdd200;
|
|
194
195
|
export declare const getSitesBatchResponseMock: (overrideResponse?: Partial<SitesBatch200>) => SitesBatch200;
|
|
196
|
+
export declare const getHostingSpamexpertsEligibleDomainsResponseMock: (overrideResponse?: Partial<HostingSpamexpertsEligibleDomains200>) => HostingSpamexpertsEligibleDomains200;
|
|
195
197
|
export declare const getHostingSshInfoResponseMock: (overrideResponse?: Partial<HostingSshInfo200>) => HostingSshInfo200;
|
|
196
198
|
export declare const getSshKeyFetchResponseMock: (overrideResponse?: Partial<SshKeyFetch200>) => SshKeyFetch200;
|
|
197
199
|
export declare const getSshKeyImportResponseMock: (overrideResponse?: Partial<SshKeyImport200>) => SshKeyImport200;
|
|
@@ -289,6 +291,7 @@ export declare const getSiteAddonWpsolutionResponseMock: (overrideResponse?: Par
|
|
|
289
291
|
export declare const getUserHostingResponseMock: (overrideResponse?: Partial<UserHosting200>) => UserHosting200;
|
|
290
292
|
export declare const getUserHostingOverviewResponseMock: (overrideResponse?: Partial<UserHostingOverview200>) => UserHostingOverview200;
|
|
291
293
|
export declare const getAllUserMonarxDetailsResponseMock: (overrideResponse?: Partial<AllUserMonarxDetails200>) => AllUserMonarxDetails200;
|
|
294
|
+
export declare const getUserProductsResponseMock: (overrideResponse?: Partial<UserProducts200>) => UserProducts200;
|
|
292
295
|
export declare const getUserProservicesResponseMock: (overrideResponse?: Partial<UserProservices200>) => UserProservices200;
|
|
293
296
|
export declare const getWaldaiSsoResponseMock: (overrideResponse?: Partial<WaldaiSso200>) => WaldaiSso200;
|
|
294
297
|
export declare const getAddonsSitelockSsoV2ResponseMock: (overrideResponse?: Partial<AddonsSitelockSsoV2200>) => AddonsSitelockSsoV2200;
|
|
@@ -371,6 +374,7 @@ export declare const getAddonsInfoMockHandler: (overrideResponse?: AddonsInfo200
|
|
|
371
374
|
export declare const getAddonsJetpackValidateMockHandler: (overrideResponse?: AddonsJetpackValidate200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<AddonsJetpackValidate200> | AddonsJetpackValidate200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
372
375
|
export declare const getMonarxAddonSealGenerationMockHandler: (overrideResponse?: MonarxAddonSealGeneration200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<MonarxAddonSealGeneration200> | MonarxAddonSealGeneration200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
373
376
|
export declare const getMonarxAddonReportUrlMockHandler: (overrideResponse?: MonarxAddonReportUrl200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<MonarxAddonReportUrl200> | MonarxAddonReportUrl200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
377
|
+
export declare const getAddonsSpamexpertsDomainAssignMockHandler: (overrideResponse?: AddonsSpamexpertsDomainAssign200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<AddonsSpamexpertsDomainAssign200> | AddonsSpamexpertsDomainAssign200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
374
378
|
export declare const getAddonsSpamexpertsSsoMockHandler: (overrideResponse?: AddonsSpamexpertsSso200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AddonsSpamexpertsSso200> | AddonsSpamexpertsSso200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
375
379
|
export declare const getAddonsSyncMockHandler: (overrideResponse?: AddonsSync200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AddonsSync200> | AddonsSync200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
376
380
|
export declare const getWebzaiSsoMockHandler: (overrideResponse?: WebzaiSso200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<WebzaiSso200> | WebzaiSso200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
@@ -517,6 +521,7 @@ export declare const getHostingShellToggleMockHandler: (overrideResponse?: Hosti
|
|
|
517
521
|
export declare const getHostingShellInfoMockHandler: (overrideResponse?: HostingShellInfo200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingShellInfo200> | HostingShellInfo200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
518
522
|
export declare const getHostingSiteAddMockHandler: (overrideResponse?: HostingSiteAdd200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<HostingSiteAdd200> | HostingSiteAdd200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
519
523
|
export declare const getSitesBatchMockHandler: (overrideResponse?: SitesBatch200 | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<SitesBatch200> | SitesBatch200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
524
|
+
export declare const getHostingSpamexpertsEligibleDomainsMockHandler: (overrideResponse?: HostingSpamexpertsEligibleDomains200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingSpamexpertsEligibleDomains200> | HostingSpamexpertsEligibleDomains200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
520
525
|
export declare const getHostingSshInfoMockHandler: (overrideResponse?: HostingSshInfo200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingSshInfo200> | HostingSshInfo200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
521
526
|
export declare const getSshKeyFetchMockHandler: (overrideResponse?: SshKeyFetch200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SshKeyFetch200> | SshKeyFetch200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
522
527
|
export declare const getSshKeyImportMockHandler: (overrideResponse?: SshKeyImport200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<SshKeyImport200> | SshKeyImport200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
@@ -616,6 +621,7 @@ export declare const getSiteAddonWpsolutionMockHandler: (overrideResponse?: Site
|
|
|
616
621
|
export declare const getUserHostingMockHandler: (overrideResponse?: UserHosting200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<UserHosting200> | UserHosting200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
617
622
|
export declare const getUserHostingOverviewMockHandler: (overrideResponse?: UserHostingOverview200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<UserHostingOverview200> | UserHostingOverview200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
618
623
|
export declare const getAllUserMonarxDetailsMockHandler: (overrideResponse?: AllUserMonarxDetails200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AllUserMonarxDetails200> | AllUserMonarxDetails200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
624
|
+
export declare const getUserProductsMockHandler: (overrideResponse?: UserProducts200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<UserProducts200> | UserProducts200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
619
625
|
export declare const getUserProservicesMockHandler: (overrideResponse?: UserProservices200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<UserProservices200> | UserProservices200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
620
626
|
export declare const getWaldaiSsoMockHandler: (overrideResponse?: WaldaiSso200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<WaldaiSso200> | WaldaiSso200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
621
627
|
export declare const getAddonsSitelockSsoV2MockHandler: (overrideResponse?: AddonsSitelockSsoV2200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AddonsSitelockSsoV2200> | AddonsSitelockSsoV2200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
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.1990.0
|
|
8
8
|
*/
|
|
9
9
|
import { faker } from '@faker-js/faker';
|
|
10
10
|
import { HttpResponse, delay, http } from 'msw';
|
|
@@ -55,6 +55,7 @@ export const getAddonsInfoResponseMock = (overrideResponse = {}) => (Object.assi
|
|
|
55
55
|
export const getAddonsJetpackValidateResponseMock = (overrideResponse = {}) => (Object.assign({ is_connected: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, overrideResponse));
|
|
56
56
|
export const getMonarxAddonSealGenerationResponseMock = (overrideResponse = {}) => (Object.assign({ monarx_seal: faker.word.sample(), site_registration_id: faker.word.sample() }, overrideResponse));
|
|
57
57
|
export const getMonarxAddonReportUrlResponseMock = (overrideResponse = {}) => (Object.assign({ report_url: faker.word.sample() }, overrideResponse));
|
|
58
|
+
export const getAddonsSpamexpertsDomainAssignResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
|
|
58
59
|
export const getAddonsSpamexpertsSsoResponseMock = (overrideResponse = {}) => (Object.assign({ url: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
59
60
|
export const getAddonsSyncResponseMock = (overrideResponse = {}) => (Object.assign({ previous_status: faker.helpers.arrayElement([faker.word.sample(), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
60
61
|
export const getWebzaiSsoResponseMock = (overrideResponse = {}) => (Object.assign({ sso: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
@@ -203,6 +204,7 @@ export const getHostingShellToggleResponseMock = (overrideResponse = {}) => (Obj
|
|
|
203
204
|
export const getHostingShellInfoResponseMock = (overrideResponse = {}) => (Object.assign({ enabled: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, overrideResponse));
|
|
204
205
|
export const getHostingSiteAddResponseMock = (overrideResponse = {}) => (Object.assign({ id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]), success: faker.datatype.boolean() }, overrideResponse));
|
|
205
206
|
export const getSitesBatchResponseMock = (overrideResponse = {}) => (Object.assign({ success: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, overrideResponse));
|
|
207
|
+
export const getHostingSpamexpertsEligibleDomainsResponseMock = (overrideResponse = {}) => (Object.assign({ n_rows: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), rows: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ domain: faker.helpers.arrayElement([faker.word.sample(), undefined]), id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]), type: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]) }, overrideResponse));
|
|
206
208
|
export const getHostingSshInfoResponseMock = (overrideResponse = {}) => (Object.assign({ credential: faker.helpers.arrayElement([faker.word.sample(), undefined]), ip: faker.helpers.arrayElement([faker.word.sample(), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]), success: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), username: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
207
209
|
export const getSshKeyFetchResponseMock = (overrideResponse = {}) => (Object.assign({ key: faker.helpers.arrayElement([faker.word.sample(), undefined]), key_name: faker.helpers.arrayElement([faker.word.sample(), undefined]), type: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
208
210
|
export const getSshKeyImportResponseMock = (overrideResponse = {}) => (Object.assign({ key_name: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
@@ -324,7 +326,8 @@ export const getSiteAddonWpsolutionResponseMock = (overrideResponse = {}) => (Ob
|
|
|
324
326
|
export const getUserHostingResponseMock = (overrideResponse = {}) => (Object.assign({ rows: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ account_info: faker.helpers.arrayElement([{ addon_back_ref: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), addon_date_added: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), addon_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), addon_status: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), application: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), brand: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), brand_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), date_added: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), date_modified: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), homedir: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), image: faker.helpers.arrayElement([{ app: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), os_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), os_version: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), software: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), ip: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), meta: faker.helpers.arrayElement([{ main_domain: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), prev_tenant: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), ns: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), os_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), os_version: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), platform: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), region: faker.helpers.arrayElement([{ desc: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), server_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), server_status: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), server_subtype: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), server_type: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), software: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), ssh_hostname: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), status: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), tenant_back_ref: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), tenant_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), type: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), username: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), back_reference: faker.helpers.arrayElement([faker.word.sample(), undefined]), billing: faker.helpers.arrayElement([{ auto_renew_flag: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), expiration_date: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), prod_code: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), prod_inst_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), prod_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), capability_sites: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), feature_set: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), has_panel_mail: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), is_upgradeable: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), limit: faker.helpers.arrayElement([{ disk_limit_gib: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), sites: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), workers: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]) }, undefined]), limit_remote: faker.helpers.arrayElement([{ inodes: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), quota_kib: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), package: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), panel: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), panel_mail_addon: faker.helpers.arrayElement([{ back_reference: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), subtype: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), sites: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), used: faker.helpers.arrayElement([{ disk_limit_gib: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), disk_usage: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), domain: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), inodes: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), sites: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), sites_active: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), staging_sites: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), workers: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]) }, undefined]), used_stage: faker.helpers.arrayElement([{ disk_limit_gib: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), disk_usage: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), workers: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]) }, undefined]) })), undefined]) }, overrideResponse));
|
|
325
327
|
export const getUserHostingOverviewResponseMock = (overrideResponse = {}) => (Object.assign({ has_unlimited_sites: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), hosting_accounts: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), max_sites: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
|
326
328
|
export const getAllUserMonarxDetailsResponseMock = (overrideResponse = {}) => (Object.assign({ rows: Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ account_back_ref: faker.helpers.arrayElement([faker.word.sample(), undefined]), addon_id: faker.number.int({ min: undefined, max: undefined }), domain_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), domain_name: faker.word.sample(), health_status: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), last_scan_completed_at: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), plan: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), prod_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) })) }, overrideResponse));
|
|
327
|
-
export const
|
|
329
|
+
export const getUserProductsResponseMock = (overrideResponse = {}) => (Object.assign({ products: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ account_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), auto_renew: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), auto_renew_flag: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), created_date: faker.helpers.arrayElement([faker.helpers.arrayElement([`${faker.date.past().toISOString().split('.')[0]}Z`, null]), undefined]), expiration_date: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), generic_prod_type: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), is_cloud_product: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), is_free_foundation_hosting: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), is_gw_product_configured: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), parent_prod_inst_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), prod_code: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), prod_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), prod_inst_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), prod_inst_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), prod_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), prod_type: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), subscription_term: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), subscription_unit: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) })), undefined]) }, overrideResponse));
|
|
330
|
+
export const getUserProservicesResponseMock = (overrideResponse = {}) => (Object.assign({ products: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ auto_renew_flag: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), billing_account_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), created_date: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), expiration_date: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), generic_prod_type: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), identifier: faker.helpers.arrayElement([{ key: faker.helpers.arrayElement([faker.word.sample(), undefined]), value: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, undefined]), life_cycle_state: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), parent_prod_code: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), parent_prod_inst_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), prod_code: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), prod_inst_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), prod_inst_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), prod_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), product_profile_options: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ profile_option: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), profile_value: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) })), undefined]), revision_window_days: faker.helpers.arrayElement([faker.word.sample(), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]), total: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
|
328
331
|
export const getWaldaiSsoResponseMock = (overrideResponse = {}) => (Object.assign({ redirect_url: faker.word.sample() }, overrideResponse));
|
|
329
332
|
export const getAddonsSitelockSsoV2ResponseMock = (overrideResponse = {}) => (Object.assign({ site_url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), sitelock_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), url: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
330
333
|
export const getBackupCreateV2ResponseMock = (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));
|
|
@@ -822,6 +825,16 @@ export const getMonarxAddonReportUrlMockHandler = (overrideResponse) => {
|
|
|
822
825
|
});
|
|
823
826
|
}));
|
|
824
827
|
};
|
|
828
|
+
export const getAddonsSpamexpertsDomainAssignMockHandler = (overrideResponse) => {
|
|
829
|
+
return http.post('*/v1/addons/:addonId/spamexperts/domain/assign', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
830
|
+
yield delay(0);
|
|
831
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
832
|
+
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
833
|
+
: getAddonsSpamexpertsDomainAssignResponseMock()), { status: 200,
|
|
834
|
+
headers: { 'Content-Type': 'application/json' }
|
|
835
|
+
});
|
|
836
|
+
}));
|
|
837
|
+
};
|
|
825
838
|
export const getAddonsSpamexpertsSsoMockHandler = (overrideResponse) => {
|
|
826
839
|
return http.get('*/v1/addons/:addonId/spamexperts/sso', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
827
840
|
yield delay(0);
|
|
@@ -2282,6 +2295,16 @@ export const getSitesBatchMockHandler = (overrideResponse) => {
|
|
|
2282
2295
|
});
|
|
2283
2296
|
}));
|
|
2284
2297
|
};
|
|
2298
|
+
export const getHostingSpamexpertsEligibleDomainsMockHandler = (overrideResponse) => {
|
|
2299
|
+
return http.get('*/v1/hosting/:hostingId/spamexperts/eligible-domains', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2300
|
+
yield delay(0);
|
|
2301
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2302
|
+
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2303
|
+
: getHostingSpamexpertsEligibleDomainsResponseMock()), { status: 200,
|
|
2304
|
+
headers: { 'Content-Type': 'application/json' }
|
|
2305
|
+
});
|
|
2306
|
+
}));
|
|
2307
|
+
};
|
|
2285
2308
|
export const getHostingSshInfoMockHandler = (overrideResponse) => {
|
|
2286
2309
|
return http.get('*/v1/hosting/:hostingId/ssh', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2287
2310
|
yield delay(0);
|
|
@@ -3272,6 +3295,16 @@ export const getAllUserMonarxDetailsMockHandler = (overrideResponse) => {
|
|
|
3272
3295
|
});
|
|
3273
3296
|
}));
|
|
3274
3297
|
};
|
|
3298
|
+
export const getUserProductsMockHandler = (overrideResponse) => {
|
|
3299
|
+
return http.get('*/v1/user/products', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
3300
|
+
yield delay(0);
|
|
3301
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
3302
|
+
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
3303
|
+
: getUserProductsResponseMock()), { status: 200,
|
|
3304
|
+
headers: { 'Content-Type': 'application/json' }
|
|
3305
|
+
});
|
|
3306
|
+
}));
|
|
3307
|
+
};
|
|
3275
3308
|
export const getUserProservicesMockHandler = (overrideResponse) => {
|
|
3276
3309
|
return http.get('*/v1/user/proservices', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
3277
3310
|
yield delay(0);
|
|
@@ -3679,6 +3712,7 @@ export const getHostingUAPIMock = () => [
|
|
|
3679
3712
|
getAddonsJetpackValidateMockHandler(),
|
|
3680
3713
|
getMonarxAddonSealGenerationMockHandler(),
|
|
3681
3714
|
getMonarxAddonReportUrlMockHandler(),
|
|
3715
|
+
getAddonsSpamexpertsDomainAssignMockHandler(),
|
|
3682
3716
|
getAddonsSpamexpertsSsoMockHandler(),
|
|
3683
3717
|
getAddonsSyncMockHandler(),
|
|
3684
3718
|
getWebzaiSsoMockHandler(),
|
|
@@ -3825,6 +3859,7 @@ export const getHostingUAPIMock = () => [
|
|
|
3825
3859
|
getHostingShellInfoMockHandler(),
|
|
3826
3860
|
getHostingSiteAddMockHandler(),
|
|
3827
3861
|
getSitesBatchMockHandler(),
|
|
3862
|
+
getHostingSpamexpertsEligibleDomainsMockHandler(),
|
|
3828
3863
|
getHostingSshInfoMockHandler(),
|
|
3829
3864
|
getSshKeyFetchMockHandler(),
|
|
3830
3865
|
getSshKeyImportMockHandler(),
|
|
@@ -3924,6 +3959,7 @@ export const getHostingUAPIMock = () => [
|
|
|
3924
3959
|
getUserHostingMockHandler(),
|
|
3925
3960
|
getUserHostingOverviewMockHandler(),
|
|
3926
3961
|
getAllUserMonarxDetailsMockHandler(),
|
|
3962
|
+
getUserProductsMockHandler(),
|
|
3927
3963
|
getUserProservicesMockHandler(),
|
|
3928
3964
|
getWaldaiSsoMockHandler(),
|
|
3929
3965
|
getAddonsSitelockSsoV2MockHandler(),
|
package/src/index.schemas.d.ts
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.1990.0
|
|
7
7
|
*/
|
|
8
8
|
export declare type SshKeyListV4200RowsItem = {
|
|
9
9
|
authorize?: boolean;
|
|
@@ -206,6 +206,13 @@ export declare type BackupStatusV3Params = {
|
|
|
206
206
|
*/
|
|
207
207
|
client_tracking_id: string;
|
|
208
208
|
};
|
|
209
|
+
export declare type BackupListV3200 = {
|
|
210
|
+
has_more?: boolean;
|
|
211
|
+
items?: BackupListV3200ItemsItem[];
|
|
212
|
+
limit?: number;
|
|
213
|
+
offset?: number;
|
|
214
|
+
total?: number;
|
|
215
|
+
};
|
|
209
216
|
/**
|
|
210
217
|
* @nullable
|
|
211
218
|
*/
|
|
@@ -240,13 +247,6 @@ export declare type BackupListV3200ItemsItem = {
|
|
|
240
247
|
timezone?: string;
|
|
241
248
|
type?: string;
|
|
242
249
|
};
|
|
243
|
-
export declare type BackupListV3200 = {
|
|
244
|
-
has_more?: boolean;
|
|
245
|
-
items?: BackupListV3200ItemsItem[];
|
|
246
|
-
limit?: number;
|
|
247
|
-
offset?: number;
|
|
248
|
-
total?: number;
|
|
249
|
-
};
|
|
250
250
|
export declare type BackupListV3Params = {
|
|
251
251
|
page?: number;
|
|
252
252
|
limit?: number;
|
|
@@ -429,19 +429,6 @@ export declare type SiteMalwareStatusV2200 = {
|
|
|
429
429
|
*/
|
|
430
430
|
scanner_state?: string | null;
|
|
431
431
|
};
|
|
432
|
-
export declare type SitesDomainsV2200 = {
|
|
433
|
-
domains: SitesDomainsV2200DomainsItem[];
|
|
434
|
-
limit?: number;
|
|
435
|
-
page?: number;
|
|
436
|
-
total?: number;
|
|
437
|
-
};
|
|
438
|
-
/**
|
|
439
|
-
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
440
|
-
* @nullable
|
|
441
|
-
*/
|
|
442
|
-
export declare type SitesDomainsV2200DomainsItemSetupProgressValidateSslErrorTable = {
|
|
443
|
-
[key: string]: unknown;
|
|
444
|
-
} | null;
|
|
445
432
|
/**
|
|
446
433
|
* @nullable
|
|
447
434
|
*/
|
|
@@ -492,13 +479,6 @@ export declare type SitesDomainsV2200DomainsItemSetupProgress = {
|
|
|
492
479
|
*/
|
|
493
480
|
validate_ssl_error_table?: SitesDomainsV2200DomainsItemSetupProgressValidateSslErrorTable;
|
|
494
481
|
} | null;
|
|
495
|
-
/**
|
|
496
|
-
* Job ids and names currently running on the domain
|
|
497
|
-
* @nullable
|
|
498
|
-
*/
|
|
499
|
-
export declare type SitesDomainsV2200DomainsItemJobs = {
|
|
500
|
-
[key: string]: unknown;
|
|
501
|
-
} | null;
|
|
502
482
|
export declare type SitesDomainsV2200DomainsItem = {
|
|
503
483
|
/** @nullable */
|
|
504
484
|
account_back_ref?: string | null;
|
|
@@ -571,9 +551,40 @@ export declare type SitesDomainsV2200DomainsItem = {
|
|
|
571
551
|
*/
|
|
572
552
|
used_entri?: number | null;
|
|
573
553
|
};
|
|
554
|
+
export declare type SitesDomainsV2200 = {
|
|
555
|
+
domains: SitesDomainsV2200DomainsItem[];
|
|
556
|
+
limit?: number;
|
|
557
|
+
page?: number;
|
|
558
|
+
total?: number;
|
|
559
|
+
};
|
|
560
|
+
/**
|
|
561
|
+
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
562
|
+
* @nullable
|
|
563
|
+
*/
|
|
564
|
+
export declare type SitesDomainsV2200DomainsItemSetupProgressValidateSslErrorTable = {
|
|
565
|
+
[key: string]: unknown;
|
|
566
|
+
} | null;
|
|
567
|
+
/**
|
|
568
|
+
* Job ids and names currently running on the domain
|
|
569
|
+
* @nullable
|
|
570
|
+
*/
|
|
571
|
+
export declare type SitesDomainsV2200DomainsItemJobs = {
|
|
572
|
+
[key: string]: unknown;
|
|
573
|
+
} | null;
|
|
574
574
|
export declare type SitesDomainsV2Params = {
|
|
575
575
|
scan?: boolean;
|
|
576
576
|
};
|
|
577
|
+
export declare type SitesListV2200 = {
|
|
578
|
+
items?: SitesListV2200ItemsItem[];
|
|
579
|
+
/** page size */
|
|
580
|
+
limit?: number;
|
|
581
|
+
/** current page number */
|
|
582
|
+
page?: number;
|
|
583
|
+
/** total number of pages */
|
|
584
|
+
pages?: number;
|
|
585
|
+
/** total number of sites returned */
|
|
586
|
+
total?: number;
|
|
587
|
+
};
|
|
577
588
|
/**
|
|
578
589
|
* @nullable
|
|
579
590
|
*/
|
|
@@ -601,6 +612,63 @@ export declare type SitesListV2200ItemsItemStaging = {
|
|
|
601
612
|
/** A list of staging sites of the current site */
|
|
602
613
|
sites?: number[];
|
|
603
614
|
} | null;
|
|
615
|
+
export declare type SitesListV2200ItemsItemResourcesStorage = {
|
|
616
|
+
/** @nullable */
|
|
617
|
+
available?: number | null;
|
|
618
|
+
/** @nullable */
|
|
619
|
+
total?: number | null;
|
|
620
|
+
unit?: string;
|
|
621
|
+
/** @nullable */
|
|
622
|
+
used?: number | null;
|
|
623
|
+
};
|
|
624
|
+
export declare type SitesListV2200ItemsItemResources = {
|
|
625
|
+
storage?: SitesListV2200ItemsItemResourcesStorage;
|
|
626
|
+
/** @nullable */
|
|
627
|
+
workers?: number | null;
|
|
628
|
+
};
|
|
629
|
+
/**
|
|
630
|
+
* @nullable
|
|
631
|
+
*/
|
|
632
|
+
export declare type SitesListV2200ItemsItemPendingUrlData = {
|
|
633
|
+
/**
|
|
634
|
+
* The root domain name
|
|
635
|
+
* @nullable
|
|
636
|
+
*/
|
|
637
|
+
base_domain?: string | null;
|
|
638
|
+
/**
|
|
639
|
+
* The Fully Qualified Domain Name (FQDN)
|
|
640
|
+
* @nullable
|
|
641
|
+
*/
|
|
642
|
+
domain?: string | null;
|
|
643
|
+
/**
|
|
644
|
+
* The current pending_url's HAL Domain ID
|
|
645
|
+
* @nullable
|
|
646
|
+
*/
|
|
647
|
+
domain_id?: number | null;
|
|
648
|
+
/** @nullable */
|
|
649
|
+
error?: string | null;
|
|
650
|
+
/** Flag indicating whether the pending_url is temporary or not */
|
|
651
|
+
is_temp?: boolean;
|
|
652
|
+
/**
|
|
653
|
+
* Flag indicating whether the url_sync job has run out of attempts
|
|
654
|
+
* @nullable
|
|
655
|
+
*/
|
|
656
|
+
job_failed?: boolean | null;
|
|
657
|
+
/** @nullable */
|
|
658
|
+
stage?: string | null;
|
|
659
|
+
/**
|
|
660
|
+
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
661
|
+
* @nullable
|
|
662
|
+
*/
|
|
663
|
+
wp_session?: string | null;
|
|
664
|
+
} | null;
|
|
665
|
+
/**
|
|
666
|
+
* Job ids for the site
|
|
667
|
+
* @nullable
|
|
668
|
+
*/
|
|
669
|
+
export declare type SitesListV2200ItemsItemJobs = {
|
|
670
|
+
[key: string]: unknown;
|
|
671
|
+
} | null;
|
|
604
672
|
export declare type SitesListV2200ItemsItem = {
|
|
605
673
|
/** @nullable */
|
|
606
674
|
account_back_ref?: string | null;
|
|
@@ -679,74 +747,6 @@ export declare type SitesListV2200ItemsItem = {
|
|
|
679
747
|
*/
|
|
680
748
|
version_ptr?: string | null;
|
|
681
749
|
};
|
|
682
|
-
export declare type SitesListV2200 = {
|
|
683
|
-
items?: SitesListV2200ItemsItem[];
|
|
684
|
-
/** page size */
|
|
685
|
-
limit?: number;
|
|
686
|
-
/** current page number */
|
|
687
|
-
page?: number;
|
|
688
|
-
/** total number of pages */
|
|
689
|
-
pages?: number;
|
|
690
|
-
/** total number of sites returned */
|
|
691
|
-
total?: number;
|
|
692
|
-
};
|
|
693
|
-
export declare type SitesListV2200ItemsItemResourcesStorage = {
|
|
694
|
-
/** @nullable */
|
|
695
|
-
available?: number | null;
|
|
696
|
-
/** @nullable */
|
|
697
|
-
total?: number | null;
|
|
698
|
-
unit?: string;
|
|
699
|
-
/** @nullable */
|
|
700
|
-
used?: number | null;
|
|
701
|
-
};
|
|
702
|
-
export declare type SitesListV2200ItemsItemResources = {
|
|
703
|
-
storage?: SitesListV2200ItemsItemResourcesStorage;
|
|
704
|
-
/** @nullable */
|
|
705
|
-
workers?: number | null;
|
|
706
|
-
};
|
|
707
|
-
/**
|
|
708
|
-
* @nullable
|
|
709
|
-
*/
|
|
710
|
-
export declare type SitesListV2200ItemsItemPendingUrlData = {
|
|
711
|
-
/**
|
|
712
|
-
* The root domain name
|
|
713
|
-
* @nullable
|
|
714
|
-
*/
|
|
715
|
-
base_domain?: string | null;
|
|
716
|
-
/**
|
|
717
|
-
* The Fully Qualified Domain Name (FQDN)
|
|
718
|
-
* @nullable
|
|
719
|
-
*/
|
|
720
|
-
domain?: string | null;
|
|
721
|
-
/**
|
|
722
|
-
* The current pending_url's HAL Domain ID
|
|
723
|
-
* @nullable
|
|
724
|
-
*/
|
|
725
|
-
domain_id?: number | null;
|
|
726
|
-
/** @nullable */
|
|
727
|
-
error?: string | null;
|
|
728
|
-
/** Flag indicating whether the pending_url is temporary or not */
|
|
729
|
-
is_temp?: boolean;
|
|
730
|
-
/**
|
|
731
|
-
* Flag indicating whether the url_sync job has run out of attempts
|
|
732
|
-
* @nullable
|
|
733
|
-
*/
|
|
734
|
-
job_failed?: boolean | null;
|
|
735
|
-
/** @nullable */
|
|
736
|
-
stage?: string | null;
|
|
737
|
-
/**
|
|
738
|
-
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
739
|
-
* @nullable
|
|
740
|
-
*/
|
|
741
|
-
wp_session?: string | null;
|
|
742
|
-
} | null;
|
|
743
|
-
/**
|
|
744
|
-
* Job ids for the site
|
|
745
|
-
* @nullable
|
|
746
|
-
*/
|
|
747
|
-
export declare type SitesListV2200ItemsItemJobs = {
|
|
748
|
-
[key: string]: unknown;
|
|
749
|
-
} | null;
|
|
750
750
|
export declare type SshKeyV2200 = {
|
|
751
751
|
deleted?: number;
|
|
752
752
|
key_name?: string;
|
|
@@ -1118,6 +1118,12 @@ export declare type HostingDomainsUnassignV2Body = {
|
|
|
1118
1118
|
/** The site id to be unassigned */
|
|
1119
1119
|
site_id: number;
|
|
1120
1120
|
};
|
|
1121
|
+
export declare type HostingDomainsV2200 = {
|
|
1122
|
+
domains: HostingDomainsV2200DomainsItem[];
|
|
1123
|
+
limit?: number;
|
|
1124
|
+
page?: number;
|
|
1125
|
+
total?: number;
|
|
1126
|
+
};
|
|
1121
1127
|
/**
|
|
1122
1128
|
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
1123
1129
|
* @nullable
|
|
@@ -1254,12 +1260,6 @@ export declare type HostingDomainsV2200DomainsItem = {
|
|
|
1254
1260
|
*/
|
|
1255
1261
|
used_entri?: number | null;
|
|
1256
1262
|
};
|
|
1257
|
-
export declare type HostingDomainsV2200 = {
|
|
1258
|
-
domains: HostingDomainsV2200DomainsItem[];
|
|
1259
|
-
limit?: number;
|
|
1260
|
-
page?: number;
|
|
1261
|
-
total?: number;
|
|
1262
|
-
};
|
|
1263
1263
|
export declare type HostingDomainsV2TypesItem = typeof HostingDomainsV2TypesItem[keyof typeof HostingDomainsV2TypesItem];
|
|
1264
1264
|
export declare const HostingDomainsV2TypesItem: {
|
|
1265
1265
|
readonly addon: "addon";
|
|
@@ -1483,6 +1483,15 @@ export declare type UserProservices200ProductsItemProductProfileOptionsItem = {
|
|
|
1483
1483
|
/** @nullable */
|
|
1484
1484
|
profile_value?: string | null;
|
|
1485
1485
|
};
|
|
1486
|
+
/**
|
|
1487
|
+
* @nullable
|
|
1488
|
+
*/
|
|
1489
|
+
export declare type UserProservices200ProductsItemIdentifier = {
|
|
1490
|
+
/** Identifier type: domain, ticket_id, or account_id */
|
|
1491
|
+
key?: string;
|
|
1492
|
+
/** Resolved identifier value from Pega or FG */
|
|
1493
|
+
value?: string;
|
|
1494
|
+
} | null;
|
|
1486
1495
|
export declare type UserProservices200ProductsItem = {
|
|
1487
1496
|
/** @nullable */
|
|
1488
1497
|
auto_renew_flag?: boolean | null;
|
|
@@ -1498,6 +1507,8 @@ export declare type UserProservices200ProductsItem = {
|
|
|
1498
1507
|
/** @nullable */
|
|
1499
1508
|
generic_prod_type?: string | null;
|
|
1500
1509
|
/** @nullable */
|
|
1510
|
+
identifier?: UserProservices200ProductsItemIdentifier;
|
|
1511
|
+
/** @nullable */
|
|
1501
1512
|
life_cycle_state?: string | null;
|
|
1502
1513
|
/**
|
|
1503
1514
|
* prod_code of the parent product referenced by parent_prod_inst_id
|
|
@@ -1510,10 +1521,19 @@ export declare type UserProservices200ProductsItem = {
|
|
|
1510
1521
|
prod_code?: string | null;
|
|
1511
1522
|
/** @nullable */
|
|
1512
1523
|
prod_inst_id?: string | null;
|
|
1524
|
+
/**
|
|
1525
|
+
* FG product instance display name
|
|
1526
|
+
* @nullable
|
|
1527
|
+
*/
|
|
1528
|
+
prod_inst_name?: string | null;
|
|
1513
1529
|
/** @nullable */
|
|
1514
1530
|
prod_name?: string | null;
|
|
1515
1531
|
/** FG product profile options */
|
|
1516
1532
|
product_profile_options?: UserProservices200ProductsItemProductProfileOptionsItem[];
|
|
1533
|
+
/** Remaining revision days, Expired when the window has ended, or empty when not applicable */
|
|
1534
|
+
revision_window_days?: string;
|
|
1535
|
+
/** Pro-services status: Active or Completed */
|
|
1536
|
+
status?: string;
|
|
1517
1537
|
};
|
|
1518
1538
|
export declare type UserProservices200 = {
|
|
1519
1539
|
/** Pro-services products from FG */
|
|
@@ -1521,6 +1541,110 @@ export declare type UserProservices200 = {
|
|
|
1521
1541
|
/** Number of pro-services products returned */
|
|
1522
1542
|
total?: number;
|
|
1523
1543
|
};
|
|
1544
|
+
export declare type UserProducts502 = {
|
|
1545
|
+
/** Error code */
|
|
1546
|
+
error?: string;
|
|
1547
|
+
};
|
|
1548
|
+
export declare type UserProducts401 = {
|
|
1549
|
+
/** Error code */
|
|
1550
|
+
error?: string;
|
|
1551
|
+
};
|
|
1552
|
+
export declare type UserProducts200ProductsItem = {
|
|
1553
|
+
/**
|
|
1554
|
+
* Account identifier
|
|
1555
|
+
* @nullable
|
|
1556
|
+
*/
|
|
1557
|
+
account_id?: number | null;
|
|
1558
|
+
/**
|
|
1559
|
+
* Human-readable auto-renew status. Possible values: 'On' (auto-renew enabled) or 'Off' (auto-renew disabled).
|
|
1560
|
+
* @nullable
|
|
1561
|
+
*/
|
|
1562
|
+
auto_renew?: string | null;
|
|
1563
|
+
/**
|
|
1564
|
+
* Whether auto-renew is enabled
|
|
1565
|
+
* @nullable
|
|
1566
|
+
*/
|
|
1567
|
+
auto_renew_flag?: boolean | null;
|
|
1568
|
+
/**
|
|
1569
|
+
* Date when the product was created
|
|
1570
|
+
* @nullable
|
|
1571
|
+
*/
|
|
1572
|
+
created_date?: string | null;
|
|
1573
|
+
/**
|
|
1574
|
+
* Product expiration date
|
|
1575
|
+
* @nullable
|
|
1576
|
+
*/
|
|
1577
|
+
expiration_date?: string | null;
|
|
1578
|
+
/**
|
|
1579
|
+
* Generic product type
|
|
1580
|
+
* @nullable
|
|
1581
|
+
*/
|
|
1582
|
+
generic_prod_type?: string | null;
|
|
1583
|
+
/**
|
|
1584
|
+
* Whether the product is a WP Cloud product (e.g. WP_CLOUD_1, WP_CLOUD_10, WP_CLOUD_25, WP_CLOUD_50, WP_CLOUD_100, WP_CLOUD_300, WP_CLOUD_600).
|
|
1585
|
+
* @nullable
|
|
1586
|
+
*/
|
|
1587
|
+
is_cloud_product?: boolean | null;
|
|
1588
|
+
/**
|
|
1589
|
+
* Whether this product includes free foundation hosting
|
|
1590
|
+
* @nullable
|
|
1591
|
+
*/
|
|
1592
|
+
is_free_foundation_hosting?: boolean | null;
|
|
1593
|
+
/**
|
|
1594
|
+
* Whether the Google Workspace product has been configured (i.e. configuredCdId equals 13).
|
|
1595
|
+
* @nullable
|
|
1596
|
+
*/
|
|
1597
|
+
is_gw_product_configured?: boolean | null;
|
|
1598
|
+
/**
|
|
1599
|
+
* Parent product instance identifier
|
|
1600
|
+
* @nullable
|
|
1601
|
+
*/
|
|
1602
|
+
parent_prod_inst_id?: string | null;
|
|
1603
|
+
/**
|
|
1604
|
+
* Internal product code
|
|
1605
|
+
* @nullable
|
|
1606
|
+
*/
|
|
1607
|
+
prod_code?: string | null;
|
|
1608
|
+
/**
|
|
1609
|
+
* Product identifier
|
|
1610
|
+
* @nullable
|
|
1611
|
+
*/
|
|
1612
|
+
prod_id?: number | null;
|
|
1613
|
+
/**
|
|
1614
|
+
* Product instance identifier
|
|
1615
|
+
* @nullable
|
|
1616
|
+
*/
|
|
1617
|
+
prod_inst_id?: string | null;
|
|
1618
|
+
/**
|
|
1619
|
+
* Product instance name
|
|
1620
|
+
* @nullable
|
|
1621
|
+
*/
|
|
1622
|
+
prod_inst_name?: string | null;
|
|
1623
|
+
/**
|
|
1624
|
+
* Product display name
|
|
1625
|
+
* @nullable
|
|
1626
|
+
*/
|
|
1627
|
+
prod_name?: string | null;
|
|
1628
|
+
/**
|
|
1629
|
+
* Product type
|
|
1630
|
+
* @nullable
|
|
1631
|
+
*/
|
|
1632
|
+
prod_type?: string | null;
|
|
1633
|
+
/**
|
|
1634
|
+
* Numeric duration of the subscription. The unit of this value is defined by subscription_unit (e.g. a value of 1 with subscription_unit 'Y' means 1 year, a value of 6 with subscription_unit 'M' means 6 months).
|
|
1635
|
+
* @nullable
|
|
1636
|
+
*/
|
|
1637
|
+
subscription_term?: number | null;
|
|
1638
|
+
/**
|
|
1639
|
+
* Unit of the subscription term. Common values: 'Y' (year), 'M' (month). Use in conjunction with subscription_term to determine the full subscription length (e.g. subscription_term: 1, subscription_unit: 'Y' = 1 year).
|
|
1640
|
+
* @nullable
|
|
1641
|
+
*/
|
|
1642
|
+
subscription_unit?: string | null;
|
|
1643
|
+
};
|
|
1644
|
+
export declare type UserProducts200 = {
|
|
1645
|
+
/** List of products associated with the account */
|
|
1646
|
+
products?: UserProducts200ProductsItem[];
|
|
1647
|
+
};
|
|
1524
1648
|
export declare type AllUserMonarxDetails200RowsItem = {
|
|
1525
1649
|
/** HAL Account back_reference, used to link to the product instance */
|
|
1526
1650
|
account_back_ref?: string;
|
|
@@ -2696,18 +2820,6 @@ export declare type SitesMetricDimensions200DimensionsPageIsCachedItem = {
|
|
|
2696
2820
|
dimension?: SitesMetricDimensions200DimensionsPageIsCachedItemDimension;
|
|
2697
2821
|
timestamp?: number;
|
|
2698
2822
|
};
|
|
2699
|
-
export declare type SitesMetricDimensions200Dimensions = {
|
|
2700
|
-
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
2701
|
-
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
2702
|
-
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
2703
|
-
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
2704
|
-
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
2705
|
-
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
2706
|
-
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
2707
|
-
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
2708
|
-
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
2709
|
-
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
2710
|
-
};
|
|
2711
2823
|
export declare type SitesMetricDimensions200DimensionsHttpVersionItemDimension = {
|
|
2712
2824
|
[key: string]: number;
|
|
2713
2825
|
};
|
|
@@ -2736,6 +2848,18 @@ export declare type SitesMetricDimensions200DimensionsHttpHostItem = {
|
|
|
2736
2848
|
dimension?: SitesMetricDimensions200DimensionsHttpHostItemDimension;
|
|
2737
2849
|
timestamp?: number;
|
|
2738
2850
|
};
|
|
2851
|
+
export declare type SitesMetricDimensions200Dimensions = {
|
|
2852
|
+
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
2853
|
+
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
2854
|
+
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
2855
|
+
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
2856
|
+
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
2857
|
+
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
2858
|
+
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
2859
|
+
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
2860
|
+
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
2861
|
+
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
2862
|
+
};
|
|
2739
2863
|
export declare type SitesMetricDimensionsParams = {
|
|
2740
2864
|
start?: string;
|
|
2741
2865
|
end?: string;
|
|
@@ -3172,10 +3296,6 @@ export declare type SitesAtomicMetrics200Views = {
|
|
|
3172
3296
|
last_n_days?: SitesAtomicMetrics200ViewsLastNDaysItem[];
|
|
3173
3297
|
total_hits?: number;
|
|
3174
3298
|
};
|
|
3175
|
-
export declare type SitesAtomicMetrics200 = {
|
|
3176
|
-
raw?: SitesAtomicMetrics200Raw;
|
|
3177
|
-
views?: SitesAtomicMetrics200Views;
|
|
3178
|
-
};
|
|
3179
3299
|
export declare type SitesAtomicMetrics200RawPeriodsItemDimension = {
|
|
3180
3300
|
[key: string]: string | number | number;
|
|
3181
3301
|
};
|
|
@@ -3193,6 +3313,10 @@ export declare type SitesAtomicMetrics200Raw = {
|
|
|
3193
3313
|
periods?: SitesAtomicMetrics200RawPeriodsItem[];
|
|
3194
3314
|
resolution?: number;
|
|
3195
3315
|
};
|
|
3316
|
+
export declare type SitesAtomicMetrics200 = {
|
|
3317
|
+
raw?: SitesAtomicMetrics200Raw;
|
|
3318
|
+
views?: SitesAtomicMetrics200Views;
|
|
3319
|
+
};
|
|
3196
3320
|
export declare type SitesAtomicMetricsParams = {
|
|
3197
3321
|
metric?: string[];
|
|
3198
3322
|
dimension?: string[];
|
|
@@ -3285,6 +3409,20 @@ export declare type SitesInfo200Staging = {
|
|
|
3285
3409
|
/** A list of staging sites of the current site */
|
|
3286
3410
|
sites?: number[];
|
|
3287
3411
|
} | null;
|
|
3412
|
+
export declare type SitesInfo200ResourcesStorage = {
|
|
3413
|
+
/** @nullable */
|
|
3414
|
+
available?: number | null;
|
|
3415
|
+
/** @nullable */
|
|
3416
|
+
total?: number | null;
|
|
3417
|
+
unit?: string;
|
|
3418
|
+
/** @nullable */
|
|
3419
|
+
used?: number | null;
|
|
3420
|
+
};
|
|
3421
|
+
export declare type SitesInfo200Resources = {
|
|
3422
|
+
storage?: SitesInfo200ResourcesStorage;
|
|
3423
|
+
/** @nullable */
|
|
3424
|
+
workers?: number | null;
|
|
3425
|
+
};
|
|
3288
3426
|
/**
|
|
3289
3427
|
* @nullable
|
|
3290
3428
|
*/
|
|
@@ -3434,20 +3572,6 @@ export declare type SitesInfo200 = {
|
|
|
3434
3572
|
/** @nullable */
|
|
3435
3573
|
wp_multi_site?: SitesInfo200WpMultiSite;
|
|
3436
3574
|
};
|
|
3437
|
-
export declare type SitesInfo200ResourcesStorage = {
|
|
3438
|
-
/** @nullable */
|
|
3439
|
-
available?: number | null;
|
|
3440
|
-
/** @nullable */
|
|
3441
|
-
total?: number | null;
|
|
3442
|
-
unit?: string;
|
|
3443
|
-
/** @nullable */
|
|
3444
|
-
used?: number | null;
|
|
3445
|
-
};
|
|
3446
|
-
export declare type SitesInfo200Resources = {
|
|
3447
|
-
storage?: SitesInfo200ResourcesStorage;
|
|
3448
|
-
/** @nullable */
|
|
3449
|
-
workers?: number | null;
|
|
3450
|
-
};
|
|
3451
3575
|
export declare type PublicRegions200RowsItem = {
|
|
3452
3576
|
/**
|
|
3453
3577
|
* Whether dedicated configurator is active for this region
|
|
@@ -3855,6 +3979,21 @@ export declare type HostingSshInfo200 = {
|
|
|
3855
3979
|
success?: boolean;
|
|
3856
3980
|
username?: string;
|
|
3857
3981
|
};
|
|
3982
|
+
export declare type HostingSpamexpertsEligibleDomains200RowsItem = {
|
|
3983
|
+
/** Domain name */
|
|
3984
|
+
domain?: string;
|
|
3985
|
+
/** HAL domain id */
|
|
3986
|
+
id?: number;
|
|
3987
|
+
/** Domain status on the hosting account */
|
|
3988
|
+
status?: string;
|
|
3989
|
+
/** Domain type */
|
|
3990
|
+
type?: string;
|
|
3991
|
+
};
|
|
3992
|
+
export declare type HostingSpamexpertsEligibleDomains200 = {
|
|
3993
|
+
/** Number of eligible domains returned */
|
|
3994
|
+
n_rows?: number;
|
|
3995
|
+
rows?: HostingSpamexpertsEligibleDomains200RowsItem[];
|
|
3996
|
+
};
|
|
3858
3997
|
export declare type SitesBatch200 = {
|
|
3859
3998
|
success?: boolean;
|
|
3860
3999
|
};
|
|
@@ -4971,12 +5110,6 @@ export declare type HostingEmailFiltersAddBody = {
|
|
|
4971
5110
|
/** list of rules to be applied to the filter */
|
|
4972
5111
|
rules?: HostingEmailFiltersAddBodyRulesItem[];
|
|
4973
5112
|
};
|
|
4974
|
-
export declare type HostingEmailFiltersList200 = {
|
|
4975
|
-
/** The number of filters */
|
|
4976
|
-
count?: number;
|
|
4977
|
-
/** List of filters */
|
|
4978
|
-
filters?: HostingEmailFiltersList200FiltersItem[];
|
|
4979
|
-
};
|
|
4980
5113
|
export declare type HostingEmailFiltersList200FiltersItemRulesItem = {
|
|
4981
5114
|
match?: FilterRuleMatch;
|
|
4982
5115
|
opt?: FilterRuleOpt;
|
|
@@ -5007,6 +5140,12 @@ export declare type HostingEmailFiltersList200FiltersItem = {
|
|
|
5007
5140
|
/** Whether the filter is unescaped */
|
|
5008
5141
|
unescaped?: boolean;
|
|
5009
5142
|
};
|
|
5143
|
+
export declare type HostingEmailFiltersList200 = {
|
|
5144
|
+
/** The number of filters */
|
|
5145
|
+
count?: number;
|
|
5146
|
+
/** List of filters */
|
|
5147
|
+
filters?: HostingEmailFiltersList200FiltersItem[];
|
|
5148
|
+
};
|
|
5010
5149
|
export declare type HostingEmailFiltersListParams = {
|
|
5011
5150
|
/**
|
|
5012
5151
|
* The email account address to query filters by
|
|
@@ -6711,6 +6850,15 @@ export declare type AddonsSync200 = {
|
|
|
6711
6850
|
export declare type AddonsSpamexpertsSso200 = {
|
|
6712
6851
|
url?: string;
|
|
6713
6852
|
};
|
|
6853
|
+
export declare type AddonsSpamexpertsDomainAssign200 = {
|
|
6854
|
+
[key: string]: unknown;
|
|
6855
|
+
};
|
|
6856
|
+
export declare type AddonsSpamexpertsDomainAssignBody = {
|
|
6857
|
+
/** The domain to assign to SpamExperts */
|
|
6858
|
+
domain: string;
|
|
6859
|
+
/** The email address to use for the SpamExperts account */
|
|
6860
|
+
email: string;
|
|
6861
|
+
};
|
|
6714
6862
|
export declare type MonarxAddonReportUrl200 = {
|
|
6715
6863
|
/** Tokenized Monarx iframe URL */
|
|
6716
6864
|
report_url: string;
|
|
@@ -7096,6 +7244,14 @@ export declare type BackupMeta200SiteCbsBackupDeleteData = {
|
|
|
7096
7244
|
*/
|
|
7097
7245
|
plan_type?: BackupMeta200SiteCbsBackupDeleteDataPlanType;
|
|
7098
7246
|
} | null;
|
|
7247
|
+
export declare type BackupMeta200Account = {
|
|
7248
|
+
/** @nullable */
|
|
7249
|
+
cbs_downloadables?: BackupMeta200AccountCbsDownloadablesItem[] | null;
|
|
7250
|
+
/** @nullable */
|
|
7251
|
+
cbs_event_processing?: BackupMeta200AccountCbsEventProcessing;
|
|
7252
|
+
/** @nullable */
|
|
7253
|
+
cbs_last_restore_timestamp?: string | null;
|
|
7254
|
+
};
|
|
7099
7255
|
/**
|
|
7100
7256
|
* Backup plan type for the current account event processing context.
|
|
7101
7257
|
* @nullable
|
|
@@ -7139,14 +7295,6 @@ export declare type BackupMeta200AccountCbsDownloadablesItem = {
|
|
|
7139
7295
|
/** @nullable */
|
|
7140
7296
|
url?: string | null;
|
|
7141
7297
|
};
|
|
7142
|
-
export declare type BackupMeta200Account = {
|
|
7143
|
-
/** @nullable */
|
|
7144
|
-
cbs_downloadables?: BackupMeta200AccountCbsDownloadablesItem[] | null;
|
|
7145
|
-
/** @nullable */
|
|
7146
|
-
cbs_event_processing?: BackupMeta200AccountCbsEventProcessing;
|
|
7147
|
-
/** @nullable */
|
|
7148
|
-
cbs_last_restore_timestamp?: string | null;
|
|
7149
|
-
};
|
|
7150
7298
|
export declare type BackupMetaParams = {
|
|
7151
7299
|
site_id?: number;
|
|
7152
7300
|
};
|