@newfold/huapi-js 2.2040.0 → 2.2048.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.2040.0",
13
+ "version": "2.2048.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, AccountAddonList200, AccountAddonListParams, AccountEventList200, AccountEventListParams, AccountFeatures200, AccountFeaturesParams, AccountHostingList200, AccountHostingListParams, AccountHostingListV2200, AccountHostingListV2Params, AccountPublicKey200, AccountPublicKey404, AccountPublicKeyCreate200, AccountPublicKeyCreate409, AccountPublicKeyCreateBody, AccountPublicKeyDelete200, AccountPublicKeyDelete404, AccountPublicKeyToggle200, AccountPublicKeyToggle409, AccountPublicKeyToggleBody, AccountPublicKeys200, AccountPurchaseHosting200, AccountPurchaseHosting400, AccountPurchaseHosting401, AccountPurchaseHosting403, AccountPurchaseHosting404, AccountPurchaseHosting502, AccountPurchaseHostingBody, AccountPurchaseOrder200, AccountPurchaseOrder400, AccountPurchaseOrder401, AccountPurchaseOrder403, AccountPurchaseOrder404, AccountPurchaseProducts200, AccountPurchaseProducts400, AccountPurchaseProducts401, AccountPurchaseProducts403, AccountPurchaseProducts502, ActivityLog200, ActivityLogParams, AddCron200, AddCron400, AddCronBody, AddHostingRedirects200, AddHostingRedirectsBody, AddIndex200, AddIndexBody, AddPrivacy200, AddPrivacyBody, AddSiteIpaddress200, AddSiteIpaddressBody, AddonsCloudflare200, AddonsCloudflareExternalNsCheck200, AddonsCloudflareExternalNsCheckParams, AddonsInfo200, AddonsJetpackValidate200, AddonsLlmBalance200, AddonsLlmKeys200, AddonsLlmKeysCreate200, AddonsLlmKeysCreateBody, AddonsLlmKeysDelete200, AddonsLlmKeysDeleteBody, AddonsLlmKeysParams, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSitelockSsoV2Params, AddonsSpamexpertsDomainAssign200, AddonsSpamexpertsDomainAssignBody, AddonsSpamexpertsSso200, AddonsSync200, AddonsWorkflows200, AddonsWorkflowsParams, AllUserMonarxDetails200, Announcements200, BackupCreateOndemandV1200, BackupCreateOndemandV1400, BackupCreateOndemandV1403, BackupCreateOndemandV1404, BackupCreateOndemandV1409, BackupCreateOndemandV1Body, BackupCreateV2200, BackupCreateV2Body, BackupCreateV3200, BackupCreateV3Body, BackupCustomDeleteV1200, BackupCustomDeleteV1400, BackupCustomDeleteV1403, BackupCustomDeleteV1404, BackupCustomDeleteV1409, BackupCustomDeleteV1Body, BackupDownloadV2200, BackupDownloadV2400, BackupDownloadV2403, BackupDownloadV2404, BackupDownloadV2409, BackupDownloadV2Body, BackupInitiate200, BackupInitiateBody, BackupList200, BackupListParams, BackupListV2200, BackupListV3200, BackupListV3Params, BackupMeta200, BackupMetaParams, BackupPrefSetStatus200, BackupPrefSetStatusBody, BackupRestoreV2200, BackupRestoreV2Body, BackupRestoreV3200, BackupRestoreV3400, BackupRestoreV3403, BackupRestoreV3404, BackupRestoreV3409, BackupRestoreV3Body, BackupSettings200, BackupSettingsCreate200, BackupSettingsCreateBody, BackupSettingsUpdate200, BackupSettingsUpdateBody, BackupStatus200, BackupStatusParams, BackupStatusV2200, BackupStatusV2Params, BackupStatusV3200, BackupStatusV3400, BackupStatusV3Params, BackupUsage200, BackupsJetpackBackup200, BullhornAnnouncements200, CodeguardBackupCreate200, CodeguardBackupCreateBody, CodeguardBackupDownload200, CodeguardBackupDownloadBody, CodeguardBackupList200, CodeguardBackupListParams, CodeguardBackupRestore200, CodeguardBackupRestoreBody, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupCreateBody, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupListParams, CodeguardDatabaseBackupRestore200, CodeguardDatabaseBackupRestoreBody, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupCreateBody, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupListParams, CodeguardWebsiteBackupRestore200, CodeguardWebsiteBackupRestoreBody, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronBody, CronLastRun200, CronLastRunParams, Db200, DbAdd200, DbAddBody, DbBody, DbCheckDatabase200, DbCheckDatabaseBody, DbListV2200, DbMultipleUserDatabase200, DbMultipleUserDatabaseBody, DbUsage200, DbUserAdd200, DbUserAddBody, DbUserDelete200, DbUserDeleteBody, DbUserList200, DbUserPasswordSet200, DbUserPasswordSetBody, DbUserPrivsGet200, DbUserPrivsGetParams, DbUserPrivsSet200, DbUserPrivsSetBody, DbUserRename200, DbUserRenameBody, DirectoryPrivacy200, DirectoryPrivacyParams, DomainCertInstall200, DomainCertInstallBody, DomainCertUninstall200, DomainCertUpdate200, DomainCertUpdateBody, DomainCerts200, DomainDnsExport200, DomainDnsExportParams, DomainDnsImport200, DomainDnsImportBody, DomainDnsImportParams, DomainDnseditor200, DomainDnseditorAdd200, DomainDnseditorAddBody, DomainDnseditorBody, DomainDnseditorEdit200, DomainDnseditorEditBody, DomainDnseditorList200, DomainDnszoneReset200, DomainEmailDeliverability200, DomainHealth200, DomainHealthParams, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsParams, DomainsSetEntriUsed200, DomainsUnsetEntriUsed200, EditPrivacy200, EditPrivacyBody, EmailSso200, EmailSso400, EmailSso512, EmailSsoParams, ErrorPagesAdd200, ErrorPagesAddBody, ErrorPagesDelete200, ErrorPagesDeleteBody, ErrorPagesFetch200, ErrorPagesFetchParams, HostingAccount200, HostingAddons200, HostingAddonsParams, HostingAdvancedConsole200, HostingAdvancedConsoleParams, HostingAdvancedDns200, HostingAdvancedDnsParams, HostingAdvancedDnsUpdate200, HostingAdvancedDnsUpdateBody, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesBody, HostingAdvancedDomainServicesCheck200, HostingAdvancedImages200, HostingAdvancedImagesParams, HostingAdvancedPassword200, HostingAdvancedPasswordBody, HostingAdvancedServer200, HostingAdvancedServerHealthcheck200, HostingAdvancedServerStatus200, HostingAdvancedServerStatusBody, HostingAdvancedServerV2200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingBackups200, HostingCapabilities200, HostingDbAuthorizedHosts200, HostingDbAuthorizedHostsAdd200, HostingDbAuthorizedHostsAddBody, HostingDbAuthorizedHostsDelete200, HostingDbAuthorizedHostsDeleteBody, HostingDbAuthorizedHostsUpdate200, HostingDbAuthorizedHostsUpdateBody, HostingDomainAssign200, HostingDomainAssignBody, HostingDomainAvailability200, HostingDomainAvailabilityParams, HostingDomainsUnassign200, HostingDomainsUnassignBody, HostingDomainsUnassignV2200, HostingDomainsUnassignV2Body, HostingDomainsV2200, HostingDomainsV2Params, HostingEcommerceInfo200, HostingEmailAdd200, HostingEmailAdd400, HostingEmailAdd403, HostingEmailAdd409, HostingEmailAdd512, HostingEmailAddBody, HostingEmailAutoresponderCreate200, HostingEmailAutoresponderCreate400, HostingEmailAutoresponderCreateBody, HostingEmailAutoresponderDelete200, HostingEmailAutoresponderDelete400, HostingEmailAutoresponderDelete404, HostingEmailAutoresponderDeleteParams, HostingEmailAutoresponderInfo200, HostingEmailAutoresponderInfo404, HostingEmailAutoresponderInfoParams, HostingEmailAutoresponderList200, HostingEmailAutoresponderListParams, HostingEmailAutoresponderUpdate200, HostingEmailAutoresponderUpdate400, HostingEmailAutoresponderUpdateBody, HostingEmailDelete200, HostingEmailDeleteParams, HostingEmailDomainRouting200, HostingEmailDomainRoutingParams, HostingEmailDomainRoutingSet200, HostingEmailDomainRoutingSetBody, HostingEmailFiltersAdd200, HostingEmailFiltersAddBody, HostingEmailFiltersDelete200, HostingEmailFiltersDelete400, HostingEmailFiltersDelete404, HostingEmailFiltersDeleteParams, HostingEmailFiltersList200, HostingEmailFiltersListParams, HostingEmailFiltersUpdate200, HostingEmailFiltersUpdateBody, HostingEmailFolderList200, HostingEmailFolderList404, HostingEmailForwardDelete200, HostingEmailForwardDeleteParams, HostingEmailForwarderAdd200, HostingEmailForwarderAdd400, HostingEmailForwarderAdd403, HostingEmailForwarderAdd409, HostingEmailForwarderAdd512, HostingEmailForwarderAddBody, HostingEmailForwardersList200, HostingEmailForwardersListParams, HostingEmailKeysAdd200, HostingEmailKeysAddBody, HostingEmailKeysList200, HostingEmailList200, HostingEmailSettings200, HostingEmailSettings403, HostingEmailSettings404, HostingEmailSettings512, HostingEmailSettingsBody, HostingEmailSetupInfo200, HostingEmailSetupInfo404, HostingEmailSpamCustomSettings200, HostingEmailSpamCustomSettingsUpdate200, HostingEmailSpamCustomSettingsUpdateBody, HostingEmailSpamEmpty200, HostingEmailSpamSettings200, HostingEmailSpamSettingsUpdate200, HostingEmailSpamSettingsUpdateBody, HostingEmailTestSend200, HostingEmailTestSend403, HostingEmailTestSend404, HostingEmailTestSend512, HostingEmailTestSendBody, HostingEmailUpdate200, HostingEmailUpdate400, HostingEmailUpdate403, HostingEmailUpdate512, HostingEmailUpdateBody, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpAddBody, HostingFtpBody, HostingFtpList200, HostingFtpUpdate200, HostingFtpUpdateBody, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingLead400, HostingLeadParams, HostingLicenseInfo200, HostingLicenseInfoParams, HostingMigrationInfo200, HostingMigrationInfoParams, HostingMigrationSiteScanStatus200, HostingMigrationSiteScanStatusParams, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsBody, HostingMigrationsEvent200, HostingMigrationsEventBody, HostingMonarxAddonsList200, HostingMonarxAddonsListParams, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingOnboardingDataUpdateBody, HostingPasswordUpdate200, HostingPasswordUpdateBody, HostingRedirect200, HostingRedirectBody, HostingRedirects200Item, HostingRedirectsV2200Item, HostingRepo200, HostingRepoBody, HostingRepoList200Item, HostingRepoLog200, HostingRepoLogParams, HostingRepoSync200, HostingRepoSyncBody, HostingResellerSsoWhm200, HostingSendEmailSetupInfo200, HostingSendEmailSetupInfo404, HostingSendEmailSetupInfoBody, HostingServerHits200, HostingServerHitsParams, HostingShellInfo200, HostingShellToggle200, HostingShellToggleBody, HostingSiteAdd200, HostingSiteAddBody, HostingSiteAddV2200, HostingSiteAddV2Body, HostingSiteAddV3200, HostingSiteAddV3Body, HostingSitesV2200, HostingSitesV2Params, HostingSpamexpertsEligibleDomains200, HostingSshInfo200, HostingVisitors200, HostingVisitorsParams, HotlinkconfigAdd200, HotlinkconfigAddBody, HotlinkconfigDelete200, HotlinkconfigDeleteBody, HotlinkconfigDetails200, HotlinkconfigDetailsParams, Index200, IndexBody, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListFilesV2Params, ListIndex200, ListIndexParams, MonarxAddonReportUrl200, MonarxAddonReportUrlParams, MonarxAddonSealGeneration200, MonarxAddonSealGenerationParams, PasswordGenerate200, PasswordScore200, PasswordScoreParams, PhpErrors200, PhpErrorsParams, Privacy200, PrivacyBody, PrivacyUser200, PrivacyUserBody, ProductLicenseDetails200, ProductLicenseDetailsParams, PublicImages200, PublicImagesParams, PublicImagesV2200, PublicImagesV2Params, PublicRegions200, RepairDatabase200, RepairDatabaseBody, ResetSite200, ResetSiteBody, Site200, SiteAddonCloudflare200, SiteAddonCloudflare400, SiteAddonWpsolution200, SiteAddonWpsolution400, SiteAddonWpsolutionBody, SiteBody, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressBody, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginInstall200, SitePluginInstallBody, SitePluginInstaller200, SitePluginInstallerBody, SitePluginUpdate200, SitePluginUpdateBody, SitePlugins200, SitePluginsAutoupdate200, SitePluginsAutoupdateBody, SitePluginsParams, SitePluginsToggle200, SitePluginsToggleBody, SitePluginsUpdate200, SitePluginsUpdateBody, SiteQualityMetrics200, SiteQualityMetricsParams, SiteStatus200, SiteThemeInstall200, SiteThemeInstallBody, SiteUpdate200, SiteUpdate400, SiteUpdateBody, SiteUsers200, SiteUsersV2200, SiteUsersV2Params, SiteWpGenerate200, SiteWpGenerateBody, SitesAccessLogs200, SitesAccessLogsDownloadParams, SitesAccessLogsParams, SitesAtomicMetrics200, SitesAtomicMetricsParams, SitesAutoupdatesResponse, SitesAutoupdatesUpdateBody, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBackupsXcitium200, SitesBatch200, SitesBatchBody, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDnsParams, SitesDomain200, SitesDomainParams, SitesDomainUrl200, SitesDomainUrlBody, SitesDomainsCreate200, SitesDomainsCreateBody, SitesDomainsV2200, SitesDomainsV2Params, SitesErrorLogs200, SitesErrorLogsDownloadParams, SitesErrorLogsParams, SitesHasBackups200, SitesInfo200, SitesJetpackPurchase200, SitesListV2200, SitesListV3200, SitesListV3Params, SitesMetricDimensions200, SitesMetricDimensionsParams, SitesMetricsDimensionAveraged200, SitesMetricsDimensionAveragedParams, SitesOnboardingSteps200, SitesPerformanceCachepurge200, SitesPerformanceCachepurgeBody, SitesPerformanceEdgecache200, SitesPerformanceEdgecacheBody, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelBody, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesPerformanceRedisPurge200, SitesPerformanceRedisPurgeBody, SitesPerformanceRedisStatus200, SitesPerformanceRedisToggle200, SitesPerformanceRedisToggleBody, SitesPerformanceRedisUninstall200, SitesPerformanceScans200, SitesPerformanceScansAdd200, SitesPerformanceScansAddBody, SitesPerformanceScansList200, SitesPerformanceScansListParams, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsEnableDisableSslBody, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockParams, SitesSecuritySitelockV2200, SitesSecuritySitelockV2Params, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSecuritySslStatusParams, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsComingSoonToggleBody, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsDebugToggleBody, SitesSettingsPhpVersionInheritance200, SitesSettingsPhpVersionInheritanceParams, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersionUpdateBody, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserCreateBody, SitesSshUserDelete200, SitesSshUserDeleteBody, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSshUserUpdateBody, SitesSsl200, SitesSso200, SitesSsoParams, SitesVersion200, SshKey200, SshKeyBody, SshKeyFetch200, SshKeyFetchParams, SshKeyGenerate200, SshKeyGenerateBody, SshKeyImport200, SshKeyImportBody, SshKeyImportV2200, SshKeyImportV2Body, SshKeyImportV3200, SshKeyImportV3Body, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, SshKeyV2Body, Sso200, SsoParams, StagingSitePromote200, StagingSitePromote409, StagingSitePromoteBody, UpdateCron200, UpdateCronBody, UserBillingAccounts200, UserBillingAccounts401, UserBillingAccounts502, UserHosting200, UserHostingOverview200, UserHostingOverviewParams, UserHostingParams, UserProducts200, UserProducts401, UserProducts502, UserProservices200, UserServers200, UserServersParams, UserSpamexperts200, WaldaiSso200, WaldaiSso404, WaldaiSso502, WebzaiSso200, WeeblySso200, XcitiumBackupCreate200, XcitiumBackupCreateBody, XcitiumBackupDownload200, XcitiumBackupDownloadBody, XcitiumBackupList200, XcitiumBackupListParams, XcitiumBackupRestore200, XcitiumBackupRestoreBody, XcitiumPlanInfo200, XcitiumSso200 } from './index.schemas';
4
+ import type { AccessLogs200, AccessLogsParams, AccountAddonList200, AccountAddonListParams, AccountEventList200, AccountEventListParams, AccountFeatures200, AccountFeaturesParams, AccountHostingList200, AccountHostingListParams, AccountHostingListV2200, AccountHostingListV2Params, AccountPublicKey200, AccountPublicKey404, AccountPublicKeyCreate200, AccountPublicKeyCreate409, AccountPublicKeyCreateBody, AccountPublicKeyDelete200, AccountPublicKeyDelete404, AccountPublicKeyToggle200, AccountPublicKeyToggle409, AccountPublicKeyToggleBody, AccountPublicKeys200, AccountPurchaseHosting200, AccountPurchaseHosting400, AccountPurchaseHosting401, AccountPurchaseHosting403, AccountPurchaseHosting404, AccountPurchaseHosting502, AccountPurchaseHostingBody, AccountPurchaseOrder200, AccountPurchaseOrder400, AccountPurchaseOrder401, AccountPurchaseOrder403, AccountPurchaseOrder404, AccountPurchaseProducts200, AccountPurchaseProducts400, AccountPurchaseProducts401, AccountPurchaseProducts403, AccountPurchaseProducts502, ActivityLog200, ActivityLogParams, AddCron200, AddCron400, AddCronBody, AddHostingRedirects200, AddHostingRedirectsBody, AddIndex200, AddIndexBody, AddPrivacy200, AddPrivacyBody, AddSiteIpaddress200, AddSiteIpaddressBody, AddonsCloudflare200, AddonsCloudflareExternalNsCheck200, AddonsCloudflareExternalNsCheckParams, AddonsInfo200, AddonsJetpackValidate200, AddonsLlmBalance200, AddonsLlmKeys200, AddonsLlmKeysCreate200, AddonsLlmKeysCreateBody, AddonsLlmKeysDelete200, AddonsLlmKeysDeleteBody, AddonsLlmKeysParams, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSitelockSsoV2Params, AddonsSpamexpertsDomainAssign200, AddonsSpamexpertsDomainAssignBody, AddonsSpamexpertsSso200, AddonsSync200, AddonsWorkflows200, AddonsWorkflowsParams, AllUserMonarxDetails200, Announcements200, BackupCreateOndemandV1200, BackupCreateOndemandV1400, BackupCreateOndemandV1403, BackupCreateOndemandV1404, BackupCreateOndemandV1409, BackupCreateOndemandV1Body, BackupCreateV2200, BackupCreateV2Body, BackupCreateV3200, BackupCreateV3Body, BackupCustomDeleteV1200, BackupCustomDeleteV1400, BackupCustomDeleteV1403, BackupCustomDeleteV1404, BackupCustomDeleteV1409, BackupCustomDeleteV1Body, BackupDownloadV2200, BackupDownloadV2400, BackupDownloadV2403, BackupDownloadV2404, BackupDownloadV2409, BackupDownloadV2Body, BackupInitiate200, BackupInitiateBody, BackupList200, BackupListParams, BackupListV2200, BackupListV3200, BackupListV3Params, BackupMeta200, BackupMetaParams, BackupPrefSetStatus200, BackupPrefSetStatusBody, BackupRestoreV2200, BackupRestoreV2Body, BackupRestoreV3200, BackupRestoreV3400, BackupRestoreV3403, BackupRestoreV3404, BackupRestoreV3409, BackupRestoreV3Body, BackupSettings200, BackupSettingsCreate200, BackupSettingsCreateBody, BackupSettingsUpdate200, BackupSettingsUpdateBody, BackupStatus200, BackupStatusParams, BackupStatusV2200, BackupStatusV2Params, BackupStatusV3200, BackupStatusV3400, BackupStatusV3Params, BackupUsage200, BackupsJetpackBackup200, BullhornAnnouncements200, CodeguardBackupCreate200, CodeguardBackupCreateBody, CodeguardBackupDownload200, CodeguardBackupDownloadBody, CodeguardBackupList200, CodeguardBackupListParams, CodeguardBackupRestore200, CodeguardBackupRestoreBody, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupCreateBody, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupListParams, CodeguardDatabaseBackupRestore200, CodeguardDatabaseBackupRestoreBody, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupCreateBody, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupListParams, CodeguardWebsiteBackupRestore200, CodeguardWebsiteBackupRestoreBody, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronBody, CronLastRun200, CronLastRunParams, Db200, DbAdd200, DbAddBody, DbBody, DbCheckDatabase200, DbCheckDatabaseBody, DbListV2200, DbMultipleUserDatabase200, DbMultipleUserDatabaseBody, DbUsage200, DbUserAdd200, DbUserAddBody, DbUserDelete200, DbUserDeleteBody, DbUserList200, DbUserPasswordSet200, DbUserPasswordSetBody, DbUserPrivsGet200, DbUserPrivsGetParams, DbUserPrivsSet200, DbUserPrivsSetBody, DbUserRename200, DbUserRenameBody, DirectoryPrivacy200, DirectoryPrivacyParams, DomainCertInstall200, DomainCertInstallBody, DomainCertUninstall200, DomainCertUpdate200, DomainCertUpdateBody, DomainCerts200, DomainDnsExport200, DomainDnsExportParams, DomainDnsImport200, DomainDnsImportBody, DomainDnsImportParams, DomainDnseditor200, DomainDnseditorAdd200, DomainDnseditorAddBody, DomainDnseditorBody, DomainDnseditorEdit200, DomainDnseditorEditBody, DomainDnseditorList200, DomainDnszoneReset200, DomainEmailDeliverability200, DomainHealth200, DomainHealthParams, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsParams, DomainsSetEntriUsed200, DomainsUnsetEntriUsed200, EditPrivacy200, EditPrivacyBody, EmailSso200, EmailSso400, EmailSso512, EmailSsoParams, EntriJwt200, ErrorPagesAdd200, ErrorPagesAddBody, ErrorPagesDelete200, ErrorPagesDeleteBody, ErrorPagesFetch200, ErrorPagesFetchParams, HostingAccount200, HostingAddons200, HostingAddonsParams, HostingAdvancedConsole200, HostingAdvancedConsoleParams, HostingAdvancedDns200, HostingAdvancedDnsParams, HostingAdvancedDnsUpdate200, HostingAdvancedDnsUpdateBody, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesBody, HostingAdvancedDomainServicesCheck200, HostingAdvancedImages200, HostingAdvancedImagesParams, HostingAdvancedPassword200, HostingAdvancedPasswordBody, HostingAdvancedServer200, HostingAdvancedServerHealthcheck200, HostingAdvancedServerStatus200, HostingAdvancedServerStatusBody, HostingAdvancedServerV2200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingBackups200, HostingCapabilities200, HostingDbAuthorizedHosts200, HostingDbAuthorizedHostsAdd200, HostingDbAuthorizedHostsAddBody, HostingDbAuthorizedHostsDelete200, HostingDbAuthorizedHostsDeleteBody, HostingDbAuthorizedHostsUpdate200, HostingDbAuthorizedHostsUpdateBody, HostingDomainAssign200, HostingDomainAssignBody, HostingDomainAvailability200, HostingDomainAvailabilityParams, HostingDomainsUnassign200, HostingDomainsUnassignBody, HostingDomainsUnassignV2200, HostingDomainsUnassignV2Body, HostingDomainsV2200, HostingDomainsV2Params, HostingEcommerceInfo200, HostingEmailAdd200, HostingEmailAdd400, HostingEmailAdd403, HostingEmailAdd409, HostingEmailAdd512, HostingEmailAddBody, HostingEmailAutoresponderCreate200, HostingEmailAutoresponderCreate400, HostingEmailAutoresponderCreateBody, HostingEmailAutoresponderDelete200, HostingEmailAutoresponderDelete400, HostingEmailAutoresponderDelete404, HostingEmailAutoresponderDeleteParams, HostingEmailAutoresponderInfo200, HostingEmailAutoresponderInfo404, HostingEmailAutoresponderInfoParams, HostingEmailAutoresponderList200, HostingEmailAutoresponderListParams, HostingEmailAutoresponderUpdate200, HostingEmailAutoresponderUpdate400, HostingEmailAutoresponderUpdateBody, HostingEmailDelete200, HostingEmailDeleteParams, HostingEmailDomainRouting200, HostingEmailDomainRoutingParams, HostingEmailDomainRoutingSet200, HostingEmailDomainRoutingSetBody, HostingEmailFiltersAdd200, HostingEmailFiltersAddBody, HostingEmailFiltersDelete200, HostingEmailFiltersDelete400, HostingEmailFiltersDelete404, HostingEmailFiltersDeleteParams, HostingEmailFiltersList200, HostingEmailFiltersListParams, HostingEmailFiltersUpdate200, HostingEmailFiltersUpdateBody, HostingEmailFolderList200, HostingEmailFolderList404, HostingEmailForwardDelete200, HostingEmailForwardDeleteParams, HostingEmailForwarderAdd200, HostingEmailForwarderAdd400, HostingEmailForwarderAdd403, HostingEmailForwarderAdd409, HostingEmailForwarderAdd512, HostingEmailForwarderAddBody, HostingEmailForwardersList200, HostingEmailForwardersListParams, HostingEmailKeysAdd200, HostingEmailKeysAddBody, HostingEmailKeysList200, HostingEmailList200, HostingEmailSettings200, HostingEmailSettings403, HostingEmailSettings404, HostingEmailSettings512, HostingEmailSettingsBody, HostingEmailSetupInfo200, HostingEmailSetupInfo404, HostingEmailSpamCustomSettings200, HostingEmailSpamCustomSettingsUpdate200, HostingEmailSpamCustomSettingsUpdateBody, HostingEmailSpamEmpty200, HostingEmailSpamSettings200, HostingEmailSpamSettingsUpdate200, HostingEmailSpamSettingsUpdateBody, HostingEmailTestSend200, HostingEmailTestSend403, HostingEmailTestSend404, HostingEmailTestSend512, HostingEmailTestSendBody, HostingEmailUpdate200, HostingEmailUpdate400, HostingEmailUpdate403, HostingEmailUpdate512, HostingEmailUpdateBody, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpAddBody, HostingFtpBody, HostingFtpList200, HostingFtpUpdate200, HostingFtpUpdateBody, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingLead400, HostingLeadParams, HostingLicenseInfo200, HostingLicenseInfoParams, HostingMigrationInfo200, HostingMigrationInfoParams, HostingMigrationSiteScanStatus200, HostingMigrationSiteScanStatusParams, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsBody, HostingMigrationsEvent200, HostingMigrationsEventBody, HostingMonarxAddonsList200, HostingMonarxAddonsListParams, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingOnboardingDataUpdateBody, HostingPasswordUpdate200, HostingPasswordUpdateBody, HostingRedirect200, HostingRedirectBody, HostingRedirects200Item, HostingRedirectsV2200Item, HostingRepo200, HostingRepoBody, HostingRepoList200Item, HostingRepoLog200, HostingRepoLogParams, HostingRepoSync200, HostingRepoSyncBody, HostingResellerSsoWhm200, HostingSendEmailSetupInfo200, HostingSendEmailSetupInfo404, HostingSendEmailSetupInfoBody, HostingServerHits200, HostingServerHitsParams, HostingShellInfo200, HostingShellToggle200, HostingShellToggleBody, HostingSiteAdd200, HostingSiteAddBody, HostingSiteAddV2200, HostingSiteAddV2Body, HostingSiteAddV3200, HostingSiteAddV3Body, HostingSitesV2200, HostingSitesV2Params, HostingSpamexpertsEligibleDomains200, HostingSshInfo200, HostingVisitors200, HostingVisitorsParams, HotlinkconfigAdd200, HotlinkconfigAddBody, HotlinkconfigDelete200, HotlinkconfigDeleteBody, HotlinkconfigDetails200, HotlinkconfigDetailsParams, Index200, IndexBody, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListFilesV2Params, ListIndex200, ListIndexParams, MonarxAddonReportUrl200, MonarxAddonReportUrlParams, MonarxAddonSealGeneration200, MonarxAddonSealGenerationParams, PasswordGenerate200, PasswordScore200, PasswordScoreParams, PhpErrors200, PhpErrorsParams, Privacy200, PrivacyBody, PrivacyUser200, PrivacyUserBody, ProductLicenseDetails200, ProductLicenseDetailsParams, PublicImages200, PublicImagesParams, PublicImagesV2200, PublicImagesV2Params, PublicRegions200, RepairDatabase200, RepairDatabaseBody, ResetSite200, ResetSiteBody, Site200, SiteAddonCloudflare200, SiteAddonCloudflare400, SiteAddonWpsolution200, SiteAddonWpsolution400, SiteAddonWpsolutionBody, SiteBody, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressBody, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginInstall200, SitePluginInstallBody, SitePluginInstaller200, SitePluginInstallerBody, SitePluginUpdate200, SitePluginUpdateBody, SitePlugins200, SitePluginsAutoupdate200, SitePluginsAutoupdateBody, SitePluginsParams, SitePluginsToggle200, SitePluginsToggleBody, SitePluginsUpdate200, SitePluginsUpdateBody, SiteQualityMetrics200, SiteQualityMetricsParams, SiteStatus200, SiteThemeInstall200, SiteThemeInstallBody, SiteUpdate200, SiteUpdate400, SiteUpdateBody, SiteUsers200, SiteUsersV2200, SiteUsersV2Params, SiteWpGenerate200, SiteWpGenerateBody, SitesAccessLogs200, SitesAccessLogsDownloadParams, SitesAccessLogsParams, SitesAtomicMetrics200, SitesAtomicMetricsParams, SitesAutoupdatesResponse, SitesAutoupdatesUpdateBody, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBackupsXcitium200, SitesBatch200, SitesBatchBody, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDnsParams, SitesDomain200, SitesDomainParams, SitesDomainUrl200, SitesDomainUrlBody, SitesDomainsCreate200, SitesDomainsCreateBody, SitesDomainsV2200, SitesDomainsV2Params, SitesErrorLogs200, SitesErrorLogsDownloadParams, SitesErrorLogsParams, SitesHasBackups200, SitesInfo200, SitesJetpackPurchase200, SitesListV2200, SitesListV3200, SitesListV3Params, SitesMetricDimensions200, SitesMetricDimensionsParams, SitesMetricsDimensionAveraged200, SitesMetricsDimensionAveragedParams, SitesOnboardingSteps200, SitesPerformanceCachepurge200, SitesPerformanceCachepurgeBody, SitesPerformanceEdgecache200, SitesPerformanceEdgecacheBody, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelBody, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesPerformanceRedisPurge200, SitesPerformanceRedisPurgeBody, SitesPerformanceRedisStatus200, SitesPerformanceRedisToggle200, SitesPerformanceRedisToggleBody, SitesPerformanceRedisUninstall200, SitesPerformanceScans200, SitesPerformanceScansAdd200, SitesPerformanceScansAddBody, SitesPerformanceScansList200, SitesPerformanceScansListParams, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsEnableDisableSslBody, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockParams, SitesSecuritySitelockV2200, SitesSecuritySitelockV2Params, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSecuritySslStatusParams, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsComingSoonToggleBody, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsDebugToggleBody, SitesSettingsPhpVersionInheritance200, SitesSettingsPhpVersionInheritanceParams, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersionUpdateBody, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserCreateBody, SitesSshUserDelete200, SitesSshUserDeleteBody, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSshUserUpdateBody, SitesSsl200, SitesSso200, SitesSsoParams, SitesVersion200, SshKey200, SshKeyBody, SshKeyFetch200, SshKeyFetchParams, SshKeyGenerate200, SshKeyGenerateBody, SshKeyImport200, SshKeyImportBody, SshKeyImportV2200, SshKeyImportV2Body, SshKeyImportV3200, SshKeyImportV3Body, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, SshKeyV2Body, Sso200, SsoParams, StagingSitePromote200, StagingSitePromote409, StagingSitePromoteBody, UpdateCron200, UpdateCronBody, UserBillingAccounts200, UserBillingAccounts401, UserBillingAccounts502, UserHosting200, UserHostingOverview200, UserHostingOverviewParams, UserHostingParams, UserProducts200, UserProducts401, UserProducts502, UserProservices200, UserServers200, UserServersParams, UserSpamexperts200, WaldaiSso200, WaldaiSso404, WaldaiSso502, WebzaiSso200, WeeblySso200, XcitiumBackupCreate200, XcitiumBackupCreateBody, XcitiumBackupDownload200, XcitiumBackupDownloadBody, XcitiumBackupList200, XcitiumBackupListParams, XcitiumBackupRestore200, XcitiumBackupRestoreBody, XcitiumPlanInfo200, XcitiumSso200 } from './index.schemas';
5
5
  declare type AwaitedInput<T> = PromiseLike<T> | T;
