@newfold/huapi-js 2.1905.0 → 2.1906.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 CHANGED
@@ -10,7 +10,7 @@
10
10
  "tslib": "2.7.0"
11
11
  },
12
12
  "module": "dist/index.ts",
13
- "version": "2.1905.0",
13
+ "version": "2.1906.0",
14
14
  "sideEffects": false,
15
15
  "main": "./src/index.js",
16
16
  "types": "./src/index.d.ts",
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, AllUserMonarxDetails200, BackupCreateOndemandV1200, BackupCreateOndemandV1Body, BackupCreateV2200, BackupCreateV2Body, BackupCreateV3200, BackupCreateV3Body, BackupCustomDeleteV1200, BackupCustomDeleteV1Body, BackupDownloadV2200, BackupDownloadV2Body, BackupInitiate200, BackupInitiateBody, BackupList200, BackupListParams, BackupListV2200, BackupListV3200, BackupListV3Params, BackupMeta200, BackupMetaParams, BackupPrefSetStatus200, BackupPrefSetStatusBody, BackupRestoreV2200, BackupRestoreV2Body, BackupRestoreV3200, BackupRestoreV3Body, BackupSettings200, BackupSettingsCreate200, BackupSettingsCreateBody, BackupSettingsUpdate200, BackupSettingsUpdateBody, BackupStatus200, BackupStatusParams, BackupStatusV2200, BackupStatusV2Params, BackupUsage200, BackupsJetpackBackup200, 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, HostingAdvancedDns200, HostingAdvancedDnsParams, HostingAdvancedDnsUpdate200, HostingAdvancedDnsUpdateBody, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesBody, HostingAdvancedDomainServicesCheck200, HostingAdvancedImages200, HostingAdvancedImagesParams, HostingAdvancedPassword200, HostingAdvancedPasswordBody, HostingAdvancedServer200, 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, 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, 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, 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, AddonsSpamexpertsSso200, AddonsSync200, AddonsWorkflows200, AddonsWorkflowsParams, AllUserMonarxDetails200, BackupCreateOndemandV1200, BackupCreateOndemandV1Body, BackupCreateV2200, BackupCreateV2Body, BackupCreateV3200, BackupCreateV3Body, BackupCustomDeleteV1200, BackupCustomDeleteV1Body, BackupDownloadV2200, BackupDownloadV2Body, BackupInitiate200, BackupInitiateBody, BackupList200, BackupListParams, BackupListV2200, BackupListV3200, BackupListV3Params, BackupMeta200, BackupMetaParams, BackupPrefSetStatus200, BackupPrefSetStatusBody, BackupRestoreV2200, BackupRestoreV2Body, BackupRestoreV3200, BackupRestoreV3Body, BackupSettings200, BackupSettingsCreate200, BackupSettingsCreateBody, BackupSettingsUpdate200, BackupSettingsUpdateBody, BackupStatus200, BackupStatusParams, BackupStatusV2200, BackupStatusV2Params, BackupUsage200, BackupsJetpackBackup200, 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, HostingAdvancedDns200, HostingAdvancedDnsParams, HostingAdvancedDnsUpdate200, HostingAdvancedDnsUpdateBody, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesBody, HostingAdvancedDomainServicesCheck200, HostingAdvancedImages200, HostingAdvancedImagesParams, HostingAdvancedPassword200, HostingAdvancedPasswordBody, HostingAdvancedServer200, 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, 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, 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
  /**
@@ -1598,6 +1598,38 @@ export declare function useWeeblySso<TData = Awaited<ReturnType<typeof weeblySso
1598
1598
  }): UseQueryResult<TData, TError> & {
1599
1599
  queryKey: QueryKey;
1600
1600
  };
1601
+ /**
1602
+ * Returns a list of workflows for the addon
1603
+ * @summary addon workflow list
1604
+ */
1605
+ export declare const addonsWorkflows: (addonId: string, params?: AddonsWorkflowsParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddonsWorkflows200>>;
1606
+ export declare const getAddonsWorkflowsQueryKey: (addonId: string, params?: AddonsWorkflowsParams) => readonly [`/v1/addons/${string}/workflows`, ...AddonsWorkflowsParams[]];
1607
+ export declare const getAddonsWorkflowsQueryOptions: <TData = AxiosResponse<AddonsWorkflows200, any>, TError = AxiosError<unknown, any>>(addonId: string, params?: AddonsWorkflowsParams, options?: {
1608
+ query?: Partial<UseQueryOptions<AxiosResponse<AddonsWorkflows200, any>, TError, TData, QueryKey>> | undefined;
1609
+ axios?: AxiosRequestConfig<any> | undefined;
1610
+ } | undefined) => UseQueryOptions<AxiosResponse<AddonsWorkflows200, any>, TError, TData, QueryKey> & {
1611
+ queryKey: QueryKey;
1612
+ };
1613
+ export declare type AddonsWorkflowsQueryResult = NonNullable<Awaited<ReturnType<typeof addonsWorkflows>>>;
1614
+ export declare type AddonsWorkflowsQueryError = AxiosError<unknown>;
1615
+ export declare function useAddonsWorkflows<TData = Awaited<ReturnType<typeof addonsWorkflows>>, TError = AxiosError<unknown>>(addonId: string, params: undefined | AddonsWorkflowsParams, options: {
1616
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof addonsWorkflows>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof addonsWorkflows>>, TError, TData>, 'initialData'>;
1617
+ axios?: AxiosRequestConfig;
1618
+ }): DefinedUseQueryResult<TData, TError> & {
1619
+ queryKey: QueryKey;
1620
+ };
1621
+ export declare function useAddonsWorkflows<TData = Awaited<ReturnType<typeof addonsWorkflows>>, TError = AxiosError<unknown>>(addonId: string, params?: AddonsWorkflowsParams, options?: {
1622
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addonsWorkflows>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof addonsWorkflows>>, TError, TData>, 'initialData'>;
1623
+ axios?: AxiosRequestConfig;
1624
+ }): UseQueryResult<TData, TError> & {
1625
+ queryKey: QueryKey;
1626
+ };
1627
+ export declare function useAddonsWorkflows<TData = Awaited<ReturnType<typeof addonsWorkflows>>, TError = AxiosError<unknown>>(addonId: string, params?: AddonsWorkflowsParams, options?: {
1628
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addonsWorkflows>>, TError, TData>>;
1629
+ axios?: AxiosRequestConfig;
1630
+ }): UseQueryResult<TData, TError> & {
1631
+ queryKey: QueryKey;
1632
+ };
1601
1633
  /**
1602
1634
  * Get domain info
1603
1635
  * @summary domain info
@@ -6546,13 +6578,13 @@ export declare const useBackupsJetpackBackup: <TError = AxiosError<void, any>, T
6546
6578
  * Adds the site to the Xcitium account
6547
6579
  * @summary Add site to xcitium
6548
6580
  */
6549
- export declare const sitesBackupsXcitium: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<unknown>>;
6581
+ export declare const sitesBackupsXcitium: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesBackupsXcitium200>>;
6550
6582
  export declare const getSitesBackupsXcitiumMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
6551
- mutation?: UseMutationOptions<AxiosResponse<unknown, any>, TError, {
6583
+ mutation?: UseMutationOptions<AxiosResponse<SitesBackupsXcitium200, any>, TError, {
6552
6584
  siteId: number;
6553
6585
  }, TContext> | undefined;
6554
6586
  axios?: AxiosRequestConfig<any> | undefined;
6555
- } | undefined) => UseMutationOptions<AxiosResponse<unknown, any>, TError, {
6587
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesBackupsXcitium200, any>, TError, {
6556
6588
  siteId: number;
6557
6589
  }, TContext>;
6558
6590
  export declare type SitesBackupsXcitiumMutationResult = NonNullable<Awaited<ReturnType<typeof sitesBackupsXcitium>>>;
@@ -6561,11 +6593,11 @@ export declare type SitesBackupsXcitiumMutationError = AxiosError<unknown>;
6561
6593
  * @summary Add site to xcitium
6562
6594
  */
6563
6595
  export declare const useSitesBackupsXcitium: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
6564
- mutation?: UseMutationOptions<AxiosResponse<unknown, any>, TError, {
6596
+ mutation?: UseMutationOptions<AxiosResponse<SitesBackupsXcitium200, any>, TError, {
6565
6597
  siteId: number;
6566
6598
  }, TContext> | undefined;
6567
6599
  axios?: AxiosRequestConfig<any> | undefined;
6568
- } | undefined) => UseMutationResult<AxiosResponse<unknown, any>, TError, {
6600
+ } | undefined) => UseMutationResult<AxiosResponse<SitesBackupsXcitium200, any>, TError, {
6569
6601
  siteId: number;
6570
6602
  }, TContext>;
