@newfold/huapi-js 1.391.0 → 1.399.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/README.md +0 -2
- package/package.json +4 -2
- package/src/index.d.ts +2919 -1
- package/src/index.js +1893 -5
- package/src/handlers.d.ts +0 -2
- package/src/handlers.js +0 -7
- package/src/lib/handlers/index.d.ts +0 -5
- package/src/lib/handlers/index.js +0 -8
- package/src/lib/handlers/sites/data/sites.d.ts +0 -19
- package/src/lib/handlers/sites/data/sites.js +0 -178
- package/src/lib/handlers/sites/getHostingSitesHandler.d.ts +0 -9
- package/src/lib/handlers/sites/getHostingSitesHandler.js +0 -17
- package/src/orval-generated/index.d.ts +0 -1475
- package/src/orval-generated/index.js +0 -1731
- package/src/orval-generated/index.msw.d.ts +0 -533
- package/src/orval-generated/index.msw.js +0 -393
- package/src/orval-generated/models/addonCloudflare200.d.ts +0 -11
- package/src/orval-generated/models/addonCloudflare200.js +0 -9
- package/src/orval-generated/models/addonCloudflareBody.d.ts +0 -11
- package/src/orval-generated/models/addonCloudflareBody.js +0 -9
- package/src/orval-generated/models/addonsCloudflare200.d.ts +0 -10
- package/src/orval-generated/models/addonsCloudflare200.js +0 -9
- package/src/orval-generated/models/addonsInfo200.d.ts +0 -10
- package/src/orval-generated/models/addonsInfo200.js +0 -9
- package/src/orval-generated/models/addonsSitelockSso200.d.ts +0 -12
- package/src/orval-generated/models/addonsSitelockSso200.js +0 -9
- package/src/orval-generated/models/codeguardBackupCreate200.d.ts +0 -10
- package/src/orval-generated/models/codeguardBackupCreate200.js +0 -9
- package/src/orval-generated/models/codeguardBackupCreateBody.d.ts +0 -13
- package/src/orval-generated/models/codeguardBackupCreateBody.js +0 -9
- package/src/orval-generated/models/codeguardBackupDownload200.d.ts +0 -10
- package/src/orval-generated/models/codeguardBackupDownload200.js +0 -9
- package/src/orval-generated/models/codeguardBackupDownloadBody.d.ts +0 -15
- package/src/orval-generated/models/codeguardBackupDownloadBody.js +0 -9
- package/src/orval-generated/models/codeguardBackupList200.d.ts +0 -11
- package/src/orval-generated/models/codeguardBackupList200.js +0 -2
- package/src/orval-generated/models/codeguardBackupList200BackupsItem.d.ts +0 -13
- package/src/orval-generated/models/codeguardBackupList200BackupsItem.js +0 -2
- package/src/orval-generated/models/codeguardBackupList200BackupsItemDatabaseBackupsItem.d.ts +0 -13
- package/src/orval-generated/models/codeguardBackupList200BackupsItemDatabaseBackupsItem.js +0 -9
- package/src/orval-generated/models/codeguardBackupListParams.d.ts +0 -10
- package/src/orval-generated/models/codeguardBackupListParams.js +0 -9
- package/src/orval-generated/models/codeguardBackupRestore200.d.ts +0 -11
- package/src/orval-generated/models/codeguardBackupRestore200.js +0 -9
- package/src/orval-generated/models/codeguardBackupRestoreBody.d.ts +0 -17
- package/src/orval-generated/models/codeguardBackupRestoreBody.js +0 -9
- package/src/orval-generated/models/codeguardDatabaseBackupCreate200.d.ts +0 -10
- package/src/orval-generated/models/codeguardDatabaseBackupCreate200.js +0 -9
- package/src/orval-generated/models/codeguardDatabaseBackupCreateBody.d.ts +0 -13
- package/src/orval-generated/models/codeguardDatabaseBackupCreateBody.js +0 -9
- package/src/orval-generated/models/codeguardDatabaseBackupList200.d.ts +0 -11
- package/src/orval-generated/models/codeguardDatabaseBackupList200.js +0 -2
- package/src/orval-generated/models/codeguardDatabaseBackupList200BackupsItem.d.ts +0 -11
- package/src/orval-generated/models/codeguardDatabaseBackupList200BackupsItem.js +0 -9
- package/src/orval-generated/models/codeguardDatabaseBackupListParams.d.ts +0 -11
- package/src/orval-generated/models/codeguardDatabaseBackupListParams.js +0 -9
- package/src/orval-generated/models/codeguardDatabaseBackupRestore200.d.ts +0 -10
- package/src/orval-generated/models/codeguardDatabaseBackupRestore200.js +0 -9
- package/src/orval-generated/models/codeguardDatabaseBackupRestoreBody.d.ts +0 -15
- package/src/orval-generated/models/codeguardDatabaseBackupRestoreBody.js +0 -9
- package/src/orval-generated/models/codeguardDatabaseList200.d.ts +0 -12
- package/src/orval-generated/models/codeguardDatabaseList200.js +0 -2
- package/src/orval-generated/models/codeguardDatabaseList200DatabasesItem.d.ts +0 -11
- package/src/orval-generated/models/codeguardDatabaseList200DatabasesItem.js +0 -2
- package/src/orval-generated/models/codeguardDatabaseList200DatabasesItemDatabaseBackup.d.ts +0 -13
- package/src/orval-generated/models/codeguardDatabaseList200DatabasesItemDatabaseBackup.js +0 -9
- package/src/orval-generated/models/codeguardLoginLink200.d.ts +0 -10
- package/src/orval-generated/models/codeguardLoginLink200.js +0 -9
- package/src/orval-generated/models/codeguardPlanInfo200.d.ts +0 -17
- package/src/orval-generated/models/codeguardPlanInfo200.js +0 -2
- package/src/orval-generated/models/codeguardPlanInfo200SeatsItem.d.ts +0 -12
- package/src/orval-generated/models/codeguardPlanInfo200SeatsItem.js +0 -9
- package/src/orval-generated/models/codeguardWebsiteBackupCreate200.d.ts +0 -10
- package/src/orval-generated/models/codeguardWebsiteBackupCreate200.js +0 -9
- package/src/orval-generated/models/codeguardWebsiteBackupCreateBody.d.ts +0 -11
- package/src/orval-generated/models/codeguardWebsiteBackupCreateBody.js +0 -9
- package/src/orval-generated/models/codeguardWebsiteBackupList200.d.ts +0 -11
- package/src/orval-generated/models/codeguardWebsiteBackupList200.js +0 -2
- package/src/orval-generated/models/codeguardWebsiteBackupList200BackupsItem.d.ts +0 -13
- package/src/orval-generated/models/codeguardWebsiteBackupList200BackupsItem.js +0 -9
- package/src/orval-generated/models/codeguardWebsiteBackupListParams.d.ts +0 -10
- package/src/orval-generated/models/codeguardWebsiteBackupListParams.js +0 -9
- package/src/orval-generated/models/codeguardWebsiteBackupRestore200.d.ts +0 -10
- package/src/orval-generated/models/codeguardWebsiteBackupRestore200.js +0 -9
- package/src/orval-generated/models/codeguardWebsiteBackupRestoreBody.d.ts +0 -13
- package/src/orval-generated/models/codeguardWebsiteBackupRestoreBody.js +0 -9
- package/src/orval-generated/models/codeguardWebsiteList200.d.ts +0 -11
- package/src/orval-generated/models/codeguardWebsiteList200.js +0 -2
- package/src/orval-generated/models/codeguardWebsiteList200WebsiteListItem.d.ts +0 -11
- package/src/orval-generated/models/codeguardWebsiteList200WebsiteListItem.js +0 -2
- package/src/orval-generated/models/codeguardWebsiteList200WebsiteListItemWebsite.d.ts +0 -12
- package/src/orval-generated/models/codeguardWebsiteList200WebsiteListItemWebsite.js +0 -9
- package/src/orval-generated/models/domains200.d.ts +0 -11
- package/src/orval-generated/models/domains200.js +0 -2
- package/src/orval-generated/models/domains200DomainsItem.d.ts +0 -13
- package/src/orval-generated/models/domains200DomainsItem.js +0 -9
- package/src/orval-generated/models/domainsParams.d.ts +0 -11
- package/src/orval-generated/models/domainsParams.js +0 -2
- package/src/orval-generated/models/domainsType.d.ts +0 -15
- package/src/orval-generated/models/domainsType.js +0 -18
- package/src/orval-generated/models/hostingAccount200.d.ts +0 -17
- package/src/orval-generated/models/hostingAccount200.js +0 -9
- package/src/orval-generated/models/hostingAddons200.d.ts +0 -11
- package/src/orval-generated/models/hostingAddons200.js +0 -2
- package/src/orval-generated/models/hostingAddons200RowsItem.d.ts +0 -14
- package/src/orval-generated/models/hostingAddons200RowsItem.js +0 -9
- package/src/orval-generated/models/hostingAddonsParams.d.ts +0 -12
- package/src/orval-generated/models/hostingAddonsParams.js +0 -9
- package/src/orval-generated/models/hostingAdvancedCrontab200.d.ts +0 -11
- package/src/orval-generated/models/hostingAdvancedCrontab200.js +0 -2
- package/src/orval-generated/models/hostingAdvancedCrontab200RowsItem.d.ts +0 -18
- package/src/orval-generated/models/hostingAdvancedCrontab200RowsItem.js +0 -9
- package/src/orval-generated/models/hostingAdvancedPassword200.d.ts +0 -10
- package/src/orval-generated/models/hostingAdvancedPassword200.js +0 -9
- package/src/orval-generated/models/hostingAdvancedPasswordBody.d.ts +0 -13
- package/src/orval-generated/models/hostingAdvancedPasswordBody.js +0 -9
- package/src/orval-generated/models/hostingAdvancedServer200.d.ts +0 -14
- package/src/orval-generated/models/hostingAdvancedServer200.js +0 -2
- package/src/orval-generated/models/hostingAdvancedServer200Actions.d.ts +0 -10
- package/src/orval-generated/models/hostingAdvancedServer200Actions.js +0 -9
- package/src/orval-generated/models/hostingAdvancedServerStatus200.d.ts +0 -14
- package/src/orval-generated/models/hostingAdvancedServerStatus200.js +0 -2
- package/src/orval-generated/models/hostingAdvancedServerStatus200Actions.d.ts +0 -10
- package/src/orval-generated/models/hostingAdvancedServerStatus200Actions.js +0 -9
- package/src/orval-generated/models/hostingAdvancedServerStatusBody.d.ts +0 -11
- package/src/orval-generated/models/hostingAdvancedServerStatusBody.js +0 -9
- package/src/orval-generated/models/hostingAdvancedSsoWhm200.d.ts +0 -10
- package/src/orval-generated/models/hostingAdvancedSsoWhm200.js +0 -9
- package/src/orval-generated/models/hostingAdvancedSystemConsole200.d.ts +0 -10
- package/src/orval-generated/models/hostingAdvancedSystemConsole200.js +0 -9
- package/src/orval-generated/models/hostingCapabilities200.d.ts +0 -14
- package/src/orval-generated/models/hostingCapabilities200.js +0 -9
- package/src/orval-generated/models/hostingFtp200.d.ts +0 -10
- package/src/orval-generated/models/hostingFtp200.js +0 -9
- package/src/orval-generated/models/hostingFtpAdd200.d.ts +0 -11
- package/src/orval-generated/models/hostingFtpAdd200.js +0 -9
- package/src/orval-generated/models/hostingFtpAddBody.d.ts +0 -24
- package/src/orval-generated/models/hostingFtpAddBody.js +0 -9
- package/src/orval-generated/models/hostingFtpBody.d.ts +0 -17
- package/src/orval-generated/models/hostingFtpBody.js +0 -9
- package/src/orval-generated/models/hostingFtpList200.d.ts +0 -13
- package/src/orval-generated/models/hostingFtpList200.js +0 -2
- package/src/orval-generated/models/hostingFtpList200FtpAccountItem.d.ts +0 -11
- package/src/orval-generated/models/hostingFtpList200FtpAccountItem.js +0 -9
- package/src/orval-generated/models/hostingFtpList200FtpAccountsItem.d.ts +0 -12
- package/src/orval-generated/models/hostingFtpList200FtpAccountsItem.js +0 -9
- package/src/orval-generated/models/hostingFtpList200SpecialFtpAccountsItem.d.ts +0 -12
- package/src/orval-generated/models/hostingFtpList200SpecialFtpAccountsItem.js +0 -9
- package/src/orval-generated/models/hostingInfo200.d.ts +0 -10
- package/src/orval-generated/models/hostingInfo200.js +0 -9
- package/src/orval-generated/models/hostingInfoDiskUsage200.d.ts +0 -11
- package/src/orval-generated/models/hostingInfoDiskUsage200.js +0 -9
- package/src/orval-generated/models/hostingMigrationInfo200.d.ts +0 -17
- package/src/orval-generated/models/hostingMigrationInfo200.js +0 -9
- package/src/orval-generated/models/hostingMigrationInfoParams.d.ts +0 -10
- package/src/orval-generated/models/hostingMigrationInfoParams.js +0 -9
- package/src/orval-generated/models/hostingMigrationSiteScanStatus200.d.ts +0 -11
- package/src/orval-generated/models/hostingMigrationSiteScanStatus200.js +0 -9
- package/src/orval-generated/models/hostingMigrationSiteScanStatusParams.d.ts +0 -10
- package/src/orval-generated/models/hostingMigrationSiteScanStatusParams.js +0 -9
- package/src/orval-generated/models/hostingMigrationStatus200.d.ts +0 -11
- package/src/orval-generated/models/hostingMigrationStatus200.js +0 -2
- package/src/orval-generated/models/hostingMigrationStatus200RowsItem.d.ts +0 -13
- package/src/orval-generated/models/hostingMigrationStatus200RowsItem.js +0 -9
- package/src/orval-generated/models/hostingMigrations200.d.ts +0 -10
- package/src/orval-generated/models/hostingMigrations200.js +0 -9
- package/src/orval-generated/models/hostingMigrationsBody.d.ts +0 -11
- package/src/orval-generated/models/hostingMigrationsBody.js +0 -9
- package/src/orval-generated/models/hostingMigrationsEvent200.d.ts +0 -10
- package/src/orval-generated/models/hostingMigrationsEvent200.js +0 -9
- package/src/orval-generated/models/hostingMigrationsEventBody.d.ts +0 -13
- package/src/orval-generated/models/hostingMigrationsEventBody.js +0 -2
- package/src/orval-generated/models/hostingMigrationsEventBodyEventName.d.ts +0 -17
- package/src/orval-generated/models/hostingMigrationsEventBodyEventName.js +0 -20
- package/src/orval-generated/models/hostingNameservers200.d.ts +0 -10
- package/src/orval-generated/models/hostingNameservers200.js +0 -9
- package/src/orval-generated/models/hostingShellInfo200.d.ts +0 -10
- package/src/orval-generated/models/hostingShellInfo200.js +0 -9
- package/src/orval-generated/models/hostingShellToggle200.d.ts +0 -10
- package/src/orval-generated/models/hostingShellToggle200.js +0 -9
- package/src/orval-generated/models/hostingShellToggleBody.d.ts +0 -11
- package/src/orval-generated/models/hostingShellToggleBody.js +0 -9
- package/src/orval-generated/models/hostingSiteAdd200.d.ts +0 -12
- package/src/orval-generated/models/hostingSiteAdd200.js +0 -9
- package/src/orval-generated/models/hostingSiteAddBody.d.ts +0 -17
- package/src/orval-generated/models/hostingSiteAddBody.js +0 -9
- package/src/orval-generated/models/hostingSites200.d.ts +0 -20
- package/src/orval-generated/models/hostingSites200.js +0 -2
- package/src/orval-generated/models/hostingSites200RowsItem.d.ts +0 -17
- package/src/orval-generated/models/hostingSites200RowsItem.js +0 -2
- package/src/orval-generated/models/hostingSites200RowsItemMeta.d.ts +0 -10
- package/src/orval-generated/models/hostingSites200RowsItemMeta.js +0 -9
- package/src/orval-generated/models/hostingSitesV2200.d.ts +0 -20
- package/src/orval-generated/models/hostingSitesV2200.js +0 -2
- package/src/orval-generated/models/hostingSitesV2200ItemsItem.d.ts +0 -15
- package/src/orval-generated/models/hostingSitesV2200ItemsItem.js +0 -9
- package/src/orval-generated/models/hostingSshInfo200.d.ts +0 -11
- package/src/orval-generated/models/hostingSshInfo200.js +0 -9
- package/src/orval-generated/models/index.d.ts +0 -180
- package/src/orval-generated/models/index.js +0 -183
- package/src/orval-generated/models/jetpackBackupStatus200.d.ts +0 -11
- package/src/orval-generated/models/jetpackBackupStatus200.js +0 -9
- package/src/orval-generated/models/resetSite200.d.ts +0 -12
- package/src/orval-generated/models/resetSite200.js +0 -9
- package/src/orval-generated/models/site200.d.ts +0 -10
- package/src/orval-generated/models/site200.js +0 -9
- package/src/orval-generated/models/sitePlugins200.d.ts +0 -13
- package/src/orval-generated/models/sitePlugins200.js +0 -2
- package/src/orval-generated/models/sitePlugins200PluginsItem.d.ts +0 -13
- package/src/orval-generated/models/sitePlugins200PluginsItem.js +0 -9
- package/src/orval-generated/models/sitePluginsAutoupdate200.d.ts +0 -10
- package/src/orval-generated/models/sitePluginsAutoupdate200.js +0 -9
- package/src/orval-generated/models/sitePluginsAutoupdateBody.d.ts +0 -10
- package/src/orval-generated/models/sitePluginsAutoupdateBody.js +0 -9
- package/src/orval-generated/models/sitePluginsToggle200.d.ts +0 -10
- package/src/orval-generated/models/sitePluginsToggle200.js +0 -9
- package/src/orval-generated/models/sitePluginsToggleBody.d.ts +0 -13
- package/src/orval-generated/models/sitePluginsToggleBody.js +0 -9
- package/src/orval-generated/models/sitePluginsUpdate200.d.ts +0 -10
- package/src/orval-generated/models/sitePluginsUpdate200.js +0 -9
- package/src/orval-generated/models/sitePluginsUpdateBody.d.ts +0 -11
- package/src/orval-generated/models/sitePluginsUpdateBody.js +0 -9
- package/src/orval-generated/models/siteSettingsAutoupdatePlugins200.d.ts +0 -10
- package/src/orval-generated/models/siteSettingsAutoupdatePlugins200.js +0 -9
- package/src/orval-generated/models/siteUpdate200.d.ts +0 -10
- package/src/orval-generated/models/siteUpdate200.js +0 -9
- package/src/orval-generated/models/siteUpdate400.d.ts +0 -10
- package/src/orval-generated/models/siteUpdate400.js +0 -9
- package/src/orval-generated/models/siteUpdateBody.d.ts +0 -15
- package/src/orval-generated/models/siteUpdateBody.js +0 -9
- package/src/orval-generated/models/siteUsers200.d.ts +0 -11
- package/src/orval-generated/models/siteUsers200.js +0 -2
- package/src/orval-generated/models/siteUsers200UsersItem.d.ts +0 -19
- package/src/orval-generated/models/siteUsers200UsersItem.js +0 -2
- package/src/orval-generated/models/siteUsers200UsersItemMeta.d.ts +0 -11
- package/src/orval-generated/models/siteUsers200UsersItemMeta.js +0 -9
- package/src/orval-generated/models/sitesAutoupdatesResponse.d.ts +0 -12
- package/src/orval-generated/models/sitesAutoupdatesResponse.js +0 -9
- package/src/orval-generated/models/sitesAutoupdatesUpdateBody.d.ts +0 -14
- package/src/orval-generated/models/sitesAutoupdatesUpdateBody.js +0 -2
- package/src/orval-generated/models/sitesAutoupdatesUpdateBodyType.d.ts +0 -16
- package/src/orval-generated/models/sitesAutoupdatesUpdateBodyType.js +0 -16
- package/src/orval-generated/models/sitesBackups200.d.ts +0 -10
- package/src/orval-generated/models/sitesBackups200.js +0 -9
- package/src/orval-generated/models/sitesBackupsDetails200.d.ts +0 -13
- package/src/orval-generated/models/sitesBackupsDetails200.js +0 -2
- package/src/orval-generated/models/sitesBackupsDetails200Codeguard.d.ts +0 -17
- package/src/orval-generated/models/sitesBackupsDetails200Codeguard.js +0 -9
- package/src/orval-generated/models/sitesBackupsDetails200Jetpack.d.ts +0 -11
- package/src/orval-generated/models/sitesBackupsDetails200Jetpack.js +0 -9
- package/src/orval-generated/models/sitesDns200.d.ts +0 -13
- package/src/orval-generated/models/sitesDns200.js +0 -2
- package/src/orval-generated/models/sitesDns200RecordsItem.d.ts +0 -12
- package/src/orval-generated/models/sitesDns200RecordsItem.js +0 -9
- package/src/orval-generated/models/sitesDnsParams.d.ts +0 -10
- package/src/orval-generated/models/sitesDnsParams.js +0 -9
- package/src/orval-generated/models/sitesDomain200.d.ts +0 -16
- package/src/orval-generated/models/sitesDomain200.js +0 -2
- package/src/orval-generated/models/sitesDomain200Detected.d.ts +0 -11
- package/src/orval-generated/models/sitesDomain200Detected.js +0 -9
- package/src/orval-generated/models/sitesDomain200Wanted.d.ts +0 -11
- package/src/orval-generated/models/sitesDomain200Wanted.js +0 -9
- package/src/orval-generated/models/sitesDomainUrl200.d.ts +0 -10
- package/src/orval-generated/models/sitesDomainUrl200.js +0 -9
- package/src/orval-generated/models/sitesDomainUrlBody.d.ts +0 -14
- package/src/orval-generated/models/sitesDomainUrlBody.js +0 -9
- package/src/orval-generated/models/sitesHasBackups200.d.ts +0 -10
- package/src/orval-generated/models/sitesHasBackups200.js +0 -9
- package/src/orval-generated/models/sitesInfo200.d.ts +0 -26
- package/src/orval-generated/models/sitesInfo200.js +0 -2
- package/src/orval-generated/models/sitesInfo200Meta.d.ts +0 -10
- package/src/orval-generated/models/sitesInfo200Meta.js +0 -9
- package/src/orval-generated/models/sitesList200.d.ts +0 -11
- package/src/orval-generated/models/sitesList200.js +0 -2
- package/src/orval-generated/models/sitesList200ItemsItem.d.ts +0 -14
- package/src/orval-generated/models/sitesList200ItemsItem.js +0 -9
- package/src/orval-generated/models/sitesPerformanceCachepurge200.d.ts +0 -10
- package/src/orval-generated/models/sitesPerformanceCachepurge200.js +0 -9
- package/src/orval-generated/models/sitesPerformanceCachepurgeBody.d.ts +0 -17
- package/src/orval-generated/models/sitesPerformanceCachepurgeBody.js +0 -9
- package/src/orval-generated/models/sitesPerformanceEnduranceCacheLevel200.d.ts +0 -11
- package/src/orval-generated/models/sitesPerformanceEnduranceCacheLevel200.js +0 -2
- package/src/orval-generated/models/sitesPerformanceEnduranceCacheLevel200Options.d.ts +0 -10
- package/src/orval-generated/models/sitesPerformanceEnduranceCacheLevel200Options.js +0 -9
- package/src/orval-generated/models/sitesPerformanceEnduranceCacheLevelBody.d.ts +0 -10
- package/src/orval-generated/models/sitesPerformanceEnduranceCacheLevelBody.js +0 -9
- package/src/orval-generated/models/sitesPerformanceEnduranceCacheLevelStatus200.d.ts +0 -10
- package/src/orval-generated/models/sitesPerformanceEnduranceCacheLevelStatus200.js +0 -9
- package/src/orval-generated/models/sitesPerformanceEndurancePageCache200.d.ts +0 -11
- package/src/orval-generated/models/sitesPerformanceEndurancePageCache200.js +0 -9
- package/src/orval-generated/models/sitesSecurityCheckCore200.d.ts +0 -11
- package/src/orval-generated/models/sitesSecurityCheckCore200.js +0 -9
- package/src/orval-generated/models/sitesSecurityHttpsEnableDisableSsl200.d.ts +0 -12
- package/src/orval-generated/models/sitesSecurityHttpsEnableDisableSsl200.js +0 -9
- package/src/orval-generated/models/sitesSecurityHttpsEnableDisableSslBody.d.ts +0 -11
- package/src/orval-generated/models/sitesSecurityHttpsEnableDisableSslBody.js +0 -9
- package/src/orval-generated/models/sitesSecurityHttpsRedirectionStatus200.d.ts +0 -12
- package/src/orval-generated/models/sitesSecurityHttpsRedirectionStatus200.js +0 -9
- package/src/orval-generated/models/sitesSecurityResetCoreFiles200.d.ts +0 -11
- package/src/orval-generated/models/sitesSecurityResetCoreFiles200.js +0 -9
- package/src/orval-generated/models/sitesSecuritySitelock200.d.ts +0 -14
- package/src/orval-generated/models/sitesSecuritySitelock200.js +0 -9
- package/src/orval-generated/models/sitesSecuritySslAcme200.d.ts +0 -11
- package/src/orval-generated/models/sitesSecuritySslAcme200.js +0 -9
- package/src/orval-generated/models/sitesSecuritySslStatus200.d.ts +0 -11
- package/src/orval-generated/models/sitesSecuritySslStatus200.js +0 -9
- package/src/orval-generated/models/sitesSettingsAutoupdates200.d.ts +0 -12
- package/src/orval-generated/models/sitesSettingsAutoupdates200.js +0 -9
- package/src/orval-generated/models/sitesSettingsAutoupdatesCore200.d.ts +0 -10
- package/src/orval-generated/models/sitesSettingsAutoupdatesCore200.js +0 -9
- package/src/orval-generated/models/sitesSettingsAutoupdatesCoreBody.d.ts +0 -10
- package/src/orval-generated/models/sitesSettingsAutoupdatesCoreBody.js +0 -9
- package/src/orval-generated/models/sitesSettingsAutoupdatesTheme200.d.ts +0 -10
- package/src/orval-generated/models/sitesSettingsAutoupdatesTheme200.js +0 -9
- package/src/orval-generated/models/sitesSettingsAutoupdatesThemeBody.d.ts +0 -10
- package/src/orval-generated/models/sitesSettingsAutoupdatesThemeBody.js +0 -9
- package/src/orval-generated/models/sitesSettingsComingSoon200.d.ts +0 -10
- package/src/orval-generated/models/sitesSettingsComingSoon200.js +0 -9
- package/src/orval-generated/models/sitesSettingsComingSoonToggle200.d.ts +0 -10
- package/src/orval-generated/models/sitesSettingsComingSoonToggle200.js +0 -9
- package/src/orval-generated/models/sitesSettingsComingSoonToggleBody.d.ts +0 -10
- package/src/orval-generated/models/sitesSettingsComingSoonToggleBody.js +0 -9
- package/src/orval-generated/models/sitesSettingsDebug200.d.ts +0 -10
- package/src/orval-generated/models/sitesSettingsDebug200.js +0 -9
- package/src/orval-generated/models/sitesSettingsDebugToggle200.d.ts +0 -10
- package/src/orval-generated/models/sitesSettingsDebugToggle200.js +0 -9
- package/src/orval-generated/models/sitesSettingsDebugToggleBody.d.ts +0 -10
- package/src/orval-generated/models/sitesSettingsDebugToggleBody.js +0 -9
- package/src/orval-generated/models/sitesSettingsPhpVersionUpdate200.d.ts +0 -10
- package/src/orval-generated/models/sitesSettingsPhpVersionUpdate200.js +0 -9
- package/src/orval-generated/models/sitesSettingsPhpVersionUpdateBody.d.ts +0 -12
- package/src/orval-generated/models/sitesSettingsPhpVersionUpdateBody.js +0 -9
- package/src/orval-generated/models/sitesSettingsPhpVersions200.d.ts +0 -10
- package/src/orval-generated/models/sitesSettingsPhpVersions200.js +0 -9
- package/src/orval-generated/models/sitesSso200.d.ts +0 -10
- package/src/orval-generated/models/sitesSso200.js +0 -9
- package/src/orval-generated/models/sitesSsoBounceName.d.ts +0 -14
- package/src/orval-generated/models/sitesSsoBounceName.js +0 -17
- package/src/orval-generated/models/sitesSsoParams.d.ts +0 -13
- package/src/orval-generated/models/sitesSsoParams.js +0 -2
- package/src/orval-generated/models/sitesVersion200.d.ts +0 -12
- package/src/orval-generated/models/sitesVersion200.js +0 -9
- package/src/orval-generated/models/sshKey200.d.ts +0 -11
- package/src/orval-generated/models/sshKey200.js +0 -9
- package/src/orval-generated/models/sshKeyBody.d.ts +0 -12
- package/src/orval-generated/models/sshKeyBody.js +0 -9
- package/src/orval-generated/models/sshKeyFetch200.d.ts +0 -12
- package/src/orval-generated/models/sshKeyFetch200.js +0 -9
- package/src/orval-generated/models/sshKeyFetchParams.d.ts +0 -12
- package/src/orval-generated/models/sshKeyFetchParams.js +0 -2
- package/src/orval-generated/models/sshKeyFetchPrivate.d.ts +0 -12
- package/src/orval-generated/models/sshKeyFetchPrivate.js +0 -15
- package/src/orval-generated/models/sshKeyGenerate200.d.ts +0 -12
- package/src/orval-generated/models/sshKeyGenerate200.js +0 -9
- package/src/orval-generated/models/sshKeyGenerateBody.d.ts +0 -23
- package/src/orval-generated/models/sshKeyGenerateBody.js +0 -2
- package/src/orval-generated/models/sshKeyGenerateBodyBits.d.ts +0 -16
- package/src/orval-generated/models/sshKeyGenerateBodyBits.js +0 -16
- package/src/orval-generated/models/sshKeyGenerateBodyEncType.d.ts +0 -17
- package/src/orval-generated/models/sshKeyGenerateBodyEncType.js +0 -17
- package/src/orval-generated/models/sshKeyImport200.d.ts +0 -10
- package/src/orval-generated/models/sshKeyImport200.js +0 -9
- package/src/orval-generated/models/sshKeyImportBody.d.ts +0 -19
- package/src/orval-generated/models/sshKeyImportBody.js +0 -9
- package/src/orval-generated/models/sshKeyList200.d.ts +0 -11
- package/src/orval-generated/models/sshKeyList200.js +0 -2
- package/src/orval-generated/models/sshKeyList200KeysItem.d.ts +0 -13
- package/src/orval-generated/models/sshKeyList200KeysItem.js +0 -9
- package/src/orval-generated/models/sshKeyListV2200.d.ts +0 -11
- package/src/orval-generated/models/sshKeyListV2200.js +0 -2
- package/src/orval-generated/models/sshKeyListV2200RowsItem.d.ts +0 -13
- package/src/orval-generated/models/sshKeyListV2200RowsItem.js +0 -9
- package/src/orval-generated/models/sso200.d.ts +0 -10
- package/src/orval-generated/models/sso200.js +0 -9
- package/src/orval-generated/models/ssoApp.d.ts +0 -28
- package/src/orval-generated/models/ssoApp.js +0 -31
- package/src/orval-generated/models/ssoParams.d.ts +0 -11
- package/src/orval-generated/models/ssoParams.js +0 -2
package/src/index.d.ts
CHANGED
|
@@ -1 +1,2919 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v6.12.1 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Hosting UAPI
|
|
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.399.0
|
|
7
|
+
*/
|
|
8
|
+
import axios from 'axios';
|
|
9
|
+
import type { AxiosRequestConfig, AxiosResponse, AxiosError } from 'axios';
|
|
10
|
+
import type { UseQueryOptions, UseMutationOptions, UseQueryResult, QueryKey } from '@tanstack/react-query';
|
|
11
|
+
export declare type SshKeyListV2200RowsItem = {
|
|
12
|
+
name?: string;
|
|
13
|
+
type?: string;
|
|
14
|
+
mtime?: string;
|
|
15
|
+
key?: string;
|
|
16
|
+
};
|
|
17
|
+
export declare type SshKeyListV2200 = {
|
|
18
|
+
rows?: SshKeyListV2200RowsItem[];
|
|
19
|
+
};
|
|
20
|
+
export declare type HostingSitesV2200ItemsItem = {
|
|
21
|
+
id?: string;
|
|
22
|
+
name?: string;
|
|
23
|
+
url?: string;
|
|
24
|
+
docroot?: string;
|
|
25
|
+
status?: string;
|
|
26
|
+
pending_url?: string;
|
|
27
|
+
};
|
|
28
|
+
export declare type HostingSitesV2200 = {
|
|
29
|
+
total?: number;
|
|
30
|
+
page?: number;
|
|
31
|
+
limit?: number;
|
|
32
|
+
/** Maximum number of sites the customer can have. Null means 'unlimited'. */
|
|
33
|
+
max_sites?: number | null;
|
|
34
|
+
/** Current number of sites in use by the customer. its normal for this value to be different than the total number of sites in the list. */
|
|
35
|
+
used_sites?: number;
|
|
36
|
+
/** Remaining number of sites the customer can create. Max sites - used sites. Null means 'unlimited'. */
|
|
37
|
+
available_sites?: number | null;
|
|
38
|
+
items?: HostingSitesV2200ItemsItem[];
|
|
39
|
+
};
|
|
40
|
+
export declare type SitesVersion200 = {
|
|
41
|
+
current?: string;
|
|
42
|
+
latest?: string;
|
|
43
|
+
update?: boolean;
|
|
44
|
+
};
|
|
45
|
+
export declare type SiteUsers200UsersItemMeta = {
|
|
46
|
+
maestro_web_pro?: string;
|
|
47
|
+
maestro_wpp_identifier?: string;
|
|
48
|
+
};
|
|
49
|
+
export declare type SiteUsers200UsersItem = {
|
|
50
|
+
display_name?: string;
|
|
51
|
+
id: number;
|
|
52
|
+
meta?: SiteUsers200UsersItemMeta;
|
|
53
|
+
post_count?: number;
|
|
54
|
+
role: string;
|
|
55
|
+
user_email: string;
|
|
56
|
+
user_id: number;
|
|
57
|
+
user_login: string;
|
|
58
|
+
user_nicename: string;
|
|
59
|
+
};
|
|
60
|
+
export declare type SiteUsers200 = {
|
|
61
|
+
users: SiteUsers200UsersItem[];
|
|
62
|
+
};
|
|
63
|
+
export declare type SitesSso200 = {
|
|
64
|
+
sso?: string;
|
|
65
|
+
};
|
|
66
|
+
export declare type SitesSsoBounceName = typeof SitesSsoBounceName[keyof typeof SitesSsoBounceName];
|
|
67
|
+
export declare const SitesSsoBounceName: {
|
|
68
|
+
readonly jetpackbackup: "jetpackbackup";
|
|
69
|
+
readonly jetpackdashboard: "jetpackdashboard";
|
|
70
|
+
readonly staging: "staging";
|
|
71
|
+
readonly updatecore: "updatecore";
|
|
72
|
+
};
|
|
73
|
+
export declare type SitesSsoParams = {
|
|
74
|
+
bounce_name?: SitesSsoBounceName;
|
|
75
|
+
user_email?: string;
|
|
76
|
+
user_id?: string;
|
|
77
|
+
};
|
|
78
|
+
export declare type SitesSettingsPhpVersions200 = {
|
|
79
|
+
versions?: string[];
|
|
80
|
+
};
|
|
81
|
+
export declare type SitesSettingsPhpVersionUpdate200 = {
|
|
82
|
+
success?: number;
|
|
83
|
+
};
|
|
84
|
+
export declare type SitesSettingsPhpVersionUpdateBody = {
|
|
85
|
+
/** The version should match the pattern i.e. PHP 8.0 */
|
|
86
|
+
php_version: string;
|
|
87
|
+
force?: boolean;
|
|
88
|
+
};
|
|
89
|
+
export declare type SitesSettingsDebugToggle200 = {
|
|
90
|
+
success?: number;
|
|
91
|
+
};
|
|
92
|
+
export declare type SitesSettingsDebugToggleBody = {
|
|
93
|
+
enable?: boolean;
|
|
94
|
+
};
|
|
95
|
+
export declare type SitesSettingsDebug200 = {
|
|
96
|
+
status?: number;
|
|
97
|
+
};
|
|
98
|
+
export declare type SitesSettingsComingSoonToggle200 = {
|
|
99
|
+
success?: number;
|
|
100
|
+
};
|
|
101
|
+
export declare type SitesSettingsComingSoonToggleBody = {
|
|
102
|
+
enable?: boolean;
|
|
103
|
+
};
|
|
104
|
+
export declare type SitesSettingsComingSoon200 = {
|
|
105
|
+
enable?: boolean;
|
|
106
|
+
};
|
|
107
|
+
export declare type SitesSettingsAutoupdatesTheme200 = {
|
|
108
|
+
success?: number;
|
|
109
|
+
};
|
|
110
|
+
export declare type SitesSettingsAutoupdatesThemeBody = {
|
|
111
|
+
enable?: boolean;
|
|
112
|
+
};
|
|
113
|
+
export declare type SitesSettingsAutoupdatesCore200 = {
|
|
114
|
+
success?: number;
|
|
115
|
+
};
|
|
116
|
+
export declare type SitesSettingsAutoupdatesCoreBody = {
|
|
117
|
+
enable?: boolean;
|
|
118
|
+
};
|
|
119
|
+
export declare type SitesSettingsAutoupdates200 = {
|
|
120
|
+
auto_update_plugin?: boolean;
|
|
121
|
+
auto_update_theme?: boolean;
|
|
122
|
+
auto_update_core?: boolean;
|
|
123
|
+
};
|
|
124
|
+
export declare type SiteSettingsAutoupdatePlugins200 = {
|
|
125
|
+
status?: number;
|
|
126
|
+
};
|
|
127
|
+
export declare type SitesSecuritySslStatus200 = {
|
|
128
|
+
status?: string;
|
|
129
|
+
message?: string;
|
|
130
|
+
};
|
|
131
|
+
export declare type SitesSecuritySslAcme200 = {
|
|
132
|
+
success?: number;
|
|
133
|
+
message?: string;
|
|
134
|
+
};
|
|
135
|
+
export declare type SitesSecuritySitelock200 = {
|
|
136
|
+
addon_id?: number;
|
|
137
|
+
plan?: string;
|
|
138
|
+
success?: number;
|
|
139
|
+
subscription_id?: string;
|
|
140
|
+
upgrade_levels?: string[];
|
|
141
|
+
};
|
|
142
|
+
export declare type SitesSecurityHttpsEnableDisableSsl200 = {
|
|
143
|
+
success?: number;
|
|
144
|
+
redirection_status?: number;
|
|
145
|
+
message?: string;
|
|
146
|
+
};
|
|
147
|
+
export declare type SitesSecurityHttpsEnableDisableSslBody = {
|
|
148
|
+
/** enable or disable */
|
|
149
|
+
forced_redirection?: string;
|
|
150
|
+
};
|
|
151
|
+
export declare type SitesSecurityHttpsRedirectionStatus200 = {
|
|
152
|
+
success?: number;
|
|
153
|
+
redirection_status?: number;
|
|
154
|
+
message?: string;
|
|
155
|
+
};
|
|
156
|
+
export declare type SitesSecurityResetCoreFiles200 = {
|
|
157
|
+
results?: string;
|
|
158
|
+
success?: number;
|
|
159
|
+
};
|
|
160
|
+
export declare type SitesSecurityCheckCore200 = {
|
|
161
|
+
results?: string;
|
|
162
|
+
success?: number;
|
|
163
|
+
};
|
|
164
|
+
export declare type ResetSite200 = {
|
|
165
|
+
site_id?: string;
|
|
166
|
+
status?: string;
|
|
167
|
+
success: boolean;
|
|
168
|
+
};
|
|
169
|
+
export declare type SitePluginsUpdate200 = {
|
|
170
|
+
success: boolean;
|
|
171
|
+
};
|
|
172
|
+
export declare type SitePluginsUpdateBody = {
|
|
173
|
+
/** The plugin id */
|
|
174
|
+
id: string;
|
|
175
|
+
};
|
|
176
|
+
export declare type SitePluginsToggle200 = {
|
|
177
|
+
success: boolean;
|
|
178
|
+
};
|
|
179
|
+
export declare type SitePluginsToggleBody = {
|
|
180
|
+
/** The plugin id */
|
|
181
|
+
id: string;
|
|
182
|
+
/** activate or deactivate the plugin */
|
|
183
|
+
activate: boolean;
|
|
184
|
+
};
|
|
185
|
+
export declare type SitePluginsAutoupdate200 = {
|
|
186
|
+
success: boolean;
|
|
187
|
+
};
|
|
188
|
+
export declare type SitePluginsAutoupdateBody = {
|
|
189
|
+
enable: boolean;
|
|
190
|
+
};
|
|
191
|
+
export declare type SitePlugins200PluginsItem = {
|
|
192
|
+
id: string;
|
|
193
|
+
status: string;
|
|
194
|
+
title: string;
|
|
195
|
+
update: boolean;
|
|
196
|
+
};
|
|
197
|
+
export declare type SitePlugins200 = {
|
|
198
|
+
subtype: string;
|
|
199
|
+
auto_update: boolean;
|
|
200
|
+
plugins: SitePlugins200PluginsItem[];
|
|
201
|
+
};
|
|
202
|
+
export declare type SitesPerformanceEndurancePageCache200 = {
|
|
203
|
+
result?: string;
|
|
204
|
+
status?: string;
|
|
205
|
+
};
|
|
206
|
+
export declare type SitesPerformanceEnduranceCacheLevel200Options = {
|
|
207
|
+
[key: string]: any;
|
|
208
|
+
};
|
|
209
|
+
export declare type SitesPerformanceEnduranceCacheLevel200 = {
|
|
210
|
+
options?: SitesPerformanceEnduranceCacheLevel200Options;
|
|
211
|
+
};
|
|
212
|
+
export declare type SitesPerformanceEnduranceCacheLevelBody = {
|
|
213
|
+
endurance_cache_level?: number;
|
|
214
|
+
};
|
|
215
|
+
export declare type SitesPerformanceEnduranceCacheLevelStatus200 = {
|
|
216
|
+
endurance_cache_level?: number;
|
|
217
|
+
};
|
|
218
|
+
export declare type SitesPerformanceCachepurge200 = {
|
|
219
|
+
success?: boolean;
|
|
220
|
+
};
|
|
221
|
+
export declare type SitesPerformanceCachepurgeBody = {
|
|
222
|
+
/** */
|
|
223
|
+
assets?: string[];
|
|
224
|
+
/** */
|
|
225
|
+
hosts: string[];
|
|
226
|
+
/** Pass either 0, basic, premium, india or hostgator */
|
|
227
|
+
cf?: string;
|
|
228
|
+
/** Pass either 0 or 1 */
|
|
229
|
+
epc?: number;
|
|
230
|
+
};
|
|
231
|
+
export declare type SitesDomainUrl200 = {
|
|
232
|
+
success?: boolean;
|
|
233
|
+
};
|
|
234
|
+
export declare type SitesDomainUrlBody = {
|
|
235
|
+
force?: boolean;
|
|
236
|
+
/** Option to create the temporary domain */
|
|
237
|
+
temp_domain?: boolean;
|
|
238
|
+
/** URL of the site to be updated */
|
|
239
|
+
url?: string;
|
|
240
|
+
};
|
|
241
|
+
export declare type SitesDomain200Wanted = {
|
|
242
|
+
a?: string[];
|
|
243
|
+
ns?: string[];
|
|
244
|
+
};
|
|
245
|
+
export declare type SitesDomain200Detected = {
|
|
246
|
+
a?: string[];
|
|
247
|
+
ns?: string[];
|
|
248
|
+
};
|
|
249
|
+
export declare type SitesDomain200 = {
|
|
250
|
+
connected?: boolean;
|
|
251
|
+
a_match?: boolean;
|
|
252
|
+
nameserver_match?: boolean;
|
|
253
|
+
detected?: SitesDomain200Detected;
|
|
254
|
+
wanted?: SitesDomain200Wanted;
|
|
255
|
+
};
|
|
256
|
+
export declare type SitesDns200RecordsItem = {
|
|
257
|
+
name?: string;
|
|
258
|
+
value?: string;
|
|
259
|
+
type?: string;
|
|
260
|
+
};
|
|
261
|
+
export declare type SitesDns200 = {
|
|
262
|
+
success?: boolean;
|
|
263
|
+
source?: string;
|
|
264
|
+
records?: SitesDns200RecordsItem[];
|
|
265
|
+
};
|
|
266
|
+
export declare type SitesDnsParams = {
|
|
267
|
+
type?: string;
|
|
268
|
+
};
|
|
269
|
+
export declare type JetpackBackupStatus200 = {
|
|
270
|
+
has_active_plugin?: boolean;
|
|
271
|
+
has_active_addon?: boolean;
|
|
272
|
+
};
|
|
273
|
+
export declare type SitesBackupsDetails200Jetpack = {
|
|
274
|
+
plugin_exists?: boolean;
|
|
275
|
+
addon_exists?: boolean;
|
|
276
|
+
};
|
|
277
|
+
export declare type SitesBackupsDetails200Codeguard = {
|
|
278
|
+
addon_id?: string;
|
|
279
|
+
status?: boolean;
|
|
280
|
+
seats_available?: number;
|
|
281
|
+
seats_count?: number;
|
|
282
|
+
website_id?: string | null;
|
|
283
|
+
database_id?: string | null;
|
|
284
|
+
activated?: boolean;
|
|
285
|
+
url?: string | null;
|
|
286
|
+
};
|
|
287
|
+
export declare type SitesBackupsDetails200 = {
|
|
288
|
+
codeguard?: SitesBackupsDetails200Codeguard;
|
|
289
|
+
jetpack?: SitesBackupsDetails200Jetpack;
|
|
290
|
+
};
|
|
291
|
+
export declare type SitesHasBackups200 = {
|
|
292
|
+
has_backups?: boolean;
|
|
293
|
+
};
|
|
294
|
+
export declare type SitesBackups200 = {
|
|
295
|
+
has_backups?: boolean;
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* autoupdate type
|
|
299
|
+
*/
|
|
300
|
+
export declare type SitesAutoupdatesUpdateBodyType = typeof SitesAutoupdatesUpdateBodyType[keyof typeof SitesAutoupdatesUpdateBodyType];
|
|
301
|
+
export declare const SitesAutoupdatesUpdateBodyType: {
|
|
302
|
+
readonly core: "core";
|
|
303
|
+
readonly plugins: "plugins";
|
|
304
|
+
readonly themes: "themes";
|
|
305
|
+
};
|
|
306
|
+
export declare type SitesAutoupdatesUpdateBody = {
|
|
307
|
+
/** autoupdate type */
|
|
308
|
+
type: SitesAutoupdatesUpdateBodyType;
|
|
309
|
+
/** true to enable, false for disable */
|
|
310
|
+
enabled: boolean;
|
|
311
|
+
};
|
|
312
|
+
export declare type Site200 = {
|
|
313
|
+
success: boolean;
|
|
314
|
+
};
|
|
315
|
+
export declare type SiteUpdate400 = {
|
|
316
|
+
error?: string;
|
|
317
|
+
};
|
|
318
|
+
export declare type SiteUpdate200 = {
|
|
319
|
+
success: boolean;
|
|
320
|
+
};
|
|
321
|
+
export declare type SiteUpdateBody = {
|
|
322
|
+
/** title of the site to be updated */
|
|
323
|
+
title?: string;
|
|
324
|
+
/** domain for the site to be added */
|
|
325
|
+
domain?: string;
|
|
326
|
+
/** filesystem path that follows the domain in the url */
|
|
327
|
+
path?: string;
|
|
328
|
+
};
|
|
329
|
+
export declare type SitesInfo200Meta = {
|
|
330
|
+
pending_url?: string;
|
|
331
|
+
} | null;
|
|
332
|
+
export declare type SitesInfo200 = {
|
|
333
|
+
id: string;
|
|
334
|
+
docroot: string;
|
|
335
|
+
uuid: string;
|
|
336
|
+
date_added: string;
|
|
337
|
+
date_modified: string;
|
|
338
|
+
name: string;
|
|
339
|
+
type: string;
|
|
340
|
+
subtype: string;
|
|
341
|
+
status: string;
|
|
342
|
+
url: string;
|
|
343
|
+
version: string;
|
|
344
|
+
versionLatest?: string;
|
|
345
|
+
php_version?: string;
|
|
346
|
+
updatable?: boolean;
|
|
347
|
+
pending_url?: string;
|
|
348
|
+
meta?: SitesInfo200Meta;
|
|
349
|
+
};
|
|
350
|
+
export declare type SitesList200ItemsItem = {
|
|
351
|
+
id?: string;
|
|
352
|
+
name?: string;
|
|
353
|
+
url?: string;
|
|
354
|
+
docroot?: string;
|
|
355
|
+
status?: string;
|
|
356
|
+
};
|
|
357
|
+
export declare type SitesList200 = {
|
|
358
|
+
items?: SitesList200ItemsItem[];
|
|
359
|
+
};
|
|
360
|
+
export declare type Sso200 = {
|
|
361
|
+
url: string;
|
|
362
|
+
};
|
|
363
|
+
export declare type SsoApp = typeof SsoApp[keyof typeof SsoApp];
|
|
364
|
+
export declare const SsoApp: {
|
|
365
|
+
readonly phpmyadmin: "phpmyadmin";
|
|
366
|
+
readonly filemanager: "filemanager";
|
|
367
|
+
readonly cronjobs: "cronjobs";
|
|
368
|
+
readonly accesslogs: "accesslogs";
|
|
369
|
+
readonly errorlogs: "errorlogs";
|
|
370
|
+
readonly domainredirects: "domainredirects";
|
|
371
|
+
readonly sshkeys: "sshkeys";
|
|
372
|
+
readonly ftp: "ftp";
|
|
373
|
+
readonly sslsigningrequests: "sslsigningrequests";
|
|
374
|
+
readonly ssluploadcert: "ssluploadcert";
|
|
375
|
+
readonly sslviewlogs: "sslviewlogs";
|
|
376
|
+
readonly emailaccounts: "emailaccounts";
|
|
377
|
+
readonly emailforwarders: "emailforwarders";
|
|
378
|
+
readonly emailfilters: "emailfilters";
|
|
379
|
+
readonly emailglobalfilters: "emailglobalfilters";
|
|
380
|
+
readonly emailspamfilters: "emailspamfilters";
|
|
381
|
+
readonly emailautoresponders: "emailautoresponders";
|
|
382
|
+
readonly emailrouting: "emailrouting";
|
|
383
|
+
};
|
|
384
|
+
export declare type SsoParams = {
|
|
385
|
+
app?: SsoApp;
|
|
386
|
+
};
|
|
387
|
+
export declare type SshKeyGenerate200 = {
|
|
388
|
+
key_name?: string;
|
|
389
|
+
private_key_path?: string;
|
|
390
|
+
public_key_path?: string;
|
|
391
|
+
};
|
|
392
|
+
/**
|
|
393
|
+
* The SSH key's encryption method for authentication (rsa or dsa). Defaults to rsa.
|
|
394
|
+
*/
|
|
395
|
+
export declare type SshKeyGenerateBodyEncType = typeof SshKeyGenerateBodyEncType[keyof typeof SshKeyGenerateBodyEncType];
|
|
396
|
+
export declare const SshKeyGenerateBodyEncType: {
|
|
397
|
+
readonly rsa: "rsa";
|
|
398
|
+
readonly dsa: "dsa";
|
|
399
|
+
readonly ed25519: "ed25519";
|
|
400
|
+
readonly ecdsa: "ecdsa";
|
|
401
|
+
};
|
|
402
|
+
/**
|
|
403
|
+
* A positive integer of 1024 or more. Defaults to 2048 bits.
|
|
404
|
+
*/
|
|
405
|
+
export declare type SshKeyGenerateBodyBits = typeof SshKeyGenerateBodyBits[keyof typeof SshKeyGenerateBodyBits];
|
|
406
|
+
export declare const SshKeyGenerateBodyBits: {
|
|
407
|
+
readonly NUMBER_1024: 1024;
|
|
408
|
+
readonly NUMBER_2048: 2048;
|
|
409
|
+
readonly NUMBER_4096: 4096;
|
|
410
|
+
};
|
|
411
|
+
export declare type SshKeyGenerateBody = {
|
|
412
|
+
/** A positive integer of 1024 or more. Defaults to 2048 bits. */
|
|
413
|
+
bits?: SshKeyGenerateBodyBits;
|
|
414
|
+
/** The SSH key's encryption method for authentication (rsa or dsa). Defaults to rsa. */
|
|
415
|
+
enc_type?: SshKeyGenerateBodyEncType;
|
|
416
|
+
/** The SSH key's filename */
|
|
417
|
+
name: string;
|
|
418
|
+
/** A note to log alongside the secure_action_log entry. */
|
|
419
|
+
note?: string;
|
|
420
|
+
/** The SSH key's password. Must be four or more secure characters. */
|
|
421
|
+
pass?: string;
|
|
422
|
+
/** The entity that initiated the GAP call */
|
|
423
|
+
source?: string;
|
|
424
|
+
};
|
|
425
|
+
export declare type SshKey200 = {
|
|
426
|
+
deleted?: number;
|
|
427
|
+
key_name?: string;
|
|
428
|
+
};
|
|
429
|
+
export declare type SshKeyBody = {
|
|
430
|
+
name: string;
|
|
431
|
+
note?: string;
|
|
432
|
+
source?: string;
|
|
433
|
+
};
|
|
434
|
+
export declare type SshKeyList200KeysItem = {
|
|
435
|
+
file?: string;
|
|
436
|
+
haspub?: number;
|
|
437
|
+
key?: string;
|
|
438
|
+
name?: string;
|
|
439
|
+
};
|
|
440
|
+
export declare type SshKeyList200 = {
|
|
441
|
+
keys?: SshKeyList200KeysItem[];
|
|
442
|
+
};
|
|
443
|
+
export declare type SshKeyImport200 = {
|
|
444
|
+
key_name?: string;
|
|
445
|
+
};
|
|
446
|
+
export declare type SshKeyImportBody = {
|
|
447
|
+
/** A Valid SSH key */
|
|
448
|
+
key: string;
|
|
449
|
+
/** The SSH key's filename */
|
|
450
|
+
name: string;
|
|
451
|
+
/** A note to log alongside the secure_action_log entry. */
|
|
452
|
+
note?: string;
|
|
453
|
+
/** The SSH key's password. Must be four or more secure characters. */
|
|
454
|
+
pass?: string;
|
|
455
|
+
/** The entity that initiated the GAP call */
|
|
456
|
+
source?: string;
|
|
457
|
+
};
|
|
458
|
+
export declare type SshKeyFetch200 = {
|
|
459
|
+
key_name?: string;
|
|
460
|
+
key?: string;
|
|
461
|
+
type?: string;
|
|
462
|
+
};
|
|
463
|
+
export declare type SshKeyFetchPrivate = typeof SshKeyFetchPrivate[keyof typeof SshKeyFetchPrivate];
|
|
464
|
+
export declare const SshKeyFetchPrivate: {
|
|
465
|
+
readonly NUMBER_0: "0";
|
|
466
|
+
readonly NUMBER_1: "1";
|
|
467
|
+
};
|
|
468
|
+
export declare type SshKeyFetchParams = {
|
|
469
|
+
name: string;
|
|
470
|
+
private?: SshKeyFetchPrivate;
|
|
471
|
+
};
|
|
472
|
+
export declare type HostingSshInfo200 = {
|
|
473
|
+
status?: string;
|
|
474
|
+
success?: boolean;
|
|
475
|
+
};
|
|
476
|
+
export declare type HostingSiteAdd200 = {
|
|
477
|
+
id?: number;
|
|
478
|
+
status?: string;
|
|
479
|
+
success: boolean;
|
|
480
|
+
};
|
|
481
|
+
export declare type HostingSiteAddBody = {
|
|
482
|
+
/** domain for the site to be added */
|
|
483
|
+
domain?: string;
|
|
484
|
+
/** Installation Path */
|
|
485
|
+
path?: string;
|
|
486
|
+
/** Site Subtype */
|
|
487
|
+
subtype: string;
|
|
488
|
+
/** title of the site to be added */
|
|
489
|
+
title: string;
|
|
490
|
+
};
|
|
491
|
+
export declare type HostingSites200RowsItemMeta = {
|
|
492
|
+
pending_url?: string;
|
|
493
|
+
} | null;
|
|
494
|
+
export declare type HostingSites200RowsItem = {
|
|
495
|
+
id?: string;
|
|
496
|
+
name?: string;
|
|
497
|
+
url?: string;
|
|
498
|
+
docroot?: string;
|
|
499
|
+
status?: string;
|
|
500
|
+
pending_url?: string;
|
|
501
|
+
meta?: HostingSites200RowsItemMeta;
|
|
502
|
+
};
|
|
503
|
+
export declare type HostingSites200 = {
|
|
504
|
+
n_rows?: number;
|
|
505
|
+
n_pages?: number;
|
|
506
|
+
limit?: number;
|
|
507
|
+
/** Maximum number of sites the customer can have. Null means 'unlimited'. */
|
|
508
|
+
max_sites?: number | null;
|
|
509
|
+
/** Current number of sites in use by the customer. its normal for this value to be different than the total number of sites in the list. */
|
|
510
|
+
used_sites?: number;
|
|
511
|
+
/** Remaining number of sites the customer can create. Max sites - used sites. Value will be always be 1 if the customer has unlimited sites */
|
|
512
|
+
available_sites?: number;
|
|
513
|
+
rows?: HostingSites200RowsItem[];
|
|
514
|
+
};
|
|
515
|
+
export declare type HostingShellInfo200 = {
|
|
516
|
+
enabled?: boolean;
|
|
517
|
+
};
|
|
518
|
+
export declare type HostingShellToggle200 = {
|
|
519
|
+
enabled?: boolean;
|
|
520
|
+
};
|
|
521
|
+
export declare type HostingShellToggleBody = {
|
|
522
|
+
/** boolean flag to enable or disable hosting shell */
|
|
523
|
+
enabled: boolean;
|
|
524
|
+
};
|
|
525
|
+
export declare type HostingNameservers200 = {
|
|
526
|
+
nameservers: string[];
|
|
527
|
+
};
|
|
528
|
+
export declare type HostingMigrationSiteScanStatus200 = {
|
|
529
|
+
transferable?: boolean;
|
|
530
|
+
callback_url?: string;
|
|
531
|
+
};
|
|
532
|
+
export declare type HostingMigrationSiteScanStatusParams = {
|
|
533
|
+
/**
|
|
534
|
+
* valid domain, URI format is preferred
|
|
535
|
+
*/
|
|
536
|
+
prospect_url: string;
|
|
537
|
+
};
|
|
538
|
+
export declare type HostingMigrationInfo200 = {
|
|
539
|
+
migration_id?: string;
|
|
540
|
+
domain?: string;
|
|
541
|
+
site_url?: string;
|
|
542
|
+
hostname?: string;
|
|
543
|
+
feasible?: string;
|
|
544
|
+
source_type?: string;
|
|
545
|
+
product_type?: string;
|
|
546
|
+
incoming_domain?: string;
|
|
547
|
+
};
|
|
548
|
+
export declare type HostingMigrationInfoParams = {
|
|
549
|
+
migration_id: string;
|
|
550
|
+
};
|
|
551
|
+
export declare type HostingMigrationsEvent200 = {
|
|
552
|
+
success?: boolean;
|
|
553
|
+
};
|
|
554
|
+
export declare type HostingMigrationsEventBodyEventName = typeof HostingMigrationsEventBodyEventName[keyof typeof HostingMigrationsEventBodyEventName];
|
|
555
|
+
export declare const HostingMigrationsEventBodyEventName: {
|
|
556
|
+
readonly inReview: "inReview";
|
|
557
|
+
readonly approved: "approved";
|
|
558
|
+
readonly disapproved: "disapproved";
|
|
559
|
+
readonly propagationComplete: "propagationComplete";
|
|
560
|
+
readonly propagationTimeout: "propagationTimeout";
|
|
561
|
+
readonly transferComplete: "transferComplete";
|
|
562
|
+
readonly failedCreate: "failedCreate";
|
|
563
|
+
};
|
|
564
|
+
export declare type HostingMigrationsEventBody = {
|
|
565
|
+
/** The migration id that corresponds to CWM */
|
|
566
|
+
migration_id: string;
|
|
567
|
+
event_name: HostingMigrationsEventBodyEventName;
|
|
568
|
+
};
|
|
569
|
+
export declare type HostingMigrations200 = {
|
|
570
|
+
success?: boolean;
|
|
571
|
+
};
|
|
572
|
+
export declare type HostingMigrationsBody = {
|
|
573
|
+
/** The migration id that corresponds to CWM */
|
|
574
|
+
migration_id: string;
|
|
575
|
+
};
|
|
576
|
+
export declare type HostingMigrationStatus200RowsItem = {
|
|
577
|
+
id?: string;
|
|
578
|
+
type?: string;
|
|
579
|
+
subtype?: string;
|
|
580
|
+
status?: string;
|
|
581
|
+
};
|
|
582
|
+
export declare type HostingMigrationStatus200 = {
|
|
583
|
+
rows?: HostingMigrationStatus200RowsItem[];
|
|
584
|
+
};
|
|
585
|
+
export declare type HostingInfoDiskUsage200 = {
|
|
586
|
+
diskused?: string;
|
|
587
|
+
disklimit?: string;
|
|
588
|
+
};
|
|
589
|
+
export declare type HostingInfo200 = {
|
|
590
|
+
ip?: string;
|
|
591
|
+
};
|
|
592
|
+
export declare type HostingFtp200 = {
|
|
593
|
+
status?: number;
|
|
594
|
+
/** Username */
|
|
595
|
+
user?: string;
|
|
596
|
+
};
|
|
597
|
+
export declare type HostingFtpBody = {
|
|
598
|
+
/** Username for FTP account to delete. */
|
|
599
|
+
user: string;
|
|
600
|
+
/** Tear down FTP account home directory. Defaults to false (i.e., do not destroy). WARNING: There are many cases where destroying the ftp directory would be undesirable. */
|
|
601
|
+
destroy?: boolean;
|
|
602
|
+
/** Optional: A note to log alongside the secure_action_log entry. */
|
|
603
|
+
note?: string;
|
|
604
|
+
/** Optional: The entity that initiated the GAP call, eg. i_cluster, admin_user, script, cron, addon_$type($id) */
|
|
605
|
+
source?: string;
|
|
606
|
+
};
|
|
607
|
+
export declare type HostingFtpAdd200 = {
|
|
608
|
+
user?: string;
|
|
609
|
+
pass?: string;
|
|
610
|
+
};
|
|
611
|
+
export declare type HostingFtpAddBody = {
|
|
612
|
+
/** Optional username. If not included then type is required and will generate a random username. Good for temp ftp user. Do not append domain. */
|
|
613
|
+
user: string;
|
|
614
|
+
/** Optional password. One will be generated if not included */
|
|
615
|
+
pass?: string;
|
|
616
|
+
/** Optional domain. If provided, returns the username as $user@$domain instead of just $user. Either way, FTP logins must still be fully qualified as $user@some-domain-on-account. */
|
|
617
|
+
domain?: string;
|
|
618
|
+
/** Path to FTP folder. Default is /. (will be relative from homedir) */
|
|
619
|
+
folder?: string;
|
|
620
|
+
/** Text to prepended in random username generation. */
|
|
621
|
+
type?: string;
|
|
622
|
+
/** Optional: A note to log alongside the secure_action_log entry. */
|
|
623
|
+
note?: string;
|
|
624
|
+
/** Optional: The entity that initiated the GAP call, eg. i_cluster, admin_user, script, cron, addon_$type($id) */
|
|
625
|
+
source?: string;
|
|
626
|
+
user_type_set?: string;
|
|
627
|
+
};
|
|
628
|
+
export declare type HostingFtpList200SpecialFtpAccountsItem = {
|
|
629
|
+
user?: string;
|
|
630
|
+
homedir?: string;
|
|
631
|
+
type?: string;
|
|
632
|
+
};
|
|
633
|
+
export declare type HostingFtpList200FtpAccountsItem = {
|
|
634
|
+
user?: string;
|
|
635
|
+
homedir?: string;
|
|
636
|
+
type?: string;
|
|
637
|
+
};
|
|
638
|
+
export declare type HostingFtpList200 = {
|
|
639
|
+
ftp_accounts?: HostingFtpList200FtpAccountsItem[];
|
|
640
|
+
special_ftp_accounts?: HostingFtpList200SpecialFtpAccountsItem[];
|
|
641
|
+
};
|
|
642
|
+
export declare type Domains200DomainsItem = {
|
|
643
|
+
docroot: string;
|
|
644
|
+
domain: string;
|
|
645
|
+
type: string;
|
|
646
|
+
id: number;
|
|
647
|
+
};
|
|
648
|
+
export declare type Domains200 = {
|
|
649
|
+
domains: Domains200DomainsItem[];
|
|
650
|
+
};
|
|
651
|
+
export declare type DomainsType = typeof DomainsType[keyof typeof DomainsType];
|
|
652
|
+
export declare const DomainsType: {
|
|
653
|
+
readonly addon: "addon";
|
|
654
|
+
readonly main: "main";
|
|
655
|
+
readonly parked: "parked";
|
|
656
|
+
readonly sub: "sub";
|
|
657
|
+
readonly unassigned: "unassigned";
|
|
658
|
+
};
|
|
659
|
+
export declare type DomainsParams = {
|
|
660
|
+
type?: DomainsType;
|
|
661
|
+
};
|
|
662
|
+
export declare type AddonCloudflare200 = {
|
|
663
|
+
status?: string;
|
|
664
|
+
addon_id?: number;
|
|
665
|
+
};
|
|
666
|
+
export declare type AddonCloudflareBody = {
|
|
667
|
+
/** The domain. */
|
|
668
|
+
domain: string;
|
|
669
|
+
};
|
|
670
|
+
export declare type HostingCapabilities200 = {
|
|
671
|
+
server_controls?: boolean;
|
|
672
|
+
sites?: boolean;
|
|
673
|
+
cpanel?: boolean;
|
|
674
|
+
whm?: boolean;
|
|
675
|
+
advanced_hosting?: boolean;
|
|
676
|
+
};
|
|
677
|
+
export declare type HostingAdvancedSystemConsole200 = {
|
|
678
|
+
url?: string;
|
|
679
|
+
};
|
|
680
|
+
export declare type HostingAdvancedSsoWhm200 = {
|
|
681
|
+
url?: string;
|
|
682
|
+
};
|
|
683
|
+
export declare type HostingAdvancedPassword200 = {
|
|
684
|
+
success?: boolean;
|
|
685
|
+
};
|
|
686
|
+
export declare type HostingAdvancedPasswordBody = {
|
|
687
|
+
/** The username to be updated */
|
|
688
|
+
user?: string;
|
|
689
|
+
/** The password to be updated to */
|
|
690
|
+
password: string;
|
|
691
|
+
};
|
|
692
|
+
export declare type HostingAdvancedServerStatus200Actions = {
|
|
693
|
+
[key: string]: any;
|
|
694
|
+
};
|
|
695
|
+
export declare type HostingAdvancedServerStatus200 = {
|
|
696
|
+
status?: string;
|
|
697
|
+
uptime?: string;
|
|
698
|
+
uptime_seconds?: number;
|
|
699
|
+
actions?: HostingAdvancedServerStatus200Actions;
|
|
700
|
+
};
|
|
701
|
+
export declare type HostingAdvancedServerStatusBody = {
|
|
702
|
+
/** action to be performed */
|
|
703
|
+
action?: string;
|
|
704
|
+
};
|
|
705
|
+
export declare type HostingAdvancedServer200Actions = {
|
|
706
|
+
[key: string]: any;
|
|
707
|
+
};
|
|
708
|
+
export declare type HostingAdvancedServer200 = {
|
|
709
|
+
status?: string;
|
|
710
|
+
uptime?: string;
|
|
711
|
+
uptime_seconds?: number;
|
|
712
|
+
actions?: HostingAdvancedServer200Actions;
|
|
713
|
+
};
|
|
714
|
+
export declare type HostingAdvancedCrontab200RowsItem = {
|
|
715
|
+
command?: string;
|
|
716
|
+
day?: string;
|
|
717
|
+
hour?: string;
|
|
718
|
+
key?: string;
|
|
719
|
+
line?: string;
|
|
720
|
+
minute?: string;
|
|
721
|
+
month?: string;
|
|
722
|
+
type?: string;
|
|
723
|
+
weekday?: string;
|
|
724
|
+
};
|
|
725
|
+
export declare type HostingAdvancedCrontab200 = {
|
|
726
|
+
rows?: HostingAdvancedCrontab200RowsItem[];
|
|
727
|
+
};
|
|
728
|
+
export declare type HostingAddons200RowsItem = {
|
|
729
|
+
id?: string;
|
|
730
|
+
type?: string;
|
|
731
|
+
subtype?: string;
|
|
732
|
+
status?: string;
|
|
733
|
+
status_user?: string;
|
|
734
|
+
};
|
|
735
|
+
export declare type HostingAddons200 = {
|
|
736
|
+
rows?: HostingAddons200RowsItem[];
|
|
737
|
+
};
|
|
738
|
+
export declare type HostingAddonsParams = {
|
|
739
|
+
status?: string;
|
|
740
|
+
subtype?: string;
|
|
741
|
+
type?: string;
|
|
742
|
+
};
|
|
743
|
+
export declare type HostingAccount200 = {
|
|
744
|
+
id?: string;
|
|
745
|
+
account_id?: string;
|
|
746
|
+
brand?: string;
|
|
747
|
+
platform?: string;
|
|
748
|
+
username?: string;
|
|
749
|
+
status?: string;
|
|
750
|
+
type?: string;
|
|
751
|
+
advanced?: boolean;
|
|
752
|
+
plan?: string;
|
|
753
|
+
};
|
|
754
|
+
export declare type AddonsInfo200 = {
|
|
755
|
+
id?: string;
|
|
756
|
+
};
|
|
757
|
+
export declare type AddonsCloudflare200 = {
|
|
758
|
+
status?: string;
|
|
759
|
+
};
|
|
760
|
+
export declare type AddonsSitelockSso200 = {
|
|
761
|
+
site_url?: string;
|
|
762
|
+
sitelock_id?: string;
|
|
763
|
+
url?: string;
|
|
764
|
+
};
|
|
765
|
+
export declare type CodeguardWebsiteBackupRestore200 = {
|
|
766
|
+
status?: string;
|
|
767
|
+
};
|
|
768
|
+
export declare type CodeguardWebsiteBackupRestoreBody = {
|
|
769
|
+
/** The id of the website the given database is associated with. */
|
|
770
|
+
website_id?: number;
|
|
771
|
+
/** The commit id to restore the website from. */
|
|
772
|
+
commit_id?: string;
|
|
773
|
+
};
|
|
774
|
+
export declare type CodeguardWebsiteBackupCreate200 = {
|
|
775
|
+
status?: string;
|
|
776
|
+
};
|
|
777
|
+
export declare type CodeguardWebsiteBackupCreateBody = {
|
|
778
|
+
/** The id for the website to create a backup for. This id can be obtained through a call to the website_list action. */
|
|
779
|
+
website_id?: number;
|
|
780
|
+
};
|
|
781
|
+
export declare type CodeguardWebsiteBackupList200BackupsItem = {
|
|
782
|
+
commit_id?: string;
|
|
783
|
+
event_time?: string;
|
|
784
|
+
modifications?: number;
|
|
785
|
+
new_content?: boolean;
|
|
786
|
+
};
|
|
787
|
+
export declare type CodeguardWebsiteBackupList200 = {
|
|
788
|
+
backups?: CodeguardWebsiteBackupList200BackupsItem[];
|
|
789
|
+
};
|
|
790
|
+
export declare type CodeguardWebsiteBackupListParams = {
|
|
791
|
+
website_id?: number;
|
|
792
|
+
};
|
|
793
|
+
export declare type CodeguardWebsiteList200WebsiteListItemWebsite = {
|
|
794
|
+
id?: number;
|
|
795
|
+
activated?: boolean;
|
|
796
|
+
url?: string;
|
|
797
|
+
};
|
|
798
|
+
export declare type CodeguardWebsiteList200WebsiteListItem = {
|
|
799
|
+
website?: CodeguardWebsiteList200WebsiteListItemWebsite;
|
|
800
|
+
};
|
|
801
|
+
export declare type CodeguardWebsiteList200 = {
|
|
802
|
+
website_list?: CodeguardWebsiteList200WebsiteListItem[];
|
|
803
|
+
};
|
|
804
|
+
export declare type CodeguardPlanInfo200SeatsItem = {
|
|
805
|
+
url?: string;
|
|
806
|
+
activated?: boolean;
|
|
807
|
+
website_id?: number;
|
|
808
|
+
};
|
|
809
|
+
export declare type CodeguardPlanInfo200 = {
|
|
810
|
+
size?: number;
|
|
811
|
+
size_limit?: number;
|
|
812
|
+
seat_count?: number;
|
|
813
|
+
seat_limit?: number;
|
|
814
|
+
status?: string;
|
|
815
|
+
plan_name?: string;
|
|
816
|
+
seats?: CodeguardPlanInfo200SeatsItem[];
|
|
817
|
+
};
|
|
818
|
+
export declare type CodeguardLoginLink200 = {
|
|
819
|
+
link?: string;
|
|
820
|
+
};
|
|
821
|
+
export declare type CodeguardDatabaseBackupRestore200 = {
|
|
822
|
+
status?: string;
|
|
823
|
+
};
|
|
824
|
+
export declare type CodeguardDatabaseBackupRestoreBody = {
|
|
825
|
+
/** The id for the database to create a new backup for. */
|
|
826
|
+
database_id?: number;
|
|
827
|
+
/** The id of the website the given database is associated with. */
|
|
828
|
+
website_id?: number;
|
|
829
|
+
/** The commit_id for the backup to restore */
|
|
830
|
+
commit_id?: string;
|
|
831
|
+
};
|
|
832
|
+
export declare type CodeguardDatabaseBackupCreate200 = {
|
|
833
|
+
status?: string;
|
|
834
|
+
};
|
|
835
|
+
export declare type CodeguardDatabaseBackupCreateBody = {
|
|
836
|
+
/** The id for the database to create a new backup for. */
|
|
837
|
+
database_id?: number;
|
|
838
|
+
/** The id of the website the given database is associated with. */
|
|
839
|
+
website_id?: number;
|
|
840
|
+
};
|
|
841
|
+
export declare type CodeguardDatabaseBackupList200BackupsItem = {
|
|
842
|
+
commit_id?: string;
|
|
843
|
+
event_time?: string;
|
|
844
|
+
};
|
|
845
|
+
export declare type CodeguardDatabaseBackupList200 = {
|
|
846
|
+
backups?: CodeguardDatabaseBackupList200BackupsItem[];
|
|
847
|
+
};
|
|
848
|
+
export declare type CodeguardDatabaseBackupListParams = {
|
|
849
|
+
database_id?: number;
|
|
850
|
+
website_id?: number;
|
|
851
|
+
};
|
|
852
|
+
export declare type CodeguardDatabaseList200DatabasesItemDatabaseBackup = {
|
|
853
|
+
id?: number;
|
|
854
|
+
account?: string;
|
|
855
|
+
website_id?: number;
|
|
856
|
+
commit_id?: string;
|
|
857
|
+
};
|
|
858
|
+
export declare type CodeguardDatabaseList200DatabasesItem = {
|
|
859
|
+
database_backup?: CodeguardDatabaseList200DatabasesItemDatabaseBackup;
|
|
860
|
+
};
|
|
861
|
+
export declare type CodeguardDatabaseList200 = {
|
|
862
|
+
status?: number;
|
|
863
|
+
databases?: CodeguardDatabaseList200DatabasesItem[];
|
|
864
|
+
};
|
|
865
|
+
export declare type CodeguardBackupRestore200 = {
|
|
866
|
+
website_success?: boolean;
|
|
867
|
+
database_success?: boolean;
|
|
868
|
+
};
|
|
869
|
+
export declare type CodeguardBackupRestoreBody = {
|
|
870
|
+
/** The id of the website the given database is associated with. */
|
|
871
|
+
website_id?: number;
|
|
872
|
+
/** The commit id to restore the website from. */
|
|
873
|
+
website_commit_id?: string;
|
|
874
|
+
/** The id of the database the given database is associated with. */
|
|
875
|
+
database_id?: number;
|
|
876
|
+
/** The commit id to restore the database from. */
|
|
877
|
+
database_commit_id?: string;
|
|
878
|
+
};
|
|
879
|
+
export declare type CodeguardBackupDownload200 = {
|
|
880
|
+
status?: string;
|
|
881
|
+
};
|
|
882
|
+
export declare type CodeguardBackupDownloadBody = {
|
|
883
|
+
/** The id of the website the given database is associated with. */
|
|
884
|
+
website_id?: number;
|
|
885
|
+
/** The commit id to restore the website from. */
|
|
886
|
+
website_commit_id?: string;
|
|
887
|
+
/** The commit id to restore the database from. */
|
|
888
|
+
database_commit_id?: string;
|
|
889
|
+
};
|
|
890
|
+
export declare type CodeguardBackupCreate200 = {
|
|
891
|
+
status?: string;
|
|
892
|
+
};
|
|
893
|
+
export declare type CodeguardBackupCreateBody = {
|
|
894
|
+
/** The id of the website the given database is associated with. */
|
|
895
|
+
website_id?: number;
|
|
896
|
+
/** The id of the database the given database is associated with. */
|
|
897
|
+
database_id?: number;
|
|
898
|
+
};
|
|
899
|
+
export declare type CodeguardBackupList200BackupsItemDatabaseBackupsItem = {
|
|
900
|
+
id?: number;
|
|
901
|
+
commit_id?: string;
|
|
902
|
+
event_time?: string;
|
|
903
|
+
recommended?: boolean;
|
|
904
|
+
};
|
|
905
|
+
export declare type CodeguardBackupList200BackupsItem = {
|
|
906
|
+
website_commit_id?: string;
|
|
907
|
+
event_time?: string;
|
|
908
|
+
database_backups?: CodeguardBackupList200BackupsItemDatabaseBackupsItem[];
|
|
909
|
+
};
|
|
910
|
+
export declare type CodeguardBackupList200 = {
|
|
911
|
+
backups?: CodeguardBackupList200BackupsItem[];
|
|
912
|
+
};
|
|
913
|
+
export declare type CodeguardBackupListParams = {
|
|
914
|
+
website_id: number;
|
|
915
|
+
};
|
|
916
|
+
export interface SitesAutoupdatesResponse {
|
|
917
|
+
plugins?: boolean | null;
|
|
918
|
+
core?: boolean | null;
|
|
919
|
+
themes?: boolean | null;
|
|
920
|
+
}
|
|
921
|
+
declare type AwaitedInput<T> = PromiseLike<T> | T;
|
|
922
|
+
declare type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
923
|
+
/**
|
|
924
|
+
* Returns a combined backup list with website commit ids and corresponding database commits
|
|
925
|
+
* @summary backup list
|
|
926
|
+
*/
|
|
927
|
+
export declare const codeguardBackupList: (addonId: number, params: CodeguardBackupListParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardBackupList200>>;
|
|
928
|
+
export declare const getCodeguardBackupListQueryKey: (addonId: number, params: CodeguardBackupListParams) => (string | CodeguardBackupListParams)[];
|
|
929
|
+
export declare type CodeguardBackupListQueryResult = NonNullable<Awaited<ReturnType<typeof codeguardBackupList>>>;
|
|
930
|
+
export declare type CodeguardBackupListQueryError = AxiosError<unknown>;
|
|
931
|
+
export declare const useCodeguardBackupList: <TData = AxiosResponse<CodeguardBackupList200, any>, TError = AxiosError<unknown, any>>(addonId: number, params: CodeguardBackupListParams, options?: {
|
|
932
|
+
query?: UseQueryOptions<AxiosResponse<CodeguardBackupList200, any>, TError, TData, QueryKey> | undefined;
|
|
933
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
934
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
935
|
+
queryKey: QueryKey;
|
|
936
|
+
};
|
|
937
|
+
/**
|
|
938
|
+
* Creates the website backup
|
|
939
|
+
* @summary backup create
|
|
940
|
+
*/
|
|
941
|
+
export declare const codeguardBackupCreate: (addonId: number, codeguardBackupCreateBody: CodeguardBackupCreateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardBackupCreate200>>;
|
|
942
|
+
export declare type CodeguardBackupCreateMutationResult = NonNullable<Awaited<ReturnType<typeof codeguardBackupCreate>>>;
|
|
943
|
+
export declare type CodeguardBackupCreateMutationBody = CodeguardBackupCreateBody;
|
|
944
|
+
export declare type CodeguardBackupCreateMutationError = AxiosError<unknown>;
|
|
945
|
+
export declare const useCodeguardBackupCreate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
946
|
+
mutation?: UseMutationOptions<AxiosResponse<CodeguardBackupCreate200, any>, TError, {
|
|
947
|
+
addonId: number;
|
|
948
|
+
data: CodeguardBackupCreateBody;
|
|
949
|
+
}, TContext> | undefined;
|
|
950
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
951
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<CodeguardBackupCreate200, any>, TError, {
|
|
952
|
+
addonId: number;
|
|
953
|
+
data: CodeguardBackupCreateBody;
|
|
954
|
+
}, TContext>;
|
|
955
|
+
/**
|
|
956
|
+
* Queues the backup download.
|
|
957
|
+
* @summary backup download
|
|
958
|
+
*/
|
|
959
|
+
export declare const codeguardBackupDownload: (addonId: number, codeguardBackupDownloadBody: CodeguardBackupDownloadBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardBackupDownload200>>;
|
|
960
|
+
export declare type CodeguardBackupDownloadMutationResult = NonNullable<Awaited<ReturnType<typeof codeguardBackupDownload>>>;
|
|
961
|
+
export declare type CodeguardBackupDownloadMutationBody = CodeguardBackupDownloadBody;
|
|
962
|
+
export declare type CodeguardBackupDownloadMutationError = AxiosError<unknown>;
|
|
963
|
+
export declare const useCodeguardBackupDownload: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
964
|
+
mutation?: UseMutationOptions<AxiosResponse<CodeguardBackupDownload200, any>, TError, {
|
|
965
|
+
addonId: number;
|
|
966
|
+
data: CodeguardBackupDownloadBody;
|
|
967
|
+
}, TContext> | undefined;
|
|
968
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
969
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<CodeguardBackupDownload200, any>, TError, {
|
|
970
|
+
addonId: number;
|
|
971
|
+
data: CodeguardBackupDownloadBody;
|
|
972
|
+
}, TContext>;
|
|
973
|
+
/**
|
|
974
|
+
* Restores a website and database backup
|
|
975
|
+
* @summary backups restore
|
|
976
|
+
*/
|
|
977
|
+
export declare const codeguardBackupRestore: (addonId: number, codeguardBackupRestoreBody: CodeguardBackupRestoreBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardBackupRestore200>>;
|
|
978
|
+
export declare type CodeguardBackupRestoreMutationResult = NonNullable<Awaited<ReturnType<typeof codeguardBackupRestore>>>;
|
|
979
|
+
export declare type CodeguardBackupRestoreMutationBody = CodeguardBackupRestoreBody;
|
|
980
|
+
export declare type CodeguardBackupRestoreMutationError = AxiosError<unknown>;
|
|
981
|
+
export declare const useCodeguardBackupRestore: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
982
|
+
mutation?: UseMutationOptions<AxiosResponse<CodeguardBackupRestore200, any>, TError, {
|
|
983
|
+
addonId: number;
|
|
984
|
+
data: CodeguardBackupRestoreBody;
|
|
985
|
+
}, TContext> | undefined;
|
|
986
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
987
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<CodeguardBackupRestore200, any>, TError, {
|
|
988
|
+
addonId: number;
|
|
989
|
+
data: CodeguardBackupRestoreBody;
|
|
990
|
+
}, TContext>;
|
|
991
|
+
/**
|
|
992
|
+
* Returns all database records CodeGuard maintains for this user's account.
|
|
993
|
+
* @summary database list
|
|
994
|
+
*/
|
|
995
|
+
export declare const codeguardDatabaseList: (addonId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardDatabaseList200>>;
|
|
996
|
+
export declare const getCodeguardDatabaseListQueryKey: (addonId: number) => string[];
|
|
997
|
+
export declare type CodeguardDatabaseListQueryResult = NonNullable<Awaited<ReturnType<typeof codeguardDatabaseList>>>;
|
|
998
|
+
export declare type CodeguardDatabaseListQueryError = AxiosError<unknown>;
|
|
999
|
+
export declare const useCodeguardDatabaseList: <TData = AxiosResponse<CodeguardDatabaseList200, any>, TError = AxiosError<unknown, any>>(addonId: number, options?: {
|
|
1000
|
+
query?: UseQueryOptions<AxiosResponse<CodeguardDatabaseList200, any>, TError, TData, QueryKey> | undefined;
|
|
1001
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1002
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1003
|
+
queryKey: QueryKey;
|
|
1004
|
+
};
|
|
1005
|
+
/**
|
|
1006
|
+
* Returns all database backup records CodeGuard maintains for this user's account.
|
|
1007
|
+
* @summary database backup list
|
|
1008
|
+
*/
|
|
1009
|
+
export declare const codeguardDatabaseBackupList: (addonId: number, params?: CodeguardDatabaseBackupListParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardDatabaseBackupList200>>;
|
|
1010
|
+
export declare const getCodeguardDatabaseBackupListQueryKey: (addonId: number, params?: CodeguardDatabaseBackupListParams) => (string | CodeguardDatabaseBackupListParams)[];
|
|
1011
|
+
export declare type CodeguardDatabaseBackupListQueryResult = NonNullable<Awaited<ReturnType<typeof codeguardDatabaseBackupList>>>;
|
|
1012
|
+
export declare type CodeguardDatabaseBackupListQueryError = AxiosError<unknown>;
|
|
1013
|
+
export declare const useCodeguardDatabaseBackupList: <TData = AxiosResponse<CodeguardDatabaseBackupList200, any>, TError = AxiosError<unknown, any>>(addonId: number, params?: CodeguardDatabaseBackupListParams, options?: {
|
|
1014
|
+
query?: UseQueryOptions<AxiosResponse<CodeguardDatabaseBackupList200, any>, TError, TData, QueryKey> | undefined;
|
|
1015
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1016
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1017
|
+
queryKey: QueryKey;
|
|
1018
|
+
};
|
|
1019
|
+
/**
|
|
1020
|
+
* Queue the creation of a database backup.
|
|
1021
|
+
* @summary database backup create
|
|
1022
|
+
*/
|
|
1023
|
+
export declare const codeguardDatabaseBackupCreate: (addonId: number, codeguardDatabaseBackupCreateBody: CodeguardDatabaseBackupCreateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardDatabaseBackupCreate200>>;
|
|
1024
|
+
export declare type CodeguardDatabaseBackupCreateMutationResult = NonNullable<Awaited<ReturnType<typeof codeguardDatabaseBackupCreate>>>;
|
|
1025
|
+
export declare type CodeguardDatabaseBackupCreateMutationBody = CodeguardDatabaseBackupCreateBody;
|
|
1026
|
+
export declare type CodeguardDatabaseBackupCreateMutationError = AxiosError<unknown>;
|
|
1027
|
+
export declare const useCodeguardDatabaseBackupCreate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1028
|
+
mutation?: UseMutationOptions<AxiosResponse<CodeguardDatabaseBackupCreate200, any>, TError, {
|
|
1029
|
+
addonId: number;
|
|
1030
|
+
data: CodeguardDatabaseBackupCreateBody;
|
|
1031
|
+
}, TContext> | undefined;
|
|
1032
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1033
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<CodeguardDatabaseBackupCreate200, any>, TError, {
|
|
1034
|
+
addonId: number;
|
|
1035
|
+
data: CodeguardDatabaseBackupCreateBody;
|
|
1036
|
+
}, TContext>;
|
|
1037
|
+
/**
|
|
1038
|
+
* Restores a database backup
|
|
1039
|
+
* @summary database backup restore
|
|
1040
|
+
*/
|
|
1041
|
+
export declare const codeguardDatabaseBackupRestore: (addonId: number, codeguardDatabaseBackupRestoreBody: CodeguardDatabaseBackupRestoreBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardDatabaseBackupRestore200>>;
|
|
1042
|
+
export declare type CodeguardDatabaseBackupRestoreMutationResult = NonNullable<Awaited<ReturnType<typeof codeguardDatabaseBackupRestore>>>;
|
|
1043
|
+
export declare type CodeguardDatabaseBackupRestoreMutationBody = CodeguardDatabaseBackupRestoreBody;
|
|
1044
|
+
export declare type CodeguardDatabaseBackupRestoreMutationError = AxiosError<unknown>;
|
|
1045
|
+
export declare const useCodeguardDatabaseBackupRestore: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1046
|
+
mutation?: UseMutationOptions<AxiosResponse<CodeguardDatabaseBackupRestore200, any>, TError, {
|
|
1047
|
+
addonId: number;
|
|
1048
|
+
data: CodeguardDatabaseBackupRestoreBody;
|
|
1049
|
+
}, TContext> | undefined;
|
|
1050
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1051
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<CodeguardDatabaseBackupRestore200, any>, TError, {
|
|
1052
|
+
addonId: number;
|
|
1053
|
+
data: CodeguardDatabaseBackupRestoreBody;
|
|
1054
|
+
}, TContext>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Returns an oauth login URL that can be used to access CodeGuard dashboard for a user.
|
|
1057
|
+
* @summary login link
|
|
1058
|
+
*/
|
|
1059
|
+
export declare const codeguardLoginLink: (addonId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardLoginLink200>>;
|
|
1060
|
+
export declare const getCodeguardLoginLinkQueryKey: (addonId: number) => string[];
|
|
1061
|
+
export declare type CodeguardLoginLinkQueryResult = NonNullable<Awaited<ReturnType<typeof codeguardLoginLink>>>;
|
|
1062
|
+
export declare type CodeguardLoginLinkQueryError = AxiosError<unknown>;
|
|
1063
|
+
export declare const useCodeguardLoginLink: <TData = AxiosResponse<CodeguardLoginLink200, any>, TError = AxiosError<unknown, any>>(addonId: number, options?: {
|
|
1064
|
+
query?: UseQueryOptions<AxiosResponse<CodeguardLoginLink200, any>, TError, TData, QueryKey> | undefined;
|
|
1065
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1066
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1067
|
+
queryKey: QueryKey;
|
|
1068
|
+
};
|
|
1069
|
+
/**
|
|
1070
|
+
* Returns the subscribed plan and usage info
|
|
1071
|
+
* @summary plan info
|
|
1072
|
+
*/
|
|
1073
|
+
export declare const codeguardPlanInfo: (addonId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardPlanInfo200>>;
|
|
1074
|
+
export declare const getCodeguardPlanInfoQueryKey: (addonId: number) => string[];
|
|
1075
|
+
export declare type CodeguardPlanInfoQueryResult = NonNullable<Awaited<ReturnType<typeof codeguardPlanInfo>>>;
|
|
1076
|
+
export declare type CodeguardPlanInfoQueryError = AxiosError<unknown>;
|
|
1077
|
+
export declare const useCodeguardPlanInfo: <TData = AxiosResponse<CodeguardPlanInfo200, any>, TError = AxiosError<unknown, any>>(addonId: number, options?: {
|
|
1078
|
+
query?: UseQueryOptions<AxiosResponse<CodeguardPlanInfo200, any>, TError, TData, QueryKey> | undefined;
|
|
1079
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1080
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1081
|
+
queryKey: QueryKey;
|
|
1082
|
+
};
|
|
1083
|
+
/**
|
|
1084
|
+
* Returns all website records CodeGuard maintains for this user's account.
|
|
1085
|
+
* @summary website list
|
|
1086
|
+
*/
|
|
1087
|
+
export declare const codeguardWebsiteList: (addonId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardWebsiteList200>>;
|
|
1088
|
+
export declare const getCodeguardWebsiteListQueryKey: (addonId: number) => string[];
|
|
1089
|
+
export declare type CodeguardWebsiteListQueryResult = NonNullable<Awaited<ReturnType<typeof codeguardWebsiteList>>>;
|
|
1090
|
+
export declare type CodeguardWebsiteListQueryError = AxiosError<unknown>;
|
|
1091
|
+
export declare const useCodeguardWebsiteList: <TData = AxiosResponse<CodeguardWebsiteList200, any>, TError = AxiosError<unknown, any>>(addonId: number, options?: {
|
|
1092
|
+
query?: UseQueryOptions<AxiosResponse<CodeguardWebsiteList200, any>, TError, TData, QueryKey> | undefined;
|
|
1093
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1094
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1095
|
+
queryKey: QueryKey;
|
|
1096
|
+
};
|
|
1097
|
+
/**
|
|
1098
|
+
* Returns all website backup records CodeGuard maintains for this user's account.
|
|
1099
|
+
* @summary website backup list
|
|
1100
|
+
*/
|
|
1101
|
+
export declare const codeguardWebsiteBackupList: (addonId: number, params?: CodeguardWebsiteBackupListParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardWebsiteBackupList200>>;
|
|
1102
|
+
export declare const getCodeguardWebsiteBackupListQueryKey: (addonId: number, params?: CodeguardWebsiteBackupListParams) => (string | CodeguardWebsiteBackupListParams)[];
|
|
1103
|
+
export declare type CodeguardWebsiteBackupListQueryResult = NonNullable<Awaited<ReturnType<typeof codeguardWebsiteBackupList>>>;
|
|
1104
|
+
export declare type CodeguardWebsiteBackupListQueryError = AxiosError<unknown>;
|
|
1105
|
+
export declare const useCodeguardWebsiteBackupList: <TData = AxiosResponse<CodeguardWebsiteBackupList200, any>, TError = AxiosError<unknown, any>>(addonId: number, params?: CodeguardWebsiteBackupListParams, options?: {
|
|
1106
|
+
query?: UseQueryOptions<AxiosResponse<CodeguardWebsiteBackupList200, any>, TError, TData, QueryKey> | undefined;
|
|
1107
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1108
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1109
|
+
queryKey: QueryKey;
|
|
1110
|
+
};
|
|
1111
|
+
/**
|
|
1112
|
+
* Initiate the creation of a new backup for a given website
|
|
1113
|
+
* @summary website backup create
|
|
1114
|
+
*/
|
|
1115
|
+
export declare const codeguardWebsiteBackupCreate: (addonId: number, codeguardWebsiteBackupCreateBody: CodeguardWebsiteBackupCreateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardWebsiteBackupCreate200>>;
|
|
1116
|
+
export declare type CodeguardWebsiteBackupCreateMutationResult = NonNullable<Awaited<ReturnType<typeof codeguardWebsiteBackupCreate>>>;
|
|
1117
|
+
export declare type CodeguardWebsiteBackupCreateMutationBody = CodeguardWebsiteBackupCreateBody;
|
|
1118
|
+
export declare type CodeguardWebsiteBackupCreateMutationError = AxiosError<unknown>;
|
|
1119
|
+
export declare const useCodeguardWebsiteBackupCreate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1120
|
+
mutation?: UseMutationOptions<AxiosResponse<CodeguardWebsiteBackupCreate200, any>, TError, {
|
|
1121
|
+
addonId: number;
|
|
1122
|
+
data: CodeguardWebsiteBackupCreateBody;
|
|
1123
|
+
}, TContext> | undefined;
|
|
1124
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1125
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<CodeguardWebsiteBackupCreate200, any>, TError, {
|
|
1126
|
+
addonId: number;
|
|
1127
|
+
data: CodeguardWebsiteBackupCreateBody;
|
|
1128
|
+
}, TContext>;
|
|
1129
|
+
/**
|
|
1130
|
+
* Restores a website backup
|
|
1131
|
+
* @summary website backup restore
|
|
1132
|
+
*/
|
|
1133
|
+
export declare const codeguardWebsiteBackupRestore: (addonId: number, codeguardWebsiteBackupRestoreBody: CodeguardWebsiteBackupRestoreBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardWebsiteBackupRestore200>>;
|
|
1134
|
+
export declare type CodeguardWebsiteBackupRestoreMutationResult = NonNullable<Awaited<ReturnType<typeof codeguardWebsiteBackupRestore>>>;
|
|
1135
|
+
export declare type CodeguardWebsiteBackupRestoreMutationBody = CodeguardWebsiteBackupRestoreBody;
|
|
1136
|
+
export declare type CodeguardWebsiteBackupRestoreMutationError = AxiosError<unknown>;
|
|
1137
|
+
export declare const useCodeguardWebsiteBackupRestore: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1138
|
+
mutation?: UseMutationOptions<AxiosResponse<CodeguardWebsiteBackupRestore200, any>, TError, {
|
|
1139
|
+
addonId: number;
|
|
1140
|
+
data: CodeguardWebsiteBackupRestoreBody;
|
|
1141
|
+
}, TContext> | undefined;
|
|
1142
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1143
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<CodeguardWebsiteBackupRestore200, any>, TError, {
|
|
1144
|
+
addonId: number;
|
|
1145
|
+
data: CodeguardWebsiteBackupRestoreBody;
|
|
1146
|
+
}, TContext>;
|
|
1147
|
+
/**
|
|
1148
|
+
* Returns an oauth login URL that can be used to access Sitelock dashboard for a user.
|
|
1149
|
+
* @summary sso
|
|
1150
|
+
*/
|
|
1151
|
+
export declare const addonsSitelockSso: (addonId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddonsSitelockSso200>>;
|
|
1152
|
+
export declare const getAddonsSitelockSsoQueryKey: (addonId: number) => string[];
|
|
1153
|
+
export declare type AddonsSitelockSsoQueryResult = NonNullable<Awaited<ReturnType<typeof addonsSitelockSso>>>;
|
|
1154
|
+
export declare type AddonsSitelockSsoQueryError = AxiosError<unknown>;
|
|
1155
|
+
export declare const useAddonsSitelockSso: <TData = AxiosResponse<AddonsSitelockSso200, any>, TError = AxiosError<unknown, any>>(addonId: number, options?: {
|
|
1156
|
+
query?: UseQueryOptions<AxiosResponse<AddonsSitelockSso200, any>, TError, TData, QueryKey> | undefined;
|
|
1157
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1158
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1159
|
+
queryKey: QueryKey;
|
|
1160
|
+
};
|
|
1161
|
+
/**
|
|
1162
|
+
* Decom and delete cloudflare basic addon
|
|
1163
|
+
* @summary Uninstall cloudflare basic addon
|
|
1164
|
+
*/
|
|
1165
|
+
export declare const addonsCloudflare: (addonId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddonsCloudflare200>>;
|
|
1166
|
+
export declare type AddonsCloudflareMutationResult = NonNullable<Awaited<ReturnType<typeof addonsCloudflare>>>;
|
|
1167
|
+
export declare type AddonsCloudflareMutationError = AxiosError<unknown>;
|
|
1168
|
+
export declare const useAddonsCloudflare: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1169
|
+
mutation?: UseMutationOptions<AxiosResponse<AddonsCloudflare200, any>, TError, {
|
|
1170
|
+
addonId: number;
|
|
1171
|
+
}, TContext> | undefined;
|
|
1172
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1173
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<AddonsCloudflare200, any>, TError, {
|
|
1174
|
+
addonId: number;
|
|
1175
|
+
}, TContext>;
|
|
1176
|
+
/**
|
|
1177
|
+
* Returns addon information
|
|
1178
|
+
* @summary info
|
|
1179
|
+
*/
|
|
1180
|
+
export declare const addonsInfo: (addonId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddonsInfo200>>;
|
|
1181
|
+
export declare const getAddonsInfoQueryKey: (addonId: string) => string[];
|
|
1182
|
+
export declare type AddonsInfoQueryResult = NonNullable<Awaited<ReturnType<typeof addonsInfo>>>;
|
|
1183
|
+
export declare type AddonsInfoQueryError = AxiosError<unknown>;
|
|
1184
|
+
export declare const useAddonsInfo: <TData = AxiosResponse<AddonsInfo200, any>, TError = AxiosError<unknown, any>>(addonId: string, options?: {
|
|
1185
|
+
query?: UseQueryOptions<AxiosResponse<AddonsInfo200, any>, TError, TData, QueryKey> | undefined;
|
|
1186
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1187
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1188
|
+
queryKey: QueryKey;
|
|
1189
|
+
};
|
|
1190
|
+
/**
|
|
1191
|
+
* Returns HAL hosting account-level information
|
|
1192
|
+
* @summary HAL Hosting Account Info
|
|
1193
|
+
*/
|
|
1194
|
+
export declare const hostingAccount: (hostingId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingAccount200>>;
|
|
1195
|
+
export declare const getHostingAccountQueryKey: (hostingId: string) => string[];
|
|
1196
|
+
export declare type HostingAccountQueryResult = NonNullable<Awaited<ReturnType<typeof hostingAccount>>>;
|
|
1197
|
+
export declare type HostingAccountQueryError = AxiosError<unknown>;
|
|
1198
|
+
export declare const useHostingAccount: <TData = AxiosResponse<HostingAccount200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
|
|
1199
|
+
query?: UseQueryOptions<AxiosResponse<HostingAccount200, any>, TError, TData, QueryKey> | undefined;
|
|
1200
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1201
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1202
|
+
queryKey: QueryKey;
|
|
1203
|
+
};
|
|
1204
|
+
/**
|
|
1205
|
+
* Returns a list of addons.
|
|
1206
|
+
* @summary addon list
|
|
1207
|
+
*/
|
|
1208
|
+
export declare const hostingAddons: (hostingId: number, params?: HostingAddonsParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingAddons200>>;
|
|
1209
|
+
export declare const getHostingAddonsQueryKey: (hostingId: number, params?: HostingAddonsParams) => (string | HostingAddonsParams)[];
|
|
1210
|
+
export declare type HostingAddonsQueryResult = NonNullable<Awaited<ReturnType<typeof hostingAddons>>>;
|
|
1211
|
+
export declare type HostingAddonsQueryError = AxiosError<unknown>;
|
|
1212
|
+
export declare const useHostingAddons: <TData = AxiosResponse<HostingAddons200, any>, TError = AxiosError<unknown, any>>(hostingId: number, params?: HostingAddonsParams, options?: {
|
|
1213
|
+
query?: UseQueryOptions<AxiosResponse<HostingAddons200, any>, TError, TData, QueryKey> | undefined;
|
|
1214
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1215
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1216
|
+
queryKey: QueryKey;
|
|
1217
|
+
};
|
|
1218
|
+
/**
|
|
1219
|
+
* Returns a list of cron jobs
|
|
1220
|
+
* @summary cron_list
|
|
1221
|
+
*/
|
|
1222
|
+
export declare const hostingAdvancedCrontab: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingAdvancedCrontab200>>;
|
|
1223
|
+
export declare const getHostingAdvancedCrontabQueryKey: (hostingId: number) => string[];
|
|
1224
|
+
export declare type HostingAdvancedCrontabQueryResult = NonNullable<Awaited<ReturnType<typeof hostingAdvancedCrontab>>>;
|
|
1225
|
+
export declare type HostingAdvancedCrontabQueryError = AxiosError<unknown>;
|
|
1226
|
+
export declare const useHostingAdvancedCrontab: <TData = AxiosResponse<HostingAdvancedCrontab200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
|
|
1227
|
+
query?: UseQueryOptions<AxiosResponse<HostingAdvancedCrontab200, any>, TError, TData, QueryKey> | undefined;
|
|
1228
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1229
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1230
|
+
queryKey: QueryKey;
|
|
1231
|
+
};
|
|
1232
|
+
/**
|
|
1233
|
+
* Returns the hosting server info
|
|
1234
|
+
* @summary server status/info
|
|
1235
|
+
*/
|
|
1236
|
+
export declare const hostingAdvancedServer: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingAdvancedServer200>>;
|
|
1237
|
+
export declare const getHostingAdvancedServerQueryKey: (hostingId: number) => string[];
|
|
1238
|
+
export declare type HostingAdvancedServerQueryResult = NonNullable<Awaited<ReturnType<typeof hostingAdvancedServer>>>;
|
|
1239
|
+
export declare type HostingAdvancedServerQueryError = AxiosError<unknown>;
|
|
1240
|
+
export declare const useHostingAdvancedServer: <TData = AxiosResponse<HostingAdvancedServer200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
|
|
1241
|
+
query?: UseQueryOptions<AxiosResponse<HostingAdvancedServer200, any>, TError, TData, QueryKey> | undefined;
|
|
1242
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1243
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1244
|
+
queryKey: QueryKey;
|
|
1245
|
+
};
|
|
1246
|
+
/**
|
|
1247
|
+
* Allows for managing server status
|
|
1248
|
+
* @summary server_status
|
|
1249
|
+
*/
|
|
1250
|
+
export declare const hostingAdvancedServerStatus: (hostingId: number, hostingAdvancedServerStatusBody: HostingAdvancedServerStatusBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingAdvancedServerStatus200>>;
|
|
1251
|
+
export declare type HostingAdvancedServerStatusMutationResult = NonNullable<Awaited<ReturnType<typeof hostingAdvancedServerStatus>>>;
|
|
1252
|
+
export declare type HostingAdvancedServerStatusMutationBody = HostingAdvancedServerStatusBody;
|
|
1253
|
+
export declare type HostingAdvancedServerStatusMutationError = AxiosError<unknown>;
|
|
1254
|
+
export declare const useHostingAdvancedServerStatus: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1255
|
+
mutation?: UseMutationOptions<AxiosResponse<HostingAdvancedServerStatus200, any>, TError, {
|
|
1256
|
+
hostingId: number;
|
|
1257
|
+
data: HostingAdvancedServerStatusBody;
|
|
1258
|
+
}, TContext> | undefined;
|
|
1259
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1260
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingAdvancedServerStatus200, any>, TError, {
|
|
1261
|
+
hostingId: number;
|
|
1262
|
+
data: HostingAdvancedServerStatusBody;
|
|
1263
|
+
}, TContext>;
|
|
1264
|
+
/**
|
|
1265
|
+
* Update user account's password
|
|
1266
|
+
* @summary Update user account password
|
|
1267
|
+
*/
|
|
1268
|
+
export declare const hostingAdvancedPassword: (hostingId: number, hostingAdvancedPasswordBody: HostingAdvancedPasswordBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingAdvancedPassword200>>;
|
|
1269
|
+
export declare type HostingAdvancedPasswordMutationResult = NonNullable<Awaited<ReturnType<typeof hostingAdvancedPassword>>>;
|
|
1270
|
+
export declare type HostingAdvancedPasswordMutationBody = HostingAdvancedPasswordBody;
|
|
1271
|
+
export declare type HostingAdvancedPasswordMutationError = AxiosError<unknown>;
|
|
1272
|
+
export declare const useHostingAdvancedPassword: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1273
|
+
mutation?: UseMutationOptions<AxiosResponse<HostingAdvancedPassword200, any>, TError, {
|
|
1274
|
+
hostingId: number;
|
|
1275
|
+
data: HostingAdvancedPasswordBody;
|
|
1276
|
+
}, TContext> | undefined;
|
|
1277
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1278
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingAdvancedPassword200, any>, TError, {
|
|
1279
|
+
hostingId: number;
|
|
1280
|
+
data: HostingAdvancedPasswordBody;
|
|
1281
|
+
}, TContext>;
|
|
1282
|
+
/**
|
|
1283
|
+
* Returns the hosting sso_whm login url
|
|
1284
|
+
* @summary hosting sso_whm
|
|
1285
|
+
*/
|
|
1286
|
+
export declare const hostingAdvancedSsoWhm: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingAdvancedSsoWhm200>>;
|
|
1287
|
+
export declare const getHostingAdvancedSsoWhmQueryKey: (hostingId: number) => string[];
|
|
1288
|
+
export declare type HostingAdvancedSsoWhmQueryResult = NonNullable<Awaited<ReturnType<typeof hostingAdvancedSsoWhm>>>;
|
|
1289
|
+
export declare type HostingAdvancedSsoWhmQueryError = AxiosError<unknown>;
|
|
1290
|
+
export declare const useHostingAdvancedSsoWhm: <TData = AxiosResponse<HostingAdvancedSsoWhm200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
|
|
1291
|
+
query?: UseQueryOptions<AxiosResponse<HostingAdvancedSsoWhm200, any>, TError, TData, QueryKey> | undefined;
|
|
1292
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1293
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1294
|
+
queryKey: QueryKey;
|
|
1295
|
+
};
|
|
1296
|
+
/**
|
|
1297
|
+
* Returns the hosting system_console url
|
|
1298
|
+
* @summary hosting system_console
|
|
1299
|
+
*/
|
|
1300
|
+
export declare const hostingAdvancedSystemConsole: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingAdvancedSystemConsole200>>;
|
|
1301
|
+
export declare const getHostingAdvancedSystemConsoleQueryKey: (hostingId: number) => string[];
|
|
1302
|
+
export declare type HostingAdvancedSystemConsoleQueryResult = NonNullable<Awaited<ReturnType<typeof hostingAdvancedSystemConsole>>>;
|
|
1303
|
+
export declare type HostingAdvancedSystemConsoleQueryError = AxiosError<unknown>;
|
|
1304
|
+
export declare const useHostingAdvancedSystemConsole: <TData = AxiosResponse<HostingAdvancedSystemConsole200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
|
|
1305
|
+
query?: UseQueryOptions<AxiosResponse<HostingAdvancedSystemConsole200, any>, TError, TData, QueryKey> | undefined;
|
|
1306
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1307
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1308
|
+
queryKey: QueryKey;
|
|
1309
|
+
};
|
|
1310
|
+
/**
|
|
1311
|
+
* Returns the hosting capabilities
|
|
1312
|
+
* @summary hosting capabilities
|
|
1313
|
+
*/
|
|
1314
|
+
export declare const hostingCapabilities: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingCapabilities200>>;
|
|
1315
|
+
export declare const getHostingCapabilitiesQueryKey: (hostingId: number) => string[];
|
|
1316
|
+
export declare type HostingCapabilitiesQueryResult = NonNullable<Awaited<ReturnType<typeof hostingCapabilities>>>;
|
|
1317
|
+
export declare type HostingCapabilitiesQueryError = AxiosError<unknown>;
|
|
1318
|
+
export declare const useHostingCapabilities: <TData = AxiosResponse<HostingCapabilities200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
|
|
1319
|
+
query?: UseQueryOptions<AxiosResponse<HostingCapabilities200, any>, TError, TData, QueryKey> | undefined;
|
|
1320
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1321
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1322
|
+
queryKey: QueryKey;
|
|
1323
|
+
};
|
|
1324
|
+
/**
|
|
1325
|
+
* Creates cloudflare basic addon
|
|
1326
|
+
* @summary Install cloudflare basic addon
|
|
1327
|
+
*/
|
|
1328
|
+
export declare const addonCloudflare: (hostingId: number, addonCloudflareBody: AddonCloudflareBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddonCloudflare200>>;
|
|
1329
|
+
export declare type AddonCloudflareMutationResult = NonNullable<Awaited<ReturnType<typeof addonCloudflare>>>;
|
|
1330
|
+
export declare type AddonCloudflareMutationBody = AddonCloudflareBody;
|
|
1331
|
+
export declare type AddonCloudflareMutationError = AxiosError<unknown>;
|
|
1332
|
+
export declare const useAddonCloudflare: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1333
|
+
mutation?: UseMutationOptions<AxiosResponse<AddonCloudflare200, any>, TError, {
|
|
1334
|
+
hostingId: number;
|
|
1335
|
+
data: AddonCloudflareBody;
|
|
1336
|
+
}, TContext> | undefined;
|
|
1337
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1338
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<AddonCloudflare200, any>, TError, {
|
|
1339
|
+
hostingId: number;
|
|
1340
|
+
data: AddonCloudflareBody;
|
|
1341
|
+
}, TContext>;
|
|
1342
|
+
/**
|
|
1343
|
+
* Returns a list of domains
|
|
1344
|
+
* @summary domain list
|
|
1345
|
+
*/
|
|
1346
|
+
export declare const domains: (hostingId: number, params?: DomainsParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<Domains200>>;
|
|
1347
|
+
export declare const getDomainsQueryKey: (hostingId: number, params?: DomainsParams) => (string | DomainsParams)[];
|
|
1348
|
+
export declare type DomainsQueryResult = NonNullable<Awaited<ReturnType<typeof domains>>>;
|
|
1349
|
+
export declare type DomainsQueryError = AxiosError<unknown>;
|
|
1350
|
+
export declare const useDomains: <TData = AxiosResponse<Domains200, any>, TError = AxiosError<unknown, any>>(hostingId: number, params?: DomainsParams, options?: {
|
|
1351
|
+
query?: UseQueryOptions<AxiosResponse<Domains200, any>, TError, TData, QueryKey> | undefined;
|
|
1352
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1353
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1354
|
+
queryKey: QueryKey;
|
|
1355
|
+
};
|
|
1356
|
+
/**
|
|
1357
|
+
* Returns a list of FTP accounts.
|
|
1358
|
+
* @summary ftp list
|
|
1359
|
+
*/
|
|
1360
|
+
export declare const hostingFtpList: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingFtpList200>>;
|
|
1361
|
+
export declare const getHostingFtpListQueryKey: (hostingId: number) => string[];
|
|
1362
|
+
export declare type HostingFtpListQueryResult = NonNullable<Awaited<ReturnType<typeof hostingFtpList>>>;
|
|
1363
|
+
export declare type HostingFtpListQueryError = AxiosError<unknown>;
|
|
1364
|
+
export declare const useHostingFtpList: <TData = AxiosResponse<HostingFtpList200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
|
|
1365
|
+
query?: UseQueryOptions<AxiosResponse<HostingFtpList200, any>, TError, TData, QueryKey> | undefined;
|
|
1366
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1367
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1368
|
+
queryKey: QueryKey;
|
|
1369
|
+
};
|
|
1370
|
+
/**
|
|
1371
|
+
* Add ftp account
|
|
1372
|
+
* @summary Add ftp account
|
|
1373
|
+
*/
|
|
1374
|
+
export declare const hostingFtpAdd: (hostingId: number, hostingFtpAddBody: HostingFtpAddBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingFtpAdd200>>;
|
|
1375
|
+
export declare type HostingFtpAddMutationResult = NonNullable<Awaited<ReturnType<typeof hostingFtpAdd>>>;
|
|
1376
|
+
export declare type HostingFtpAddMutationBody = HostingFtpAddBody;
|
|
1377
|
+
export declare type HostingFtpAddMutationError = AxiosError<unknown>;
|
|
1378
|
+
export declare const useHostingFtpAdd: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1379
|
+
mutation?: UseMutationOptions<AxiosResponse<HostingFtpAdd200, any>, TError, {
|
|
1380
|
+
hostingId: number;
|
|
1381
|
+
data: HostingFtpAddBody;
|
|
1382
|
+
}, TContext> | undefined;
|
|
1383
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1384
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingFtpAdd200, any>, TError, {
|
|
1385
|
+
hostingId: number;
|
|
1386
|
+
data: HostingFtpAddBody;
|
|
1387
|
+
}, TContext>;
|
|
1388
|
+
/**
|
|
1389
|
+
* Delete ftp account
|
|
1390
|
+
* @summary Delete ftp account
|
|
1391
|
+
*/
|
|
1392
|
+
export declare const hostingFtp: (hostingId: number, hostingFtpBody: HostingFtpBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingFtp200>>;
|
|
1393
|
+
export declare type HostingFtpMutationResult = NonNullable<Awaited<ReturnType<typeof hostingFtp>>>;
|
|
1394
|
+
export declare type HostingFtpMutationBody = HostingFtpBody;
|
|
1395
|
+
export declare type HostingFtpMutationError = AxiosError<unknown>;
|
|
1396
|
+
export declare const useHostingFtp: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1397
|
+
mutation?: UseMutationOptions<AxiosResponse<HostingFtp200, any>, TError, {
|
|
1398
|
+
hostingId: number;
|
|
1399
|
+
data: HostingFtpBody;
|
|
1400
|
+
}, TContext> | undefined;
|
|
1401
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1402
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingFtp200, any>, TError, {
|
|
1403
|
+
hostingId: number;
|
|
1404
|
+
data: HostingFtpBody;
|
|
1405
|
+
}, TContext>;
|
|
1406
|
+
/**
|
|
1407
|
+
* Returns hosting account info
|
|
1408
|
+
* @summary Hosting info
|
|
1409
|
+
*/
|
|
1410
|
+
export declare const hostingInfo: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingInfo200>>;
|
|
1411
|
+
export declare const getHostingInfoQueryKey: (hostingId: number) => string[];
|
|
1412
|
+
export declare type HostingInfoQueryResult = NonNullable<Awaited<ReturnType<typeof hostingInfo>>>;
|
|
1413
|
+
export declare type HostingInfoQueryError = AxiosError<unknown>;
|
|
1414
|
+
export declare const useHostingInfo: <TData = AxiosResponse<HostingInfo200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
|
|
1415
|
+
query?: UseQueryOptions<AxiosResponse<HostingInfo200, any>, TError, TData, QueryKey> | undefined;
|
|
1416
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1417
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1418
|
+
queryKey: QueryKey;
|
|
1419
|
+
};
|
|
1420
|
+
/**
|
|
1421
|
+
* Returns the hosting account's disk usage
|
|
1422
|
+
* @summary info disk usage
|
|
1423
|
+
*/
|
|
1424
|
+
export declare const hostingInfoDiskUsage: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingInfoDiskUsage200>>;
|
|
1425
|
+
export declare const getHostingInfoDiskUsageQueryKey: (hostingId: number) => string[];
|
|
1426
|
+
export declare type HostingInfoDiskUsageQueryResult = NonNullable<Awaited<ReturnType<typeof hostingInfoDiskUsage>>>;
|
|
1427
|
+
export declare type HostingInfoDiskUsageQueryError = AxiosError<unknown>;
|
|
1428
|
+
export declare const useHostingInfoDiskUsage: <TData = AxiosResponse<HostingInfoDiskUsage200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
|
|
1429
|
+
query?: UseQueryOptions<AxiosResponse<HostingInfoDiskUsage200, any>, TError, TData, QueryKey> | undefined;
|
|
1430
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1431
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1432
|
+
queryKey: QueryKey;
|
|
1433
|
+
};
|
|
1434
|
+
/**
|
|
1435
|
+
* Gets the Wordpress migration status
|
|
1436
|
+
* @summary Wordpress migration status
|
|
1437
|
+
*/
|
|
1438
|
+
export declare const hostingMigrationStatus: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingMigrationStatus200>>;
|
|
1439
|
+
export declare const getHostingMigrationStatusQueryKey: (hostingId: number) => string[];
|
|
1440
|
+
export declare type HostingMigrationStatusQueryResult = NonNullable<Awaited<ReturnType<typeof hostingMigrationStatus>>>;
|
|
1441
|
+
export declare type HostingMigrationStatusQueryError = AxiosError<unknown>;
|
|
1442
|
+
export declare const useHostingMigrationStatus: <TData = AxiosResponse<HostingMigrationStatus200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
|
|
1443
|
+
query?: UseQueryOptions<AxiosResponse<HostingMigrationStatus200, any>, TError, TData, QueryKey> | undefined;
|
|
1444
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1445
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1446
|
+
queryKey: QueryKey;
|
|
1447
|
+
};
|
|
1448
|
+
/**
|
|
1449
|
+
* Adds the wordpressmigrate addon for a given migration id and hosting account
|
|
1450
|
+
* @summary start the migration process for a site
|
|
1451
|
+
*/
|
|
1452
|
+
export declare const hostingMigrations: (hostingId: string, hostingMigrationsBody: HostingMigrationsBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingMigrations200>>;
|
|
1453
|
+
export declare type HostingMigrationsMutationResult = NonNullable<Awaited<ReturnType<typeof hostingMigrations>>>;
|
|
1454
|
+
export declare type HostingMigrationsMutationBody = HostingMigrationsBody;
|
|
1455
|
+
export declare type HostingMigrationsMutationError = AxiosError<unknown>;
|
|
1456
|
+
export declare const useHostingMigrations: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1457
|
+
mutation?: UseMutationOptions<AxiosResponse<HostingMigrations200, any>, TError, {
|
|
1458
|
+
hostingId: string;
|
|
1459
|
+
data: HostingMigrationsBody;
|
|
1460
|
+
}, TContext> | undefined;
|
|
1461
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1462
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingMigrations200, any>, TError, {
|
|
1463
|
+
hostingId: string;
|
|
1464
|
+
data: HostingMigrationsBody;
|
|
1465
|
+
}, TContext>;
|
|
1466
|
+
/**
|
|
1467
|
+
* Post migration event to CWM
|
|
1468
|
+
* @summary hosting migrations event
|
|
1469
|
+
*/
|
|
1470
|
+
export declare const hostingMigrationsEvent: (hostingId: string, hostingMigrationsEventBody: HostingMigrationsEventBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingMigrationsEvent200>>;
|
|
1471
|
+
export declare type HostingMigrationsEventMutationResult = NonNullable<Awaited<ReturnType<typeof hostingMigrationsEvent>>>;
|
|
1472
|
+
export declare type HostingMigrationsEventMutationBody = HostingMigrationsEventBody;
|
|
1473
|
+
export declare type HostingMigrationsEventMutationError = AxiosError<unknown>;
|
|
1474
|
+
export declare const useHostingMigrationsEvent: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1475
|
+
mutation?: UseMutationOptions<AxiosResponse<HostingMigrationsEvent200, any>, TError, {
|
|
1476
|
+
hostingId: string;
|
|
1477
|
+
data: HostingMigrationsEventBody;
|
|
1478
|
+
}, TContext> | undefined;
|
|
1479
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1480
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingMigrationsEvent200, any>, TError, {
|
|
1481
|
+
hostingId: string;
|
|
1482
|
+
data: HostingMigrationsEventBody;
|
|
1483
|
+
}, TContext>;
|
|
1484
|
+
/**
|
|
1485
|
+
* Gets the Wordpress migration information
|
|
1486
|
+
* @summary Wordpress migration information
|
|
1487
|
+
*/
|
|
1488
|
+
export declare const hostingMigrationInfo: (hostingId: number, params: HostingMigrationInfoParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingMigrationInfo200>>;
|
|
1489
|
+
export declare const getHostingMigrationInfoQueryKey: (hostingId: number, params: HostingMigrationInfoParams) => (string | HostingMigrationInfoParams)[];
|
|
1490
|
+
export declare type HostingMigrationInfoQueryResult = NonNullable<Awaited<ReturnType<typeof hostingMigrationInfo>>>;
|
|
1491
|
+
export declare type HostingMigrationInfoQueryError = AxiosError<unknown>;
|
|
1492
|
+
export declare const useHostingMigrationInfo: <TData = AxiosResponse<HostingMigrationInfo200, any>, TError = AxiosError<unknown, any>>(hostingId: number, params: HostingMigrationInfoParams, options?: {
|
|
1493
|
+
query?: UseQueryOptions<AxiosResponse<HostingMigrationInfo200, any>, TError, TData, QueryKey> | undefined;
|
|
1494
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1495
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1496
|
+
queryKey: QueryKey;
|
|
1497
|
+
};
|
|
1498
|
+
/**
|
|
1499
|
+
* Provides the status of SiteMigration site_scan and deeplink to WordPress admin page
|
|
1500
|
+
* @summary SiteMigration site_scan status
|
|
1501
|
+
*/
|
|
1502
|
+
export declare const hostingMigrationSiteScanStatus: (hostingId: number, params: HostingMigrationSiteScanStatusParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingMigrationSiteScanStatus200>>;
|
|
1503
|
+
export declare const getHostingMigrationSiteScanStatusQueryKey: (hostingId: number, params: HostingMigrationSiteScanStatusParams) => (string | HostingMigrationSiteScanStatusParams)[];
|
|
1504
|
+
export declare type HostingMigrationSiteScanStatusQueryResult = NonNullable<Awaited<ReturnType<typeof hostingMigrationSiteScanStatus>>>;
|
|
1505
|
+
export declare type HostingMigrationSiteScanStatusQueryError = AxiosError<unknown>;
|
|
1506
|
+
export declare const useHostingMigrationSiteScanStatus: <TData = AxiosResponse<HostingMigrationSiteScanStatus200, any>, TError = AxiosError<unknown, any>>(hostingId: number, params: HostingMigrationSiteScanStatusParams, options?: {
|
|
1507
|
+
query?: UseQueryOptions<AxiosResponse<HostingMigrationSiteScanStatus200, any>, TError, TData, QueryKey> | undefined;
|
|
1508
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1509
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1510
|
+
queryKey: QueryKey;
|
|
1511
|
+
};
|
|
1512
|
+
/**
|
|
1513
|
+
* Returns the hosting brand nameservers
|
|
1514
|
+
* @summary hosting nameservers
|
|
1515
|
+
*/
|
|
1516
|
+
export declare const hostingNameservers: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingNameservers200>>;
|
|
1517
|
+
export declare const getHostingNameserversQueryKey: (hostingId: number) => string[];
|
|
1518
|
+
export declare type HostingNameserversQueryResult = NonNullable<Awaited<ReturnType<typeof hostingNameservers>>>;
|
|
1519
|
+
export declare type HostingNameserversQueryError = AxiosError<unknown>;
|
|
1520
|
+
export declare const useHostingNameservers: <TData = AxiosResponse<HostingNameservers200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
|
|
1521
|
+
query?: UseQueryOptions<AxiosResponse<HostingNameservers200, any>, TError, TData, QueryKey> | undefined;
|
|
1522
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1523
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1524
|
+
queryKey: QueryKey;
|
|
1525
|
+
};
|
|
1526
|
+
/**
|
|
1527
|
+
* Enable or disable shell access on an account by setting the shell.SSH key access must be established separately.
|
|
1528
|
+
* @summary hosting shell toggle
|
|
1529
|
+
*/
|
|
1530
|
+
export declare const hostingShellToggle: (hostingId: string, hostingShellToggleBody: HostingShellToggleBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingShellToggle200>>;
|
|
1531
|
+
export declare type HostingShellToggleMutationResult = NonNullable<Awaited<ReturnType<typeof hostingShellToggle>>>;
|
|
1532
|
+
export declare type HostingShellToggleMutationBody = HostingShellToggleBody;
|
|
1533
|
+
export declare type HostingShellToggleMutationError = AxiosError<unknown>;
|
|
1534
|
+
export declare const useHostingShellToggle: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1535
|
+
mutation?: UseMutationOptions<AxiosResponse<HostingShellToggle200, any>, TError, {
|
|
1536
|
+
hostingId: string;
|
|
1537
|
+
data: HostingShellToggleBody;
|
|
1538
|
+
}, TContext> | undefined;
|
|
1539
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1540
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingShellToggle200, any>, TError, {
|
|
1541
|
+
hostingId: string;
|
|
1542
|
+
data: HostingShellToggleBody;
|
|
1543
|
+
}, TContext>;
|
|
1544
|
+
/**
|
|
1545
|
+
* Determine shell access status for an account.
|
|
1546
|
+
* @summary hosting shell_status
|
|
1547
|
+
*/
|
|
1548
|
+
export declare const hostingShellInfo: (hostingId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingShellInfo200>>;
|
|
1549
|
+
export declare const getHostingShellInfoQueryKey: (hostingId: string) => string[];
|
|
1550
|
+
export declare type HostingShellInfoQueryResult = NonNullable<Awaited<ReturnType<typeof hostingShellInfo>>>;
|
|
1551
|
+
export declare type HostingShellInfoQueryError = AxiosError<unknown>;
|
|
1552
|
+
export declare const useHostingShellInfo: <TData = AxiosResponse<HostingShellInfo200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
|
|
1553
|
+
query?: UseQueryOptions<AxiosResponse<HostingShellInfo200, any>, TError, TData, QueryKey> | undefined;
|
|
1554
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1555
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1556
|
+
queryKey: QueryKey;
|
|
1557
|
+
};
|
|
1558
|
+
/**
|
|
1559
|
+
* Returns a list of sites.
|
|
1560
|
+
* @summary sites list
|
|
1561
|
+
*/
|
|
1562
|
+
export declare const hostingSites: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingSites200>>;
|
|
1563
|
+
export declare const getHostingSitesQueryKey: (hostingId: number) => string[];
|
|
1564
|
+
export declare type HostingSitesQueryResult = NonNullable<Awaited<ReturnType<typeof hostingSites>>>;
|
|
1565
|
+
export declare type HostingSitesQueryError = AxiosError<unknown>;
|
|
1566
|
+
export declare const useHostingSites: <TData = AxiosResponse<HostingSites200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
|
|
1567
|
+
query?: UseQueryOptions<AxiosResponse<HostingSites200, any>, TError, TData, QueryKey> | undefined;
|
|
1568
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1569
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1570
|
+
queryKey: QueryKey;
|
|
1571
|
+
};
|
|
1572
|
+
/**
|
|
1573
|
+
* Add a site to the current hosting.
|
|
1574
|
+
* @summary sites add
|
|
1575
|
+
*/
|
|
1576
|
+
export declare const hostingSiteAdd: (hostingId: number, hostingSiteAddBody: HostingSiteAddBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingSiteAdd200>>;
|
|
1577
|
+
export declare type HostingSiteAddMutationResult = NonNullable<Awaited<ReturnType<typeof hostingSiteAdd>>>;
|
|
1578
|
+
export declare type HostingSiteAddMutationBody = HostingSiteAddBody;
|
|
1579
|
+
export declare type HostingSiteAddMutationError = AxiosError<unknown>;
|
|
1580
|
+
export declare const useHostingSiteAdd: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1581
|
+
mutation?: UseMutationOptions<AxiosResponse<HostingSiteAdd200, any>, TError, {
|
|
1582
|
+
hostingId: number;
|
|
1583
|
+
data: HostingSiteAddBody;
|
|
1584
|
+
}, TContext> | undefined;
|
|
1585
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1586
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingSiteAdd200, any>, TError, {
|
|
1587
|
+
hostingId: number;
|
|
1588
|
+
data: HostingSiteAddBody;
|
|
1589
|
+
}, TContext>;
|
|
1590
|
+
/**
|
|
1591
|
+
* Returns the hosting account's SSH information
|
|
1592
|
+
* @summary ssh info
|
|
1593
|
+
*/
|
|
1594
|
+
export declare const hostingSshInfo: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingSshInfo200>>;
|
|
1595
|
+
export declare const getHostingSshInfoQueryKey: (hostingId: number) => string[];
|
|
1596
|
+
export declare type HostingSshInfoQueryResult = NonNullable<Awaited<ReturnType<typeof hostingSshInfo>>>;
|
|
1597
|
+
export declare type HostingSshInfoQueryError = AxiosError<unknown>;
|
|
1598
|
+
export declare const useHostingSshInfo: <TData = AxiosResponse<HostingSshInfo200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
|
|
1599
|
+
query?: UseQueryOptions<AxiosResponse<HostingSshInfo200, any>, TError, TData, QueryKey> | undefined;
|
|
1600
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1601
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1602
|
+
queryKey: QueryKey;
|
|
1603
|
+
};
|
|
1604
|
+
/**
|
|
1605
|
+
* Fetches an SSH public (or optionally private) key.
|
|
1606
|
+
* @summary ssh key fetch
|
|
1607
|
+
*/
|
|
1608
|
+
export declare const sshKeyFetch: (hostingId: string, params: SshKeyFetchParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<SshKeyFetch200>>;
|
|
1609
|
+
export declare const getSshKeyFetchQueryKey: (hostingId: string, params: SshKeyFetchParams) => (string | SshKeyFetchParams)[];
|
|
1610
|
+
export declare type SshKeyFetchQueryResult = NonNullable<Awaited<ReturnType<typeof sshKeyFetch>>>;
|
|
1611
|
+
export declare type SshKeyFetchQueryError = AxiosError<unknown>;
|
|
1612
|
+
export declare const useSshKeyFetch: <TData = AxiosResponse<SshKeyFetch200, any>, TError = AxiosError<unknown, any>>(hostingId: string, params: SshKeyFetchParams, options?: {
|
|
1613
|
+
query?: UseQueryOptions<AxiosResponse<SshKeyFetch200, any>, TError, TData, QueryKey> | undefined;
|
|
1614
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1615
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1616
|
+
queryKey: QueryKey;
|
|
1617
|
+
};
|
|
1618
|
+
/**
|
|
1619
|
+
* Import public/private ssh key
|
|
1620
|
+
* @summary Import ssh key
|
|
1621
|
+
*/
|
|
1622
|
+
export declare const sshKeyImport: (hostingId: number, sshKeyImportBody: SshKeyImportBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SshKeyImport200>>;
|
|
1623
|
+
export declare type SshKeyImportMutationResult = NonNullable<Awaited<ReturnType<typeof sshKeyImport>>>;
|
|
1624
|
+
export declare type SshKeyImportMutationBody = SshKeyImportBody;
|
|
1625
|
+
export declare type SshKeyImportMutationError = AxiosError<unknown>;
|
|
1626
|
+
export declare const useSshKeyImport: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1627
|
+
mutation?: UseMutationOptions<AxiosResponse<SshKeyImport200, any>, TError, {
|
|
1628
|
+
hostingId: number;
|
|
1629
|
+
data: SshKeyImportBody;
|
|
1630
|
+
}, TContext> | undefined;
|
|
1631
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1632
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SshKeyImport200, any>, TError, {
|
|
1633
|
+
hostingId: number;
|
|
1634
|
+
data: SshKeyImportBody;
|
|
1635
|
+
}, TContext>;
|
|
1636
|
+
/**
|
|
1637
|
+
* List all SSH keys on a server or account. Finds all keys in user's .ssh/ diretory.
|
|
1638
|
+
* @deprecated
|
|
1639
|
+
* @summary Deprecated - ssh keys list
|
|
1640
|
+
*/
|
|
1641
|
+
export declare const sshKeyList: (hostingId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<SshKeyList200>>;
|
|
1642
|
+
export declare const getSshKeyListQueryKey: (hostingId: string) => string[];
|
|
1643
|
+
export declare type SshKeyListQueryResult = NonNullable<Awaited<ReturnType<typeof sshKeyList>>>;
|
|
1644
|
+
export declare type SshKeyListQueryError = AxiosError<unknown>;
|
|
1645
|
+
export declare const useSshKeyList: <TData = AxiosResponse<SshKeyList200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
|
|
1646
|
+
query?: UseQueryOptions<AxiosResponse<SshKeyList200, any>, TError, TData, QueryKey> | undefined;
|
|
1647
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1648
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1649
|
+
queryKey: QueryKey;
|
|
1650
|
+
};
|
|
1651
|
+
/**
|
|
1652
|
+
* Deletes an SSH key
|
|
1653
|
+
* @summary ssh key delete
|
|
1654
|
+
*/
|
|
1655
|
+
export declare const sshKey: (hostingId: string, sshKeyBody: SshKeyBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SshKey200>>;
|
|
1656
|
+
export declare type SshKeyMutationResult = NonNullable<Awaited<ReturnType<typeof sshKey>>>;
|
|
1657
|
+
export declare type SshKeyMutationBody = SshKeyBody;
|
|
1658
|
+
export declare type SshKeyMutationError = AxiosError<unknown>;
|
|
1659
|
+
export declare const useSshKey: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1660
|
+
mutation?: UseMutationOptions<AxiosResponse<SshKey200, any>, TError, {
|
|
1661
|
+
hostingId: string;
|
|
1662
|
+
data: SshKeyBody;
|
|
1663
|
+
}, TContext> | undefined;
|
|
1664
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1665
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SshKey200, any>, TError, {
|
|
1666
|
+
hostingId: string;
|
|
1667
|
+
data: SshKeyBody;
|
|
1668
|
+
}, TContext>;
|
|
1669
|
+
/**
|
|
1670
|
+
* Generates public/private ssh keys
|
|
1671
|
+
* @summary Generate ssh key
|
|
1672
|
+
*/
|
|
1673
|
+
export declare const sshKeyGenerate: (hostingId: number, sshKeyGenerateBody: SshKeyGenerateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SshKeyGenerate200>>;
|
|
1674
|
+
export declare type SshKeyGenerateMutationResult = NonNullable<Awaited<ReturnType<typeof sshKeyGenerate>>>;
|
|
1675
|
+
export declare type SshKeyGenerateMutationBody = SshKeyGenerateBody;
|
|
1676
|
+
export declare type SshKeyGenerateMutationError = AxiosError<unknown>;
|
|
1677
|
+
export declare const useSshKeyGenerate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1678
|
+
mutation?: UseMutationOptions<AxiosResponse<SshKeyGenerate200, any>, TError, {
|
|
1679
|
+
hostingId: number;
|
|
1680
|
+
data: SshKeyGenerateBody;
|
|
1681
|
+
}, TContext> | undefined;
|
|
1682
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1683
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SshKeyGenerate200, any>, TError, {
|
|
1684
|
+
hostingId: number;
|
|
1685
|
+
data: SshKeyGenerateBody;
|
|
1686
|
+
}, TContext>;
|
|
1687
|
+
/**
|
|
1688
|
+
* Returns a SSO login token for a hosting account by default, or directly to various apps within the hosting account by using the optional query parameter.
|
|
1689
|
+
* @summary sso
|
|
1690
|
+
*/
|
|
1691
|
+
export declare const sso: (hostingId: number, params?: SsoParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<Sso200>>;
|
|
1692
|
+
export declare const getSsoQueryKey: (hostingId: number, params?: SsoParams) => (string | SsoParams)[];
|
|
1693
|
+
export declare type SsoQueryResult = NonNullable<Awaited<ReturnType<typeof sso>>>;
|
|
1694
|
+
export declare type SsoQueryError = AxiosError<unknown>;
|
|
1695
|
+
export declare const useSso: <TData = AxiosResponse<Sso200, any>, TError = AxiosError<unknown, any>>(hostingId: number, params?: SsoParams, options?: {
|
|
1696
|
+
query?: UseQueryOptions<AxiosResponse<Sso200, any>, TError, TData, QueryKey> | undefined;
|
|
1697
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1698
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1699
|
+
queryKey: QueryKey;
|
|
1700
|
+
};
|
|
1701
|
+
/**
|
|
1702
|
+
* Returns site list.
|
|
1703
|
+
* @summary Site list for an account
|
|
1704
|
+
*/
|
|
1705
|
+
export declare const sitesList: (options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesList200>>;
|
|
1706
|
+
export declare const getSitesListQueryKey: () => string[];
|
|
1707
|
+
export declare type SitesListQueryResult = NonNullable<Awaited<ReturnType<typeof sitesList>>>;
|
|
1708
|
+
export declare type SitesListQueryError = AxiosError<unknown>;
|
|
1709
|
+
export declare const useSitesList: <TData = AxiosResponse<SitesList200, any>, TError = AxiosError<unknown, any>>(options?: {
|
|
1710
|
+
query?: UseQueryOptions<AxiosResponse<SitesList200, any>, TError, TData, QueryKey> | undefined;
|
|
1711
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1712
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1713
|
+
queryKey: QueryKey;
|
|
1714
|
+
};
|
|
1715
|
+
/**
|
|
1716
|
+
* Returns site information.
|
|
1717
|
+
* @summary info
|
|
1718
|
+
*/
|
|
1719
|
+
export declare const sitesInfo: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesInfo200>>;
|
|
1720
|
+
export declare const getSitesInfoQueryKey: (siteId: number) => string[];
|
|
1721
|
+
export declare type SitesInfoQueryResult = NonNullable<Awaited<ReturnType<typeof sitesInfo>>>;
|
|
1722
|
+
export declare type SitesInfoQueryError = AxiosError<unknown>;
|
|
1723
|
+
export declare const useSitesInfo: <TData = AxiosResponse<SitesInfo200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
1724
|
+
query?: UseQueryOptions<AxiosResponse<SitesInfo200, any>, TError, TData, QueryKey> | undefined;
|
|
1725
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1726
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1727
|
+
queryKey: QueryKey;
|
|
1728
|
+
};
|
|
1729
|
+
/**
|
|
1730
|
+
* Allows for updating a site's attributes
|
|
1731
|
+
* @summary site update
|
|
1732
|
+
*/
|
|
1733
|
+
export declare const siteUpdate: (siteId: number, siteUpdateBody: SiteUpdateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SiteUpdate200>>;
|
|
1734
|
+
export declare type SiteUpdateMutationResult = NonNullable<Awaited<ReturnType<typeof siteUpdate>>>;
|
|
1735
|
+
export declare type SiteUpdateMutationBody = SiteUpdateBody;
|
|
1736
|
+
export declare type SiteUpdateMutationError = AxiosError<SiteUpdate400>;
|
|
1737
|
+
export declare const useSiteUpdate: <TError = AxiosError<SiteUpdate400, any>, TContext = unknown>(options?: {
|
|
1738
|
+
mutation?: UseMutationOptions<AxiosResponse<SiteUpdate200, any>, TError, {
|
|
1739
|
+
siteId: number;
|
|
1740
|
+
data: SiteUpdateBody;
|
|
1741
|
+
}, TContext> | undefined;
|
|
1742
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1743
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SiteUpdate200, any>, TError, {
|
|
1744
|
+
siteId: number;
|
|
1745
|
+
data: SiteUpdateBody;
|
|
1746
|
+
}, TContext>;
|
|
1747
|
+
/**
|
|
1748
|
+
* Allows deleting a site
|
|
1749
|
+
* @summary site delete
|
|
1750
|
+
*/
|
|
1751
|
+
export declare const site: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<Site200>>;
|
|
1752
|
+
export declare type SiteMutationResult = NonNullable<Awaited<ReturnType<typeof site>>>;
|
|
1753
|
+
export declare type SiteMutationError = AxiosError<unknown>;
|
|
1754
|
+
export declare const useSite: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1755
|
+
mutation?: UseMutationOptions<AxiosResponse<Site200, any>, TError, {
|
|
1756
|
+
siteId: number;
|
|
1757
|
+
}, TContext> | undefined;
|
|
1758
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1759
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<Site200, any>, TError, {
|
|
1760
|
+
siteId: number;
|
|
1761
|
+
}, TContext>;
|
|
1762
|
+
/**
|
|
1763
|
+
* Returns the autoupdate status of the site's core, themes, and plugins
|
|
1764
|
+
* @summary settings autoupdates
|
|
1765
|
+
*/
|
|
1766
|
+
export declare const sitesAutoupdatesInfo: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesAutoupdatesResponse>>;
|
|
1767
|
+
export declare const getSitesAutoupdatesInfoQueryKey: (siteId: number) => string[];
|
|
1768
|
+
export declare type SitesAutoupdatesInfoQueryResult = NonNullable<Awaited<ReturnType<typeof sitesAutoupdatesInfo>>>;
|
|
1769
|
+
export declare type SitesAutoupdatesInfoQueryError = AxiosError<unknown>;
|
|
1770
|
+
export declare const useSitesAutoupdatesInfo: <TData = AxiosResponse<SitesAutoupdatesResponse, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
1771
|
+
query?: UseQueryOptions<AxiosResponse<SitesAutoupdatesResponse, any>, TError, TData, QueryKey> | undefined;
|
|
1772
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1773
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1774
|
+
queryKey: QueryKey;
|
|
1775
|
+
};
|
|
1776
|
+
/**
|
|
1777
|
+
* Enable / disable core, themes, or plugins autoupdates
|
|
1778
|
+
* @summary settings autoupdates toggle
|
|
1779
|
+
*/
|
|
1780
|
+
export declare const sitesAutoupdatesUpdate: (siteId: number, sitesAutoupdatesUpdateBody: SitesAutoupdatesUpdateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesAutoupdatesResponse>>;
|
|
1781
|
+
export declare type SitesAutoupdatesUpdateMutationResult = NonNullable<Awaited<ReturnType<typeof sitesAutoupdatesUpdate>>>;
|
|
1782
|
+
export declare type SitesAutoupdatesUpdateMutationBody = SitesAutoupdatesUpdateBody;
|
|
1783
|
+
export declare type SitesAutoupdatesUpdateMutationError = AxiosError<unknown>;
|
|
1784
|
+
export declare const useSitesAutoupdatesUpdate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1785
|
+
mutation?: UseMutationOptions<AxiosResponse<SitesAutoupdatesResponse, any>, TError, {
|
|
1786
|
+
siteId: number;
|
|
1787
|
+
data: SitesAutoupdatesUpdateBody;
|
|
1788
|
+
}, TContext> | undefined;
|
|
1789
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1790
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesAutoupdatesResponse, any>, TError, {
|
|
1791
|
+
siteId: number;
|
|
1792
|
+
data: SitesAutoupdatesUpdateBody;
|
|
1793
|
+
}, TContext>;
|
|
1794
|
+
/**
|
|
1795
|
+
* Returns whether the site has either Codeguard or Jetpack-backup.
|
|
1796
|
+
* @deprecated
|
|
1797
|
+
* @summary Deprecated - has backup
|
|
1798
|
+
*/
|
|
1799
|
+
export declare const sitesBackups: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesBackups200>>;
|
|
1800
|
+
export declare const getSitesBackupsQueryKey: (siteId: number) => string[];
|
|
1801
|
+
export declare type SitesBackupsQueryResult = NonNullable<Awaited<ReturnType<typeof sitesBackups>>>;
|
|
1802
|
+
export declare type SitesBackupsQueryError = AxiosError<unknown>;
|
|
1803
|
+
export declare const useSitesBackups: <TData = AxiosResponse<SitesBackups200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
1804
|
+
query?: UseQueryOptions<AxiosResponse<SitesBackups200, any>, TError, TData, QueryKey> | undefined;
|
|
1805
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1806
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1807
|
+
queryKey: QueryKey;
|
|
1808
|
+
};
|
|
1809
|
+
/**
|
|
1810
|
+
* Returns whether the site has either Codeguard or Jetpack-backup.
|
|
1811
|
+
* @summary has backups
|
|
1812
|
+
*/
|
|
1813
|
+
export declare const sitesHasBackups: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesHasBackups200>>;
|
|
1814
|
+
export declare const getSitesHasBackupsQueryKey: (siteId: number) => string[];
|
|
1815
|
+
export declare type SitesHasBackupsQueryResult = NonNullable<Awaited<ReturnType<typeof sitesHasBackups>>>;
|
|
1816
|
+
export declare type SitesHasBackupsQueryError = AxiosError<unknown>;
|
|
1817
|
+
export declare const useSitesHasBackups: <TData = AxiosResponse<SitesHasBackups200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
1818
|
+
query?: UseQueryOptions<AxiosResponse<SitesHasBackups200, any>, TError, TData, QueryKey> | undefined;
|
|
1819
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1820
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1821
|
+
queryKey: QueryKey;
|
|
1822
|
+
};
|
|
1823
|
+
/**
|
|
1824
|
+
* Returns details about the backup options available for the site, i.e. details about the codeguard backup addon and the jetpack based on if one or both of them are added to the account.
|
|
1825
|
+
* @summary site backup details
|
|
1826
|
+
*/
|
|
1827
|
+
export declare const sitesBackupsDetails: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesBackupsDetails200>>;
|
|
1828
|
+
export declare const getSitesBackupsDetailsQueryKey: (siteId: number) => string[];
|
|
1829
|
+
export declare type SitesBackupsDetailsQueryResult = NonNullable<Awaited<ReturnType<typeof sitesBackupsDetails>>>;
|
|
1830
|
+
export declare type SitesBackupsDetailsQueryError = AxiosError<unknown>;
|
|
1831
|
+
export declare const useSitesBackupsDetails: <TData = AxiosResponse<SitesBackupsDetails200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
1832
|
+
query?: UseQueryOptions<AxiosResponse<SitesBackupsDetails200, any>, TError, TData, QueryKey> | undefined;
|
|
1833
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1834
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1835
|
+
queryKey: QueryKey;
|
|
1836
|
+
};
|
|
1837
|
+
/**
|
|
1838
|
+
* The products supported jetpack-backup addon and jetpack-backup plugin
|
|
1839
|
+
* @summary Returns the status of the jetpack-backup product
|
|
1840
|
+
*/
|
|
1841
|
+
export declare const jetpackBackupStatus: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<JetpackBackupStatus200>>;
|
|
1842
|
+
export declare const getJetpackBackupStatusQueryKey: (siteId: number) => string[];
|
|
1843
|
+
export declare type JetpackBackupStatusQueryResult = NonNullable<Awaited<ReturnType<typeof jetpackBackupStatus>>>;
|
|
1844
|
+
export declare type JetpackBackupStatusQueryError = AxiosError<unknown>;
|
|
1845
|
+
export declare const useJetpackBackupStatus: <TData = AxiosResponse<JetpackBackupStatus200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
1846
|
+
query?: UseQueryOptions<AxiosResponse<JetpackBackupStatus200, any>, TError, TData, QueryKey> | undefined;
|
|
1847
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1848
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1849
|
+
queryKey: QueryKey;
|
|
1850
|
+
};
|
|
1851
|
+
/**
|
|
1852
|
+
* Returns a list of DNS records for the site's domain.
|
|
1853
|
+
* @summary dns
|
|
1854
|
+
*/
|
|
1855
|
+
export declare const sitesDns: (siteId: string, params?: SitesDnsParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesDns200>>;
|
|
1856
|
+
export declare const getSitesDnsQueryKey: (siteId: string, params?: SitesDnsParams) => (string | SitesDnsParams)[];
|
|
1857
|
+
export declare type SitesDnsQueryResult = NonNullable<Awaited<ReturnType<typeof sitesDns>>>;
|
|
1858
|
+
export declare type SitesDnsQueryError = AxiosError<unknown>;
|
|
1859
|
+
export declare const useSitesDns: <TData = AxiosResponse<SitesDns200, any>, TError = AxiosError<unknown, any>>(siteId: string, params?: SitesDnsParams, options?: {
|
|
1860
|
+
query?: UseQueryOptions<AxiosResponse<SitesDns200, any>, TError, TData, QueryKey> | undefined;
|
|
1861
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1862
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1863
|
+
queryKey: QueryKey;
|
|
1864
|
+
};
|
|
1865
|
+
/**
|
|
1866
|
+
* Determines if the domain has the correct DNS setup for site
|
|
1867
|
+
* @summary Domain DNS setup for site
|
|
1868
|
+
*/
|
|
1869
|
+
export declare const sitesDomain: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesDomain200>>;
|
|
1870
|
+
export declare const getSitesDomainQueryKey: (siteId: number) => string[];
|
|
1871
|
+
export declare type SitesDomainQueryResult = NonNullable<Awaited<ReturnType<typeof sitesDomain>>>;
|
|
1872
|
+
export declare type SitesDomainQueryError = AxiosError<unknown>;
|
|
1873
|
+
export declare const useSitesDomain: <TData = AxiosResponse<SitesDomain200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
1874
|
+
query?: UseQueryOptions<AxiosResponse<SitesDomain200, any>, TError, TData, QueryKey> | undefined;
|
|
1875
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1876
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1877
|
+
queryKey: QueryKey;
|
|
1878
|
+
};
|
|
1879
|
+
/**
|
|
1880
|
+
* Add or promote pending site url
|
|
1881
|
+
* @summary Add pending site url
|
|
1882
|
+
*/
|
|
1883
|
+
export declare const sitesDomainUrl: (siteId: number, sitesDomainUrlBody: SitesDomainUrlBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesDomainUrl200>>;
|
|
1884
|
+
export declare type SitesDomainUrlMutationResult = NonNullable<Awaited<ReturnType<typeof sitesDomainUrl>>>;
|
|
1885
|
+
export declare type SitesDomainUrlMutationBody = SitesDomainUrlBody;
|
|
1886
|
+
export declare type SitesDomainUrlMutationError = AxiosError<unknown>;
|
|
1887
|
+
export declare const useSitesDomainUrl: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1888
|
+
mutation?: UseMutationOptions<AxiosResponse<SitesDomainUrl200, any>, TError, {
|
|
1889
|
+
siteId: number;
|
|
1890
|
+
data: SitesDomainUrlBody;
|
|
1891
|
+
}, TContext> | undefined;
|
|
1892
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1893
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesDomainUrl200, any>, TError, {
|
|
1894
|
+
siteId: number;
|
|
1895
|
+
data: SitesDomainUrlBody;
|
|
1896
|
+
}, TContext>;
|
|
1897
|
+
/**
|
|
1898
|
+
* cache purge site and url
|
|
1899
|
+
* @summary cache purge url
|
|
1900
|
+
*/
|
|
1901
|
+
export declare const sitesPerformanceCachepurge: (siteId: number, sitesPerformanceCachepurgeBody: SitesPerformanceCachepurgeBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesPerformanceCachepurge200>>;
|
|
1902
|
+
export declare type SitesPerformanceCachepurgeMutationResult = NonNullable<Awaited<ReturnType<typeof sitesPerformanceCachepurge>>>;
|
|
1903
|
+
export declare type SitesPerformanceCachepurgeMutationBody = SitesPerformanceCachepurgeBody;
|
|
1904
|
+
export declare type SitesPerformanceCachepurgeMutationError = AxiosError<unknown>;
|
|
1905
|
+
export declare const useSitesPerformanceCachepurge: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1906
|
+
mutation?: UseMutationOptions<AxiosResponse<SitesPerformanceCachepurge200, any>, TError, {
|
|
1907
|
+
siteId: number;
|
|
1908
|
+
data: SitesPerformanceCachepurgeBody;
|
|
1909
|
+
}, TContext> | undefined;
|
|
1910
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1911
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesPerformanceCachepurge200, any>, TError, {
|
|
1912
|
+
siteId: number;
|
|
1913
|
+
data: SitesPerformanceCachepurgeBody;
|
|
1914
|
+
}, TContext>;
|
|
1915
|
+
/**
|
|
1916
|
+
* Returns the status of endurance_cache_level
|
|
1917
|
+
* @summary Get status of endurance cache level
|
|
1918
|
+
*/
|
|
1919
|
+
export declare const sitesPerformanceEnduranceCacheLevelStatus: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesPerformanceEnduranceCacheLevelStatus200>>;
|
|
1920
|
+
export declare const getSitesPerformanceEnduranceCacheLevelStatusQueryKey: (siteId: number) => string[];
|
|
1921
|
+
export declare type SitesPerformanceEnduranceCacheLevelStatusQueryResult = NonNullable<Awaited<ReturnType<typeof sitesPerformanceEnduranceCacheLevelStatus>>>;
|
|
1922
|
+
export declare type SitesPerformanceEnduranceCacheLevelStatusQueryError = AxiosError<unknown>;
|
|
1923
|
+
export declare const useSitesPerformanceEnduranceCacheLevelStatus: <TData = AxiosResponse<SitesPerformanceEnduranceCacheLevelStatus200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
1924
|
+
query?: UseQueryOptions<AxiosResponse<SitesPerformanceEnduranceCacheLevelStatus200, any>, TError, TData, QueryKey> | undefined;
|
|
1925
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1926
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1927
|
+
queryKey: QueryKey;
|
|
1928
|
+
};
|
|
1929
|
+
/**
|
|
1930
|
+
* Set endurance cache level to 0, 1,2 or 3
|
|
1931
|
+
* @summary Set endurance cache level
|
|
1932
|
+
*/
|
|
1933
|
+
export declare const sitesPerformanceEnduranceCacheLevel: (siteId: number, sitesPerformanceEnduranceCacheLevelBody: SitesPerformanceEnduranceCacheLevelBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesPerformanceEnduranceCacheLevel200>>;
|
|
1934
|
+
export declare type SitesPerformanceEnduranceCacheLevelMutationResult = NonNullable<Awaited<ReturnType<typeof sitesPerformanceEnduranceCacheLevel>>>;
|
|
1935
|
+
export declare type SitesPerformanceEnduranceCacheLevelMutationBody = SitesPerformanceEnduranceCacheLevelBody;
|
|
1936
|
+
export declare type SitesPerformanceEnduranceCacheLevelMutationError = AxiosError<unknown>;
|
|
1937
|
+
export declare const useSitesPerformanceEnduranceCacheLevel: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1938
|
+
mutation?: UseMutationOptions<AxiosResponse<SitesPerformanceEnduranceCacheLevel200, any>, TError, {
|
|
1939
|
+
siteId: number;
|
|
1940
|
+
data: SitesPerformanceEnduranceCacheLevelBody;
|
|
1941
|
+
}, TContext> | undefined;
|
|
1942
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1943
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesPerformanceEnduranceCacheLevel200, any>, TError, {
|
|
1944
|
+
siteId: number;
|
|
1945
|
+
data: SitesPerformanceEnduranceCacheLevelBody;
|
|
1946
|
+
}, TContext>;
|
|
1947
|
+
/**
|
|
1948
|
+
* Update the endurance page cache
|
|
1949
|
+
* @summary update the endurance cache page
|
|
1950
|
+
*/
|
|
1951
|
+
export declare const sitesPerformanceEndurancePageCache: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesPerformanceEndurancePageCache200>>;
|
|
1952
|
+
export declare type SitesPerformanceEndurancePageCacheMutationResult = NonNullable<Awaited<ReturnType<typeof sitesPerformanceEndurancePageCache>>>;
|
|
1953
|
+
export declare type SitesPerformanceEndurancePageCacheMutationError = AxiosError<unknown>;
|
|
1954
|
+
export declare const useSitesPerformanceEndurancePageCache: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1955
|
+
mutation?: UseMutationOptions<AxiosResponse<SitesPerformanceEndurancePageCache200, any>, TError, {
|
|
1956
|
+
siteId: number;
|
|
1957
|
+
}, TContext> | undefined;
|
|
1958
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1959
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesPerformanceEndurancePageCache200, any>, TError, {
|
|
1960
|
+
siteId: number;
|
|
1961
|
+
}, TContext>;
|
|
1962
|
+
/**
|
|
1963
|
+
* Returns a list of the site's plugins
|
|
1964
|
+
* @summary plugins
|
|
1965
|
+
*/
|
|
1966
|
+
export declare const sitePlugins: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitePlugins200>>;
|
|
1967
|
+
export declare const getSitePluginsQueryKey: (siteId: number) => string[];
|
|
1968
|
+
export declare type SitePluginsQueryResult = NonNullable<Awaited<ReturnType<typeof sitePlugins>>>;
|
|
1969
|
+
export declare type SitePluginsQueryError = AxiosError<unknown>;
|
|
1970
|
+
export declare const useSitePlugins: <TData = AxiosResponse<SitePlugins200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
1971
|
+
query?: UseQueryOptions<AxiosResponse<SitePlugins200, any>, TError, TData, QueryKey> | undefined;
|
|
1972
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1973
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
1974
|
+
queryKey: QueryKey;
|
|
1975
|
+
};
|
|
1976
|
+
/**
|
|
1977
|
+
* Enables / disables plugin auto-updates
|
|
1978
|
+
* @deprecated
|
|
1979
|
+
* @summary plugins autoupdate
|
|
1980
|
+
*/
|
|
1981
|
+
export declare const sitePluginsAutoupdate: (siteId: string, sitePluginsAutoupdateBody: SitePluginsAutoupdateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitePluginsAutoupdate200>>;
|
|
1982
|
+
export declare type SitePluginsAutoupdateMutationResult = NonNullable<Awaited<ReturnType<typeof sitePluginsAutoupdate>>>;
|
|
1983
|
+
export declare type SitePluginsAutoupdateMutationBody = SitePluginsAutoupdateBody;
|
|
1984
|
+
export declare type SitePluginsAutoupdateMutationError = AxiosError<unknown>;
|
|
1985
|
+
export declare const useSitePluginsAutoupdate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1986
|
+
mutation?: UseMutationOptions<AxiosResponse<SitePluginsAutoupdate200, any>, TError, {
|
|
1987
|
+
siteId: string;
|
|
1988
|
+
data: SitePluginsAutoupdateBody;
|
|
1989
|
+
}, TContext> | undefined;
|
|
1990
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1991
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitePluginsAutoupdate200, any>, TError, {
|
|
1992
|
+
siteId: string;
|
|
1993
|
+
data: SitePluginsAutoupdateBody;
|
|
1994
|
+
}, TContext>;
|
|
1995
|
+
/**
|
|
1996
|
+
* Enables / disables a plugin
|
|
1997
|
+
* @summary plugins toggle
|
|
1998
|
+
*/
|
|
1999
|
+
export declare const sitePluginsToggle: (siteId: string, sitePluginsToggleBody: SitePluginsToggleBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitePluginsToggle200>>;
|
|
2000
|
+
export declare type SitePluginsToggleMutationResult = NonNullable<Awaited<ReturnType<typeof sitePluginsToggle>>>;
|
|
2001
|
+
export declare type SitePluginsToggleMutationBody = SitePluginsToggleBody;
|
|
2002
|
+
export declare type SitePluginsToggleMutationError = AxiosError<unknown>;
|
|
2003
|
+
export declare const useSitePluginsToggle: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
2004
|
+
mutation?: UseMutationOptions<AxiosResponse<SitePluginsToggle200, any>, TError, {
|
|
2005
|
+
siteId: string;
|
|
2006
|
+
data: SitePluginsToggleBody;
|
|
2007
|
+
}, TContext> | undefined;
|
|
2008
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2009
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitePluginsToggle200, any>, TError, {
|
|
2010
|
+
siteId: string;
|
|
2011
|
+
data: SitePluginsToggleBody;
|
|
2012
|
+
}, TContext>;
|
|
2013
|
+
/**
|
|
2014
|
+
* Updates a plugin
|
|
2015
|
+
* @summary plugins update
|
|
2016
|
+
*/
|
|
2017
|
+
export declare const sitePluginsUpdate: (siteId: string, sitePluginsUpdateBody: SitePluginsUpdateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitePluginsUpdate200>>;
|
|
2018
|
+
export declare type SitePluginsUpdateMutationResult = NonNullable<Awaited<ReturnType<typeof sitePluginsUpdate>>>;
|
|
2019
|
+
export declare type SitePluginsUpdateMutationBody = SitePluginsUpdateBody;
|
|
2020
|
+
export declare type SitePluginsUpdateMutationError = AxiosError<unknown>;
|
|
2021
|
+
export declare const useSitePluginsUpdate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
2022
|
+
mutation?: UseMutationOptions<AxiosResponse<SitePluginsUpdate200, any>, TError, {
|
|
2023
|
+
siteId: string;
|
|
2024
|
+
data: SitePluginsUpdateBody;
|
|
2025
|
+
}, TContext> | undefined;
|
|
2026
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2027
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitePluginsUpdate200, any>, TError, {
|
|
2028
|
+
siteId: string;
|
|
2029
|
+
data: SitePluginsUpdateBody;
|
|
2030
|
+
}, TContext>;
|
|
2031
|
+
/**
|
|
2032
|
+
* Resets a site - deletes/reinstalls the site.
|
|
2033
|
+
* @summary reset site
|
|
2034
|
+
*/
|
|
2035
|
+
export declare const resetSite: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<ResetSite200>>;
|
|
2036
|
+
export declare type ResetSiteMutationResult = NonNullable<Awaited<ReturnType<typeof resetSite>>>;
|
|
2037
|
+
export declare type ResetSiteMutationError = AxiosError<unknown>;
|
|
2038
|
+
export declare const useResetSite: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
2039
|
+
mutation?: UseMutationOptions<AxiosResponse<ResetSite200, any>, TError, {
|
|
2040
|
+
siteId: number;
|
|
2041
|
+
}, TContext> | undefined;
|
|
2042
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2043
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<ResetSite200, any>, TError, {
|
|
2044
|
+
siteId: number;
|
|
2045
|
+
}, TContext>;
|
|
2046
|
+
/**
|
|
2047
|
+
* Performs a checksum of the site's core files to verify integrity.
|
|
2048
|
+
* @summary core files checksum
|
|
2049
|
+
*/
|
|
2050
|
+
export declare const sitesSecurityCheckCore: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSecurityCheckCore200>>;
|
|
2051
|
+
export declare const getSitesSecurityCheckCoreQueryKey: (siteId: number) => string[];
|
|
2052
|
+
export declare type SitesSecurityCheckCoreQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSecurityCheckCore>>>;
|
|
2053
|
+
export declare type SitesSecurityCheckCoreQueryError = AxiosError<unknown>;
|
|
2054
|
+
export declare const useSitesSecurityCheckCore: <TData = AxiosResponse<SitesSecurityCheckCore200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
2055
|
+
query?: UseQueryOptions<AxiosResponse<SitesSecurityCheckCore200, any>, TError, TData, QueryKey> | undefined;
|
|
2056
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2057
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
2058
|
+
queryKey: QueryKey;
|
|
2059
|
+
};
|
|
2060
|
+
/**
|
|
2061
|
+
* Resets the site's core files.
|
|
2062
|
+
* @summary core files reset
|
|
2063
|
+
*/
|
|
2064
|
+
export declare const sitesSecurityResetCoreFiles: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSecurityResetCoreFiles200>>;
|
|
2065
|
+
export declare type SitesSecurityResetCoreFilesMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSecurityResetCoreFiles>>>;
|
|
2066
|
+
export declare type SitesSecurityResetCoreFilesMutationError = AxiosError<unknown>;
|
|
2067
|
+
export declare const useSitesSecurityResetCoreFiles: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
2068
|
+
mutation?: UseMutationOptions<AxiosResponse<SitesSecurityResetCoreFiles200, any>, TError, {
|
|
2069
|
+
siteId: number;
|
|
2070
|
+
}, TContext> | undefined;
|
|
2071
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2072
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSecurityResetCoreFiles200, any>, TError, {
|
|
2073
|
+
siteId: number;
|
|
2074
|
+
}, TContext>;
|
|
2075
|
+
/**
|
|
2076
|
+
* Returns the HTTPS redirection status.
|
|
2077
|
+
* @summary https redirection status
|
|
2078
|
+
*/
|
|
2079
|
+
export declare const sitesSecurityHttpsRedirectionStatus: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSecurityHttpsRedirectionStatus200>>;
|
|
2080
|
+
export declare const getSitesSecurityHttpsRedirectionStatusQueryKey: (siteId: number) => string[];
|
|
2081
|
+
export declare type SitesSecurityHttpsRedirectionStatusQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSecurityHttpsRedirectionStatus>>>;
|
|
2082
|
+
export declare type SitesSecurityHttpsRedirectionStatusQueryError = AxiosError<unknown>;
|
|
2083
|
+
export declare const useSitesSecurityHttpsRedirectionStatus: <TData = AxiosResponse<SitesSecurityHttpsRedirectionStatus200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
2084
|
+
query?: UseQueryOptions<AxiosResponse<SitesSecurityHttpsRedirectionStatus200, any>, TError, TData, QueryKey> | undefined;
|
|
2085
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2086
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
2087
|
+
queryKey: QueryKey;
|
|
2088
|
+
};
|
|
2089
|
+
/**
|
|
2090
|
+
* Enables / disables HTTPS redirection.
|
|
2091
|
+
* @summary https redirection toggle
|
|
2092
|
+
*/
|
|
2093
|
+
export declare const sitesSecurityHttpsEnableDisableSsl: (siteId: number, sitesSecurityHttpsEnableDisableSslBody: SitesSecurityHttpsEnableDisableSslBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSecurityHttpsEnableDisableSsl200>>;
|
|
2094
|
+
export declare type SitesSecurityHttpsEnableDisableSslMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSecurityHttpsEnableDisableSsl>>>;
|
|
2095
|
+
export declare type SitesSecurityHttpsEnableDisableSslMutationBody = SitesSecurityHttpsEnableDisableSslBody;
|
|
2096
|
+
export declare type SitesSecurityHttpsEnableDisableSslMutationError = AxiosError<unknown>;
|
|
2097
|
+
export declare const useSitesSecurityHttpsEnableDisableSsl: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
2098
|
+
mutation?: UseMutationOptions<AxiosResponse<SitesSecurityHttpsEnableDisableSsl200, any>, TError, {
|
|
2099
|
+
siteId: number;
|
|
2100
|
+
data: SitesSecurityHttpsEnableDisableSslBody;
|
|
2101
|
+
}, TContext> | undefined;
|
|
2102
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2103
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSecurityHttpsEnableDisableSsl200, any>, TError, {
|
|
2104
|
+
siteId: number;
|
|
2105
|
+
data: SitesSecurityHttpsEnableDisableSslBody;
|
|
2106
|
+
}, TContext>;
|
|
2107
|
+
/**
|
|
2108
|
+
* Returns the site's sitelock information.
|
|
2109
|
+
* @summary sitelock info
|
|
2110
|
+
*/
|
|
2111
|
+
export declare const sitesSecuritySitelock: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSecuritySitelock200>>;
|
|
2112
|
+
export declare const getSitesSecuritySitelockQueryKey: (siteId: number) => string[];
|
|
2113
|
+
export declare type SitesSecuritySitelockQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSecuritySitelock>>>;
|
|
2114
|
+
export declare type SitesSecuritySitelockQueryError = AxiosError<unknown>;
|
|
2115
|
+
export declare const useSitesSecuritySitelock: <TData = AxiosResponse<SitesSecuritySitelock200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
2116
|
+
query?: UseQueryOptions<AxiosResponse<SitesSecuritySitelock200, any>, TError, TData, QueryKey> | undefined;
|
|
2117
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2118
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
2119
|
+
queryKey: QueryKey;
|
|
2120
|
+
};
|
|
2121
|
+
/**
|
|
2122
|
+
* Disables / enables cPanel to generate Let's Encrypt SSLs for the site.
|
|
2123
|
+
* @summary ssl lets encrypt toggle
|
|
2124
|
+
*/
|
|
2125
|
+
export declare const sitesSecuritySslAcme: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSecuritySslAcme200>>;
|
|
2126
|
+
export declare type SitesSecuritySslAcmeMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSecuritySslAcme>>>;
|
|
2127
|
+
export declare type SitesSecuritySslAcmeMutationError = AxiosError<unknown>;
|
|
2128
|
+
export declare const useSitesSecuritySslAcme: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
2129
|
+
mutation?: UseMutationOptions<AxiosResponse<SitesSecuritySslAcme200, any>, TError, {
|
|
2130
|
+
siteId: number;
|
|
2131
|
+
}, TContext> | undefined;
|
|
2132
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2133
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSecuritySslAcme200, any>, TError, {
|
|
2134
|
+
siteId: number;
|
|
2135
|
+
}, TContext>;
|
|
2136
|
+
/**
|
|
2137
|
+
* Returns the site's SSL Status
|
|
2138
|
+
* @summary ssl status
|
|
2139
|
+
*/
|
|
2140
|
+
export declare const sitesSecuritySslStatus: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSecuritySslStatus200>>;
|
|
2141
|
+
export declare const getSitesSecuritySslStatusQueryKey: (siteId: number) => string[];
|
|
2142
|
+
export declare type SitesSecuritySslStatusQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSecuritySslStatus>>>;
|
|
2143
|
+
export declare type SitesSecuritySslStatusQueryError = AxiosError<unknown>;
|
|
2144
|
+
export declare const useSitesSecuritySslStatus: <TData = AxiosResponse<SitesSecuritySslStatus200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
2145
|
+
query?: UseQueryOptions<AxiosResponse<SitesSecuritySslStatus200, any>, TError, TData, QueryKey> | undefined;
|
|
2146
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2147
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
2148
|
+
queryKey: QueryKey;
|
|
2149
|
+
};
|
|
2150
|
+
/**
|
|
2151
|
+
* Returns status of plugin autoupdate for site
|
|
2152
|
+
* @deprecated
|
|
2153
|
+
* @summary plugins autoupdate status
|
|
2154
|
+
*/
|
|
2155
|
+
export declare const siteSettingsAutoupdatePlugins: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SiteSettingsAutoupdatePlugins200>>;
|
|
2156
|
+
export declare const getSiteSettingsAutoupdatePluginsQueryKey: (siteId: number) => string[];
|
|
2157
|
+
export declare type SiteSettingsAutoupdatePluginsQueryResult = NonNullable<Awaited<ReturnType<typeof siteSettingsAutoupdatePlugins>>>;
|
|
2158
|
+
export declare type SiteSettingsAutoupdatePluginsQueryError = AxiosError<unknown>;
|
|
2159
|
+
export declare const useSiteSettingsAutoupdatePlugins: <TData = AxiosResponse<SiteSettingsAutoupdatePlugins200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
2160
|
+
query?: UseQueryOptions<AxiosResponse<SiteSettingsAutoupdatePlugins200, any>, TError, TData, QueryKey> | undefined;
|
|
2161
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2162
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
2163
|
+
queryKey: QueryKey;
|
|
2164
|
+
};
|
|
2165
|
+
/**
|
|
2166
|
+
* Returns the autoupdate status of the site's core, themes, and plugins
|
|
2167
|
+
* @deprecated
|
|
2168
|
+
* @summary settings autoupdates
|
|
2169
|
+
*/
|
|
2170
|
+
export declare const sitesSettingsAutoupdates: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSettingsAutoupdates200>>;
|
|
2171
|
+
export declare const getSitesSettingsAutoupdatesQueryKey: (siteId: number) => string[];
|
|
2172
|
+
export declare type SitesSettingsAutoupdatesQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSettingsAutoupdates>>>;
|
|
2173
|
+
export declare type SitesSettingsAutoupdatesQueryError = AxiosError<unknown>;
|
|
2174
|
+
export declare const useSitesSettingsAutoupdates: <TData = AxiosResponse<SitesSettingsAutoupdates200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
2175
|
+
query?: UseQueryOptions<AxiosResponse<SitesSettingsAutoupdates200, any>, TError, TData, QueryKey> | undefined;
|
|
2176
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2177
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
2178
|
+
queryKey: QueryKey;
|
|
2179
|
+
};
|
|
2180
|
+
/**
|
|
2181
|
+
* Enables WP Core autoupdates
|
|
2182
|
+
* @deprecated
|
|
2183
|
+
* @summary settings autoupdates core enable
|
|
2184
|
+
*/
|
|
2185
|
+
export declare const sitesSettingsAutoupdatesCore: (siteId: number, sitesSettingsAutoupdatesCoreBody: SitesSettingsAutoupdatesCoreBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSettingsAutoupdatesCore200>>;
|
|
2186
|
+
export declare type SitesSettingsAutoupdatesCoreMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSettingsAutoupdatesCore>>>;
|
|
2187
|
+
export declare type SitesSettingsAutoupdatesCoreMutationBody = SitesSettingsAutoupdatesCoreBody;
|
|
2188
|
+
export declare type SitesSettingsAutoupdatesCoreMutationError = AxiosError<unknown>;
|
|
2189
|
+
export declare const useSitesSettingsAutoupdatesCore: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
2190
|
+
mutation?: UseMutationOptions<AxiosResponse<SitesSettingsAutoupdatesCore200, any>, TError, {
|
|
2191
|
+
siteId: number;
|
|
2192
|
+
data: SitesSettingsAutoupdatesCoreBody;
|
|
2193
|
+
}, TContext> | undefined;
|
|
2194
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2195
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSettingsAutoupdatesCore200, any>, TError, {
|
|
2196
|
+
siteId: number;
|
|
2197
|
+
data: SitesSettingsAutoupdatesCoreBody;
|
|
2198
|
+
}, TContext>;
|
|
2199
|
+
/**
|
|
2200
|
+
* Enables theme autoupdates
|
|
2201
|
+
* @deprecated
|
|
2202
|
+
* @summary settings autoupdate theme enable
|
|
2203
|
+
*/
|
|
2204
|
+
export declare const sitesSettingsAutoupdatesTheme: (siteId: number, sitesSettingsAutoupdatesThemeBody: SitesSettingsAutoupdatesThemeBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSettingsAutoupdatesTheme200>>;
|
|
2205
|
+
export declare type SitesSettingsAutoupdatesThemeMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSettingsAutoupdatesTheme>>>;
|
|
2206
|
+
export declare type SitesSettingsAutoupdatesThemeMutationBody = SitesSettingsAutoupdatesThemeBody;
|
|
2207
|
+
export declare type SitesSettingsAutoupdatesThemeMutationError = AxiosError<unknown>;
|
|
2208
|
+
export declare const useSitesSettingsAutoupdatesTheme: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
2209
|
+
mutation?: UseMutationOptions<AxiosResponse<SitesSettingsAutoupdatesTheme200, any>, TError, {
|
|
2210
|
+
siteId: number;
|
|
2211
|
+
data: SitesSettingsAutoupdatesThemeBody;
|
|
2212
|
+
}, TContext> | undefined;
|
|
2213
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2214
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSettingsAutoupdatesTheme200, any>, TError, {
|
|
2215
|
+
siteId: number;
|
|
2216
|
+
data: SitesSettingsAutoupdatesThemeBody;
|
|
2217
|
+
}, TContext>;
|
|
2218
|
+
/**
|
|
2219
|
+
* Returns whether the coming soon setting is enable or disabled
|
|
2220
|
+
* @summary settings coming soon page status
|
|
2221
|
+
*/
|
|
2222
|
+
export declare const sitesSettingsComingSoon: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSettingsComingSoon200>>;
|
|
2223
|
+
export declare const getSitesSettingsComingSoonQueryKey: (siteId: number) => string[];
|
|
2224
|
+
export declare type SitesSettingsComingSoonQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSettingsComingSoon>>>;
|
|
2225
|
+
export declare type SitesSettingsComingSoonQueryError = AxiosError<unknown>;
|
|
2226
|
+
export declare const useSitesSettingsComingSoon: <TData = AxiosResponse<SitesSettingsComingSoon200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
2227
|
+
query?: UseQueryOptions<AxiosResponse<SitesSettingsComingSoon200, any>, TError, TData, QueryKey> | undefined;
|
|
2228
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2229
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
2230
|
+
queryKey: QueryKey;
|
|
2231
|
+
};
|
|
2232
|
+
/**
|
|
2233
|
+
* Enables/disables the coming soon (under-construction) page
|
|
2234
|
+
* @summary settings coming soon toggle
|
|
2235
|
+
*/
|
|
2236
|
+
export declare const sitesSettingsComingSoonToggle: (siteId: number, sitesSettingsComingSoonToggleBody: SitesSettingsComingSoonToggleBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSettingsComingSoonToggle200>>;
|
|
2237
|
+
export declare type SitesSettingsComingSoonToggleMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSettingsComingSoonToggle>>>;
|
|
2238
|
+
export declare type SitesSettingsComingSoonToggleMutationBody = SitesSettingsComingSoonToggleBody;
|
|
2239
|
+
export declare type SitesSettingsComingSoonToggleMutationError = AxiosError<unknown>;
|
|
2240
|
+
export declare const useSitesSettingsComingSoonToggle: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
2241
|
+
mutation?: UseMutationOptions<AxiosResponse<SitesSettingsComingSoonToggle200, any>, TError, {
|
|
2242
|
+
siteId: number;
|
|
2243
|
+
data: SitesSettingsComingSoonToggleBody;
|
|
2244
|
+
}, TContext> | undefined;
|
|
2245
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2246
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSettingsComingSoonToggle200, any>, TError, {
|
|
2247
|
+
siteId: number;
|
|
2248
|
+
data: SitesSettingsComingSoonToggleBody;
|
|
2249
|
+
}, TContext>;
|
|
2250
|
+
/**
|
|
2251
|
+
* Returns the site's debug mode status
|
|
2252
|
+
* @summary settings debug status
|
|
2253
|
+
*/
|
|
2254
|
+
export declare const sitesSettingsDebug: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSettingsDebug200>>;
|
|
2255
|
+
export declare const getSitesSettingsDebugQueryKey: (siteId: number) => string[];
|
|
2256
|
+
export declare type SitesSettingsDebugQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSettingsDebug>>>;
|
|
2257
|
+
export declare type SitesSettingsDebugQueryError = AxiosError<unknown>;
|
|
2258
|
+
export declare const useSitesSettingsDebug: <TData = AxiosResponse<SitesSettingsDebug200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
2259
|
+
query?: UseQueryOptions<AxiosResponse<SitesSettingsDebug200, any>, TError, TData, QueryKey> | undefined;
|
|
2260
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2261
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
2262
|
+
queryKey: QueryKey;
|
|
2263
|
+
};
|
|
2264
|
+
/**
|
|
2265
|
+
* Enables or disables the output and display of site generated errors on the site
|
|
2266
|
+
* @summary settings debug toggle
|
|
2267
|
+
*/
|
|
2268
|
+
export declare const sitesSettingsDebugToggle: (siteId: number, sitesSettingsDebugToggleBody: SitesSettingsDebugToggleBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSettingsDebugToggle200>>;
|
|
2269
|
+
export declare type SitesSettingsDebugToggleMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSettingsDebugToggle>>>;
|
|
2270
|
+
export declare type SitesSettingsDebugToggleMutationBody = SitesSettingsDebugToggleBody;
|
|
2271
|
+
export declare type SitesSettingsDebugToggleMutationError = AxiosError<unknown>;
|
|
2272
|
+
export declare const useSitesSettingsDebugToggle: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
2273
|
+
mutation?: UseMutationOptions<AxiosResponse<SitesSettingsDebugToggle200, any>, TError, {
|
|
2274
|
+
siteId: number;
|
|
2275
|
+
data: SitesSettingsDebugToggleBody;
|
|
2276
|
+
}, TContext> | undefined;
|
|
2277
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2278
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSettingsDebugToggle200, any>, TError, {
|
|
2279
|
+
siteId: number;
|
|
2280
|
+
data: SitesSettingsDebugToggleBody;
|
|
2281
|
+
}, TContext>;
|
|
2282
|
+
/**
|
|
2283
|
+
* Updates the site's PHP version
|
|
2284
|
+
* @summary settings php version update
|
|
2285
|
+
*/
|
|
2286
|
+
export declare const sitesSettingsPhpVersionUpdate: (siteId: number, sitesSettingsPhpVersionUpdateBody: SitesSettingsPhpVersionUpdateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSettingsPhpVersionUpdate200>>;
|
|
2287
|
+
export declare type SitesSettingsPhpVersionUpdateMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSettingsPhpVersionUpdate>>>;
|
|
2288
|
+
export declare type SitesSettingsPhpVersionUpdateMutationBody = SitesSettingsPhpVersionUpdateBody;
|
|
2289
|
+
export declare type SitesSettingsPhpVersionUpdateMutationError = AxiosError<unknown>;
|
|
2290
|
+
export declare const useSitesSettingsPhpVersionUpdate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
2291
|
+
mutation?: UseMutationOptions<AxiosResponse<SitesSettingsPhpVersionUpdate200, any>, TError, {
|
|
2292
|
+
siteId: number;
|
|
2293
|
+
data: SitesSettingsPhpVersionUpdateBody;
|
|
2294
|
+
}, TContext> | undefined;
|
|
2295
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2296
|
+
} | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSettingsPhpVersionUpdate200, any>, TError, {
|
|
2297
|
+
siteId: number;
|
|
2298
|
+
data: SitesSettingsPhpVersionUpdateBody;
|
|
2299
|
+
}, TContext>;
|
|
2300
|
+
/**
|
|
2301
|
+
* Gets the list of PHP versions available/installed
|
|
2302
|
+
* @summary settings php versions list
|
|
2303
|
+
*/
|
|
2304
|
+
export declare const sitesSettingsPhpVersions: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSettingsPhpVersions200>>;
|
|
2305
|
+
export declare const getSitesSettingsPhpVersionsQueryKey: (siteId: number) => string[];
|
|
2306
|
+
export declare type SitesSettingsPhpVersionsQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSettingsPhpVersions>>>;
|
|
2307
|
+
export declare type SitesSettingsPhpVersionsQueryError = AxiosError<unknown>;
|
|
2308
|
+
export declare const useSitesSettingsPhpVersions: <TData = AxiosResponse<SitesSettingsPhpVersions200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
2309
|
+
query?: UseQueryOptions<AxiosResponse<SitesSettingsPhpVersions200, any>, TError, TData, QueryKey> | undefined;
|
|
2310
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2311
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
2312
|
+
queryKey: QueryKey;
|
|
2313
|
+
};
|
|
2314
|
+
/**
|
|
2315
|
+
* Returns an SSO token or login URL for the site (if supported).
|
|
2316
|
+
* @summary sso
|
|
2317
|
+
*/
|
|
2318
|
+
export declare const sitesSso: (siteId: number, params?: SitesSsoParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSso200>>;
|
|
2319
|
+
export declare const getSitesSsoQueryKey: (siteId: number, params?: SitesSsoParams) => (string | SitesSsoParams)[];
|
|
2320
|
+
export declare type SitesSsoQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSso>>>;
|
|
2321
|
+
export declare type SitesSsoQueryError = AxiosError<unknown>;
|
|
2322
|
+
export declare const useSitesSso: <TData = AxiosResponse<SitesSso200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesSsoParams, options?: {
|
|
2323
|
+
query?: UseQueryOptions<AxiosResponse<SitesSso200, any>, TError, TData, QueryKey> | undefined;
|
|
2324
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2325
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
2326
|
+
queryKey: QueryKey;
|
|
2327
|
+
};
|
|
2328
|
+
/**
|
|
2329
|
+
* Returns a list of the site's users
|
|
2330
|
+
* @summary users
|
|
2331
|
+
*/
|
|
2332
|
+
export declare const siteUsers: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SiteUsers200>>;
|
|
2333
|
+
export declare const getSiteUsersQueryKey: (siteId: number) => string[];
|
|
2334
|
+
export declare type SiteUsersQueryResult = NonNullable<Awaited<ReturnType<typeof siteUsers>>>;
|
|
2335
|
+
export declare type SiteUsersQueryError = AxiosError<unknown>;
|
|
2336
|
+
export declare const useSiteUsers: <TData = AxiosResponse<SiteUsers200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
2337
|
+
query?: UseQueryOptions<AxiosResponse<SiteUsers200, any>, TError, TData, QueryKey> | undefined;
|
|
2338
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2339
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
2340
|
+
queryKey: QueryKey;
|
|
2341
|
+
};
|
|
2342
|
+
/**
|
|
2343
|
+
* Returns site version information.
|
|
2344
|
+
* @summary version
|
|
2345
|
+
*/
|
|
2346
|
+
export declare const sitesVersion: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesVersion200>>;
|
|
2347
|
+
export declare const getSitesVersionQueryKey: (siteId: number) => string[];
|
|
2348
|
+
export declare type SitesVersionQueryResult = NonNullable<Awaited<ReturnType<typeof sitesVersion>>>;
|
|
2349
|
+
export declare type SitesVersionQueryError = AxiosError<unknown>;
|
|
2350
|
+
export declare const useSitesVersion: <TData = AxiosResponse<SitesVersion200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
|
|
2351
|
+
query?: UseQueryOptions<AxiosResponse<SitesVersion200, any>, TError, TData, QueryKey> | undefined;
|
|
2352
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2353
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
2354
|
+
queryKey: QueryKey;
|
|
2355
|
+
};
|
|
2356
|
+
/**
|
|
2357
|
+
* Returns a list of sites.
|
|
2358
|
+
* @summary sites list v2
|
|
2359
|
+
*/
|
|
2360
|
+
export declare const hostingSitesV2: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingSitesV2200>>;
|
|
2361
|
+
export declare const getHostingSitesV2QueryKey: (hostingId: number) => string[];
|
|
2362
|
+
export declare type HostingSitesV2QueryResult = NonNullable<Awaited<ReturnType<typeof hostingSitesV2>>>;
|
|
2363
|
+
export declare type HostingSitesV2QueryError = AxiosError<unknown>;
|
|
2364
|
+
export declare const useHostingSitesV2: <TData = AxiosResponse<HostingSitesV2200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
|
|
2365
|
+
query?: UseQueryOptions<AxiosResponse<HostingSitesV2200, any>, TError, TData, QueryKey> | undefined;
|
|
2366
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2367
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
2368
|
+
queryKey: QueryKey;
|
|
2369
|
+
};
|
|
2370
|
+
/**
|
|
2371
|
+
* List all SSH keys on a server or account. Finds all keys in user's .ssh/ diretory.
|
|
2372
|
+
* @summary ssh keys list
|
|
2373
|
+
*/
|
|
2374
|
+
export declare const sshKeyListV2: (hostingId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<SshKeyListV2200>>;
|
|
2375
|
+
export declare const getSshKeyListV2QueryKey: (hostingId: string) => string[];
|
|
2376
|
+
export declare type SshKeyListV2QueryResult = NonNullable<Awaited<ReturnType<typeof sshKeyListV2>>>;
|
|
2377
|
+
export declare type SshKeyListV2QueryError = AxiosError<unknown>;
|
|
2378
|
+
export declare const useSshKeyListV2: <TData = AxiosResponse<SshKeyListV2200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
|
|
2379
|
+
query?: UseQueryOptions<AxiosResponse<SshKeyListV2200, any>, TError, TData, QueryKey> | undefined;
|
|
2380
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
2381
|
+
} | undefined) => UseQueryResult<TData, TError> & {
|
|
2382
|
+
queryKey: QueryKey;
|
|
2383
|
+
};
|
|
2384
|
+
export declare const getCodeguardBackupListMock: () => {
|
|
2385
|
+
backups: {
|
|
2386
|
+
website_commit_id: string | undefined;
|
|
2387
|
+
event_time: string | undefined;
|
|
2388
|
+
database_backups: {
|
|
2389
|
+
id: number | undefined;
|
|
2390
|
+
commit_id: string | undefined;
|
|
2391
|
+
event_time: string | undefined;
|
|
2392
|
+
recommended: boolean | undefined;
|
|
2393
|
+
}[] | undefined;
|
|
2394
|
+
}[] | undefined;
|
|
2395
|
+
};
|
|
2396
|
+
export declare const getCodeguardBackupCreateMock: () => {
|
|
2397
|
+
status: string | undefined;
|
|
2398
|
+
};
|
|
2399
|
+
export declare const getCodeguardBackupDownloadMock: () => {
|
|
2400
|
+
status: string | undefined;
|
|
2401
|
+
};
|
|
2402
|
+
export declare const getCodeguardBackupRestoreMock: () => {
|
|
2403
|
+
website_success: boolean | undefined;
|
|
2404
|
+
database_success: boolean | undefined;
|
|
2405
|
+
};
|
|
2406
|
+
export declare const getCodeguardDatabaseListMock: () => {
|
|
2407
|
+
status: number | undefined;
|
|
2408
|
+
databases: {
|
|
2409
|
+
database_backup: {
|
|
2410
|
+
id: number | undefined;
|
|
2411
|
+
account: string | undefined;
|
|
2412
|
+
website_id: number | undefined;
|
|
2413
|
+
commit_id: string | undefined;
|
|
2414
|
+
} | undefined;
|
|
2415
|
+
}[] | undefined;
|
|
2416
|
+
};
|
|
2417
|
+
export declare const getCodeguardDatabaseBackupListMock: () => {
|
|
2418
|
+
backups: {
|
|
2419
|
+
commit_id: string | undefined;
|
|
2420
|
+
event_time: string | undefined;
|
|
2421
|
+
}[] | undefined;
|
|
2422
|
+
};
|
|
2423
|
+
export declare const getCodeguardDatabaseBackupCreateMock: () => {
|
|
2424
|
+
status: string | undefined;
|
|
2425
|
+
};
|
|
2426
|
+
export declare const getCodeguardDatabaseBackupRestoreMock: () => {
|
|
2427
|
+
status: string | undefined;
|
|
2428
|
+
};
|
|
2429
|
+
export declare const getCodeguardLoginLinkMock: () => {
|
|
2430
|
+
link: string | undefined;
|
|
2431
|
+
};
|
|
2432
|
+
export declare const getCodeguardPlanInfoMock: () => {
|
|
2433
|
+
size: number | undefined;
|
|
2434
|
+
size_limit: number | undefined;
|
|
2435
|
+
seat_count: number | undefined;
|
|
2436
|
+
seat_limit: number | undefined;
|
|
2437
|
+
status: string | undefined;
|
|
2438
|
+
plan_name: string | undefined;
|
|
2439
|
+
seats: {
|
|
2440
|
+
url: string | undefined;
|
|
2441
|
+
activated: boolean | undefined;
|
|
2442
|
+
website_id: number | undefined;
|
|
2443
|
+
}[] | undefined;
|
|
2444
|
+
};
|
|
2445
|
+
export declare const getCodeguardWebsiteListMock: () => {
|
|
2446
|
+
website_list: {
|
|
2447
|
+
website: {
|
|
2448
|
+
id: number | undefined;
|
|
2449
|
+
activated: boolean | undefined;
|
|
2450
|
+
url: string | undefined;
|
|
2451
|
+
} | undefined;
|
|
2452
|
+
}[] | undefined;
|
|
2453
|
+
};
|
|
2454
|
+
export declare const getCodeguardWebsiteBackupListMock: () => {
|
|
2455
|
+
backups: {
|
|
2456
|
+
commit_id: string | undefined;
|
|
2457
|
+
event_time: string | undefined;
|
|
2458
|
+
modifications: number | undefined;
|
|
2459
|
+
new_content: boolean | undefined;
|
|
2460
|
+
}[] | undefined;
|
|
2461
|
+
};
|
|
2462
|
+
export declare const getCodeguardWebsiteBackupCreateMock: () => {
|
|
2463
|
+
status: string | undefined;
|
|
2464
|
+
};
|
|
2465
|
+
export declare const getCodeguardWebsiteBackupRestoreMock: () => {
|
|
2466
|
+
status: string | undefined;
|
|
2467
|
+
};
|
|
2468
|
+
export declare const getAddonsSitelockSsoMock: () => {
|
|
2469
|
+
site_url: string | undefined;
|
|
2470
|
+
sitelock_id: string | undefined;
|
|
2471
|
+
url: string | undefined;
|
|
2472
|
+
};
|
|
2473
|
+
export declare const getAddonsCloudflareMock: () => {
|
|
2474
|
+
status: string | undefined;
|
|
2475
|
+
};
|
|
2476
|
+
export declare const getAddonsInfoMock: () => {
|
|
2477
|
+
id: string | undefined;
|
|
2478
|
+
};
|
|
2479
|
+
export declare const getHostingAccountMock: () => {
|
|
2480
|
+
id: string | undefined;
|
|
2481
|
+
account_id: string | undefined;
|
|
2482
|
+
brand: string | undefined;
|
|
2483
|
+
platform: string | undefined;
|
|
2484
|
+
username: string | undefined;
|
|
2485
|
+
status: string | undefined;
|
|
2486
|
+
type: string | undefined;
|
|
2487
|
+
advanced: boolean | undefined;
|
|
2488
|
+
plan: string | undefined;
|
|
2489
|
+
};
|
|
2490
|
+
export declare const getHostingAddonsMock: () => {
|
|
2491
|
+
rows: {
|
|
2492
|
+
id: string | undefined;
|
|
2493
|
+
type: string | undefined;
|
|
2494
|
+
subtype: string | undefined;
|
|
2495
|
+
status: string | undefined;
|
|
2496
|
+
status_user: string | undefined;
|
|
2497
|
+
}[] | undefined;
|
|
2498
|
+
};
|
|
2499
|
+
export declare const getHostingAdvancedCrontabMock: () => {
|
|
2500
|
+
rows: {
|
|
2501
|
+
command: string | undefined;
|
|
2502
|
+
day: string | undefined;
|
|
2503
|
+
hour: string | undefined;
|
|
2504
|
+
key: string | undefined;
|
|
2505
|
+
line: string | undefined;
|
|
2506
|
+
minute: string | undefined;
|
|
2507
|
+
month: string | undefined;
|
|
2508
|
+
type: string | undefined;
|
|
2509
|
+
weekday: string | undefined;
|
|
2510
|
+
}[] | undefined;
|
|
2511
|
+
};
|
|
2512
|
+
export declare const getHostingAdvancedServerMock: () => {
|
|
2513
|
+
status: string | undefined;
|
|
2514
|
+
uptime: string | undefined;
|
|
2515
|
+
uptime_seconds: number | undefined;
|
|
2516
|
+
actions: {} | undefined;
|
|
2517
|
+
};
|
|
2518
|
+
export declare const getHostingAdvancedServerStatusMock: () => {
|
|
2519
|
+
status: string | undefined;
|
|
2520
|
+
uptime: string | undefined;
|
|
2521
|
+
uptime_seconds: number | undefined;
|
|
2522
|
+
actions: {} | undefined;
|
|
2523
|
+
};
|
|
2524
|
+
export declare const getHostingAdvancedPasswordMock: () => {
|
|
2525
|
+
success: boolean | undefined;
|
|
2526
|
+
};
|
|
2527
|
+
export declare const getHostingAdvancedSsoWhmMock: () => {
|
|
2528
|
+
url: string | undefined;
|
|
2529
|
+
};
|
|
2530
|
+
export declare const getHostingAdvancedSystemConsoleMock: () => {
|
|
2531
|
+
url: string | undefined;
|
|
2532
|
+
};
|
|
2533
|
+
export declare const getHostingCapabilitiesMock: () => {
|
|
2534
|
+
server_controls: boolean | undefined;
|
|
2535
|
+
sites: boolean | undefined;
|
|
2536
|
+
cpanel: boolean | undefined;
|
|
2537
|
+
whm: boolean | undefined;
|
|
2538
|
+
advanced_hosting: boolean | undefined;
|
|
2539
|
+
};
|
|
2540
|
+
export declare const getAddonCloudflareMock: () => {
|
|
2541
|
+
status: string | undefined;
|
|
2542
|
+
addon_id: number | undefined;
|
|
2543
|
+
};
|
|
2544
|
+
export declare const getDomainsMock: () => {
|
|
2545
|
+
domains: {
|
|
2546
|
+
docroot: string;
|
|
2547
|
+
domain: string;
|
|
2548
|
+
type: string;
|
|
2549
|
+
id: number;
|
|
2550
|
+
}[];
|
|
2551
|
+
};
|
|
2552
|
+
export declare const getHostingFtpListMock: () => {
|
|
2553
|
+
ftp_accounts: {
|
|
2554
|
+
user: string | undefined;
|
|
2555
|
+
homedir: string | undefined;
|
|
2556
|
+
type: string | undefined;
|
|
2557
|
+
}[] | undefined;
|
|
2558
|
+
special_ftp_accounts: {
|
|
2559
|
+
user: string | undefined;
|
|
2560
|
+
homedir: string | undefined;
|
|
2561
|
+
type: string | undefined;
|
|
2562
|
+
}[] | undefined;
|
|
2563
|
+
};
|
|
2564
|
+
export declare const getHostingFtpAddMock: () => {
|
|
2565
|
+
user: string | undefined;
|
|
2566
|
+
pass: string | undefined;
|
|
2567
|
+
};
|
|
2568
|
+
export declare const getHostingFtpMock: () => {
|
|
2569
|
+
status: number | undefined;
|
|
2570
|
+
user: string | undefined;
|
|
2571
|
+
};
|
|
2572
|
+
export declare const getHostingInfoMock: () => {
|
|
2573
|
+
ip: string | undefined;
|
|
2574
|
+
};
|
|
2575
|
+
export declare const getHostingInfoDiskUsageMock: () => {
|
|
2576
|
+
diskused: string | undefined;
|
|
2577
|
+
disklimit: string | undefined;
|
|
2578
|
+
};
|
|
2579
|
+
export declare const getHostingMigrationStatusMock: () => {
|
|
2580
|
+
rows: {
|
|
2581
|
+
id: string | undefined;
|
|
2582
|
+
type: string | undefined;
|
|
2583
|
+
subtype: string | undefined;
|
|
2584
|
+
status: string | undefined;
|
|
2585
|
+
}[] | undefined;
|
|
2586
|
+
};
|
|
2587
|
+
export declare const getHostingMigrationsMock: () => {
|
|
2588
|
+
success: boolean | undefined;
|
|
2589
|
+
};
|
|
2590
|
+
export declare const getHostingMigrationsEventMock: () => {
|
|
2591
|
+
success: boolean | undefined;
|
|
2592
|
+
};
|
|
2593
|
+
export declare const getHostingMigrationInfoMock: () => {
|
|
2594
|
+
migration_id: string | undefined;
|
|
2595
|
+
domain: string | undefined;
|
|
2596
|
+
site_url: string | undefined;
|
|
2597
|
+
hostname: string | undefined;
|
|
2598
|
+
feasible: string | undefined;
|
|
2599
|
+
source_type: string | undefined;
|
|
2600
|
+
product_type: string | undefined;
|
|
2601
|
+
incoming_domain: string | undefined;
|
|
2602
|
+
};
|
|
2603
|
+
export declare const getHostingMigrationSiteScanStatusMock: () => {
|
|
2604
|
+
transferable: boolean | undefined;
|
|
2605
|
+
callback_url: string | undefined;
|
|
2606
|
+
};
|
|
2607
|
+
export declare const getHostingNameserversMock: () => {
|
|
2608
|
+
nameservers: string[];
|
|
2609
|
+
};
|
|
2610
|
+
export declare const getHostingShellToggleMock: () => {
|
|
2611
|
+
enabled: boolean | undefined;
|
|
2612
|
+
};
|
|
2613
|
+
export declare const getHostingShellInfoMock: () => {
|
|
2614
|
+
enabled: boolean | undefined;
|
|
2615
|
+
};
|
|
2616
|
+
export declare const getHostingSitesMock: () => {
|
|
2617
|
+
n_rows: number | undefined;
|
|
2618
|
+
n_pages: number | undefined;
|
|
2619
|
+
limit: number | undefined;
|
|
2620
|
+
max_sites: number | null | undefined;
|
|
2621
|
+
used_sites: number | undefined;
|
|
2622
|
+
available_sites: number | undefined;
|
|
2623
|
+
rows: {
|
|
2624
|
+
id: string | undefined;
|
|
2625
|
+
name: string | undefined;
|
|
2626
|
+
url: string | undefined;
|
|
2627
|
+
docroot: string | undefined;
|
|
2628
|
+
status: string | undefined;
|
|
2629
|
+
pending_url: string | undefined;
|
|
2630
|
+
meta: {
|
|
2631
|
+
pending_url: string | undefined;
|
|
2632
|
+
} | undefined;
|
|
2633
|
+
}[] | undefined;
|
|
2634
|
+
};
|
|
2635
|
+
export declare const getHostingSiteAddMock: () => {
|
|
2636
|
+
id: number | undefined;
|
|
2637
|
+
status: string | undefined;
|
|
2638
|
+
success: boolean;
|
|
2639
|
+
};
|
|
2640
|
+
export declare const getHostingSshInfoMock: () => {
|
|
2641
|
+
status: string | undefined;
|
|
2642
|
+
success: boolean | undefined;
|
|
2643
|
+
};
|
|
2644
|
+
export declare const getSshKeyFetchMock: () => {
|
|
2645
|
+
key_name: string | undefined;
|
|
2646
|
+
key: string | undefined;
|
|
2647
|
+
type: string | undefined;
|
|
2648
|
+
};
|
|
2649
|
+
export declare const getSshKeyImportMock: () => {
|
|
2650
|
+
key_name: string | undefined;
|
|
2651
|
+
};
|
|
2652
|
+
export declare const getSshKeyListMock: () => {
|
|
2653
|
+
keys: {
|
|
2654
|
+
file: string | undefined;
|
|
2655
|
+
haspub: number | undefined;
|
|
2656
|
+
key: string | undefined;
|
|
2657
|
+
name: string | undefined;
|
|
2658
|
+
}[] | undefined;
|
|
2659
|
+
};
|
|
2660
|
+
export declare const getSshKeyMock: () => {
|
|
2661
|
+
deleted: number | undefined;
|
|
2662
|
+
key_name: string | undefined;
|
|
2663
|
+
};
|
|
2664
|
+
export declare const getSshKeyGenerateMock: () => {
|
|
2665
|
+
key_name: string | undefined;
|
|
2666
|
+
private_key_path: string | undefined;
|
|
2667
|
+
public_key_path: string | undefined;
|
|
2668
|
+
};
|
|
2669
|
+
export declare const getSsoMock: () => {
|
|
2670
|
+
url: string;
|
|
2671
|
+
};
|
|
2672
|
+
export declare const getSitesListMock: () => {
|
|
2673
|
+
items: {
|
|
2674
|
+
id: string | undefined;
|
|
2675
|
+
name: string | undefined;
|
|
2676
|
+
url: string | undefined;
|
|
2677
|
+
docroot: string | undefined;
|
|
2678
|
+
status: string | undefined;
|
|
2679
|
+
}[] | undefined;
|
|
2680
|
+
};
|
|
2681
|
+
export declare const getSitesInfoMock: () => {
|
|
2682
|
+
id: string;
|
|
2683
|
+
docroot: string;
|
|
2684
|
+
uuid: string;
|
|
2685
|
+
date_added: string;
|
|
2686
|
+
date_modified: string;
|
|
2687
|
+
name: string;
|
|
2688
|
+
type: string;
|
|
2689
|
+
subtype: string;
|
|
2690
|
+
status: string;
|
|
2691
|
+
url: string;
|
|
2692
|
+
version: string;
|
|
2693
|
+
versionLatest: string | undefined;
|
|
2694
|
+
php_version: string | undefined;
|
|
2695
|
+
updatable: boolean | undefined;
|
|
2696
|
+
pending_url: string | undefined;
|
|
2697
|
+
meta: {
|
|
2698
|
+
pending_url: string | undefined;
|
|
2699
|
+
} | undefined;
|
|
2700
|
+
};
|
|
2701
|
+
export declare const getSiteUpdateMock: () => {
|
|
2702
|
+
success: boolean;
|
|
2703
|
+
};
|
|
2704
|
+
export declare const getSiteMock: () => {
|
|
2705
|
+
success: boolean;
|
|
2706
|
+
};
|
|
2707
|
+
export declare const getSitesAutoupdatesInfoMock: () => {
|
|
2708
|
+
plugins: boolean | undefined;
|
|
2709
|
+
core: boolean | undefined;
|
|
2710
|
+
themes: boolean | undefined;
|
|
2711
|
+
};
|
|
2712
|
+
export declare const getSitesAutoupdatesUpdateMock: () => {
|
|
2713
|
+
plugins: boolean | undefined;
|
|
2714
|
+
core: boolean | undefined;
|
|
2715
|
+
themes: boolean | undefined;
|
|
2716
|
+
};
|
|
2717
|
+
export declare const getSitesBackupsMock: () => {
|
|
2718
|
+
has_backups: boolean | undefined;
|
|
2719
|
+
};
|
|
2720
|
+
export declare const getSitesHasBackupsMock: () => {
|
|
2721
|
+
has_backups: boolean | undefined;
|
|
2722
|
+
};
|
|
2723
|
+
export declare const getSitesBackupsDetailsMock: () => {
|
|
2724
|
+
codeguard: {
|
|
2725
|
+
addon_id: string | undefined;
|
|
2726
|
+
status: boolean | undefined;
|
|
2727
|
+
seats_available: number | undefined;
|
|
2728
|
+
seats_count: number | undefined;
|
|
2729
|
+
website_id: string | null | undefined;
|
|
2730
|
+
database_id: string | null | undefined;
|
|
2731
|
+
activated: boolean | undefined;
|
|
2732
|
+
url: string | null | undefined;
|
|
2733
|
+
} | undefined;
|
|
2734
|
+
jetpack: {
|
|
2735
|
+
plugin_exists: boolean | undefined;
|
|
2736
|
+
addon_exists: boolean | undefined;
|
|
2737
|
+
} | undefined;
|
|
2738
|
+
};
|
|
2739
|
+
export declare const getJetpackBackupStatusMock: () => {
|
|
2740
|
+
has_active_plugin: boolean | undefined;
|
|
2741
|
+
has_active_addon: boolean | undefined;
|
|
2742
|
+
};
|
|
2743
|
+
export declare const getSitesDnsMock: () => {
|
|
2744
|
+
success: boolean | undefined;
|
|
2745
|
+
source: string | undefined;
|
|
2746
|
+
records: {
|
|
2747
|
+
name: string | undefined;
|
|
2748
|
+
value: string | undefined;
|
|
2749
|
+
type: string | undefined;
|
|
2750
|
+
}[] | undefined;
|
|
2751
|
+
};
|
|
2752
|
+
export declare const getSitesDomainMock: () => {
|
|
2753
|
+
connected: boolean | undefined;
|
|
2754
|
+
a_match: boolean | undefined;
|
|
2755
|
+
nameserver_match: boolean | undefined;
|
|
2756
|
+
detected: {
|
|
2757
|
+
a: string[] | undefined;
|
|
2758
|
+
ns: string[] | undefined;
|
|
2759
|
+
} | undefined;
|
|
2760
|
+
wanted: {
|
|
2761
|
+
a: string[] | undefined;
|
|
2762
|
+
ns: string[] | undefined;
|
|
2763
|
+
} | undefined;
|
|
2764
|
+
};
|
|
2765
|
+
export declare const getSitesDomainUrlMock: () => {
|
|
2766
|
+
success: boolean | undefined;
|
|
2767
|
+
};
|
|
2768
|
+
export declare const getSitesPerformanceCachepurgeMock: () => {
|
|
2769
|
+
success: boolean | undefined;
|
|
2770
|
+
};
|
|
2771
|
+
export declare const getSitesPerformanceEnduranceCacheLevelStatusMock: () => {
|
|
2772
|
+
endurance_cache_level: number | undefined;
|
|
2773
|
+
};
|
|
2774
|
+
export declare const getSitesPerformanceEnduranceCacheLevelMock: () => {
|
|
2775
|
+
options: {} | undefined;
|
|
2776
|
+
};
|
|
2777
|
+
export declare const getSitesPerformanceEndurancePageCacheMock: () => {
|
|
2778
|
+
result: string | undefined;
|
|
2779
|
+
status: string | undefined;
|
|
2780
|
+
};
|
|
2781
|
+
export declare const getSitePluginsMock: () => {
|
|
2782
|
+
subtype: string;
|
|
2783
|
+
auto_update: boolean;
|
|
2784
|
+
plugins: {
|
|
2785
|
+
id: string;
|
|
2786
|
+
status: string;
|
|
2787
|
+
title: string;
|
|
2788
|
+
update: boolean;
|
|
2789
|
+
}[];
|
|
2790
|
+
};
|
|
2791
|
+
export declare const getSitePluginsAutoupdateMock: () => {
|
|
2792
|
+
success: boolean;
|
|
2793
|
+
};
|
|
2794
|
+
export declare const getSitePluginsToggleMock: () => {
|
|
2795
|
+
success: boolean;
|
|
2796
|
+
};
|
|
2797
|
+
export declare const getSitePluginsUpdateMock: () => {
|
|
2798
|
+
success: boolean;
|
|
2799
|
+
};
|
|
2800
|
+
export declare const getResetSiteMock: () => {
|
|
2801
|
+
site_id: string | undefined;
|
|
2802
|
+
status: string | undefined;
|
|
2803
|
+
success: boolean;
|
|
2804
|
+
};
|
|
2805
|
+
export declare const getSitesSecurityCheckCoreMock: () => {
|
|
2806
|
+
results: string | undefined;
|
|
2807
|
+
success: number | undefined;
|
|
2808
|
+
};
|
|
2809
|
+
export declare const getSitesSecurityResetCoreFilesMock: () => {
|
|
2810
|
+
results: string | undefined;
|
|
2811
|
+
success: number | undefined;
|
|
2812
|
+
};
|
|
2813
|
+
export declare const getSitesSecurityHttpsRedirectionStatusMock: () => {
|
|
2814
|
+
success: number | undefined;
|
|
2815
|
+
redirection_status: number | undefined;
|
|
2816
|
+
message: string | undefined;
|
|
2817
|
+
};
|
|
2818
|
+
export declare const getSitesSecurityHttpsEnableDisableSslMock: () => {
|
|
2819
|
+
success: number | undefined;
|
|
2820
|
+
redirection_status: number | undefined;
|
|
2821
|
+
message: string | undefined;
|
|
2822
|
+
};
|
|
2823
|
+
export declare const getSitesSecuritySitelockMock: () => {
|
|
2824
|
+
addon_id: number | undefined;
|
|
2825
|
+
plan: string | undefined;
|
|
2826
|
+
success: number | undefined;
|
|
2827
|
+
subscription_id: string | undefined;
|
|
2828
|
+
upgrade_levels: string[] | undefined;
|
|
2829
|
+
};
|
|
2830
|
+
export declare const getSitesSecuritySslAcmeMock: () => {
|
|
2831
|
+
success: number | undefined;
|
|
2832
|
+
message: string | undefined;
|
|
2833
|
+
};
|
|
2834
|
+
export declare const getSitesSecuritySslStatusMock: () => {
|
|
2835
|
+
status: string | undefined;
|
|
2836
|
+
message: string | undefined;
|
|
2837
|
+
};
|
|
2838
|
+
export declare const getSiteSettingsAutoupdatePluginsMock: () => {
|
|
2839
|
+
status: number | undefined;
|
|
2840
|
+
};
|
|
2841
|
+
export declare const getSitesSettingsAutoupdatesMock: () => {
|
|
2842
|
+
auto_update_plugin: boolean | undefined;
|
|
2843
|
+
auto_update_theme: boolean | undefined;
|
|
2844
|
+
auto_update_core: boolean | undefined;
|
|
2845
|
+
};
|
|
2846
|
+
export declare const getSitesSettingsAutoupdatesCoreMock: () => {
|
|
2847
|
+
success: number | undefined;
|
|
2848
|
+
};
|
|
2849
|
+
export declare const getSitesSettingsAutoupdatesThemeMock: () => {
|
|
2850
|
+
success: number | undefined;
|
|
2851
|
+
};
|
|
2852
|
+
export declare const getSitesSettingsComingSoonMock: () => {
|
|
2853
|
+
enable: boolean | undefined;
|
|
2854
|
+
};
|
|
2855
|
+
export declare const getSitesSettingsComingSoonToggleMock: () => {
|
|
2856
|
+
success: number | undefined;
|
|
2857
|
+
};
|
|
2858
|
+
export declare const getSitesSettingsDebugMock: () => {
|
|
2859
|
+
status: number | undefined;
|
|
2860
|
+
};
|
|
2861
|
+
export declare const getSitesSettingsDebugToggleMock: () => {
|
|
2862
|
+
success: number | undefined;
|
|
2863
|
+
};
|
|
2864
|
+
export declare const getSitesSettingsPhpVersionUpdateMock: () => {
|
|
2865
|
+
success: number | undefined;
|
|
2866
|
+
};
|
|
2867
|
+
export declare const getSitesSettingsPhpVersionsMock: () => {
|
|
2868
|
+
versions: string[] | undefined;
|
|
2869
|
+
};
|
|
2870
|
+
export declare const getSitesSsoMock: () => {
|
|
2871
|
+
sso: string | undefined;
|
|
2872
|
+
};
|
|
2873
|
+
export declare const getSiteUsersMock: () => {
|
|
2874
|
+
users: {
|
|
2875
|
+
display_name: string | undefined;
|
|
2876
|
+
id: number;
|
|
2877
|
+
meta: {
|
|
2878
|
+
maestro_web_pro: string | undefined;
|
|
2879
|
+
maestro_wpp_identifier: string | undefined;
|
|
2880
|
+
} | undefined;
|
|
2881
|
+
post_count: number | undefined;
|
|
2882
|
+
role: string;
|
|
2883
|
+
user_email: string;
|
|
2884
|
+
user_id: number;
|
|
2885
|
+
user_login: string;
|
|
2886
|
+
user_nicename: string;
|
|
2887
|
+
}[];
|
|
2888
|
+
};
|
|
2889
|
+
export declare const getSitesVersionMock: () => {
|
|
2890
|
+
current: string | undefined;
|
|
2891
|
+
latest: string | undefined;
|
|
2892
|
+
update: boolean | undefined;
|
|
2893
|
+
};
|
|
2894
|
+
export declare const getHostingSitesV2Mock: () => {
|
|
2895
|
+
total: number | undefined;
|
|
2896
|
+
page: number | undefined;
|
|
2897
|
+
limit: number | undefined;
|
|
2898
|
+
max_sites: number | null | undefined;
|
|
2899
|
+
used_sites: number | undefined;
|
|
2900
|
+
available_sites: number | null | undefined;
|
|
2901
|
+
items: {
|
|
2902
|
+
id: string | undefined;
|
|
2903
|
+
name: string | undefined;
|
|
2904
|
+
url: string | undefined;
|
|
2905
|
+
docroot: string | undefined;
|
|
2906
|
+
status: string | undefined;
|
|
2907
|
+
pending_url: string | undefined;
|
|
2908
|
+
}[] | undefined;
|
|
2909
|
+
};
|
|
2910
|
+
export declare const getSshKeyListV2Mock: () => {
|
|
2911
|
+
rows: {
|
|
2912
|
+
name: string | undefined;
|
|
2913
|
+
type: string | undefined;
|
|
2914
|
+
mtime: string | undefined;
|
|
2915
|
+
key: string | undefined;
|
|
2916
|
+
}[] | undefined;
|
|
2917
|
+
};
|
|
2918
|
+
export declare const getHostingUAPIMSW: () => import("msw").RestHandler<import("msw/lib/glossary-58eca5a8").M<import("msw/lib/glossary-58eca5a8").c>>[];
|
|
2919
|
+
export {};
|