6
6
  declare type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
7
7
  /**
@@ -2398,6 +2398,38 @@ export declare function useDomainZoneeditorUrl<TData = Awaited<ReturnType<typeof
2398
2398
  }): UseQueryResult<TData, TError> & {
2399
2399
  queryKey: QueryKey;
2400
2400
  };
2401
+ /**
2402
+ * Retrieves a JWT token from the Entri API for domain DNS configuration. Requires bearer JWT authentication.
2403
+ * @summary Get Entri JWT
2404
+ */
2405
+ export declare const entriJwt: (options?: AxiosRequestConfig) => Promise<AxiosResponse<EntriJwt200>>;
2406
+ export declare const getEntriJwtQueryKey: () => readonly ["/v1/entri/jwt"];
2407
+ export declare const getEntriJwtQueryOptions: <TData = AxiosResponse<EntriJwt200, any>, TError = AxiosError<void, any>>(options?: {
2408
+ query?: Partial<UseQueryOptions<AxiosResponse<EntriJwt200, any>, TError, TData, QueryKey>> | undefined;
2409
+ axios?: AxiosRequestConfig<any> | undefined;
2410
+ } | undefined) => UseQueryOptions<AxiosResponse<EntriJwt200, any>, TError, TData, QueryKey> & {
2411
+ queryKey: QueryKey;
2412
+ };
2413
+ export declare type EntriJwtQueryResult = NonNullable<Awaited<ReturnType<typeof entriJwt>>>;
2414
+ export declare type EntriJwtQueryError = AxiosError<void>;
2415
+ export declare function useEntriJwt<TData = Awaited<ReturnType<typeof entriJwt>>, TError = AxiosError<void>>(options: {
2416
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof entriJwt>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof entriJwt>>, TError, TData>, 'initialData'>;
2417
+ axios?: AxiosRequestConfig;
2418
+ }): DefinedUseQueryResult<TData, TError> & {
2419
+ queryKey: QueryKey;
2420
+ };
2421
+ export declare function useEntriJwt<TData = Awaited<ReturnType<typeof entriJwt>>, TError = AxiosError<void>>(options?: {
2422
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof entriJwt>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof entriJwt>>, TError, TData>, 'initialData'>;
2423
+ axios?: AxiosRequestConfig;
2424
+ }): UseQueryResult<TData, TError> & {
2425
+ queryKey: QueryKey;
2426
+ };
2427
+ export declare function useEntriJwt<TData = Awaited<ReturnType<typeof entriJwt>>, TError = AxiosError<void>>(options?: {
2428
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof entriJwt>>, TError, TData>>;
2429
+ axios?: AxiosRequestConfig;
2430
+ }): UseQueryResult<TData, TError> & {
2431
+ queryKey: QueryKey;
2432
+ };
2401
2433
  /**
2402
2434
  * Returns HAL hosting account-level information
2403
2435
  * @summary HAL Hosting Account Info
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.2040.0
6
+ * OpenAPI spec version: 1.2048.0
7
7
  */