6571
6603
  /**
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.1905.0
6
+ * OpenAPI spec version: 1.1906.0
7
7
  */
8
8
  import { useInfiniteQuery, useMutation, useQuery } from '@tanstack/react-query';
9
9
  import axios from 'axios';
@@ -1243,6 +1243,32 @@ export function useWeeblySso(addonId, options) {
1243
1243
  query.queryKey = queryOptions.queryKey;
1244
1244
  return query;
1245
1245
  }
1246
+ /**
1247
+ * Returns a list of workflows for the addon
1248
+ * @summary addon workflow list
1249
+ */
1250
+ export const addonsWorkflows = (addonId, params, options) => {
1251
+ return axios.get(`/v1/addons/${addonId}/workflows`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
1252
+ };
1253
+ export const getAddonsWorkflowsQueryKey = (addonId, params) => {
1254
+ return [`/v1/addons/${addonId}/workflows`, ...(params ? [params] : [])];
1255
+ };
1256
+ export const getAddonsWorkflowsQueryOptions = (addonId, params, options) => {
1257
+ var _a;
1258
+ const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
1259
+ const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getAddonsWorkflowsQueryKey(addonId, params);
1260
+ const queryFn = ({ signal }) => addonsWorkflows(addonId, params, Object.assign({ signal }, axiosOptions));
1261
+ return Object.assign({ queryKey, queryFn, enabled: !!(addonId) }, queryOptions);
1262
+ };
1263
+ /**
1264
+ * @summary addon workflow list
1265
+ */
1266
+ export function useAddonsWorkflows(addonId, params, options) {
1267
+ const queryOptions = getAddonsWorkflowsQueryOptions(addonId, params, options);
1268
+ const query = useQuery(queryOptions);
1269
+ query.queryKey = queryOptions.queryKey;
1270
+ return query;
1271
+ }
1246
1272
  /**
1247
1273
  * Get domain info
1248
1274
  * @summary domain info
@@ -1,5 +1,5 @@
1
1
  import { http } from 'msw';
2
- import type { AccessLogs200, AccountEventList200, AccountFeatures200, AccountHostingList200, AccountPublicKey200, AccountPublicKeyCreate200, AccountPublicKeyDelete200, AccountPublicKeyToggle200, AccountPublicKeys200, ActivityLog200, AddCron200, AddHostingRedirects200, AddIndex200, AddPrivacy200, AddSiteIpaddress200, AddonsCloudflare200, AddonsCloudflareExternalNsCheck200, AddonsInfo200, AddonsJetpackValidate200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSpamexpertsSso200, AddonsSync200, AllUserMonarxDetails200, BackupCreateOndemandV1200, BackupCreateV2200, BackupCreateV3200, BackupCustomDeleteV1200, BackupDownloadV2200, BackupInitiate200, BackupList200, BackupListV2200, BackupListV3200, BackupMeta200, BackupPrefSetStatus200, BackupRestoreV2200, BackupRestoreV3200, BackupSettings200, BackupSettingsCreate200, BackupSettingsUpdate200, BackupStatus200, BackupStatusV2200, BackupUsage200, BackupsJetpackBackup200, CodeguardBackupCreate200, CodeguardBackupDownload200, CodeguardBackupList200, CodeguardBackupRestore200, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupRestore200, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupRestore200, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronLastRun200, Db200, DbAdd200, DbCheckDatabase200, DbListV2200, DbMultipleUserDatabase200, DbUsage200, DbUserAdd200, DbUserDelete200, DbUserList200, DbUserPasswordSet200, DbUserPrivsGet200, DbUserPrivsSet200, DbUserRename200, DirectoryPrivacy200, DomainCertInstall200, DomainCertUninstall200, DomainCertUpdate200, DomainCerts200, DomainDnsExport200, DomainDnsImport200, DomainDnseditor200, DomainDnseditorAdd200, DomainDnseditorEdit200, DomainDnseditorList200, DomainDnszoneReset200, DomainEmailDeliverability200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsSetEntriUsed200, DomainsUnsetEntriUsed200, EditPrivacy200, EmailSso200, ErrorPagesAdd200, ErrorPagesDelete200, ErrorPagesFetch200, HostingAccount200, HostingAddons200, HostingAdvancedDns200, HostingAdvancedDnsUpdate200, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesCheck200, HostingAdvancedImages200, HostingAdvancedPassword200, HostingAdvancedServer200, HostingAdvancedServerStatus200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingCapabilities200, HostingDbAuthorizedHosts200, HostingDbAuthorizedHostsAdd200, HostingDbAuthorizedHostsDelete200, HostingDbAuthorizedHostsUpdate200, HostingDomainAssign200, HostingDomainAvailability200, HostingDomainsUnassign200, HostingDomainsUnassignV2200, HostingDomainsV2200, HostingEcommerceInfo200, HostingEmailAdd200, HostingEmailAutoresponderCreate200, HostingEmailAutoresponderDelete200, HostingEmailAutoresponderInfo200, HostingEmailAutoresponderList200, HostingEmailAutoresponderUpdate200, HostingEmailDelete200, HostingEmailDomainRouting200, HostingEmailDomainRoutingSet200, HostingEmailFiltersAdd200, HostingEmailFiltersDelete200, HostingEmailFiltersList200, HostingEmailFiltersUpdate200, HostingEmailFolderList200, HostingEmailForwardDelete200, HostingEmailForwarderAdd200, HostingEmailForwardersList200, HostingEmailKeysAdd200, HostingEmailKeysList200, HostingEmailList200, HostingEmailSettings200, HostingEmailSetupInfo200, HostingEmailSpamCustomSettings200, HostingEmailSpamCustomSettingsUpdate200, HostingEmailSpamEmpty200, HostingEmailSpamSettings200, HostingEmailSpamSettingsUpdate200, HostingEmailTestSend200, HostingEmailUpdate200, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpList200, HostingFtpUpdate200, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingLicenseInfo200, HostingMigrationInfo200, HostingMigrationSiteScanStatus200, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsEvent200, HostingMonarxAddonsList200, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingPasswordUpdate200, HostingRedirect200, HostingRedirects200Item, HostingRedirectsV2200Item, HostingRepo200, HostingRepoList200Item, HostingRepoLog200, HostingRepoSync200, HostingResellerSsoWhm200, HostingSendEmailSetupInfo200, HostingServerHits200, HostingShellInfo200, HostingShellToggle200, HostingSiteAdd200, HostingSiteAddV2200, HostingSiteAddV3200, HostingSitesV2200, HostingSshInfo200, HostingVisitors200, HotlinkconfigAdd200, HotlinkconfigDelete200, HotlinkconfigDetails200, Index200, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListIndex200, MonarxAddonReportUrl200, MonarxAddonSealGeneration200, PasswordGenerate200, PasswordScore200, PhpErrors200, Privacy200, PrivacyUser200, ProductLicenseDetails200, PublicImages200, RepairDatabase200, ResetSite200, Site200, SiteAddonCloudflare200, SiteAddonWpsolution200, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginInstall200, SitePluginInstaller200, SitePluginUpdate200, SitePlugins200, SitePluginsAutoupdate200, SitePluginsToggle200, SitePluginsUpdate200, SiteQualityMetrics200, SiteStatus200, SiteThemeInstall200, SiteUpdate200, SiteUsers200, SiteUsersV2200, SiteWpGenerate200, SitesAccessLogs200, SitesAtomicMetrics200, SitesAutoupdatesResponse, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBatch200, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDomain200, SitesDomainUrl200, SitesDomainsCreate200, SitesDomainsV2200, SitesErrorLogs200, SitesHasBackups200, SitesInfo200, SitesJetpackPurchase200, SitesListV2200, SitesListV3200, SitesMetricDimensions200, SitesMetricsDimensionAveraged200, SitesOnboardingSteps200, SitesPerformanceCachepurge200, SitesPerformanceEdgecache200, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesPerformanceRedisPurge200, SitesPerformanceRedisStatus200, SitesPerformanceRedisToggle200, SitesPerformanceRedisUninstall200, SitesPerformanceScans200, SitesPerformanceScansAdd200, SitesPerformanceScansList200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockV2200, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsPhpVersionInheritance200, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserDelete200, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSsl200, SitesSso200, SitesVersion200, SshKey200, SshKeyFetch200, SshKeyGenerate200, SshKeyImport200, SshKeyImportV2200, SshKeyImportV3200, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, Sso200, StagingSitePromote200, UpdateCron200, UserHosting200, UserHostingOverview200, WebzaiSso200, WeeblySso200, 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, AddonsSpamexpertsSso200, AddonsSync200, AddonsWorkflows200, AllUserMonarxDetails200, BackupCreateOndemandV1200, BackupCreateV2200, BackupCreateV3200, BackupCustomDeleteV1200, BackupDownloadV2200, BackupInitiate200, BackupList200, BackupListV2200, BackupListV3200, BackupMeta200, BackupPrefSetStatus200, BackupRestoreV2200, BackupRestoreV3200, BackupSettings200, BackupSettingsCreate200, BackupSettingsUpdate200, BackupStatus200, BackupStatusV2200, BackupUsage200, BackupsJetpackBackup200, CodeguardBackupCreate200, CodeguardBackupDownload200, CodeguardBackupList200, CodeguardBackupRestore200, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupRestore200, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupRestore200, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronLastRun200, Db200, DbAdd200, DbCheckDatabase200, DbListV2200, DbMultipleUserDatabase200, DbUsage200, DbUserAdd200, DbUserDelete200, DbUserList200, DbUserPasswordSet200, DbUserPrivsGet200, DbUserPrivsSet200, DbUserRename200, DirectoryPrivacy200, DomainCertInstall200, DomainCertUninstall200, DomainCertUpdate200, DomainCerts200, DomainDnsExport200, DomainDnsImport200, DomainDnseditor200, DomainDnseditorAdd200, DomainDnseditorEdit200, DomainDnseditorList200, DomainDnszoneReset200, DomainEmailDeliverability200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsSetEntriUsed200, DomainsUnsetEntriUsed200, EditPrivacy200, EmailSso200, ErrorPagesAdd200, ErrorPagesDelete200, ErrorPagesFetch200, HostingAccount200, HostingAddons200, HostingAdvancedDns200, HostingAdvancedDnsUpdate200, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesCheck200, HostingAdvancedImages200, HostingAdvancedPassword200, HostingAdvancedServer200, HostingAdvancedServerStatus200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingCapabilities200, HostingDbAuthorizedHosts200, HostingDbAuthorizedHostsAdd200, HostingDbAuthorizedHostsDelete200, HostingDbAuthorizedHostsUpdate200, HostingDomainAssign200, HostingDomainAvailability200, HostingDomainsUnassign200, HostingDomainsUnassignV2200, HostingDomainsV2200, HostingEcommerceInfo200, HostingEmailAdd200, HostingEmailAutoresponderCreate200, HostingEmailAutoresponderDelete200, HostingEmailAutoresponderInfo200, HostingEmailAutoresponderList200, HostingEmailAutoresponderUpdate200, HostingEmailDelete200, HostingEmailDomainRouting200, HostingEmailDomainRoutingSet200, HostingEmailFiltersAdd200, HostingEmailFiltersDelete200, HostingEmailFiltersList200, HostingEmailFiltersUpdate200, HostingEmailFolderList200, HostingEmailForwardDelete200, HostingEmailForwarderAdd200, HostingEmailForwardersList200, HostingEmailKeysAdd200, HostingEmailKeysList200, HostingEmailList200, HostingEmailSettings200, HostingEmailSetupInfo200, HostingEmailSpamCustomSettings200, HostingEmailSpamCustomSettingsUpdate200, HostingEmailSpamEmpty200, HostingEmailSpamSettings200, HostingEmailSpamSettingsUpdate200, HostingEmailTestSend200, HostingEmailUpdate200, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpList200, HostingFtpUpdate200, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingLicenseInfo200, HostingMigrationInfo200, HostingMigrationSiteScanStatus200, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsEvent200, HostingMonarxAddonsList200, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingPasswordUpdate200, HostingRedirect200, HostingRedirects200Item, HostingRedirectsV2200Item, HostingRepo200, HostingRepoList200Item, HostingRepoLog200, HostingRepoSync200, HostingResellerSsoWhm200, HostingSendEmailSetupInfo200, HostingServerHits200, HostingShellInfo200, HostingShellToggle200, HostingSiteAdd200, HostingSiteAddV2200, HostingSiteAddV3200, HostingSitesV2200, HostingSshInfo200, HostingVisitors200, HotlinkconfigAdd200, HotlinkconfigDelete200, HotlinkconfigDetails200, Index200, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListIndex200, MonarxAddonReportUrl200, MonarxAddonSealGeneration200, PasswordGenerate200, PasswordScore200, PhpErrors200, Privacy200, PrivacyUser200, ProductLicenseDetails200, PublicImages200, RepairDatabase200, ResetSite200, Site200, SiteAddonCloudflare200, SiteAddonWpsolution200, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginInstall200, SitePluginInstaller200, SitePluginUpdate200, SitePlugins200, SitePluginsAutoupdate200, SitePluginsToggle200, SitePluginsUpdate200, SiteQualityMetrics200, SiteStatus200, SiteThemeInstall200, SiteUpdate200, SiteUsers200, SiteUsersV2200, SiteWpGenerate200, SitesAccessLogs200, SitesAtomicMetrics200, SitesAutoupdatesResponse, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBackupsXcitium200, SitesBatch200, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDomain200, SitesDomainUrl200, SitesDomainsCreate200, SitesDomainsV2200, SitesErrorLogs200, SitesHasBackups200, SitesInfo200, SitesJetpackPurchase200, SitesListV2200, SitesListV3200, SitesMetricDimensions200, SitesMetricsDimensionAveraged200, SitesOnboardingSteps200, SitesPerformanceCachepurge200, SitesPerformanceEdgecache200, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesPerformanceRedisPurge200, SitesPerformanceRedisStatus200, SitesPerformanceRedisToggle200, SitesPerformanceRedisUninstall200, SitesPerformanceScans200, SitesPerformanceScansAdd200, SitesPerformanceScansList200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockV2200, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsPhpVersionInheritance200, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserDelete200, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSsl200, SitesSso200, SitesVersion200, SshKey200, SshKeyFetch200, SshKeyGenerate200, SshKeyImport200, SshKeyImportV2200, SshKeyImportV3200, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, Sso200, StagingSitePromote200, UpdateCron200, UserHosting200, UserHostingOverview200, WebzaiSso200, WeeblySso200, XcitiumBackupCreate200, XcitiumBackupDownload200, XcitiumBackupList200, XcitiumBackupRestore200, XcitiumPlanInfo200, XcitiumSso200 } from './index.schemas';
3
3
  export declare const getAccountEventListResponseMock: (overrideResponse?: Partial<AccountEventList200>) => AccountEventList200;
4
4
  export declare const getAccountFeaturesResponseMock: (overrideResponse?: Partial<AccountFeatures200>) => AccountFeatures200;
5
5
  export declare const getAccountHostingListResponseMock: (overrideResponse?: Partial<AccountHostingList200>) => AccountHostingList200;
@@ -50,6 +50,7 @@ export declare const getAddonsSpamexpertsSsoResponseMock: (overrideResponse?: Pa
50
50
  export declare const getAddonsSyncResponseMock: (overrideResponse?: Partial<AddonsSync200>) => AddonsSync200;
51
51
  export declare const getWebzaiSsoResponseMock: (overrideResponse?: Partial<WebzaiSso200>) => WebzaiSso200;
52
52
  export declare const getWeeblySsoResponseMock: (overrideResponse?: Partial<WeeblySso200>) => WeeblySso200;
53
+ export declare const getAddonsWorkflowsResponseMock: (overrideResponse?: Partial<AddonsWorkflows200>) => AddonsWorkflows200;
53
54
  export declare const getDomainInfoResponseMock: (overrideResponse?: Partial<DomainInfo200>) => DomainInfo200;
54
55
  export declare const getDomainCertsResponseMock: (overrideResponse?: Partial<DomainCerts200>) => DomainCerts200;
55
56
  export declare const getDomainCertInstallResponseMock: (overrideResponse?: Partial<DomainCertInstall200>) => DomainCertInstall200;
@@ -208,6 +209,7 @@ export declare const getSitesBackupsCodeguardResponseMock: (overrideResponse?: P
208
209
  export declare const getSitesBackupsDetailsResponseMock: (overrideResponse?: Partial<SitesBackupsDetails200>) => SitesBackupsDetails200;
209
210
  export declare const getJetpackBackupStatusResponseMock: (overrideResponse?: Partial<JetpackBackupStatus200>) => JetpackBackupStatus200;
210
211
  export declare const getBackupsJetpackBackupResponseMock: () => BackupsJetpackBackup200;
212
+ export declare const getSitesBackupsXcitiumResponseMock: (overrideResponse?: Partial<SitesBackupsXcitium200>) => SitesBackupsXcitium200;
211
213
  export declare const getSiteAddonCloudflareResponseMock: (overrideResponse?: Partial<SiteAddonCloudflare200>) => SiteAddonCloudflare200;
212
214
  export declare const getSitesDatabaseInfoResponseMock: (overrideResponse?: Partial<SitesDatabaseInfo200>) => SitesDatabaseInfo200;
213
215
  export declare const getSitesDatabasePasswordsyncResponseMock: (overrideResponse?: Partial<SitesDatabasePasswordsync200>) => SitesDatabasePasswordsync200;
@@ -365,6 +367,7 @@ export declare const getAddonsSpamexpertsSsoMockHandler: (overrideResponse?: Add
365
367
  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;
366
368
  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;
367
369
  export declare const getWeeblySsoMockHandler: (overrideResponse?: WeeblySso200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<WeeblySso200> | WeeblySso200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
370
+ export declare const getAddonsWorkflowsMockHandler: (overrideResponse?: AddonsWorkflows200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AddonsWorkflows200> | AddonsWorkflows200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
368
371
  export declare const getDomainInfoMockHandler: (overrideResponse?: DomainInfo200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DomainInfo200> | DomainInfo200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
369
372
  export declare const getDomainCertsMockHandler: (overrideResponse?: DomainCerts200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DomainCerts200> | DomainCerts200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
370
373
  export declare const getDomainCertInstallMockHandler: (overrideResponse?: DomainCertInstall200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<DomainCertInstall200> | DomainCertInstall200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
@@ -523,7 +526,7 @@ export declare const getSitesBackupsCodeguardMockHandler: (overrideResponse?: Si
523
526
  export declare const getSitesBackupsDetailsMockHandler: (overrideResponse?: SitesBackupsDetails200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SitesBackupsDetails200> | SitesBackupsDetails200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
524
527
  export declare const getJetpackBackupStatusMockHandler: (overrideResponse?: JetpackBackupStatus200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<JetpackBackupStatus200> | JetpackBackupStatus200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
525
528
  export declare const getBackupsJetpackBackupMockHandler: (overrideResponse?: BackupsJetpackBackup200 | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<BackupsJetpackBackup200> | BackupsJetpackBackup200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
526
- export declare const getSitesBackupsXcitiumMockHandler: (overrideResponse?: unknown) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
529
+ export declare const getSitesBackupsXcitiumMockHandler: (overrideResponse?: SitesBackupsXcitium200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<SitesBackupsXcitium200> | SitesBackupsXcitium200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
527
530
  export declare const getSiteAddonCloudflareMockHandler: (overrideResponse?: SiteAddonCloudflare200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<SiteAddonCloudflare200> | SiteAddonCloudflare200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
528
531
  export declare const getSitesDatabaseInfoMockHandler: (overrideResponse?: SitesDatabaseInfo200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<SitesDatabaseInfo200> | SitesDatabaseInfo200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
529
532
  export declare const getSitesDatabasePasswordsyncMockHandler: (overrideResponse?: SitesDatabasePasswordsync200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<SitesDatabasePasswordsync200> | SitesDatabasePasswordsync200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
package/src/index.msw.js CHANGED
@@ -4,7 +4,7 @@ import { __awaiter } from "tslib";
4
4
  * Do not edit manually.
5
5
  * Hosting UAPI
6
6
  * Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
7
- * OpenAPI spec version: 1.1905.0
7
+ * OpenAPI spec version: 1.1906.0
8
8
  */
9
9
  import { faker } from '@faker-js/faker';
10
10
  import { HttpResponse, delay, http } from 'msw';
@@ -36,7 +36,7 @@ export const getXcitiumBackupListResponseMock = (overrideResponse = {}) => (Obje
36
36
  export const getXcitiumBackupCreateResponseMock = (overrideResponse = {}) => (Object.assign({ database_success: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), website_success: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
37
37
  export const getXcitiumBackupDownloadResponseMock = (overrideResponse = {}) => (Object.assign({ database_success: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), website_success: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
38
38
  export const getXcitiumBackupRestoreResponseMock = (overrideResponse = {}) => (Object.assign({ database_success: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), website_success: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, overrideResponse));
39
- export const getXcitiumPlanInfoResponseMock = (overrideResponse = {}) => (Object.assign({ activated: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), back_reference: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), can_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), disabled: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), over_quota: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), plan_name: faker.helpers.arrayElement([faker.word.sample(), undefined]), seat_count: faker.helpers.arrayElement([faker.word.sample(), undefined]), seat_limit: faker.helpers.arrayElement([faker.word.sample(), undefined]), seats: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ activated: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), website_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) })), undefined]), size: faker.helpers.arrayElement([faker.word.sample(), undefined]), size_limit: faker.helpers.arrayElement([faker.word.sample(), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
39
+ export const getXcitiumPlanInfoResponseMock = (overrideResponse = {}) => (Object.assign({ activated: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), back_reference: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), can_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), disabled: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), over_quota: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), plan_name: faker.helpers.arrayElement([faker.word.sample(), undefined]), seat_count: faker.helpers.arrayElement([faker.word.sample(), undefined]), seat_limit: faker.helpers.arrayElement([faker.word.sample(), undefined]), seats: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ activated: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), cms_database_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), db_used_gib: faker.helpers.arrayElement([faker.word.sample(), undefined]), dir_path: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), fs_used_gib: faker.helpers.arrayElement([faker.word.sample(), undefined]), site_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), website_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) })), undefined]), size: faker.helpers.arrayElement([faker.word.sample(), undefined]), size_limit: faker.helpers.arrayElement([faker.word.sample(), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
40
40
  export const getXcitiumSsoResponseMock = (overrideResponse = {}) => (Object.assign({ url: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
41
41
  export const getBackupInitiateResponseMock = (overrideResponse = {}) => (Object.assign({ message: faker.helpers.arrayElement([faker.word.sample(), undefined]), tracking_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
42
42
  export const getBackupStatusResponseMock = (overrideResponse = {}) => (Object.assign({ download_url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), message: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
@@ -59,6 +59,7 @@ export const getAddonsSpamexpertsSsoResponseMock = (overrideResponse = {}) => (O
59
59
  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
60
  export const getWebzaiSsoResponseMock = (overrideResponse = {}) => (Object.assign({ sso: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
61
61
  export const getWeeblySsoResponseMock = (overrideResponse = {}) => (Object.assign({ sso: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
62
+ export const getAddonsWorkflowsResponseMock = (overrideResponse = {}) => (Object.assign({ workflows: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ is_completed: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), name: faker.helpers.arrayElement([faker.word.sample(), undefined]), step: faker.helpers.arrayElement([faker.word.sample(), undefined]), type: faker.helpers.arrayElement([faker.word.sample(), undefined]), workflow_id: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]) }, overrideResponse));
62
63
  export const getDomainInfoResponseMock = (overrideResponse = {}) => (Object.assign({ account_back_ref: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), authoritative: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), autogen_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), back_reference: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), base_domain: faker.helpers.arrayElement([faker.word.sample(), undefined]), billing_account_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), billing_status: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), date_added: faker.helpers.arrayElement([faker.word.sample(), undefined]), date_modified: faker.helpers.arrayElement([faker.word.sample(), undefined]), date_ssl_exp: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), dns_status: faker.helpers.arrayElement([faker.word.sample(), undefined]), docroot: faker.helpers.arrayElement([faker.word.sample(), null]), domain: faker.word.sample(), homedir: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), hosting_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), id: faker.number.int({ min: undefined, max: undefined }), is_internal: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), jobs: faker.helpers.arrayElement([{}, undefined]), nameservers: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), platform: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), platform_type: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), product_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), setup_progress: faker.helpers.arrayElement([{ validate_cdn: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), validate_cdn_error: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), validate_dns: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), validate_dns_auto_repair: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), validate_dns_error: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), validate_error: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), validate_ssl: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), validate_ssl_error: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), validate_ssl_error_table: faker.helpers.arrayElement([{}, undefined]) }, undefined]), ssl_issuer: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), ssl_prod_inst_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), ssl_status: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), ssl_tier: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), ssl_type: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), ssl_upgradeable: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]), third_party_dns: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), type: faker.word.sample(), used_entri: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]) }, overrideResponse));
