@newfold/huapi-js 2.1398.0 → 2.1412.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "tslib": "2.7.0"
11
11
  },
12
12
  "module": "dist/index.ts",
13
- "version": "2.1398.0",
13
+ "version": "2.1412.0",
14
14
  "sideEffects": false,
15
15
  "main": "./src/index.js",
16
16
  "types": "./src/index.d.ts",
package/src/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { DefinedInitialDataOptions, DefinedUseInfiniteQueryResult, DefinedUseQueryResult, InfiniteData, QueryKey, UndefinedInitialDataOptions, UseInfiniteQueryOptions, UseInfiniteQueryResult, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
2
2
  import axios from 'axios';
3
3
  import type { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';
4
- import type { AccessLogs200, AccessLogsParams, AccountEventList200, AccountEventListParams, 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, 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, HostingEmailFolderList200, HostingEmailFolderList404, HostingEmailForwarderAdd200, HostingEmailForwarderAdd400, HostingEmailForwarderAdd403, HostingEmailForwarderAdd409, HostingEmailForwarderAdd512, HostingEmailForwarderAddBody, HostingEmailForwarderDelete200, HostingEmailForwarderDelete400, HostingEmailForwarderDeleteParams, HostingEmailForwardersList200, HostingEmailForwardersListParams, HostingEmailList200, HostingEmailSuspend200, HostingEmailSuspend403, HostingEmailSuspend404, HostingEmailSuspend512, HostingEmailSuspendBody, 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, 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, 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
  /**
@@ -785,6 +785,38 @@ export declare function useBackupList<TData = Awaited<ReturnType<typeof backupLi
785
785
  }): UseQueryResult<TData, TError> & {
786
786
  queryKey: QueryKey;
787
787
  };
788
+ /**
789
+ * Backup meta
790
+ * @summary Backup meta
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?: {
795
+ query?: Partial<UseQueryOptions<AxiosResponse<BackupMeta200, any>, TError, TData, QueryKey>> | undefined;
796
+ axios?: AxiosRequestConfig<any> | undefined;
797
+ } | undefined) => UseQueryOptions<AxiosResponse<BackupMeta200, any>, TError, TData, QueryKey> & {
798
+ queryKey: QueryKey;
799
+ };
800
+ export declare type BackupMetaQueryResult = NonNullable<Awaited<ReturnType<typeof backupMeta>>>;
801
+ export declare type BackupMetaQueryError = AxiosError<unknown>;
802
+ export declare function useBackupMeta<TData = Awaited<ReturnType<typeof backupMeta>>, TError = AxiosError<unknown>>(addonId: number, options: {
803
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof backupMeta>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof backupMeta>>, TError, TData>, 'initialData'>;
804
+ axios?: AxiosRequestConfig;
805
+ }): DefinedUseQueryResult<TData, TError> & {
806
+ queryKey: QueryKey;
807
+ };
808
+ export declare function useBackupMeta<TData = Awaited<ReturnType<typeof backupMeta>>, TError = AxiosError<unknown>>(addonId: number, options?: {
809
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof backupMeta>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof backupMeta>>, TError, TData>, 'initialData'>;
810
+ axios?: AxiosRequestConfig;
811
+ }): UseQueryResult<TData, TError> & {
812
+ queryKey: QueryKey;
813
+ };
814
+ export declare function useBackupMeta<TData = Awaited<ReturnType<typeof backupMeta>>, TError = AxiosError<unknown>>(addonId: number, options?: {
815
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof backupMeta>>, TError, TData>>;
816
+ axios?: AxiosRequestConfig;
817
+ }): UseQueryResult<TData, TError> & {
818
+ queryKey: QueryKey;
819
+ };
788
820
  /**
789
821
  * Decom and delete cloudflare basic addon
790
822
  * @summary Uninstall cloudflare basic addon
@@ -3062,6 +3094,37 @@ export declare const useHostingEmailForwarderDelete: <TError = AxiosError<Hostin
3062
3094
  hostingId: string;
3063
3095
  params: HostingEmailForwarderDeleteParams;
3064
3096
  }, TContext>;
3097
+ /**
3098
+ * Update an email address's settings, depending on address type
3099
+ * @summary update email account settings
3100
+ */
3101
+ export declare const hostingEmailSettings: (hostingId: string, hostingEmailSettingsBody: HostingEmailSettingsBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingEmailSettings200>>;
3102
+ export declare const getHostingEmailSettingsMutationOptions: <TError = AxiosError<HostingEmailSettings512 | HostingEmailSettings404 | HostingEmailSettings403, any>, TContext = unknown>(options?: {
3103
+ mutation?: UseMutationOptions<AxiosResponse<HostingEmailSettings200, any>, TError, {
3104
+ hostingId: string;
3105
+ data: HostingEmailSettingsBody;
3106
+ }, TContext> | undefined;
3107
+ axios?: AxiosRequestConfig<any> | undefined;
3108
+ } | undefined) => UseMutationOptions<AxiosResponse<HostingEmailSettings200, any>, TError, {
3109
+ hostingId: string;
3110
+ data: HostingEmailSettingsBody;
3111
+ }, TContext>;
3112
+ export declare type HostingEmailSettingsMutationResult = NonNullable<Awaited<ReturnType<typeof hostingEmailSettings>>>;
3113
+ export declare type HostingEmailSettingsMutationBody = HostingEmailSettingsBody;
3114
+ export declare type HostingEmailSettingsMutationError = AxiosError<HostingEmailSettings403 | HostingEmailSettings404 | HostingEmailSettings512>;
3115
+ /**
3116
+ * @summary update email account settings
3117
+ */
3118
+ export declare const useHostingEmailSettings: <TError = AxiosError<HostingEmailSettings512 | HostingEmailSettings404 | HostingEmailSettings403, any>, TContext = unknown>(options?: {
3119
+ mutation?: UseMutationOptions<AxiosResponse<HostingEmailSettings200, any>, TError, {
3120
+ hostingId: string;
3121
+ data: HostingEmailSettingsBody;
3122
+ }, TContext> | undefined;
3123
+ axios?: AxiosRequestConfig<any> | undefined;
3124
+ } | undefined) => UseMutationResult<AxiosResponse<HostingEmailSettings200, any>, TError, {
3125
+ hostingId: string;
3126
+ data: HostingEmailSettingsBody;
3127
+ }, TContext>;
3065
3128
  /**
3066
3129
  * Returns a SSO login token for an email account by using the query parameters.
3067
3130
  * @summary email sso
@@ -3094,37 +3157,6 @@ export declare function useEmailSso<TData = Awaited<ReturnType<typeof emailSso>>
3094
3157
  }): UseQueryResult<TData, TError> & {
3095
3158
  queryKey: QueryKey;
3096
3159
  };
3097
- /**
3098
- * Suspend or unsuspend an email accounts ability to send and receive email
3099
- * @summary email suspend
3100
- */
3101
- export declare const hostingEmailSuspend: (hostingId: string, hostingEmailSuspendBody: HostingEmailSuspendBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingEmailSuspend200>>;
3102
- export declare const getHostingEmailSuspendMutationOptions: <TError = AxiosError<HostingEmailSuspend512 | HostingEmailSuspend404 | HostingEmailSuspend403, any>, TContext = unknown>(options?: {
3103
- mutation?: UseMutationOptions<AxiosResponse<HostingEmailSuspend200, any>, TError, {
3104
- hostingId: string;
3105
- data: HostingEmailSuspendBody;
3106
- }, TContext> | undefined;
3107
- axios?: AxiosRequestConfig<any> | undefined;
3108
- } | undefined) => UseMutationOptions<AxiosResponse<HostingEmailSuspend200, any>, TError, {
3109
- hostingId: string;
3110
- data: HostingEmailSuspendBody;
3111
- }, TContext>;
3112
- export declare type HostingEmailSuspendMutationResult = NonNullable<Awaited<ReturnType<typeof hostingEmailSuspend>>>;
3113
- export declare type HostingEmailSuspendMutationBody = HostingEmailSuspendBody;
3114
- export declare type HostingEmailSuspendMutationError = AxiosError<HostingEmailSuspend403 | HostingEmailSuspend404 | HostingEmailSuspend512>;
3115
- /**
3116
- * @summary email suspend
3117
- */
3118
- export declare const useHostingEmailSuspend: <TError = AxiosError<HostingEmailSuspend512 | HostingEmailSuspend404 | HostingEmailSuspend403, any>, TContext = unknown>(options?: {
3119
- mutation?: UseMutationOptions<AxiosResponse<HostingEmailSuspend200, any>, TError, {
3120
- hostingId: string;
3121
- data: HostingEmailSuspendBody;
3122
- }, TContext> | undefined;
3123
- axios?: AxiosRequestConfig<any> | undefined;
3124
- } | undefined) => UseMutationResult<AxiosResponse<HostingEmailSuspend200, any>, TError, {
3125
- hostingId: string;
3126
- data: HostingEmailSuspendBody;
3127
- }, TContext>;
3128
3160
  /**
3129
3161
  * Lists existing email address folders
3130
3162
  * @summary email folder list
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.1398.0
6
+ * OpenAPI spec version: 1.1412.0
7
7
  */
8
8
  import { useInfiniteQuery, useMutation, useQuery } from '@tanstack/react-query';
9
9
  import axios from 'axios';
@@ -615,6 +615,32 @@ export function useBackupList(addonId, params, options) {
615
615
  query.queryKey = queryOptions.queryKey;
616
616
  return query;
617
617
  }
618
+ /**
619
+ * Backup meta
620
+ * @summary Backup meta
621
+ */
622
+ export const backupMeta = (addonId, options) => {
623
+ return axios.get(`/v1/addons/${addonId}/backup/meta`, options);
624
+ };
625
+ export const getBackupMetaQueryKey = (addonId) => {
626
+ return [`/v1/addons/${addonId}/backup/meta`];
627
+ };
628
+ export const getBackupMetaQueryOptions = (addonId, options) => {
629
+ var _a;
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));
633
+ return Object.assign({ queryKey, queryFn, enabled: !!(addonId) }, queryOptions);
634
+ };
635
+ /**
636
+ * @summary Backup meta
637
+ */
638
+ export function useBackupMeta(addonId, options) {
639
+ const queryOptions = getBackupMetaQueryOptions(addonId, options);
640
+ const query = useQuery(queryOptions);
641
+ query.queryKey = queryOptions.queryKey;
642
+ return query;
643
+ }
618
644
  /**
619
645
  * Decom and delete cloudflare basic addon
620
646
  * @summary Uninstall cloudflare basic addon
@@ -2351,6 +2377,28 @@ export const useHostingEmailForwarderDelete = (options) => {
2351
2377
  const mutationOptions = getHostingEmailForwarderDeleteMutationOptions(options);
2352
2378
  return useMutation(mutationOptions);
2353
2379
  };
2380
+ /**
2381
+ * Update an email address's settings, depending on address type
2382
+ * @summary update email account settings
2383
+ */
2384
+ export const hostingEmailSettings = (hostingId, hostingEmailSettingsBody, options) => {
2385
+ return axios.post(`/v1/hosting/${hostingId}/emails/settings`, hostingEmailSettingsBody, options);
2386
+ };
2387
+ export const getHostingEmailSettingsMutationOptions = (options) => {
2388
+ const { mutation: mutationOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
2389
+ const mutationFn = (props) => {
2390
+ const { hostingId, data } = props !== null && props !== void 0 ? props : {};
2391
+ return hostingEmailSettings(hostingId, data, axiosOptions);
2392
+ };
2393
+ return Object.assign({ mutationFn }, mutationOptions);
2394
+ };
2395
+ /**
2396
+ * @summary update email account settings
2397
+ */
2398
+ export const useHostingEmailSettings = (options) => {
2399
+ const mutationOptions = getHostingEmailSettingsMutationOptions(options);
2400
+ return useMutation(mutationOptions);
2401
+ };
2354
2402
  /**
2355
2403
  * Returns a SSO login token for an email account by using the query parameters.
2356
2404
  * @summary email sso
@@ -2377,28 +2425,6 @@ export function useEmailSso(hostingId, params, options) {
2377
2425
  query.queryKey = queryOptions.queryKey;
2378
2426
  return query;
2379
2427
  }
2380
- /**
2381
- * Suspend or unsuspend an email accounts ability to send and receive email
2382
- * @summary email suspend
2383
- */
2384
- export const hostingEmailSuspend = (hostingId, hostingEmailSuspendBody, options) => {
2385
- return axios.post(`/v1/hosting/${hostingId}/emails/suspend`, hostingEmailSuspendBody, options);
2386
- };
2387
- export const getHostingEmailSuspendMutationOptions = (options) => {
2388
- const { mutation: mutationOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
2389
- const mutationFn = (props) => {
2390
- const { hostingId, data } = props !== null && props !== void 0 ? props : {};
2391
- return hostingEmailSuspend(hostingId, data, axiosOptions);
2392
- };
2393
- return Object.assign({ mutationFn }, mutationOptions);
2394
- };
2395
- /**
2396
- * @summary email suspend
2397
- */
2398
- export const useHostingEmailSuspend = (options) => {
2399
- const mutationOptions = getHostingEmailSuspendMutationOptions(options);
2400
- return useMutation(mutationOptions);
2401
- };
2402
2428
  /**
2403
2429
  * Lists existing email address folders
2404
2430
  * @summary email folder list
@@ -1,5 +1,5 @@
1
1
  import { http } from 'msw';
2
- import type { AccessLogs200, AccountEventList200, AccountHostingList200, AccountPublicKey200, AccountPublicKeyCreate200, AccountPublicKeyDelete200, AccountPublicKeyToggle200, AccountPublicKeys200, ActivityLog200, AddCron200, AddHostingRedirects200, AddIndex200, AddPrivacy200, AddSiteIpaddress200, AddonsCloudflare200, AddonsInfo200, AddonsJetpackValidate200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSpamexpertsSso200, BackupCreateV2200, BackupCreateV3200, BackupDownloadV2200, BackupInitiate200, BackupList200, BackupListV2200, BackupRestoreV2200, BackupStatus200, BackupStatusV2200, BackupsJetpackBackup200, CodeguardBackupCreate200, CodeguardBackupDownload200, CodeguardBackupList200, CodeguardBackupRestore200, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupRestore200, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupRestore200, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronLastRun200, Db200, DbAdd200, DbCheckDatabase200, DbListV2200, DbMultipleUserDatabase200, DbUsage200, DbUserAdd200, DbUserDelete200, DbUserList200, DbUserPasswordSet200, DbUserPrivsGet200, DbUserPrivsSet200, DbUserRename200, DirectoryPrivacy200, DomainCertInstall200, DomainCertUninstall200, DomainCertUpdate200, DomainCerts200, DomainDnsExport200, DomainDnsImport200, DomainDnseditor200, DomainDnseditorAdd200, DomainDnseditorEdit200, DomainDnseditorList200, DomainDnszoneReset200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, EditPrivacy200, EmailSso200, ErrorPagesAdd200, ErrorPagesDelete200, ErrorPagesFetch200, HostingAccount200, HostingAddons200, HostingAdvancedDns200, HostingAdvancedDnsUpdate200, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesCheck200, HostingAdvancedPassword200, HostingAdvancedServer200, HostingAdvancedServerStatus200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingCapabilities200, HostingDbAuthorizedHosts200, HostingDbAuthorizedHostsAdd200, HostingDbAuthorizedHostsDelete200, HostingDbAuthorizedHostsUpdate200, HostingDomainAssign200, HostingDomainAvailability200, HostingDomainsUnassign200, HostingDomainsUnassignV2200, HostingEcommerceInfo200, HostingEmailAdd200, HostingEmailDelete200, HostingEmailFolderList200, HostingEmailForwarderAdd200, HostingEmailForwarderDelete200, HostingEmailForwardersList200, HostingEmailList200, HostingEmailSuspend200, HostingEmailUpdate200, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpList200, HostingFtpUpdate200, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingMigrationInfo200, HostingMigrationSiteScanStatus200, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsEvent200, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingRedirect200, HostingRedirects200Item, HostingRedirectsV2200Item, HostingRepo200, HostingRepoList200Item, HostingRepoLog200, HostingRepoSync200, HostingResellerSsoWhm200, HostingServerHits200, HostingShellInfo200, HostingShellToggle200, HostingSiteAdd200, HostingSiteAddV2200, HostingSitesV2200, HostingSshInfo200, HostingVisitors200, HotlinkconfigAdd200, HotlinkconfigDelete200, HotlinkconfigDetails200, Index200, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListIndex200, PasswordGenerate200, PasswordScore200, PhpErrors200, Privacy200, PrivacyUser200, ProductLicenseDetails200, RepairDatabase200, ResetSite200, Site200, SiteAddonCloudflare200, SiteAddonWpsolution200, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginUpdate200, SitePlugins200, SitePluginsAutoupdate200, SitePluginsToggle200, SitePluginsUpdate200, SiteQualityMetrics200, SiteStatus200, SiteUpdate200, SiteUsers200, SiteUsersV2200, SitesAccessLogs200, SitesAtomicMetrics200, SitesAutoupdatesResponse, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBatch200, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDomain200, SitesDomainUrl200, SitesDomainsCreate200, SitesDomainsV2200, SitesErrorLogs200, SitesHasBackups200, SitesInfo200, SitesListV2200, SitesListV3200, SitesMetricDimensions200, SitesMetricsDimensionAveraged200, SitesPerformanceCachepurge200, SitesPerformanceEdgecache200, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockV2200, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserDelete200, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSsl200, SitesSso200, SitesVersion200, SshKey200, SshKeyFetch200, SshKeyGenerate200, SshKeyImport200, SshKeyImportV2200, SshKeyImportV3200, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, Sso200, StagingSitePromote200, UpdateCron200, WebzaiSso200, WeeblySso200 } from './index.schemas';
2
+ import type { AccessLogs200, AccountEventList200, AccountHostingList200, AccountPublicKey200, AccountPublicKeyCreate200, AccountPublicKeyDelete200, AccountPublicKeyToggle200, AccountPublicKeys200, ActivityLog200, AddCron200, AddHostingRedirects200, AddIndex200, AddPrivacy200, AddSiteIpaddress200, AddonsCloudflare200, AddonsInfo200, AddonsJetpackValidate200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSpamexpertsSso200, BackupCreateV2200, BackupCreateV3200, BackupDownloadV2200, BackupInitiate200, BackupList200, BackupListV2200, BackupMeta200, BackupRestoreV2200, BackupStatus200, BackupStatusV2200, BackupsJetpackBackup200, CodeguardBackupCreate200, CodeguardBackupDownload200, CodeguardBackupList200, CodeguardBackupRestore200, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupRestore200, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupRestore200, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronLastRun200, Db200, DbAdd200, DbCheckDatabase200, DbListV2200, DbMultipleUserDatabase200, DbUsage200, DbUserAdd200, DbUserDelete200, DbUserList200, DbUserPasswordSet200, DbUserPrivsGet200, DbUserPrivsSet200, DbUserRename200, DirectoryPrivacy200, DomainCertInstall200, DomainCertUninstall200, DomainCertUpdate200, DomainCerts200, DomainDnsExport200, DomainDnsImport200, DomainDnseditor200, DomainDnseditorAdd200, DomainDnseditorEdit200, DomainDnseditorList200, DomainDnszoneReset200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, EditPrivacy200, EmailSso200, ErrorPagesAdd200, ErrorPagesDelete200, ErrorPagesFetch200, HostingAccount200, HostingAddons200, HostingAdvancedDns200, HostingAdvancedDnsUpdate200, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesCheck200, HostingAdvancedPassword200, HostingAdvancedServer200, HostingAdvancedServerStatus200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingCapabilities200, HostingDbAuthorizedHosts200, HostingDbAuthorizedHostsAdd200, HostingDbAuthorizedHostsDelete200, HostingDbAuthorizedHostsUpdate200, HostingDomainAssign200, HostingDomainAvailability200, HostingDomainsUnassign200, HostingDomainsUnassignV2200, HostingEcommerceInfo200, HostingEmailAdd200, HostingEmailDelete200, HostingEmailFolderList200, HostingEmailForwarderAdd200, HostingEmailForwarderDelete200, HostingEmailForwardersList200, HostingEmailList200, HostingEmailSettings200, HostingEmailUpdate200, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpList200, HostingFtpUpdate200, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingMigrationInfo200, HostingMigrationSiteScanStatus200, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsEvent200, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingRedirect200, HostingRedirects200Item, HostingRedirectsV2200Item, HostingRepo200, HostingRepoList200Item, HostingRepoLog200, HostingRepoSync200, HostingResellerSsoWhm200, HostingServerHits200, HostingShellInfo200, HostingShellToggle200, HostingSiteAdd200, HostingSiteAddV2200, HostingSitesV2200, HostingSshInfo200, HostingVisitors200, HotlinkconfigAdd200, HotlinkconfigDelete200, HotlinkconfigDetails200, Index200, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListIndex200, PasswordGenerate200, PasswordScore200, PhpErrors200, Privacy200, PrivacyUser200, ProductLicenseDetails200, RepairDatabase200, ResetSite200, Site200, SiteAddonCloudflare200, SiteAddonWpsolution200, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginUpdate200, SitePlugins200, SitePluginsAutoupdate200, SitePluginsToggle200, SitePluginsUpdate200, SiteQualityMetrics200, SiteStatus200, SiteUpdate200, SiteUsers200, SiteUsersV2200, SitesAccessLogs200, SitesAtomicMetrics200, SitesAutoupdatesResponse, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBatch200, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDomain200, SitesDomainUrl200, SitesDomainsCreate200, SitesDomainsV2200, SitesErrorLogs200, SitesHasBackups200, SitesInfo200, SitesListV2200, SitesListV3200, SitesMetricDimensions200, SitesMetricsDimensionAveraged200, SitesPerformanceCachepurge200, SitesPerformanceEdgecache200, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockV2200, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserDelete200, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSsl200, SitesSso200, SitesVersion200, SshKey200, SshKeyFetch200, SshKeyGenerate200, SshKeyImport200, SshKeyImportV2200, SshKeyImportV3200, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, Sso200, StagingSitePromote200, UpdateCron200, WebzaiSso200, WeeblySso200 } from './index.schemas';
3
3
  export declare const getAccountEventListResponseMock: (overrideResponse?: Partial<AccountEventList200>) => AccountEventList200;
4
4
  export declare const getAccountHostingListResponseMock: (overrideResponse?: Partial<AccountHostingList200>) => AccountHostingList200;
5
5
  export declare const getAccountPublicKeysResponseMock: (overrideResponse?: Partial<AccountPublicKeys200>) => AccountPublicKeys200;
@@ -25,6 +25,7 @@ export declare const getAddonsSitelockSsoResponseMock: (overrideResponse?: Parti
25
25
  export declare const getBackupInitiateResponseMock: (overrideResponse?: Partial<BackupInitiate200>) => BackupInitiate200;
26
26
  export declare const getBackupStatusResponseMock: (overrideResponse?: Partial<BackupStatus200>) => BackupStatus200;
27
27
  export declare const getBackupListResponseMock: (overrideResponse?: Partial<BackupList200>) => BackupList200;
28
+ export declare const getBackupMetaResponseMock: (overrideResponse?: Partial<BackupMeta200>) => BackupMeta200;
28
29
  export declare const getAddonsCloudflareResponseMock: (overrideResponse?: Partial<AddonsCloudflare200>) => AddonsCloudflare200;
29
30
  export declare const getAddonsInfoResponseMock: (overrideResponse?: Partial<AddonsInfo200>) => AddonsInfo200;
30
31
  export declare const getAddonsJetpackValidateResponseMock: (overrideResponse?: Partial<AddonsJetpackValidate200>) => AddonsJetpackValidate200;
@@ -98,8 +99,8 @@ export declare const getHostingEmailUpdateResponseMock: (overrideResponse?: Part
98
99
  export declare const getHostingEmailForwardersListResponseMock: (overrideResponse?: Partial<HostingEmailForwardersList200>) => HostingEmailForwardersList200;
99
100
  export declare const getHostingEmailForwarderAddResponseMock: (overrideResponse?: Partial<HostingEmailForwarderAdd200>) => HostingEmailForwarderAdd200;
100
101
  export declare const getHostingEmailForwarderDeleteResponseMock: (overrideResponse?: Partial<HostingEmailForwarderDelete200>) => HostingEmailForwarderDelete200;
102
+ export declare const getHostingEmailSettingsResponseMock: (overrideResponse?: Partial<HostingEmailSettings200>) => HostingEmailSettings200;
101
103
  export declare const getEmailSsoResponseMock: (overrideResponse?: Partial<EmailSso200>) => EmailSso200;
102
- export declare const getHostingEmailSuspendResponseMock: (overrideResponse?: Partial<HostingEmailSuspend200>) => HostingEmailSuspend200;
103
104
  export declare const getHostingEmailFolderListResponseMock: (overrideResponse?: Partial<HostingEmailFolderList200>) => HostingEmailFolderList200;
104
105
  export declare const getHostingFixownershipResponseMock: (overrideResponse?: Partial<HostingFixownership200>) => HostingFixownership200;
105
106
  export declare const getHostingFtpListResponseMock: (overrideResponse?: Partial<HostingFtpList200>) => HostingFtpList200;
@@ -270,6 +271,7 @@ export declare const getAddonsSitelockSsoMockHandler: (overrideResponse?: Addons
270
271
  export declare const getBackupInitiateMockHandler: (overrideResponse?: BackupInitiate200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<BackupInitiate200> | BackupInitiate200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
271
272
  export declare const getBackupStatusMockHandler: (overrideResponse?: BackupStatus200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<BackupStatus200> | BackupStatus200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
272
273
  export declare const getBackupListMockHandler: (overrideResponse?: BackupList200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<BackupList200> | BackupList200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
274
+ export declare const getBackupMetaMockHandler: (overrideResponse?: BackupMeta200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<BackupMeta200> | BackupMeta200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
273
275
  export declare const getAddonsCloudflareMockHandler: (overrideResponse?: AddonsCloudflare200 | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<AddonsCloudflare200> | AddonsCloudflare200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
274
276
  export declare const getAddonsInfoMockHandler: (overrideResponse?: AddonsInfo200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AddonsInfo200> | AddonsInfo200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
275
277
  export declare const getAddonsJetpackValidateMockHandler: (overrideResponse?: AddonsJetpackValidate200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<AddonsJetpackValidate200> | AddonsJetpackValidate200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
@@ -343,8 +345,8 @@ export declare const getHostingEmailUpdateMockHandler: (overrideResponse?: Hosti
343
345
  export declare const getHostingEmailForwardersListMockHandler: (overrideResponse?: HostingEmailForwardersList200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingEmailForwardersList200> | HostingEmailForwardersList200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
344
346
  export declare const getHostingEmailForwarderAddMockHandler: (overrideResponse?: HostingEmailForwarderAdd200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<HostingEmailForwarderAdd200> | HostingEmailForwarderAdd200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
345
347
  export declare const getHostingEmailForwarderDeleteMockHandler: (overrideResponse?: HostingEmailForwarderDelete200 | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<HostingEmailForwarderDelete200> | HostingEmailForwarderDelete200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
348
+ export declare const getHostingEmailSettingsMockHandler: (overrideResponse?: HostingEmailSettings200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<HostingEmailSettings200> | HostingEmailSettings200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
346
349
  export declare const getEmailSsoMockHandler: (overrideResponse?: EmailSso200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<EmailSso200> | EmailSso200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
347
- export declare const getHostingEmailSuspendMockHandler: (overrideResponse?: HostingEmailSuspend200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<HostingEmailSuspend200> | HostingEmailSuspend200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
348
350
  export declare const getHostingEmailFolderListMockHandler: (overrideResponse?: HostingEmailFolderList200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingEmailFolderList200> | HostingEmailFolderList200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
349
351
  export declare const getHostingFixownershipMockHandler: (overrideResponse?: HostingFixownership200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<HostingFixownership200> | HostingFixownership200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
350
352
  export declare const getHostingFtpListMockHandler: (overrideResponse?: HostingFtpList200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingFtpList200> | HostingFtpList200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
package/src/index.msw.js CHANGED
@@ -4,7 +4,7 @@ import { __awaiter } from "tslib";
4
4
  * Do not edit manually.
5
5
  * Hosting UAPI
6
6
  * Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
7
- * OpenAPI spec version: 1.1398.0
7
+ * OpenAPI spec version: 1.1412.0
8
8
  */
9
9
  import { faker } from '@faker-js/faker';
10
10
  import { HttpResponse, delay, http } from 'msw';
@@ -33,6 +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.word.sample(), 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_is_processing: faker.helpers.arrayElement([{ action: faker.helpers.arrayElement([faker.word.sample(), undefined]), type: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, undefined]), cbs_last_restore_timestamp: 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]) }, overrideResponse));
36
37
  export const getAddonsCloudflareResponseMock = (overrideResponse = {}) => (Object.assign({ status: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
37
38
  export const getAddonsInfoResponseMock = (overrideResponse = {}) => (Object.assign({ id: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
38
39
  export const getAddonsJetpackValidateResponseMock = (overrideResponse = {}) => (Object.assign({ is_connected: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, overrideResponse));
@@ -103,13 +104,13 @@ export const getHostingDomainsUnassignResponseMock = (overrideResponse = {}) =>
103
104
  export const getHostingEcommerceInfoResponseMock = (overrideResponse = {}) => (Object.assign({ addon_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), back_ref: faker.helpers.arrayElement([faker.word.sample(), undefined]), level: faker.helpers.arrayElement([faker.word.sample(), undefined]), name: faker.helpers.arrayElement([faker.word.sample(), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]), subtype: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), type: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
104
105
  export const getHostingEmailAddResponseMock = (overrideResponse = {}) => (Object.assign({ address: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
105
106
  export const getHostingEmailDeleteResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
106
- export const getHostingEmailListResponseMock = (overrideResponse = {}) => (Object.assign({ rows: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ address: faker.helpers.arrayElement([faker.word.sample(), undefined]), box_suspensions: faker.helpers.arrayElement([{ incoming: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), login: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), outgoing: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), outgoing_hold: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, undefined]), disk_used_kib: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), disk_used_percent: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), domain: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), files: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), quota: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), system_suspensions: faker.helpers.arrayElement([{ receive: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), relay: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), sendmail: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, undefined]), type: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]) }, overrideResponse));
107
+ export const getHostingEmailListResponseMock = (overrideResponse = {}) => (Object.assign({ rows: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ address: faker.helpers.arrayElement([faker.word.sample(), undefined]), autofolders: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), box_suspensions: faker.helpers.arrayElement([{ incoming: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), login: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), outgoing: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), outgoing_hold: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, undefined]), disk_used_kib: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), disk_used_percent: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), domain: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), files: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), quota: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), system_suspensions: faker.helpers.arrayElement([{ receive: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), relay: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), sendmail: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, undefined]), type: faker.helpers.arrayElement([faker.word.sample(), undefined]), utf8_folders: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) })), undefined]) }, overrideResponse));
107
108
  export const getHostingEmailUpdateResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