8
8
  import { useInfiniteQuery, useMutation, useQuery } from '@tanstack/react-query';
9
9
  import axios from 'axios';
@@ -1871,6 +1871,32 @@ export function useDomainZoneeditorUrl(domainId, options) {
1871
1871
  query.queryKey = queryOptions.queryKey;
1872
1872
  return query;
1873
1873
  }
1874
+ /**
1875
+ * Retrieves a JWT token from the Entri API for domain DNS configuration. Requires bearer JWT authentication.
1876
+ * @summary Get Entri JWT
1877
+ */
1878
+ export const entriJwt = (options) => {
1879
+ return axios.get(`/v1/entri/jwt`, options);
1880
+ };
1881
+ export const getEntriJwtQueryKey = () => {
1882
+ return [`/v1/entri/jwt`];
1883
+ };
1884
+ export const getEntriJwtQueryOptions = (options) => {
1885
+ var _a;
1886
+ const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
1887
+ const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getEntriJwtQueryKey();
1888
+ const queryFn = ({ signal }) => entriJwt(Object.assign({ signal }, axiosOptions));
1889
+ return Object.assign({ queryKey, queryFn }, queryOptions);
1890
+ };
1891
+ /**
1892
+ * @summary Get Entri JWT
1893
+ */
1894
+ export function useEntriJwt(options) {
1895
+ const queryOptions = getEntriJwtQueryOptions(options);
1896
+ const query = useQuery(queryOptions);
1897
+ query.queryKey = queryOptions.queryKey;
1898
+ return query;
1899
+ }
1874
1900
  /**
1875
1901
  * Returns HAL hosting account-level information
1876
1902
  * @summary HAL Hosting Account Info
@@ -1,5 +1,5 @@
1
1
  import { http } from 'msw';
2
- import type { AccessLogs200, AccountAddonList200, AccountEventList200, AccountFeatures200, AccountHostingList200, AccountHostingListV2200, AccountPublicKey200, AccountPublicKeyCreate200, AccountPublicKeyDelete200, AccountPublicKeyToggle200, AccountPublicKeys200, AccountPurchaseHosting200, AccountPurchaseOrder200, AccountPurchaseProducts200, ActivityLog200, AddCron200, AddHostingRedirects200, AddIndex200, AddPrivacy200, AddSiteIpaddress200, AddonsCloudflare200, AddonsCloudflareExternalNsCheck200, AddonsInfo200, AddonsJetpackValidate200, AddonsLlmBalance200, AddonsLlmKeys200, AddonsLlmKeysCreate200, AddonsLlmKeysDelete200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSpamexpertsDomainAssign200, AddonsSpamexpertsSso200, AddonsSync200, AddonsWorkflows200, AllUserMonarxDetails200, Announcements200, BackupCreateOndemandV1200, BackupCreateV2200, BackupCreateV3200, BackupCustomDeleteV1200, BackupDownloadV2200, BackupInitiate200, BackupList200, BackupListV2200, BackupListV3200, BackupMeta200, BackupPrefSetStatus200, BackupRestoreV2200, BackupRestoreV3200, BackupSettings200, BackupSettingsCreate200, BackupSettingsUpdate200, BackupStatus200, BackupStatusV2200, BackupStatusV3200, BackupUsage200, BackupsJetpackBackup200, BullhornAnnouncements200, CodeguardBackupCreate200, CodeguardBackupDownload200, CodeguardBackupList200, CodeguardBackupRestore200, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupRestore200, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupRestore200, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronLastRun200, Db200, DbAdd200, DbCheckDatabase200, DbListV2200, DbMultipleUserDatabase200, DbUsage200, DbUserAdd200, DbUserDelete200, DbUserList200, DbUserPasswordSet200, DbUserPrivsGet200, DbUserPrivsSet200, DbUserRename200, DirectoryPrivacy200, DomainCertInstall200, DomainCertUninstall200, DomainCertUpdate200, DomainCerts200, DomainDnsExport200, DomainDnsImport200, DomainDnseditor200, DomainDnseditorAdd200, DomainDnseditorEdit200, DomainDnseditorList200, DomainDnszoneReset200, DomainEmailDeliverability200, DomainHealth200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsSetEntriUsed200, DomainsUnsetEntriUsed200, EditPrivacy200, EmailSso200, ErrorPagesAdd200, ErrorPagesDelete200, ErrorPagesFetch200, HostingAccount200, HostingAddons200, HostingAdvancedConsole200, HostingAdvancedDns200, HostingAdvancedDnsUpdate200, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesCheck200, HostingAdvancedImages200, HostingAdvancedPassword200, HostingAdvancedServer200, HostingAdvancedServerHealthcheck200, HostingAdvancedServerStatus200, HostingAdvancedServerV2200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingBackups200, HostingCapabilities200, HostingDbAuthorizedHosts200, HostingDbAuthorizedHostsAdd200, HostingDbAuthorizedHostsDelete200, HostingDbAuthorizedHostsUpdate200, HostingDomainAssign200, HostingDomainAvailability200, HostingDomainsUnassign200, HostingDomainsUnassignV2200, HostingDomainsV2200, HostingEcommerceInfo200, HostingEmailAdd200, HostingEmailAutoresponderCreate200, HostingEmailAutoresponderDelete200, HostingEmailAutoresponderInfo200, HostingEmailAutoresponderList200, HostingEmailAutoresponderUpdate200, HostingEmailDelete200, HostingEmailDomainRouting200, HostingEmailDomainRoutingSet200, HostingEmailFiltersAdd200, HostingEmailFiltersDelete200, HostingEmailFiltersList200, HostingEmailFiltersUpdate200, HostingEmailFolderList200, HostingEmailForwardDelete200, HostingEmailForwarderAdd200, HostingEmailForwardersList200, HostingEmailKeysAdd200, HostingEmailKeysList200, HostingEmailList200, HostingEmailSettings200, HostingEmailSetupInfo200, HostingEmailSpamCustomSettings200, HostingEmailSpamCustomSettingsUpdate200, HostingEmailSpamEmpty200, HostingEmailSpamSettings200, HostingEmailSpamSettingsUpdate200, HostingEmailTestSend200, HostingEmailUpdate200, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpList200, HostingFtpUpdate200, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingLicenseInfo200, HostingMigrationInfo200, HostingMigrationSiteScanStatus200, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsEvent200, HostingMonarxAddonsList200, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingPasswordUpdate200, HostingRedirect200, HostingRedirects200Item, HostingRedirectsV2200Item, HostingRepo200, HostingRepoList200Item, HostingRepoLog200, HostingRepoSync200, HostingResellerSsoWhm200, HostingSendEmailSetupInfo200, HostingServerHits200, HostingShellInfo200, HostingShellToggle200, HostingSiteAdd200, HostingSiteAddV2200, HostingSiteAddV3200, HostingSitesV2200, HostingSpamexpertsEligibleDomains200, HostingSshInfo200, HostingVisitors200, HotlinkconfigAdd200, HotlinkconfigDelete200, HotlinkconfigDetails200, Index200, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListIndex200, MonarxAddonReportUrl200, MonarxAddonSealGeneration200, PasswordGenerate200, PasswordScore200, PhpErrors200, Privacy200, PrivacyUser200, ProductLicenseDetails200, PublicImages200, PublicImagesV2200, PublicRegions200, RepairDatabase200, ResetSite200, Site200, SiteAddonCloudflare200, SiteAddonWpsolution200, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginInstall200, SitePluginInstaller200, SitePluginUpdate200, SitePlugins200, SitePluginsAutoupdate200, SitePluginsToggle200, SitePluginsUpdate200, SiteQualityMetrics200, SiteStatus200, SiteThemeInstall200, SiteUpdate200, SiteUsers200, SiteUsersV2200, SiteWpGenerate200, SitesAccessLogs200, SitesAtomicMetrics200, SitesAutoupdatesResponse, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBackupsXcitium200, SitesBatch200, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDomain200, SitesDomainUrl200, SitesDomainsCreate200, SitesDomainsV2200, SitesErrorLogs200, SitesHasBackups200, SitesInfo200, SitesJetpackPurchase200, SitesListV2200, SitesListV3200, SitesMetricDimensions200, SitesMetricsDimensionAveraged200, SitesOnboardingSteps200, SitesPerformanceCachepurge200, SitesPerformanceEdgecache200, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesPerformanceRedisPurge200, SitesPerformanceRedisStatus200, SitesPerformanceRedisToggle200, SitesPerformanceRedisUninstall200, SitesPerformanceScans200, SitesPerformanceScansAdd200, SitesPerformanceScansList200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockV2200, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsPhpVersionInheritance200, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserDelete200, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSsl200, SitesSso200, SitesVersion200, SshKey200, SshKeyFetch200, SshKeyGenerate200, SshKeyImport200, SshKeyImportV2200, SshKeyImportV3200, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, Sso200, StagingSitePromote200, UpdateCron200, UserBillingAccounts200, UserHosting200, UserHostingOverview200, UserProducts200, UserProservices200, UserServers200, UserSpamexperts200, WaldaiSso200, WebzaiSso200, WeeblySso200, XcitiumBackupCreate200, XcitiumBackupDownload200, XcitiumBackupList200, XcitiumBackupRestore200, XcitiumPlanInfo200, XcitiumSso200 } from './index.schemas';
2
+ import type { AccessLogs200, AccountAddonList200, AccountEventList200, AccountFeatures200, AccountHostingList200, AccountHostingListV2200, AccountPublicKey200, AccountPublicKeyCreate200, AccountPublicKeyDelete200, AccountPublicKeyToggle200, AccountPublicKeys200, AccountPurchaseHosting200, AccountPurchaseOrder200, AccountPurchaseProducts200, ActivityLog200, AddCron200, AddHostingRedirects200, AddIndex200, AddPrivacy200, AddSiteIpaddress200, AddonsCloudflare200, AddonsCloudflareExternalNsCheck200, AddonsInfo200, AddonsJetpackValidate200, AddonsLlmBalance200, AddonsLlmKeys200, AddonsLlmKeysCreate200, AddonsLlmKeysDelete200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSpamexpertsDomainAssign200, AddonsSpamexpertsSso200, AddonsSync200, AddonsWorkflows200, AllUserMonarxDetails200, Announcements200, BackupCreateOndemandV1200, BackupCreateV2200, BackupCreateV3200, BackupCustomDeleteV1200, BackupDownloadV2200, BackupInitiate200, BackupList200, BackupListV2200, BackupListV3200, BackupMeta200, BackupPrefSetStatus200, BackupRestoreV2200, BackupRestoreV3200, BackupSettings200, BackupSettingsCreate200, BackupSettingsUpdate200, BackupStatus200, BackupStatusV2200, BackupStatusV3200, BackupUsage200, BackupsJetpackBackup200, BullhornAnnouncements200, CodeguardBackupCreate200, CodeguardBackupDownload200, CodeguardBackupList200, CodeguardBackupRestore200, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupRestore200, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupRestore200, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronLastRun200, Db200, DbAdd200, DbCheckDatabase200, DbListV2200, DbMultipleUserDatabase200, DbUsage200, DbUserAdd200, DbUserDelete200, DbUserList200, DbUserPasswordSet200, DbUserPrivsGet200, DbUserPrivsSet200, DbUserRename200, DirectoryPrivacy200, DomainCertInstall200, DomainCertUninstall200, DomainCertUpdate200, DomainCerts200, DomainDnsExport200, DomainDnsImport200, DomainDnseditor200, DomainDnseditorAdd200, DomainDnseditorEdit200, DomainDnseditorList200, DomainDnszoneReset200, DomainEmailDeliverability200, DomainHealth200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsSetEntriUsed200, DomainsUnsetEntriUsed200, EditPrivacy200, EmailSso200, EntriJwt200, ErrorPagesAdd200, ErrorPagesDelete200, ErrorPagesFetch200, HostingAccount200, HostingAddons200, HostingAdvancedConsole200, HostingAdvancedDns200, HostingAdvancedDnsUpdate200, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesCheck200, HostingAdvancedImages200, HostingAdvancedPassword200, HostingAdvancedServer200, HostingAdvancedServerHealthcheck200, HostingAdvancedServerStatus200, HostingAdvancedServerV2200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingBackups200, HostingCapabilities200, HostingDbAuthorizedHosts200, HostingDbAuthorizedHostsAdd200, HostingDbAuthorizedHostsDelete200, HostingDbAuthorizedHostsUpdate200, HostingDomainAssign200, HostingDomainAvailability200, HostingDomainsUnassign200, HostingDomainsUnassignV2200, HostingDomainsV2200, HostingEcommerceInfo200, HostingEmailAdd200, HostingEmailAutoresponderCreate200, HostingEmailAutoresponderDelete200, HostingEmailAutoresponderInfo200, HostingEmailAutoresponderList200, HostingEmailAutoresponderUpdate200, HostingEmailDelete200, HostingEmailDomainRouting200, HostingEmailDomainRoutingSet200, HostingEmailFiltersAdd200, HostingEmailFiltersDelete200, HostingEmailFiltersList200, HostingEmailFiltersUpdate200, HostingEmailFolderList200, HostingEmailForwardDelete200, HostingEmailForwarderAdd200, HostingEmailForwardersList200, HostingEmailKeysAdd200, HostingEmailKeysList200, HostingEmailList200, HostingEmailSettings200, HostingEmailSetupInfo200, HostingEmailSpamCustomSettings200, HostingEmailSpamCustomSettingsUpdate200, HostingEmailSpamEmpty200, HostingEmailSpamSettings200, HostingEmailSpamSettingsUpdate200, HostingEmailTestSend200, HostingEmailUpdate200, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpList200, HostingFtpUpdate200, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingLicenseInfo200, HostingMigrationInfo200, HostingMigrationSiteScanStatus200, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsEvent200, HostingMonarxAddonsList200, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingPasswordUpdate200, HostingRedirect200, HostingRedirects200Item, HostingRedirectsV2200Item, HostingRepo200, HostingRepoList200Item, HostingRepoLog200, HostingRepoSync200, HostingResellerSsoWhm200, HostingSendEmailSetupInfo200, HostingServerHits200, HostingShellInfo200, HostingShellToggle200, HostingSiteAdd200, HostingSiteAddV2200, HostingSiteAddV3200, HostingSitesV2200, HostingSpamexpertsEligibleDomains200, HostingSshInfo200, HostingVisitors200, HotlinkconfigAdd200, HotlinkconfigDelete200, HotlinkconfigDetails200, Index200, JetpackBackupStatus200, ListCrons200, ListFilesV2200, ListIndex200, MonarxAddonReportUrl200, MonarxAddonSealGeneration200, PasswordGenerate200, PasswordScore200, PhpErrors200, Privacy200, PrivacyUser200, ProductLicenseDetails200, PublicImages200, PublicImagesV2200, PublicRegions200, RepairDatabase200, ResetSite200, Site200, SiteAddonCloudflare200, SiteAddonWpsolution200, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressList200Item, SiteMalwareStatus200, SiteMalwareStatusV2200, SitePendingDomainDelete200, SitePluginInstall200, SitePluginInstaller200, SitePluginUpdate200, SitePlugins200, SitePluginsAutoupdate200, SitePluginsToggle200, SitePluginsUpdate200, SiteQualityMetrics200, SiteStatus200, SiteThemeInstall200, SiteUpdate200, SiteUsers200, SiteUsersV2200, SiteWpGenerate200, SitesAccessLogs200, SitesAtomicMetrics200, SitesAutoupdatesResponse, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBackupsXcitium200, SitesBatch200, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDomain200, SitesDomainUrl200, SitesDomainsCreate200, SitesDomainsV2200, SitesErrorLogs200, SitesHasBackups200, SitesInfo200, SitesJetpackPurchase200, SitesListV2200, SitesListV3200, SitesMetricDimensions200, SitesMetricsDimensionAveraged200, SitesOnboardingSteps200, SitesPerformanceCachepurge200, SitesPerformanceEdgecache200, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesPerformanceRedisPurge200, SitesPerformanceRedisStatus200, SitesPerformanceRedisToggle200, SitesPerformanceRedisUninstall200, SitesPerformanceScans200, SitesPerformanceScansAdd200, SitesPerformanceScansList200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockV2200, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsPhpVersionInheritance200, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserDelete200, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSsl200, SitesSso200, SitesVersion200, SshKey200, SshKeyFetch200, SshKeyGenerate200, SshKeyImport200, SshKeyImportV2200, SshKeyImportV3200, SshKeyList200, SshKeyListV2200, SshKeyListV3200, SshKeyListV4200, SshKeyV2200, Sso200, StagingSitePromote200, UpdateCron200, UserBillingAccounts200, UserHosting200, UserHostingOverview200, UserProducts200, UserProservices200, UserServers200, UserSpamexperts200, WaldaiSso200, WebzaiSso200, WeeblySso200, XcitiumBackupCreate200, XcitiumBackupDownload200, XcitiumBackupList200, XcitiumBackupRestore200, XcitiumPlanInfo200, XcitiumSso200 } from './index.schemas';
3
3
  export declare const getAccountEventListResponseMock: (overrideResponse?: Partial<AccountEventList200>) => AccountEventList200;
4
4
  export declare const getAccountFeaturesResponseMock: (overrideResponse?: Partial<AccountFeatures200>) => AccountFeatures200;
5
5
  export declare const getAccountHostingListResponseMock: (overrideResponse?: Partial<AccountHostingList200>) => AccountHostingList200;
@@ -76,6 +76,7 @@ export declare const getDomainHealthResponseMock: (overrideResponse?: Partial<Do
76
76
  export declare const getAccessLogsResponseMock: (overrideResponse?: Partial<AccessLogs200>) => AccessLogs200;
77
77
  export declare const getDomainUnassignResponseMock: (overrideResponse?: Partial<DomainUnassign200>) => DomainUnassign200;
78
78
  export declare const getDomainZoneeditorUrlResponseMock: (overrideResponse?: Partial<DomainZoneeditorUrl200>) => DomainZoneeditorUrl200;
79
+ export declare const getEntriJwtResponseMock: (overrideResponse?: Partial<EntriJwt200>) => EntriJwt200;
79
80
  export declare const getHostingAccountResponseMock: (overrideResponse?: Partial<HostingAccount200>) => HostingAccount200;
80
81
  export declare const getActivityLogResponseMock: (overrideResponse?: Partial<ActivityLog200>) => ActivityLog200;
81
82
  export declare const getHostingAddonsResponseMock: (overrideResponse?: Partial<HostingAddons200>) => HostingAddons200;
@@ -420,6 +421,7 @@ export declare const getDomainHealthMockHandler: (overrideResponse?: DomainHealt
420
421
  export declare const getAccessLogsMockHandler: (overrideResponse?: AccessLogs200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AccessLogs200> | AccessLogs200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
421
422
  export declare const getDomainUnassignMockHandler: (overrideResponse?: DomainUnassign200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<DomainUnassign200> | DomainUnassign200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
422
423
  export declare const getDomainZoneeditorUrlMockHandler: (overrideResponse?: DomainZoneeditorUrl200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DomainZoneeditorUrl200> | DomainZoneeditorUrl200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
424
+ export declare const getEntriJwtMockHandler: (overrideResponse?: EntriJwt200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<EntriJwt200> | EntriJwt200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
423
425
  export declare const getHostingAccountMockHandler: (overrideResponse?: HostingAccount200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingAccount200> | HostingAccount200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
424
426
  export declare const getActivityLogMockHandler: (overrideResponse?: ActivityLog200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ActivityLog200> | ActivityLog200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
425
427
  export declare const getHostingAddonsMockHandler: (overrideResponse?: HostingAddons200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingAddons200> | HostingAddons200) | 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.2040.0
7
+ * OpenAPI spec version: 1.2048.0
8
8
  */