63
64
  export const getDomainCertsResponseMock = (overrideResponse = {}) => (Object.assign({ certs: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ cert_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), domain: faker.helpers.arrayElement([faker.word.sample(), undefined]), expires_on: faker.helpers.arrayElement([faker.word.sample(), undefined]), issued_on: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]) }, overrideResponse));
64
65
  export const getDomainCertInstallResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
@@ -221,6 +222,7 @@ export const getSitesBackupsCodeguardResponseMock = (overrideResponse = {}) => (
221
222
  export const getSitesBackupsDetailsResponseMock = (overrideResponse = {}) => (Object.assign({ codeguard: faker.helpers.arrayElement([{ activated: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), addon_back_reference: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), addon_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), can_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), database_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), disabled: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), over_quota: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), plan_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), seats_available: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), seats_count: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), status: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), website_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), jetpack: faker.helpers.arrayElement([{ addon_back_reference: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), addon_exists: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), addon_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), can_purchase: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), can_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), has_active_addon: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), has_active_plugin: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), last_backup_date: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), last_error: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), next_url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), pending_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), plan_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), plugin_exists: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), status: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), xcitium: faker.helpers.arrayElement([{ activated: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), addon_back_reference: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), addon_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), can_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), database_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), disabled: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), over_quota: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), plan_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), seats_available: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), seats_count: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), status: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), website_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]) }, overrideResponse));