108
109
  export const getHostingEmailForwardersListResponseMock = (overrideResponse = {}) => (Object.assign({ forwarders: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ destination: faker.helpers.arrayElement([faker.word.sample(), undefined]), source: faker.helpers.arrayElement([faker.word.sample(), undefined]), type: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) })), undefined]) }, overrideResponse));
109
110
  export const getHostingEmailForwarderAddResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
110
111
  export const getHostingEmailForwarderDeleteResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
112
+ export const getHostingEmailSettingsResponseMock = (overrideResponse = {}) => (Object.assign({ account_incoming: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), account_login: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), account_outgoing: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), address: faker.helpers.arrayElement([faker.word.sample(), undefined]), autofolders: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), utf8_folders: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, overrideResponse));
111
113
  export const getEmailSsoResponseMock = (overrideResponse = {}) => (Object.assign({ url: faker.word.sample() }, overrideResponse));
112
- export const getHostingEmailSuspendResponseMock = (overrideResponse = {}) => (Object.assign({ address: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
113
114
  export const getHostingEmailFolderListResponseMock = (overrideResponse = {}) => (Object.assign({ count: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), folders: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ children: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ children: faker.helpers.arrayElement([[], undefined]), name: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]), name: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]) }, overrideResponse));
114
115
  export const getHostingFixownershipResponseMock = (overrideResponse = {}) => (Object.assign({ success: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, overrideResponse));
115
116
  export const getHostingFtpListResponseMock = (overrideResponse = {}) => (Object.assign({ ftp_accounts: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ account: faker.helpers.arrayElement([faker.word.sample(), undefined]), domain: faker.helpers.arrayElement([faker.word.sample(), undefined]), homedir: faker.helpers.arrayElement([faker.word.sample(), undefined]), type: faker.helpers.arrayElement([faker.word.sample(), undefined]), user: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]), server_name: faker.helpers.arrayElement([faker.word.sample(), undefined]), special_ftp_accounts: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ account: faker.helpers.arrayElement([faker.word.sample(), undefined]), domain: faker.helpers.arrayElement([faker.word.sample(), undefined]), homedir: faker.helpers.arrayElement([faker.word.sample(), undefined]), type: faker.helpers.arrayElement([faker.word.sample(), undefined]), user: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]) }, overrideResponse));