9
9
  import { faker } from '@faker-js/faker';
10
10
  import { HttpResponse, delay, http } from 'msw';
@@ -85,6 +85,7 @@ export const getDomainHealthResponseMock = (overrideResponse = {}) => (Object.as
85
85
  export const getAccessLogsResponseMock = (overrideResponse = {}) => (Object.assign({ logs: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ date: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), device: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), host: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), ip: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), request: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), response_code: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), response_size: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), server_ip: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) })), undefined]) }, overrideResponse));
86
86
  export const getDomainUnassignResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
87
87
  export const getDomainZoneeditorUrlResponseMock = (overrideResponse = {}) => (Object.assign({ url: faker.word.sample() }, overrideResponse));
88
+ export const getEntriJwtResponseMock = (overrideResponse = {}) => (Object.assign({ token: faker.word.sample() }, overrideResponse));
88
89
  export const getHostingAccountResponseMock = (overrideResponse = {}) => (Object.assign({ account_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), account_limits: faker.helpers.arrayElement([{ email_accounts: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), max_domain: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), sites: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]) }, undefined]), addon_date_added: faker.helpers.arrayElement([faker.word.sample(), undefined]), advanced: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), billing: faker.helpers.arrayElement([{ prod_code: faker.helpers.arrayElement([faker.word.sample(), undefined]), product_name: faker.helpers.arrayElement([faker.word.sample(), undefined]), subbrand: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, undefined]), brand: faker.helpers.arrayElement([faker.word.sample(), undefined]), id: faker.helpers.arrayElement([faker.word.sample(), undefined]), panel: faker.helpers.arrayElement([faker.word.sample(), undefined]), plan_key: faker.helpers.arrayElement([faker.word.sample(), undefined]), platform: faker.helpers.arrayElement([faker.word.sample(), undefined]), resources: faker.helpers.arrayElement([{ staging: faker.helpers.arrayElement([{ storage: faker.helpers.arrayElement([{ available: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), total: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), unit: faker.helpers.arrayElement([faker.word.sample(), undefined]), used: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]) }, undefined]), workers: faker.helpers.arrayElement([{ available: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), total: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), used: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]) }, undefined]) }, undefined]), storage: faker.helpers.arrayElement([{ available: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), site_quota: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), total: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), unit: faker.helpers.arrayElement([faker.word.sample(), undefined]), used: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]) }, undefined]), used: faker.helpers.arrayElement([{ domain: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]) }, undefined]), workers: faker.helpers.arrayElement([{ available: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), total: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), used: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]) }, undefined]) }, undefined]), server_status: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), ssh_hostname: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]), type: faker.helpers.arrayElement([faker.word.sample(), undefined]), username: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