222
223
  export const getJetpackBackupStatusResponseMock = (overrideResponse = {}) => (Object.assign({ addon_back_reference: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), addon_exists: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), addon_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), can_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), has_active_addon: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), has_active_plugin: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), next_url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), pending_upgrade: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), plan_name: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), plugin_exists: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), status: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, overrideResponse));
223
224
  export const getBackupsJetpackBackupResponseMock = () => ({});
225
+ export const getSitesBackupsXcitiumResponseMock = (overrideResponse = {}) => (Object.assign({ workflow_id: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
224
226
  export const getSiteAddonCloudflareResponseMock = (overrideResponse = {}) => (Object.assign({ addon_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
225
227
  export const getSitesDatabaseInfoResponseMock = (overrideResponse = {}) => (Object.assign({ charset: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), collation: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, overrideResponse));
226
228
  export const getSitesDatabasePasswordsyncResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
@@ -852,6 +854,16 @@ export const getWeeblySsoMockHandler = (overrideResponse) => {
852
854
  });
853
855
  }));
854
856
  };
857
+ export const getAddonsWorkflowsMockHandler = (overrideResponse) => {
858
+ return http.get('*/v1/addons/:addonId/workflows', (info) => __awaiter(void 0, void 0, void 0, function* () {
859
+ yield delay(0);
860
+ return new HttpResponse(JSON.stringify(overrideResponse !== undefined
861
+ ? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
862
+ : getAddonsWorkflowsResponseMock()), { status: 200,
863
+ headers: { 'Content-Type': 'application/json' }
864
+ });
865
+ }));
866
+ };
855
867
  export const getDomainInfoMockHandler = (overrideResponse) => {
856
868
  return http.get('*/v1/domains/:domainId', (info) => __awaiter(void 0, void 0, void 0, function* () {
857
869
  yield delay(0);
@@ -2435,10 +2447,10 @@ export const getBackupsJetpackBackupMockHandler = (overrideResponse) => {
2435
2447
  export const getSitesBackupsXcitiumMockHandler = (overrideResponse) => {
2436
2448
  return http.post('*/v1/sites/:siteId/backups/xcitium', (info) => __awaiter(void 0, void 0, void 0, function* () {
2437
2449
  yield delay(0);
2438
- if (typeof overrideResponse === 'function') {
2439
- yield overrideResponse(info);
2440
- }
2441
- return new HttpResponse(null, { status: 200,
2450
+ return new HttpResponse(JSON.stringify(overrideResponse !== undefined
2451
+ ? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
2452
+ : getSitesBackupsXcitiumResponseMock()), { status: 200,
2453
+ headers: { 'Content-Type': 'application/json' }
2442
2454
  });
2443
2455
  }));
2444
2456
  };
@@ -3583,6 +3595,7 @@ export const getHostingUAPIMock = () => [
3583
3595
  getAddonsSyncMockHandler(),
3584
3596
  getWebzaiSsoMockHandler(),
3585
3597
  getWeeblySsoMockHandler(),
3598
+ getAddonsWorkflowsMockHandler(),
3586
3599
  getDomainInfoMockHandler(),
3587
3600
  getDomainCertsMockHandler(),
3588
3601
  getDomainCertInstallMockHandler(),
@@ -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.1905.0
6
+ * OpenAPI spec version: 1.1906.0
7
7
  */
8
8
  export declare type SshKeyListV4200RowsItem = {
9
9
  authorize?: boolean;
@@ -118,13 +118,6 @@ export declare type HostingSiteAddV3Body = {
118
118
  /** Number of PHP workers */
119
119
  workers?: number;
120
120
  };
121
- export declare type BackupListV3200 = {
122
- has_more?: boolean;
123
- items?: BackupListV3200ItemsItem[];
124
- limit?: number;
125
- offset?: number;
126
- total?: number;
127
- };
128
121
  /**
129
122
  * @nullable
130
123
  */
@@ -159,6 +152,13 @@ export declare type BackupListV3200ItemsItem = {
159
152
  timezone?: string;
160
153
  type?: string;
161
154
  };
155
+ export declare type BackupListV3200 = {
156
+ has_more?: boolean;
157
+ items?: BackupListV3200ItemsItem[];
158
+ limit?: number;
159
+ offset?: number;
160
+ total?: number;
161
+ };
162
162
  export declare type BackupListV3Params = {
163
163
  page?: number;
164
164
  limit?: number;
@@ -313,12 +313,6 @@ export declare type SiteMalwareStatusV2200 = {
313
313
  */
314
314
  scanner_state?: string | null;
315
315
  };
316
- export declare type SitesDomainsV2200 = {
317
- domains: SitesDomainsV2200DomainsItem[];
318
- limit?: number;
319
- page?: number;
320
- total?: number;
321
- };
322
316
  /**
323
317
  * Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
324
318
  * @nullable
@@ -455,9 +449,26 @@ export declare type SitesDomainsV2200DomainsItem = {
455
449
  */
456
450
  used_entri?: number | null;
457
451
  };
452
+ export declare type SitesDomainsV2200 = {
453
+ domains: SitesDomainsV2200DomainsItem[];
454
+ limit?: number;
455
+ page?: number;
456
+ total?: number;
457
+ };
458
458
  export declare type SitesDomainsV2Params = {
459
459
  scan?: boolean;
460
460
  };
461
+ export declare type SitesListV2200 = {
462
+ items?: SitesListV2200ItemsItem[];
463
+ /** page size */
464
+ limit?: number;
465
+ /** current page number */
466
+ page?: number;
467
+ /** total number of pages */
468
+ pages?: number;
469
+ /** total number of sites returned */
470
+ total?: number;
471
+ };
461
472
  /**
462
473
  * @nullable
463
474
  */
@@ -485,6 +496,63 @@ export declare type SitesListV2200ItemsItemStaging = {
485
496
  /** A list of staging sites of the current site */
486
497
  sites?: number[];
487
498
  } | null;
499
+ export declare type SitesListV2200ItemsItemResourcesStorage = {
500
+ /** @nullable */
501
+ available?: number | null;
502
+ /** @nullable */
503
+ total?: number | null;
504
+ unit?: string;
505
+ /** @nullable */
506
+ used?: number | null;
507
+ };
508
+ export declare type SitesListV2200ItemsItemResources = {
509
+ storage?: SitesListV2200ItemsItemResourcesStorage;
510
+ /** @nullable */
511
+ workers?: number | null;
512
+ };
513
+ /**
514
+ * @nullable
515
+ */
516
+ export declare type SitesListV2200ItemsItemPendingUrlData = {
517
+ /**
518
+ * The root domain name
519
+ * @nullable
520
+ */
521
+ base_domain?: string | null;
522
+ /**
523
+ * The Fully Qualified Domain Name (FQDN)
524
+ * @nullable
525
+ */
526
+ domain?: string | null;
527
+ /**
528
+ * The current pending_url's HAL Domain ID
529
+ * @nullable
530
+ */
531
+ domain_id?: number | null;
532
+ /** @nullable */
533
+ error?: string | null;
534
+ /** Flag indicating whether the pending_url is temporary or not */
535
+ is_temp?: boolean;
536
+ /**
537
+ * Flag indicating whether the url_sync job has run out of attempts
538
+ * @nullable
539
+ */
540
+ job_failed?: boolean | null;
541
+ /** @nullable */
542
+ stage?: string | null;
543
+ /**
544
+ * Timestamp for when we will update the WP url, regardless of active sessions
545
+ * @nullable
546
+ */
547
+ wp_session?: string | null;
548
+ } | null;
549
+ /**
550
+ * Job ids for the site
551
+ * @nullable
552
+ */
553
+ export declare type SitesListV2200ItemsItemJobs = {
554
+ [key: string]: unknown;
555
+ } | null;
488
556
  export declare type SitesListV2200ItemsItem = {
489
557
  /** @nullable */
490
558
  account_back_ref?: string | null;
@@ -563,74 +631,6 @@ export declare type SitesListV2200ItemsItem = {
563
631
  */
564
632
  version_ptr?: string | null;
565
633
  };
566
- export declare type SitesListV2200 = {
567
- items?: SitesListV2200ItemsItem[];
568
- /** page size */
569
- limit?: number;
570
- /** current page number */
571
- page?: number;
572
- /** total number of pages */
573
- pages?: number;
574
- /** total number of sites returned */
575
- total?: number;
576
- };
577
- export declare type SitesListV2200ItemsItemResourcesStorage = {
578
- /** @nullable */
579
- available?: number | null;
580
- /** @nullable */
581
- total?: number | null;
582
- unit?: string;
583
- /** @nullable */
584
- used?: number | null;
585
- };
586
- export declare type SitesListV2200ItemsItemResources = {
587
- storage?: SitesListV2200ItemsItemResourcesStorage;
588
- /** @nullable */
589
- workers?: number | null;
590
- };
591
- /**
592
- * @nullable
593
- */
594
- export declare type SitesListV2200ItemsItemPendingUrlData = {
595
- /**
596
- * The root domain name
597
- * @nullable
598
- */
599
- base_domain?: string | null;
600
- /**
601
- * The Fully Qualified Domain Name (FQDN)
602
- * @nullable
603
- */
604
- domain?: string | null;
605
- /**
606
- * The current pending_url's HAL Domain ID
607
- * @nullable
608
- */
609
- domain_id?: number | null;
610
- /** @nullable */
611
- error?: string | null;
612
- /** Flag indicating whether the pending_url is temporary or not */
613
- is_temp?: boolean;
614
- /**
615
- * Flag indicating whether the url_sync job has run out of attempts
616
- * @nullable
617
- */
618
- job_failed?: boolean | null;
619
- /** @nullable */
620
- stage?: string | null;
621
- /**
622
- * Timestamp for when we will update the WP url, regardless of active sessions
623
- * @nullable
624
- */
625
- wp_session?: string | null;
626
- } | null;
627
- /**
628
- * Job ids for the site
629
- * @nullable
630
- */
631
- export declare type SitesListV2200ItemsItemJobs = {
632
- [key: string]: unknown;
633
- } | null;
634
634
  export declare type SshKeyV2200 = {
635
635
  deleted?: number;
636
636
  key_name?: string;
@@ -992,12 +992,6 @@ export declare type HostingDomainsUnassignV2Body = {
992
992
  /** The site id to be unassigned */
993
993
  site_id: number;
994
994
  };
995
- export declare type HostingDomainsV2200 = {
996
- domains: HostingDomainsV2200DomainsItem[];
997
- limit?: number;
998
- page?: number;
999
- total?: number;
1000
- };
1001
995
  /**
1002
996
  * Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
1003
997
  * @nullable
@@ -1134,6 +1128,12 @@ export declare type HostingDomainsV2200DomainsItem = {
1134
1128
  */
1135
1129
  used_entri?: number | null;
1136
1130
  };
1131
+ export declare type HostingDomainsV2200 = {
1132
+ domains: HostingDomainsV2200DomainsItem[];
1133
+ limit?: number;
1134
+ page?: number;
1135
+ total?: number;
1136
+ };
1137
1137
  export declare type HostingDomainsV2TypesItem = typeof HostingDomainsV2TypesItem[keyof typeof HostingDomainsV2TypesItem];
1138
1138
  export declare const HostingDomainsV2TypesItem: {
1139
1139
  readonly addon: "addon";
@@ -2414,18 +2414,6 @@ export declare type SitesMetricDimensions200DimensionsVisitorAsnItem = {
2414
2414
  dimension?: SitesMetricDimensions200DimensionsVisitorAsnItemDimension;
2415
2415
  timestamp?: number;
2416
2416
  };
2417
- export declare type SitesMetricDimensions200Dimensions = {
2418
- http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
2419
- http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
2420
- http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
2421
- http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
2422
- page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
2423
- page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
2424
- visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
2425
- visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
2426
- visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
2427
- wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
2428
- };
2429
2417
  export declare type SitesMetricDimensions200DimensionsPageRendererItemDimension = {
2430
2418
  [key: string]: number;
2431
2419
  };
@@ -2468,6 +2456,18 @@ export declare type SitesMetricDimensions200DimensionsHttpHostItem = {
2468
2456
  dimension?: SitesMetricDimensions200DimensionsHttpHostItemDimension;
2469
2457
  timestamp?: number;
2470
2458
  };
2459
+ export declare type SitesMetricDimensions200Dimensions = {
2460
+ http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
2461
+ http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
2462
+ http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
2463
+ http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
2464
+ page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
2465
+ page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
2466
+ visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
2467
+ visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
2468
+ visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
2469
+ wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
2470
+ };
2471
2471
  export declare type SitesMetricDimensionsParams = {
2472
2472
  start?: string;
2473
2473
  end?: string;
@@ -2773,6 +2773,10 @@ export declare type SiteAddonCloudflare400 = {
2773
2773
  export declare type SiteAddonCloudflare200 = {
2774
2774
  addon_id?: number;
2775
2775
  };
2776
+ export declare type SitesBackupsXcitium200 = {
2777
+ /** Id of the backgrounded task that can be polled against */
2778
+ workflow_id?: string;
2779
+ };
2776
2780
  export declare type BackupsJetpackBackup200 = {
2777
2781
  [key: string]: unknown;
2778
2782
  };
@@ -3013,6 +3017,71 @@ export declare type SitesInfo200Staging = {
3013
3017
  /** A list of staging sites of the current site */
3014
3018
  sites?: number[];
3015
3019
  } | null;
3020
+ export declare type SitesInfo200ResourcesStorage = {
3021
+ /** @nullable */
3022
+ available?: number | null;
3023
+ /** @nullable */
3024
+ total?: number | null;
3025
+ unit?: string;
3026
+ /** @nullable */
3027
+ used?: number | null;
3028
+ };
3029
+ export declare type SitesInfo200Resources = {
3030
+ storage?: SitesInfo200ResourcesStorage;
3031
+ /** @nullable */
3032
+ workers?: number | null;
3033
+ };
3034
+ /**
3035
+ * @nullable
3036
+ */
3037
+ export declare type SitesInfo200PendingUrlData = {
3038
+ /**
3039
+ * The root domain name
3040
+ * @nullable
3041
+ */
3042
+ base_domain?: string | null;
3043
+ /**
3044
+ * The Fully Qualified Domain Name (FQDN)
3045
+ * @nullable
3046
+ */
3047
+ domain?: string | null;
3048
+ /**
3049
+ * The current pending_url's HAL Domain ID
3050
+ * @nullable
3051
+ */
3052
+ domain_id?: number | null;
3053
+ /** @nullable */
3054
+ error?: string | null;
3055
+ /** Flag indicating whether the pending_url is temporary or not */
3056
+ is_temp?: boolean;
3057
+ /**
3058
+ * Flag indicating whether the url_sync job has run out of attempts
3059
+ * @nullable
3060
+ */
3061
+ job_failed?: boolean | null;
3062
+ /** @nullable */
3063
+ stage?: string | null;
3064
+ /**
3065
+ * Timestamp for when we will update the WP url, regardless of active sessions
3066
+ * @nullable
3067
+ */
3068
+ wp_session?: string | null;
3069
+ } | null;
3070
+ /**
3071
+ * @nullable
3072
+ */
3073
+ export declare type SitesInfo200Pagespeed = {
3074
+ lastrun?: string;
3075
+ performance?: string;
3076
+ strategy?: string;
3077
+ } | null;
3078
+ /**
3079
+ * Job ids for the site
3080
+ * @nullable
3081
+ */
3082
+ export declare type SitesInfo200Jobs = {
3083
+ [key: string]: unknown;
3084
+ } | null;
3016
3085
  export declare type SitesInfo200 = {
3017
3086
  /** @nullable */
3018
3087
  account_back_ref?: string | null;
@@ -3101,71 +3170,16 @@ export declare type SitesInfo200 = {
3101
3170
  /** @nullable */
3102
3171
  wp_multi_site?: SitesInfo200WpMultiSite;
3103
3172
  };
3104
- export declare type SitesInfo200ResourcesStorage = {
3105
- /** @nullable */
3106
- available?: number | null;
3107
- /** @nullable */
3108
- total?: number | null;
3109
- unit?: string;
3110
- /** @nullable */
3111
- used?: number | null;
3112
- };
3113
- export declare type SitesInfo200Resources = {
3114
- storage?: SitesInfo200ResourcesStorage;
3115
- /** @nullable */
3116
- workers?: number | null;
3173
+ export declare type PublicImages200 = {
3174
+ /** Limit the number of images returned */
3175
+ limit?: PublicImages200Limit;
3176
+ /** Number of images returned */
3177
+ n_rows?: PublicImages200NRows;
3178
+ /** Page number */
3179
+ page?: PublicImages200Page;
3180
+ /** List of images */
3181
+ rows?: PublicImages200RowsItem[];
3117
3182
  };
3118
- /**
3119
- * @nullable
3120
- */
3121
- export declare type SitesInfo200PendingUrlData = {
3122
- /**
3123
- * The root domain name
3124
- * @nullable
3125
- */
3126
- base_domain?: string | null;
3127
- /**
3128
- * The Fully Qualified Domain Name (FQDN)
3129
- * @nullable
3130
- */
3131
- domain?: string | null;
3132
- /**
3133
- * The current pending_url's HAL Domain ID
3134
- * @nullable
3135
- */
3136
- domain_id?: number | null;
3137
- /** @nullable */
3138
- error?: string | null;
3139
- /** Flag indicating whether the pending_url is temporary or not */
3140
- is_temp?: boolean;
3141
- /**
3142
- * Flag indicating whether the url_sync job has run out of attempts
3143
- * @nullable
3144
- */
3145
- job_failed?: boolean | null;
3146
- /** @nullable */
3147
- stage?: string | null;
3148
- /**
3149
- * Timestamp for when we will update the WP url, regardless of active sessions
3150
- * @nullable
3151
- */
3152
- wp_session?: string | null;
3153
- } | null;
3154
- /**
3155
- * @nullable
3156
- */
3157
- export declare type SitesInfo200Pagespeed = {
3158
- lastrun?: string;
3159
- performance?: string;
3160
- strategy?: string;
3161
- } | null;
3162
- /**
3163
- * Job ids for the site
3164
- * @nullable
3165
- */
3166
- export declare type SitesInfo200Jobs = {
3167
- [key: string]: unknown;
3168
- } | null;
3169
3183
  /**
3170
3184
  * Links
3171
3185
  * @nullable
@@ -3313,16 +3327,6 @@ export declare type PublicImages200NRows = string | number;
3313
3327
  * Limit the number of images returned
3314
3328
  */
3315
3329
  export declare type PublicImages200Limit = string | number;
3316
- export declare type PublicImages200 = {
3317
- /** Limit the number of images returned */
3318
- limit?: PublicImages200Limit;
3319
- /** Number of images returned */
3320
- n_rows?: PublicImages200NRows;
3321
- /** Page number */
3322
- page?: PublicImages200Page;
3323
- /** List of images */
3324
- rows?: PublicImages200RowsItem[];
3325
- };
3326
3330
  export declare type HostingVisitors200VisitorsItem = {
3327
3331
  bandwidth?: number;
3328
3332
  hits?: number;
@@ -4844,6 +4848,10 @@ export declare type HostingEmailUpdateBody = {
4844
4848
  /** The password for the email */
4845
4849
  password?: string;
4846
4850
  };
4851
+ export declare type HostingEmailList200 = {
4852
+ /** List of email resources */
4853
+ rows?: HostingEmailList200RowsItem[];
4854
+ };
4847
4855
  /**
4848
4856
  * List of suspensions that affect the entire user account
4849
4857
  * @nullable
@@ -4933,10 +4941,6 @@ export declare type HostingEmailList200RowsItem = {
4933
4941
  */
4934
4942
  utf8_folders?: boolean | null;
4935
4943
  };
4936
- export declare type HostingEmailList200 = {
4937
- /** List of email resources */
4938
- rows?: HostingEmailList200RowsItem[];
4939
- };
4940
4944
  export declare type HostingEmailDelete200 = {
4941
4945
  [key: string]: unknown;
4942
4946
  };
@@ -5776,6 +5780,28 @@ export declare type ActivityLog200 = {
5776
5780
  export declare type ActivityLogParams = {
5777
5781
  days?: number;
5778
5782
  };
5783
+ export declare type HostingAccount200 = {
5784
+ account_id?: string;
5785
+ account_limits?: HostingAccount200AccountLimits;
5786
+ /** The timestamp that the hosting addon was created */
5787
+ addon_date_added?: string;
5788
+ advanced?: boolean;
5789
+ billing?: HostingAccount200Billing;
5790
+ brand?: string;
5791
+ id?: string;
5792
+ panel?: string;
5793
+ plan_key?: string;
5794
+ platform?: string;
5795
+ /** @nullable */
5796
+ resources?: HostingAccount200Resources;
5797
+ /** @nullable */
5798
+ server_status?: string | null;
5799
+ /** @nullable */
5800
+ ssh_hostname?: string | null;
5801
+ status?: string;
5802
+ type?: string;
5803
+ username?: string;
5804
+ };
5779
5805
  export declare type HostingAccount200ResourcesWorkers = {
5780
5806
  /** @nullable */
5781
5807
  available?: number | null;
@@ -5793,14 +5819,6 @@ export declare type HostingAccount200ResourcesStorage = {
5793
5819
  /** @nullable */
5794
5820
  used?: number | null;
5795
5821
  };
5796
- /**
5797
- * @nullable
5798
- */
5799
- export declare type HostingAccount200Resources = {
5800
- staging?: HostingAccount200ResourcesStaging;
5801
- storage?: HostingAccount200ResourcesStorage;
5802
- workers?: HostingAccount200ResourcesWorkers;
5803
- } | null;
5804
5822
  export declare type HostingAccount200ResourcesStagingWorkers = {
5805
5823
  /** @nullable */
5806
5824
  available?: number | null;
@@ -5822,6 +5840,14 @@ export declare type HostingAccount200ResourcesStaging = {
5822
5840
  storage?: HostingAccount200ResourcesStagingStorage;
5823
5841
  workers?: HostingAccount200ResourcesStagingWorkers;
5824
5842
  };
5843
+ /**
5844
+ * @nullable
5845
+ */
5846
+ export declare type HostingAccount200Resources = {
5847
+ staging?: HostingAccount200ResourcesStaging;
5848
+ storage?: HostingAccount200ResourcesStorage;
5849
+ workers?: HostingAccount200ResourcesWorkers;
5850
+ } | null;
5825
5851
  export declare type HostingAccount200Billing = {
5826
5852
  prod_code?: string;
5827
5853
  product_name?: string;
@@ -5839,28 +5865,6 @@ export declare type HostingAccount200AccountLimits = {
5839
5865
  */
5840
5866
  sites?: number | null;
5841
5867
  };
5842
- export declare type HostingAccount200 = {
5843
- account_id?: string;
5844
- account_limits?: HostingAccount200AccountLimits;
5845
- /** The timestamp that the hosting addon was created */
5846
- addon_date_added?: string;
5847
- advanced?: boolean;
5848
- billing?: HostingAccount200Billing;
5849
- brand?: string;
5850
- id?: string;
5851
- panel?: string;
5852
- plan_key?: string;
5853
- platform?: string;
5854
- /** @nullable */
5855
- resources?: HostingAccount200Resources;
5856
- /** @nullable */
5857
- server_status?: string | null;
5858
- /** @nullable */
5859
- ssh_hostname?: string | null;
5860
- status?: string;
5861
- type?: string;
5862
- username?: string;
5863
- };
5864
5868
  export declare type DomainZoneeditorUrl200 = {
5865
5869
  url: string;
5866
5870
  };
@@ -6290,6 +6294,15 @@ export declare type DomainInfo200 = {
6290
6294
  */
6291
6295
  used_entri?: number | null;
6292
6296
  };
6297
+ export declare type AddonsWorkflows200 = {
6298
+ workflows?: AddonWorkflowListItem[];
6299
+ };
6300
+ export declare type AddonsWorkflowsParams = {
6301
+ /**
6302
+ * An optional id to query for a specific workflow
6303
+ */
6304
+ workflow_id?: string;
6305
+ };
6293
6306
  export declare type WeeblySso200 = {
6294
6307
  sso?: string;
6295
6308
  };
@@ -6633,9 +6646,6 @@ export declare type BackupMeta200Account = {
6633
6646
  export declare type BackupMetaParams = {
6634
6647
  site_id?: number;
6635
6648
  };
6636
- export declare type BackupList200 = {
6637
- home?: BackupList200HomeItem[];
6638
- };
6639
6649
  export declare type BackupList200HomeItemBackupStatus = {
6640
6650
  /** @nullable */
6641
6651
  download_url?: string | null;
@@ -6647,6 +6657,9 @@ export declare type BackupList200HomeItem = {
6647
6657
  backup_status?: BackupList200HomeItemBackupStatus;
6648
6658
  time_created?: string;
6649
6659
  };
6660
+ export declare type BackupList200 = {
6661
+ home?: BackupList200HomeItem[];
6662
+ };
6650
6663
  export declare type BackupListBackupType = typeof BackupListBackupType[keyof typeof BackupListBackupType];
6651
6664
  export declare const BackupListBackupType: {
6652
6665
  readonly full: "full";
@@ -6692,13 +6705,32 @@ export declare type XcitiumSso200 = {
6692
6705
  export declare type XcitiumPlanInfo200SeatsItem = {
6693
6706
  /** Whether this site can create or can download xcitium backups */
6694
6707
  activated?: boolean;
6708
+ /**
6709
+ * Name of the site's database
6710
+ * @nullable
6711
+ */
6712
+ cms_database_name?: string | null;
6713
+ /** Amount of disk space the database backup is using */
6714
+ db_used_gib?: string;
6715
+ /**
6716
+ * Path to the site's files
6717
+ * @nullable
6718
+ */
6719
+ dir_path?: string | null;
6720
+ /** Amount of disk space the file system backup is using */
6721
+ fs_used_gib?: string;
6722
+ /**
6723
+ * The HAL site id
6724
+ * @nullable
6725
+ */
6726
+ site_id?: string | null;
6695
6727
  /**
6696
6728
  * Site url for this xcitium backup
6697
6729
  * @nullable
6698
6730
  */
6699
6731
  url?: string | null;
6700
6732
  /**
6701
- * The xcitium identifier for this backup
6733
+ * The xcitium identifier for this site
6702
6734
  * @nullable
6703
6735
  */
6704
6736
  website_id?: string | null;
@@ -7399,6 +7431,18 @@ export declare type AccountEventListParams = {
7399
7431
  */
7400
7432
  date_last?: string;
7401
7433
  };
7434
+ export interface AddonWorkflowListItem {
7435
+ /** Whether the workflow has completed all stages */
7436
+ is_completed?: boolean;
7437
+ /** The name of the workflow */
7438
+ name?: string;
7439
+ /** The most recent active step of the workflow */
7440
+ step?: string;
7441
+ /** The addon type associated with the workflow */
7442
+ type?: string;
7443
+ /** The id of the workflow */
7444
+ workflow_id?: string;
7445
+ }
7402
7446
  /**
7403
7447
  * Notify on successful backups
7404
7448
  */