@newfold/huapi-js 2.2018.0 → 2.2026.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.d.ts +159 -1
- package/src/index.js +123 -1
- package/src/index.msw.d.ts +11 -1
- package/src/index.msw.js +61 -1
- package/src/index.schemas.d.ts +315 -199
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DefinedInitialDataOptions, DefinedUseInfiniteQueryResult, DefinedUseQueryResult, InfiniteData, QueryKey, UndefinedInitialDataOptions, UseInfiniteQueryOptions, UseInfiniteQueryResult, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import axios from 'axios';
|
|
3
3
|
import type { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
4
|
-
import type { AccessLogs200, AccessLogsParams, AccountEventList200, AccountEventListParams, AccountFeatures200, AccountFeaturesParams, AccountHostingList200, AccountHostingListParams, AccountPublicKey200, AccountPublicKey404, AccountPublicKeyCreate200, AccountPublicKeyCreate409, AccountPublicKeyCreateBody, AccountPublicKeyDelete200, AccountPublicKeyDelete404, AccountPublicKeyToggle200, AccountPublicKeyToggle409, AccountPublicKeyToggleBody, AccountPublicKeys200, ActivityLog200, ActivityLogParams, AddCron200, AddCron400, AddCronBody, AddHostingRedirects200, AddHostingRedirectsBody, AddIndex200, AddIndexBody, AddPrivacy200, AddPrivacyBody, AddSiteIpaddress200, AddSiteIpaddressBody, AddonsCloudflare200, AddonsCloudflareExternalNsCheck200, AddonsCloudflareExternalNsCheckParams, AddonsInfo200, AddonsJetpackValidate200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSitelockSsoV2Params, 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, 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, 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, UserHosting200, UserHostingOverview200, UserHostingOverviewParams, UserHostingParams, UserProducts200, UserProducts401, UserProducts502, UserProservices200, 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, AccountPublicKey200, AccountPublicKey404, AccountPublicKeyCreate200, AccountPublicKeyCreate409, AccountPublicKeyCreateBody, AccountPublicKeyDelete200, AccountPublicKeyDelete404, AccountPublicKeyToggle200, AccountPublicKeyToggle409, AccountPublicKeyToggleBody, AccountPublicKeys200, ActivityLog200, ActivityLogParams, AddCron200, AddCron400, AddCronBody, AddHostingRedirects200, AddHostingRedirectsBody, AddIndex200, AddIndexBody, AddPrivacy200, AddPrivacyBody, AddSiteIpaddress200, AddSiteIpaddressBody, AddonsCloudflare200, AddonsCloudflareExternalNsCheck200, AddonsCloudflareExternalNsCheckParams, AddonsInfo200, AddonsJetpackValidate200, 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, 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, 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, UserHosting200, UserHostingOverview200, UserHostingOverviewParams, UserHostingParams, UserProducts200, UserProducts401, UserProducts502, UserProservices200, 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
|
/**
|
|
@@ -249,6 +249,38 @@ export declare const useAccountPublicKeyDelete: <TError = AxiosError<AccountPubl
|
|
|
249
249
|
} | undefined) => UseMutationResult<AxiosResponse<AccountPublicKeyDelete200, any>, TError, {
|
|
250
250
|
publicKeyId: number;
|
|
251
251
|
}, TContext>;
|
|
252
|
+
/**
|
|
253
|
+
* Returns a tenant (billing account) addon list
|
|
254
|
+
* @summary List of addons under a tenant
|
|
255
|
+
*/
|
|
256
|
+
export declare const accountAddonList: (accountId: string, params?: AccountAddonListParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<AccountAddonList200>>;
|
|
257
|
+
export declare const getAccountAddonListQueryKey: (accountId: string, params?: AccountAddonListParams) => readonly [`/v1/account/${string}/addons`, ...AccountAddonListParams[]];
|
|
258
|
+
export declare const getAccountAddonListQueryOptions: <TData = AxiosResponse<AccountAddonList200, any>, TError = AxiosError<unknown, any>>(accountId: string, params?: AccountAddonListParams, options?: {
|
|
259
|
+
query?: Partial<UseQueryOptions<AxiosResponse<AccountAddonList200, any>, TError, TData, QueryKey>> | undefined;
|
|
260
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
261
|
+
} | undefined) => UseQueryOptions<AxiosResponse<AccountAddonList200, any>, TError, TData, QueryKey> & {
|
|
262
|
+
queryKey: QueryKey;
|
|
263
|
+
};
|
|
264
|
+
export declare type AccountAddonListQueryResult = NonNullable<Awaited<ReturnType<typeof accountAddonList>>>;
|
|
265
|
+
export declare type AccountAddonListQueryError = AxiosError<unknown>;
|
|
266
|
+
export declare function useAccountAddonList<TData = Awaited<ReturnType<typeof accountAddonList>>, TError = AxiosError<unknown>>(accountId: string, params: undefined | AccountAddonListParams, options: {
|
|
267
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof accountAddonList>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof accountAddonList>>, TError, TData>, 'initialData'>;
|
|
268
|
+
axios?: AxiosRequestConfig;
|
|
269
|
+
}): DefinedUseQueryResult<TData, TError> & {
|
|
270
|
+
queryKey: QueryKey;
|
|
271
|
+
};
|
|
272
|
+
export declare function useAccountAddonList<TData = Awaited<ReturnType<typeof accountAddonList>>, TError = AxiosError<unknown>>(accountId: string, params?: AccountAddonListParams, options?: {
|
|
273
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof accountAddonList>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof accountAddonList>>, TError, TData>, 'initialData'>;
|
|
274
|
+
axios?: AxiosRequestConfig;
|
|
275
|
+
}): UseQueryResult<TData, TError> & {
|
|
276
|
+
queryKey: QueryKey;
|
|
277
|
+
};
|
|
278
|
+
export declare function useAccountAddonList<TData = Awaited<ReturnType<typeof accountAddonList>>, TError = AxiosError<unknown>>(accountId: string, params?: AccountAddonListParams, options?: {
|
|
279
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof accountAddonList>>, TError, TData>>;
|
|
280
|
+
axios?: AxiosRequestConfig;
|
|
281
|
+
}): UseQueryResult<TData, TError> & {
|
|
282
|
+
queryKey: QueryKey;
|
|
283
|
+
};
|
|
252
284
|
/**
|
|
253
285
|
* Returns a combined backup list with website commit ids and corresponding database commits
|
|
254
286
|
* @summary backup list
|
|
@@ -1406,6 +1438,132 @@ export declare const useAddonsJetpackValidate: <TError = AxiosError<unknown, any
|
|
|
1406
1438
|
} | undefined) => UseMutationResult<AxiosResponse<AddonsJetpackValidate200, any>, TError, {
|
|
1407
1439
|
addonId: string;
|
|
1408
1440
|
}, TContext>;
|
|
1441
|
+
/**
|
|
1442
|
+
* Returns the credits balance of an llm addon
|
|
1443
|
+
* @summary Get the credits balance of llm addon
|
|
1444
|
+
*/
|
|
1445
|
+
export declare const addonsLlmBalance: (addonId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddonsLlmBalance200>>;
|
|
1446
|
+
export declare const getAddonsLlmBalanceQueryKey: (addonId: string) => readonly [`/v1/addons/${string}/llm/balance`];
|
|
1447
|
+
export declare const getAddonsLlmBalanceQueryOptions: <TData = AxiosResponse<AddonsLlmBalance200, any>, TError = AxiosError<unknown, any>>(addonId: string, options?: {
|
|
1448
|
+
query?: Partial<UseQueryOptions<AxiosResponse<AddonsLlmBalance200, any>, TError, TData, QueryKey>> | undefined;
|
|
1449
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1450
|
+
} | undefined) => UseQueryOptions<AxiosResponse<AddonsLlmBalance200, any>, TError, TData, QueryKey> & {
|
|
1451
|
+
queryKey: QueryKey;
|
|
1452
|
+
};
|
|
1453
|
+
export declare type AddonsLlmBalanceQueryResult = NonNullable<Awaited<ReturnType<typeof addonsLlmBalance>>>;
|
|
1454
|
+
export declare type AddonsLlmBalanceQueryError = AxiosError<unknown>;
|
|
1455
|
+
export declare function useAddonsLlmBalance<TData = Awaited<ReturnType<typeof addonsLlmBalance>>, TError = AxiosError<unknown>>(addonId: string, options: {
|
|
1456
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof addonsLlmBalance>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof addonsLlmBalance>>, TError, TData>, 'initialData'>;
|
|
1457
|
+
axios?: AxiosRequestConfig;
|
|
1458
|
+
}): DefinedUseQueryResult<TData, TError> & {
|
|
1459
|
+
queryKey: QueryKey;
|
|
1460
|
+
};
|
|
1461
|
+
export declare function useAddonsLlmBalance<TData = Awaited<ReturnType<typeof addonsLlmBalance>>, TError = AxiosError<unknown>>(addonId: string, options?: {
|
|
1462
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addonsLlmBalance>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof addonsLlmBalance>>, TError, TData>, 'initialData'>;
|
|
1463
|
+
axios?: AxiosRequestConfig;
|
|
1464
|
+
}): UseQueryResult<TData, TError> & {
|
|
1465
|
+
queryKey: QueryKey;
|
|
1466
|
+
};
|
|
1467
|
+
export declare function useAddonsLlmBalance<TData = Awaited<ReturnType<typeof addonsLlmBalance>>, TError = AxiosError<unknown>>(addonId: string, options?: {
|
|
1468
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addonsLlmBalance>>, TError, TData>>;
|
|
1469
|
+
axios?: AxiosRequestConfig;
|
|
1470
|
+
}): UseQueryResult<TData, TError> & {
|
|
1471
|
+
queryKey: QueryKey;
|
|
1472
|
+
};
|
|
1473
|
+
/**
|
|
1474
|
+
* Returns a list of llm keys
|
|
1475
|
+
* @summary List of keys for an llm addon
|
|
1476
|
+
*/
|
|
1477
|
+
export declare const addonsLlmKeys: (addonId: string, params?: AddonsLlmKeysParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddonsLlmKeys200>>;
|
|
1478
|
+
export declare const getAddonsLlmKeysQueryKey: (addonId: string, params?: AddonsLlmKeysParams) => readonly [`/v1/addons/${string}/llm/keys`, ...AddonsLlmKeysParams[]];
|
|
1479
|
+
export declare const getAddonsLlmKeysQueryOptions: <TData = AxiosResponse<AddonsLlmKeys200, any>, TError = AxiosError<unknown, any>>(addonId: string, params?: AddonsLlmKeysParams, options?: {
|
|
1480
|
+
query?: Partial<UseQueryOptions<AxiosResponse<AddonsLlmKeys200, any>, TError, TData, QueryKey>> | undefined;
|
|
1481
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1482
|
+
} | undefined) => UseQueryOptions<AxiosResponse<AddonsLlmKeys200, any>, TError, TData, QueryKey> & {
|
|
1483
|
+
queryKey: QueryKey;
|
|
1484
|
+
};
|
|
1485
|
+
export declare type AddonsLlmKeysQueryResult = NonNullable<Awaited<ReturnType<typeof addonsLlmKeys>>>;
|
|
1486
|
+
export declare type AddonsLlmKeysQueryError = AxiosError<unknown>;
|
|
1487
|
+
export declare function useAddonsLlmKeys<TData = Awaited<ReturnType<typeof addonsLlmKeys>>, TError = AxiosError<unknown>>(addonId: string, params: undefined | AddonsLlmKeysParams, options: {
|
|
1488
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof addonsLlmKeys>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof addonsLlmKeys>>, TError, TData>, 'initialData'>;
|
|
1489
|
+
axios?: AxiosRequestConfig;
|
|
1490
|
+
}): DefinedUseQueryResult<TData, TError> & {
|
|
1491
|
+
queryKey: QueryKey;
|
|
1492
|
+
};
|
|
1493
|
+
export declare function useAddonsLlmKeys<TData = Awaited<ReturnType<typeof addonsLlmKeys>>, TError = AxiosError<unknown>>(addonId: string, params?: AddonsLlmKeysParams, options?: {
|
|
1494
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addonsLlmKeys>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof addonsLlmKeys>>, TError, TData>, 'initialData'>;
|
|
1495
|
+
axios?: AxiosRequestConfig;
|
|
1496
|
+
}): UseQueryResult<TData, TError> & {
|
|
1497
|
+
queryKey: QueryKey;
|
|
1498
|
+
};
|
|
1499
|
+
export declare function useAddonsLlmKeys<TData = Awaited<ReturnType<typeof addonsLlmKeys>>, TError = AxiosError<unknown>>(addonId: string, params?: AddonsLlmKeysParams, options?: {
|
|
1500
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addonsLlmKeys>>, TError, TData>>;
|
|
1501
|
+
axios?: AxiosRequestConfig;
|
|
1502
|
+
}): UseQueryResult<TData, TError> & {
|
|
1503
|
+
queryKey: QueryKey;
|
|
1504
|
+
};
|
|
1505
|
+
/**
|
|
1506
|
+
* Add an llm key
|
|
1507
|
+
* @summary Add a key to an llm addon
|
|
1508
|
+
*/
|
|
1509
|
+
export declare const addonsLlmKeysCreate: (addonId: string, addonsLlmKeysCreateBody: AddonsLlmKeysCreateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddonsLlmKeysCreate200>>;
|
|
1510
|
+
export declare const getAddonsLlmKeysCreateMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1511
|
+
mutation?: UseMutationOptions<AxiosResponse<AddonsLlmKeysCreate200, any>, TError, {
|
|
1512
|
+
addonId: string;
|
|
1513
|
+
data: AddonsLlmKeysCreateBody;
|
|
1514
|
+
}, TContext> | undefined;
|
|
1515
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1516
|
+
} | undefined) => UseMutationOptions<AxiosResponse<AddonsLlmKeysCreate200, any>, TError, {
|
|
1517
|
+
addonId: string;
|
|
1518
|
+
data: AddonsLlmKeysCreateBody;
|
|
1519
|
+
}, TContext>;
|
|
1520
|
+
export declare type AddonsLlmKeysCreateMutationResult = NonNullable<Awaited<ReturnType<typeof addonsLlmKeysCreate>>>;
|
|
1521
|
+
export declare type AddonsLlmKeysCreateMutationBody = AddonsLlmKeysCreateBody;
|
|
1522
|
+
export declare type AddonsLlmKeysCreateMutationError = AxiosError<unknown>;
|
|
1523
|
+
/**
|
|
1524
|
+
* @summary Add a key to an llm addon
|
|
1525
|
+
*/
|
|
1526
|
+
export declare const useAddonsLlmKeysCreate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1527
|
+
mutation?: UseMutationOptions<AxiosResponse<AddonsLlmKeysCreate200, any>, TError, {
|
|
1528
|
+
addonId: string;
|
|
1529
|
+
data: AddonsLlmKeysCreateBody;
|
|
1530
|
+
}, TContext> | undefined;
|
|
1531
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1532
|
+
} | undefined) => UseMutationResult<AxiosResponse<AddonsLlmKeysCreate200, any>, TError, {
|
|
1533
|
+
addonId: string;
|
|
1534
|
+
data: AddonsLlmKeysCreateBody;
|
|
1535
|
+
}, TContext>;
|
|
1536
|
+
/**
|
|
1537
|
+
* Delete an llm key
|
|
1538
|
+
* @summary Delete a key from an llm addon
|
|
1539
|
+
*/
|
|
1540
|
+
export declare const addonsLlmKeysDelete: (addonId: string, addonsLlmKeysDeleteBody: AddonsLlmKeysDeleteBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddonsLlmKeysDelete200>>;
|
|
1541
|
+
export declare const getAddonsLlmKeysDeleteMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1542
|
+
mutation?: UseMutationOptions<AxiosResponse<AddonsLlmKeysDelete200, any>, TError, {
|
|
1543
|
+
addonId: string;
|
|
1544
|
+
data: AddonsLlmKeysDeleteBody;
|
|
1545
|
+
}, TContext> | undefined;
|
|
1546
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1547
|
+
} | undefined) => UseMutationOptions<AxiosResponse<AddonsLlmKeysDelete200, any>, TError, {
|
|
1548
|
+
addonId: string;
|
|
1549
|
+
data: AddonsLlmKeysDeleteBody;
|
|
1550
|
+
}, TContext>;
|
|
1551
|
+
export declare type AddonsLlmKeysDeleteMutationResult = NonNullable<Awaited<ReturnType<typeof addonsLlmKeysDelete>>>;
|
|
1552
|
+
export declare type AddonsLlmKeysDeleteMutationBody = AddonsLlmKeysDeleteBody;
|
|
1553
|
+
export declare type AddonsLlmKeysDeleteMutationError = AxiosError<unknown>;
|
|
1554
|
+
/**
|
|
1555
|
+
* @summary Delete a key from an llm addon
|
|
1556
|
+
*/
|
|
1557
|
+
export declare const useAddonsLlmKeysDelete: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
|
|
1558
|
+
mutation?: UseMutationOptions<AxiosResponse<AddonsLlmKeysDelete200, any>, TError, {
|
|
1559
|
+
addonId: string;
|
|
1560
|
+
data: AddonsLlmKeysDeleteBody;
|
|
1561
|
+
}, TContext> | undefined;
|
|
1562
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1563
|
+
} | undefined) => UseMutationResult<AxiosResponse<AddonsLlmKeysDelete200, any>, TError, {
|
|
1564
|
+
addonId: string;
|
|
1565
|
+
data: AddonsLlmKeysDeleteBody;
|
|
1566
|
+
}, TContext>;
|
|
1409
1567
|
/**
|
|
1410
1568
|
* Generates the Monarx seal HTML snippet and registration ID for the specified domain.
|
|
1411
1569
|
* @summary Monarx seal generation
|
package/src/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Hosting UAPI
|
|
5
5
|
* Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.2026.0
|
|
7
7
|
*/
|
|
8
8
|
import { useInfiniteQuery, useMutation, useQuery } from '@tanstack/react-query';
|
|
9
9
|
import axios from 'axios';
|
|
@@ -205,6 +205,32 @@ export const useAccountPublicKeyDelete = (options) => {
|
|
|
205
205
|
const mutationOptions = getAccountPublicKeyDeleteMutationOptions(options);
|
|
206
206
|
return useMutation(mutationOptions);
|
|
207
207
|
};
|
|
208
|
+
/**
|
|
209
|
+
* Returns a tenant (billing account) addon list
|
|
210
|
+
* @summary List of addons under a tenant
|
|
211
|
+
*/
|
|
212
|
+
export const accountAddonList = (accountId, params, options) => {
|
|
213
|
+
return axios.get(`/v1/account/${accountId}/addons`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
|
|
214
|
+
};
|
|
215
|
+
export const getAccountAddonListQueryKey = (accountId, params) => {
|
|
216
|
+
return [`/v1/account/${accountId}/addons`, ...(params ? [params] : [])];
|
|
217
|
+
};
|
|
218
|
+
export const getAccountAddonListQueryOptions = (accountId, params, options) => {
|
|
219
|
+
var _a;
|
|
220
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
221
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getAccountAddonListQueryKey(accountId, params);
|
|
222
|
+
const queryFn = ({ signal }) => accountAddonList(accountId, params, Object.assign({ signal }, axiosOptions));
|
|
223
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(accountId) }, queryOptions);
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* @summary List of addons under a tenant
|
|
227
|
+
*/
|
|
228
|
+
export function useAccountAddonList(accountId, params, options) {
|
|
229
|
+
const queryOptions = getAccountAddonListQueryOptions(accountId, params, options);
|
|
230
|
+
const query = useQuery(queryOptions);
|
|
231
|
+
query.queryKey = queryOptions.queryKey;
|
|
232
|
+
return query;
|
|
233
|
+
}
|
|
208
234
|
/**
|
|
209
235
|
* Returns a combined backup list with website commit ids and corresponding database commits
|
|
210
236
|
* @summary backup list
|
|
@@ -1087,6 +1113,102 @@ export const useAddonsJetpackValidate = (options) => {
|
|
|
1087
1113
|
const mutationOptions = getAddonsJetpackValidateMutationOptions(options);
|
|
1088
1114
|
return useMutation(mutationOptions);
|
|
1089
1115
|
};
|
|
1116
|
+
/**
|
|
1117
|
+
* Returns the credits balance of an llm addon
|
|
1118
|
+
* @summary Get the credits balance of llm addon
|
|
1119
|
+
*/
|
|
1120
|
+
export const addonsLlmBalance = (addonId, options) => {
|
|
1121
|
+
return axios.get(`/v1/addons/${addonId}/llm/balance`, options);
|
|
1122
|
+
};
|
|
1123
|
+
export const getAddonsLlmBalanceQueryKey = (addonId) => {
|
|
1124
|
+
return [`/v1/addons/${addonId}/llm/balance`];
|
|
1125
|
+
};
|
|
1126
|
+
export const getAddonsLlmBalanceQueryOptions = (addonId, options) => {
|
|
1127
|
+
var _a;
|
|
1128
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
1129
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getAddonsLlmBalanceQueryKey(addonId);
|
|
1130
|
+
const queryFn = ({ signal }) => addonsLlmBalance(addonId, Object.assign({ signal }, axiosOptions));
|
|
1131
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(addonId) }, queryOptions);
|
|
1132
|
+
};
|
|
1133
|
+
/**
|
|
1134
|
+
* @summary Get the credits balance of llm addon
|
|
1135
|
+
*/
|
|
1136
|
+
export function useAddonsLlmBalance(addonId, options) {
|
|
1137
|
+
const queryOptions = getAddonsLlmBalanceQueryOptions(addonId, options);
|
|
1138
|
+
const query = useQuery(queryOptions);
|
|
1139
|
+
query.queryKey = queryOptions.queryKey;
|
|
1140
|
+
return query;
|
|
1141
|
+
}
|
|
1142
|
+
/**
|
|
1143
|
+
* Returns a list of llm keys
|
|
1144
|
+
* @summary List of keys for an llm addon
|
|
1145
|
+
*/
|
|
1146
|
+
export const addonsLlmKeys = (addonId, params, options) => {
|
|
1147
|
+
return axios.get(`/v1/addons/${addonId}/llm/keys`, Object.assign(Object.assign({}, options), { params: Object.assign(Object.assign({}, params), options === null || options === void 0 ? void 0 : options.params) }));
|
|
1148
|
+
};
|
|
1149
|
+
export const getAddonsLlmKeysQueryKey = (addonId, params) => {
|
|
1150
|
+
return [`/v1/addons/${addonId}/llm/keys`, ...(params ? [params] : [])];
|
|
1151
|
+
};
|
|
1152
|
+
export const getAddonsLlmKeysQueryOptions = (addonId, params, options) => {
|
|
1153
|
+
var _a;
|
|
1154
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
1155
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getAddonsLlmKeysQueryKey(addonId, params);
|
|
1156
|
+
const queryFn = ({ signal }) => addonsLlmKeys(addonId, params, Object.assign({ signal }, axiosOptions));
|
|
1157
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(addonId) }, queryOptions);
|
|
1158
|
+
};
|
|
1159
|
+
/**
|
|
1160
|
+
* @summary List of keys for an llm addon
|
|
1161
|
+
*/
|
|
1162
|
+
export function useAddonsLlmKeys(addonId, params, options) {
|
|
1163
|
+
const queryOptions = getAddonsLlmKeysQueryOptions(addonId, params, options);
|
|
1164
|
+
const query = useQuery(queryOptions);
|
|
1165
|
+
query.queryKey = queryOptions.queryKey;
|
|
1166
|
+
return query;
|
|
1167
|
+
}
|
|
1168
|
+
/**
|
|
1169
|
+
* Add an llm key
|
|
1170
|
+
* @summary Add a key to an llm addon
|
|
1171
|
+
*/
|
|
1172
|
+
export const addonsLlmKeysCreate = (addonId, addonsLlmKeysCreateBody, options) => {
|
|
1173
|
+
return axios.post(`/v1/addons/${addonId}/llm/keys`, addonsLlmKeysCreateBody, options);
|
|
1174
|
+
};
|
|
1175
|
+
export const getAddonsLlmKeysCreateMutationOptions = (options) => {
|
|
1176
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
1177
|
+
const mutationFn = (props) => {
|
|
1178
|
+
const { addonId, data } = props !== null && props !== void 0 ? props : {};
|
|
1179
|
+
return addonsLlmKeysCreate(addonId, data, axiosOptions);
|
|
1180
|
+
};
|
|
1181
|
+
return Object.assign({ mutationFn }, mutationOptions);
|
|
1182
|
+
};
|
|
1183
|
+
/**
|
|
1184
|
+
* @summary Add a key to an llm addon
|
|
1185
|
+
*/
|
|
1186
|
+
export const useAddonsLlmKeysCreate = (options) => {
|
|
1187
|
+
const mutationOptions = getAddonsLlmKeysCreateMutationOptions(options);
|
|
1188
|
+
return useMutation(mutationOptions);
|
|
1189
|
+
};
|
|
1190
|
+
/**
|
|
1191
|
+
* Delete an llm key
|
|
1192
|
+
* @summary Delete a key from an llm addon
|
|
1193
|
+
*/
|
|
1194
|
+
export const addonsLlmKeysDelete = (addonId, addonsLlmKeysDeleteBody, options) => {
|
|
1195
|
+
return axios.delete(`/v1/addons/${addonId}/llm/keys`, Object.assign({ data: addonsLlmKeysDeleteBody }, options));
|
|
1196
|
+
};
|
|
1197
|
+
export const getAddonsLlmKeysDeleteMutationOptions = (options) => {
|
|
1198
|
+
const { mutation: mutationOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
1199
|
+
const mutationFn = (props) => {
|
|
1200
|
+
const { addonId, data } = props !== null && props !== void 0 ? props : {};
|
|
1201
|
+
return addonsLlmKeysDelete(addonId, data, axiosOptions);
|
|
1202
|
+
};
|
|
1203
|
+
return Object.assign({ mutationFn }, mutationOptions);
|
|
1204
|
+
};
|
|
1205
|
+
/**
|
|
1206
|
+
* @summary Delete a key from an llm addon
|
|
1207
|
+
*/
|
|
1208
|
+
export const useAddonsLlmKeysDelete = (options) => {
|
|
1209
|
+
const mutationOptions = getAddonsLlmKeysDeleteMutationOptions(options);
|
|
1210
|
+
return useMutation(mutationOptions);
|
|
1211
|
+
};
|
|
1090
1212
|
/**
|
|
1091
1213
|
* Generates the Monarx seal HTML snippet and registration ID for the specified domain.
|
|
1092
1214
|
* @summary Monarx seal generation
|
package/src/index.msw.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { http } from 'msw';
|
|
2
|
-
import type { AccessLogs200, AccountEventList200, AccountFeatures200, AccountHostingList200, AccountPublicKey200, AccountPublicKeyCreate200, AccountPublicKeyDelete200, AccountPublicKeyToggle200, AccountPublicKeys200, ActivityLog200, AddCron200, AddHostingRedirects200, AddIndex200, AddPrivacy200, AddSiteIpaddress200, AddonsCloudflare200, AddonsCloudflareExternalNsCheck200, AddonsInfo200, AddonsJetpackValidate200, AddonsSitelockSso200, AddonsSitelockSsoV2200, 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, 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, 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, UserHosting200, UserHostingOverview200, UserProducts200, UserProservices200, UserSpamexperts200, WaldaiSso200, WebzaiSso200, WeeblySso200, XcitiumBackupCreate200, XcitiumBackupDownload200, XcitiumBackupList200, XcitiumBackupRestore200, XcitiumPlanInfo200, XcitiumSso200 } from './index.schemas';
|
|
2
|
+
import type { AccessLogs200, AccountAddonList200, AccountEventList200, AccountFeatures200, AccountHostingList200, AccountPublicKey200, AccountPublicKeyCreate200, AccountPublicKeyDelete200, AccountPublicKeyToggle200, AccountPublicKeys200, 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, 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, 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, UserHosting200, UserHostingOverview200, UserProducts200, UserProservices200, 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;
|
|
@@ -8,6 +8,7 @@ export declare const getAccountPublicKeyCreateResponseMock: (overrideResponse?:
|
|
|
8
8
|
export declare const getAccountPublicKeyResponseMock: (overrideResponse?: Partial<AccountPublicKey200>) => AccountPublicKey200;
|
|
9
9
|
export declare const getAccountPublicKeyToggleResponseMock: (overrideResponse?: Partial<AccountPublicKeyToggle200>) => AccountPublicKeyToggle200;
|
|
10
10
|
export declare const getAccountPublicKeyDeleteResponseMock: (overrideResponse?: Partial<AccountPublicKeyDelete200>) => AccountPublicKeyDelete200;
|
|
11
|
+
export declare const getAccountAddonListResponseMock: (overrideResponse?: Partial<AccountAddonList200>) => AccountAddonList200;
|
|
11
12
|
export declare const getCodeguardBackupListResponseMock: (overrideResponse?: Partial<CodeguardBackupList200>) => CodeguardBackupList200;
|
|
12
13
|
export declare const getCodeguardBackupCreateResponseMock: (overrideResponse?: Partial<CodeguardBackupCreate200>) => CodeguardBackupCreate200;
|
|
13
14
|
export declare const getCodeguardBackupDownloadResponseMock: (overrideResponse?: Partial<CodeguardBackupDownload200>) => CodeguardBackupDownload200;
|
|
@@ -44,6 +45,10 @@ export declare const getAddonsCloudflareResponseMock: (overrideResponse?: Partia
|
|
|
44
45
|
export declare const getAddonsCloudflareExternalNsCheckResponseMock: (overrideResponse?: Partial<AddonsCloudflareExternalNsCheck200>) => AddonsCloudflareExternalNsCheck200;
|
|
45
46
|
export declare const getAddonsInfoResponseMock: (overrideResponse?: Partial<AddonsInfo200>) => AddonsInfo200;
|
|
46
47
|
export declare const getAddonsJetpackValidateResponseMock: (overrideResponse?: Partial<AddonsJetpackValidate200>) => AddonsJetpackValidate200;
|
|
48
|
+
export declare const getAddonsLlmBalanceResponseMock: (overrideResponse?: Partial<AddonsLlmBalance200>) => AddonsLlmBalance200;
|
|
49
|
+
export declare const getAddonsLlmKeysResponseMock: (overrideResponse?: Partial<AddonsLlmKeys200>) => AddonsLlmKeys200;
|
|
50
|
+
export declare const getAddonsLlmKeysCreateResponseMock: (overrideResponse?: Partial<AddonsLlmKeysCreate200>) => AddonsLlmKeysCreate200;
|
|
51
|
+
export declare const getAddonsLlmKeysDeleteResponseMock: (overrideResponse?: Partial<AddonsLlmKeysDelete200>) => AddonsLlmKeysDelete200;
|
|
47
52
|
export declare const getMonarxAddonSealGenerationResponseMock: (overrideResponse?: Partial<MonarxAddonSealGeneration200>) => MonarxAddonSealGeneration200;
|
|
48
53
|
export declare const getMonarxAddonReportUrlResponseMock: (overrideResponse?: Partial<MonarxAddonReportUrl200>) => MonarxAddonReportUrl200;
|
|
49
54
|
export declare const getAddonsSpamexpertsDomainAssignResponseMock: (overrideResponse?: Partial<AddonsSpamexpertsDomainAssign200>) => AddonsSpamexpertsDomainAssign200;
|
|
@@ -339,6 +344,7 @@ export declare const getAccountPublicKeyCreateMockHandler: (overrideResponse?: A
|
|
|
339
344
|
export declare const getAccountPublicKeyMockHandler: (overrideResponse?: AccountPublicKey200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AccountPublicKey200> | AccountPublicKey200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
340
345
|
export declare const getAccountPublicKeyToggleMockHandler: (overrideResponse?: AccountPublicKeyToggle200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<AccountPublicKeyToggle200> | AccountPublicKeyToggle200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
341
346
|
export declare const getAccountPublicKeyDeleteMockHandler: (overrideResponse?: AccountPublicKeyDelete200 | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<AccountPublicKeyDelete200> | AccountPublicKeyDelete200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
347
|
+
export declare const getAccountAddonListMockHandler: (overrideResponse?: AccountAddonList200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AccountAddonList200> | AccountAddonList200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
342
348
|
export declare const getCodeguardBackupListMockHandler: (overrideResponse?: CodeguardBackupList200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<CodeguardBackupList200> | CodeguardBackupList200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
343
349
|
export declare const getCodeguardBackupCreateMockHandler: (overrideResponse?: CodeguardBackupCreate200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<CodeguardBackupCreate200> | CodeguardBackupCreate200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
344
350
|
export declare const getCodeguardBackupDownloadMockHandler: (overrideResponse?: CodeguardBackupDownload200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<CodeguardBackupDownload200> | CodeguardBackupDownload200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
@@ -375,6 +381,10 @@ export declare const getAddonsCloudflareMockHandler: (overrideResponse?: AddonsC
|
|
|
375
381
|
export declare const getAddonsCloudflareExternalNsCheckMockHandler: (overrideResponse?: AddonsCloudflareExternalNsCheck200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AddonsCloudflareExternalNsCheck200> | AddonsCloudflareExternalNsCheck200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
376
382
|
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;
|
|
377
383
|
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;
|
|
384
|
+
export declare const getAddonsLlmBalanceMockHandler: (overrideResponse?: AddonsLlmBalance200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AddonsLlmBalance200> | AddonsLlmBalance200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
385
|
+
export declare const getAddonsLlmKeysMockHandler: (overrideResponse?: AddonsLlmKeys200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<AddonsLlmKeys200> | AddonsLlmKeys200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
386
|
+
export declare const getAddonsLlmKeysCreateMockHandler: (overrideResponse?: AddonsLlmKeysCreate200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<AddonsLlmKeysCreate200> | AddonsLlmKeysCreate200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
387
|
+
export declare const getAddonsLlmKeysDeleteMockHandler: (overrideResponse?: AddonsLlmKeysDelete200 | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<AddonsLlmKeysDelete200> | AddonsLlmKeysDelete200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
378
388
|
export declare const getMonarxAddonSealGenerationMockHandler: (overrideResponse?: MonarxAddonSealGeneration200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<MonarxAddonSealGeneration200> | MonarxAddonSealGeneration200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
379
389
|
export declare const getMonarxAddonReportUrlMockHandler: (overrideResponse?: MonarxAddonReportUrl200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<MonarxAddonReportUrl200> | MonarxAddonReportUrl200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
380
390
|
export declare const getAddonsSpamexpertsDomainAssignMockHandler: (overrideResponse?: AddonsSpamexpertsDomainAssign200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<AddonsSpamexpertsDomainAssign200> | AddonsSpamexpertsDomainAssign200) | 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.
|
|
7
|
+
* OpenAPI spec version: 1.2026.0
|
|
8
8
|
*/
|
|
9
9
|
import { faker } from '@faker-js/faker';
|
|
10
10
|
import { HttpResponse, delay, http } from 'msw';
|
|
@@ -17,6 +17,7 @@ export const getAccountPublicKeyCreateResponseMock = (overrideResponse = {}) =>
|
|
|
17
17
|
export const getAccountPublicKeyResponseMock = (overrideResponse = {}) => (Object.assign({ date_modified: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), is_active: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), name: faker.helpers.arrayElement([faker.word.sample(), undefined]), public_key: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
18
18
|
export const getAccountPublicKeyToggleResponseMock = (overrideResponse = {}) => (Object.assign({ job_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
|
19
19
|
export const getAccountPublicKeyDeleteResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
|
|
20
|
+
export const getAccountAddonListResponseMock = (overrideResponse = {}) => (Object.assign({ addons: 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]), date_added: faker.helpers.arrayElement([faker.word.sample(), undefined]), id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]), subtype: faker.helpers.arrayElement([faker.word.sample(), undefined]), tenant_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), type: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]), limit: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), n_rows: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), page: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
|
20
21
|
export const getCodeguardBackupListResponseMock = (overrideResponse = {}) => (Object.assign({ backups: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ database_backups: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ commit_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), event_time: faker.helpers.arrayElement([faker.word.sample(), undefined]), id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), recommended: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) })), undefined]), event_time: faker.helpers.arrayElement([faker.word.sample(), undefined]), website_commit_id: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]) }, overrideResponse));
|
|
21
22
|
export const getCodeguardBackupCreateResponseMock = (overrideResponse = {}) => (Object.assign({ database_success: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]), website_success: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
|
22
23
|
export const getCodeguardBackupDownloadResponseMock = (overrideResponse = {}) => (Object.assign({ status: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
@@ -53,6 +54,10 @@ export const getAddonsCloudflareResponseMock = (overrideResponse = {}) => (Objec
|
|
|
53
54
|
export const getAddonsCloudflareExternalNsCheckResponseMock = (overrideResponse = {}) => (Object.assign({ base: faker.helpers.arrayElement([{ detected_ips: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), matched: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, undefined]), cdn_ip: faker.helpers.arrayElement([faker.word.sample(), undefined]), domain: faker.helpers.arrayElement([faker.word.sample(), undefined]), domain_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), domain_ns: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), is_external: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), need_records: faker.helpers.arrayElement([{ content: faker.helpers.arrayElement([faker.word.sample(), undefined]), type: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, undefined]), server_ip: faker.helpers.arrayElement([faker.word.sample(), undefined]), server_ns: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), www: faker.helpers.arrayElement([{ detected_ips: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), matched: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, undefined]) }, overrideResponse));
|
|
54
55
|
export const getAddonsInfoResponseMock = (overrideResponse = {}) => (Object.assign({ id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
|
55
56
|
export const getAddonsJetpackValidateResponseMock = (overrideResponse = {}) => (Object.assign({ is_connected: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, overrideResponse));
|
|
57
|
+
export const getAddonsLlmBalanceResponseMock = (overrideResponse = {}) => (Object.assign({ credit_balance: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), credit_expires_at: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, overrideResponse));
|
|
58
|
+
export const getAddonsLlmKeysResponseMock = (overrideResponse = {}) => (Object.assign({ inference_base_url: faker.helpers.arrayElement([faker.word.sample(), undefined]), keys: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ created_at: faker.helpers.arrayElement([faker.word.sample(), undefined]), key_alias: faker.helpers.arrayElement([faker.word.sample(), undefined]), key_name: faker.helpers.arrayElement([faker.word.sample(), undefined]), last_used_at: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) })), undefined]), limit: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), n_pages: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), n_rows: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), page: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, overrideResponse));
|
|
59
|
+
export const getAddonsLlmKeysCreateResponseMock = (overrideResponse = {}) => (Object.assign({ inference_base_url: faker.helpers.arrayElement([faker.word.sample(), undefined]), virtual_key: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
60
|
+
export const getAddonsLlmKeysDeleteResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
|
|
56
61
|
export const getMonarxAddonSealGenerationResponseMock = (overrideResponse = {}) => (Object.assign({ monarx_seal: faker.word.sample(), site_registration_id: faker.word.sample() }, overrideResponse));
|
|
57
62
|
export const getMonarxAddonReportUrlResponseMock = (overrideResponse = {}) => (Object.assign({ report_url: faker.word.sample() }, overrideResponse));
|
|
58
63
|
export const getAddonsSpamexpertsDomainAssignResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
|
|
@@ -448,6 +453,16 @@ export const getAccountPublicKeyDeleteMockHandler = (overrideResponse) => {
|
|
|
448
453
|
});
|
|
449
454
|
}));
|
|
450
455
|
};
|
|
456
|
+
export const getAccountAddonListMockHandler = (overrideResponse) => {
|
|
457
|
+
return http.get('*/v1/account/:accountId/addons', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
458
|
+
yield delay(0);
|
|
459
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
460
|
+
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
461
|
+
: getAccountAddonListResponseMock()), { status: 200,
|
|
462
|
+
headers: { 'Content-Type': 'application/json' }
|
|
463
|
+
});
|
|
464
|
+
}));
|
|
465
|
+
};
|
|
451
466
|
export const getCodeguardBackupListMockHandler = (overrideResponse) => {
|
|
452
467
|
return http.get('*/v1/addons/codeguard/:addonId/backups', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
453
468
|
yield delay(0);
|
|
@@ -808,6 +823,46 @@ export const getAddonsJetpackValidateMockHandler = (overrideResponse) => {
|
|
|
808
823
|
});
|
|
809
824
|
}));
|
|
810
825
|
};
|
|
826
|
+
export const getAddonsLlmBalanceMockHandler = (overrideResponse) => {
|
|
827
|
+
return http.get('*/v1/addons/:addonId/llm/balance', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
828
|
+
yield delay(0);
|
|
829
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
830
|
+
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
831
|
+
: getAddonsLlmBalanceResponseMock()), { status: 200,
|
|
832
|
+
headers: { 'Content-Type': 'application/json' }
|
|
833
|
+
});
|
|
834
|
+
}));
|
|
835
|
+
};
|
|
836
|
+
export const getAddonsLlmKeysMockHandler = (overrideResponse) => {
|
|
837
|
+
return http.get('*/v1/addons/:addonId/llm/keys', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
838
|
+
yield delay(0);
|
|
839
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
840
|
+
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
841
|
+
: getAddonsLlmKeysResponseMock()), { status: 200,
|
|
842
|
+
headers: { 'Content-Type': 'application/json' }
|
|
843
|
+
});
|
|
844
|
+
}));
|
|
845
|
+
};
|
|
846
|
+
export const getAddonsLlmKeysCreateMockHandler = (overrideResponse) => {
|
|
847
|
+
return http.post('*/v1/addons/:addonId/llm/keys', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
848
|
+
yield delay(0);
|
|
849
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
850
|
+
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
851
|
+
: getAddonsLlmKeysCreateResponseMock()), { status: 200,
|
|
852
|
+
headers: { 'Content-Type': 'application/json' }
|
|
853
|
+
});
|
|
854
|
+
}));
|
|
855
|
+
};
|
|
856
|
+
export const getAddonsLlmKeysDeleteMockHandler = (overrideResponse) => {
|
|
857
|
+
return http.delete('*/v1/addons/:addonId/llm/keys', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
858
|
+
yield delay(0);
|
|
859
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
860
|
+
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
861
|
+
: getAddonsLlmKeysDeleteResponseMock()), { status: 200,
|
|
862
|
+
headers: { 'Content-Type': 'application/json' }
|
|
863
|
+
});
|
|
864
|
+
}));
|
|
865
|
+
};
|
|
811
866
|
export const getMonarxAddonSealGenerationMockHandler = (overrideResponse) => {
|
|
812
867
|
return http.get('*/v1/addons/:addonId/monarx/generate_seal', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
813
868
|
yield delay(0);
|
|
@@ -3707,6 +3762,7 @@ export const getHostingUAPIMock = () => [
|
|
|
3707
3762
|
getAccountPublicKeyMockHandler(),
|
|
3708
3763
|
getAccountPublicKeyToggleMockHandler(),
|
|
3709
3764
|
getAccountPublicKeyDeleteMockHandler(),
|
|
3765
|
+
getAccountAddonListMockHandler(),
|
|
3710
3766
|
getCodeguardBackupListMockHandler(),
|
|
3711
3767
|
getCodeguardBackupCreateMockHandler(),
|
|
3712
3768
|
getCodeguardBackupDownloadMockHandler(),
|
|
@@ -3743,6 +3799,10 @@ export const getHostingUAPIMock = () => [
|
|
|
3743
3799
|
getAddonsCloudflareExternalNsCheckMockHandler(),
|
|
3744
3800
|
getAddonsInfoMockHandler(),
|
|
3745
3801
|
getAddonsJetpackValidateMockHandler(),
|
|
3802
|
+
getAddonsLlmBalanceMockHandler(),
|
|
3803
|
+
getAddonsLlmKeysMockHandler(),
|
|
3804
|
+
getAddonsLlmKeysCreateMockHandler(),
|
|
3805
|
+
getAddonsLlmKeysDeleteMockHandler(),
|
|
3746
3806
|
getMonarxAddonSealGenerationMockHandler(),
|
|
3747
3807
|
getMonarxAddonReportUrlMockHandler(),
|
|
3748
3808
|
getAddonsSpamexpertsDomainAssignMockHandler(),
|
package/src/index.schemas.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Hosting UAPI
|
|
5
5
|
* Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.2026.0
|
|
7
7
|
*/
|
|
8
8
|
export declare type SshKeyListV4200RowsItem = {
|
|
9
9
|
authorize?: boolean;
|
|
@@ -430,6 +430,12 @@ 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
|
+
};
|
|
433
439
|
/**
|
|
434
440
|
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
435
441
|
* @nullable
|
|
@@ -566,26 +572,9 @@ export declare type SitesDomainsV2200DomainsItem = {
|
|
|
566
572
|
*/
|
|
567
573
|
used_entri?: number | null;
|
|
568
574
|
};
|
|
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
|
};
|
|
578
|
-
export declare type SitesListV2200 = {
|
|
579
|
-
items?: SitesListV2200ItemsItem[];
|
|
580
|
-
/** page size */
|
|
581
|
-
limit?: number;
|
|
582
|
-
/** current page number */
|
|
583
|
-
page?: number;
|
|
584
|
-
/** total number of pages */
|
|
585
|
-
pages?: number;
|
|
586
|
-
/** total number of sites returned */
|
|
587
|
-
total?: number;
|
|
588
|
-
};
|
|
589
578
|
/**
|
|
590
579
|
* @nullable
|
|
591
580
|
*/
|
|
@@ -613,63 +602,6 @@ export declare type SitesListV2200ItemsItemStaging = {
|
|
|
613
602
|
/** A list of staging sites of the current site */
|
|
614
603
|
sites?: number[];
|
|
615
604
|
} | null;
|
|
616
|
-
export declare type SitesListV2200ItemsItemResourcesStorage = {
|
|
617
|
-
/** @nullable */
|
|
618
|
-
available?: number | null;
|
|
619
|
-
/** @nullable */
|
|
620
|
-
total?: number | null;
|
|
621
|
-
unit?: string;
|
|
622
|
-
/** @nullable */
|
|
623
|
-
used?: number | null;
|
|
624
|
-
};
|
|
625
|
-
export declare type SitesListV2200ItemsItemResources = {
|
|
626
|
-
storage?: SitesListV2200ItemsItemResourcesStorage;
|
|
627
|
-
/** @nullable */
|
|
628
|
-
workers?: number | null;
|
|
629
|
-
};
|
|
630
|
-
/**
|
|
631
|
-
* @nullable
|
|
632
|
-
*/
|
|
633
|
-
export declare type SitesListV2200ItemsItemPendingUrlData = {
|
|
634
|
-
/**
|
|
635
|
-
* The root domain name
|
|
636
|
-
* @nullable
|
|
637
|
-
*/
|
|
638
|
-
base_domain?: string | null;
|
|
639
|
-
/**
|
|
640
|
-
* The Fully Qualified Domain Name (FQDN)
|
|
641
|
-
* @nullable
|
|
642
|
-
*/
|
|
643
|
-
domain?: string | null;
|
|
644
|
-
/**
|
|
645
|
-
* The current pending_url's HAL Domain ID
|
|
646
|
-
* @nullable
|
|
647
|
-
*/
|
|
648
|
-
domain_id?: number | null;
|
|
649
|
-
/** @nullable */
|
|
650
|
-
error?: string | null;
|
|
651
|
-
/** Flag indicating whether the pending_url is temporary or not */
|
|
652
|
-
is_temp?: boolean;
|
|
653
|
-
/**
|
|
654
|
-
* Flag indicating whether the url_sync job has run out of attempts
|
|
655
|
-
* @nullable
|
|
656
|
-
*/
|
|
657
|
-
job_failed?: boolean | null;
|
|
658
|
-
/** @nullable */
|
|
659
|
-
stage?: string | null;
|
|
660
|
-
/**
|
|
661
|
-
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
662
|
-
* @nullable
|
|
663
|
-
*/
|
|
664
|
-
wp_session?: string | null;
|
|
665
|
-
} | null;
|
|
666
|
-
/**
|
|
667
|
-
* Job ids for the site
|
|
668
|
-
* @nullable
|
|
669
|
-
*/
|
|
670
|
-
export declare type SitesListV2200ItemsItemJobs = {
|
|
671
|
-
[key: string]: unknown;
|
|
672
|
-
} | null;
|
|
673
605
|
export declare type SitesListV2200ItemsItem = {
|
|
674
606
|
/** @nullable */
|
|
675
607
|
account_back_ref?: string | null;
|
|
@@ -748,6 +680,74 @@ export declare type SitesListV2200ItemsItem = {
|
|
|
748
680
|
*/
|
|
749
681
|
version_ptr?: string | null;
|
|
750
682
|
};
|
|
683
|
+
export declare type SitesListV2200 = {
|
|
684
|
+
items?: SitesListV2200ItemsItem[];
|
|
685
|
+
/** page size */
|
|
686
|
+
limit?: number;
|
|
687
|
+
/** current page number */
|
|
688
|
+
page?: number;
|
|
689
|
+
/** total number of pages */
|
|
690
|
+
pages?: number;
|
|
691
|
+
/** total number of sites returned */
|
|
692
|
+
total?: number;
|
|
693
|
+
};
|
|
694
|
+
export declare type SitesListV2200ItemsItemResourcesStorage = {
|
|
695
|
+
/** @nullable */
|
|
696
|
+
available?: number | null;
|
|
697
|
+
/** @nullable */
|
|
698
|
+
total?: number | null;
|
|
699
|
+
unit?: string;
|
|
700
|
+
/** @nullable */
|
|
701
|
+
used?: number | null;
|
|
702
|
+
};
|
|
703
|
+
export declare type SitesListV2200ItemsItemResources = {
|
|
704
|
+
storage?: SitesListV2200ItemsItemResourcesStorage;
|
|
705
|
+
/** @nullable */
|
|
706
|
+
workers?: number | null;
|
|
707
|
+
};
|
|
708
|
+
/**
|
|
709
|
+
* @nullable
|
|
710
|
+
*/
|
|
711
|
+
export declare type SitesListV2200ItemsItemPendingUrlData = {
|
|
712
|
+
/**
|
|
713
|
+
* The root domain name
|
|
714
|
+
* @nullable
|
|
715
|
+
*/
|
|
716
|
+
base_domain?: string | null;
|
|
717
|
+
/**
|
|
718
|
+
* The Fully Qualified Domain Name (FQDN)
|
|
719
|
+
* @nullable
|
|
720
|
+
*/
|
|
721
|
+
domain?: string | null;
|
|
722
|
+
/**
|
|
723
|
+
* The current pending_url's HAL Domain ID
|
|
724
|
+
* @nullable
|
|
725
|
+
*/
|
|
726
|
+
domain_id?: number | null;
|
|
727
|
+
/** @nullable */
|
|
728
|
+
error?: string | null;
|
|
729
|
+
/** Flag indicating whether the pending_url is temporary or not */
|
|
730
|
+
is_temp?: boolean;
|
|
731
|
+
/**
|
|
732
|
+
* Flag indicating whether the url_sync job has run out of attempts
|
|
733
|
+
* @nullable
|
|
734
|
+
*/
|
|
735
|
+
job_failed?: boolean | null;
|
|
736
|
+
/** @nullable */
|
|
737
|
+
stage?: string | null;
|
|
738
|
+
/**
|
|
739
|
+
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
740
|
+
* @nullable
|
|
741
|
+
*/
|
|
742
|
+
wp_session?: string | null;
|
|
743
|
+
} | null;
|
|
744
|
+
/**
|
|
745
|
+
* Job ids for the site
|
|
746
|
+
* @nullable
|
|
747
|
+
*/
|
|
748
|
+
export declare type SitesListV2200ItemsItemJobs = {
|
|
749
|
+
[key: string]: unknown;
|
|
750
|
+
} | null;
|
|
751
751
|
export declare type SshKeyV2200 = {
|
|
752
752
|
deleted?: number;
|
|
753
753
|
key_name?: string;
|
|
@@ -1119,12 +1119,6 @@ export declare type HostingDomainsUnassignV2Body = {
|
|
|
1119
1119
|
/** The site id to be unassigned */
|
|
1120
1120
|
site_id: number;
|
|
1121
1121
|
};
|
|
1122
|
-
export declare type HostingDomainsV2200 = {
|
|
1123
|
-
domains: HostingDomainsV2200DomainsItem[];
|
|
1124
|
-
limit?: number;
|
|
1125
|
-
page?: number;
|
|
1126
|
-
total?: number;
|
|
1127
|
-
};
|
|
1128
1122
|
/**
|
|
1129
1123
|
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
1130
1124
|
* @nullable
|
|
@@ -1261,6 +1255,12 @@ export declare type HostingDomainsV2200DomainsItem = {
|
|
|
1261
1255
|
*/
|
|
1262
1256
|
used_entri?: number | null;
|
|
1263
1257
|
};
|
|
1258
|
+
export declare type HostingDomainsV2200 = {
|
|
1259
|
+
domains: HostingDomainsV2200DomainsItem[];
|
|
1260
|
+
limit?: number;
|
|
1261
|
+
page?: number;
|
|
1262
|
+
total?: number;
|
|
1263
|
+
};
|
|
1264
1264
|
export declare type HostingDomainsV2TypesItem = typeof HostingDomainsV2TypesItem[keyof typeof HostingDomainsV2TypesItem];
|
|
1265
1265
|
export declare const HostingDomainsV2TypesItem: {
|
|
1266
1266
|
readonly addon: "addon";
|
|
@@ -1478,9 +1478,6 @@ export declare type WaldaiSso200 = {
|
|
|
1478
1478
|
/** SSO redirect URL for WaldAI dashboard */
|
|
1479
1479
|
redirect_url: string;
|
|
1480
1480
|
};
|
|
1481
|
-
export declare type UserSpamexperts200 = {
|
|
1482
|
-
rows: UserSpamexperts200RowsItem[];
|
|
1483
|
-
};
|
|
1484
1481
|
export declare type UserSpamexperts200RowsItemMeta = {
|
|
1485
1482
|
/** @nullable */
|
|
1486
1483
|
domain?: string | null;
|
|
@@ -1502,6 +1499,9 @@ export declare type UserSpamexperts200RowsItem = {
|
|
|
1502
1499
|
meta: UserSpamexperts200RowsItemMeta;
|
|
1503
1500
|
status: string;
|
|
1504
1501
|
};
|
|
1502
|
+
export declare type UserSpamexperts200 = {
|
|
1503
|
+
rows: UserSpamexperts200RowsItem[];
|
|
1504
|
+
};
|
|
1505
1505
|
export declare type UserProservices200 = {
|
|
1506
1506
|
/** Pro-services products from FG */
|
|
1507
1507
|
products?: UserProservices200ProductsItem[];
|
|
@@ -3324,6 +3324,10 @@ export declare type SitesAtomicMetrics200Views = {
|
|
|
3324
3324
|
last_n_days?: SitesAtomicMetrics200ViewsLastNDaysItem[];
|
|
3325
3325
|
total_hits?: number;
|
|
3326
3326
|
};
|
|
3327
|
+
export declare type SitesAtomicMetrics200 = {
|
|
3328
|
+
raw?: SitesAtomicMetrics200Raw;
|
|
3329
|
+
views?: SitesAtomicMetrics200Views;
|
|
3330
|
+
};
|
|
3327
3331
|
export declare type SitesAtomicMetrics200RawPeriodsItemDimension = {
|
|
3328
3332
|
[key: string]: string | number | number;
|
|
3329
3333
|
};
|
|
@@ -3341,10 +3345,6 @@ export declare type SitesAtomicMetrics200Raw = {
|
|
|
3341
3345
|
periods?: SitesAtomicMetrics200RawPeriodsItem[];
|
|
3342
3346
|
resolution?: number;
|
|
3343
3347
|
};
|
|
3344
|
-
export declare type SitesAtomicMetrics200 = {
|
|
3345
|
-
raw?: SitesAtomicMetrics200Raw;
|
|
3346
|
-
views?: SitesAtomicMetrics200Views;
|
|
3347
|
-
};
|
|
3348
3348
|
export declare type SitesAtomicMetricsParams = {
|
|
3349
3349
|
metric?: string[];
|
|
3350
3350
|
dimension?: string[];
|
|
@@ -3651,6 +3651,16 @@ export declare type PublicRegions200 = {
|
|
|
3651
3651
|
/** List of regions */
|
|
3652
3652
|
rows?: PublicRegions200RowsItem[];
|
|
3653
3653
|
};
|
|
3654
|
+
export declare type PublicImages200 = {
|
|
3655
|
+
/** Limit the number of images returned */
|
|
3656
|
+
limit?: PublicImages200Limit;
|
|
3657
|
+
/** Number of images returned */
|
|
3658
|
+
n_rows?: PublicImages200NRows;
|
|
3659
|
+
/** Page number */
|
|
3660
|
+
page?: PublicImages200Page;
|
|
3661
|
+
/** List of images */
|
|
3662
|
+
rows?: PublicImages200RowsItem[];
|
|
3663
|
+
};
|
|
3654
3664
|
/**
|
|
3655
3665
|
* Links
|
|
3656
3666
|
* @nullable
|
|
@@ -3672,6 +3682,25 @@ export declare type PublicImages200RowsItemLinks = {
|
|
|
3672
3682
|
*/
|
|
3673
3683
|
forums?: string | null;
|
|
3674
3684
|
} | null;
|
|
3685
|
+
/**
|
|
3686
|
+
* Image ID
|
|
3687
|
+
*/
|
|
3688
|
+
export declare type PublicImages200RowsItemId = string | number;
|
|
3689
|
+
/**
|
|
3690
|
+
* Docker default
|
|
3691
|
+
* @nullable
|
|
3692
|
+
*/
|
|
3693
|
+
export declare type PublicImages200RowsItemDockerDefault = string | number | null;
|
|
3694
|
+
/**
|
|
3695
|
+
* Current
|
|
3696
|
+
* @nullable
|
|
3697
|
+
*/
|
|
3698
|
+
export declare type PublicImages200RowsItemCurrent = string | number | null;
|
|
3699
|
+
/**
|
|
3700
|
+
* Cpanel default
|
|
3701
|
+
* @nullable
|
|
3702
|
+
*/
|
|
3703
|
+
export declare type PublicImages200RowsItemCpanelDefault = string | number | null;
|
|
3675
3704
|
export declare type PublicImages200RowsItem = {
|
|
3676
3705
|
/**
|
|
3677
3706
|
* Whether the image supports third-party AI vendor API keys
|
|
@@ -3772,35 +3801,6 @@ export declare type PublicImages200RowsItem = {
|
|
|
3772
3801
|
*/
|
|
3773
3802
|
user_image?: string | null;
|
|
3774
3803
|
};
|
|
3775
|
-
export declare type PublicImages200 = {
|
|
3776
|
-
/** Limit the number of images returned */
|
|
3777
|
-
limit?: PublicImages200Limit;
|
|
3778
|
-
/** Number of images returned */
|
|
3779
|
-
n_rows?: PublicImages200NRows;
|
|
3780
|
-
/** Page number */
|
|
3781
|
-
page?: PublicImages200Page;
|
|
3782
|
-
/** List of images */
|
|
3783
|
-
rows?: PublicImages200RowsItem[];
|
|
3784
|
-
};
|
|
3785
|
-
/**
|
|
3786
|
-
* Image ID
|
|
3787
|
-
*/
|
|
3788
|
-
export declare type PublicImages200RowsItemId = string | number;
|
|
3789
|
-
/**
|
|
3790
|
-
* Docker default
|
|
3791
|
-
* @nullable
|
|
3792
|
-
*/
|
|
3793
|
-
export declare type PublicImages200RowsItemDockerDefault = string | number | null;
|
|
3794
|
-
/**
|
|
3795
|
-
* Current
|
|
3796
|
-
* @nullable
|
|
3797
|
-
*/
|
|
3798
|
-
export declare type PublicImages200RowsItemCurrent = string | number | null;
|
|
3799
|
-
/**
|
|
3800
|
-
* Cpanel default
|
|
3801
|
-
* @nullable
|
|
3802
|
-
*/
|
|
3803
|
-
export declare type PublicImages200RowsItemCpanelDefault = string | number | null;
|
|
3804
3804
|
/**
|
|
3805
3805
|
* Page number
|
|
3806
3806
|
*/
|
|
@@ -4178,9 +4178,6 @@ export declare type HostingRedirects200Item = {
|
|
|
4178
4178
|
url?: string;
|
|
4179
4179
|
wildcard?: boolean;
|
|
4180
4180
|
};
|
|
4181
|
-
export declare type ProductLicenseDetails200 = {
|
|
4182
|
-
wpsolution?: ProductLicenseDetails200Wpsolution;
|
|
4183
|
-
};
|
|
4184
4181
|
export declare type ProductLicenseDetails200WpsolutionCreatorItem = {
|
|
4185
4182
|
expirationDate?: string;
|
|
4186
4183
|
prodInstId?: string;
|
|
@@ -4194,6 +4191,9 @@ export declare type ProductLicenseDetails200Wpsolution = {
|
|
|
4194
4191
|
creator?: ProductLicenseDetails200WpsolutionCreatorItem[];
|
|
4195
4192
|
total?: number;
|
|
4196
4193
|
};
|
|
4194
|
+
export declare type ProductLicenseDetails200 = {
|
|
4195
|
+
wpsolution?: ProductLicenseDetails200Wpsolution;
|
|
4196
|
+
};
|
|
4197
4197
|
export declare type ProductLicenseDetailsProductName = typeof ProductLicenseDetailsProductName[keyof typeof ProductLicenseDetailsProductName];
|
|
4198
4198
|
export declare const ProductLicenseDetailsProductName: {
|
|
4199
4199
|
readonly wpsolution: "wpsolution";
|
|
@@ -6463,6 +6463,28 @@ export declare type ActivityLog200 = {
|
|
|
6463
6463
|
export declare type ActivityLogParams = {
|
|
6464
6464
|
days?: number;
|
|
6465
6465
|
};
|
|
6466
|
+
export declare type HostingAccount200 = {
|
|
6467
|
+
account_id?: string;
|
|
6468
|
+
account_limits?: HostingAccount200AccountLimits;
|
|
6469
|
+
/** The timestamp that the hosting addon was created */
|
|
6470
|
+
addon_date_added?: string;
|
|
6471
|
+
advanced?: boolean;
|
|
6472
|
+
billing?: HostingAccount200Billing;
|
|
6473
|
+
brand?: string;
|
|
6474
|
+
id?: string;
|
|
6475
|
+
panel?: string;
|
|
6476
|
+
plan_key?: string;
|
|
6477
|
+
platform?: string;
|
|
6478
|
+
/** @nullable */
|
|
6479
|
+
resources?: HostingAccount200Resources;
|
|
6480
|
+
/** @nullable */
|
|
6481
|
+
server_status?: string | null;
|
|
6482
|
+
/** @nullable */
|
|
6483
|
+
ssh_hostname?: string | null;
|
|
6484
|
+
status?: string;
|
|
6485
|
+
type?: string;
|
|
6486
|
+
username?: string;
|
|
6487
|
+
};
|
|
6466
6488
|
export declare type HostingAccount200ResourcesWorkers = {
|
|
6467
6489
|
/** @nullable */
|
|
6468
6490
|
available?: number | null;
|
|
@@ -6547,28 +6569,6 @@ export declare type HostingAccount200AccountLimits = {
|
|
|
6547
6569
|
*/
|
|
6548
6570
|
sites?: number | null;
|
|
6549
6571
|
};
|
|
6550
|
-
export declare type HostingAccount200 = {
|
|
6551
|
-
account_id?: string;
|
|
6552
|
-
account_limits?: HostingAccount200AccountLimits;
|
|
6553
|
-
/** The timestamp that the hosting addon was created */
|
|
6554
|
-
addon_date_added?: string;
|
|
6555
|
-
advanced?: boolean;
|
|
6556
|
-
billing?: HostingAccount200Billing;
|
|
6557
|
-
brand?: string;
|
|
6558
|
-
id?: string;
|
|
6559
|
-
panel?: string;
|
|
6560
|
-
plan_key?: string;
|
|
6561
|
-
platform?: string;
|
|
6562
|
-
/** @nullable */
|
|
6563
|
-
resources?: HostingAccount200Resources;
|
|
6564
|
-
/** @nullable */
|
|
6565
|
-
server_status?: string | null;
|
|
6566
|
-
/** @nullable */
|
|
6567
|
-
ssh_hostname?: string | null;
|
|
6568
|
-
status?: string;
|
|
6569
|
-
type?: string;
|
|
6570
|
-
username?: string;
|
|
6571
|
-
};
|
|
6572
6572
|
export declare type DomainZoneeditorUrl200 = {
|
|
6573
6573
|
url: string;
|
|
6574
6574
|
};
|
|
@@ -6662,6 +6662,39 @@ export declare type DomainHealth200Context = {
|
|
|
6662
6662
|
domain_id?: string;
|
|
6663
6663
|
parent_zone_domain?: string;
|
|
6664
6664
|
} | null;
|
|
6665
|
+
export declare type DomainHealth200ChecksItemObserved = {
|
|
6666
|
+
cpanel?: string[];
|
|
6667
|
+
hosting_zone?: string[];
|
|
6668
|
+
internal_dns?: string[];
|
|
6669
|
+
public?: string[];
|
|
6670
|
+
public_dns?: string[];
|
|
6671
|
+
/** @nullable */
|
|
6672
|
+
registrar?: string[] | null;
|
|
6673
|
+
xns?: string[];
|
|
6674
|
+
};
|
|
6675
|
+
export declare type DomainHealth200ChecksItem = {
|
|
6676
|
+
cname_target?: string;
|
|
6677
|
+
code?: string;
|
|
6678
|
+
expected?: string[];
|
|
6679
|
+
explanation?: string;
|
|
6680
|
+
hostname?: string;
|
|
6681
|
+
layers_agree?: number;
|
|
6682
|
+
observed?: DomainHealth200ChecksItemObserved;
|
|
6683
|
+
reason?: string;
|
|
6684
|
+
record_type?: string;
|
|
6685
|
+
severity?: string;
|
|
6686
|
+
status?: string;
|
|
6687
|
+
support_category?: string;
|
|
6688
|
+
};
|
|
6689
|
+
/**
|
|
6690
|
+
* @nullable
|
|
6691
|
+
*/
|
|
6692
|
+
export declare type DomainHealth200Cache = {
|
|
6693
|
+
cached_at?: string;
|
|
6694
|
+
expires_at?: string;
|
|
6695
|
+
hit?: number;
|
|
6696
|
+
stale?: number;
|
|
6697
|
+
} | null;
|
|
6665
6698
|
export declare type DomainHealth200 = {
|
|
6666
6699
|
/**
|
|
6667
6700
|
* The alignment status: aligned , misaligned , partial , propagating , unknown , error
|
|
@@ -6708,39 +6741,6 @@ export declare type DomainHealth200 = {
|
|
|
6708
6741
|
*/
|
|
6709
6742
|
success?: number | null;
|
|
6710
6743
|
};
|
|
6711
|
-
export declare type DomainHealth200ChecksItemObserved = {
|
|
6712
|
-
cpanel?: string[];
|
|
6713
|
-
hosting_zone?: string[];
|
|
6714
|
-
internal_dns?: string[];
|
|
6715
|
-
public?: string[];
|
|
6716
|
-
public_dns?: string[];
|
|
6717
|
-
/** @nullable */
|
|
6718
|
-
registrar?: string[] | null;
|
|
6719
|
-
xns?: string[];
|
|
6720
|
-
};
|
|
6721
|
-
export declare type DomainHealth200ChecksItem = {
|
|
6722
|
-
cname_target?: string;
|
|
6723
|
-
code?: string;
|
|
6724
|
-
expected?: string[];
|
|
6725
|
-
explanation?: string;
|
|
6726
|
-
hostname?: string;
|
|
6727
|
-
layers_agree?: number;
|
|
6728
|
-
observed?: DomainHealth200ChecksItemObserved;
|
|
6729
|
-
reason?: string;
|
|
6730
|
-
record_type?: string;
|
|
6731
|
-
severity?: string;
|
|
6732
|
-
status?: string;
|
|
6733
|
-
support_category?: string;
|
|
6734
|
-
};
|
|
6735
|
-
/**
|
|
6736
|
-
* @nullable
|
|
6737
|
-
*/
|
|
6738
|
-
export declare type DomainHealth200Cache = {
|
|
6739
|
-
cached_at?: string;
|
|
6740
|
-
expires_at?: string;
|
|
6741
|
-
hit?: number;
|
|
6742
|
-
stale?: number;
|
|
6743
|
-
} | null;
|
|
6744
6744
|
export declare type DomainHealthCacheMode = typeof DomainHealthCacheMode[keyof typeof DomainHealthCacheMode];
|
|
6745
6745
|
export declare const DomainHealthCacheMode: {
|
|
6746
6746
|
readonly auto: "auto";
|
|
@@ -7255,6 +7255,59 @@ export declare type MonarxAddonSealGenerationParams = {
|
|
|
7255
7255
|
*/
|
|
7256
7256
|
domain_name?: string;
|
|
7257
7257
|
};
|
|
7258
|
+
export declare type AddonsLlmKeysDelete200 = {
|
|
7259
|
+
[key: string]: unknown;
|
|
7260
|
+
};
|
|
7261
|
+
export declare type AddonsLlmKeysDeleteBody = {
|
|
7262
|
+
/** the name of the key to be deleted */
|
|
7263
|
+
key_name: string;
|
|
7264
|
+
};
|
|
7265
|
+
export declare type AddonsLlmKeysCreate200 = {
|
|
7266
|
+
/** URL to be used in conjunction with a key to communicate with the LLM Gateway */
|
|
7267
|
+
inference_base_url?: string;
|
|
7268
|
+
/** The key that was created */
|
|
7269
|
+
virtual_key?: string;
|
|
7270
|
+
};
|
|
7271
|
+
export declare type AddonsLlmKeysCreateBody = {
|
|
7272
|
+
/** the name of the key to be added */
|
|
7273
|
+
key_name: string;
|
|
7274
|
+
};
|
|
7275
|
+
export declare type AddonsLlmKeys200 = {
|
|
7276
|
+
/** URL to be used in conjunction with a key to communicate with the LLM Gateway */
|
|
7277
|
+
inference_base_url?: string;
|
|
7278
|
+
keys?: AddonsLlmKeyResponseModel[];
|
|
7279
|
+
/** page size */
|
|
7280
|
+
limit?: number;
|
|
7281
|
+
/** total number of pages */
|
|
7282
|
+
n_pages?: number;
|
|
7283
|
+
/** total number of keys */
|
|
7284
|
+
n_rows?: number;
|
|
7285
|
+
/** current page number */
|
|
7286
|
+
page?: number;
|
|
7287
|
+
};
|
|
7288
|
+
export declare type AddonsLlmKeysParams = {
|
|
7289
|
+
/**
|
|
7290
|
+
* How many results to limit each page of responses to
|
|
7291
|
+
*/
|
|
7292
|
+
limit?: number;
|
|
7293
|
+
/**
|
|
7294
|
+
* Which page to query results for
|
|
7295
|
+
*/
|
|
7296
|
+
page?: number;
|
|
7297
|
+
/**
|
|
7298
|
+
* The name of the specific key to query for
|
|
7299
|
+
*/
|
|
7300
|
+
key_name?: string;
|
|
7301
|
+
};
|
|
7302
|
+
export declare type AddonsLlmBalance200 = {
|
|
7303
|
+
/** Amount of credits available in the LLM account tied to the addon */
|
|
7304
|
+
credit_balance?: number;
|
|
7305
|
+
/**
|
|
7306
|
+
* Timestamp of when the credits will expire
|
|
7307
|
+
* @nullable
|
|
7308
|
+
*/
|
|
7309
|
+
credit_expires_at?: string | null;
|
|
7310
|
+
};
|
|
7258
7311
|
export declare type AddonsJetpackValidate200 = {
|
|
7259
7312
|
is_connected?: boolean;
|
|
7260
7313
|
};
|
|
@@ -7502,10 +7555,6 @@ export declare type BackupCreateOndemandV1Body = {
|
|
|
7502
7555
|
/** Snapshot date */
|
|
7503
7556
|
snapshot_date: number;
|
|
7504
7557
|
};
|
|
7505
|
-
export declare type BackupMeta200 = {
|
|
7506
|
-
account?: BackupMeta200Account;
|
|
7507
|
-
site?: BackupMeta200Site;
|
|
7508
|
-
};
|
|
7509
7558
|
/**
|
|
7510
7559
|
* Backup plan type associated with restore consent info.
|
|
7511
7560
|
* @nullable
|
|
@@ -7535,6 +7584,20 @@ export declare type BackupMeta200SiteCbsRestoreConsentInfo = {
|
|
|
7535
7584
|
/** @nullable */
|
|
7536
7585
|
restore_status?: string | null;
|
|
7537
7586
|
} | null;
|
|
7587
|
+
export declare type BackupMeta200Site = {
|
|
7588
|
+
/** @nullable */
|
|
7589
|
+
cbs_backup_delete_data?: BackupMeta200SiteCbsBackupDeleteData;
|
|
7590
|
+
/** @nullable */
|
|
7591
|
+
cbs_downloadables?: BackupMeta200SiteCbsDownloadablesItem[] | null;
|
|
7592
|
+
/** @nullable */
|
|
7593
|
+
cbs_restore_consent_info?: BackupMeta200SiteCbsRestoreConsentInfo;
|
|
7594
|
+
/** @nullable */
|
|
7595
|
+
restored_from_backup_id?: string | null;
|
|
7596
|
+
};
|
|
7597
|
+
export declare type BackupMeta200 = {
|
|
7598
|
+
account?: BackupMeta200Account;
|
|
7599
|
+
site?: BackupMeta200Site;
|
|
7600
|
+
};
|
|
7538
7601
|
/**
|
|
7539
7602
|
* Backup plan type for the downloadable item.
|
|
7540
7603
|
* @nullable
|
|
@@ -7572,6 +7635,12 @@ export declare const BackupMeta200SiteCbsBackupDeleteDataPlanType: {
|
|
|
7572
7635
|
readonly free: "free";
|
|
7573
7636
|
readonly premium: "premium";
|
|
7574
7637
|
};
|
|
7638
|
+
/**
|
|
7639
|
+
* @nullable
|
|
7640
|
+
*/
|
|
7641
|
+
export declare type BackupMeta200SiteCbsBackupDeleteDataBackupsDeletionStatus = {
|
|
7642
|
+
[key: string]: unknown;
|
|
7643
|
+
} | null;
|
|
7575
7644
|
/**
|
|
7576
7645
|
* @nullable
|
|
7577
7646
|
*/
|
|
@@ -7586,22 +7655,14 @@ export declare type BackupMeta200SiteCbsBackupDeleteData = {
|
|
|
7586
7655
|
*/
|
|
7587
7656
|
plan_type?: BackupMeta200SiteCbsBackupDeleteDataPlanType;
|
|
7588
7657
|
} | null;
|
|
7589
|
-
export declare type
|
|
7590
|
-
/** @nullable */
|
|
7591
|
-
cbs_backup_delete_data?: BackupMeta200SiteCbsBackupDeleteData;
|
|
7658
|
+
export declare type BackupMeta200Account = {
|
|
7592
7659
|
/** @nullable */
|
|
7593
|
-
cbs_downloadables?:
|
|
7660
|
+
cbs_downloadables?: BackupMeta200AccountCbsDownloadablesItem[] | null;
|
|
7594
7661
|
/** @nullable */
|
|
7595
|
-
|
|
7662
|
+
cbs_event_processing?: BackupMeta200AccountCbsEventProcessing;
|
|
7596
7663
|
/** @nullable */
|
|
7597
|
-
|
|
7664
|
+
cbs_last_restore_timestamp?: string | null;
|
|
7598
7665
|
};
|
|
7599
|
-
/**
|
|
7600
|
-
* @nullable
|
|
7601
|
-
*/
|
|
7602
|
-
export declare type BackupMeta200SiteCbsBackupDeleteDataBackupsDeletionStatus = {
|
|
7603
|
-
[key: string]: unknown;
|
|
7604
|
-
} | null;
|
|
7605
7666
|
/**
|
|
7606
7667
|
* Backup plan type for the current account event processing context.
|
|
7607
7668
|
* @nullable
|
|
@@ -7645,14 +7706,6 @@ export declare type BackupMeta200AccountCbsDownloadablesItem = {
|
|
|
7645
7706
|
/** @nullable */
|
|
7646
7707
|
url?: string | null;
|
|
7647
7708
|
};
|
|
7648
|
-
export declare type BackupMeta200Account = {
|
|
7649
|
-
/** @nullable */
|
|
7650
|
-
cbs_downloadables?: BackupMeta200AccountCbsDownloadablesItem[] | null;
|
|
7651
|
-
/** @nullable */
|
|
7652
|
-
cbs_event_processing?: BackupMeta200AccountCbsEventProcessing;
|
|
7653
|
-
/** @nullable */
|
|
7654
|
-
cbs_last_restore_timestamp?: string | null;
|
|
7655
|
-
};
|
|
7656
7709
|
export declare type BackupMetaParams = {
|
|
7657
7710
|
site_id?: number;
|
|
7658
7711
|
};
|
|
@@ -8042,6 +8095,37 @@ export declare type CodeguardBackupList200 = {
|
|
|
8042
8095
|
export declare type CodeguardBackupListParams = {
|
|
8043
8096
|
website_id: number;
|
|
8044
8097
|
};
|
|
8098
|
+
export declare type AccountAddonList200 = {
|
|
8099
|
+
addons?: AccountAddonResponseModel[];
|
|
8100
|
+
/** page size */
|
|
8101
|
+
limit?: number;
|
|
8102
|
+
/** total number of keys */
|
|
8103
|
+
n_rows?: number;
|
|
8104
|
+
/** current page number */
|
|
8105
|
+
page?: number;
|
|
8106
|
+
};
|
|
8107
|
+
export declare type AccountAddonListParams = {
|
|
8108
|
+
/**
|
|
8109
|
+
* How many results to limit each page of responses to
|
|
8110
|
+
*/
|
|
8111
|
+
limit?: number;
|
|
8112
|
+
/**
|
|
8113
|
+
* Which page to query results for
|
|
8114
|
+
*/
|
|
8115
|
+
page?: number;
|
|
8116
|
+
/**
|
|
8117
|
+
* Flag to query only for tenant-level addons, disregarding hosting-level addons
|
|
8118
|
+
*/
|
|
8119
|
+
tenant_only?: boolean;
|
|
8120
|
+
/**
|
|
8121
|
+
* A list of types to query for - e.g. llm
|
|
8122
|
+
*/
|
|
8123
|
+
type?: string[];
|
|
8124
|
+
/**
|
|
8125
|
+
* A list of subtypes to query for - e.g. credits
|
|
8126
|
+
*/
|
|
8127
|
+
subtype?: string[];
|
|
8128
|
+
};
|
|
8045
8129
|
export declare type AccountPublicKeyDelete404 = {
|
|
8046
8130
|
error?: string;
|
|
8047
8131
|
};
|
|
@@ -8500,6 +8584,25 @@ export declare type AccountEventListParams = {
|
|
|
8500
8584
|
*/
|
|
8501
8585
|
date_last?: string;
|
|
8502
8586
|
};
|
|
8587
|
+
export interface AccountAddonResponseModel {
|
|
8588
|
+
/**
|
|
8589
|
+
* HAL addon back reference
|
|
8590
|
+
* @nullable
|
|
8591
|
+
*/
|
|
8592
|
+
back_reference?: string | null;
|
|
8593
|
+
/** Timestamp of when the addon was created */
|
|
8594
|
+
date_added?: string;
|
|
8595
|
+
/** HAL addon ID */
|
|
8596
|
+
id?: number;
|
|
8597
|
+
/** HAL addon status */
|
|
8598
|
+
status?: string;
|
|
8599
|
+
/** HAL addon subtype */
|
|
8600
|
+
subtype?: string;
|
|
8601
|
+
/** HAL tenant ID */
|
|
8602
|
+
tenant_id?: number;
|
|
8603
|
+
/** HAL addon type */
|
|
8604
|
+
type?: string;
|
|
8605
|
+
}
|
|
8503
8606
|
export interface AddonWorkflowListItem {
|
|
8504
8607
|
/** Whether the workflow has completed all stages */
|
|
8505
8608
|
is_completed?: boolean;
|
|
@@ -8557,6 +8660,19 @@ export interface BackupNotificationsEmail {
|
|
|
8557
8660
|
/** Notify on successful backups */
|
|
8558
8661
|
successful_backups: BackupNotificationsEmailSuccessfulBackups;
|
|
8559
8662
|
}
|
|
8663
|
+
export interface AddonsLlmKeyResponseModel {
|
|
8664
|
+
/** Timestamp of when the key was created */
|
|
8665
|
+
created_at?: string;
|
|
8666
|
+
/** The masked representation of the key */
|
|
8667
|
+
key_alias?: string;
|
|
8668
|
+
/** The name of the key */
|
|
8669
|
+
key_name?: string;
|
|
8670
|
+
/**
|
|
8671
|
+
* Timestamp of when the key was last used
|
|
8672
|
+
* @nullable
|
|
8673
|
+
*/
|
|
8674
|
+
last_used_at?: string | null;
|
|
8675
|
+
}
|
|
8560
8676
|
/**
|
|
8561
8677
|
* Visual severity level used by Account Manager to style the banner.
|
|
8562
8678
|
*/
|