@@ -527,6 +528,16 @@ export const getBackupListMockHandler = (overrideResponse) => {
527
528
  });
528
529
  }));
529
530
  };
531
+ export const getBackupMetaMockHandler = (overrideResponse) => {
532
+ return http.get('*/v1/addons/:addonId/backup/meta', (info) => __awaiter(void 0, void 0, void 0, function* () {
533
+ yield delay(0);
534
+ return new HttpResponse(JSON.stringify(overrideResponse !== undefined
535
+ ? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
536
+ : getBackupMetaResponseMock()), { status: 200,
537
+ headers: { 'Content-Type': 'application/json' }
538
+ });
539
+ }));
540
+ };
530
541
  export const getAddonsCloudflareMockHandler = (overrideResponse) => {
531
542
  return http.delete('*/v1/addons/:addonId/cloudflare', (info) => __awaiter(void 0, void 0, void 0, function* () {
532
543
  yield delay(0);
@@ -1257,22 +1268,22 @@ export const getHostingEmailForwarderDeleteMockHandler = (overrideResponse) => {
1257
1268
  });
1258
1269
  }));
1259
1270
  };
1260
- export const getEmailSsoMockHandler = (overrideResponse) => {
1261
- return http.get('*/v1/hosting/:hostingId/emails/sso', (info) => __awaiter(void 0, void 0, void 0, function* () {
1271
+ export const getHostingEmailSettingsMockHandler = (overrideResponse) => {
1272
+ return http.post('*/v1/hosting/:hostingId/emails/settings', (info) => __awaiter(void 0, void 0, void 0, function* () {
1262
1273
  yield delay(0);
1263
1274
  return new HttpResponse(JSON.stringify(overrideResponse !== undefined
1264
1275
  ? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
1265
- : getEmailSsoResponseMock()), { status: 200,
1276
+ : getHostingEmailSettingsResponseMock()), { status: 200,
1266
1277
  headers: { 'Content-Type': 'application/json' }
1267
1278
  });
1268
1279
  }));
1269
1280
  };
1270
- export const getHostingEmailSuspendMockHandler = (overrideResponse) => {
1271
- return http.post('*/v1/hosting/:hostingId/emails/suspend', (info) => __awaiter(void 0, void 0, void 0, function* () {
1281
+ export const getEmailSsoMockHandler = (overrideResponse) => {
1282
+ return http.get('*/v1/hosting/:hostingId/emails/sso', (info) => __awaiter(void 0, void 0, void 0, function* () {
1272
1283
  yield delay(0);
1273
1284
  return new HttpResponse(JSON.stringify(overrideResponse !== undefined
1274
1285
  ? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
1275
- : getHostingEmailSuspendResponseMock()), { status: 200,
1286
+ : getEmailSsoResponseMock()), { status: 200,
1276
1287
  headers: { 'Content-Type': 'application/json' }
1277
1288
  });
1278
1289
  }));
@@ -2773,6 +2784,7 @@ export const getHostingUAPIMock = () => [
2773
2784
  getBackupInitiateMockHandler(),
2774
2785
  getBackupStatusMockHandler(),
2775
2786
  getBackupListMockHandler(),
2787
+ getBackupMetaMockHandler(),
2776
2788
  getAddonsCloudflareMockHandler(),
2777
2789
  getAddonsInfoMockHandler(),
2778
2790
  getAddonsJetpackValidateMockHandler(),
@@ -2846,8 +2858,8 @@ export const getHostingUAPIMock = () => [
2846
2858
  getHostingEmailForwardersListMockHandler(),
2847
2859
  getHostingEmailForwarderAddMockHandler(),
2848
2860
  getHostingEmailForwarderDeleteMockHandler(),
2861
+ getHostingEmailSettingsMockHandler(),
2849
2862
  getEmailSsoMockHandler(),
2850
- getHostingEmailSuspendMockHandler(),
2851
2863
  getHostingEmailFolderListMockHandler(),
2852
2864
  getHostingFixownershipMockHandler(),
2853
2865
  getHostingFtpListMockHandler(),
@@ -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.1398.0
6
+ * OpenAPI spec version: 1.1412.0
7
7
  */
8
8
  export declare type SshKeyListV4200RowsItem = {
9
9
  authorize?: boolean;
@@ -294,6 +294,63 @@ export declare type SitesListV2200ItemsItemStaging = {
294
294
  /** A list of staging sites of the current site */
295
295
  sites?: number[];
296
296
  } | null;
297
+ export declare type SitesListV2200ItemsItemResourcesStorage = {
298
+ /** @nullable */
299
+ available?: number | null;
300
+ /** @nullable */
301
+ total?: number | null;
302
+ unit?: string;
303
+ /** @nullable */
304
+ used?: number | null;
305
+ };
306
+ export declare type SitesListV2200ItemsItemResources = {
307
+ storage?: SitesListV2200ItemsItemResourcesStorage;
308
+ /** @nullable */
309
+ workers?: number | null;
310
+ };
311
+ /**
312
+ * @nullable
313
+ */
314
+ export declare type SitesListV2200ItemsItemPendingUrlData = {
315
+ /**
316
+ * The root domain name
317
+ * @nullable
318
+ */
319
+ base_domain?: string | null;
320
+ /**
321
+ * The Fully Qualified Domain Name (FQDN)
322
+ * @nullable
323
+ */
324
+ domain?: string | null;
325
+ /**
326
+ * The current pending_url's HAL Domain ID
327
+ * @nullable
328
+ */
329
+ domain_id?: number | null;
330
+ /** @nullable */
331
+ error?: string | null;
332
+ /** Flag indicating whether the pending_url is temporary or not */
333
+ is_temp?: boolean;
334
+ /**
335
+ * Flag indicating whether the url_sync job has run out of attempts
336
+ * @nullable
337
+ */
338
+ job_failed?: boolean | null;
339
+ /** @nullable */
340
+ stage?: string | null;
341
+ /**
342
+ * Timestamp for when we will update the WP url, regardless of active sessions
343
+ * @nullable
344
+ */
345
+ wp_session?: string | null;
346
+ } | null;
347
+ /**
348
+ * Job ids for the site
349
+ * @nullable
350
+ */
351
+ export declare type SitesListV2200ItemsItemJobs = {
352
+ [key: string]: unknown;
353
+ } | null;
297
354
  export declare type SitesListV2200ItemsItem = {
298
355
  /** @nullable */
299
356
  account_back_ref?: string | null;
@@ -378,63 +435,6 @@ export declare type SitesListV2200 = {
378
435
  /** total number of sites returned */
379
436
  total?: number;
380
437
  };
381
- export declare type SitesListV2200ItemsItemResourcesStorage = {
382
- /** @nullable */
383
- available?: number | null;
384
- /** @nullable */
385
- total?: number | null;
386
- unit?: string;
387
- /** @nullable */
388
- used?: number | null;
389
- };
390
- export declare type SitesListV2200ItemsItemResources = {
391
- storage?: SitesListV2200ItemsItemResourcesStorage;
392
- /** @nullable */
393
- workers?: number | null;
394
- };
395
- /**
396
- * @nullable
397
- */
398
- export declare type SitesListV2200ItemsItemPendingUrlData = {
399
- /**
400
- * The root domain name
401
- * @nullable
402
- */
403
- base_domain?: string | null;
404
- /**
405
- * The Fully Qualified Domain Name (FQDN)
406
- * @nullable
407
- */
408
- domain?: string | null;
409
- /**
410
- * The current pending_url's HAL Domain ID
411
- * @nullable
412
- */
413
- domain_id?: number | null;
414
- /** @nullable */
415
- error?: string | null;
416
- /** Flag indicating whether the pending_url is temporary or not */
417
- is_temp?: boolean;
418
- /**
419
- * Flag indicating whether the url_sync job has run out of attempts
420
- * @nullable
421
- */
422
- job_failed?: boolean | null;
423
- /** @nullable */
424
- stage?: string | null;
425
- /**
426
- * Timestamp for when we will update the WP url, regardless of active sessions
427
- * @nullable
428
- */
429
- wp_session?: string | null;
430
- } | null;
431
- /**
432
- * Job ids for the site
433
- * @nullable
434
- */
435
- export declare type SitesListV2200ItemsItemJobs = {
436
- [key: string]: unknown;
437
- } | null;
438
438
  export declare type SshKeyV2200 = {
439
439
  deleted?: number;
440
440
  key_name?: string;
@@ -787,6 +787,8 @@ export declare type BackupRestoreV2Body = {
787
787
  /** Backup Volume store ID to get the backup */
788
788
  backup_id: string;
789
789
  dbs?: string[];
790
+ /** Restore date */
791
+ restore_date: string;
790
792
  /** Restore type */
791
793
  restore_type?: string;
792
794
  /** Site id */
@@ -1179,6 +1181,9 @@ export declare type SiteQualityMetrics200AspectScores = {
1179
1181
  performance?: number;
1180
1182
  seo?: number;
1181
1183
  };
1184
+ export declare type SiteQualityMetrics200AspectDetails = {
1185
+ performance?: SiteQualityMetrics200AspectDetailsPerformance;
1186
+ };
1182
1187
  export declare type SiteQualityMetrics200 = {
1183
1188
  aspect_details: SiteQualityMetrics200AspectDetails;
1184
1189
  aspect_scores: SiteQualityMetrics200AspectScores;
@@ -1209,9 +1214,6 @@ export declare type SiteQualityMetrics200AspectDetailsPerformance = {
1209
1214
  'speed-index'?: SiteQualityMetrics200AspectDetailsPerformanceSpeedIndex;
1210
1215
  'total-blocking-time'?: SiteQualityMetrics200AspectDetailsPerformanceTotalBlockingTime;
1211
1216
  };
1212
- export declare type SiteQualityMetrics200AspectDetails = {
1213
- performance?: SiteQualityMetrics200AspectDetailsPerformance;
1214
- };
1215
1217
  export declare type SiteQualityMetricsStrategy = typeof SiteQualityMetricsStrategy[keyof typeof SiteQualityMetricsStrategy];
1216
1218
  export declare const SiteQualityMetricsStrategy: {
1217
1219
  readonly MOBILE: "MOBILE";
@@ -2056,6 +2058,17 @@ export declare type HostingVisitors200VisitorsItem = {
2056
2058
  unique_visitors?: number;
2057
2059
  visitors?: number;
2058
2060
  };
2061
+ export declare type HostingVisitors200 = {
2062
+ daily?: HostingVisitors200Daily;
2063
+ is_linked_domain?: boolean;
2064
+ linked_domain?: string;
2065
+ total_bandwidth?: number;
2066
+ total_hits?: number;
2067
+ total_pages?: number;
2068
+ total_unique_visitors?: number;
2069
+ total_visitors?: number;
2070
+ visitors?: HostingVisitors200VisitorsItem[];
2071
+ };
2059
2072
  export declare type HostingVisitors200DailyTotal = {
2060
2073
  total_bandwidth?: number;
2061
2074
  total_hits?: number;
@@ -2075,17 +2088,6 @@ export declare type HostingVisitors200Daily = {
2075
2088
  data?: HostingVisitors200DailyDataItem[];
2076
2089
  total?: HostingVisitors200DailyTotal;
2077
2090
  };
2078
- export declare type HostingVisitors200 = {
2079
- daily?: HostingVisitors200Daily;
2080
- is_linked_domain?: boolean;
2081
- linked_domain?: string;
2082
- total_bandwidth?: number;
2083
- total_hits?: number;
2084
- total_pages?: number;
2085
- total_unique_visitors?: number;
2086
- total_visitors?: number;
2087
- visitors?: HostingVisitors200VisitorsItem[];
2088
- };
2089
2091
  export declare type HostingVisitorsSource = typeof HostingVisitorsSource[keyof typeof HostingVisitorsSource];
2090
2092
  export declare const HostingVisitorsSource: {
2091
2093
  readonly http: "http";
@@ -2382,9 +2384,6 @@ export declare type HostingRedirects200Item = {
2382
2384
  url?: string;
2383
2385
  wildcard?: boolean;
2384
2386
  };
2385
- export declare type ProductLicenseDetails200 = {
2386
- wpsolution?: ProductLicenseDetails200Wpsolution;
2387
- };
2388
2387
  export declare type ProductLicenseDetails200WpsolutionCreatorItem = {
2389
2388
  expirationDate?: string;
2390
2389
  prodInstId?: string;
@@ -2397,6 +2396,9 @@ export declare type ProductLicenseDetails200Wpsolution = {
2397
2396
  commerce?: ProductLicenseDetails200WpsolutionCommerceItem[];
2398
2397
  creator?: ProductLicenseDetails200WpsolutionCreatorItem[];
2399
2398
  };
2399
+ export declare type ProductLicenseDetails200 = {
2400
+ wpsolution?: ProductLicenseDetails200Wpsolution;
2401
+ };
2400
2402
  export declare type ProductLicenseDetailsProductName = typeof ProductLicenseDetailsProductName[keyof typeof ProductLicenseDetailsProductName];
2401
2403
  export declare const ProductLicenseDetailsProductName: {
2402
2404
  readonly wpsolution: "wpsolution";
@@ -2762,60 +2764,125 @@ export declare type HostingEmailFolderList200 = {
2762
2764
  /** List of email address folders */
2763
2765
  folders?: HostingEmailFolderList200FoldersItem[];
2764
2766
  };
2765
- export declare type HostingEmailSuspend512 = {
2767
+ export declare type EmailSso512 = {
2766
2768
  /** Customer error code */
2767
2769
  error?: string;
2768
2770
  };
2769
- export declare type HostingEmailSuspend404 = {
2770
- /** Error message */
2771
+ export declare type EmailSso400 = {
2772
+ /** Customer error code */
2771
2773
  error?: string;
2772
2774
  };
2773
- export declare type HostingEmailSuspend403 = {
2775
+ export declare type EmailSso200 = {
2776
+ url: string;
2777
+ };
2778
+ export declare type EmailSsoParams = {
2779
+ email: string;
2780
+ };
2781
+ export declare type HostingEmailSettings512 = {
2774
2782
  /** Customer error code */
2775
2783
  error?: string;
2776
2784
  };
2777
- export declare type HostingEmailSuspend200 = {
2778
- /** The address that was (un)suspended */
2785
+ export declare type HostingEmailSettings404 = {
2786
+ /** Customer error code */
2787
+ error?: string;
2788
+ };
2789
+ export declare type HostingEmailSettings403 = {
2790
+ /** Customer error code */
2791
+ error?: string;
2792
+ };
2793
+ export declare type HostingEmailSettings200 = {
2794
+ /**
2795
+ * New status of account_incoming - ADDRESS ONLY
2796
+ * @nullable
2797
+ */
2798
+ account_incoming?: string | null;
2799
+ /**
2800
+ * New status of account_login - ADDRESS ONLY
2801
+ * @nullable
2802
+ */
2803
+ account_login?: string | null;
2804
+ /**
2805
+ * New status of account_outgoing - ADDRESS ONLY
2806
+ * @nullable
2807
+ */
2808
+ account_outgoing?: string | null;
2809
+ /** The address that was updated */
2779
2810
  address?: string;
2811
+ /**
2812
+ * New status of automatic plus-addressed folder creation - ADDRESS or SYSTEM
2813
+ * @nullable
2814
+ */
2815
+ autofolders?: string | null;
2816
+ /**
2817
+ * New status of utf8 folder usage - SYSTEM ONLY
2818
+ * @nullable
2819
+ */
2820
+ utf8_folders?: string | null;
2780
2821
  };
2781
2822
  /**
2782
- * The function to suspend
2823
+ * Whether to toggle utf8 folder usage on or off - SYSTEM ONLY
2783
2824
  */
2784
- export declare type HostingEmailSuspendBodyType = typeof HostingEmailSuspendBodyType[keyof typeof HostingEmailSuspendBodyType];
2785
- export declare const HostingEmailSuspendBodyType: {
2786
- readonly account_login: "account_login";
2787
- readonly account_outgoing: "account_outgoing";
2788
- readonly account_incoming: "account_incoming";
2825
+ export declare type HostingEmailSettingsBodyUtf8Folders = typeof HostingEmailSettingsBodyUtf8Folders[keyof typeof HostingEmailSettingsBodyUtf8Folders];
2826
+ export declare const HostingEmailSettingsBodyUtf8Folders: {
2827
+ readonly enable: "enable";
2828
+ readonly disable: "disable";
2789
2829
  };
2790
2830
  /**
2791
- * Suspension action. Can be 'suspend' or 'unsuspend'.
2831
+ * the type of account
2792
2832
  */
2793
- export declare type HostingEmailSuspendBodyAction = typeof HostingEmailSuspendBodyAction[keyof typeof HostingEmailSuspendBodyAction];
2794
- export declare const HostingEmailSuspendBodyAction: {
2795
- readonly suspend: "suspend";
2796
- readonly unsuspend: "unsuspend";
2833
+ export declare type HostingEmailSettingsBodyType = typeof HostingEmailSettingsBodyType[keyof typeof HostingEmailSettingsBodyType];
2834
+ export declare const HostingEmailSettingsBodyType: {
2835
+ readonly address: "address";
2836
+ readonly system: "system";
2797
2837
  };
2798
- export declare type HostingEmailSuspendBody = {
2799
- /** Suspension action. Can be 'suspend' or 'unsuspend'. */
2800
- action?: HostingEmailSuspendBodyAction;
2801
- /** The email address to (un)suspend */
2802
- address: string;
2803
- /** The function to suspend */
2804
- type: HostingEmailSuspendBodyType;
2838
+ /**
2839
+ * Whether to toggle automatic plus-addressed folder creation on or off - ADDRESS or SYSTEM
2840
+ */
2841
+ export declare type HostingEmailSettingsBodyAutofolders = typeof HostingEmailSettingsBodyAutofolders[keyof typeof HostingEmailSettingsBodyAutofolders];
2842
+ export declare const HostingEmailSettingsBodyAutofolders: {
2843
+ readonly enable: "enable";
2844
+ readonly disable: "disable";
2805
2845
  };
2806
- export declare type EmailSso512 = {
2807
- /** Customer error code */
2808
- error?: string;
2846
+ /**
2847
+ * Whether to suspend or unsuspend account_outgoing - ADDRESS ONLY
2848
+ */
2849
+ export declare type HostingEmailSettingsBodyAccountOutgoing = typeof HostingEmailSettingsBodyAccountOutgoing[keyof typeof HostingEmailSettingsBodyAccountOutgoing];
2850
+ export declare const HostingEmailSettingsBodyAccountOutgoing: {
2851
+ readonly hold: "hold";
2852
+ readonly suspend: "suspend";
2853
+ readonly unsuspend: "unsuspend";
2809
2854
  };
2810
- export declare type EmailSso400 = {
2811
- /** Customer error code */
2812
- error?: string;
2855
+ /**
2856
+ * Whether to suspend or unsuspend account_login - ADDRESS ONLY
2857
+ */
2858
+ export declare type HostingEmailSettingsBodyAccountLogin = typeof HostingEmailSettingsBodyAccountLogin[keyof typeof HostingEmailSettingsBodyAccountLogin];
2859
+ export declare const HostingEmailSettingsBodyAccountLogin: {
2860
+ readonly suspend: "suspend";
2861
+ readonly unsuspend: "unsuspend";
2813
2862
  };
2814
- export declare type EmailSso200 = {
2815
- url: string;
2863
+ /**
2864
+ * Whether to suspend or unsuspend account_incoming - ADDRESS ONLY
2865
+ */
2866
+ export declare type HostingEmailSettingsBodyAccountIncoming = typeof HostingEmailSettingsBodyAccountIncoming[keyof typeof HostingEmailSettingsBodyAccountIncoming];
2867
+ export declare const HostingEmailSettingsBodyAccountIncoming: {
2868
+ readonly suspend: "suspend";
2869
+ readonly unsuspend: "unsuspend";
2816
2870
  };
2817
- export declare type EmailSsoParams = {
2818
- email: string;
2871
+ export declare type HostingEmailSettingsBody = {
2872
+ /** Whether to suspend or unsuspend account_incoming - ADDRESS ONLY */
2873
+ account_incoming?: HostingEmailSettingsBodyAccountIncoming;
2874
+ /** Whether to suspend or unsuspend account_login - ADDRESS ONLY */
2875
+ account_login?: HostingEmailSettingsBodyAccountLogin;
2876
+ /** Whether to suspend or unsuspend account_outgoing - ADDRESS ONLY */
2877
+ account_outgoing?: HostingEmailSettingsBodyAccountOutgoing;
2878
+ /** The email address to update settings on - ADDRESS ONLY */
2879
+ address?: string;
2880
+ /** Whether to toggle automatic plus-addressed folder creation on or off - ADDRESS or SYSTEM */
2881
+ autofolders?: HostingEmailSettingsBodyAutofolders;
2882
+ /** the type of account */
2883
+ type: HostingEmailSettingsBodyType;
2884
+ /** Whether to toggle utf8 folder usage on or off - SYSTEM ONLY */
2885
+ utf8_folders?: HostingEmailSettingsBodyUtf8Folders;
2819
2886
  };
2820
2887
  export declare type HostingEmailForwarderDelete400 = {
2821
2888
  /** Customer error code */
@@ -2977,6 +3044,11 @@ export declare type HostingEmailList200RowsItemBoxSuspensions = {
2977
3044
  export declare type HostingEmailList200RowsItem = {
2978
3045
  /** The email address */
2979
3046
  address?: string;
3047
+ /**
3048
+ * Autocreate folders with plus addressing status
3049
+ * @nullable
3050
+ */
3051
+ autofolders?: boolean | null;
2980
3052
  /**
2981
3053
  * State of email box suspensions
2982
3054
  * @nullable
@@ -3014,6 +3086,11 @@ export declare type HostingEmailList200RowsItem = {
3014
3086
  system_suspensions?: HostingEmailList200RowsItemSystemSuspensions;
3015
3087
  /** The type of email */
3016
3088
  type?: string;
3089
+ /**
3090
+ * If mail folders support utf8 encoding
3091
+ * @nullable
3092
+ */
3093
+ utf8_folders?: boolean | null;
3017
3094
  };
3018
3095
  export declare type HostingEmailList200 = {
3019
3096
  /** List of email resources */
@@ -3749,14 +3826,6 @@ export declare type HostingAccount200ResourcesStorage = {
3749
3826
  /** @nullable */
3750
3827
  used?: number | null;
3751
3828
  };
3752
- /**
3753
- * @nullable
3754
- */
3755
- export declare type HostingAccount200Resources = {
3756
- staging?: HostingAccount200ResourcesStaging;
3757
- storage?: HostingAccount200ResourcesStorage;
3758
- workers?: HostingAccount200ResourcesWorkers;
3759
- } | null;
3760
3829
  export declare type HostingAccount200ResourcesStagingWorkers = {
3761
3830
  /** @nullable */
3762
3831
  available?: number | null;
@@ -3778,6 +3847,14 @@ export declare type HostingAccount200ResourcesStaging = {
3778
3847
  storage?: HostingAccount200ResourcesStagingStorage;
3779
3848
  workers?: HostingAccount200ResourcesStagingWorkers;
3780
3849
  };
3850
+ /**
3851
+ * @nullable
3852
+ */
3853
+ export declare type HostingAccount200Resources = {
3854
+ staging?: HostingAccount200ResourcesStaging;
3855
+ storage?: HostingAccount200ResourcesStorage;
3856
+ workers?: HostingAccount200ResourcesWorkers;
3857
+ } | null;
3781
3858
  export declare type HostingAccount200Billing = {
3782
3859
  prod_code?: string;
3783
3860
  product_name?: string;
@@ -4134,6 +4211,33 @@ export declare type AddonsInfo200 = {
4134
4211
  export declare type AddonsCloudflare200 = {
4135
4212
  status?: string;
4136
4213
  };
4214
+ /**
4215
+ * @nullable
4216
+ */
4217
+ export declare type BackupMeta200CbsEventIsProcessing = {
4218
+ action?: string;
4219
+ type?: string;
4220
+ } | null;
4221
+ export declare type BackupMeta200CbsDownloadablesItem = {
4222
+ /** @nullable */
4223
+ id?: string | null;
4224
+ /** @nullable */
4225
+ time_req_completed?: string | null;
4226
+ /** @nullable */
4227
+ type?: string | null;
4228
+ /** @nullable */
4229
+ url?: string | null;
4230
+ };
4231
+ export declare type BackupMeta200 = {
4232
+ /** @nullable */
4233
+ cbs_downloadables?: BackupMeta200CbsDownloadablesItem[] | null;
4234
+ /** @nullable */
4235
+ cbs_event_is_processing?: BackupMeta200CbsEventIsProcessing;
4236
+ /** @nullable */
4237
+ cbs_last_restore_timestamp?: string | null;
4238
+ /** @nullable */
4239
+ client_tracking_id?: string | null;
4240
+ };
4137
4241
  export declare type BackupList200HomeItemBackupStatus = {
4138
4242
  /** @nullable */
4139
4243
  download_url?: string | null;
@@ -174,13 +174,33 @@ export const HostingFtpUpdateBodyUserTypeSet = {
174
174
  quota: 'quota',
175
175
  };
176
176
  // eslint-disable-next-line @typescript-eslint/no-redeclare
177
- export const HostingEmailSuspendBodyType = {
178
- account_login: 'account_login',
179
- account_outgoing: 'account_outgoing',
180
- account_incoming: 'account_incoming',
177
+ export const HostingEmailSettingsBodyUtf8Folders = {
178
+ enable: 'enable',
179
+ disable: 'disable',
180
+ };
181
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
182
+ export const HostingEmailSettingsBodyType = {
183
+ address: 'address',
184
+ system: 'system',
185
+ };
186
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
187
+ export const HostingEmailSettingsBodyAutofolders = {
188
+ enable: 'enable',
189
+ disable: 'disable',
190
+ };
191
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
192
+ export const HostingEmailSettingsBodyAccountOutgoing = {
193
+ hold: 'hold',
194
+ suspend: 'suspend',
195
+ unsuspend: 'unsuspend',
196
+ };
197
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
198
+ export const HostingEmailSettingsBodyAccountLogin = {
199
+ suspend: 'suspend',
200
+ unsuspend: 'unsuspend',
181
201
  };
182
202
  // eslint-disable-next-line @typescript-eslint/no-redeclare
183
- export const HostingEmailSuspendBodyAction = {
203
+ export const HostingEmailSettingsBodyAccountIncoming = {
184
204
  suspend: 'suspend',
185
205
  unsuspend: 'unsuspend',
186
206
  };