89
90
  export const getActivityLogResponseMock = (overrideResponse = {}) => (Object.assign({ activity: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ account_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), addon_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), data: faker.helpers.arrayElement([faker.word.sample(), undefined]), date_entry: faker.helpers.arrayElement([faker.word.sample(), undefined]), domain_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), event: faker.helpers.arrayElement([faker.word.sample(), undefined]), site_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]), tenant_id: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]) }, overrideResponse));
90
91
  export const getHostingAddonsResponseMock = (overrideResponse = {}) => (Object.assign({ rows: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ back_reference: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), id: faker.helpers.arrayElement([faker.word.sample(), undefined]), meta: faker.helpers.arrayElement([{
@@ -1141,6 +1142,16 @@ export const getDomainZoneeditorUrlMockHandler = (overrideResponse) => {
1141
1142
  });
1142
1143
  }));
1143
1144
  };
1145
+ export const getEntriJwtMockHandler = (overrideResponse) => {
1146
+ return http.get('*/v1/entri/jwt', (info) => __awaiter(void 0, void 0, void 0, function* () {
1147
+ yield delay(0);
1148
+ return new HttpResponse(JSON.stringify(overrideResponse !== undefined
1149
+ ? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
1150
+ : getEntriJwtResponseMock()), { status: 200,
1151
+ headers: { 'Content-Type': 'application/json' }
1152
+ });
1153
+ }));
1154
+ };
1144
1155
  export const getHostingAccountMockHandler = (overrideResponse) => {
1145
1156
  return http.get('*/v1/hosting/:hostingId', (info) => __awaiter(void 0, void 0, void 0, function* () {
1146
1157
  yield delay(0);
@@ -3918,6 +3929,7 @@ export const getHostingUAPIMock = () => [
3918
3929
  getAccessLogsMockHandler(),
3919
3930
  getDomainUnassignMockHandler(),
3920
3931
  getDomainZoneeditorUrlMockHandler(),
3932
+ getEntriJwtMockHandler(),
3921
3933
  getHostingAccountMockHandler(),
3922
3934
  getActivityLogMockHandler(),
3923
3935
  getHostingAddonsMockHandler(),
@@ -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.2040.0
6
+ * OpenAPI spec version: 1.2048.0
7
7
  */
8
8
  export declare type SshKeyListV4200RowsItem = {
9
9
  authorize?: boolean;
@@ -207,6 +207,13 @@ export declare type BackupStatusV3Params = {
207
207
  */
208
208
  client_tracking_id: string;
209
209
  };
210
+ export declare type BackupListV3200 = {
211
+ has_more?: boolean;
212
+ items?: BackupListV3200ItemsItem[];
213
+ limit?: number;
214
+ offset?: number;
215
+ total?: number;
216
+ };
210
217
  /**
211
218
  * @nullable
212
219
  */
@@ -241,13 +248,6 @@ export declare type BackupListV3200ItemsItem = {
241
248
  timezone?: string;
242
249
  type?: string;
243
250
  };
244
- export declare type BackupListV3200 = {
245
- has_more?: boolean;
246
- items?: BackupListV3200ItemsItem[];
247
- limit?: number;
248
- offset?: number;
249
- total?: number;
250
- };
251
251
  export declare type BackupListV3Params = {
252
252
  page?: number;
253
253
  limit?: number;
@@ -430,12 +430,6 @@ export declare type SiteMalwareStatusV2200 = {
430
430
  */
431
431
  scanner_state?: string | null;
432
432
  };
433
- export declare type SitesDomainsV2200 = {
434
- domains: SitesDomainsV2200DomainsItem[];
435
- limit?: number;
436
- page?: number;
437
- total?: number;
438
- };
439
433
  /**
440
434
  * Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
441
435
  * @nullable
@@ -572,6 +566,12 @@ export declare type SitesDomainsV2200DomainsItem = {
572
566
  */
573
567
  used_entri?: number | null;
574
568
  };
569
+ export declare type SitesDomainsV2200 = {
570
+ domains: SitesDomainsV2200DomainsItem[];
571
+ limit?: number;
572
+ page?: number;
573
+ total?: number;
574
+ };
575
575
  export declare type SitesDomainsV2Params = {
576
576
  scan?: boolean;
577
577
  };
@@ -1034,6 +1034,64 @@ export declare type HostingSitesV2200UsedSitesDetails = {
1034
1034
  /** Count of staging sites on specified hosting account */
1035
1035
  staging_sites?: number;
1036
1036
  };
1037
+ export declare type HostingSitesV2200 = {
1038
+ /**
1039
+ * Remaining number of sites the customer can create. Max sites - used sites. Null means 'unlimited'.
1040
+ * @nullable
1041
+ */
1042
+ available_sites?: number | null;
1043
+ items?: HostingSitesV2200ItemsItem[];
1044
+ /** page size */
1045
+ limit?: number;
1046
+ /**
1047
+ * Maximum number of sites the customer can have. Null means 'unlimited'.
1048
+ * @nullable
1049
+ */
1050
+ max_sites?: number | null;
1051
+ /** current page number */
1052
+ page?: number;
1053
+ /** total number of pages */
1054
+ pages?: number;
1055
+ /** total number of sites returned */
1056
+ total?: number;
1057
+ /** Current number of sites in use by the customer. its normal for this value to be different than the total number of sites in the list. */
1058
+ used_sites?: number;
1059
+ used_sites_details?: HostingSitesV2200UsedSitesDetails;
1060
+ };
1061
+ /**
1062
+ * @nullable
1063
+ */
1064
+ export declare type HostingSitesV2200ItemsItemWpMultiSite = {
1065
+ canonicalize_aliases?: boolean;
1066
+ enable?: boolean;
1067
+ } | null;
1068
+ /**
1069
+ * @nullable
1070
+ */
1071
+ export declare type HostingSitesV2200ItemsItemStaging = {
1072
+ /**
1073
+ * Applies to staging site only; The id of the current site's parent site
1074
+ * @nullable
1075
+ */
1076
+ parent_site_id?: number | null;
1077
+ /**
1078
+ * Applies to parent site only; The id of the former parent site of the current site
1079
+ * @nullable
1080
+ */
1081
+ promoted_from?: number | null;
1082
+ /**
1083
+ * Applies to staging site only; The id of the parent site of the current site that is being promoted
1084
+ * @nullable
1085
+ */
1086
+ promoting_from?: number | null;
1087
+ /**
1088
+ * Applies to staging site only; The derived status based on promotion ids and jobs
1089
+ * @nullable
1090
+ */
1091
+ promotion_status?: string | null;
1092
+ /** A list of staging sites of the current site */
1093
+ sites?: number[];
1094
+ } | null;
1037
1095
  export declare type HostingSitesV2200ItemsItem = {
1038
1096
  /** @nullable */
1039
1097
  account_back_ref?: string | null;
@@ -1129,64 +1187,6 @@ export declare type HostingSitesV2200ItemsItem = {
1129
1187
  /** @nullable */
1130
1188
  wp_multi_site?: HostingSitesV2200ItemsItemWpMultiSite;
1131
1189
  };
1132
- export declare type HostingSitesV2200 = {
1133
- /**
1134
- * Remaining number of sites the customer can create. Max sites - used sites. Null means 'unlimited'.
1135
- * @nullable
1136
- */
1137
- available_sites?: number | null;
1138
- items?: HostingSitesV2200ItemsItem[];
1139
- /** page size */
1140
- limit?: number;
1141
- /**
1142
- * Maximum number of sites the customer can have. Null means 'unlimited'.
1143
- * @nullable
1144
- */
1145
- max_sites?: number | null;
1146
- /** current page number */
1147
- page?: number;
1148
- /** total number of pages */
1149
- pages?: number;
1150
- /** total number of sites returned */
1151
- total?: number;
1152
- /** Current number of sites in use by the customer. its normal for this value to be different than the total number of sites in the list. */
1153
- used_sites?: number;
1154
- used_sites_details?: HostingSitesV2200UsedSitesDetails;
1155
- };
1156
- /**
1157
- * @nullable
1158
- */
1159
- export declare type HostingSitesV2200ItemsItemWpMultiSite = {
1160
- canonicalize_aliases?: boolean;
1161
- enable?: boolean;
1162
- } | null;
1163
- /**
1164
- * @nullable
1165
- */
1166
- export declare type HostingSitesV2200ItemsItemStaging = {
1167
- /**
1168
- * Applies to staging site only; The id of the current site's parent site
1169
- * @nullable
1170
- */
1171
- parent_site_id?: number | null;
1172
- /**
1173
- * Applies to parent site only; The id of the former parent site of the current site
1174
- * @nullable
1175
- */
1176
- promoted_from?: number | null;
1177
- /**
1178
- * Applies to staging site only; The id of the parent site of the current site that is being promoted
1179
- * @nullable
1180
- */
1181
- promoting_from?: number | null;
1182
- /**
1183
- * Applies to staging site only; The derived status based on promotion ids and jobs
1184
- * @nullable
1185
- */
1186
- promotion_status?: string | null;
1187
- /** A list of staging sites of the current site */
1188
- sites?: number[];
1189
- } | null;
1190
1190
  export declare type HostingSitesV2200ItemsItemResourcesStorage = {
1191
1191
  /** @nullable */
1192
1192
  available?: number | null;
@@ -1853,12 +1853,6 @@ export declare type UserServersParams = {
1853
1853
  */
1854
1854
  prod_inst_id?: string | null;
1855
1855
  };
1856
- export declare type UserProservices200 = {
1857
- /** Pro-services products from FG */
1858
- products?: UserProservices200ProductsItem[];
1859
- /** Number of pro-services products returned */
1860
- total?: number;
1861
- };
1862
1856
  export declare type UserProservices200ProductsItemProductProfileOptionsItem = {
1863
1857
  /** @nullable */
1864
1858
  profile_option?: number | null;
@@ -1917,6 +1911,12 @@ export declare type UserProservices200ProductsItem = {
1917
1911
  /** Pro-services status: Active or Completed */
1918
1912
  status?: string;
1919
1913
  };
1914
+ export declare type UserProservices200 = {
1915
+ /** Pro-services products from FG */
1916
+ products?: UserProservices200ProductsItem[];
1917
+ /** Number of pro-services products returned */
1918
+ total?: number;
1919
+ };
1920
1920
  export declare type UserProducts502 = {
1921
1921
  /** Error code */
1922
1922
  error?: string;
@@ -3173,13 +3173,6 @@ export declare type SitePendingDomainDelete200 = {
3173
3173
  export declare type SitesOnboardingSteps200 = {
3174
3174
  steps?: SiteOnboardingStepModel[];
3175
3175
  };
3176
- export declare type SitesMetricDimensions200 = {
3177
- date_end?: string;
3178
- date_start?: string;
3179
- dimensions?: SitesMetricDimensions200Dimensions;
3180
- elapsed?: number;
3181
- metric?: string;
3182
- };
3183
3176
  export declare type SitesMetricDimensions200DimensionsWpAdminAjaxActionItemDimension = {
3184
3177
  [key: string]: number;
3185
3178
  };
@@ -3229,6 +3222,25 @@ export declare type SitesMetricDimensions200DimensionsHttpVersionItem = {
3229
3222
  dimension?: SitesMetricDimensions200DimensionsHttpVersionItemDimension;
3230
3223
  timestamp?: number;
3231
3224
  };
3225
+ export declare type SitesMetricDimensions200Dimensions = {
3226
+ http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
3227
+ http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
3228
+ http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
3229
+ http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
3230
+ page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
3231
+ page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
3232
+ visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
3233
+ visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
3234
+ visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
3235
+ wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
3236
+ };
3237
+ export declare type SitesMetricDimensions200 = {
3238
+ date_end?: string;
3239
+ date_start?: string;
3240
+ dimensions?: SitesMetricDimensions200Dimensions;
3241
+ elapsed?: number;
3242
+ metric?: string;
3243
+ };
3232
3244
  export declare type SitesMetricDimensions200DimensionsHttpVerbItemDimension = {
3233
3245
  [key: string]: number;
3234
3246
  };
@@ -3250,18 +3262,6 @@ export declare type SitesMetricDimensions200DimensionsHttpHostItem = {
3250
3262
  dimension?: SitesMetricDimensions200DimensionsHttpHostItemDimension;
3251
3263
  timestamp?: number;
3252
3264
  };
3253
- export declare type SitesMetricDimensions200Dimensions = {
3254
- http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
3255
- http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
3256
- http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
3257
- http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
3258
- page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
3259
- page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
3260
- visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
3261
- visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
3262
- visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
3263
- wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
3264
- };
3265
3265
  export declare type SitesMetricDimensionsParams = {
3266
3266
  start?: string;
3267
3267
  end?: string;
@@ -4211,56 +4211,6 @@ export declare type PublicRegions200 = {
4211
4211
  /** List of regions */
4212
4212
  rows?: PublicRegions200RowsItem[];
4213
4213
  };
4214
- export declare type PublicImages200 = {
4215
- /** Limit the number of images returned */
4216
- limit?: PublicImages200Limit;
4217
- /** Number of images returned */
4218
- n_rows?: PublicImages200NRows;
4219
- /** Page number */
4220
- page?: PublicImages200Page;
4221
- /** List of images */
4222
- rows?: PublicImages200RowsItem[];
4223
- };
4224
- /**
4225
- * Links
4226
- * @nullable
4227
- */
4228
- export declare type PublicImages200RowsItemLinks = {
4229
- /**
4230
- * Community URL
4231
- * @nullable
4232
- */
4233
- community?: string | null;
4234
- /**
4235
- * Documentation URL
4236
- * @nullable
4237
- */
4238
- doc?: string | null;
4239
- /**
4240
- * Forums URL
4241
- * @nullable
4242
- */
4243
- forums?: string | null;
4244
- } | null;
4245
- /**
4246
- * Image ID
4247
- */
4248
- export declare type PublicImages200RowsItemId = string | number;
4249
- /**
4250
- * Docker default
4251
- * @nullable
4252
- */
4253
- export declare type PublicImages200RowsItemDockerDefault = string | number | null;
4254
- /**
4255
- * Current
4256
- * @nullable
4257
- */
4258
- export declare type PublicImages200RowsItemCurrent = string | number | null;
4259
- /**
4260
- * Cpanel default
4261
- * @nullable
4262
- */
4263
- export declare type PublicImages200RowsItemCpanelDefault = string | number | null;
4264
4214
  export declare type PublicImages200RowsItem = {
4265
4215
  /**
4266
4216
  * Whether the image supports third-party AI vendor API keys
@@ -4364,6 +4314,56 @@ export declare type PublicImages200RowsItem = {
4364
4314
  */
4365
4315
  user_image?: string | null;
4366
4316
  };
4317
+ export declare type PublicImages200 = {
4318
+ /** Limit the number of images returned */
4319
+ limit?: PublicImages200Limit;
4320
+ /** Number of images returned */
4321
+ n_rows?: PublicImages200NRows;
4322
+ /** Page number */
4323
+ page?: PublicImages200Page;
4324
+ /** List of images */
4325
+ rows?: PublicImages200RowsItem[];
4326
+ };
4327
+ /**
4328
+ * Links
4329
+ * @nullable
4330
+ */
4331
+ export declare type PublicImages200RowsItemLinks = {
4332
+ /**
4333
+ * Community URL
4334
+ * @nullable
4335
+ */
4336
+ community?: string | null;
4337
+ /**
4338
+ * Documentation URL
4339
+ * @nullable
4340
+ */
4341
+ doc?: string | null;
4342
+ /**
4343
+ * Forums URL
4344
+ * @nullable
4345
+ */
4346
+ forums?: string | null;
4347
+ } | null;
4348
+ /**
4349
+ * Image ID
4350
+ */
4351
+ export declare type PublicImages200RowsItemId = string | number;
4352
+ /**
4353
+ * Docker default
4354
+ * @nullable
4355
+ */
4356
+ export declare type PublicImages200RowsItemDockerDefault = string | number | null;
4357
+ /**
4358
+ * Current
4359
+ * @nullable
4360
+ */
4361
+ export declare type PublicImages200RowsItemCurrent = string | number | null;
4362
+ /**
4363
+ * Cpanel default
4364
+ * @nullable
4365
+ */
4366
+ export declare type PublicImages200RowsItemCpanelDefault = string | number | null;
4367
4367
  /**
4368
4368
  * Page number
4369
4369
  */
@@ -5712,6 +5712,12 @@ export declare type HostingEmailFiltersAddBody = {
5712
5712
  /** list of rules to be applied to the filter */
5713
5713
  rules?: HostingEmailFiltersAddBodyRulesItem[];
5714
5714
  };
5715
+ export declare type HostingEmailFiltersList200 = {
5716
+ /** The number of filters */
5717
+ count?: number;
5718
+ /** List of filters */
5719
+ filters?: HostingEmailFiltersList200FiltersItem[];
5720
+ };
5715
5721
  export declare type HostingEmailFiltersList200FiltersItemRulesItem = {
5716
5722
  match?: FilterRuleMatch;
5717
5723
  opt?: FilterRuleOpt;
@@ -5742,12 +5748,6 @@ export declare type HostingEmailFiltersList200FiltersItem = {
5742
5748
  /** Whether the filter is unescaped */
5743
5749
  unescaped?: boolean;
5744
5750
  };
5745
- export declare type HostingEmailFiltersList200 = {
5746
- /** The number of filters */
5747
- count?: number;
5748
- /** List of filters */
5749
- filters?: HostingEmailFiltersList200FiltersItem[];
5750
- };
5751
5751
  export declare type HostingEmailFiltersListParams = {
5752
5752
  /**
5753
5753
  * The email account address to query filters by
@@ -6983,6 +6983,9 @@ export declare const HostingAdvancedConsoleProtocol: {
6983
6983
  export declare type HostingAdvancedConsoleParams = {
6984
6984
  protocol?: HostingAdvancedConsoleProtocol;
6985
6985
  };
6986
+ export declare type HostingAddons200 = {
6987
+ rows?: HostingAddons200RowsItem[];
6988
+ };
6986
6989
  export declare type HostingAddons200RowsItemMeta = {
6987
6990
  [key: string]: string | number | boolean;
6988
6991
  };
@@ -6998,9 +7001,6 @@ export declare type HostingAddons200RowsItem = {
6998
7001
  subtype?: string;
6999
7002
  type?: string;
7000
7003
  };
7001
- export declare type HostingAddons200 = {
7002
- rows?: HostingAddons200RowsItem[];
7003
- };
7004
7004
  export declare type HostingAddonsParams = {
7005
7005
  status?: string;
7006
7006
  subtype?: string;
@@ -7137,6 +7137,10 @@ export declare type HostingAccount200AccountLimits = {
7137
7137
  */
7138
7138
  sites?: number | null;
7139
7139
  };
7140
+ export declare type EntriJwt200 = {
7141
+ /** Entri authentication token for client-side domain setup. */
7142
+ token: string;
7143
+ };
7140
7144
  export declare type DomainZoneeditorUrl200 = {
7141
7145
  url: string;
7142
7146
  };