@newfold/huapi-js 2.1441.0 → 2.1447.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.d.ts +7 -7
- package/src/index.js +10 -10
- package/src/index.msw.js +3 -3
- package/src/index.schemas.d.ts +75 -47
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DefinedInitialDataOptions, DefinedUseInfiniteQueryResult, DefinedUseQueryResult, InfiniteData, QueryKey, UndefinedInitialDataOptions, UseInfiniteQueryOptions, UseInfiniteQueryResult, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import axios from 'axios';
|
|
3
3
|
import type { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
4
|
-
import type { AccessLogs200, AccessLogsParams, AccountEventList200, AccountEventListParams, AccountHostingList200, AccountPublicKey200, AccountPublicKey404, AccountPublicKeyCreate200, AccountPublicKeyCreate409, AccountPublicKeyCreateBody, AccountPublicKeyDelete200, AccountPublicKeyDelete404, AccountPublicKeyToggle200, AccountPublicKeyToggle409, AccountPublicKeyToggleBody, AccountPublicKeys200, ActivityLog200, ActivityLogParams, AddCron200, AddCron400, AddCronBody, AddHostingRedirects200, AddHostingRedirectsBody, AddIndex200, AddIndexBody, AddPrivacy200, AddPrivacyBody, AddSiteIpaddress200, AddSiteIpaddressBody, AddonsCloudflare200, AddonsInfo200, AddonsJetpackValidate200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSitelockSsoV2Params, AddonsSpamexpertsSso200, BackupCreateV2200, BackupCreateV2Body, BackupCreateV3200, BackupCreateV3Body, BackupDownloadV2200, BackupDownloadV2Body, BackupInitiate200, BackupInitiateBody, BackupList200, BackupListParams, BackupListV2200, BackupMeta200, BackupRestoreV2200, BackupRestoreV2Body, BackupStatus200, BackupStatusParams, BackupStatusV2200, BackupStatusV2Params, BackupsJetpackBackup200, CodeguardBackupCreate200, CodeguardBackupCreateBody, CodeguardBackupDownload200, CodeguardBackupDownloadBody, CodeguardBackupList200, CodeguardBackupListParams, CodeguardBackupRestore200, CodeguardBackupRestoreBody, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupCreateBody, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupListParams, CodeguardDatabaseBackupRestore200, CodeguardDatabaseBackupRestoreBody, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupCreateBody, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupListParams, CodeguardWebsiteBackupRestore200, CodeguardWebsiteBackupRestoreBody, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronBody, CronLastRun200, CronLastRunParams, Db200, DbAdd200, DbAddBody, DbBody, DbCheckDatabase200, DbCheckDatabaseBody, DbListV2200, DbMultipleUserDatabase200, DbMultipleUserDatabaseBody, DbUsage200, DbUserAdd200, DbUserAddBody, DbUserDelete200, DbUserDeleteBody, DbUserList200, DbUserPasswordSet200, DbUserPasswordSetBody, DbUserPrivsGet200, DbUserPrivsGetParams, DbUserPrivsSet200, DbUserPrivsSetBody, DbUserRename200, DbUserRenameBody, DirectoryPrivacy200, DirectoryPrivacyParams, DomainCertInstall200, DomainCertInstallBody, DomainCertUninstall200, DomainCertUpdate200, DomainCertUpdateBody, DomainCerts200, DomainDnsExport200, DomainDnsExportParams, DomainDnsImport200, DomainDnsImportBody, DomainDnsImportParams, DomainDnseditor200, DomainDnseditorAdd200, DomainDnseditorAddBody, DomainDnseditorBody, DomainDnseditorEdit200, DomainDnseditorEditBody, DomainDnseditorList200, DomainDnszoneReset200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsParams, EditPrivacy200, EditPrivacyBody, EmailSso200, EmailSso400, EmailSso512, EmailSsoParams, ErrorPagesAdd200, ErrorPagesAddBody, ErrorPagesDelete200, ErrorPagesDeleteBody, ErrorPagesFetch200, ErrorPagesFetchParams, HostingAccount200, HostingAddons200, HostingAddonsParams, HostingAdvancedDns200, HostingAdvancedDnsParams, HostingAdvancedDnsUpdate200, HostingAdvancedDnsUpdateBody, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesBody, HostingAdvancedDomainServicesCheck200, HostingAdvancedPassword200, HostingAdvancedPasswordBody, HostingAdvancedServer200, HostingAdvancedServerStatus200, HostingAdvancedServerStatusBody, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingCapabilities200, HostingDbAuthorizedHosts200, HostingDbAuthorizedHostsAdd200, HostingDbAuthorizedHostsAddBody, HostingDbAuthorizedHostsDelete200, HostingDbAuthorizedHostsDeleteBody, HostingDbAuthorizedHostsUpdate200, HostingDbAuthorizedHostsUpdateBody, HostingDomainAssign200, HostingDomainAssignBody, HostingDomainAvailability200, HostingDomainAvailabilityParams, HostingDomainsUnassign200, HostingDomainsUnassignBody, HostingDomainsUnassignV2200, HostingDomainsUnassignV2Body, HostingEcommerceInfo200, HostingEmailAdd200, HostingEmailAdd400, HostingEmailAdd403, HostingEmailAdd409, HostingEmailAdd512, HostingEmailAddBody, HostingEmailDelete200, HostingEmailDeleteParams, HostingEmailFiltersAdd200, HostingEmailFiltersAddBody, HostingEmailFiltersDelete200, HostingEmailFiltersDelete400, HostingEmailFiltersDelete404, HostingEmailFiltersDeleteParams, HostingEmailFiltersList200, HostingEmailFiltersListParams, HostingEmailFiltersUpdate200, HostingEmailFiltersUpdateBody, HostingEmailFolderList200, HostingEmailFolderList404, HostingEmailForwarderAdd200, HostingEmailForwarderAdd400, HostingEmailForwarderAdd403, HostingEmailForwarderAdd409, HostingEmailForwarderAdd512, HostingEmailForwarderAddBody, HostingEmailForwarderDelete200, HostingEmailForwarderDelete400, HostingEmailForwarderDeleteParams, HostingEmailForwardersList200, HostingEmailForwardersListParams, HostingEmailList200, HostingEmailSettings200, HostingEmailSettings403, HostingEmailSettings404, HostingEmailSettings512, HostingEmailSettingsBody, HostingEmailUpdate200, HostingEmailUpdate400, HostingEmailUpdate403, HostingEmailUpdate512, HostingEmailUpdateBody, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpAddBody, HostingFtpBody, HostingFtpList200, HostingFtpUpdate200, HostingFtpUpdateBody, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingLead400, HostingLeadParams, HostingMigrationInfo200, HostingMigrationInfoParams, HostingMigrationSiteScanStatus200, HostingMigrationSiteScanStatusParams, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsBody, HostingMigrationsEvent200, HostingMigrationsEventBody, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingOnboardingDataUpdateBody, HostingRedirect200, HostingRedirectBody, HostingRedirects200Item, HostingRedirectsV2200Item, HostingRepo200, HostingRepoBody, HostingRepoList200Item, HostingRepoLog200, HostingRepoLogParams, HostingRepoSync200, HostingRepoSyncBody, HostingResellerSsoWhm200, HostingServerHits200, HostingServerHitsParams, HostingShellInfo200, HostingShellToggle200, HostingShellToggleBody, HostingSiteAdd200, HostingSiteAddBody, HostingSiteAddV2200, HostingSiteAddV2Body, HostingSitesV2200, HostingSitesV2Params, HostingSshInfo200, HostingVisitors200, HostingVisitorsParams, HotlinkconfigAdd200, HotlinkconfigAddBody, HotlinkconfigDelete200, HotlinkconfigDeleteBody, HotlinkconfigDetails200, HotlinkconfigDetailsParams, Index200, IndexBody, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListFilesV2Params, ListIndex200, ListIndexParams, PasswordGenerate200, PasswordScore200, PasswordScoreParams, PhpErrors200, PhpErrorsParams, Privacy200, PrivacyBody, PrivacyUser200, PrivacyUserBody, ProductLicenseDetails200, ProductLicenseDetailsParams, RepairDatabase200, RepairDatabaseBody, ResetSite200, ResetSiteBody, Site200, SiteAddonCloudflare200, SiteAddonCloudflare400, SiteAddonWpsolution200, SiteAddonWpsolution400, SiteAddonWpsolutionBody, SiteBody, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressBody, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginUpdate200, SitePluginUpdateBody, SitePlugins200, SitePluginsAutoupdate200, SitePluginsAutoupdateBody, SitePluginsParams, SitePluginsToggle200, SitePluginsToggleBody, SitePluginsUpdate200, SitePluginsUpdateBody, SiteQualityMetrics200, SiteQualityMetricsParams, SiteStatus200, SiteUpdate200, SiteUpdate400, SiteUpdateBody, SiteUsers200, SiteUsersV2200, SiteUsersV2Params, SitesAccessLogs200, SitesAccessLogsDownloadParams, SitesAccessLogsParams, SitesAtomicMetrics200, SitesAtomicMetricsParams, SitesAutoupdatesResponse, SitesAutoupdatesUpdateBody, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBatch200, SitesBatchBody, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDnsParams, SitesDomain200, SitesDomainParams, SitesDomainUrl200, SitesDomainUrlBody, SitesDomainsCreate200, SitesDomainsCreateBody, SitesDomainsV2200, SitesDomainsV2Params, SitesErrorLogs200, SitesErrorLogsDownloadParams, SitesErrorLogsParams, SitesHasBackups200, SitesInfo200, SitesListV2200, SitesListV3200, SitesListV3Params, SitesMetricDimensions200, SitesMetricDimensionsParams, SitesMetricsDimensionAveraged200, SitesMetricsDimensionAveragedParams, SitesPerformanceCachepurge200, SitesPerformanceCachepurgeBody, SitesPerformanceEdgecache200, SitesPerformanceEdgecacheBody, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelBody, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsEnableDisableSslBody, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockParams, SitesSecuritySitelockV2200, SitesSecuritySitelockV2Params, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSecuritySslStatusParams, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsComingSoonToggleBody, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsDebugToggleBody, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersionUpdateBody, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserCreateBody, SitesSshUserDelete200, SitesSshUserDeleteBody, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSshUserUpdateBody, SitesSsl200, SitesSso200, SitesSsoParams, SitesVersion200, SshKey200, SshKeyBody, SshKeyFetch200, SshKeyFetchParams, SshKeyGenerate200, SshKeyGenerateBody, SshKeyImport200, SshKeyImportBody, SshKeyImportV2200, SshKeyImportV2Body, SshKeyImportV3200, SshKeyImportV3Body, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, SshKeyV2Body, Sso200, SsoParams, StagingSitePromote200, StagingSitePromote409, StagingSitePromoteBody, UpdateCron200, UpdateCronBody, WebzaiSso200, WeeblySso200 } from './index.schemas';
|
|
4
|
+
import type { AccessLogs200, AccessLogsParams, AccountEventList200, AccountEventListParams, AccountHostingList200, AccountPublicKey200, AccountPublicKey404, AccountPublicKeyCreate200, AccountPublicKeyCreate409, AccountPublicKeyCreateBody, AccountPublicKeyDelete200, AccountPublicKeyDelete404, AccountPublicKeyToggle200, AccountPublicKeyToggle409, AccountPublicKeyToggleBody, AccountPublicKeys200, ActivityLog200, ActivityLogParams, AddCron200, AddCron400, AddCronBody, AddHostingRedirects200, AddHostingRedirectsBody, AddIndex200, AddIndexBody, AddPrivacy200, AddPrivacyBody, AddSiteIpaddress200, AddSiteIpaddressBody, AddonsCloudflare200, AddonsInfo200, AddonsJetpackValidate200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSitelockSsoV2Params, AddonsSpamexpertsSso200, BackupCreateV2200, BackupCreateV2Body, BackupCreateV3200, BackupCreateV3Body, BackupDownloadV2200, BackupDownloadV2Body, BackupInitiate200, BackupInitiateBody, BackupList200, BackupListParams, BackupListV2200, BackupMeta200, BackupMetaParams, BackupRestoreV2200, BackupRestoreV2Body, BackupStatus200, BackupStatusParams, BackupStatusV2200, BackupStatusV2Params, BackupsJetpackBackup200, CodeguardBackupCreate200, CodeguardBackupCreateBody, CodeguardBackupDownload200, CodeguardBackupDownloadBody, CodeguardBackupList200, CodeguardBackupListParams, CodeguardBackupRestore200, CodeguardBackupRestoreBody, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupCreateBody, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupListParams, CodeguardDatabaseBackupRestore200, CodeguardDatabaseBackupRestoreBody, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupCreateBody, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupListParams, CodeguardWebsiteBackupRestore200, CodeguardWebsiteBackupRestoreBody, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronBody, CronLastRun200, CronLastRunParams, Db200, DbAdd200, DbAddBody, DbBody, DbCheckDatabase200, DbCheckDatabaseBody, DbListV2200, DbMultipleUserDatabase200, DbMultipleUserDatabaseBody, DbUsage200, DbUserAdd200, DbUserAddBody, DbUserDelete200, DbUserDeleteBody, DbUserList200, DbUserPasswordSet200, DbUserPasswordSetBody, DbUserPrivsGet200, DbUserPrivsGetParams, DbUserPrivsSet200, DbUserPrivsSetBody, DbUserRename200, DbUserRenameBody, DirectoryPrivacy200, DirectoryPrivacyParams, DomainCertInstall200, DomainCertInstallBody, DomainCertUninstall200, DomainCertUpdate200, DomainCertUpdateBody, DomainCerts200, DomainDnsExport200, DomainDnsExportParams, DomainDnsImport200, DomainDnsImportBody, DomainDnsImportParams, DomainDnseditor200, DomainDnseditorAdd200, DomainDnseditorAddBody, DomainDnseditorBody, DomainDnseditorEdit200, DomainDnseditorEditBody, DomainDnseditorList200, DomainDnszoneReset200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsParams, EditPrivacy200, EditPrivacyBody, EmailSso200, EmailSso400, EmailSso512, EmailSsoParams, ErrorPagesAdd200, ErrorPagesAddBody, ErrorPagesDelete200, ErrorPagesDeleteBody, ErrorPagesFetch200, ErrorPagesFetchParams, HostingAccount200, HostingAddons200, HostingAddonsParams, HostingAdvancedDns200, HostingAdvancedDnsParams, HostingAdvancedDnsUpdate200, HostingAdvancedDnsUpdateBody, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesBody, HostingAdvancedDomainServicesCheck200, HostingAdvancedPassword200, HostingAdvancedPasswordBody, HostingAdvancedServer200, HostingAdvancedServerStatus200, HostingAdvancedServerStatusBody, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingCapabilities200, HostingDbAuthorizedHosts200, HostingDbAuthorizedHostsAdd200, HostingDbAuthorizedHostsAddBody, HostingDbAuthorizedHostsDelete200, HostingDbAuthorizedHostsDeleteBody, HostingDbAuthorizedHostsUpdate200, HostingDbAuthorizedHostsUpdateBody, HostingDomainAssign200, HostingDomainAssignBody, HostingDomainAvailability200, HostingDomainAvailabilityParams, HostingDomainsUnassign200, HostingDomainsUnassignBody, HostingDomainsUnassignV2200, HostingDomainsUnassignV2Body, HostingEcommerceInfo200, HostingEmailAdd200, HostingEmailAdd400, HostingEmailAdd403, HostingEmailAdd409, HostingEmailAdd512, HostingEmailAddBody, HostingEmailDelete200, HostingEmailDeleteParams, HostingEmailFiltersAdd200, HostingEmailFiltersAddBody, HostingEmailFiltersDelete200, HostingEmailFiltersDelete400, HostingEmailFiltersDelete404, HostingEmailFiltersDeleteParams, HostingEmailFiltersList200, HostingEmailFiltersListParams, HostingEmailFiltersUpdate200, HostingEmailFiltersUpdateBody, HostingEmailFolderList200, HostingEmailFolderList404, HostingEmailForwarderAdd200, HostingEmailForwarderAdd400, HostingEmailForwarderAdd403, HostingEmailForwarderAdd409, HostingEmailForwarderAdd512, HostingEmailForwarderAddBody, HostingEmailForwarderDelete200, HostingEmailForwarderDelete400, HostingEmailForwarderDeleteParams, HostingEmailForwardersList200, HostingEmailForwardersListParams, HostingEmailList200, HostingEmailSettings200, HostingEmailSettings403, HostingEmailSettings404, HostingEmailSettings512, HostingEmailSettingsBody, HostingEmailUpdate200, HostingEmailUpdate400, HostingEmailUpdate403, HostingEmailUpdate512, HostingEmailUpdateBody, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpAddBody, HostingFtpBody, HostingFtpList200, HostingFtpUpdate200, HostingFtpUpdateBody, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingLead400, HostingLeadParams, HostingMigrationInfo200, HostingMigrationInfoParams, HostingMigrationSiteScanStatus200, HostingMigrationSiteScanStatusParams, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsBody, HostingMigrationsEvent200, HostingMigrationsEventBody, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingOnboardingDataUpdateBody, HostingRedirect200, HostingRedirectBody, HostingRedirects200Item, HostingRedirectsV2200Item, HostingRepo200, HostingRepoBody, HostingRepoList200Item, HostingRepoLog200, HostingRepoLogParams, HostingRepoSync200, HostingRepoSyncBody, HostingResellerSsoWhm200, HostingServerHits200, HostingServerHitsParams, HostingShellInfo200, HostingShellToggle200, HostingShellToggleBody, HostingSiteAdd200, HostingSiteAddBody, HostingSiteAddV2200, HostingSiteAddV2Body, HostingSitesV2200, HostingSitesV2Params, HostingSshInfo200, HostingVisitors200, HostingVisitorsParams, HotlinkconfigAdd200, HotlinkconfigAddBody, HotlinkconfigDelete200, HotlinkconfigDeleteBody, HotlinkconfigDetails200, HotlinkconfigDetailsParams, Index200, IndexBody, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListFilesV2Params, ListIndex200, ListIndexParams, PasswordGenerate200, PasswordScore200, PasswordScoreParams, PhpErrors200, PhpErrorsParams, Privacy200, PrivacyBody, PrivacyUser200, PrivacyUserBody, ProductLicenseDetails200, ProductLicenseDetailsParams, RepairDatabase200, RepairDatabaseBody, ResetSite200, ResetSiteBody, Site200, SiteAddonCloudflare200, SiteAddonCloudflare400, SiteAddonWpsolution200, SiteAddonWpsolution400, SiteAddonWpsolutionBody, SiteBody, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressBody, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginUpdate200, SitePluginUpdateBody, SitePlugins200, SitePluginsAutoupdate200, SitePluginsAutoupdateBody, SitePluginsParams, SitePluginsToggle200, SitePluginsToggleBody, SitePluginsUpdate200, SitePluginsUpdateBody, SiteQualityMetrics200, SiteQualityMetricsParams, SiteStatus200, SiteUpdate200, SiteUpdate400, SiteUpdateBody, SiteUsers200, SiteUsersV2200, SiteUsersV2Params, SitesAccessLogs200, SitesAccessLogsDownloadParams, SitesAccessLogsParams, SitesAtomicMetrics200, SitesAtomicMetricsParams, SitesAutoupdatesResponse, SitesAutoupdatesUpdateBody, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBatch200, SitesBatchBody, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDnsParams, SitesDomain200, SitesDomainParams, SitesDomainUrl200, SitesDomainUrlBody, SitesDomainsCreate200, SitesDomainsCreateBody, SitesDomainsV2200, SitesDomainsV2Params, SitesErrorLogs200, SitesErrorLogsDownloadParams, SitesErrorLogsParams, SitesHasBackups200, SitesInfo200, SitesListV2200, SitesListV3200, SitesListV3Params, SitesMetricDimensions200, SitesMetricDimensionsParams, SitesMetricsDimensionAveraged200, SitesMetricsDimensionAveragedParams, SitesPerformanceCachepurge200, SitesPerformanceCachepurgeBody, SitesPerformanceEdgecache200, SitesPerformanceEdgecacheBody, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelBody, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsEnableDisableSslBody, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockParams, SitesSecuritySitelockV2200, SitesSecuritySitelockV2Params, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSecuritySslStatusParams, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsComingSoonToggleBody, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsDebugToggleBody, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersionUpdateBody, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserCreateBody, SitesSshUserDelete200, SitesSshUserDeleteBody, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSshUserUpdateBody, SitesSsl200, SitesSso200, SitesSsoParams, SitesVersion200, SshKey200, SshKeyBody, SshKeyFetch200, SshKeyFetchParams, SshKeyGenerate200, SshKeyGenerateBody, SshKeyImport200, SshKeyImportBody, SshKeyImportV2200, SshKeyImportV2Body, SshKeyImportV3200, SshKeyImportV3Body, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, SshKeyV2Body, Sso200, SsoParams, StagingSitePromote200, StagingSitePromote409, StagingSitePromoteBody, UpdateCron200, UpdateCronBody, WebzaiSso200, WeeblySso200 } from './index.schemas';
|
|
5
5
|
declare type AwaitedInput<T> = PromiseLike<T> | T;
|
|
6
6
|
declare type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
7
7
|
/**
|
|
@@ -789,9 +789,9 @@ export declare function useBackupList<TData = Awaited<ReturnType<typeof backupLi
|
|
|
789
789
|
* Backup meta
|
|
790
790
|
* @summary Backup meta
|
|
791
791
|
*/
|
|
792
|
-
export declare const backupMeta: (addonId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<BackupMeta200>>;
|
|
793
|
-
export declare const getBackupMetaQueryKey: (addonId: number) => readonly [`/v1/addons/${number}/backup/meta
|
|
794
|
-
export declare const getBackupMetaQueryOptions: <TData = AxiosResponse<BackupMeta200, any>, TError = AxiosError<unknown, any>>(addonId: number, options?: {
|
|
792
|
+
export declare const backupMeta: (addonId: number, params?: BackupMetaParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<BackupMeta200>>;
|
|
793
|
+
export declare const getBackupMetaQueryKey: (addonId: number, params?: BackupMetaParams) => readonly [`/v1/addons/${number}/backup/meta`, ...BackupMetaParams[]];
|
|
794
|
+
export declare const getBackupMetaQueryOptions: <TData = AxiosResponse<BackupMeta200, any>, TError = AxiosError<unknown, any>>(addonId: number, params?: BackupMetaParams, options?: {
|
|
795
795
|
query?: Partial<UseQueryOptions<AxiosResponse<BackupMeta200, any>, TError, TData, QueryKey>> | undefined;
|
|
796
796
|
axios?: AxiosRequestConfig<any> | undefined;
|
|
797
797
|
} | undefined) => UseQueryOptions<AxiosResponse<BackupMeta200, any>, TError, TData, QueryKey> & {
|
|
@@ -799,19 +799,19 @@ export declare const getBackupMetaQueryOptions: <TData = AxiosResponse<BackupMet
|
|
|
799
799
|
};
|
|
800
800
|
export declare type BackupMetaQueryResult = NonNullable<Awaited<ReturnType<typeof backupMeta>>>;
|
|
801
801
|
export declare type BackupMetaQueryError = AxiosError<unknown>;
|
|
802
|
-
export declare function useBackupMeta<TData = Awaited<ReturnType<typeof backupMeta>>, TError = AxiosError<unknown>>(addonId: number, options: {
|
|
802
|
+
export declare function useBackupMeta<TData = Awaited<ReturnType<typeof backupMeta>>, TError = AxiosError<unknown>>(addonId: number, params: undefined | BackupMetaParams, options: {
|
|
803
803
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof backupMeta>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof backupMeta>>, TError, TData>, 'initialData'>;
|
|
804
804
|
axios?: AxiosRequestConfig;
|
|
805
805
|
}): DefinedUseQueryResult<TData, TError> & {
|
|
806
806
|
queryKey: QueryKey;
|
|
807
807
|
};
|
|
808
|
-
export declare function useBackupMeta<TData = Awaited<ReturnType<typeof backupMeta>>, TError = AxiosError<unknown>>(addonId: number, options?: {
|
|
808
|
+
export declare function useBackupMeta<TData = Awaited<ReturnType<typeof backupMeta>>, TError = AxiosError<unknown>>(addonId: number, params?: BackupMetaParams, options?: {
|
|
809
809
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof backupMeta>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof backupMeta>>, TError, TData>, 'initialData'>;
|
|
810
810
|
axios?: AxiosRequestConfig;
|
|
811
811
|
}): UseQueryResult<TData, TError> & {
|
|
812
812
|
queryKey: QueryKey;
|
|
813
813
|
};
|
|
814
|
-
export declare function useBackupMeta<TData = Awaited<ReturnType<typeof backupMeta>>, TError = AxiosError<unknown>>(addonId: number, options?: {
|
|
814
|
+
export declare function useBackupMeta<TData = Awaited<ReturnType<typeof backupMeta>>, TError = AxiosError<unknown>>(addonId: number, params?: BackupMetaParams, options?: {
|
|
815
815
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof backupMeta>>, TError, TData>>;
|
|
816
816
|
axios?: AxiosRequestConfig;
|
|
817
817
|
}): UseQueryResult<TData, TError> & {
|
package/src/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Hosting UAPI
|
|
5
5
|
* Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.1447.0
|
|
7
7
|
*/
|
|
8
8
|
import { useInfiniteQuery, useMutation, useQuery } from '@tanstack/react-query';
|
|
9
9
|
import axios from 'axios';
|
|
@@ -619,24 +619,24 @@ export function useBackupList(addonId, params, options) {
|
|
|
619
619
|
* Backup meta
|
|
620
620
|
* @summary Backup meta
|
|
621
621
|
*/
|
|
622
|
-
export const backupMeta = (addonId, options) => {
|
|
623
|
-
return axios.get(`/v1/addons/${addonId}/backup/meta`, options);
|
|
622
|
+
export const backupMeta = (addonId, params, options) => {
|
|
623
|
+
return axios.get(`/v1/addons/${addonId}/backup/meta`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
|
|
624
624
|
};
|
|
625
|
-
export const getBackupMetaQueryKey = (addonId) => {
|
|
626
|
-
return [`/v1/addons/${addonId}/backup/meta
|
|
625
|
+
export const getBackupMetaQueryKey = (addonId, params) => {
|
|
626
|
+
return [`/v1/addons/${addonId}/backup/meta`, ...(params ? [params] : [])];
|
|
627
627
|
};
|
|
628
|
-
export const getBackupMetaQueryOptions = (addonId, options) => {
|
|
628
|
+
export const getBackupMetaQueryOptions = (addonId, params, options) => {
|
|
629
629
|
var _a;
|
|
630
630
|
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
631
|
-
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getBackupMetaQueryKey(addonId);
|
|
632
|
-
const queryFn = ({ signal }) => backupMeta(addonId, Object.assign({ signal }, axiosOptions));
|
|
631
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getBackupMetaQueryKey(addonId, params);
|
|
632
|
+
const queryFn = ({ signal }) => backupMeta(addonId, params, Object.assign({ signal }, axiosOptions));
|
|
633
633
|
return Object.assign({ queryKey, queryFn, enabled: !!(addonId) }, queryOptions);
|
|
634
634
|
};
|
|
635
635
|
/**
|
|
636
636
|
* @summary Backup meta
|
|
637
637
|
*/
|
|
638
|
-
export function useBackupMeta(addonId, options) {
|
|
639
|
-
const queryOptions = getBackupMetaQueryOptions(addonId, options);
|
|
638
|
+
export function useBackupMeta(addonId, params, options) {
|
|
639
|
+
const queryOptions = getBackupMetaQueryOptions(addonId, params, options);
|
|
640
640
|
const query = useQuery(queryOptions);
|
|
641
641
|
query.queryKey = queryOptions.queryKey;
|
|
642
642
|
return query;
|
package/src/index.msw.js
CHANGED
|
@@ -4,7 +4,7 @@ import { __awaiter } from "tslib";
|
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Hosting UAPI
|
|
6
6
|
* Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
|
|
7
|
-
* OpenAPI spec version: 1.
|
|
7
|
+
* OpenAPI spec version: 1.1447.0
|
|
8
8
|
*/
|
|
9
9
|
import { faker } from '@faker-js/faker';
|
|
10
10
|
import { HttpResponse, delay, http } from 'msw';
|
|
@@ -33,7 +33,7 @@ export const getAddonsSitelockSsoResponseMock = (overrideResponse = {}) => (Obje
|
|
|
33
33
|
export const getBackupInitiateResponseMock = (overrideResponse = {}) => (Object.assign({ message: faker.helpers.arrayElement([faker.word.sample(), undefined]), tracking_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
|
34
34
|
export const getBackupStatusResponseMock = (overrideResponse = {}) => (Object.assign({ download_url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), message: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
35
35
|
export const getBackupListResponseMock = (overrideResponse = {}) => (Object.assign({ home: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ backup_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), backup_status: faker.helpers.arrayElement([{ download_url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]), tracking_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, undefined]), time_created: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]) }, overrideResponse));
|
|
36
|
-
export const getBackupMetaResponseMock = (overrideResponse = {}) => (Object.assign({ cbs_downloadables: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), time_req_completed: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), type: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) })), undefined]), cbs_event_processing: faker.helpers.arrayElement([{ action: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), client_tracking_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), type: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), cbs_last_restore_timestamp: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, overrideResponse));
|
|
36
|
+
export const getBackupMetaResponseMock = (overrideResponse = {}) => (Object.assign({ account: faker.helpers.arrayElement([{ cbs_downloadables: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), time_req_completed: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), type: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) })), undefined]), cbs_event_processing: faker.helpers.arrayElement([{ action: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), client_tracking_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), type: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), cbs_last_restore_timestamp: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), site: faker.helpers.arrayElement([{ cbs_downloadables: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ snapshot_date: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), time_req_completed: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), tracking_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), type: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), url: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) })), undefined]) }, undefined]) }, overrideResponse));
|
|
37
37
|
export const getAddonsCloudflareResponseMock = (overrideResponse = {}) => (Object.assign({ status: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
38
38
|
export const getAddonsInfoResponseMock = (overrideResponse = {}) => (Object.assign({ id: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
39
39
|
export const getAddonsJetpackValidateResponseMock = (overrideResponse = {}) => (Object.assign({ is_connected: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, overrideResponse));
|
|
@@ -145,7 +145,7 @@ export const getHostingOnboardingDataUpdateResponseMock = (overrideResponse = {}
|
|
|
145
145
|
export const getPasswordGenerateResponseMock = (overrideResponse = {}) => (Object.assign({ password: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
146
146
|
export const getPasswordScoreResponseMock = (overrideResponse = {}) => (Object.assign({ score: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
|
147
147
|
export const getPhpErrorsResponseMock = (overrideResponse = {}) => (Object.assign({ content: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), date: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, overrideResponse));
|
|
148
|
-
export const getProductLicenseDetailsResponseMock = (overrideResponse = {}) => (Object.assign({ wpsolution: faker.helpers.arrayElement([{ commerce: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ expirationDate: faker.helpers.arrayElement([faker.word.sample(), undefined]), prodInstId: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]), creator: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ expirationDate: faker.helpers.arrayElement([faker.word.sample(), undefined]), prodInstId: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]) }, undefined]) }, overrideResponse));
|
|
148
|
+
export const getProductLicenseDetailsResponseMock = (overrideResponse = {}) => (Object.assign({ wpsolution: faker.helpers.arrayElement([{ commerce: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ expirationDate: faker.helpers.arrayElement([faker.word.sample(), undefined]), prodInstId: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]), creator: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ expirationDate: faker.helpers.arrayElement([faker.word.sample(), undefined]), prodInstId: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]), total: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, undefined]) }, overrideResponse));
|
|
149
149
|
export const getHostingRedirectsResponseMock = () => (Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ docroot: faker.helpers.arrayElement([faker.word.sample(), undefined]), domain: faker.helpers.arrayElement([faker.word.sample(), undefined]), http_status_code: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), redirect_www: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), src: faker.helpers.arrayElement([faker.word.sample(), undefined]), type: faker.helpers.arrayElement([faker.word.sample(), undefined]), url: faker.helpers.arrayElement([faker.word.sample(), undefined]), wildcard: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) })));
|
|
150
150
|
export const getHostingRedirectResponseMock = (overrideResponse = {}) => (Object.assign({ success: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
|
151
151
|
export const getAddHostingRedirectsResponseMock = (overrideResponse = {}) => (Object.assign({ success: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
package/src/index.schemas.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Hosting UAPI
|
|
5
5
|
* Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.1447.0
|
|
7
7
|
*/
|
|
8
8
|
export declare type SshKeyListV4200RowsItem = {
|
|
9
9
|
authorize?: boolean;
|
|
@@ -814,6 +814,8 @@ export declare type BackupRestoreV2Body = {
|
|
|
814
814
|
restore_type?: string;
|
|
815
815
|
/** Site id */
|
|
816
816
|
site_id?: number;
|
|
817
|
+
/** Snapshot date */
|
|
818
|
+
snapshot_date?: number;
|
|
817
819
|
};
|
|
818
820
|
export declare type BackupListV2200BackupsItem = {
|
|
819
821
|
backup_creation_time?: string;
|
|
@@ -837,6 +839,8 @@ export declare type BackupDownloadV2Body = {
|
|
|
837
839
|
dbs?: string[];
|
|
838
840
|
/** Site id */
|
|
839
841
|
site_id?: number;
|
|
842
|
+
/** Snapshot date */
|
|
843
|
+
snapshot_date?: number;
|
|
840
844
|
};
|
|
841
845
|
export declare type BackupCreateV2200 = {
|
|
842
846
|
message?: string;
|
|
@@ -1384,6 +1388,18 @@ export declare type SitesMetricDimensions200DimensionsPageIsCachedItem = {
|
|
|
1384
1388
|
dimension?: SitesMetricDimensions200DimensionsPageIsCachedItemDimension;
|
|
1385
1389
|
timestamp?: number;
|
|
1386
1390
|
};
|
|
1391
|
+
export declare type SitesMetricDimensions200Dimensions = {
|
|
1392
|
+
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
1393
|
+
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
1394
|
+
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
1395
|
+
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
1396
|
+
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
1397
|
+
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
1398
|
+
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
1399
|
+
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
1400
|
+
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
1401
|
+
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
1402
|
+
};
|
|
1387
1403
|
export declare type SitesMetricDimensions200DimensionsHttpVersionItemDimension = {
|
|
1388
1404
|
[key: string]: number;
|
|
1389
1405
|
};
|
|
@@ -1412,18 +1428,6 @@ export declare type SitesMetricDimensions200DimensionsHttpHostItem = {
|
|
|
1412
1428
|
dimension?: SitesMetricDimensions200DimensionsHttpHostItemDimension;
|
|
1413
1429
|
timestamp?: number;
|
|
1414
1430
|
};
|
|
1415
|
-
export declare type SitesMetricDimensions200Dimensions = {
|
|
1416
|
-
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
1417
|
-
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
1418
|
-
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
1419
|
-
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
1420
|
-
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
1421
|
-
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
1422
|
-
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
1423
|
-
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
1424
|
-
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
1425
|
-
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
1426
|
-
};
|
|
1427
1431
|
export declare type SitesMetricDimensionsParams = {
|
|
1428
1432
|
start?: string;
|
|
1429
1433
|
end?: string;
|
|
@@ -2424,6 +2428,7 @@ export declare type ProductLicenseDetails200WpsolutionCommerceItem = {
|
|
|
2424
2428
|
export declare type ProductLicenseDetails200Wpsolution = {
|
|
2425
2429
|
commerce?: ProductLicenseDetails200WpsolutionCommerceItem[];
|
|
2426
2430
|
creator?: ProductLicenseDetails200WpsolutionCreatorItem[];
|
|
2431
|
+
total?: number;
|
|
2427
2432
|
};
|
|
2428
2433
|
export declare type ProductLicenseDetailsProductName = typeof ProductLicenseDetailsProductName[keyof typeof ProductLicenseDetailsProductName];
|
|
2429
2434
|
export declare const ProductLicenseDetailsProductName: {
|
|
@@ -2522,6 +2527,10 @@ export declare type HostingMigrationStatus200 = {
|
|
|
2522
2527
|
export declare type HostingLead400 = {
|
|
2523
2528
|
[key: string]: unknown;
|
|
2524
2529
|
};
|
|
2530
|
+
export declare type HostingLead200ResponseItemData = {
|
|
2531
|
+
leadId?: string;
|
|
2532
|
+
message?: string;
|
|
2533
|
+
};
|
|
2525
2534
|
export declare type HostingLead200ResponseItem = {
|
|
2526
2535
|
clientRequestId?: string;
|
|
2527
2536
|
data?: HostingLead200ResponseItemData;
|
|
@@ -2536,10 +2545,6 @@ export declare type HostingLead200ResponseItem = {
|
|
|
2536
2545
|
export declare type HostingLead200 = {
|
|
2537
2546
|
response?: HostingLead200ResponseItem[];
|
|
2538
2547
|
} | null;
|
|
2539
|
-
export declare type HostingLead200ResponseItemData = {
|
|
2540
|
-
leadId?: string;
|
|
2541
|
-
message?: string;
|
|
2542
|
-
};
|
|
2543
2548
|
export declare type HostingLeadParams = {
|
|
2544
2549
|
phone?: string;
|
|
2545
2550
|
};
|
|
@@ -3939,31 +3944,6 @@ export declare type ActivityLog200 = {
|
|
|
3939
3944
|
export declare type ActivityLogParams = {
|
|
3940
3945
|
days?: number;
|
|
3941
3946
|
};
|
|
3942
|
-
export declare type HostingAccount200ResourcesWorkers = {
|
|
3943
|
-
/** @nullable */
|
|
3944
|
-
available?: number | null;
|
|
3945
|
-
/** @nullable */
|
|
3946
|
-
total?: number | null;
|
|
3947
|
-
/** @nullable */
|
|
3948
|
-
used?: number | null;
|
|
3949
|
-
};
|
|
3950
|
-
export declare type HostingAccount200ResourcesStorage = {
|
|
3951
|
-
/** @nullable */
|
|
3952
|
-
available?: number | null;
|
|
3953
|
-
/** @nullable */
|
|
3954
|
-
total?: number | null;
|
|
3955
|
-
unit?: string;
|
|
3956
|
-
/** @nullable */
|
|
3957
|
-
used?: number | null;
|
|
3958
|
-
};
|
|
3959
|
-
/**
|
|
3960
|
-
* @nullable
|
|
3961
|
-
*/
|
|
3962
|
-
export declare type HostingAccount200Resources = {
|
|
3963
|
-
staging?: HostingAccount200ResourcesStaging;
|
|
3964
|
-
storage?: HostingAccount200ResourcesStorage;
|
|
3965
|
-
workers?: HostingAccount200ResourcesWorkers;
|
|
3966
|
-
} | null;
|
|
3967
3947
|
export declare type HostingAccount200 = {
|
|
3968
3948
|
account_id?: string;
|
|
3969
3949
|
advanced?: boolean;
|
|
@@ -3981,6 +3961,23 @@ export declare type HostingAccount200 = {
|
|
|
3981
3961
|
type?: string;
|
|
3982
3962
|
username?: string;
|
|
3983
3963
|
};
|
|
3964
|
+
export declare type HostingAccount200ResourcesWorkers = {
|
|
3965
|
+
/** @nullable */
|
|
3966
|
+
available?: number | null;
|
|
3967
|
+
/** @nullable */
|
|
3968
|
+
total?: number | null;
|
|
3969
|
+
/** @nullable */
|
|
3970
|
+
used?: number | null;
|
|
3971
|
+
};
|
|
3972
|
+
export declare type HostingAccount200ResourcesStorage = {
|
|
3973
|
+
/** @nullable */
|
|
3974
|
+
available?: number | null;
|
|
3975
|
+
/** @nullable */
|
|
3976
|
+
total?: number | null;
|
|
3977
|
+
unit?: string;
|
|
3978
|
+
/** @nullable */
|
|
3979
|
+
used?: number | null;
|
|
3980
|
+
};
|
|
3984
3981
|
export declare type HostingAccount200ResourcesStagingWorkers = {
|
|
3985
3982
|
/** @nullable */
|
|
3986
3983
|
available?: number | null;
|
|
@@ -4002,6 +3999,14 @@ export declare type HostingAccount200ResourcesStaging = {
|
|
|
4002
3999
|
storage?: HostingAccount200ResourcesStagingStorage;
|
|
4003
4000
|
workers?: HostingAccount200ResourcesStagingWorkers;
|
|
4004
4001
|
};
|
|
4002
|
+
/**
|
|
4003
|
+
* @nullable
|
|
4004
|
+
*/
|
|
4005
|
+
export declare type HostingAccount200Resources = {
|
|
4006
|
+
staging?: HostingAccount200ResourcesStaging;
|
|
4007
|
+
storage?: HostingAccount200ResourcesStorage;
|
|
4008
|
+
workers?: HostingAccount200ResourcesWorkers;
|
|
4009
|
+
} | null;
|
|
4005
4010
|
export declare type HostingAccount200Billing = {
|
|
4006
4011
|
prod_code?: string;
|
|
4007
4012
|
product_name?: string;
|
|
@@ -4358,10 +4363,26 @@ export declare type AddonsInfo200 = {
|
|
|
4358
4363
|
export declare type AddonsCloudflare200 = {
|
|
4359
4364
|
status?: string;
|
|
4360
4365
|
};
|
|
4366
|
+
export declare type BackupMeta200SiteCbsDownloadablesItem = {
|
|
4367
|
+
/** @nullable */
|
|
4368
|
+
snapshot_date?: number | null;
|
|
4369
|
+
/** @nullable */
|
|
4370
|
+
time_req_completed?: number | null;
|
|
4371
|
+
/** @nullable */
|
|
4372
|
+
tracking_id?: number | null;
|
|
4373
|
+
/** @nullable */
|
|
4374
|
+
type?: string | null;
|
|
4375
|
+
/** @nullable */
|
|
4376
|
+
url?: string | null;
|
|
4377
|
+
};
|
|
4378
|
+
export declare type BackupMeta200Site = {
|
|
4379
|
+
/** @nullable */
|
|
4380
|
+
cbs_downloadables?: BackupMeta200SiteCbsDownloadablesItem[] | null;
|
|
4381
|
+
};
|
|
4361
4382
|
/**
|
|
4362
4383
|
* @nullable
|
|
4363
4384
|
*/
|
|
4364
|
-
export declare type
|
|
4385
|
+
export declare type BackupMeta200AccountCbsEventProcessing = {
|
|
4365
4386
|
/** @nullable */
|
|
4366
4387
|
action?: string | null;
|
|
4367
4388
|
/** @nullable */
|
|
@@ -4369,7 +4390,7 @@ export declare type BackupMeta200CbsEventProcessing = {
|
|
|
4369
4390
|
/** @nullable */
|
|
4370
4391
|
type?: string | null;
|
|
4371
4392
|
} | null;
|
|
4372
|
-
export declare type
|
|
4393
|
+
export declare type BackupMeta200AccountCbsDownloadablesItem = {
|
|
4373
4394
|
/** @nullable */
|
|
4374
4395
|
id?: string | null;
|
|
4375
4396
|
/** @nullable */
|
|
@@ -4379,14 +4400,21 @@ export declare type BackupMeta200CbsDownloadablesItem = {
|
|
|
4379
4400
|
/** @nullable */
|
|
4380
4401
|
url?: string | null;
|
|
4381
4402
|
};
|
|
4382
|
-
export declare type
|
|
4403
|
+
export declare type BackupMeta200Account = {
|
|
4383
4404
|
/** @nullable */
|
|
4384
|
-
cbs_downloadables?:
|
|
4405
|
+
cbs_downloadables?: BackupMeta200AccountCbsDownloadablesItem[] | null;
|
|
4385
4406
|
/** @nullable */
|
|
4386
|
-
cbs_event_processing?:
|
|
4407
|
+
cbs_event_processing?: BackupMeta200AccountCbsEventProcessing;
|
|
4387
4408
|
/** @nullable */
|
|
4388
4409
|
cbs_last_restore_timestamp?: string | null;
|
|
4389
4410
|
};
|
|
4411
|
+
export declare type BackupMeta200 = {
|
|
4412
|
+
account?: BackupMeta200Account;
|
|
4413
|
+
site?: BackupMeta200Site;
|
|
4414
|
+
};
|
|
4415
|
+
export declare type BackupMetaParams = {
|
|
4416
|
+
site_id?: number;
|
|
4417
|
+
};
|
|
4390
4418
|
export declare type BackupList200HomeItemBackupStatus = {
|
|
4391
4419
|
/** @nullable */
|
|
4392
4420
|
download_url?: string | null;
|