@newfold/huapi-js 1.897.0 → 1.905.0-alpha.2

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/src/index.d.ts CHANGED
@@ -1,14 +1,7 @@
1
- /**
2
- * Generated by orval v6.12.1 🍺
3
- * Do not edit manually.
4
- * Hosting UAPI
5
- * Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
6
- * OpenAPI spec version: 1.897.0
7
- */
1
+ import type { QueryKey, UseInfiniteQueryOptions, UseInfiniteQueryResult, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
8
2
  import axios from 'axios';
9
- import type { AxiosRequestConfig, AxiosResponse, AxiosError } from 'axios';
10
- import type { UseQueryOptions, UseInfiniteQueryOptions, UseMutationOptions, UseQueryResult, UseInfiniteQueryResult, QueryKey } from '@tanstack/react-query';
11
- import type { AccountHostingList200, CodeguardBackupList200, CodeguardBackupListParams, CodeguardBackupCreate200, CodeguardBackupCreateBody, CodeguardBackupDownload200, CodeguardBackupDownloadBody, CodeguardBackupRestore200, CodeguardBackupRestoreBody, CodeguardDatabaseList200, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupListParams, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupCreateBody, CodeguardDatabaseBackupRestore200, CodeguardDatabaseBackupRestoreBody, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteList200, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupListParams, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupCreateBody, CodeguardWebsiteBackupRestore200, CodeguardWebsiteBackupRestoreBody, AddonsSitelockSso200, AddonsCloudflare200, AddonsInfo200, AddonsSpamexpertsSso200, WebzaiSso200, WeeblySso200, DomainInfo200, DomainUnassign200, HostingAccount200, HostingAddons200, HostingAddonsParams, HostingAdvancedServer200, HostingAdvancedServerStatus200, HostingAdvancedServerStatusBody, HostingAdvancedPassword200, HostingAdvancedPasswordBody, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingCapabilities200, AddonCloudflare200, AddonCloudflareBody, ListCrons200, AddCron200, AddCron400, AddCronBody, UpdateCron200, UpdateCronBody, Cron200, CronBody, DbAdd200, DbAddBody, Db200, DbBody, DbList200, DbUsage200, DbUserPrivsGet200, DbUserPrivsGetParams, DbUserAdd200, DbUserAddBody, DbUserDelete200, DbUserDeleteBody, DbUserList200, Domains200, DomainsParams, HostingDomainsUnassign200, HostingDomainsUnassignBody, HostingEcommerceInfo200, HostingFtpList200, HostingFtpAdd200, HostingFtpAddBody, HostingFtpUpdate200, HostingFtpUpdateBody, HostingFtp200, HostingFtpBody, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingLead400, HostingLeadParams, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsBody, HostingMigrationsCheck200, HostingMigrationsCheckParams, HostingMigrationsEvent200, HostingMigrationsEventBody, HostingMigrationInfo200, HostingMigrationInfoParams, HostingMigrationSiteScanStatus200, HostingMigrationSiteScanStatusParams, HostingNameservers200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingOnboardingDataUpdateBody, HostingResellerSsoWhm200, HostingShellToggle200, HostingShellToggleBody, HostingShellInfo200, HostingSiteAdd200, HostingSiteAddBody, SitesBatch200, SitesBatchBody, HostingSshInfo200, SshKeyFetch200, SshKeyFetchParams, SshKeyImport200, SshKeyImportBody, SshKeyList200, SshKey200, SshKeyBody, SshKeyGenerate200, SshKeyGenerateBody, Sso200, SsoParams, SitesList200, SitesInfo200, SiteUpdate200, SiteUpdate400, SiteUpdateBody, Site200, SitesAutoupdatesResponse, SitesAutoupdatesUpdateBody, SitesBackups200, SitesHasBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, JetpackBackupStatus200, BackupsJetpackBackup200, SiteAddonCloudflare200, SiteAddonCloudflare400, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDnsParams, SitesDomain200, SitesDomainParams, SitesDomainUrl200, SitesDomainUrlBody, SitesDomainsCreate200, SitesDomainsCreateBody, SitesAccessLogs200, SitesAccessLogsParams, SitesAccessLogsDownloadParams, SitesErrorLogs200, SitesErrorLogsParams, SitesErrorLogsDownloadParams, SiteMalwareStatus200, SitePendingDomainDelete200, SitesPerformanceCachepurge200, SitesPerformanceCachepurgeBody, SitesPerformanceEdgecache200, SitesPerformanceEdgecacheBody, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelBody, SitesPerformanceEndurancePageCache200, SitePlugins200, SitePluginsParams, SitePluginUpdate200, SitePluginUpdateBody, SitePluginsAutoupdate200, SitePluginsAutoupdateBody, SitePluginsToggle200, SitePluginsToggleBody, SitePluginsUpdate200, SitePluginsUpdateBody, ResetSite200, ResetSiteBody, SitesSecurityCheckCore200, SitesSecurityResetCoreFiles200, SitesSecurityHttpsRedirectionStatus200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsEnableDisableSslBody, SitesSecuritySitelock200, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsComingSoonToggleBody, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsDebugToggleBody, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersionUpdateBody, SitesSettingsPhpVersions200, SitesSshUserList200, SitesSshUserCreate200, SitesSshUserCreateBody, SitesSshUserDelete200, SitesSshUserDeleteBody, SitesSshUserUpdate200, SitesSshUserUpdateBody, SitesSsl200, SitesSso200, SitesSsoParams, SiteStatus200, SiteUsers200, SitesVersion200, AddonsSitelockSsoV2200, AddonsSitelockSsoV2Params, HostingNameserversV2200, HostingSitesV2200, SshKeyListV2200, SitesListV2200, SitesDomainsV2200, SitesDomainsV2Params, SitesSecuritySitelockV2200, SitesSecuritySitelockV2Params } from './index.schemas';
3
+ import type { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';
4
+ import type { AccountHostingList200, AddCron200, AddCron400, AddCronBody, AddonCloudflare200, AddonCloudflareBody, AddonsCloudflare200, AddonsInfo200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSitelockSsoV2Params, AddonsSpamexpertsSso200, BackupsJetpackBackup200, CodeguardBackupCreate200, CodeguardBackupCreateBody, CodeguardBackupDownload200, CodeguardBackupDownloadBody, CodeguardBackupList200, CodeguardBackupListParams, CodeguardBackupRestore200, CodeguardBackupRestoreBody, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupCreateBody, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupListParams, CodeguardDatabaseBackupRestore200, CodeguardDatabaseBackupRestoreBody, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupCreateBody, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupListParams, CodeguardWebsiteBackupRestore200, CodeguardWebsiteBackupRestoreBody, CodeguardWebsiteList200, Cron200, CronBody, Db200, DbAdd200, DbAddBody, DbBody, DbList200, DbUsage200, DbUserAdd200, DbUserAddBody, DbUserDelete200, DbUserDeleteBody, DbUserList200, DbUserPrivsGet200, DbUserPrivsGetParams, DomainInfo200, DomainUnassign200, Domains200, DomainsParams, HostingAccount200, HostingAddons200, HostingAddonsParams, HostingAdvancedPassword200, HostingAdvancedPasswordBody, HostingAdvancedServer200, HostingAdvancedServerStatus200, HostingAdvancedServerStatusBody, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingCapabilities200, HostingDomainsUnassign200, HostingDomainsUnassignBody, HostingEcommerceInfo200, HostingFtp200, HostingFtpAdd200, HostingFtpAddBody, HostingFtpBody, HostingFtpList200, HostingFtpUpdate200, HostingFtpUpdateBody, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingLead400, HostingLeadParams, HostingMigrationInfo200, HostingMigrationInfoParams, HostingMigrationSiteScanStatus200, HostingMigrationSiteScanStatusParams, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsBody, HostingMigrationsCheck200, HostingMigrationsCheckParams, HostingMigrationsEvent200, HostingMigrationsEventBody, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingOnboardingDataUpdateBody, HostingResellerSsoWhm200, HostingShellInfo200, HostingShellToggle200, HostingShellToggleBody, HostingSiteAdd200, HostingSiteAddBody, HostingSitesV2200, HostingSshInfo200, JetpackBackupStatus200, ListCrons200, ResetSite200, ResetSiteBody, Site200, SiteAddonCloudflare200, SiteAddonCloudflare400, SiteMalwareStatus200, SitePendingDomainDelete200, SitePluginUpdate200, SitePluginUpdateBody, SitePlugins200, SitePluginsAutoupdate200, SitePluginsAutoupdateBody, SitePluginsParams, SitePluginsToggle200, SitePluginsToggleBody, SitePluginsUpdate200, SitePluginsUpdateBody, SiteStatus200, SiteUpdate200, SiteUpdate400, SiteUpdateBody, SiteUsers200, SitesAccessLogs200, SitesAccessLogsDownloadParams, SitesAccessLogsParams, SitesAutoupdatesResponse, SitesAutoupdatesUpdateBody, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBatch200, SitesBatchBody, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDnsParams, SitesDomain200, SitesDomainParams, SitesDomainUrl200, SitesDomainUrlBody, SitesDomainsCreate200, SitesDomainsCreateBody, SitesDomainsV2200, SitesDomainsV2Params, SitesErrorLogs200, SitesErrorLogsDownloadParams, SitesErrorLogsParams, SitesHasBackups200, SitesInfo200, SitesList200, SitesListV2200, SitesPerformanceCachepurge200, SitesPerformanceCachepurgeBody, SitesPerformanceEdgecache200, SitesPerformanceEdgecacheBody, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelBody, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsEnableDisableSslBody, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockV2200, SitesSecuritySitelockV2Params, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsComingSoonToggleBody, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsDebugToggleBody, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersionUpdateBody, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserCreateBody, SitesSshUserDelete200, SitesSshUserDeleteBody, SitesSshUserList200, SitesSshUserUpdate200, SitesSshUserUpdateBody, SitesSsl200, SitesSso200, SitesSsoParams, SitesVersion200, SshKey200, SshKeyBody, SshKeyFetch200, SshKeyFetchParams, SshKeyGenerate200, SshKeyGenerateBody, SshKeyImport200, SshKeyImportBody, SshKeyList200, SshKeyListV2200, Sso200, SsoParams, UpdateCron200, UpdateCronBody, WebzaiSso200, WeeblySso200 } from './index.schemas';
12
5
  declare type AwaitedInput<T> = PromiseLike<T> | T;
13
6
  declare type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
14
7
  /**
@@ -16,9 +9,18 @@ declare type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
16
9
  * @summary Hosting account list for a customer
17
10
  */
18
11
  export declare const accountHostingList: (options?: AxiosRequestConfig) => Promise<AxiosResponse<AccountHostingList200>>;
19
- export declare const getAccountHostingListQueryKey: () => string[];
12
+ export declare const getAccountHostingListQueryKey: () => readonly ["/v1/account/hosting"];
13
+ export declare const getAccountHostingListQueryOptions: <TData = AxiosResponse<AccountHostingList200, any>, TError = AxiosError<unknown, any>>(options?: {
14
+ query?: UseQueryOptions<AxiosResponse<AccountHostingList200, any>, TError, TData, QueryKey> | undefined;
15
+ axios?: AxiosRequestConfig<any> | undefined;
16
+ } | undefined) => UseQueryOptions<AxiosResponse<AccountHostingList200, any>, TError, TData, QueryKey> & {
17
+ queryKey: QueryKey;
18
+ };
20
19
  export declare type AccountHostingListQueryResult = NonNullable<Awaited<ReturnType<typeof accountHostingList>>>;
21
20
  export declare type AccountHostingListQueryError = AxiosError<unknown>;
21
+ /**
22
+ * @summary Hosting account list for a customer
23
+ */
22
24
  export declare const useAccountHostingList: <TData = AxiosResponse<AccountHostingList200, any>, TError = AxiosError<unknown, any>>(options?: {
23
25
  query?: UseQueryOptions<AxiosResponse<AccountHostingList200, any>, TError, TData, QueryKey> | undefined;
24
26
  axios?: AxiosRequestConfig<any> | undefined;
@@ -30,9 +32,18 @@ export declare const useAccountHostingList: <TData = AxiosResponse<AccountHostin
30
32
  * @summary backup list
31
33
  */
32
34
  export declare const codeguardBackupList: (addonId: number, params: CodeguardBackupListParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardBackupList200>>;
33
- export declare const getCodeguardBackupListQueryKey: (addonId: number, params: CodeguardBackupListParams) => (string | CodeguardBackupListParams)[];
35
+ export declare const getCodeguardBackupListQueryKey: (addonId: number, params: CodeguardBackupListParams) => readonly [`/v1/addons/codeguard/${number}/backups`, ...CodeguardBackupListParams[]];
36
+ export declare const getCodeguardBackupListQueryOptions: <TData = AxiosResponse<CodeguardBackupList200, any>, TError = AxiosError<unknown, any>>(addonId: number, params: CodeguardBackupListParams, options?: {
37
+ query?: UseQueryOptions<AxiosResponse<CodeguardBackupList200, any>, TError, TData, QueryKey> | undefined;
38
+ axios?: AxiosRequestConfig<any> | undefined;
39
+ } | undefined) => UseQueryOptions<AxiosResponse<CodeguardBackupList200, any>, TError, TData, QueryKey> & {
40
+ queryKey: QueryKey;
41
+ };
34
42
  export declare type CodeguardBackupListQueryResult = NonNullable<Awaited<ReturnType<typeof codeguardBackupList>>>;
35
43
  export declare type CodeguardBackupListQueryError = AxiosError<unknown>;
44
+ /**
45
+ * @summary backup list
46
+ */
36
47
  export declare const useCodeguardBackupList: <TData = AxiosResponse<CodeguardBackupList200, any>, TError = AxiosError<unknown, any>>(addonId: number, params: CodeguardBackupListParams, options?: {
37
48
  query?: UseQueryOptions<AxiosResponse<CodeguardBackupList200, any>, TError, TData, QueryKey> | undefined;
38
49
  axios?: AxiosRequestConfig<any> | undefined;
@@ -44,16 +55,29 @@ export declare const useCodeguardBackupList: <TData = AxiosResponse<CodeguardBac
44
55
  * @summary backup create
45
56
  */
46
57
  export declare const codeguardBackupCreate: (addonId: number, codeguardBackupCreateBody: CodeguardBackupCreateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardBackupCreate200>>;
58
+ export declare const getCodeguardBackupCreateMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
59
+ mutation?: UseMutationOptions<AxiosResponse<CodeguardBackupCreate200, any>, TError, {
60
+ addonId: number;
61
+ data: CodeguardBackupCreateBody;
62
+ }, TContext> | undefined;
63
+ axios?: AxiosRequestConfig<any> | undefined;
64
+ } | undefined) => UseMutationOptions<AxiosResponse<CodeguardBackupCreate200, any>, TError, {
65
+ addonId: number;
66
+ data: CodeguardBackupCreateBody;
67
+ }, TContext>;
47
68
  export declare type CodeguardBackupCreateMutationResult = NonNullable<Awaited<ReturnType<typeof codeguardBackupCreate>>>;
48
69
  export declare type CodeguardBackupCreateMutationBody = CodeguardBackupCreateBody;
49
70
  export declare type CodeguardBackupCreateMutationError = AxiosError<unknown>;
71
+ /**
72
+ * @summary backup create
73
+ */
50
74
  export declare const useCodeguardBackupCreate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
51
75
  mutation?: UseMutationOptions<AxiosResponse<CodeguardBackupCreate200, any>, TError, {
52
76
  addonId: number;
53
77
  data: CodeguardBackupCreateBody;
54
78
  }, TContext> | undefined;
55
79
  axios?: AxiosRequestConfig<any> | undefined;
56
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<CodeguardBackupCreate200, any>, TError, {
80
+ } | undefined) => UseMutationResult<AxiosResponse<CodeguardBackupCreate200, any>, TError, {
57
81
  addonId: number;
58
82
  data: CodeguardBackupCreateBody;
59
83
  }, TContext>;
@@ -62,16 +86,29 @@ export declare const useCodeguardBackupCreate: <TError = AxiosError<unknown, any
62
86
  * @summary backup download
63
87
  */
64
88
  export declare const codeguardBackupDownload: (addonId: number, codeguardBackupDownloadBody: CodeguardBackupDownloadBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardBackupDownload200>>;
89
+ export declare const getCodeguardBackupDownloadMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
90
+ mutation?: UseMutationOptions<AxiosResponse<CodeguardBackupDownload200, any>, TError, {
91
+ addonId: number;
92
+ data: CodeguardBackupDownloadBody;
93
+ }, TContext> | undefined;
94
+ axios?: AxiosRequestConfig<any> | undefined;
95
+ } | undefined) => UseMutationOptions<AxiosResponse<CodeguardBackupDownload200, any>, TError, {
96
+ addonId: number;
97
+ data: CodeguardBackupDownloadBody;
98
+ }, TContext>;
65
99
  export declare type CodeguardBackupDownloadMutationResult = NonNullable<Awaited<ReturnType<typeof codeguardBackupDownload>>>;
66
100
  export declare type CodeguardBackupDownloadMutationBody = CodeguardBackupDownloadBody;
67
101
  export declare type CodeguardBackupDownloadMutationError = AxiosError<unknown>;
102
+ /**
103
+ * @summary backup download
104
+ */
68
105
  export declare const useCodeguardBackupDownload: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
69
106
  mutation?: UseMutationOptions<AxiosResponse<CodeguardBackupDownload200, any>, TError, {
70
107
  addonId: number;
71
108
  data: CodeguardBackupDownloadBody;
72
109
  }, TContext> | undefined;
73
110
  axios?: AxiosRequestConfig<any> | undefined;
74
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<CodeguardBackupDownload200, any>, TError, {
111
+ } | undefined) => UseMutationResult<AxiosResponse<CodeguardBackupDownload200, any>, TError, {
75
112
  addonId: number;
76
113
  data: CodeguardBackupDownloadBody;
77
114
  }, TContext>;
@@ -80,16 +117,29 @@ export declare const useCodeguardBackupDownload: <TError = AxiosError<unknown, a
80
117
  * @summary backups restore
81
118
  */
82
119
  export declare const codeguardBackupRestore: (addonId: number, codeguardBackupRestoreBody: CodeguardBackupRestoreBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardBackupRestore200>>;
120
+ export declare const getCodeguardBackupRestoreMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
121
+ mutation?: UseMutationOptions<AxiosResponse<CodeguardBackupRestore200, any>, TError, {
122
+ addonId: number;
123
+ data: CodeguardBackupRestoreBody;
124
+ }, TContext> | undefined;
125
+ axios?: AxiosRequestConfig<any> | undefined;
126
+ } | undefined) => UseMutationOptions<AxiosResponse<CodeguardBackupRestore200, any>, TError, {
127
+ addonId: number;
128
+ data: CodeguardBackupRestoreBody;
129
+ }, TContext>;
83
130
  export declare type CodeguardBackupRestoreMutationResult = NonNullable<Awaited<ReturnType<typeof codeguardBackupRestore>>>;
84
131
  export declare type CodeguardBackupRestoreMutationBody = CodeguardBackupRestoreBody;
85
132
  export declare type CodeguardBackupRestoreMutationError = AxiosError<unknown>;
133
+ /**
134
+ * @summary backups restore
135
+ */
86
136
  export declare const useCodeguardBackupRestore: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
87
137
  mutation?: UseMutationOptions<AxiosResponse<CodeguardBackupRestore200, any>, TError, {
88
138
  addonId: number;
89
139
  data: CodeguardBackupRestoreBody;
90
140
  }, TContext> | undefined;
91
141
  axios?: AxiosRequestConfig<any> | undefined;
92
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<CodeguardBackupRestore200, any>, TError, {
142
+ } | undefined) => UseMutationResult<AxiosResponse<CodeguardBackupRestore200, any>, TError, {
93
143
  addonId: number;
94
144
  data: CodeguardBackupRestoreBody;
95
145
  }, TContext>;
@@ -98,9 +148,18 @@ export declare const useCodeguardBackupRestore: <TError = AxiosError<unknown, an
98
148
  * @summary database list
99
149
  */
100
150
  export declare const codeguardDatabaseList: (addonId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardDatabaseList200>>;
101
- export declare const getCodeguardDatabaseListQueryKey: (addonId: number) => string[];
151
+ export declare const getCodeguardDatabaseListQueryKey: (addonId: number) => readonly [`/v1/addons/codeguard/${number}/databases`];
152
+ export declare const getCodeguardDatabaseListQueryOptions: <TData = AxiosResponse<CodeguardDatabaseList200, any>, TError = AxiosError<unknown, any>>(addonId: number, options?: {
153
+ query?: UseQueryOptions<AxiosResponse<CodeguardDatabaseList200, any>, TError, TData, QueryKey> | undefined;
154
+ axios?: AxiosRequestConfig<any> | undefined;
155
+ } | undefined) => UseQueryOptions<AxiosResponse<CodeguardDatabaseList200, any>, TError, TData, QueryKey> & {
156
+ queryKey: QueryKey;
157
+ };
102
158
  export declare type CodeguardDatabaseListQueryResult = NonNullable<Awaited<ReturnType<typeof codeguardDatabaseList>>>;
103
159
  export declare type CodeguardDatabaseListQueryError = AxiosError<unknown>;
160
+ /**
161
+ * @summary database list
162
+ */
104
163
  export declare const useCodeguardDatabaseList: <TData = AxiosResponse<CodeguardDatabaseList200, any>, TError = AxiosError<unknown, any>>(addonId: number, options?: {
105
164
  query?: UseQueryOptions<AxiosResponse<CodeguardDatabaseList200, any>, TError, TData, QueryKey> | undefined;
106
165
  axios?: AxiosRequestConfig<any> | undefined;
@@ -112,9 +171,18 @@ export declare const useCodeguardDatabaseList: <TData = AxiosResponse<CodeguardD
112
171
  * @summary database backup list
113
172
  */
114
173
  export declare const codeguardDatabaseBackupList: (addonId: number, params?: CodeguardDatabaseBackupListParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardDatabaseBackupList200>>;
115
- export declare const getCodeguardDatabaseBackupListQueryKey: (addonId: number, params?: CodeguardDatabaseBackupListParams) => (string | CodeguardDatabaseBackupListParams)[];
174
+ export declare const getCodeguardDatabaseBackupListQueryKey: (addonId: number, params?: CodeguardDatabaseBackupListParams) => readonly [`/v1/addons/codeguard/${number}/databases/backups`, ...CodeguardDatabaseBackupListParams[]];
175
+ export declare const getCodeguardDatabaseBackupListQueryOptions: <TData = AxiosResponse<CodeguardDatabaseBackupList200, any>, TError = AxiosError<unknown, any>>(addonId: number, params?: CodeguardDatabaseBackupListParams, options?: {
176
+ query?: UseQueryOptions<AxiosResponse<CodeguardDatabaseBackupList200, any>, TError, TData, QueryKey> | undefined;
177
+ axios?: AxiosRequestConfig<any> | undefined;
178
+ } | undefined) => UseQueryOptions<AxiosResponse<CodeguardDatabaseBackupList200, any>, TError, TData, QueryKey> & {
179
+ queryKey: QueryKey;
180
+ };
116
181
  export declare type CodeguardDatabaseBackupListQueryResult = NonNullable<Awaited<ReturnType<typeof codeguardDatabaseBackupList>>>;
117
182
  export declare type CodeguardDatabaseBackupListQueryError = AxiosError<unknown>;
183
+ /**
184
+ * @summary database backup list
185
+ */
118
186
  export declare const useCodeguardDatabaseBackupList: <TData = AxiosResponse<CodeguardDatabaseBackupList200, any>, TError = AxiosError<unknown, any>>(addonId: number, params?: CodeguardDatabaseBackupListParams, options?: {
119
187
  query?: UseQueryOptions<AxiosResponse<CodeguardDatabaseBackupList200, any>, TError, TData, QueryKey> | undefined;
120
188
  axios?: AxiosRequestConfig<any> | undefined;
@@ -126,16 +194,29 @@ export declare const useCodeguardDatabaseBackupList: <TData = AxiosResponse<Code
126
194
  * @summary database backup create
127
195
  */
128
196
  export declare const codeguardDatabaseBackupCreate: (addonId: number, codeguardDatabaseBackupCreateBody: CodeguardDatabaseBackupCreateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardDatabaseBackupCreate200>>;
197
+ export declare const getCodeguardDatabaseBackupCreateMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
198
+ mutation?: UseMutationOptions<AxiosResponse<CodeguardDatabaseBackupCreate200, any>, TError, {
199
+ addonId: number;
200
+ data: CodeguardDatabaseBackupCreateBody;
201
+ }, TContext> | undefined;
202
+ axios?: AxiosRequestConfig<any> | undefined;
203
+ } | undefined) => UseMutationOptions<AxiosResponse<CodeguardDatabaseBackupCreate200, any>, TError, {
204
+ addonId: number;
205
+ data: CodeguardDatabaseBackupCreateBody;
206
+ }, TContext>;
129
207
  export declare type CodeguardDatabaseBackupCreateMutationResult = NonNullable<Awaited<ReturnType<typeof codeguardDatabaseBackupCreate>>>;
130
208
  export declare type CodeguardDatabaseBackupCreateMutationBody = CodeguardDatabaseBackupCreateBody;
131
209
  export declare type CodeguardDatabaseBackupCreateMutationError = AxiosError<unknown>;
210
+ /**
211
+ * @summary database backup create
212
+ */
132
213
  export declare const useCodeguardDatabaseBackupCreate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
133
214
  mutation?: UseMutationOptions<AxiosResponse<CodeguardDatabaseBackupCreate200, any>, TError, {
134
215
  addonId: number;
135
216
  data: CodeguardDatabaseBackupCreateBody;
136
217
  }, TContext> | undefined;
137
218
  axios?: AxiosRequestConfig<any> | undefined;
138
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<CodeguardDatabaseBackupCreate200, any>, TError, {
219
+ } | undefined) => UseMutationResult<AxiosResponse<CodeguardDatabaseBackupCreate200, any>, TError, {
139
220
  addonId: number;
140
221
  data: CodeguardDatabaseBackupCreateBody;
141
222
  }, TContext>;
@@ -144,16 +225,29 @@ export declare const useCodeguardDatabaseBackupCreate: <TError = AxiosError<unkn
144
225
  * @summary database backup restore
145
226
  */
146
227
  export declare const codeguardDatabaseBackupRestore: (addonId: number, codeguardDatabaseBackupRestoreBody: CodeguardDatabaseBackupRestoreBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardDatabaseBackupRestore200>>;
228
+ export declare const getCodeguardDatabaseBackupRestoreMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
229
+ mutation?: UseMutationOptions<AxiosResponse<CodeguardDatabaseBackupRestore200, any>, TError, {
230
+ addonId: number;
231
+ data: CodeguardDatabaseBackupRestoreBody;
232
+ }, TContext> | undefined;
233
+ axios?: AxiosRequestConfig<any> | undefined;
234
+ } | undefined) => UseMutationOptions<AxiosResponse<CodeguardDatabaseBackupRestore200, any>, TError, {
235
+ addonId: number;
236
+ data: CodeguardDatabaseBackupRestoreBody;
237
+ }, TContext>;
147
238
  export declare type CodeguardDatabaseBackupRestoreMutationResult = NonNullable<Awaited<ReturnType<typeof codeguardDatabaseBackupRestore>>>;
148
239
  export declare type CodeguardDatabaseBackupRestoreMutationBody = CodeguardDatabaseBackupRestoreBody;
149
240
  export declare type CodeguardDatabaseBackupRestoreMutationError = AxiosError<unknown>;
241
+ /**
242
+ * @summary database backup restore
243
+ */
150
244
  export declare const useCodeguardDatabaseBackupRestore: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
151
245
  mutation?: UseMutationOptions<AxiosResponse<CodeguardDatabaseBackupRestore200, any>, TError, {
152
246
  addonId: number;
153
247
  data: CodeguardDatabaseBackupRestoreBody;
154
248
  }, TContext> | undefined;
155
249
  axios?: AxiosRequestConfig<any> | undefined;
156
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<CodeguardDatabaseBackupRestore200, any>, TError, {
250
+ } | undefined) => UseMutationResult<AxiosResponse<CodeguardDatabaseBackupRestore200, any>, TError, {
157
251
  addonId: number;
158
252
  data: CodeguardDatabaseBackupRestoreBody;
159
253
  }, TContext>;
@@ -162,9 +256,18 @@ export declare const useCodeguardDatabaseBackupRestore: <TError = AxiosError<unk
162
256
  * @summary login link
163
257
  */
164
258
  export declare const codeguardLoginLink: (addonId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardLoginLink200>>;
165
- export declare const getCodeguardLoginLinkQueryKey: (addonId: number) => string[];
259
+ export declare const getCodeguardLoginLinkQueryKey: (addonId: number) => readonly [`/v1/addons/codeguard/${number}/login`];
260
+ export declare const getCodeguardLoginLinkQueryOptions: <TData = AxiosResponse<CodeguardLoginLink200, any>, TError = AxiosError<unknown, any>>(addonId: number, options?: {
261
+ query?: UseQueryOptions<AxiosResponse<CodeguardLoginLink200, any>, TError, TData, QueryKey> | undefined;
262
+ axios?: AxiosRequestConfig<any> | undefined;
263
+ } | undefined) => UseQueryOptions<AxiosResponse<CodeguardLoginLink200, any>, TError, TData, QueryKey> & {
264
+ queryKey: QueryKey;
265
+ };
166
266
  export declare type CodeguardLoginLinkQueryResult = NonNullable<Awaited<ReturnType<typeof codeguardLoginLink>>>;
167
267
  export declare type CodeguardLoginLinkQueryError = AxiosError<unknown>;
268
+ /**
269
+ * @summary login link
270
+ */
168
271
  export declare const useCodeguardLoginLink: <TData = AxiosResponse<CodeguardLoginLink200, any>, TError = AxiosError<unknown, any>>(addonId: number, options?: {
169
272
  query?: UseQueryOptions<AxiosResponse<CodeguardLoginLink200, any>, TError, TData, QueryKey> | undefined;
170
273
  axios?: AxiosRequestConfig<any> | undefined;
@@ -176,9 +279,18 @@ export declare const useCodeguardLoginLink: <TData = AxiosResponse<CodeguardLogi
176
279
  * @summary plan info
177
280
  */
178
281
  export declare const codeguardPlanInfo: (addonId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardPlanInfo200>>;
179
- export declare const getCodeguardPlanInfoQueryKey: (addonId: number) => string[];
282
+ export declare const getCodeguardPlanInfoQueryKey: (addonId: number) => readonly [`/v1/addons/codeguard/${number}/plan`];
283
+ export declare const getCodeguardPlanInfoQueryOptions: <TData = AxiosResponse<CodeguardPlanInfo200, any>, TError = AxiosError<unknown, any>>(addonId: number, options?: {
284
+ query?: UseQueryOptions<AxiosResponse<CodeguardPlanInfo200, any>, TError, TData, QueryKey> | undefined;
285
+ axios?: AxiosRequestConfig<any> | undefined;
286
+ } | undefined) => UseQueryOptions<AxiosResponse<CodeguardPlanInfo200, any>, TError, TData, QueryKey> & {
287
+ queryKey: QueryKey;
288
+ };
180
289
  export declare type CodeguardPlanInfoQueryResult = NonNullable<Awaited<ReturnType<typeof codeguardPlanInfo>>>;
181
290
  export declare type CodeguardPlanInfoQueryError = AxiosError<unknown>;
291
+ /**
292
+ * @summary plan info
293
+ */
182
294
  export declare const useCodeguardPlanInfo: <TData = AxiosResponse<CodeguardPlanInfo200, any>, TError = AxiosError<unknown, any>>(addonId: number, options?: {
183
295
  query?: UseQueryOptions<AxiosResponse<CodeguardPlanInfo200, any>, TError, TData, QueryKey> | undefined;
184
296
  axios?: AxiosRequestConfig<any> | undefined;
@@ -190,9 +302,18 @@ export declare const useCodeguardPlanInfo: <TData = AxiosResponse<CodeguardPlanI
190
302
  * @summary website list
191
303
  */
192
304
  export declare const codeguardWebsiteList: (addonId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardWebsiteList200>>;
193
- export declare const getCodeguardWebsiteListQueryKey: (addonId: number) => string[];
305
+ export declare const getCodeguardWebsiteListQueryKey: (addonId: number) => readonly [`/v1/addons/codeguard/${number}/websites`];
306
+ export declare const getCodeguardWebsiteListQueryOptions: <TData = AxiosResponse<CodeguardWebsiteList200, any>, TError = AxiosError<unknown, any>>(addonId: number, options?: {
307
+ query?: UseQueryOptions<AxiosResponse<CodeguardWebsiteList200, any>, TError, TData, QueryKey> | undefined;
308
+ axios?: AxiosRequestConfig<any> | undefined;
309
+ } | undefined) => UseQueryOptions<AxiosResponse<CodeguardWebsiteList200, any>, TError, TData, QueryKey> & {
310
+ queryKey: QueryKey;
311
+ };
194
312
  export declare type CodeguardWebsiteListQueryResult = NonNullable<Awaited<ReturnType<typeof codeguardWebsiteList>>>;
195
313
  export declare type CodeguardWebsiteListQueryError = AxiosError<unknown>;
314
+ /**
315
+ * @summary website list
316
+ */
196
317
  export declare const useCodeguardWebsiteList: <TData = AxiosResponse<CodeguardWebsiteList200, any>, TError = AxiosError<unknown, any>>(addonId: number, options?: {
197
318
  query?: UseQueryOptions<AxiosResponse<CodeguardWebsiteList200, any>, TError, TData, QueryKey> | undefined;
198
319
  axios?: AxiosRequestConfig<any> | undefined;
@@ -204,9 +325,18 @@ export declare const useCodeguardWebsiteList: <TData = AxiosResponse<CodeguardWe
204
325
  * @summary website backup list
205
326
  */
206
327
  export declare const codeguardWebsiteBackupList: (addonId: number, params?: CodeguardWebsiteBackupListParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardWebsiteBackupList200>>;
207
- export declare const getCodeguardWebsiteBackupListQueryKey: (addonId: number, params?: CodeguardWebsiteBackupListParams) => (string | CodeguardWebsiteBackupListParams)[];
328
+ export declare const getCodeguardWebsiteBackupListQueryKey: (addonId: number, params?: CodeguardWebsiteBackupListParams) => readonly [`/v1/addons/codeguard/${number}/websites/backups`, ...CodeguardWebsiteBackupListParams[]];
329
+ export declare const getCodeguardWebsiteBackupListQueryOptions: <TData = AxiosResponse<CodeguardWebsiteBackupList200, any>, TError = AxiosError<unknown, any>>(addonId: number, params?: CodeguardWebsiteBackupListParams, options?: {
330
+ query?: UseQueryOptions<AxiosResponse<CodeguardWebsiteBackupList200, any>, TError, TData, QueryKey> | undefined;
331
+ axios?: AxiosRequestConfig<any> | undefined;
332
+ } | undefined) => UseQueryOptions<AxiosResponse<CodeguardWebsiteBackupList200, any>, TError, TData, QueryKey> & {
333
+ queryKey: QueryKey;
334
+ };
208
335
  export declare type CodeguardWebsiteBackupListQueryResult = NonNullable<Awaited<ReturnType<typeof codeguardWebsiteBackupList>>>;
209
336
  export declare type CodeguardWebsiteBackupListQueryError = AxiosError<unknown>;
337
+ /**
338
+ * @summary website backup list
339
+ */
210
340
  export declare const useCodeguardWebsiteBackupList: <TData = AxiosResponse<CodeguardWebsiteBackupList200, any>, TError = AxiosError<unknown, any>>(addonId: number, params?: CodeguardWebsiteBackupListParams, options?: {
211
341
  query?: UseQueryOptions<AxiosResponse<CodeguardWebsiteBackupList200, any>, TError, TData, QueryKey> | undefined;
212
342
  axios?: AxiosRequestConfig<any> | undefined;
@@ -218,16 +348,29 @@ export declare const useCodeguardWebsiteBackupList: <TData = AxiosResponse<Codeg
218
348
  * @summary website backup create
219
349
  */
220
350
  export declare const codeguardWebsiteBackupCreate: (addonId: number, codeguardWebsiteBackupCreateBody: CodeguardWebsiteBackupCreateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardWebsiteBackupCreate200>>;
351
+ export declare const getCodeguardWebsiteBackupCreateMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
352
+ mutation?: UseMutationOptions<AxiosResponse<CodeguardWebsiteBackupCreate200, any>, TError, {
353
+ addonId: number;
354
+ data: CodeguardWebsiteBackupCreateBody;
355
+ }, TContext> | undefined;
356
+ axios?: AxiosRequestConfig<any> | undefined;
357
+ } | undefined) => UseMutationOptions<AxiosResponse<CodeguardWebsiteBackupCreate200, any>, TError, {
358
+ addonId: number;
359
+ data: CodeguardWebsiteBackupCreateBody;
360
+ }, TContext>;
221
361
  export declare type CodeguardWebsiteBackupCreateMutationResult = NonNullable<Awaited<ReturnType<typeof codeguardWebsiteBackupCreate>>>;
222
362
  export declare type CodeguardWebsiteBackupCreateMutationBody = CodeguardWebsiteBackupCreateBody;
223
363
  export declare type CodeguardWebsiteBackupCreateMutationError = AxiosError<unknown>;
364
+ /**
365
+ * @summary website backup create
366
+ */
224
367
  export declare const useCodeguardWebsiteBackupCreate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
225
368
  mutation?: UseMutationOptions<AxiosResponse<CodeguardWebsiteBackupCreate200, any>, TError, {
226
369
  addonId: number;
227
370
  data: CodeguardWebsiteBackupCreateBody;
228
371
  }, TContext> | undefined;
229
372
  axios?: AxiosRequestConfig<any> | undefined;
230
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<CodeguardWebsiteBackupCreate200, any>, TError, {
373
+ } | undefined) => UseMutationResult<AxiosResponse<CodeguardWebsiteBackupCreate200, any>, TError, {
231
374
  addonId: number;
232
375
  data: CodeguardWebsiteBackupCreateBody;
233
376
  }, TContext>;
@@ -236,16 +379,29 @@ export declare const useCodeguardWebsiteBackupCreate: <TError = AxiosError<unkno
236
379
  * @summary website backup restore
237
380
  */
238
381
  export declare const codeguardWebsiteBackupRestore: (addonId: number, codeguardWebsiteBackupRestoreBody: CodeguardWebsiteBackupRestoreBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<CodeguardWebsiteBackupRestore200>>;
382
+ export declare const getCodeguardWebsiteBackupRestoreMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
383
+ mutation?: UseMutationOptions<AxiosResponse<CodeguardWebsiteBackupRestore200, any>, TError, {
384
+ addonId: number;
385
+ data: CodeguardWebsiteBackupRestoreBody;
386
+ }, TContext> | undefined;
387
+ axios?: AxiosRequestConfig<any> | undefined;
388
+ } | undefined) => UseMutationOptions<AxiosResponse<CodeguardWebsiteBackupRestore200, any>, TError, {
389
+ addonId: number;
390
+ data: CodeguardWebsiteBackupRestoreBody;
391
+ }, TContext>;
239
392
  export declare type CodeguardWebsiteBackupRestoreMutationResult = NonNullable<Awaited<ReturnType<typeof codeguardWebsiteBackupRestore>>>;
240
393
  export declare type CodeguardWebsiteBackupRestoreMutationBody = CodeguardWebsiteBackupRestoreBody;
241
394
  export declare type CodeguardWebsiteBackupRestoreMutationError = AxiosError<unknown>;
395
+ /**
396
+ * @summary website backup restore
397
+ */
242
398
  export declare const useCodeguardWebsiteBackupRestore: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
243
399
  mutation?: UseMutationOptions<AxiosResponse<CodeguardWebsiteBackupRestore200, any>, TError, {
244
400
  addonId: number;
245
401
  data: CodeguardWebsiteBackupRestoreBody;
246
402
  }, TContext> | undefined;
247
403
  axios?: AxiosRequestConfig<any> | undefined;
248
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<CodeguardWebsiteBackupRestore200, any>, TError, {
404
+ } | undefined) => UseMutationResult<AxiosResponse<CodeguardWebsiteBackupRestore200, any>, TError, {
249
405
  addonId: number;
250
406
  data: CodeguardWebsiteBackupRestoreBody;
251
407
  }, TContext>;
@@ -254,9 +410,18 @@ export declare const useCodeguardWebsiteBackupRestore: <TError = AxiosError<unkn
254
410
  * @summary sso
255
411
  */
256
412
  export declare const addonsSitelockSso: (addonId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddonsSitelockSso200>>;
257
- export declare const getAddonsSitelockSsoQueryKey: (addonId: number) => string[];
413
+ export declare const getAddonsSitelockSsoQueryKey: (addonId: number) => readonly [`/v1/addons/sitelock/${number}/sso`];
414
+ export declare const getAddonsSitelockSsoQueryOptions: <TData = AxiosResponse<AddonsSitelockSso200, any>, TError = AxiosError<unknown, any>>(addonId: number, options?: {
415
+ query?: UseQueryOptions<AxiosResponse<AddonsSitelockSso200, any>, TError, TData, QueryKey> | undefined;
416
+ axios?: AxiosRequestConfig<any> | undefined;
417
+ } | undefined) => UseQueryOptions<AxiosResponse<AddonsSitelockSso200, any>, TError, TData, QueryKey> & {
418
+ queryKey: QueryKey;
419
+ };
258
420
  export declare type AddonsSitelockSsoQueryResult = NonNullable<Awaited<ReturnType<typeof addonsSitelockSso>>>;
259
421
  export declare type AddonsSitelockSsoQueryError = AxiosError<unknown>;
422
+ /**
423
+ * @summary sso
424
+ */
260
425
  export declare const useAddonsSitelockSso: <TData = AxiosResponse<AddonsSitelockSso200, any>, TError = AxiosError<unknown, any>>(addonId: number, options?: {
261
426
  query?: UseQueryOptions<AxiosResponse<AddonsSitelockSso200, any>, TError, TData, QueryKey> | undefined;
262
427
  axios?: AxiosRequestConfig<any> | undefined;
@@ -268,14 +433,25 @@ export declare const useAddonsSitelockSso: <TData = AxiosResponse<AddonsSitelock
268
433
  * @summary Uninstall cloudflare basic addon
269
434
  */
270
435
  export declare const addonsCloudflare: (addonId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddonsCloudflare200>>;
436
+ export declare const getAddonsCloudflareMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
437
+ mutation?: UseMutationOptions<AxiosResponse<AddonsCloudflare200, any>, TError, {
438
+ addonId: number;
439
+ }, TContext> | undefined;
440
+ axios?: AxiosRequestConfig<any> | undefined;
441
+ } | undefined) => UseMutationOptions<AxiosResponse<AddonsCloudflare200, any>, TError, {
442
+ addonId: number;
443
+ }, TContext>;
271
444
  export declare type AddonsCloudflareMutationResult = NonNullable<Awaited<ReturnType<typeof addonsCloudflare>>>;
272
445
  export declare type AddonsCloudflareMutationError = AxiosError<unknown>;
446
+ /**
447
+ * @summary Uninstall cloudflare basic addon
448
+ */
273
449
  export declare const useAddonsCloudflare: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
274
450
  mutation?: UseMutationOptions<AxiosResponse<AddonsCloudflare200, any>, TError, {
275
451
  addonId: number;
276
452
  }, TContext> | undefined;
277
453
  axios?: AxiosRequestConfig<any> | undefined;
278
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<AddonsCloudflare200, any>, TError, {
454
+ } | undefined) => UseMutationResult<AxiosResponse<AddonsCloudflare200, any>, TError, {
279
455
  addonId: number;
280
456
  }, TContext>;
281
457
  /**
@@ -283,9 +459,18 @@ export declare const useAddonsCloudflare: <TError = AxiosError<unknown, any>, TC
283
459
  * @summary info
284
460
  */
285
461
  export declare const addonsInfo: (addonId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddonsInfo200>>;
286
- export declare const getAddonsInfoQueryKey: (addonId: string) => string[];
462
+ export declare const getAddonsInfoQueryKey: (addonId: string) => readonly [`/v1/addons/${string}/info`];
463
+ export declare const getAddonsInfoQueryOptions: <TData = AxiosResponse<AddonsInfo200, any>, TError = AxiosError<unknown, any>>(addonId: string, options?: {
464
+ query?: UseQueryOptions<AxiosResponse<AddonsInfo200, any>, TError, TData, QueryKey> | undefined;
465
+ axios?: AxiosRequestConfig<any> | undefined;
466
+ } | undefined) => UseQueryOptions<AxiosResponse<AddonsInfo200, any>, TError, TData, QueryKey> & {
467
+ queryKey: QueryKey;
468
+ };
287
469
  export declare type AddonsInfoQueryResult = NonNullable<Awaited<ReturnType<typeof addonsInfo>>>;
288
470
  export declare type AddonsInfoQueryError = AxiosError<unknown>;
471
+ /**
472
+ * @summary info
473
+ */
289
474
  export declare const useAddonsInfo: <TData = AxiosResponse<AddonsInfo200, any>, TError = AxiosError<unknown, any>>(addonId: string, options?: {
290
475
  query?: UseQueryOptions<AxiosResponse<AddonsInfo200, any>, TError, TData, QueryKey> | undefined;
291
476
  axios?: AxiosRequestConfig<any> | undefined;
@@ -297,9 +482,18 @@ export declare const useAddonsInfo: <TData = AxiosResponse<AddonsInfo200, any>,
297
482
  * @summary info
298
483
  */
299
484
  export declare const addonsSpamexpertsSso: (addonId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddonsSpamexpertsSso200>>;
300
- export declare const getAddonsSpamexpertsSsoQueryKey: (addonId: string) => string[];
485
+ export declare const getAddonsSpamexpertsSsoQueryKey: (addonId: string) => readonly [`/v1/addons/${string}/spamexperts/sso`];
486
+ export declare const getAddonsSpamexpertsSsoQueryOptions: <TData = AxiosResponse<AddonsSpamexpertsSso200, any>, TError = AxiosError<unknown, any>>(addonId: string, options?: {
487
+ query?: UseQueryOptions<AxiosResponse<AddonsSpamexpertsSso200, any>, TError, TData, QueryKey> | undefined;
488
+ axios?: AxiosRequestConfig<any> | undefined;
489
+ } | undefined) => UseQueryOptions<AxiosResponse<AddonsSpamexpertsSso200, any>, TError, TData, QueryKey> & {
490
+ queryKey: QueryKey;
491
+ };
301
492
  export declare type AddonsSpamexpertsSsoQueryResult = NonNullable<Awaited<ReturnType<typeof addonsSpamexpertsSso>>>;
302
493
  export declare type AddonsSpamexpertsSsoQueryError = AxiosError<unknown>;
494
+ /**
495
+ * @summary info
496
+ */
303
497
  export declare const useAddonsSpamexpertsSso: <TData = AxiosResponse<AddonsSpamexpertsSso200, any>, TError = AxiosError<unknown, any>>(addonId: string, options?: {
304
498
  query?: UseQueryOptions<AxiosResponse<AddonsSpamexpertsSso200, any>, TError, TData, QueryKey> | undefined;
305
499
  axios?: AxiosRequestConfig<any> | undefined;
@@ -311,9 +505,18 @@ export declare const useAddonsSpamexpertsSso: <TData = AxiosResponse<AddonsSpame
311
505
  * @summary webzai sso
312
506
  */
313
507
  export declare const webzaiSso: (addonId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<WebzaiSso200>>;
314
- export declare const getWebzaiSsoQueryKey: (addonId: string) => string[];
508
+ export declare const getWebzaiSsoQueryKey: (addonId: string) => readonly [`/v1/addons/${string}/webzai/sso`];
509
+ export declare const getWebzaiSsoQueryOptions: <TData = AxiosResponse<WebzaiSso200, any>, TError = AxiosError<unknown, any>>(addonId: string, options?: {
510
+ query?: UseQueryOptions<AxiosResponse<WebzaiSso200, any>, TError, TData, QueryKey> | undefined;
511
+ axios?: AxiosRequestConfig<any> | undefined;
512
+ } | undefined) => UseQueryOptions<AxiosResponse<WebzaiSso200, any>, TError, TData, QueryKey> & {
513
+ queryKey: QueryKey;
514
+ };
315
515
  export declare type WebzaiSsoQueryResult = NonNullable<Awaited<ReturnType<typeof webzaiSso>>>;
316
516
  export declare type WebzaiSsoQueryError = AxiosError<unknown>;
517
+ /**
518
+ * @summary webzai sso
519
+ */
317
520
  export declare const useWebzaiSso: <TData = AxiosResponse<WebzaiSso200, any>, TError = AxiosError<unknown, any>>(addonId: string, options?: {
318
521
  query?: UseQueryOptions<AxiosResponse<WebzaiSso200, any>, TError, TData, QueryKey> | undefined;
319
522
  axios?: AxiosRequestConfig<any> | undefined;
@@ -325,9 +528,18 @@ export declare const useWebzaiSso: <TData = AxiosResponse<WebzaiSso200, any>, TE
325
528
  * @summary weebly sso
326
529
  */
327
530
  export declare const weeblySso: (addonId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<WeeblySso200>>;
328
- export declare const getWeeblySsoQueryKey: (addonId: string) => string[];
531
+ export declare const getWeeblySsoQueryKey: (addonId: string) => readonly [`/v1/addons/${string}/weebly/sso`];
532
+ export declare const getWeeblySsoQueryOptions: <TData = AxiosResponse<WeeblySso200, any>, TError = AxiosError<unknown, any>>(addonId: string, options?: {
533
+ query?: UseQueryOptions<AxiosResponse<WeeblySso200, any>, TError, TData, QueryKey> | undefined;
534
+ axios?: AxiosRequestConfig<any> | undefined;
535
+ } | undefined) => UseQueryOptions<AxiosResponse<WeeblySso200, any>, TError, TData, QueryKey> & {
536
+ queryKey: QueryKey;
537
+ };
329
538
  export declare type WeeblySsoQueryResult = NonNullable<Awaited<ReturnType<typeof weeblySso>>>;
330
539
  export declare type WeeblySsoQueryError = AxiosError<unknown>;
540
+ /**
541
+ * @summary weebly sso
542
+ */
331
543
  export declare const useWeeblySso: <TData = AxiosResponse<WeeblySso200, any>, TError = AxiosError<unknown, any>>(addonId: string, options?: {
332
544
  query?: UseQueryOptions<AxiosResponse<WeeblySso200, any>, TError, TData, QueryKey> | undefined;
333
545
  axios?: AxiosRequestConfig<any> | undefined;
@@ -339,9 +551,18 @@ export declare const useWeeblySso: <TData = AxiosResponse<WeeblySso200, any>, TE
339
551
  * @summary domain info
340
552
  */
341
553
  export declare const domainInfo: (domainId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<DomainInfo200>>;
342
- export declare const getDomainInfoQueryKey: (domainId: number) => string[];
554
+ export declare const getDomainInfoQueryKey: (domainId: number) => readonly [`/v1/domains/${number}`];
555
+ export declare const getDomainInfoQueryOptions: <TData = AxiosResponse<DomainInfo200, any>, TError = AxiosError<unknown, any>>(domainId: number, options?: {
556
+ query?: UseQueryOptions<AxiosResponse<DomainInfo200, any>, TError, TData, QueryKey> | undefined;
557
+ axios?: AxiosRequestConfig<any> | undefined;
558
+ } | undefined) => UseQueryOptions<AxiosResponse<DomainInfo200, any>, TError, TData, QueryKey> & {
559
+ queryKey: QueryKey;
560
+ };
343
561
  export declare type DomainInfoQueryResult = NonNullable<Awaited<ReturnType<typeof domainInfo>>>;
344
562
  export declare type DomainInfoQueryError = AxiosError<unknown>;
563
+ /**
564
+ * @summary domain info
565
+ */
345
566
  export declare const useDomainInfo: <TData = AxiosResponse<DomainInfo200, any>, TError = AxiosError<unknown, any>>(domainId: number, options?: {
346
567
  query?: UseQueryOptions<AxiosResponse<DomainInfo200, any>, TError, TData, QueryKey> | undefined;
347
568
  axios?: AxiosRequestConfig<any> | undefined;
@@ -353,14 +574,25 @@ export declare const useDomainInfo: <TData = AxiosResponse<DomainInfo200, any>,
353
574
  * @summary domain unassign
354
575
  */
355
576
  export declare const domainUnassign: (domainId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<DomainUnassign200>>;
577
+ export declare const getDomainUnassignMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
578
+ mutation?: UseMutationOptions<AxiosResponse<DomainUnassign200, any>, TError, {
579
+ domainId: number;
580
+ }, TContext> | undefined;
581
+ axios?: AxiosRequestConfig<any> | undefined;
582
+ } | undefined) => UseMutationOptions<AxiosResponse<DomainUnassign200, any>, TError, {
583
+ domainId: number;
584
+ }, TContext>;
356
585
  export declare type DomainUnassignMutationResult = NonNullable<Awaited<ReturnType<typeof domainUnassign>>>;
357
586
  export declare type DomainUnassignMutationError = AxiosError<unknown>;
587
+ /**
588
+ * @summary domain unassign
589
+ */
358
590
  export declare const useDomainUnassign: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
359
591
  mutation?: UseMutationOptions<AxiosResponse<DomainUnassign200, any>, TError, {
360
592
  domainId: number;
361
593
  }, TContext> | undefined;
362
594
  axios?: AxiosRequestConfig<any> | undefined;
363
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<DomainUnassign200, any>, TError, {
595
+ } | undefined) => UseMutationResult<AxiosResponse<DomainUnassign200, any>, TError, {
364
596
  domainId: number;
365
597
  }, TContext>;
366
598
  /**
@@ -368,9 +600,18 @@ export declare const useDomainUnassign: <TError = AxiosError<unknown, any>, TCon
368
600
  * @summary HAL Hosting Account Info
369
601
  */
370
602
  export declare const hostingAccount: (hostingId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingAccount200>>;
371
- export declare const getHostingAccountQueryKey: (hostingId: string) => string[];
603
+ export declare const getHostingAccountQueryKey: (hostingId: string) => readonly [`/v1/hosting/${string}`];
604
+ export declare const getHostingAccountQueryOptions: <TData = AxiosResponse<HostingAccount200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
605
+ query?: UseQueryOptions<AxiosResponse<HostingAccount200, any>, TError, TData, QueryKey> | undefined;
606
+ axios?: AxiosRequestConfig<any> | undefined;
607
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingAccount200, any>, TError, TData, QueryKey> & {
608
+ queryKey: QueryKey;
609
+ };
372
610
  export declare type HostingAccountQueryResult = NonNullable<Awaited<ReturnType<typeof hostingAccount>>>;
373
611
  export declare type HostingAccountQueryError = AxiosError<unknown>;
612
+ /**
613
+ * @summary HAL Hosting Account Info
614
+ */
374
615
  export declare const useHostingAccount: <TData = AxiosResponse<HostingAccount200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
375
616
  query?: UseQueryOptions<AxiosResponse<HostingAccount200, any>, TError, TData, QueryKey> | undefined;
376
617
  axios?: AxiosRequestConfig<any> | undefined;
@@ -382,9 +623,18 @@ export declare const useHostingAccount: <TData = AxiosResponse<HostingAccount200
382
623
  * @summary addon list
383
624
  */
384
625
  export declare const hostingAddons: (hostingId: string, params?: HostingAddonsParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingAddons200>>;
385
- export declare const getHostingAddonsQueryKey: (hostingId: string, params?: HostingAddonsParams) => (string | HostingAddonsParams)[];
626
+ export declare const getHostingAddonsQueryKey: (hostingId: string, params?: HostingAddonsParams) => readonly [`/v1/hosting/${string}/addons`, ...HostingAddonsParams[]];
627
+ export declare const getHostingAddonsQueryOptions: <TData = AxiosResponse<HostingAddons200, any>, TError = AxiosError<unknown, any>>(hostingId: string, params?: HostingAddonsParams, options?: {
628
+ query?: UseQueryOptions<AxiosResponse<HostingAddons200, any>, TError, TData, QueryKey> | undefined;
629
+ axios?: AxiosRequestConfig<any> | undefined;
630
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingAddons200, any>, TError, TData, QueryKey> & {
631
+ queryKey: QueryKey;
632
+ };
386
633
  export declare type HostingAddonsQueryResult = NonNullable<Awaited<ReturnType<typeof hostingAddons>>>;
387
634
  export declare type HostingAddonsQueryError = AxiosError<unknown>;
635
+ /**
636
+ * @summary addon list
637
+ */
388
638
  export declare const useHostingAddons: <TData = AxiosResponse<HostingAddons200, any>, TError = AxiosError<unknown, any>>(hostingId: string, params?: HostingAddonsParams, options?: {
389
639
  query?: UseQueryOptions<AxiosResponse<HostingAddons200, any>, TError, TData, QueryKey> | undefined;
390
640
  axios?: AxiosRequestConfig<any> | undefined;
@@ -396,9 +646,18 @@ export declare const useHostingAddons: <TData = AxiosResponse<HostingAddons200,
396
646
  * @summary server status/info
397
647
  */
398
648
  export declare const hostingAdvancedServer: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingAdvancedServer200>>;
399
- export declare const getHostingAdvancedServerQueryKey: (hostingId: number) => string[];
649
+ export declare const getHostingAdvancedServerQueryKey: (hostingId: number) => readonly [`/v1/hosting/${number}/advanced/server`];
650
+ export declare const getHostingAdvancedServerQueryOptions: <TData = AxiosResponse<HostingAdvancedServer200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
651
+ query?: UseQueryOptions<AxiosResponse<HostingAdvancedServer200, any>, TError, TData, QueryKey> | undefined;
652
+ axios?: AxiosRequestConfig<any> | undefined;
653
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingAdvancedServer200, any>, TError, TData, QueryKey> & {
654
+ queryKey: QueryKey;
655
+ };
400
656
  export declare type HostingAdvancedServerQueryResult = NonNullable<Awaited<ReturnType<typeof hostingAdvancedServer>>>;
401
657
  export declare type HostingAdvancedServerQueryError = AxiosError<unknown>;
658
+ /**
659
+ * @summary server status/info
660
+ */
402
661
  export declare const useHostingAdvancedServer: <TData = AxiosResponse<HostingAdvancedServer200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
403
662
  query?: UseQueryOptions<AxiosResponse<HostingAdvancedServer200, any>, TError, TData, QueryKey> | undefined;
404
663
  axios?: AxiosRequestConfig<any> | undefined;
@@ -410,16 +669,29 @@ export declare const useHostingAdvancedServer: <TData = AxiosResponse<HostingAdv
410
669
  * @summary server_status
411
670
  */
412
671
  export declare const hostingAdvancedServerStatus: (hostingId: number, hostingAdvancedServerStatusBody: HostingAdvancedServerStatusBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingAdvancedServerStatus200>>;
672
+ export declare const getHostingAdvancedServerStatusMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
673
+ mutation?: UseMutationOptions<AxiosResponse<HostingAdvancedServerStatus200, any>, TError, {
674
+ hostingId: number;
675
+ data: HostingAdvancedServerStatusBody;
676
+ }, TContext> | undefined;
677
+ axios?: AxiosRequestConfig<any> | undefined;
678
+ } | undefined) => UseMutationOptions<AxiosResponse<HostingAdvancedServerStatus200, any>, TError, {
679
+ hostingId: number;
680
+ data: HostingAdvancedServerStatusBody;
681
+ }, TContext>;
413
682
  export declare type HostingAdvancedServerStatusMutationResult = NonNullable<Awaited<ReturnType<typeof hostingAdvancedServerStatus>>>;
414
683
  export declare type HostingAdvancedServerStatusMutationBody = HostingAdvancedServerStatusBody;
415
684
  export declare type HostingAdvancedServerStatusMutationError = AxiosError<unknown>;
685
+ /**
686
+ * @summary server_status
687
+ */
416
688
  export declare const useHostingAdvancedServerStatus: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
417
689
  mutation?: UseMutationOptions<AxiosResponse<HostingAdvancedServerStatus200, any>, TError, {
418
690
  hostingId: number;
419
691
  data: HostingAdvancedServerStatusBody;
420
692
  }, TContext> | undefined;
421
693
  axios?: AxiosRequestConfig<any> | undefined;
422
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingAdvancedServerStatus200, any>, TError, {
694
+ } | undefined) => UseMutationResult<AxiosResponse<HostingAdvancedServerStatus200, any>, TError, {
423
695
  hostingId: number;
424
696
  data: HostingAdvancedServerStatusBody;
425
697
  }, TContext>;
@@ -428,16 +700,29 @@ export declare const useHostingAdvancedServerStatus: <TError = AxiosError<unknow
428
700
  * @summary Update user account password
429
701
  */
430
702
  export declare const hostingAdvancedPassword: (hostingId: number, hostingAdvancedPasswordBody: HostingAdvancedPasswordBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingAdvancedPassword200>>;
703
+ export declare const getHostingAdvancedPasswordMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
704
+ mutation?: UseMutationOptions<AxiosResponse<HostingAdvancedPassword200, any>, TError, {
705
+ hostingId: number;
706
+ data: HostingAdvancedPasswordBody;
707
+ }, TContext> | undefined;
708
+ axios?: AxiosRequestConfig<any> | undefined;
709
+ } | undefined) => UseMutationOptions<AxiosResponse<HostingAdvancedPassword200, any>, TError, {
710
+ hostingId: number;
711
+ data: HostingAdvancedPasswordBody;
712
+ }, TContext>;
431
713
  export declare type HostingAdvancedPasswordMutationResult = NonNullable<Awaited<ReturnType<typeof hostingAdvancedPassword>>>;
432
714
  export declare type HostingAdvancedPasswordMutationBody = HostingAdvancedPasswordBody;
433
715
  export declare type HostingAdvancedPasswordMutationError = AxiosError<unknown>;
716
+ /**
717
+ * @summary Update user account password
718
+ */
434
719
  export declare const useHostingAdvancedPassword: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
435
720
  mutation?: UseMutationOptions<AxiosResponse<HostingAdvancedPassword200, any>, TError, {
436
721
  hostingId: number;
437
722
  data: HostingAdvancedPasswordBody;
438
723
  }, TContext> | undefined;
439
724
  axios?: AxiosRequestConfig<any> | undefined;
440
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingAdvancedPassword200, any>, TError, {
725
+ } | undefined) => UseMutationResult<AxiosResponse<HostingAdvancedPassword200, any>, TError, {
441
726
  hostingId: number;
442
727
  data: HostingAdvancedPasswordBody;
443
728
  }, TContext>;
@@ -446,9 +731,18 @@ export declare const useHostingAdvancedPassword: <TError = AxiosError<unknown, a
446
731
  * @summary hosting sso_whm
447
732
  */
448
733
  export declare const hostingAdvancedSsoWhm: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingAdvancedSsoWhm200>>;
449
- export declare const getHostingAdvancedSsoWhmQueryKey: (hostingId: number) => string[];
734
+ export declare const getHostingAdvancedSsoWhmQueryKey: (hostingId: number) => readonly [`/v1/hosting/${number}/advanced/sso_whm`];
735
+ export declare const getHostingAdvancedSsoWhmQueryOptions: <TData = AxiosResponse<HostingAdvancedSsoWhm200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
736
+ query?: UseQueryOptions<AxiosResponse<HostingAdvancedSsoWhm200, any>, TError, TData, QueryKey> | undefined;
737
+ axios?: AxiosRequestConfig<any> | undefined;
738
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingAdvancedSsoWhm200, any>, TError, TData, QueryKey> & {
739
+ queryKey: QueryKey;
740
+ };
450
741
  export declare type HostingAdvancedSsoWhmQueryResult = NonNullable<Awaited<ReturnType<typeof hostingAdvancedSsoWhm>>>;
451
742
  export declare type HostingAdvancedSsoWhmQueryError = AxiosError<unknown>;
743
+ /**
744
+ * @summary hosting sso_whm
745
+ */
452
746
  export declare const useHostingAdvancedSsoWhm: <TData = AxiosResponse<HostingAdvancedSsoWhm200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
453
747
  query?: UseQueryOptions<AxiosResponse<HostingAdvancedSsoWhm200, any>, TError, TData, QueryKey> | undefined;
454
748
  axios?: AxiosRequestConfig<any> | undefined;
@@ -460,9 +754,18 @@ export declare const useHostingAdvancedSsoWhm: <TData = AxiosResponse<HostingAdv
460
754
  * @summary hosting system_console
461
755
  */
462
756
  export declare const hostingAdvancedSystemConsole: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingAdvancedSystemConsole200>>;
463
- export declare const getHostingAdvancedSystemConsoleQueryKey: (hostingId: number) => string[];
757
+ export declare const getHostingAdvancedSystemConsoleQueryKey: (hostingId: number) => readonly [`/v1/hosting/${number}/advanced/system-console`];
758
+ export declare const getHostingAdvancedSystemConsoleQueryOptions: <TData = AxiosResponse<HostingAdvancedSystemConsole200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
759
+ query?: UseQueryOptions<AxiosResponse<HostingAdvancedSystemConsole200, any>, TError, TData, QueryKey> | undefined;
760
+ axios?: AxiosRequestConfig<any> | undefined;
761
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingAdvancedSystemConsole200, any>, TError, TData, QueryKey> & {
762
+ queryKey: QueryKey;
763
+ };
464
764
  export declare type HostingAdvancedSystemConsoleQueryResult = NonNullable<Awaited<ReturnType<typeof hostingAdvancedSystemConsole>>>;
465
765
  export declare type HostingAdvancedSystemConsoleQueryError = AxiosError<unknown>;
766
+ /**
767
+ * @summary hosting system_console
768
+ */
466
769
  export declare const useHostingAdvancedSystemConsole: <TData = AxiosResponse<HostingAdvancedSystemConsole200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
467
770
  query?: UseQueryOptions<AxiosResponse<HostingAdvancedSystemConsole200, any>, TError, TData, QueryKey> | undefined;
468
771
  axios?: AxiosRequestConfig<any> | undefined;
@@ -474,9 +777,18 @@ export declare const useHostingAdvancedSystemConsole: <TData = AxiosResponse<Hos
474
777
  * @summary hosting capabilities
475
778
  */
476
779
  export declare const hostingCapabilities: (hostingId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingCapabilities200>>;
477
- export declare const getHostingCapabilitiesQueryKey: (hostingId: string) => string[];
780
+ export declare const getHostingCapabilitiesQueryKey: (hostingId: string) => readonly [`/v1/hosting/${string}/capabilities`];
781
+ export declare const getHostingCapabilitiesQueryOptions: <TData = AxiosResponse<HostingCapabilities200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
782
+ query?: UseQueryOptions<AxiosResponse<HostingCapabilities200, any>, TError, TData, QueryKey> | undefined;
783
+ axios?: AxiosRequestConfig<any> | undefined;
784
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingCapabilities200, any>, TError, TData, QueryKey> & {
785
+ queryKey: QueryKey;
786
+ };
478
787
  export declare type HostingCapabilitiesQueryResult = NonNullable<Awaited<ReturnType<typeof hostingCapabilities>>>;
479
788
  export declare type HostingCapabilitiesQueryError = AxiosError<unknown>;
789
+ /**
790
+ * @summary hosting capabilities
791
+ */
480
792
  export declare const useHostingCapabilities: <TData = AxiosResponse<HostingCapabilities200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
481
793
  query?: UseQueryOptions<AxiosResponse<HostingCapabilities200, any>, TError, TData, QueryKey> | undefined;
482
794
  axios?: AxiosRequestConfig<any> | undefined;
@@ -489,16 +801,30 @@ export declare const useHostingCapabilities: <TData = AxiosResponse<HostingCapab
489
801
  * @summary Deprecated - Install cloudflare basic addon
490
802
  */
491
803
  export declare const addonCloudflare: (hostingId: number, addonCloudflareBody: AddonCloudflareBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddonCloudflare200>>;
804
+ export declare const getAddonCloudflareMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
805
+ mutation?: UseMutationOptions<AxiosResponse<AddonCloudflare200, any>, TError, {
806
+ hostingId: number;
807
+ data: AddonCloudflareBody;
808
+ }, TContext> | undefined;
809
+ axios?: AxiosRequestConfig<any> | undefined;
810
+ } | undefined) => UseMutationOptions<AxiosResponse<AddonCloudflare200, any>, TError, {
811
+ hostingId: number;
812
+ data: AddonCloudflareBody;
813
+ }, TContext>;
492
814
  export declare type AddonCloudflareMutationResult = NonNullable<Awaited<ReturnType<typeof addonCloudflare>>>;
493
815
  export declare type AddonCloudflareMutationBody = AddonCloudflareBody;
494
816
  export declare type AddonCloudflareMutationError = AxiosError<unknown>;
817
+ /**
818
+ * @deprecated
819
+ * @summary Deprecated - Install cloudflare basic addon
820
+ */
495
821
  export declare const useAddonCloudflare: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
496
822
  mutation?: UseMutationOptions<AxiosResponse<AddonCloudflare200, any>, TError, {
497
823
  hostingId: number;
498
824
  data: AddonCloudflareBody;
499
825
  }, TContext> | undefined;
500
826
  axios?: AxiosRequestConfig<any> | undefined;
501
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<AddonCloudflare200, any>, TError, {
827
+ } | undefined) => UseMutationResult<AxiosResponse<AddonCloudflare200, any>, TError, {
502
828
  hostingId: number;
503
829
  data: AddonCloudflareBody;
504
830
  }, TContext>;
@@ -507,9 +833,18 @@ export declare const useAddonCloudflare: <TError = AxiosError<unknown, any>, TCo
507
833
  * @summary cron_list
508
834
  */
509
835
  export declare const listCrons: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<ListCrons200>>;
510
- export declare const getListCronsQueryKey: (hostingId: number) => string[];
836
+ export declare const getListCronsQueryKey: (hostingId: number) => readonly [`/v1/hosting/${number}/crontab`];
837
+ export declare const getListCronsQueryOptions: <TData = AxiosResponse<ListCrons200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
838
+ query?: UseQueryOptions<AxiosResponse<ListCrons200, any>, TError, TData, QueryKey> | undefined;
839
+ axios?: AxiosRequestConfig<any> | undefined;
840
+ } | undefined) => UseQueryOptions<AxiosResponse<ListCrons200, any>, TError, TData, QueryKey> & {
841
+ queryKey: QueryKey;
842
+ };
511
843
  export declare type ListCronsQueryResult = NonNullable<Awaited<ReturnType<typeof listCrons>>>;
512
844
  export declare type ListCronsQueryError = AxiosError<unknown>;
845
+ /**
846
+ * @summary cron_list
847
+ */
513
848
  export declare const useListCrons: <TData = AxiosResponse<ListCrons200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
514
849
  query?: UseQueryOptions<AxiosResponse<ListCrons200, any>, TError, TData, QueryKey> | undefined;
515
850
  axios?: AxiosRequestConfig<any> | undefined;
@@ -521,16 +856,29 @@ export declare const useListCrons: <TData = AxiosResponse<ListCrons200, any>, TE
521
856
  * @summary cron_add
522
857
  */
523
858
  export declare const addCron: (hostingId: number, addCronBody: AddCronBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddCron200>>;
524
- export declare type AddCronMutationResult = NonNullable<Awaited<ReturnType<typeof addCron>>>;
525
- export declare type AddCronMutationBody = AddCronBody;
526
- export declare type AddCronMutationError = AxiosError<AddCron400>;
859
+ export declare const getAddCronMutationOptions: <TError = AxiosError<AddCron400, any>, TContext = unknown>(options?: {
860
+ mutation?: UseMutationOptions<AxiosResponse<AddCron200, any>, TError, {
861
+ hostingId: number;
862
+ data: AddCronBody;
863
+ }, TContext> | undefined;
864
+ axios?: AxiosRequestConfig<any> | undefined;
865
+ } | undefined) => UseMutationOptions<AxiosResponse<AddCron200, any>, TError, {
866
+ hostingId: number;
867
+ data: AddCronBody;
868
+ }, TContext>;
869
+ export declare type AddCronMutationResult = NonNullable<Awaited<ReturnType<typeof addCron>>>;
870
+ export declare type AddCronMutationBody = AddCronBody;
871
+ export declare type AddCronMutationError = AxiosError<AddCron400>;
872
+ /**
873
+ * @summary cron_add
874
+ */
527
875
  export declare const useAddCron: <TError = AxiosError<AddCron400, any>, TContext = unknown>(options?: {
528
876
  mutation?: UseMutationOptions<AxiosResponse<AddCron200, any>, TError, {
529
877
  hostingId: number;
530
878
  data: AddCronBody;
531
879
  }, TContext> | undefined;
532
880
  axios?: AxiosRequestConfig<any> | undefined;
533
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<AddCron200, any>, TError, {
881
+ } | undefined) => UseMutationResult<AxiosResponse<AddCron200, any>, TError, {
534
882
  hostingId: number;
535
883
  data: AddCronBody;
536
884
  }, TContext>;
@@ -539,16 +887,29 @@ export declare const useAddCron: <TError = AxiosError<AddCron400, any>, TContext
539
887
  * @summary cron_update
540
888
  */
541
889
  export declare const updateCron: (hostingId: number, updateCronBody: UpdateCronBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<UpdateCron200>>;
890
+ export declare const getUpdateCronMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
891
+ mutation?: UseMutationOptions<AxiosResponse<UpdateCron200, any>, TError, {
892
+ hostingId: number;
893
+ data: UpdateCronBody;
894
+ }, TContext> | undefined;
895
+ axios?: AxiosRequestConfig<any> | undefined;
896
+ } | undefined) => UseMutationOptions<AxiosResponse<UpdateCron200, any>, TError, {
897
+ hostingId: number;
898
+ data: UpdateCronBody;
899
+ }, TContext>;
542
900
  export declare type UpdateCronMutationResult = NonNullable<Awaited<ReturnType<typeof updateCron>>>;
543
901
  export declare type UpdateCronMutationBody = UpdateCronBody;
544
902
  export declare type UpdateCronMutationError = AxiosError<unknown>;
903
+ /**
904
+ * @summary cron_update
905
+ */
545
906
  export declare const useUpdateCron: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
546
907
  mutation?: UseMutationOptions<AxiosResponse<UpdateCron200, any>, TError, {
547
908
  hostingId: number;
548
909
  data: UpdateCronBody;
549
910
  }, TContext> | undefined;
550
911
  axios?: AxiosRequestConfig<any> | undefined;
551
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<UpdateCron200, any>, TError, {
912
+ } | undefined) => UseMutationResult<AxiosResponse<UpdateCron200, any>, TError, {
552
913
  hostingId: number;
553
914
  data: UpdateCronBody;
554
915
  }, TContext>;
@@ -557,16 +918,29 @@ export declare const useUpdateCron: <TError = AxiosError<unknown, any>, TContext
557
918
  * @summary cron_delete
558
919
  */
559
920
  export declare const cron: (hostingId: number, cronBody: CronBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<Cron200>>;
921
+ export declare const getCronMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
922
+ mutation?: UseMutationOptions<AxiosResponse<Cron200, any>, TError, {
923
+ hostingId: number;
924
+ data: CronBody;
925
+ }, TContext> | undefined;
926
+ axios?: AxiosRequestConfig<any> | undefined;
927
+ } | undefined) => UseMutationOptions<AxiosResponse<Cron200, any>, TError, {
928
+ hostingId: number;
929
+ data: CronBody;
930
+ }, TContext>;
560
931
  export declare type CronMutationResult = NonNullable<Awaited<ReturnType<typeof cron>>>;
561
932
  export declare type CronMutationBody = CronBody;
562
933
  export declare type CronMutationError = AxiosError<unknown>;
934
+ /**
935
+ * @summary cron_delete
936
+ */
563
937
  export declare const useCron: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
564
938
  mutation?: UseMutationOptions<AxiosResponse<Cron200, any>, TError, {
565
939
  hostingId: number;
566
940
  data: CronBody;
567
941
  }, TContext> | undefined;
568
942
  axios?: AxiosRequestConfig<any> | undefined;
569
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<Cron200, any>, TError, {
943
+ } | undefined) => UseMutationResult<AxiosResponse<Cron200, any>, TError, {
570
944
  hostingId: number;
571
945
  data: CronBody;
572
946
  }, TContext>;
@@ -575,16 +949,29 @@ export declare const useCron: <TError = AxiosError<unknown, any>, TContext = unk
575
949
  * @summary Create a database for an account
576
950
  */
577
951
  export declare const dbAdd: (hostingId: number, dbAddBody: DbAddBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<DbAdd200>>;
952
+ export declare const getDbAddMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
953
+ mutation?: UseMutationOptions<AxiosResponse<DbAdd200, any>, TError, {
954
+ hostingId: number;
955
+ data: DbAddBody;
956
+ }, TContext> | undefined;
957
+ axios?: AxiosRequestConfig<any> | undefined;
958
+ } | undefined) => UseMutationOptions<AxiosResponse<DbAdd200, any>, TError, {
959
+ hostingId: number;
960
+ data: DbAddBody;
961
+ }, TContext>;
578
962
  export declare type DbAddMutationResult = NonNullable<Awaited<ReturnType<typeof dbAdd>>>;
579
963
  export declare type DbAddMutationBody = DbAddBody;
580
964
  export declare type DbAddMutationError = AxiosError<unknown>;
965
+ /**
966
+ * @summary Create a database for an account
967
+ */
581
968
  export declare const useDbAdd: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
582
969
  mutation?: UseMutationOptions<AxiosResponse<DbAdd200, any>, TError, {
583
970
  hostingId: number;
584
971
  data: DbAddBody;
585
972
  }, TContext> | undefined;
586
973
  axios?: AxiosRequestConfig<any> | undefined;
587
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<DbAdd200, any>, TError, {
974
+ } | undefined) => UseMutationResult<AxiosResponse<DbAdd200, any>, TError, {
588
975
  hostingId: number;
589
976
  data: DbAddBody;
590
977
  }, TContext>;
@@ -593,16 +980,29 @@ export declare const useDbAdd: <TError = AxiosError<unknown, any>, TContext = un
593
980
  * @summary Delete db account
594
981
  */
595
982
  export declare const db: (hostingId: number, dbBody: DbBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<Db200>>;
983
+ export declare const getDbMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
984
+ mutation?: UseMutationOptions<AxiosResponse<Db200, any>, TError, {
985
+ hostingId: number;
986
+ data: DbBody;
987
+ }, TContext> | undefined;
988
+ axios?: AxiosRequestConfig<any> | undefined;
989
+ } | undefined) => UseMutationOptions<AxiosResponse<Db200, any>, TError, {
990
+ hostingId: number;
991
+ data: DbBody;
992
+ }, TContext>;
596
993
  export declare type DbMutationResult = NonNullable<Awaited<ReturnType<typeof db>>>;
597
994
  export declare type DbMutationBody = DbBody;
598
995
  export declare type DbMutationError = AxiosError<unknown>;
996
+ /**
997
+ * @summary Delete db account
998
+ */
599
999
  export declare const useDb: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
600
1000
  mutation?: UseMutationOptions<AxiosResponse<Db200, any>, TError, {
601
1001
  hostingId: number;
602
1002
  data: DbBody;
603
1003
  }, TContext> | undefined;
604
1004
  axios?: AxiosRequestConfig<any> | undefined;
605
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<Db200, any>, TError, {
1005
+ } | undefined) => UseMutationResult<AxiosResponse<Db200, any>, TError, {
606
1006
  hostingId: number;
607
1007
  data: DbBody;
608
1008
  }, TContext>;
@@ -611,9 +1011,18 @@ export declare const useDb: <TError = AxiosError<unknown, any>, TContext = unkno
611
1011
  * @summary Get list of database name
612
1012
  */
613
1013
  export declare const dbList: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<DbList200>>;
614
- export declare const getDbListQueryKey: (hostingId: number) => string[];
1014
+ export declare const getDbListQueryKey: (hostingId: number) => readonly [`/v1/hosting/${number}/db`];
1015
+ export declare const getDbListQueryOptions: <TData = AxiosResponse<DbList200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
1016
+ query?: UseQueryOptions<AxiosResponse<DbList200, any>, TError, TData, QueryKey> | undefined;
1017
+ axios?: AxiosRequestConfig<any> | undefined;
1018
+ } | undefined) => UseQueryOptions<AxiosResponse<DbList200, any>, TError, TData, QueryKey> & {
1019
+ queryKey: QueryKey;
1020
+ };
615
1021
  export declare type DbListQueryResult = NonNullable<Awaited<ReturnType<typeof dbList>>>;
616
1022
  export declare type DbListQueryError = AxiosError<unknown>;
1023
+ /**
1024
+ * @summary Get list of database name
1025
+ */
617
1026
  export declare const useDbList: <TData = AxiosResponse<DbList200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
618
1027
  query?: UseQueryOptions<AxiosResponse<DbList200, any>, TError, TData, QueryKey> | undefined;
619
1028
  axios?: AxiosRequestConfig<any> | undefined;
@@ -625,9 +1034,18 @@ export declare const useDbList: <TData = AxiosResponse<DbList200, any>, TError =
625
1034
  * @summary DB usage
626
1035
  */
627
1036
  export declare const dbUsage: (hostingId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<DbUsage200>>;
628
- export declare const getDbUsageQueryKey: (hostingId: string) => string[];
1037
+ export declare const getDbUsageQueryKey: (hostingId: string) => readonly [`/v1/hosting/${string}/db/usage`];
1038
+ export declare const getDbUsageQueryOptions: <TData = AxiosResponse<DbUsage200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
1039
+ query?: UseQueryOptions<AxiosResponse<DbUsage200, any>, TError, TData, QueryKey> | undefined;
1040
+ axios?: AxiosRequestConfig<any> | undefined;
1041
+ } | undefined) => UseQueryOptions<AxiosResponse<DbUsage200, any>, TError, TData, QueryKey> & {
1042
+ queryKey: QueryKey;
1043
+ };
629
1044
  export declare type DbUsageQueryResult = NonNullable<Awaited<ReturnType<typeof dbUsage>>>;
630
1045
  export declare type DbUsageQueryError = AxiosError<unknown>;
1046
+ /**
1047
+ * @summary DB usage
1048
+ */
631
1049
  export declare const useDbUsage: <TData = AxiosResponse<DbUsage200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
632
1050
  query?: UseQueryOptions<AxiosResponse<DbUsage200, any>, TError, TData, QueryKey> | undefined;
633
1051
  axios?: AxiosRequestConfig<any> | undefined;
@@ -639,9 +1057,18 @@ export declare const useDbUsage: <TData = AxiosResponse<DbUsage200, any>, TError
639
1057
  * @summary Get user privileges on a database.
640
1058
  */
641
1059
  export declare const dbUserPrivsGet: (hostingId: number, params: DbUserPrivsGetParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<DbUserPrivsGet200>>;
642
- export declare const getDbUserPrivsGetQueryKey: (hostingId: number, params: DbUserPrivsGetParams) => (string | DbUserPrivsGetParams)[];
1060
+ export declare const getDbUserPrivsGetQueryKey: (hostingId: number, params: DbUserPrivsGetParams) => readonly [`/v1/hosting/${number}/db/user/privileges`, ...DbUserPrivsGetParams[]];
1061
+ export declare const getDbUserPrivsGetQueryOptions: <TData = AxiosResponse<DbUserPrivsGet200, any>, TError = AxiosError<unknown, any>>(hostingId: number, params: DbUserPrivsGetParams, options?: {
1062
+ query?: UseQueryOptions<AxiosResponse<DbUserPrivsGet200, any>, TError, TData, QueryKey> | undefined;
1063
+ axios?: AxiosRequestConfig<any> | undefined;
1064
+ } | undefined) => UseQueryOptions<AxiosResponse<DbUserPrivsGet200, any>, TError, TData, QueryKey> & {
1065
+ queryKey: QueryKey;
1066
+ };
643
1067
  export declare type DbUserPrivsGetQueryResult = NonNullable<Awaited<ReturnType<typeof dbUserPrivsGet>>>;
644
1068
  export declare type DbUserPrivsGetQueryError = AxiosError<unknown>;
1069
+ /**
1070
+ * @summary Get user privileges on a database.
1071
+ */
645
1072
  export declare const useDbUserPrivsGet: <TData = AxiosResponse<DbUserPrivsGet200, any>, TError = AxiosError<unknown, any>>(hostingId: number, params: DbUserPrivsGetParams, options?: {
646
1073
  query?: UseQueryOptions<AxiosResponse<DbUserPrivsGet200, any>, TError, TData, QueryKey> | undefined;
647
1074
  axios?: AxiosRequestConfig<any> | undefined;
@@ -653,16 +1080,29 @@ export declare const useDbUserPrivsGet: <TData = AxiosResponse<DbUserPrivsGet200
653
1080
  * @summary Create a database user
654
1081
  */
655
1082
  export declare const dbUserAdd: (hostingId: number, dbUserAddBody: DbUserAddBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<DbUserAdd200>>;
1083
+ export declare const getDbUserAddMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1084
+ mutation?: UseMutationOptions<AxiosResponse<DbUserAdd200, any>, TError, {
1085
+ hostingId: number;
1086
+ data: DbUserAddBody;
1087
+ }, TContext> | undefined;
1088
+ axios?: AxiosRequestConfig<any> | undefined;
1089
+ } | undefined) => UseMutationOptions<AxiosResponse<DbUserAdd200, any>, TError, {
1090
+ hostingId: number;
1091
+ data: DbUserAddBody;
1092
+ }, TContext>;
656
1093
  export declare type DbUserAddMutationResult = NonNullable<Awaited<ReturnType<typeof dbUserAdd>>>;
657
1094
  export declare type DbUserAddMutationBody = DbUserAddBody;
658
1095
  export declare type DbUserAddMutationError = AxiosError<unknown>;
1096
+ /**
1097
+ * @summary Create a database user
1098
+ */
659
1099
  export declare const useDbUserAdd: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
660
1100
  mutation?: UseMutationOptions<AxiosResponse<DbUserAdd200, any>, TError, {
661
1101
  hostingId: number;
662
1102
  data: DbUserAddBody;
663
1103
  }, TContext> | undefined;
664
1104
  axios?: AxiosRequestConfig<any> | undefined;
665
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<DbUserAdd200, any>, TError, {
1105
+ } | undefined) => UseMutationResult<AxiosResponse<DbUserAdd200, any>, TError, {
666
1106
  hostingId: number;
667
1107
  data: DbUserAddBody;
668
1108
  }, TContext>;
@@ -671,16 +1111,29 @@ export declare const useDbUserAdd: <TError = AxiosError<unknown, any>, TContext
671
1111
  * @summary Delete db user
672
1112
  */
673
1113
  export declare const dbUserDelete: (hostingId: number, dbUserDeleteBody: DbUserDeleteBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<DbUserDelete200>>;
1114
+ export declare const getDbUserDeleteMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1115
+ mutation?: UseMutationOptions<AxiosResponse<DbUserDelete200, any>, TError, {
1116
+ hostingId: number;
1117
+ data: DbUserDeleteBody;
1118
+ }, TContext> | undefined;
1119
+ axios?: AxiosRequestConfig<any> | undefined;
1120
+ } | undefined) => UseMutationOptions<AxiosResponse<DbUserDelete200, any>, TError, {
1121
+ hostingId: number;
1122
+ data: DbUserDeleteBody;
1123
+ }, TContext>;
674
1124
  export declare type DbUserDeleteMutationResult = NonNullable<Awaited<ReturnType<typeof dbUserDelete>>>;
675
1125
  export declare type DbUserDeleteMutationBody = DbUserDeleteBody;
676
1126
  export declare type DbUserDeleteMutationError = AxiosError<unknown>;
1127
+ /**
1128
+ * @summary Delete db user
1129
+ */
677
1130
  export declare const useDbUserDelete: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
678
1131
  mutation?: UseMutationOptions<AxiosResponse<DbUserDelete200, any>, TError, {
679
1132
  hostingId: number;
680
1133
  data: DbUserDeleteBody;
681
1134
  }, TContext> | undefined;
682
1135
  axios?: AxiosRequestConfig<any> | undefined;
683
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<DbUserDelete200, any>, TError, {
1136
+ } | undefined) => UseMutationResult<AxiosResponse<DbUserDelete200, any>, TError, {
684
1137
  hostingId: number;
685
1138
  data: DbUserDeleteBody;
686
1139
  }, TContext>;
@@ -689,9 +1142,18 @@ export declare const useDbUserDelete: <TError = AxiosError<unknown, any>, TConte
689
1142
  * @summary Get list of db users
690
1143
  */
691
1144
  export declare const dbUserList: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<DbUserList200>>;
692
- export declare const getDbUserListQueryKey: (hostingId: number) => string[];
1145
+ export declare const getDbUserListQueryKey: (hostingId: number) => readonly [`/v1/hosting/${number}/db/users`];
1146
+ export declare const getDbUserListQueryOptions: <TData = AxiosResponse<DbUserList200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
1147
+ query?: UseQueryOptions<AxiosResponse<DbUserList200, any>, TError, TData, QueryKey> | undefined;
1148
+ axios?: AxiosRequestConfig<any> | undefined;
1149
+ } | undefined) => UseQueryOptions<AxiosResponse<DbUserList200, any>, TError, TData, QueryKey> & {
1150
+ queryKey: QueryKey;
1151
+ };
693
1152
  export declare type DbUserListQueryResult = NonNullable<Awaited<ReturnType<typeof dbUserList>>>;
694
1153
  export declare type DbUserListQueryError = AxiosError<unknown>;
1154
+ /**
1155
+ * @summary Get list of db users
1156
+ */
695
1157
  export declare const useDbUserList: <TData = AxiosResponse<DbUserList200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
696
1158
  query?: UseQueryOptions<AxiosResponse<DbUserList200, any>, TError, TData, QueryKey> | undefined;
697
1159
  axios?: AxiosRequestConfig<any> | undefined;
@@ -703,9 +1165,18 @@ export declare const useDbUserList: <TData = AxiosResponse<DbUserList200, any>,
703
1165
  * @summary domain list
704
1166
  */
705
1167
  export declare const domains: (hostingId: string, params?: DomainsParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<Domains200>>;
706
- export declare const getDomainsQueryKey: (hostingId: string, params?: DomainsParams) => (string | DomainsParams)[];
1168
+ export declare const getDomainsQueryKey: (hostingId: string, params?: DomainsParams) => readonly [`/v1/hosting/${string}/domains`, ...DomainsParams[]];
1169
+ export declare const getDomainsQueryOptions: <TData = AxiosResponse<Domains200, any>, TError = AxiosError<unknown, any>>(hostingId: string, params?: DomainsParams, options?: {
1170
+ query?: UseQueryOptions<AxiosResponse<Domains200, any>, TError, TData, QueryKey> | undefined;
1171
+ axios?: AxiosRequestConfig<any> | undefined;
1172
+ } | undefined) => UseQueryOptions<AxiosResponse<Domains200, any>, TError, TData, QueryKey> & {
1173
+ queryKey: QueryKey;
1174
+ };
707
1175
  export declare type DomainsQueryResult = NonNullable<Awaited<ReturnType<typeof domains>>>;
708
1176
  export declare type DomainsQueryError = AxiosError<unknown>;
1177
+ /**
1178
+ * @summary domain list
1179
+ */
709
1180
  export declare const useDomains: <TData = AxiosResponse<Domains200, any>, TError = AxiosError<unknown, any>>(hostingId: string, params?: DomainsParams, options?: {
710
1181
  query?: UseQueryOptions<AxiosResponse<Domains200, any>, TError, TData, QueryKey> | undefined;
711
1182
  axios?: AxiosRequestConfig<any> | undefined;
@@ -717,16 +1188,29 @@ export declare const useDomains: <TData = AxiosResponse<Domains200, any>, TError
717
1188
  * @summary Unassign the domain
718
1189
  */
719
1190
  export declare const hostingDomainsUnassign: (hostingId: string, hostingDomainsUnassignBody: HostingDomainsUnassignBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingDomainsUnassign200>>;
1191
+ export declare const getHostingDomainsUnassignMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1192
+ mutation?: UseMutationOptions<AxiosResponse<HostingDomainsUnassign200, any>, TError, {
1193
+ hostingId: string;
1194
+ data: HostingDomainsUnassignBody;
1195
+ }, TContext> | undefined;
1196
+ axios?: AxiosRequestConfig<any> | undefined;
1197
+ } | undefined) => UseMutationOptions<AxiosResponse<HostingDomainsUnassign200, any>, TError, {
1198
+ hostingId: string;
1199
+ data: HostingDomainsUnassignBody;
1200
+ }, TContext>;
720
1201
  export declare type HostingDomainsUnassignMutationResult = NonNullable<Awaited<ReturnType<typeof hostingDomainsUnassign>>>;
721
1202
  export declare type HostingDomainsUnassignMutationBody = HostingDomainsUnassignBody;
722
1203
  export declare type HostingDomainsUnassignMutationError = AxiosError<unknown>;
1204
+ /**
1205
+ * @summary Unassign the domain
1206
+ */
723
1207
  export declare const useHostingDomainsUnassign: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
724
1208
  mutation?: UseMutationOptions<AxiosResponse<HostingDomainsUnassign200, any>, TError, {
725
1209
  hostingId: string;
726
1210
  data: HostingDomainsUnassignBody;
727
1211
  }, TContext> | undefined;
728
1212
  axios?: AxiosRequestConfig<any> | undefined;
729
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingDomainsUnassign200, any>, TError, {
1213
+ } | undefined) => UseMutationResult<AxiosResponse<HostingDomainsUnassign200, any>, TError, {
730
1214
  hostingId: string;
731
1215
  data: HostingDomainsUnassignBody;
732
1216
  }, TContext>;
@@ -735,9 +1219,18 @@ export declare const useHostingDomainsUnassign: <TError = AxiosError<unknown, an
735
1219
  * @summary ecommerce info
736
1220
  */
737
1221
  export declare const hostingEcommerceInfo: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingEcommerceInfo200>>;
738
- export declare const getHostingEcommerceInfoQueryKey: (hostingId: number) => string[];
1222
+ export declare const getHostingEcommerceInfoQueryKey: (hostingId: number) => readonly [`/v1/hosting/${number}/ecommerce`];
1223
+ export declare const getHostingEcommerceInfoQueryOptions: <TData = AxiosResponse<HostingEcommerceInfo200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
1224
+ query?: UseQueryOptions<AxiosResponse<HostingEcommerceInfo200, any>, TError, TData, QueryKey> | undefined;
1225
+ axios?: AxiosRequestConfig<any> | undefined;
1226
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingEcommerceInfo200, any>, TError, TData, QueryKey> & {
1227
+ queryKey: QueryKey;
1228
+ };
739
1229
  export declare type HostingEcommerceInfoQueryResult = NonNullable<Awaited<ReturnType<typeof hostingEcommerceInfo>>>;
740
1230
  export declare type HostingEcommerceInfoQueryError = AxiosError<unknown>;
1231
+ /**
1232
+ * @summary ecommerce info
1233
+ */
741
1234
  export declare const useHostingEcommerceInfo: <TData = AxiosResponse<HostingEcommerceInfo200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
742
1235
  query?: UseQueryOptions<AxiosResponse<HostingEcommerceInfo200, any>, TError, TData, QueryKey> | undefined;
743
1236
  axios?: AxiosRequestConfig<any> | undefined;
@@ -749,9 +1242,18 @@ export declare const useHostingEcommerceInfo: <TData = AxiosResponse<HostingEcom
749
1242
  * @summary ftp list
750
1243
  */
751
1244
  export declare const hostingFtpList: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingFtpList200>>;
752
- export declare const getHostingFtpListQueryKey: (hostingId: number) => string[];
1245
+ export declare const getHostingFtpListQueryKey: (hostingId: number) => readonly [`/v1/hosting/${number}/ftp`];
1246
+ export declare const getHostingFtpListQueryOptions: <TData = AxiosResponse<HostingFtpList200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
1247
+ query?: UseQueryOptions<AxiosResponse<HostingFtpList200, any>, TError, TData, QueryKey> | undefined;
1248
+ axios?: AxiosRequestConfig<any> | undefined;
1249
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingFtpList200, any>, TError, TData, QueryKey> & {
1250
+ queryKey: QueryKey;
1251
+ };
753
1252
  export declare type HostingFtpListQueryResult = NonNullable<Awaited<ReturnType<typeof hostingFtpList>>>;
754
1253
  export declare type HostingFtpListQueryError = AxiosError<unknown>;
1254
+ /**
1255
+ * @summary ftp list
1256
+ */
755
1257
  export declare const useHostingFtpList: <TData = AxiosResponse<HostingFtpList200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
756
1258
  query?: UseQueryOptions<AxiosResponse<HostingFtpList200, any>, TError, TData, QueryKey> | undefined;
757
1259
  axios?: AxiosRequestConfig<any> | undefined;
@@ -763,16 +1265,29 @@ export declare const useHostingFtpList: <TData = AxiosResponse<HostingFtpList200
763
1265
  * @summary Add ftp account
764
1266
  */
765
1267
  export declare const hostingFtpAdd: (hostingId: number, hostingFtpAddBody: HostingFtpAddBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingFtpAdd200>>;
1268
+ export declare const getHostingFtpAddMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1269
+ mutation?: UseMutationOptions<AxiosResponse<HostingFtpAdd200, any>, TError, {
1270
+ hostingId: number;
1271
+ data: HostingFtpAddBody;
1272
+ }, TContext> | undefined;
1273
+ axios?: AxiosRequestConfig<any> | undefined;
1274
+ } | undefined) => UseMutationOptions<AxiosResponse<HostingFtpAdd200, any>, TError, {
1275
+ hostingId: number;
1276
+ data: HostingFtpAddBody;
1277
+ }, TContext>;
766
1278
  export declare type HostingFtpAddMutationResult = NonNullable<Awaited<ReturnType<typeof hostingFtpAdd>>>;
767
1279
  export declare type HostingFtpAddMutationBody = HostingFtpAddBody;
768
1280
  export declare type HostingFtpAddMutationError = AxiosError<unknown>;
1281
+ /**
1282
+ * @summary Add ftp account
1283
+ */
769
1284
  export declare const useHostingFtpAdd: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
770
1285
  mutation?: UseMutationOptions<AxiosResponse<HostingFtpAdd200, any>, TError, {
771
1286
  hostingId: number;
772
1287
  data: HostingFtpAddBody;
773
1288
  }, TContext> | undefined;
774
1289
  axios?: AxiosRequestConfig<any> | undefined;
775
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingFtpAdd200, any>, TError, {
1290
+ } | undefined) => UseMutationResult<AxiosResponse<HostingFtpAdd200, any>, TError, {
776
1291
  hostingId: number;
777
1292
  data: HostingFtpAddBody;
778
1293
  }, TContext>;
@@ -781,16 +1296,29 @@ export declare const useHostingFtpAdd: <TError = AxiosError<unknown, any>, TCont
781
1296
  * @summary Update ftp account
782
1297
  */
783
1298
  export declare const hostingFtpUpdate: (hostingId: number, hostingFtpUpdateBody: HostingFtpUpdateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingFtpUpdate200>>;
1299
+ export declare const getHostingFtpUpdateMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1300
+ mutation?: UseMutationOptions<AxiosResponse<HostingFtpUpdate200, any>, TError, {
1301
+ hostingId: number;
1302
+ data: HostingFtpUpdateBody;
1303
+ }, TContext> | undefined;
1304
+ axios?: AxiosRequestConfig<any> | undefined;
1305
+ } | undefined) => UseMutationOptions<AxiosResponse<HostingFtpUpdate200, any>, TError, {
1306
+ hostingId: number;
1307
+ data: HostingFtpUpdateBody;
1308
+ }, TContext>;
784
1309
  export declare type HostingFtpUpdateMutationResult = NonNullable<Awaited<ReturnType<typeof hostingFtpUpdate>>>;
785
1310
  export declare type HostingFtpUpdateMutationBody = HostingFtpUpdateBody;
786
1311
  export declare type HostingFtpUpdateMutationError = AxiosError<unknown>;
1312
+ /**
1313
+ * @summary Update ftp account
1314
+ */
787
1315
  export declare const useHostingFtpUpdate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
788
1316
  mutation?: UseMutationOptions<AxiosResponse<HostingFtpUpdate200, any>, TError, {
789
1317
  hostingId: number;
790
1318
  data: HostingFtpUpdateBody;
791
1319
  }, TContext> | undefined;
792
1320
  axios?: AxiosRequestConfig<any> | undefined;
793
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingFtpUpdate200, any>, TError, {
1321
+ } | undefined) => UseMutationResult<AxiosResponse<HostingFtpUpdate200, any>, TError, {
794
1322
  hostingId: number;
795
1323
  data: HostingFtpUpdateBody;
796
1324
  }, TContext>;
@@ -799,16 +1327,29 @@ export declare const useHostingFtpUpdate: <TError = AxiosError<unknown, any>, TC
799
1327
  * @summary Delete ftp account
800
1328
  */
801
1329
  export declare const hostingFtp: (hostingId: number, hostingFtpBody: HostingFtpBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingFtp200>>;
1330
+ export declare const getHostingFtpMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1331
+ mutation?: UseMutationOptions<AxiosResponse<HostingFtp200, any>, TError, {
1332
+ hostingId: number;
1333
+ data: HostingFtpBody;
1334
+ }, TContext> | undefined;
1335
+ axios?: AxiosRequestConfig<any> | undefined;
1336
+ } | undefined) => UseMutationOptions<AxiosResponse<HostingFtp200, any>, TError, {
1337
+ hostingId: number;
1338
+ data: HostingFtpBody;
1339
+ }, TContext>;
802
1340
  export declare type HostingFtpMutationResult = NonNullable<Awaited<ReturnType<typeof hostingFtp>>>;
803
1341
  export declare type HostingFtpMutationBody = HostingFtpBody;
804
1342
  export declare type HostingFtpMutationError = AxiosError<unknown>;
1343
+ /**
1344
+ * @summary Delete ftp account
1345
+ */
805
1346
  export declare const useHostingFtp: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
806
1347
  mutation?: UseMutationOptions<AxiosResponse<HostingFtp200, any>, TError, {
807
1348
  hostingId: number;
808
1349
  data: HostingFtpBody;
809
1350
  }, TContext> | undefined;
810
1351
  axios?: AxiosRequestConfig<any> | undefined;
811
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingFtp200, any>, TError, {
1352
+ } | undefined) => UseMutationResult<AxiosResponse<HostingFtp200, any>, TError, {
812
1353
  hostingId: number;
813
1354
  data: HostingFtpBody;
814
1355
  }, TContext>;
@@ -817,9 +1358,18 @@ export declare const useHostingFtp: <TError = AxiosError<unknown, any>, TContext
817
1358
  * @summary Hosting info
818
1359
  */
819
1360
  export declare const hostingInfo: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingInfo200>>;
820
- export declare const getHostingInfoQueryKey: (hostingId: number) => string[];
1361
+ export declare const getHostingInfoQueryKey: (hostingId: number) => readonly [`/v1/hosting/${number}/info`];
1362
+ export declare const getHostingInfoQueryOptions: <TData = AxiosResponse<HostingInfo200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
1363
+ query?: UseQueryOptions<AxiosResponse<HostingInfo200, any>, TError, TData, QueryKey> | undefined;
1364
+ axios?: AxiosRequestConfig<any> | undefined;
1365
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingInfo200, any>, TError, TData, QueryKey> & {
1366
+ queryKey: QueryKey;
1367
+ };
821
1368
  export declare type HostingInfoQueryResult = NonNullable<Awaited<ReturnType<typeof hostingInfo>>>;
822
1369
  export declare type HostingInfoQueryError = AxiosError<unknown>;
1370
+ /**
1371
+ * @summary Hosting info
1372
+ */
823
1373
  export declare const useHostingInfo: <TData = AxiosResponse<HostingInfo200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
824
1374
  query?: UseQueryOptions<AxiosResponse<HostingInfo200, any>, TError, TData, QueryKey> | undefined;
825
1375
  axios?: AxiosRequestConfig<any> | undefined;
@@ -831,9 +1381,18 @@ export declare const useHostingInfo: <TData = AxiosResponse<HostingInfo200, any>
831
1381
  * @summary info disk usage
832
1382
  */
833
1383
  export declare const hostingInfoDiskUsage: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingInfoDiskUsage200>>;
834
- export declare const getHostingInfoDiskUsageQueryKey: (hostingId: number) => string[];
1384
+ export declare const getHostingInfoDiskUsageQueryKey: (hostingId: number) => readonly [`/v1/hosting/${number}/info/diskusage`];
1385
+ export declare const getHostingInfoDiskUsageQueryOptions: <TData = AxiosResponse<HostingInfoDiskUsage200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
1386
+ query?: UseQueryOptions<AxiosResponse<HostingInfoDiskUsage200, any>, TError, TData, QueryKey> | undefined;
1387
+ axios?: AxiosRequestConfig<any> | undefined;
1388
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingInfoDiskUsage200, any>, TError, TData, QueryKey> & {
1389
+ queryKey: QueryKey;
1390
+ };
835
1391
  export declare type HostingInfoDiskUsageQueryResult = NonNullable<Awaited<ReturnType<typeof hostingInfoDiskUsage>>>;
836
1392
  export declare type HostingInfoDiskUsageQueryError = AxiosError<unknown>;
1393
+ /**
1394
+ * @summary info disk usage
1395
+ */
837
1396
  export declare const useHostingInfoDiskUsage: <TData = AxiosResponse<HostingInfoDiskUsage200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
838
1397
  query?: UseQueryOptions<AxiosResponse<HostingInfoDiskUsage200, any>, TError, TData, QueryKey> | undefined;
839
1398
  axios?: AxiosRequestConfig<any> | undefined;
@@ -845,15 +1404,28 @@ export declare const useHostingInfoDiskUsage: <TData = AxiosResponse<HostingInfo
845
1404
  * @summary Lead info
846
1405
  */
847
1406
  export declare const hostingLead: (hostingId: string, params?: HostingLeadParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingLead200>>;
1407
+ export declare const getHostingLeadMutationOptions: <TError = AxiosError<HostingLead400, any>, TContext = unknown>(options?: {
1408
+ mutation?: UseMutationOptions<AxiosResponse<HostingLead200, any>, TError, {
1409
+ hostingId: string;
1410
+ params?: HostingLeadParams | undefined;
1411
+ }, TContext> | undefined;
1412
+ axios?: AxiosRequestConfig<any> | undefined;
1413
+ } | undefined) => UseMutationOptions<AxiosResponse<HostingLead200, any>, TError, {
1414
+ hostingId: string;
1415
+ params?: HostingLeadParams | undefined;
1416
+ }, TContext>;
848
1417
  export declare type HostingLeadMutationResult = NonNullable<Awaited<ReturnType<typeof hostingLead>>>;
849
1418
  export declare type HostingLeadMutationError = AxiosError<HostingLead400>;
1419
+ /**
1420
+ * @summary Lead info
1421
+ */
850
1422
  export declare const useHostingLead: <TError = AxiosError<HostingLead400, any>, TContext = unknown>(options?: {
851
1423
  mutation?: UseMutationOptions<AxiosResponse<HostingLead200, any>, TError, {
852
1424
  hostingId: string;
853
1425
  params?: HostingLeadParams | undefined;
854
1426
  }, TContext> | undefined;
855
1427
  axios?: AxiosRequestConfig<any> | undefined;
856
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingLead200, any>, TError, {
1428
+ } | undefined) => UseMutationResult<AxiosResponse<HostingLead200, any>, TError, {
857
1429
  hostingId: string;
858
1430
  params?: HostingLeadParams | undefined;
859
1431
  }, TContext>;
@@ -862,9 +1434,18 @@ export declare const useHostingLead: <TError = AxiosError<HostingLead400, any>,
862
1434
  * @summary Wordpress migration status
863
1435
  */
864
1436
  export declare const hostingMigrationStatus: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingMigrationStatus200>>;
865
- export declare const getHostingMigrationStatusQueryKey: (hostingId: number) => string[];
1437
+ export declare const getHostingMigrationStatusQueryKey: (hostingId: number) => readonly [`/v1/hosting/${number}/migrations`];
1438
+ export declare const getHostingMigrationStatusQueryOptions: <TData = AxiosResponse<HostingMigrationStatus200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
1439
+ query?: UseQueryOptions<AxiosResponse<HostingMigrationStatus200, any>, TError, TData, QueryKey> | undefined;
1440
+ axios?: AxiosRequestConfig<any> | undefined;
1441
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingMigrationStatus200, any>, TError, TData, QueryKey> & {
1442
+ queryKey: QueryKey;
1443
+ };
866
1444
  export declare type HostingMigrationStatusQueryResult = NonNullable<Awaited<ReturnType<typeof hostingMigrationStatus>>>;
867
1445
  export declare type HostingMigrationStatusQueryError = AxiosError<unknown>;
1446
+ /**
1447
+ * @summary Wordpress migration status
1448
+ */
868
1449
  export declare const useHostingMigrationStatus: <TData = AxiosResponse<HostingMigrationStatus200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
869
1450
  query?: UseQueryOptions<AxiosResponse<HostingMigrationStatus200, any>, TError, TData, QueryKey> | undefined;
870
1451
  axios?: AxiosRequestConfig<any> | undefined;
@@ -876,16 +1457,29 @@ export declare const useHostingMigrationStatus: <TData = AxiosResponse<HostingMi
876
1457
  * @summary start the migration process for a site
877
1458
  */
878
1459
  export declare const hostingMigrations: (hostingId: string, hostingMigrationsBody: HostingMigrationsBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingMigrations200>>;
1460
+ export declare const getHostingMigrationsMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1461
+ mutation?: UseMutationOptions<AxiosResponse<HostingMigrations200, any>, TError, {
1462
+ hostingId: string;
1463
+ data: HostingMigrationsBody;
1464
+ }, TContext> | undefined;
1465
+ axios?: AxiosRequestConfig<any> | undefined;
1466
+ } | undefined) => UseMutationOptions<AxiosResponse<HostingMigrations200, any>, TError, {
1467
+ hostingId: string;
1468
+ data: HostingMigrationsBody;
1469
+ }, TContext>;
879
1470
  export declare type HostingMigrationsMutationResult = NonNullable<Awaited<ReturnType<typeof hostingMigrations>>>;
880
1471
  export declare type HostingMigrationsMutationBody = HostingMigrationsBody;
881
1472
  export declare type HostingMigrationsMutationError = AxiosError<unknown>;
1473
+ /**
1474
+ * @summary start the migration process for a site
1475
+ */
882
1476
  export declare const useHostingMigrations: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
883
1477
  mutation?: UseMutationOptions<AxiosResponse<HostingMigrations200, any>, TError, {
884
1478
  hostingId: string;
885
1479
  data: HostingMigrationsBody;
886
1480
  }, TContext> | undefined;
887
1481
  axios?: AxiosRequestConfig<any> | undefined;
888
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingMigrations200, any>, TError, {
1482
+ } | undefined) => UseMutationResult<AxiosResponse<HostingMigrations200, any>, TError, {
889
1483
  hostingId: string;
890
1484
  data: HostingMigrationsBody;
891
1485
  }, TContext>;
@@ -895,9 +1489,19 @@ export declare const useHostingMigrations: <TError = AxiosError<unknown, any>, T
895
1489
  * @summary Deprecated Migration ID check
896
1490
  */
897
1491
  export declare const hostingMigrationsCheck: (hostingId: number, params: HostingMigrationsCheckParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingMigrationsCheck200>>;
898
- export declare const getHostingMigrationsCheckQueryKey: (hostingId: number, params: HostingMigrationsCheckParams) => (string | HostingMigrationsCheckParams)[];
1492
+ export declare const getHostingMigrationsCheckQueryKey: (hostingId: number, params: HostingMigrationsCheckParams) => readonly [`/v1/hosting/${number}/migrations/check`, ...HostingMigrationsCheckParams[]];
1493
+ export declare const getHostingMigrationsCheckQueryOptions: <TData = AxiosResponse<HostingMigrationsCheck200, any>, TError = AxiosError<unknown, any>>(hostingId: number, params: HostingMigrationsCheckParams, options?: {
1494
+ query?: UseQueryOptions<AxiosResponse<HostingMigrationsCheck200, any>, TError, TData, QueryKey> | undefined;
1495
+ axios?: AxiosRequestConfig<any> | undefined;
1496
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingMigrationsCheck200, any>, TError, TData, QueryKey> & {
1497
+ queryKey: QueryKey;
1498
+ };
899
1499
  export declare type HostingMigrationsCheckQueryResult = NonNullable<Awaited<ReturnType<typeof hostingMigrationsCheck>>>;
900
1500
  export declare type HostingMigrationsCheckQueryError = AxiosError<unknown>;
1501
+ /**
1502
+ * @deprecated
1503
+ * @summary Deprecated Migration ID check
1504
+ */
901
1505
  export declare const useHostingMigrationsCheck: <TData = AxiosResponse<HostingMigrationsCheck200, any>, TError = AxiosError<unknown, any>>(hostingId: number, params: HostingMigrationsCheckParams, options?: {
902
1506
  query?: UseQueryOptions<AxiosResponse<HostingMigrationsCheck200, any>, TError, TData, QueryKey> | undefined;
903
1507
  axios?: AxiosRequestConfig<any> | undefined;
@@ -909,16 +1513,29 @@ export declare const useHostingMigrationsCheck: <TData = AxiosResponse<HostingMi
909
1513
  * @summary hosting migrations event
910
1514
  */
911
1515
  export declare const hostingMigrationsEvent: (hostingId: string, hostingMigrationsEventBody: HostingMigrationsEventBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingMigrationsEvent200>>;
1516
+ export declare const getHostingMigrationsEventMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1517
+ mutation?: UseMutationOptions<AxiosResponse<HostingMigrationsEvent200, any>, TError, {
1518
+ hostingId: string;
1519
+ data: HostingMigrationsEventBody;
1520
+ }, TContext> | undefined;
1521
+ axios?: AxiosRequestConfig<any> | undefined;
1522
+ } | undefined) => UseMutationOptions<AxiosResponse<HostingMigrationsEvent200, any>, TError, {
1523
+ hostingId: string;
1524
+ data: HostingMigrationsEventBody;
1525
+ }, TContext>;
912
1526
  export declare type HostingMigrationsEventMutationResult = NonNullable<Awaited<ReturnType<typeof hostingMigrationsEvent>>>;
913
1527
  export declare type HostingMigrationsEventMutationBody = HostingMigrationsEventBody;
914
1528
  export declare type HostingMigrationsEventMutationError = AxiosError<unknown>;
1529
+ /**
1530
+ * @summary hosting migrations event
1531
+ */
915
1532
  export declare const useHostingMigrationsEvent: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
916
1533
  mutation?: UseMutationOptions<AxiosResponse<HostingMigrationsEvent200, any>, TError, {
917
1534
  hostingId: string;
918
1535
  data: HostingMigrationsEventBody;
919
1536
  }, TContext> | undefined;
920
1537
  axios?: AxiosRequestConfig<any> | undefined;
921
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingMigrationsEvent200, any>, TError, {
1538
+ } | undefined) => UseMutationResult<AxiosResponse<HostingMigrationsEvent200, any>, TError, {
922
1539
  hostingId: string;
923
1540
  data: HostingMigrationsEventBody;
924
1541
  }, TContext>;
@@ -927,9 +1544,18 @@ export declare const useHostingMigrationsEvent: <TError = AxiosError<unknown, an
927
1544
  * @summary Wordpress migration information
928
1545
  */
929
1546
  export declare const hostingMigrationInfo: (hostingId: number, params: HostingMigrationInfoParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingMigrationInfo200>>;
930
- export declare const getHostingMigrationInfoQueryKey: (hostingId: number, params: HostingMigrationInfoParams) => (string | HostingMigrationInfoParams)[];
1547
+ export declare const getHostingMigrationInfoQueryKey: (hostingId: number, params: HostingMigrationInfoParams) => readonly [`/v1/hosting/${number}/migrations/info`, ...HostingMigrationInfoParams[]];
1548
+ export declare const getHostingMigrationInfoQueryOptions: <TData = AxiosResponse<HostingMigrationInfo200, any>, TError = AxiosError<unknown, any>>(hostingId: number, params: HostingMigrationInfoParams, options?: {
1549
+ query?: UseQueryOptions<AxiosResponse<HostingMigrationInfo200, any>, TError, TData, QueryKey> | undefined;
1550
+ axios?: AxiosRequestConfig<any> | undefined;
1551
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingMigrationInfo200, any>, TError, TData, QueryKey> & {
1552
+ queryKey: QueryKey;
1553
+ };
931
1554
  export declare type HostingMigrationInfoQueryResult = NonNullable<Awaited<ReturnType<typeof hostingMigrationInfo>>>;
932
1555
  export declare type HostingMigrationInfoQueryError = AxiosError<unknown>;
1556
+ /**
1557
+ * @summary Wordpress migration information
1558
+ */
933
1559
  export declare const useHostingMigrationInfo: <TData = AxiosResponse<HostingMigrationInfo200, any>, TError = AxiosError<unknown, any>>(hostingId: number, params: HostingMigrationInfoParams, options?: {
934
1560
  query?: UseQueryOptions<AxiosResponse<HostingMigrationInfo200, any>, TError, TData, QueryKey> | undefined;
935
1561
  axios?: AxiosRequestConfig<any> | undefined;
@@ -941,9 +1567,18 @@ export declare const useHostingMigrationInfo: <TData = AxiosResponse<HostingMigr
941
1567
  * @summary SiteMigration site_scan status
942
1568
  */
943
1569
  export declare const hostingMigrationSiteScanStatus: (hostingId: number, params: HostingMigrationSiteScanStatusParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingMigrationSiteScanStatus200>>;
944
- export declare const getHostingMigrationSiteScanStatusQueryKey: (hostingId: number, params: HostingMigrationSiteScanStatusParams) => (string | HostingMigrationSiteScanStatusParams)[];
1570
+ export declare const getHostingMigrationSiteScanStatusQueryKey: (hostingId: number, params: HostingMigrationSiteScanStatusParams) => readonly [`/v1/hosting/${number}/migrations/site-scan`, ...HostingMigrationSiteScanStatusParams[]];
1571
+ export declare const getHostingMigrationSiteScanStatusQueryOptions: <TData = AxiosResponse<HostingMigrationSiteScanStatus200, any>, TError = AxiosError<unknown, any>>(hostingId: number, params: HostingMigrationSiteScanStatusParams, options?: {
1572
+ query?: UseQueryOptions<AxiosResponse<HostingMigrationSiteScanStatus200, any>, TError, TData, QueryKey> | undefined;
1573
+ axios?: AxiosRequestConfig<any> | undefined;
1574
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingMigrationSiteScanStatus200, any>, TError, TData, QueryKey> & {
1575
+ queryKey: QueryKey;
1576
+ };
945
1577
  export declare type HostingMigrationSiteScanStatusQueryResult = NonNullable<Awaited<ReturnType<typeof hostingMigrationSiteScanStatus>>>;
946
1578
  export declare type HostingMigrationSiteScanStatusQueryError = AxiosError<unknown>;
1579
+ /**
1580
+ * @summary SiteMigration site_scan status
1581
+ */
947
1582
  export declare const useHostingMigrationSiteScanStatus: <TData = AxiosResponse<HostingMigrationSiteScanStatus200, any>, TError = AxiosError<unknown, any>>(hostingId: number, params: HostingMigrationSiteScanStatusParams, options?: {
948
1583
  query?: UseQueryOptions<AxiosResponse<HostingMigrationSiteScanStatus200, any>, TError, TData, QueryKey> | undefined;
949
1584
  axios?: AxiosRequestConfig<any> | undefined;
@@ -956,9 +1591,19 @@ export declare const useHostingMigrationSiteScanStatus: <TData = AxiosResponse<H
956
1591
  * @summary hosting nameservers
957
1592
  */
958
1593
  export declare const hostingNameservers: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingNameservers200>>;
959
- export declare const getHostingNameserversQueryKey: (hostingId: number) => string[];
1594
+ export declare const getHostingNameserversQueryKey: (hostingId: number) => readonly [`/v1/hosting/${number}/nameservers`];
1595
+ export declare const getHostingNameserversQueryOptions: <TData = AxiosResponse<HostingNameservers200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
1596
+ query?: UseQueryOptions<AxiosResponse<HostingNameservers200, any>, TError, TData, QueryKey> | undefined;
1597
+ axios?: AxiosRequestConfig<any> | undefined;
1598
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingNameservers200, any>, TError, TData, QueryKey> & {
1599
+ queryKey: QueryKey;
1600
+ };
960
1601
  export declare type HostingNameserversQueryResult = NonNullable<Awaited<ReturnType<typeof hostingNameservers>>>;
961
1602
  export declare type HostingNameserversQueryError = AxiosError<unknown>;
1603
+ /**
1604
+ * @deprecated
1605
+ * @summary hosting nameservers
1606
+ */
962
1607
  export declare const useHostingNameservers: <TData = AxiosResponse<HostingNameservers200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
963
1608
  query?: UseQueryOptions<AxiosResponse<HostingNameservers200, any>, TError, TData, QueryKey> | undefined;
964
1609
  axios?: AxiosRequestConfig<any> | undefined;
@@ -970,9 +1615,18 @@ export declare const useHostingNameservers: <TData = AxiosResponse<HostingNamese
970
1615
  * @summary Returns hosting onboarding data
971
1616
  */
972
1617
  export declare const hostingOnboardingData: (hostingId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingOnboardingData200>>;
973
- export declare const getHostingOnboardingDataQueryKey: (hostingId: string) => string[];
1618
+ export declare const getHostingOnboardingDataQueryKey: (hostingId: string) => readonly [`/v1/hosting/${string}/onboarding`];
1619
+ export declare const getHostingOnboardingDataQueryOptions: <TData = AxiosResponse<HostingOnboardingData200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
1620
+ query?: UseQueryOptions<AxiosResponse<HostingOnboardingData200, any>, TError, TData, QueryKey> | undefined;
1621
+ axios?: AxiosRequestConfig<any> | undefined;
1622
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingOnboardingData200, any>, TError, TData, QueryKey> & {
1623
+ queryKey: QueryKey;
1624
+ };
974
1625
  export declare type HostingOnboardingDataQueryResult = NonNullable<Awaited<ReturnType<typeof hostingOnboardingData>>>;
975
1626
  export declare type HostingOnboardingDataQueryError = AxiosError<unknown>;
1627
+ /**
1628
+ * @summary Returns hosting onboarding data
1629
+ */
976
1630
  export declare const useHostingOnboardingData: <TData = AxiosResponse<HostingOnboardingData200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
977
1631
  query?: UseQueryOptions<AxiosResponse<HostingOnboardingData200, any>, TError, TData, QueryKey> | undefined;
978
1632
  axios?: AxiosRequestConfig<any> | undefined;
@@ -983,16 +1637,29 @@ export declare const useHostingOnboardingData: <TData = AxiosResponse<HostingOnb
983
1637
  * @summary Updates hosting onboarding data
984
1638
  */
985
1639
  export declare const hostingOnboardingDataUpdate: (hostingId: string, hostingOnboardingDataUpdateBody: HostingOnboardingDataUpdateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingOnboardingDataUpdate200>>;
1640
+ export declare const getHostingOnboardingDataUpdateMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1641
+ mutation?: UseMutationOptions<AxiosResponse<HostingOnboardingDataUpdate200, any>, TError, {
1642
+ hostingId: string;
1643
+ data: HostingOnboardingDataUpdateBody;
1644
+ }, TContext> | undefined;
1645
+ axios?: AxiosRequestConfig<any> | undefined;
1646
+ } | undefined) => UseMutationOptions<AxiosResponse<HostingOnboardingDataUpdate200, any>, TError, {
1647
+ hostingId: string;
1648
+ data: HostingOnboardingDataUpdateBody;
1649
+ }, TContext>;
986
1650
  export declare type HostingOnboardingDataUpdateMutationResult = NonNullable<Awaited<ReturnType<typeof hostingOnboardingDataUpdate>>>;
987
1651
  export declare type HostingOnboardingDataUpdateMutationBody = HostingOnboardingDataUpdateBody;
988
1652
  export declare type HostingOnboardingDataUpdateMutationError = AxiosError<unknown>;
1653
+ /**
1654
+ * @summary Updates hosting onboarding data
1655
+ */
989
1656
  export declare const useHostingOnboardingDataUpdate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
990
1657
  mutation?: UseMutationOptions<AxiosResponse<HostingOnboardingDataUpdate200, any>, TError, {
991
1658
  hostingId: string;
992
1659
  data: HostingOnboardingDataUpdateBody;
993
1660
  }, TContext> | undefined;
994
1661
  axios?: AxiosRequestConfig<any> | undefined;
995
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingOnboardingDataUpdate200, any>, TError, {
1662
+ } | undefined) => UseMutationResult<AxiosResponse<HostingOnboardingDataUpdate200, any>, TError, {
996
1663
  hostingId: string;
997
1664
  data: HostingOnboardingDataUpdateBody;
998
1665
  }, TContext>;
@@ -1001,9 +1668,18 @@ export declare const useHostingOnboardingDataUpdate: <TError = AxiosError<unknow
1001
1668
  * @summary hosting sso_whm
1002
1669
  */
1003
1670
  export declare const hostingResellerSsoWhm: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingResellerSsoWhm200>>;
1004
- export declare const getHostingResellerSsoWhmQueryKey: (hostingId: number) => string[];
1671
+ export declare const getHostingResellerSsoWhmQueryKey: (hostingId: number) => readonly [`/v1/hosting/${number}/reseller/sso/whm`];
1672
+ export declare const getHostingResellerSsoWhmQueryOptions: <TData = AxiosResponse<HostingResellerSsoWhm200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
1673
+ query?: UseQueryOptions<AxiosResponse<HostingResellerSsoWhm200, any>, TError, TData, QueryKey> | undefined;
1674
+ axios?: AxiosRequestConfig<any> | undefined;
1675
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingResellerSsoWhm200, any>, TError, TData, QueryKey> & {
1676
+ queryKey: QueryKey;
1677
+ };
1005
1678
  export declare type HostingResellerSsoWhmQueryResult = NonNullable<Awaited<ReturnType<typeof hostingResellerSsoWhm>>>;
1006
1679
  export declare type HostingResellerSsoWhmQueryError = AxiosError<unknown>;
1680
+ /**
1681
+ * @summary hosting sso_whm
1682
+ */
1007
1683
  export declare const useHostingResellerSsoWhm: <TData = AxiosResponse<HostingResellerSsoWhm200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
1008
1684
  query?: UseQueryOptions<AxiosResponse<HostingResellerSsoWhm200, any>, TError, TData, QueryKey> | undefined;
1009
1685
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1015,16 +1691,29 @@ export declare const useHostingResellerSsoWhm: <TData = AxiosResponse<HostingRes
1015
1691
  * @summary hosting shell toggle
1016
1692
  */
1017
1693
  export declare const hostingShellToggle: (hostingId: string, hostingShellToggleBody: HostingShellToggleBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingShellToggle200>>;
1018
- export declare type HostingShellToggleMutationResult = NonNullable<Awaited<ReturnType<typeof hostingShellToggle>>>;
1019
- export declare type HostingShellToggleMutationBody = HostingShellToggleBody;
1020
- export declare type HostingShellToggleMutationError = AxiosError<unknown>;
1021
- export declare const useHostingShellToggle: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1694
+ export declare const getHostingShellToggleMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1022
1695
  mutation?: UseMutationOptions<AxiosResponse<HostingShellToggle200, any>, TError, {
1023
1696
  hostingId: string;
1024
1697
  data: HostingShellToggleBody;
1025
1698
  }, TContext> | undefined;
1026
1699
  axios?: AxiosRequestConfig<any> | undefined;
1027
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingShellToggle200, any>, TError, {
1700
+ } | undefined) => UseMutationOptions<AxiosResponse<HostingShellToggle200, any>, TError, {
1701
+ hostingId: string;
1702
+ data: HostingShellToggleBody;
1703
+ }, TContext>;
1704
+ export declare type HostingShellToggleMutationResult = NonNullable<Awaited<ReturnType<typeof hostingShellToggle>>>;
1705
+ export declare type HostingShellToggleMutationBody = HostingShellToggleBody;
1706
+ export declare type HostingShellToggleMutationError = AxiosError<unknown>;
1707
+ /**
1708
+ * @summary hosting shell toggle
1709
+ */
1710
+ export declare const useHostingShellToggle: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1711
+ mutation?: UseMutationOptions<AxiosResponse<HostingShellToggle200, any>, TError, {
1712
+ hostingId: string;
1713
+ data: HostingShellToggleBody;
1714
+ }, TContext> | undefined;
1715
+ axios?: AxiosRequestConfig<any> | undefined;
1716
+ } | undefined) => UseMutationResult<AxiosResponse<HostingShellToggle200, any>, TError, {
1028
1717
  hostingId: string;
1029
1718
  data: HostingShellToggleBody;
1030
1719
  }, TContext>;
@@ -1033,9 +1722,18 @@ export declare const useHostingShellToggle: <TError = AxiosError<unknown, any>,
1033
1722
  * @summary hosting shell_status
1034
1723
  */
1035
1724
  export declare const hostingShellInfo: (hostingId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingShellInfo200>>;
1036
- export declare const getHostingShellInfoQueryKey: (hostingId: string) => string[];
1725
+ export declare const getHostingShellInfoQueryKey: (hostingId: string) => readonly [`/v1/hosting/${string}/shell`];
1726
+ export declare const getHostingShellInfoQueryOptions: <TData = AxiosResponse<HostingShellInfo200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
1727
+ query?: UseQueryOptions<AxiosResponse<HostingShellInfo200, any>, TError, TData, QueryKey> | undefined;
1728
+ axios?: AxiosRequestConfig<any> | undefined;
1729
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingShellInfo200, any>, TError, TData, QueryKey> & {
1730
+ queryKey: QueryKey;
1731
+ };
1037
1732
  export declare type HostingShellInfoQueryResult = NonNullable<Awaited<ReturnType<typeof hostingShellInfo>>>;
1038
1733
  export declare type HostingShellInfoQueryError = AxiosError<unknown>;
1734
+ /**
1735
+ * @summary hosting shell_status
1736
+ */
1039
1737
  export declare const useHostingShellInfo: <TData = AxiosResponse<HostingShellInfo200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
1040
1738
  query?: UseQueryOptions<AxiosResponse<HostingShellInfo200, any>, TError, TData, QueryKey> | undefined;
1041
1739
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1047,16 +1745,29 @@ export declare const useHostingShellInfo: <TData = AxiosResponse<HostingShellInf
1047
1745
  * @summary sites add
1048
1746
  */
1049
1747
  export declare const hostingSiteAdd: (hostingId: number, hostingSiteAddBody: HostingSiteAddBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingSiteAdd200>>;
1748
+ export declare const getHostingSiteAddMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1749
+ mutation?: UseMutationOptions<AxiosResponse<HostingSiteAdd200, any>, TError, {
1750
+ hostingId: number;
1751
+ data: HostingSiteAddBody;
1752
+ }, TContext> | undefined;
1753
+ axios?: AxiosRequestConfig<any> | undefined;
1754
+ } | undefined) => UseMutationOptions<AxiosResponse<HostingSiteAdd200, any>, TError, {
1755
+ hostingId: number;
1756
+ data: HostingSiteAddBody;
1757
+ }, TContext>;
1050
1758
  export declare type HostingSiteAddMutationResult = NonNullable<Awaited<ReturnType<typeof hostingSiteAdd>>>;
1051
1759
  export declare type HostingSiteAddMutationBody = HostingSiteAddBody;
1052
1760
  export declare type HostingSiteAddMutationError = AxiosError<unknown>;
1761
+ /**
1762
+ * @summary sites add
1763
+ */
1053
1764
  export declare const useHostingSiteAdd: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1054
1765
  mutation?: UseMutationOptions<AxiosResponse<HostingSiteAdd200, any>, TError, {
1055
1766
  hostingId: number;
1056
1767
  data: HostingSiteAddBody;
1057
1768
  }, TContext> | undefined;
1058
1769
  axios?: AxiosRequestConfig<any> | undefined;
1059
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<HostingSiteAdd200, any>, TError, {
1770
+ } | undefined) => UseMutationResult<AxiosResponse<HostingSiteAdd200, any>, TError, {
1060
1771
  hostingId: number;
1061
1772
  data: HostingSiteAddBody;
1062
1773
  }, TContext>;
@@ -1065,16 +1776,29 @@ export declare const useHostingSiteAdd: <TError = AxiosError<unknown, any>, TCon
1065
1776
  * @summary sites update batch
1066
1777
  */
1067
1778
  export declare const sitesBatch: (hostingId: number, sitesBatchBody: SitesBatchBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesBatch200>>;
1779
+ export declare const getSitesBatchMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1780
+ mutation?: UseMutationOptions<AxiosResponse<SitesBatch200, any>, TError, {
1781
+ hostingId: number;
1782
+ data: SitesBatchBody;
1783
+ }, TContext> | undefined;
1784
+ axios?: AxiosRequestConfig<any> | undefined;
1785
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesBatch200, any>, TError, {
1786
+ hostingId: number;
1787
+ data: SitesBatchBody;
1788
+ }, TContext>;
1068
1789
  export declare type SitesBatchMutationResult = NonNullable<Awaited<ReturnType<typeof sitesBatch>>>;
1069
1790
  export declare type SitesBatchMutationBody = SitesBatchBody;
1070
1791
  export declare type SitesBatchMutationError = AxiosError<unknown>;
1792
+ /**
1793
+ * @summary sites update batch
1794
+ */
1071
1795
  export declare const useSitesBatch: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1072
1796
  mutation?: UseMutationOptions<AxiosResponse<SitesBatch200, any>, TError, {
1073
1797
  hostingId: number;
1074
1798
  data: SitesBatchBody;
1075
1799
  }, TContext> | undefined;
1076
1800
  axios?: AxiosRequestConfig<any> | undefined;
1077
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesBatch200, any>, TError, {
1801
+ } | undefined) => UseMutationResult<AxiosResponse<SitesBatch200, any>, TError, {
1078
1802
  hostingId: number;
1079
1803
  data: SitesBatchBody;
1080
1804
  }, TContext>;
@@ -1083,9 +1807,18 @@ export declare const useSitesBatch: <TError = AxiosError<unknown, any>, TContext
1083
1807
  * @summary ssh info
1084
1808
  */
1085
1809
  export declare const hostingSshInfo: (hostingId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingSshInfo200>>;
1086
- export declare const getHostingSshInfoQueryKey: (hostingId: string) => string[];
1810
+ export declare const getHostingSshInfoQueryKey: (hostingId: string) => readonly [`/v1/hosting/${string}/ssh`];
1811
+ export declare const getHostingSshInfoQueryOptions: <TData = AxiosResponse<HostingSshInfo200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
1812
+ query?: UseQueryOptions<AxiosResponse<HostingSshInfo200, any>, TError, TData, QueryKey> | undefined;
1813
+ axios?: AxiosRequestConfig<any> | undefined;
1814
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingSshInfo200, any>, TError, TData, QueryKey> & {
1815
+ queryKey: QueryKey;
1816
+ };
1087
1817
  export declare type HostingSshInfoQueryResult = NonNullable<Awaited<ReturnType<typeof hostingSshInfo>>>;
1088
1818
  export declare type HostingSshInfoQueryError = AxiosError<unknown>;
1819
+ /**
1820
+ * @summary ssh info
1821
+ */
1089
1822
  export declare const useHostingSshInfo: <TData = AxiosResponse<HostingSshInfo200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
1090
1823
  query?: UseQueryOptions<AxiosResponse<HostingSshInfo200, any>, TError, TData, QueryKey> | undefined;
1091
1824
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1097,9 +1830,18 @@ export declare const useHostingSshInfo: <TData = AxiosResponse<HostingSshInfo200
1097
1830
  * @summary ssh key fetch
1098
1831
  */
1099
1832
  export declare const sshKeyFetch: (hostingId: string, params: SshKeyFetchParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<SshKeyFetch200>>;
1100
- export declare const getSshKeyFetchQueryKey: (hostingId: string, params: SshKeyFetchParams) => (string | SshKeyFetchParams)[];
1833
+ export declare const getSshKeyFetchQueryKey: (hostingId: string, params: SshKeyFetchParams) => readonly [`/v1/hosting/${string}/ssh/fetch`, ...SshKeyFetchParams[]];
1834
+ export declare const getSshKeyFetchQueryOptions: <TData = AxiosResponse<SshKeyFetch200, any>, TError = AxiosError<unknown, any>>(hostingId: string, params: SshKeyFetchParams, options?: {
1835
+ query?: UseQueryOptions<AxiosResponse<SshKeyFetch200, any>, TError, TData, QueryKey> | undefined;
1836
+ axios?: AxiosRequestConfig<any> | undefined;
1837
+ } | undefined) => UseQueryOptions<AxiosResponse<SshKeyFetch200, any>, TError, TData, QueryKey> & {
1838
+ queryKey: QueryKey;
1839
+ };
1101
1840
  export declare type SshKeyFetchQueryResult = NonNullable<Awaited<ReturnType<typeof sshKeyFetch>>>;
1102
1841
  export declare type SshKeyFetchQueryError = AxiosError<unknown>;
1842
+ /**
1843
+ * @summary ssh key fetch
1844
+ */
1103
1845
  export declare const useSshKeyFetch: <TData = AxiosResponse<SshKeyFetch200, any>, TError = AxiosError<unknown, any>>(hostingId: string, params: SshKeyFetchParams, options?: {
1104
1846
  query?: UseQueryOptions<AxiosResponse<SshKeyFetch200, any>, TError, TData, QueryKey> | undefined;
1105
1847
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1111,16 +1853,29 @@ export declare const useSshKeyFetch: <TData = AxiosResponse<SshKeyFetch200, any>
1111
1853
  * @summary Import ssh key
1112
1854
  */
1113
1855
  export declare const sshKeyImport: (hostingId: number, sshKeyImportBody: SshKeyImportBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SshKeyImport200>>;
1856
+ export declare const getSshKeyImportMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1857
+ mutation?: UseMutationOptions<AxiosResponse<SshKeyImport200, any>, TError, {
1858
+ hostingId: number;
1859
+ data: SshKeyImportBody;
1860
+ }, TContext> | undefined;
1861
+ axios?: AxiosRequestConfig<any> | undefined;
1862
+ } | undefined) => UseMutationOptions<AxiosResponse<SshKeyImport200, any>, TError, {
1863
+ hostingId: number;
1864
+ data: SshKeyImportBody;
1865
+ }, TContext>;
1114
1866
  export declare type SshKeyImportMutationResult = NonNullable<Awaited<ReturnType<typeof sshKeyImport>>>;
1115
1867
  export declare type SshKeyImportMutationBody = SshKeyImportBody;
1116
1868
  export declare type SshKeyImportMutationError = AxiosError<unknown>;
1869
+ /**
1870
+ * @summary Import ssh key
1871
+ */
1117
1872
  export declare const useSshKeyImport: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1118
1873
  mutation?: UseMutationOptions<AxiosResponse<SshKeyImport200, any>, TError, {
1119
1874
  hostingId: number;
1120
1875
  data: SshKeyImportBody;
1121
1876
  }, TContext> | undefined;
1122
1877
  axios?: AxiosRequestConfig<any> | undefined;
1123
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SshKeyImport200, any>, TError, {
1878
+ } | undefined) => UseMutationResult<AxiosResponse<SshKeyImport200, any>, TError, {
1124
1879
  hostingId: number;
1125
1880
  data: SshKeyImportBody;
1126
1881
  }, TContext>;
@@ -1130,9 +1885,19 @@ export declare const useSshKeyImport: <TError = AxiosError<unknown, any>, TConte
1130
1885
  * @summary Deprecated - ssh keys list
1131
1886
  */
1132
1887
  export declare const sshKeyList: (hostingId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<SshKeyList200>>;
1133
- export declare const getSshKeyListQueryKey: (hostingId: string) => string[];
1888
+ export declare const getSshKeyListQueryKey: (hostingId: string) => readonly [`/v1/hosting/${string}/ssh/keys`];
1889
+ export declare const getSshKeyListQueryOptions: <TData = AxiosResponse<SshKeyList200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
1890
+ query?: UseQueryOptions<AxiosResponse<SshKeyList200, any>, TError, TData, QueryKey> | undefined;
1891
+ axios?: AxiosRequestConfig<any> | undefined;
1892
+ } | undefined) => UseQueryOptions<AxiosResponse<SshKeyList200, any>, TError, TData, QueryKey> & {
1893
+ queryKey: QueryKey;
1894
+ };
1134
1895
  export declare type SshKeyListQueryResult = NonNullable<Awaited<ReturnType<typeof sshKeyList>>>;
1135
1896
  export declare type SshKeyListQueryError = AxiosError<unknown>;
1897
+ /**
1898
+ * @deprecated
1899
+ * @summary Deprecated - ssh keys list
1900
+ */
1136
1901
  export declare const useSshKeyList: <TData = AxiosResponse<SshKeyList200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
1137
1902
  query?: UseQueryOptions<AxiosResponse<SshKeyList200, any>, TError, TData, QueryKey> | undefined;
1138
1903
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1144,16 +1909,29 @@ export declare const useSshKeyList: <TData = AxiosResponse<SshKeyList200, any>,
1144
1909
  * @summary ssh key delete
1145
1910
  */
1146
1911
  export declare const sshKey: (hostingId: string, sshKeyBody: SshKeyBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SshKey200>>;
1912
+ export declare const getSshKeyMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1913
+ mutation?: UseMutationOptions<AxiosResponse<SshKey200, any>, TError, {
1914
+ hostingId: string;
1915
+ data: SshKeyBody;
1916
+ }, TContext> | undefined;
1917
+ axios?: AxiosRequestConfig<any> | undefined;
1918
+ } | undefined) => UseMutationOptions<AxiosResponse<SshKey200, any>, TError, {
1919
+ hostingId: string;
1920
+ data: SshKeyBody;
1921
+ }, TContext>;
1147
1922
  export declare type SshKeyMutationResult = NonNullable<Awaited<ReturnType<typeof sshKey>>>;
1148
1923
  export declare type SshKeyMutationBody = SshKeyBody;
1149
1924
  export declare type SshKeyMutationError = AxiosError<unknown>;
1925
+ /**
1926
+ * @summary ssh key delete
1927
+ */
1150
1928
  export declare const useSshKey: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1151
1929
  mutation?: UseMutationOptions<AxiosResponse<SshKey200, any>, TError, {
1152
1930
  hostingId: string;
1153
1931
  data: SshKeyBody;
1154
1932
  }, TContext> | undefined;
1155
1933
  axios?: AxiosRequestConfig<any> | undefined;
1156
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SshKey200, any>, TError, {
1934
+ } | undefined) => UseMutationResult<AxiosResponse<SshKey200, any>, TError, {
1157
1935
  hostingId: string;
1158
1936
  data: SshKeyBody;
1159
1937
  }, TContext>;
@@ -1162,16 +1940,29 @@ export declare const useSshKey: <TError = AxiosError<unknown, any>, TContext = u
1162
1940
  * @summary Generate ssh key
1163
1941
  */
1164
1942
  export declare const sshKeyGenerate: (hostingId: number, sshKeyGenerateBody: SshKeyGenerateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SshKeyGenerate200>>;
1943
+ export declare const getSshKeyGenerateMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1944
+ mutation?: UseMutationOptions<AxiosResponse<SshKeyGenerate200, any>, TError, {
1945
+ hostingId: number;
1946
+ data: SshKeyGenerateBody;
1947
+ }, TContext> | undefined;
1948
+ axios?: AxiosRequestConfig<any> | undefined;
1949
+ } | undefined) => UseMutationOptions<AxiosResponse<SshKeyGenerate200, any>, TError, {
1950
+ hostingId: number;
1951
+ data: SshKeyGenerateBody;
1952
+ }, TContext>;
1165
1953
  export declare type SshKeyGenerateMutationResult = NonNullable<Awaited<ReturnType<typeof sshKeyGenerate>>>;
1166
1954
  export declare type SshKeyGenerateMutationBody = SshKeyGenerateBody;
1167
1955
  export declare type SshKeyGenerateMutationError = AxiosError<unknown>;
1956
+ /**
1957
+ * @summary Generate ssh key
1958
+ */
1168
1959
  export declare const useSshKeyGenerate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1169
1960
  mutation?: UseMutationOptions<AxiosResponse<SshKeyGenerate200, any>, TError, {
1170
1961
  hostingId: number;
1171
1962
  data: SshKeyGenerateBody;
1172
1963
  }, TContext> | undefined;
1173
1964
  axios?: AxiosRequestConfig<any> | undefined;
1174
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SshKeyGenerate200, any>, TError, {
1965
+ } | undefined) => UseMutationResult<AxiosResponse<SshKeyGenerate200, any>, TError, {
1175
1966
  hostingId: number;
1176
1967
  data: SshKeyGenerateBody;
1177
1968
  }, TContext>;
@@ -1180,9 +1971,18 @@ export declare const useSshKeyGenerate: <TError = AxiosError<unknown, any>, TCon
1180
1971
  * @summary sso
1181
1972
  */
1182
1973
  export declare const sso: (hostingId: number, params?: SsoParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<Sso200>>;
1183
- export declare const getSsoQueryKey: (hostingId: number, params?: SsoParams) => (string | SsoParams)[];
1974
+ export declare const getSsoQueryKey: (hostingId: number, params?: SsoParams) => readonly [`/v1/hosting/${number}/sso`, ...SsoParams[]];
1975
+ export declare const getSsoQueryOptions: <TData = AxiosResponse<Sso200, any>, TError = AxiosError<unknown, any>>(hostingId: number, params?: SsoParams, options?: {
1976
+ query?: UseQueryOptions<AxiosResponse<Sso200, any>, TError, TData, QueryKey> | undefined;
1977
+ axios?: AxiosRequestConfig<any> | undefined;
1978
+ } | undefined) => UseQueryOptions<AxiosResponse<Sso200, any>, TError, TData, QueryKey> & {
1979
+ queryKey: QueryKey;
1980
+ };
1184
1981
  export declare type SsoQueryResult = NonNullable<Awaited<ReturnType<typeof sso>>>;
1185
1982
  export declare type SsoQueryError = AxiosError<unknown>;
1983
+ /**
1984
+ * @summary sso
1985
+ */
1186
1986
  export declare const useSso: <TData = AxiosResponse<Sso200, any>, TError = AxiosError<unknown, any>>(hostingId: number, params?: SsoParams, options?: {
1187
1987
  query?: UseQueryOptions<AxiosResponse<Sso200, any>, TError, TData, QueryKey> | undefined;
1188
1988
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1194,9 +1994,18 @@ export declare const useSso: <TData = AxiosResponse<Sso200, any>, TError = Axios
1194
1994
  * @summary Site list for an account
1195
1995
  */
1196
1996
  export declare const sitesList: (options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesList200>>;
1197
- export declare const getSitesListQueryKey: () => string[];
1997
+ export declare const getSitesListQueryKey: () => readonly ["/v1/sites"];
1998
+ export declare const getSitesListQueryOptions: <TData = AxiosResponse<SitesList200, any>, TError = AxiosError<unknown, any>>(options?: {
1999
+ query?: UseQueryOptions<AxiosResponse<SitesList200, any>, TError, TData, QueryKey> | undefined;
2000
+ axios?: AxiosRequestConfig<any> | undefined;
2001
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesList200, any>, TError, TData, QueryKey> & {
2002
+ queryKey: QueryKey;
2003
+ };
1198
2004
  export declare type SitesListQueryResult = NonNullable<Awaited<ReturnType<typeof sitesList>>>;
1199
2005
  export declare type SitesListQueryError = AxiosError<unknown>;
2006
+ /**
2007
+ * @summary Site list for an account
2008
+ */
1200
2009
  export declare const useSitesList: <TData = AxiosResponse<SitesList200, any>, TError = AxiosError<unknown, any>>(options?: {
1201
2010
  query?: UseQueryOptions<AxiosResponse<SitesList200, any>, TError, TData, QueryKey> | undefined;
1202
2011
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1208,9 +2017,18 @@ export declare const useSitesList: <TData = AxiosResponse<SitesList200, any>, TE
1208
2017
  * @summary info
1209
2018
  */
1210
2019
  export declare const sitesInfo: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesInfo200>>;
1211
- export declare const getSitesInfoQueryKey: (siteId: number) => string[];
2020
+ export declare const getSitesInfoQueryKey: (siteId: number) => readonly [`/v1/sites/${number}`];
2021
+ export declare const getSitesInfoQueryOptions: <TData = AxiosResponse<SitesInfo200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
2022
+ query?: UseQueryOptions<AxiosResponse<SitesInfo200, any>, TError, TData, QueryKey> | undefined;
2023
+ axios?: AxiosRequestConfig<any> | undefined;
2024
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesInfo200, any>, TError, TData, QueryKey> & {
2025
+ queryKey: QueryKey;
2026
+ };
1212
2027
  export declare type SitesInfoQueryResult = NonNullable<Awaited<ReturnType<typeof sitesInfo>>>;
1213
2028
  export declare type SitesInfoQueryError = AxiosError<unknown>;
2029
+ /**
2030
+ * @summary info
2031
+ */
1214
2032
  export declare const useSitesInfo: <TData = AxiosResponse<SitesInfo200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1215
2033
  query?: UseQueryOptions<AxiosResponse<SitesInfo200, any>, TError, TData, QueryKey> | undefined;
1216
2034
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1222,16 +2040,29 @@ export declare const useSitesInfo: <TData = AxiosResponse<SitesInfo200, any>, TE
1222
2040
  * @summary site update
1223
2041
  */
1224
2042
  export declare const siteUpdate: (siteId: number, siteUpdateBody: SiteUpdateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SiteUpdate200>>;
2043
+ export declare const getSiteUpdateMutationOptions: <TError = AxiosError<SiteUpdate400, any>, TContext = unknown>(options?: {
2044
+ mutation?: UseMutationOptions<AxiosResponse<SiteUpdate200, any>, TError, {
2045
+ siteId: number;
2046
+ data: SiteUpdateBody;
2047
+ }, TContext> | undefined;
2048
+ axios?: AxiosRequestConfig<any> | undefined;
2049
+ } | undefined) => UseMutationOptions<AxiosResponse<SiteUpdate200, any>, TError, {
2050
+ siteId: number;
2051
+ data: SiteUpdateBody;
2052
+ }, TContext>;
1225
2053
  export declare type SiteUpdateMutationResult = NonNullable<Awaited<ReturnType<typeof siteUpdate>>>;
1226
2054
  export declare type SiteUpdateMutationBody = SiteUpdateBody;
1227
2055
  export declare type SiteUpdateMutationError = AxiosError<SiteUpdate400>;
2056
+ /**
2057
+ * @summary site update
2058
+ */
1228
2059
  export declare const useSiteUpdate: <TError = AxiosError<SiteUpdate400, any>, TContext = unknown>(options?: {
1229
2060
  mutation?: UseMutationOptions<AxiosResponse<SiteUpdate200, any>, TError, {
1230
2061
  siteId: number;
1231
2062
  data: SiteUpdateBody;
1232
2063
  }, TContext> | undefined;
1233
2064
  axios?: AxiosRequestConfig<any> | undefined;
1234
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SiteUpdate200, any>, TError, {
2065
+ } | undefined) => UseMutationResult<AxiosResponse<SiteUpdate200, any>, TError, {
1235
2066
  siteId: number;
1236
2067
  data: SiteUpdateBody;
1237
2068
  }, TContext>;
@@ -1240,14 +2071,25 @@ export declare const useSiteUpdate: <TError = AxiosError<SiteUpdate400, any>, TC
1240
2071
  * @summary site delete
1241
2072
  */
1242
2073
  export declare const site: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<Site200>>;
2074
+ export declare const getSiteMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2075
+ mutation?: UseMutationOptions<AxiosResponse<Site200, any>, TError, {
2076
+ siteId: number;
2077
+ }, TContext> | undefined;
2078
+ axios?: AxiosRequestConfig<any> | undefined;
2079
+ } | undefined) => UseMutationOptions<AxiosResponse<Site200, any>, TError, {
2080
+ siteId: number;
2081
+ }, TContext>;
1243
2082
  export declare type SiteMutationResult = NonNullable<Awaited<ReturnType<typeof site>>>;
1244
2083
  export declare type SiteMutationError = AxiosError<unknown>;
2084
+ /**
2085
+ * @summary site delete
2086
+ */
1245
2087
  export declare const useSite: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1246
2088
  mutation?: UseMutationOptions<AxiosResponse<Site200, any>, TError, {
1247
2089
  siteId: number;
1248
2090
  }, TContext> | undefined;
1249
2091
  axios?: AxiosRequestConfig<any> | undefined;
1250
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<Site200, any>, TError, {
2092
+ } | undefined) => UseMutationResult<AxiosResponse<Site200, any>, TError, {
1251
2093
  siteId: number;
1252
2094
  }, TContext>;
1253
2095
  /**
@@ -1255,9 +2097,18 @@ export declare const useSite: <TError = AxiosError<unknown, any>, TContext = unk
1255
2097
  * @summary settings autoupdates
1256
2098
  */
1257
2099
  export declare const sitesAutoupdatesInfo: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesAutoupdatesResponse>>;
1258
- export declare const getSitesAutoupdatesInfoQueryKey: (siteId: number) => string[];
2100
+ export declare const getSitesAutoupdatesInfoQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/autoupdates`];
2101
+ export declare const getSitesAutoupdatesInfoQueryOptions: <TData = AxiosResponse<SitesAutoupdatesResponse, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
2102
+ query?: UseQueryOptions<AxiosResponse<SitesAutoupdatesResponse, any>, TError, TData, QueryKey> | undefined;
2103
+ axios?: AxiosRequestConfig<any> | undefined;
2104
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesAutoupdatesResponse, any>, TError, TData, QueryKey> & {
2105
+ queryKey: QueryKey;
2106
+ };
1259
2107
  export declare type SitesAutoupdatesInfoQueryResult = NonNullable<Awaited<ReturnType<typeof sitesAutoupdatesInfo>>>;
1260
2108
  export declare type SitesAutoupdatesInfoQueryError = AxiosError<unknown>;
2109
+ /**
2110
+ * @summary settings autoupdates
2111
+ */
1261
2112
  export declare const useSitesAutoupdatesInfo: <TData = AxiosResponse<SitesAutoupdatesResponse, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1262
2113
  query?: UseQueryOptions<AxiosResponse<SitesAutoupdatesResponse, any>, TError, TData, QueryKey> | undefined;
1263
2114
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1269,16 +2120,29 @@ export declare const useSitesAutoupdatesInfo: <TData = AxiosResponse<SitesAutoup
1269
2120
  * @summary settings autoupdates toggle
1270
2121
  */
1271
2122
  export declare const sitesAutoupdatesUpdate: (siteId: number, sitesAutoupdatesUpdateBody: SitesAutoupdatesUpdateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesAutoupdatesResponse>>;
2123
+ export declare const getSitesAutoupdatesUpdateMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2124
+ mutation?: UseMutationOptions<AxiosResponse<SitesAutoupdatesResponse, any>, TError, {
2125
+ siteId: number;
2126
+ data: SitesAutoupdatesUpdateBody;
2127
+ }, TContext> | undefined;
2128
+ axios?: AxiosRequestConfig<any> | undefined;
2129
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesAutoupdatesResponse, any>, TError, {
2130
+ siteId: number;
2131
+ data: SitesAutoupdatesUpdateBody;
2132
+ }, TContext>;
1272
2133
  export declare type SitesAutoupdatesUpdateMutationResult = NonNullable<Awaited<ReturnType<typeof sitesAutoupdatesUpdate>>>;
1273
2134
  export declare type SitesAutoupdatesUpdateMutationBody = SitesAutoupdatesUpdateBody;
1274
2135
  export declare type SitesAutoupdatesUpdateMutationError = AxiosError<unknown>;
2136
+ /**
2137
+ * @summary settings autoupdates toggle
2138
+ */
1275
2139
  export declare const useSitesAutoupdatesUpdate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1276
2140
  mutation?: UseMutationOptions<AxiosResponse<SitesAutoupdatesResponse, any>, TError, {
1277
2141
  siteId: number;
1278
2142
  data: SitesAutoupdatesUpdateBody;
1279
2143
  }, TContext> | undefined;
1280
2144
  axios?: AxiosRequestConfig<any> | undefined;
1281
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesAutoupdatesResponse, any>, TError, {
2145
+ } | undefined) => UseMutationResult<AxiosResponse<SitesAutoupdatesResponse, any>, TError, {
1282
2146
  siteId: number;
1283
2147
  data: SitesAutoupdatesUpdateBody;
1284
2148
  }, TContext>;
@@ -1288,9 +2152,19 @@ export declare const useSitesAutoupdatesUpdate: <TError = AxiosError<unknown, an
1288
2152
  * @summary Deprecated - has backup
1289
2153
  */
1290
2154
  export declare const sitesBackups: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesBackups200>>;
1291
- export declare const getSitesBackupsQueryKey: (siteId: number) => string[];
2155
+ export declare const getSitesBackupsQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/backups`];
2156
+ export declare const getSitesBackupsQueryOptions: <TData = AxiosResponse<SitesBackups200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
2157
+ query?: UseQueryOptions<AxiosResponse<SitesBackups200, any>, TError, TData, QueryKey> | undefined;
2158
+ axios?: AxiosRequestConfig<any> | undefined;
2159
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesBackups200, any>, TError, TData, QueryKey> & {
2160
+ queryKey: QueryKey;
2161
+ };
1292
2162
  export declare type SitesBackupsQueryResult = NonNullable<Awaited<ReturnType<typeof sitesBackups>>>;
1293
2163
  export declare type SitesBackupsQueryError = AxiosError<unknown>;
2164
+ /**
2165
+ * @deprecated
2166
+ * @summary Deprecated - has backup
2167
+ */
1294
2168
  export declare const useSitesBackups: <TData = AxiosResponse<SitesBackups200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1295
2169
  query?: UseQueryOptions<AxiosResponse<SitesBackups200, any>, TError, TData, QueryKey> | undefined;
1296
2170
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1302,9 +2176,18 @@ export declare const useSitesBackups: <TData = AxiosResponse<SitesBackups200, an
1302
2176
  * @summary has backups
1303
2177
  */
1304
2178
  export declare const sitesHasBackups: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesHasBackups200>>;
1305
- export declare const getSitesHasBackupsQueryKey: (siteId: number) => string[];
2179
+ export declare const getSitesHasBackupsQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/backups/check`];
2180
+ export declare const getSitesHasBackupsQueryOptions: <TData = AxiosResponse<SitesHasBackups200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
2181
+ query?: UseQueryOptions<AxiosResponse<SitesHasBackups200, any>, TError, TData, QueryKey> | undefined;
2182
+ axios?: AxiosRequestConfig<any> | undefined;
2183
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesHasBackups200, any>, TError, TData, QueryKey> & {
2184
+ queryKey: QueryKey;
2185
+ };
1306
2186
  export declare type SitesHasBackupsQueryResult = NonNullable<Awaited<ReturnType<typeof sitesHasBackups>>>;
1307
2187
  export declare type SitesHasBackupsQueryError = AxiosError<unknown>;
2188
+ /**
2189
+ * @summary has backups
2190
+ */
1308
2191
  export declare const useSitesHasBackups: <TData = AxiosResponse<SitesHasBackups200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1309
2192
  query?: UseQueryOptions<AxiosResponse<SitesHasBackups200, any>, TError, TData, QueryKey> | undefined;
1310
2193
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1316,14 +2199,25 @@ export declare const useSitesHasBackups: <TData = AxiosResponse<SitesHasBackups2
1316
2199
  * @summary Add additional sites to codeguard
1317
2200
  */
1318
2201
  export declare const sitesBackupsCodeguard: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesBackupsCodeguard200>>;
2202
+ export declare const getSitesBackupsCodeguardMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2203
+ mutation?: UseMutationOptions<AxiosResponse<SitesBackupsCodeguard200, any>, TError, {
2204
+ siteId: number;
2205
+ }, TContext> | undefined;
2206
+ axios?: AxiosRequestConfig<any> | undefined;
2207
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesBackupsCodeguard200, any>, TError, {
2208
+ siteId: number;
2209
+ }, TContext>;
1319
2210
  export declare type SitesBackupsCodeguardMutationResult = NonNullable<Awaited<ReturnType<typeof sitesBackupsCodeguard>>>;
1320
2211
  export declare type SitesBackupsCodeguardMutationError = AxiosError<unknown>;
2212
+ /**
2213
+ * @summary Add additional sites to codeguard
2214
+ */
1321
2215
  export declare const useSitesBackupsCodeguard: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1322
2216
  mutation?: UseMutationOptions<AxiosResponse<SitesBackupsCodeguard200, any>, TError, {
1323
2217
  siteId: number;
1324
2218
  }, TContext> | undefined;
1325
2219
  axios?: AxiosRequestConfig<any> | undefined;
1326
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesBackupsCodeguard200, any>, TError, {
2220
+ } | undefined) => UseMutationResult<AxiosResponse<SitesBackupsCodeguard200, any>, TError, {
1327
2221
  siteId: number;
1328
2222
  }, TContext>;
1329
2223
  /**
@@ -1331,9 +2225,18 @@ export declare const useSitesBackupsCodeguard: <TError = AxiosError<unknown, any
1331
2225
  * @summary site backup details
1332
2226
  */
1333
2227
  export declare const sitesBackupsDetails: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesBackupsDetails200>>;
1334
- export declare const getSitesBackupsDetailsQueryKey: (siteId: number) => string[];
2228
+ export declare const getSitesBackupsDetailsQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/backups/details`];
2229
+ export declare const getSitesBackupsDetailsQueryOptions: <TData = AxiosResponse<SitesBackupsDetails200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
2230
+ query?: UseQueryOptions<AxiosResponse<SitesBackupsDetails200, any>, TError, TData, QueryKey> | undefined;
2231
+ axios?: AxiosRequestConfig<any> | undefined;
2232
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesBackupsDetails200, any>, TError, TData, QueryKey> & {
2233
+ queryKey: QueryKey;
2234
+ };
1335
2235
  export declare type SitesBackupsDetailsQueryResult = NonNullable<Awaited<ReturnType<typeof sitesBackupsDetails>>>;
1336
2236
  export declare type SitesBackupsDetailsQueryError = AxiosError<unknown>;
2237
+ /**
2238
+ * @summary site backup details
2239
+ */
1337
2240
  export declare const useSitesBackupsDetails: <TData = AxiosResponse<SitesBackupsDetails200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1338
2241
  query?: UseQueryOptions<AxiosResponse<SitesBackupsDetails200, any>, TError, TData, QueryKey> | undefined;
1339
2242
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1345,9 +2248,18 @@ export declare const useSitesBackupsDetails: <TData = AxiosResponse<SitesBackups
1345
2248
  * @summary Returns the status of the jetpack-backup product
1346
2249
  */
1347
2250
  export declare const jetpackBackupStatus: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<JetpackBackupStatus200>>;
1348
- export declare const getJetpackBackupStatusQueryKey: (siteId: number) => string[];
2251
+ export declare const getJetpackBackupStatusQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/backups/jetpack`];
2252
+ export declare const getJetpackBackupStatusQueryOptions: <TData = AxiosResponse<JetpackBackupStatus200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
2253
+ query?: UseQueryOptions<AxiosResponse<JetpackBackupStatus200, any>, TError, TData, QueryKey> | undefined;
2254
+ axios?: AxiosRequestConfig<any> | undefined;
2255
+ } | undefined) => UseQueryOptions<AxiosResponse<JetpackBackupStatus200, any>, TError, TData, QueryKey> & {
2256
+ queryKey: QueryKey;
2257
+ };
1349
2258
  export declare type JetpackBackupStatusQueryResult = NonNullable<Awaited<ReturnType<typeof jetpackBackupStatus>>>;
1350
2259
  export declare type JetpackBackupStatusQueryError = AxiosError<unknown>;
2260
+ /**
2261
+ * @summary Returns the status of the jetpack-backup product
2262
+ */
1351
2263
  export declare const useJetpackBackupStatus: <TData = AxiosResponse<JetpackBackupStatus200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1352
2264
  query?: UseQueryOptions<AxiosResponse<JetpackBackupStatus200, any>, TError, TData, QueryKey> | undefined;
1353
2265
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1359,14 +2271,25 @@ export declare const useJetpackBackupStatus: <TData = AxiosResponse<JetpackBacku
1359
2271
  * @summary Toggles the pending_upgrade meta of the provided jetpackbackup HAL addon
1360
2272
  */
1361
2273
  export declare const backupsJetpackBackup: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<BackupsJetpackBackup200>>;
2274
+ export declare const getBackupsJetpackBackupMutationOptions: <TError = AxiosError<void, any>, TContext = unknown>(options?: {
2275
+ mutation?: UseMutationOptions<AxiosResponse<BackupsJetpackBackup200, any>, TError, {
2276
+ siteId: number;
2277
+ }, TContext> | undefined;
2278
+ axios?: AxiosRequestConfig<any> | undefined;
2279
+ } | undefined) => UseMutationOptions<AxiosResponse<BackupsJetpackBackup200, any>, TError, {
2280
+ siteId: number;
2281
+ }, TContext>;
1362
2282
  export declare type BackupsJetpackBackupMutationResult = NonNullable<Awaited<ReturnType<typeof backupsJetpackBackup>>>;
1363
2283
  export declare type BackupsJetpackBackupMutationError = AxiosError<void>;
2284
+ /**
2285
+ * @summary Toggles the pending_upgrade meta of the provided jetpackbackup HAL addon
2286
+ */
1364
2287
  export declare const useBackupsJetpackBackup: <TError = AxiosError<void, any>, TContext = unknown>(options?: {
1365
2288
  mutation?: UseMutationOptions<AxiosResponse<BackupsJetpackBackup200, any>, TError, {
1366
2289
  siteId: number;
1367
2290
  }, TContext> | undefined;
1368
2291
  axios?: AxiosRequestConfig<any> | undefined;
1369
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<BackupsJetpackBackup200, any>, TError, {
2292
+ } | undefined) => UseMutationResult<AxiosResponse<BackupsJetpackBackup200, any>, TError, {
1370
2293
  siteId: number;
1371
2294
  }, TContext>;
1372
2295
  /**
@@ -1374,14 +2297,25 @@ export declare const useBackupsJetpackBackup: <TError = AxiosError<void, any>, T
1374
2297
  * @summary Install cloudflare basic addon using site_id
1375
2298
  */
1376
2299
  export declare const siteAddonCloudflare: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SiteAddonCloudflare200>>;
2300
+ export declare const getSiteAddonCloudflareMutationOptions: <TError = AxiosError<SiteAddonCloudflare400, any>, TContext = unknown>(options?: {
2301
+ mutation?: UseMutationOptions<AxiosResponse<SiteAddonCloudflare200, any>, TError, {
2302
+ siteId: number;
2303
+ }, TContext> | undefined;
2304
+ axios?: AxiosRequestConfig<any> | undefined;
2305
+ } | undefined) => UseMutationOptions<AxiosResponse<SiteAddonCloudflare200, any>, TError, {
2306
+ siteId: number;
2307
+ }, TContext>;
1377
2308
  export declare type SiteAddonCloudflareMutationResult = NonNullable<Awaited<ReturnType<typeof siteAddonCloudflare>>>;
1378
2309
  export declare type SiteAddonCloudflareMutationError = AxiosError<SiteAddonCloudflare400>;
2310
+ /**
2311
+ * @summary Install cloudflare basic addon using site_id
2312
+ */
1379
2313
  export declare const useSiteAddonCloudflare: <TError = AxiosError<SiteAddonCloudflare400, any>, TContext = unknown>(options?: {
1380
2314
  mutation?: UseMutationOptions<AxiosResponse<SiteAddonCloudflare200, any>, TError, {
1381
2315
  siteId: number;
1382
2316
  }, TContext> | undefined;
1383
2317
  axios?: AxiosRequestConfig<any> | undefined;
1384
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SiteAddonCloudflare200, any>, TError, {
2318
+ } | undefined) => UseMutationResult<AxiosResponse<SiteAddonCloudflare200, any>, TError, {
1385
2319
  siteId: number;
1386
2320
  }, TContext>;
1387
2321
  /**
@@ -1389,9 +2323,18 @@ export declare const useSiteAddonCloudflare: <TError = AxiosError<SiteAddonCloud
1389
2323
  * @summary site - database info
1390
2324
  */
1391
2325
  export declare const sitesDatabaseInfo: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesDatabaseInfo200>>;
1392
- export declare const getSitesDatabaseInfoQueryKey: (siteId: number) => string[];
2326
+ export declare const getSitesDatabaseInfoQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/database`];
2327
+ export declare const getSitesDatabaseInfoQueryOptions: <TData = AxiosResponse<SitesDatabaseInfo200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
2328
+ query?: UseQueryOptions<AxiosResponse<SitesDatabaseInfo200, any>, TError, TData, QueryKey> | undefined;
2329
+ axios?: AxiosRequestConfig<any> | undefined;
2330
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesDatabaseInfo200, any>, TError, TData, QueryKey> & {
2331
+ queryKey: QueryKey;
2332
+ };
1393
2333
  export declare type SitesDatabaseInfoQueryResult = NonNullable<Awaited<ReturnType<typeof sitesDatabaseInfo>>>;
1394
2334
  export declare type SitesDatabaseInfoQueryError = AxiosError<unknown>;
2335
+ /**
2336
+ * @summary site - database info
2337
+ */
1395
2338
  export declare const useSitesDatabaseInfo: <TData = AxiosResponse<SitesDatabaseInfo200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1396
2339
  query?: UseQueryOptions<AxiosResponse<SitesDatabaseInfo200, any>, TError, TData, QueryKey> | undefined;
1397
2340
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1403,14 +2346,25 @@ export declare const useSitesDatabaseInfo: <TData = AxiosResponse<SitesDatabaseI
1403
2346
  * @summary site - database - password sync
1404
2347
  */
1405
2348
  export declare const sitesDatabasePasswordsync: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesDatabasePasswordsync200>>;
2349
+ export declare const getSitesDatabasePasswordsyncMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2350
+ mutation?: UseMutationOptions<AxiosResponse<SitesDatabasePasswordsync200, any>, TError, {
2351
+ siteId: number;
2352
+ }, TContext> | undefined;
2353
+ axios?: AxiosRequestConfig<any> | undefined;
2354
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesDatabasePasswordsync200, any>, TError, {
2355
+ siteId: number;
2356
+ }, TContext>;
1406
2357
  export declare type SitesDatabasePasswordsyncMutationResult = NonNullable<Awaited<ReturnType<typeof sitesDatabasePasswordsync>>>;
1407
2358
  export declare type SitesDatabasePasswordsyncMutationError = AxiosError<unknown>;
2359
+ /**
2360
+ * @summary site - database - password sync
2361
+ */
1408
2362
  export declare const useSitesDatabasePasswordsync: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1409
2363
  mutation?: UseMutationOptions<AxiosResponse<SitesDatabasePasswordsync200, any>, TError, {
1410
2364
  siteId: number;
1411
2365
  }, TContext> | undefined;
1412
2366
  axios?: AxiosRequestConfig<any> | undefined;
1413
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesDatabasePasswordsync200, any>, TError, {
2367
+ } | undefined) => UseMutationResult<AxiosResponse<SitesDatabasePasswordsync200, any>, TError, {
1414
2368
  siteId: number;
1415
2369
  }, TContext>;
1416
2370
  /**
@@ -1418,9 +2372,18 @@ export declare const useSitesDatabasePasswordsync: <TError = AxiosError<unknown,
1418
2372
  * @summary dns
1419
2373
  */
1420
2374
  export declare const sitesDns: (siteId: string, params?: SitesDnsParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesDns200>>;
1421
- export declare const getSitesDnsQueryKey: (siteId: string, params?: SitesDnsParams) => (string | SitesDnsParams)[];
2375
+ export declare const getSitesDnsQueryKey: (siteId: string, params?: SitesDnsParams) => readonly [`/v1/sites/${string}/dns`, ...SitesDnsParams[]];
2376
+ export declare const getSitesDnsQueryOptions: <TData = AxiosResponse<SitesDns200, any>, TError = AxiosError<unknown, any>>(siteId: string, params?: SitesDnsParams, options?: {
2377
+ query?: UseQueryOptions<AxiosResponse<SitesDns200, any>, TError, TData, QueryKey> | undefined;
2378
+ axios?: AxiosRequestConfig<any> | undefined;
2379
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesDns200, any>, TError, TData, QueryKey> & {
2380
+ queryKey: QueryKey;
2381
+ };
1422
2382
  export declare type SitesDnsQueryResult = NonNullable<Awaited<ReturnType<typeof sitesDns>>>;
1423
2383
  export declare type SitesDnsQueryError = AxiosError<unknown>;
2384
+ /**
2385
+ * @summary dns
2386
+ */
1424
2387
  export declare const useSitesDns: <TData = AxiosResponse<SitesDns200, any>, TError = AxiosError<unknown, any>>(siteId: string, params?: SitesDnsParams, options?: {
1425
2388
  query?: UseQueryOptions<AxiosResponse<SitesDns200, any>, TError, TData, QueryKey> | undefined;
1426
2389
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1432,9 +2395,18 @@ export declare const useSitesDns: <TData = AxiosResponse<SitesDns200, any>, TErr
1432
2395
  * @summary Domain DNS setup for site
1433
2396
  */
1434
2397
  export declare const sitesDomain: (siteId: number, params?: SitesDomainParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesDomain200>>;
1435
- export declare const getSitesDomainQueryKey: (siteId: number, params?: SitesDomainParams) => (string | SitesDomainParams)[];
2398
+ export declare const getSitesDomainQueryKey: (siteId: number, params?: SitesDomainParams) => readonly [`/v1/sites/${number}/domain`, ...SitesDomainParams[]];
2399
+ export declare const getSitesDomainQueryOptions: <TData = AxiosResponse<SitesDomain200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesDomainParams, options?: {
2400
+ query?: UseQueryOptions<AxiosResponse<SitesDomain200, any>, TError, TData, QueryKey> | undefined;
2401
+ axios?: AxiosRequestConfig<any> | undefined;
2402
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesDomain200, any>, TError, TData, QueryKey> & {
2403
+ queryKey: QueryKey;
2404
+ };
1436
2405
  export declare type SitesDomainQueryResult = NonNullable<Awaited<ReturnType<typeof sitesDomain>>>;
1437
2406
  export declare type SitesDomainQueryError = AxiosError<unknown>;
2407
+ /**
2408
+ * @summary Domain DNS setup for site
2409
+ */
1438
2410
  export declare const useSitesDomain: <TData = AxiosResponse<SitesDomain200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesDomainParams, options?: {
1439
2411
  query?: UseQueryOptions<AxiosResponse<SitesDomain200, any>, TError, TData, QueryKey> | undefined;
1440
2412
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1446,16 +2418,29 @@ export declare const useSitesDomain: <TData = AxiosResponse<SitesDomain200, any>
1446
2418
  * @summary Add pending site url
1447
2419
  */
1448
2420
  export declare const sitesDomainUrl: (siteId: number, sitesDomainUrlBody: SitesDomainUrlBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesDomainUrl200>>;
2421
+ export declare const getSitesDomainUrlMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2422
+ mutation?: UseMutationOptions<AxiosResponse<SitesDomainUrl200, any>, TError, {
2423
+ siteId: number;
2424
+ data: SitesDomainUrlBody;
2425
+ }, TContext> | undefined;
2426
+ axios?: AxiosRequestConfig<any> | undefined;
2427
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesDomainUrl200, any>, TError, {
2428
+ siteId: number;
2429
+ data: SitesDomainUrlBody;
2430
+ }, TContext>;
1449
2431
  export declare type SitesDomainUrlMutationResult = NonNullable<Awaited<ReturnType<typeof sitesDomainUrl>>>;
1450
2432
  export declare type SitesDomainUrlMutationBody = SitesDomainUrlBody;
1451
2433
  export declare type SitesDomainUrlMutationError = AxiosError<unknown>;
2434
+ /**
2435
+ * @summary Add pending site url
2436
+ */
1452
2437
  export declare const useSitesDomainUrl: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1453
2438
  mutation?: UseMutationOptions<AxiosResponse<SitesDomainUrl200, any>, TError, {
1454
2439
  siteId: number;
1455
2440
  data: SitesDomainUrlBody;
1456
2441
  }, TContext> | undefined;
1457
2442
  axios?: AxiosRequestConfig<any> | undefined;
1458
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesDomainUrl200, any>, TError, {
2443
+ } | undefined) => UseMutationResult<AxiosResponse<SitesDomainUrl200, any>, TError, {
1459
2444
  siteId: number;
1460
2445
  data: SitesDomainUrlBody;
1461
2446
  }, TContext>;
@@ -1464,16 +2449,29 @@ export declare const useSitesDomainUrl: <TError = AxiosError<unknown, any>, TCon
1464
2449
  * @summary Add domain for the site
1465
2450
  */
1466
2451
  export declare const sitesDomainsCreate: (siteId: number, sitesDomainsCreateBody: SitesDomainsCreateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesDomainsCreate200>>;
2452
+ export declare const getSitesDomainsCreateMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2453
+ mutation?: UseMutationOptions<AxiosResponse<SitesDomainsCreate200, any>, TError, {
2454
+ siteId: number;
2455
+ data: SitesDomainsCreateBody;
2456
+ }, TContext> | undefined;
2457
+ axios?: AxiosRequestConfig<any> | undefined;
2458
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesDomainsCreate200, any>, TError, {
2459
+ siteId: number;
2460
+ data: SitesDomainsCreateBody;
2461
+ }, TContext>;
1467
2462
  export declare type SitesDomainsCreateMutationResult = NonNullable<Awaited<ReturnType<typeof sitesDomainsCreate>>>;
1468
2463
  export declare type SitesDomainsCreateMutationBody = SitesDomainsCreateBody;
1469
2464
  export declare type SitesDomainsCreateMutationError = AxiosError<unknown>;
2465
+ /**
2466
+ * @summary Add domain for the site
2467
+ */
1470
2468
  export declare const useSitesDomainsCreate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1471
2469
  mutation?: UseMutationOptions<AxiosResponse<SitesDomainsCreate200, any>, TError, {
1472
2470
  siteId: number;
1473
2471
  data: SitesDomainsCreateBody;
1474
2472
  }, TContext> | undefined;
1475
2473
  axios?: AxiosRequestConfig<any> | undefined;
1476
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesDomainsCreate200, any>, TError, {
2474
+ } | undefined) => UseMutationResult<AxiosResponse<SitesDomainsCreate200, any>, TError, {
1477
2475
  siteId: number;
1478
2476
  data: SitesDomainsCreateBody;
1479
2477
  }, TContext>;
@@ -1482,17 +2480,35 @@ export declare const useSitesDomainsCreate: <TError = AxiosError<unknown, any>,
1482
2480
  * @summary Site access logs
1483
2481
  */
1484
2482
  export declare const sitesAccessLogs: (siteId: number, params?: SitesAccessLogsParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesAccessLogs200>>;
1485
- export declare const getSitesAccessLogsQueryKey: (siteId: number, params?: SitesAccessLogsParams) => (string | SitesAccessLogsParams)[];
2483
+ export declare const getSitesAccessLogsQueryKey: (siteId: number, params?: SitesAccessLogsParams) => readonly [`/v1/sites/${number}/logs/access`, ...SitesAccessLogsParams[]];
2484
+ export declare const getSitesAccessLogsInfiniteQueryOptions: <TData = AxiosResponse<SitesAccessLogs200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesAccessLogsParams, options?: {
2485
+ query?: UseInfiniteQueryOptions<AxiosResponse<SitesAccessLogs200, any>, TError, TData, AxiosResponse<SitesAccessLogs200, any>, QueryKey, unknown> | undefined;
2486
+ axios?: AxiosRequestConfig<any> | undefined;
2487
+ } | undefined) => UseInfiniteQueryOptions<AxiosResponse<SitesAccessLogs200, any>, TError, TData, AxiosResponse<SitesAccessLogs200, any>, QueryKey, unknown> & {
2488
+ queryKey: QueryKey;
2489
+ };
1486
2490
  export declare type SitesAccessLogsInfiniteQueryResult = NonNullable<Awaited<ReturnType<typeof sitesAccessLogs>>>;
1487
2491
  export declare type SitesAccessLogsInfiniteQueryError = AxiosError<unknown>;
2492
+ /**
2493
+ * @summary Site access logs
2494
+ */
1488
2495
  export declare const useSitesAccessLogsInfinite: <TData = AxiosResponse<SitesAccessLogs200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesAccessLogsParams, options?: {
1489
- query?: UseInfiniteQueryOptions<AxiosResponse<SitesAccessLogs200, any>, TError, TData, AxiosResponse<SitesAccessLogs200, any>, QueryKey> | undefined;
2496
+ query?: UseInfiniteQueryOptions<AxiosResponse<SitesAccessLogs200, any>, TError, TData, AxiosResponse<SitesAccessLogs200, any>, QueryKey, unknown> | undefined;
1490
2497
  axios?: AxiosRequestConfig<any> | undefined;
1491
2498
  } | undefined) => UseInfiniteQueryResult<TData, TError> & {
1492
2499
  queryKey: QueryKey;
1493
2500
  };
2501
+ export declare const getSitesAccessLogsQueryOptions: <TData = AxiosResponse<SitesAccessLogs200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesAccessLogsParams, options?: {
2502
+ query?: UseQueryOptions<AxiosResponse<SitesAccessLogs200, any>, TError, TData, QueryKey> | undefined;
2503
+ axios?: AxiosRequestConfig<any> | undefined;
2504
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesAccessLogs200, any>, TError, TData, QueryKey> & {
2505
+ queryKey: QueryKey;
2506
+ };
1494
2507
  export declare type SitesAccessLogsQueryResult = NonNullable<Awaited<ReturnType<typeof sitesAccessLogs>>>;
1495
2508
  export declare type SitesAccessLogsQueryError = AxiosError<unknown>;
2509
+ /**
2510
+ * @summary Site access logs
2511
+ */
1496
2512
  export declare const useSitesAccessLogs: <TData = AxiosResponse<SitesAccessLogs200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesAccessLogsParams, options?: {
1497
2513
  query?: UseQueryOptions<AxiosResponse<SitesAccessLogs200, any>, TError, TData, QueryKey> | undefined;
1498
2514
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1504,9 +2520,18 @@ export declare const useSitesAccessLogs: <TData = AxiosResponse<SitesAccessLogs2
1504
2520
  * @summary Site access logs
1505
2521
  */
1506
2522
  export declare const sitesAccessLogsDownload: (siteId: number, params?: SitesAccessLogsDownloadParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<unknown>>;
1507
- export declare const getSitesAccessLogsDownloadQueryKey: (siteId: number, params?: SitesAccessLogsDownloadParams) => (string | SitesAccessLogsDownloadParams)[];
2523
+ export declare const getSitesAccessLogsDownloadQueryKey: (siteId: number, params?: SitesAccessLogsDownloadParams) => readonly [`/v1/sites/${number}/logs/access/download`, ...SitesAccessLogsDownloadParams[]];
2524
+ export declare const getSitesAccessLogsDownloadQueryOptions: <TData = AxiosResponse<unknown, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesAccessLogsDownloadParams, options?: {
2525
+ query?: UseQueryOptions<AxiosResponse<unknown, any>, TError, TData, QueryKey> | undefined;
2526
+ axios?: AxiosRequestConfig<any> | undefined;
2527
+ } | undefined) => UseQueryOptions<AxiosResponse<unknown, any>, TError, TData, QueryKey> & {
2528
+ queryKey: QueryKey;
2529
+ };
1508
2530
  export declare type SitesAccessLogsDownloadQueryResult = NonNullable<Awaited<ReturnType<typeof sitesAccessLogsDownload>>>;
1509
2531
  export declare type SitesAccessLogsDownloadQueryError = AxiosError<unknown>;
2532
+ /**
2533
+ * @summary Site access logs
2534
+ */
1510
2535
  export declare const useSitesAccessLogsDownload: <TData = AxiosResponse<unknown, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesAccessLogsDownloadParams, options?: {
1511
2536
  query?: UseQueryOptions<AxiosResponse<unknown, any>, TError, TData, QueryKey> | undefined;
1512
2537
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1518,17 +2543,35 @@ export declare const useSitesAccessLogsDownload: <TData = AxiosResponse<unknown,
1518
2543
  * @summary Site error logs
1519
2544
  */
1520
2545
  export declare const sitesErrorLogs: (siteId: number, params?: SitesErrorLogsParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesErrorLogs200>>;
1521
- export declare const getSitesErrorLogsQueryKey: (siteId: number, params?: SitesErrorLogsParams) => (string | SitesErrorLogsParams)[];
2546
+ export declare const getSitesErrorLogsQueryKey: (siteId: number, params?: SitesErrorLogsParams) => readonly [`/v1/sites/${number}/logs/error`, ...SitesErrorLogsParams[]];
2547
+ export declare const getSitesErrorLogsInfiniteQueryOptions: <TData = AxiosResponse<SitesErrorLogs200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesErrorLogsParams, options?: {
2548
+ query?: UseInfiniteQueryOptions<AxiosResponse<SitesErrorLogs200, any>, TError, TData, AxiosResponse<SitesErrorLogs200, any>, QueryKey, unknown> | undefined;
2549
+ axios?: AxiosRequestConfig<any> | undefined;
2550
+ } | undefined) => UseInfiniteQueryOptions<AxiosResponse<SitesErrorLogs200, any>, TError, TData, AxiosResponse<SitesErrorLogs200, any>, QueryKey, unknown> & {
2551
+ queryKey: QueryKey;
2552
+ };
1522
2553
  export declare type SitesErrorLogsInfiniteQueryResult = NonNullable<Awaited<ReturnType<typeof sitesErrorLogs>>>;
1523
2554
  export declare type SitesErrorLogsInfiniteQueryError = AxiosError<unknown>;
2555
+ /**
2556
+ * @summary Site error logs
2557
+ */
1524
2558
  export declare const useSitesErrorLogsInfinite: <TData = AxiosResponse<SitesErrorLogs200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesErrorLogsParams, options?: {
1525
- query?: UseInfiniteQueryOptions<AxiosResponse<SitesErrorLogs200, any>, TError, TData, AxiosResponse<SitesErrorLogs200, any>, QueryKey> | undefined;
2559
+ query?: UseInfiniteQueryOptions<AxiosResponse<SitesErrorLogs200, any>, TError, TData, AxiosResponse<SitesErrorLogs200, any>, QueryKey, unknown> | undefined;
1526
2560
  axios?: AxiosRequestConfig<any> | undefined;
1527
2561
  } | undefined) => UseInfiniteQueryResult<TData, TError> & {
1528
2562
  queryKey: QueryKey;
1529
2563
  };
2564
+ export declare const getSitesErrorLogsQueryOptions: <TData = AxiosResponse<SitesErrorLogs200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesErrorLogsParams, options?: {
2565
+ query?: UseQueryOptions<AxiosResponse<SitesErrorLogs200, any>, TError, TData, QueryKey> | undefined;
2566
+ axios?: AxiosRequestConfig<any> | undefined;
2567
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesErrorLogs200, any>, TError, TData, QueryKey> & {
2568
+ queryKey: QueryKey;
2569
+ };
1530
2570
  export declare type SitesErrorLogsQueryResult = NonNullable<Awaited<ReturnType<typeof sitesErrorLogs>>>;
1531
2571
  export declare type SitesErrorLogsQueryError = AxiosError<unknown>;
2572
+ /**
2573
+ * @summary Site error logs
2574
+ */
1532
2575
  export declare const useSitesErrorLogs: <TData = AxiosResponse<SitesErrorLogs200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesErrorLogsParams, options?: {
1533
2576
  query?: UseQueryOptions<AxiosResponse<SitesErrorLogs200, any>, TError, TData, QueryKey> | undefined;
1534
2577
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1540,9 +2583,18 @@ export declare const useSitesErrorLogs: <TData = AxiosResponse<SitesErrorLogs200
1540
2583
  * @summary Site error logs
1541
2584
  */
1542
2585
  export declare const sitesErrorLogsDownload: (siteId: number, params?: SitesErrorLogsDownloadParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<unknown>>;
1543
- export declare const getSitesErrorLogsDownloadQueryKey: (siteId: number, params?: SitesErrorLogsDownloadParams) => (string | SitesErrorLogsDownloadParams)[];
2586
+ export declare const getSitesErrorLogsDownloadQueryKey: (siteId: number, params?: SitesErrorLogsDownloadParams) => readonly [`/v1/sites/${number}/logs/error/download`, ...SitesErrorLogsDownloadParams[]];
2587
+ export declare const getSitesErrorLogsDownloadQueryOptions: <TData = AxiosResponse<unknown, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesErrorLogsDownloadParams, options?: {
2588
+ query?: UseQueryOptions<AxiosResponse<unknown, any>, TError, TData, QueryKey> | undefined;
2589
+ axios?: AxiosRequestConfig<any> | undefined;
2590
+ } | undefined) => UseQueryOptions<AxiosResponse<unknown, any>, TError, TData, QueryKey> & {
2591
+ queryKey: QueryKey;
2592
+ };
1544
2593
  export declare type SitesErrorLogsDownloadQueryResult = NonNullable<Awaited<ReturnType<typeof sitesErrorLogsDownload>>>;
1545
2594
  export declare type SitesErrorLogsDownloadQueryError = AxiosError<unknown>;
2595
+ /**
2596
+ * @summary Site error logs
2597
+ */
1546
2598
  export declare const useSitesErrorLogsDownload: <TData = AxiosResponse<unknown, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesErrorLogsDownloadParams, options?: {
1547
2599
  query?: UseQueryOptions<AxiosResponse<unknown, any>, TError, TData, QueryKey> | undefined;
1548
2600
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1554,9 +2606,18 @@ export declare const useSitesErrorLogsDownload: <TData = AxiosResponse<unknown,
1554
2606
  * @summary malware status of atomic site
1555
2607
  */
1556
2608
  export declare const siteMalwareStatus: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SiteMalwareStatus200>>;
1557
- export declare const getSiteMalwareStatusQueryKey: (siteId: number) => string[];
2609
+ export declare const getSiteMalwareStatusQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/malware-status`];
2610
+ export declare const getSiteMalwareStatusQueryOptions: <TData = AxiosResponse<SiteMalwareStatus200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
2611
+ query?: UseQueryOptions<AxiosResponse<SiteMalwareStatus200, any>, TError, TData, QueryKey> | undefined;
2612
+ axios?: AxiosRequestConfig<any> | undefined;
2613
+ } | undefined) => UseQueryOptions<AxiosResponse<SiteMalwareStatus200, any>, TError, TData, QueryKey> & {
2614
+ queryKey: QueryKey;
2615
+ };
1558
2616
  export declare type SiteMalwareStatusQueryResult = NonNullable<Awaited<ReturnType<typeof siteMalwareStatus>>>;
1559
2617
  export declare type SiteMalwareStatusQueryError = AxiosError<unknown>;
2618
+ /**
2619
+ * @summary malware status of atomic site
2620
+ */
1560
2621
  export declare const useSiteMalwareStatus: <TData = AxiosResponse<SiteMalwareStatus200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1561
2622
  query?: UseQueryOptions<AxiosResponse<SiteMalwareStatus200, any>, TError, TData, QueryKey> | undefined;
1562
2623
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1568,14 +2629,25 @@ export declare const useSiteMalwareStatus: <TData = AxiosResponse<SiteMalwareSta
1568
2629
  * @summary Delete pending domain
1569
2630
  */
1570
2631
  export declare const sitePendingDomainDelete: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitePendingDomainDelete200>>;
2632
+ export declare const getSitePendingDomainDeleteMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2633
+ mutation?: UseMutationOptions<AxiosResponse<SitePendingDomainDelete200, any>, TError, {
2634
+ siteId: number;
2635
+ }, TContext> | undefined;
2636
+ axios?: AxiosRequestConfig<any> | undefined;
2637
+ } | undefined) => UseMutationOptions<AxiosResponse<SitePendingDomainDelete200, any>, TError, {
2638
+ siteId: number;
2639
+ }, TContext>;
1571
2640
  export declare type SitePendingDomainDeleteMutationResult = NonNullable<Awaited<ReturnType<typeof sitePendingDomainDelete>>>;
1572
2641
  export declare type SitePendingDomainDeleteMutationError = AxiosError<unknown>;
2642
+ /**
2643
+ * @summary Delete pending domain
2644
+ */
1573
2645
  export declare const useSitePendingDomainDelete: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1574
2646
  mutation?: UseMutationOptions<AxiosResponse<SitePendingDomainDelete200, any>, TError, {
1575
2647
  siteId: number;
1576
2648
  }, TContext> | undefined;
1577
2649
  axios?: AxiosRequestConfig<any> | undefined;
1578
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitePendingDomainDelete200, any>, TError, {
2650
+ } | undefined) => UseMutationResult<AxiosResponse<SitePendingDomainDelete200, any>, TError, {
1579
2651
  siteId: number;
1580
2652
  }, TContext>;
1581
2653
  /**
@@ -1583,16 +2655,29 @@ export declare const useSitePendingDomainDelete: <TError = AxiosError<unknown, a
1583
2655
  * @summary cache purge url
1584
2656
  */
1585
2657
  export declare const sitesPerformanceCachepurge: (siteId: number, sitesPerformanceCachepurgeBody: SitesPerformanceCachepurgeBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesPerformanceCachepurge200>>;
2658
+ export declare const getSitesPerformanceCachepurgeMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2659
+ mutation?: UseMutationOptions<AxiosResponse<SitesPerformanceCachepurge200, any>, TError, {
2660
+ siteId: number;
2661
+ data: SitesPerformanceCachepurgeBody;
2662
+ }, TContext> | undefined;
2663
+ axios?: AxiosRequestConfig<any> | undefined;
2664
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesPerformanceCachepurge200, any>, TError, {
2665
+ siteId: number;
2666
+ data: SitesPerformanceCachepurgeBody;
2667
+ }, TContext>;
1586
2668
  export declare type SitesPerformanceCachepurgeMutationResult = NonNullable<Awaited<ReturnType<typeof sitesPerformanceCachepurge>>>;
1587
2669
  export declare type SitesPerformanceCachepurgeMutationBody = SitesPerformanceCachepurgeBody;
1588
2670
  export declare type SitesPerformanceCachepurgeMutationError = AxiosError<unknown>;
2671
+ /**
2672
+ * @summary cache purge url
2673
+ */
1589
2674
  export declare const useSitesPerformanceCachepurge: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1590
2675
  mutation?: UseMutationOptions<AxiosResponse<SitesPerformanceCachepurge200, any>, TError, {
1591
2676
  siteId: number;
1592
2677
  data: SitesPerformanceCachepurgeBody;
1593
2678
  }, TContext> | undefined;
1594
2679
  axios?: AxiosRequestConfig<any> | undefined;
1595
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesPerformanceCachepurge200, any>, TError, {
2680
+ } | undefined) => UseMutationResult<AxiosResponse<SitesPerformanceCachepurge200, any>, TError, {
1596
2681
  siteId: number;
1597
2682
  data: SitesPerformanceCachepurgeBody;
1598
2683
  }, TContext>;
@@ -1601,16 +2686,29 @@ export declare const useSitesPerformanceCachepurge: <TError = AxiosError<unknown
1601
2686
  * @summary edge cache toggle for atomic site
1602
2687
  */
1603
2688
  export declare const sitesPerformanceEdgecache: (siteId: number, sitesPerformanceEdgecacheBody: SitesPerformanceEdgecacheBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesPerformanceEdgecache200>>;
2689
+ export declare const getSitesPerformanceEdgecacheMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2690
+ mutation?: UseMutationOptions<AxiosResponse<SitesPerformanceEdgecache200, any>, TError, {
2691
+ siteId: number;
2692
+ data: SitesPerformanceEdgecacheBody;
2693
+ }, TContext> | undefined;
2694
+ axios?: AxiosRequestConfig<any> | undefined;
2695
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesPerformanceEdgecache200, any>, TError, {
2696
+ siteId: number;
2697
+ data: SitesPerformanceEdgecacheBody;
2698
+ }, TContext>;
1604
2699
  export declare type SitesPerformanceEdgecacheMutationResult = NonNullable<Awaited<ReturnType<typeof sitesPerformanceEdgecache>>>;
1605
2700
  export declare type SitesPerformanceEdgecacheMutationBody = SitesPerformanceEdgecacheBody;
1606
2701
  export declare type SitesPerformanceEdgecacheMutationError = AxiosError<unknown>;
2702
+ /**
2703
+ * @summary edge cache toggle for atomic site
2704
+ */
1607
2705
  export declare const useSitesPerformanceEdgecache: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1608
2706
  mutation?: UseMutationOptions<AxiosResponse<SitesPerformanceEdgecache200, any>, TError, {
1609
2707
  siteId: number;
1610
2708
  data: SitesPerformanceEdgecacheBody;
1611
2709
  }, TContext> | undefined;
1612
2710
  axios?: AxiosRequestConfig<any> | undefined;
1613
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesPerformanceEdgecache200, any>, TError, {
2711
+ } | undefined) => UseMutationResult<AxiosResponse<SitesPerformanceEdgecache200, any>, TError, {
1614
2712
  siteId: number;
1615
2713
  data: SitesPerformanceEdgecacheBody;
1616
2714
  }, TContext>;
@@ -1619,9 +2717,18 @@ export declare const useSitesPerformanceEdgecache: <TError = AxiosError<unknown,
1619
2717
  * @summary Get status of endurance cache level
1620
2718
  */
1621
2719
  export declare const sitesPerformanceEnduranceCacheLevelStatus: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesPerformanceEnduranceCacheLevelStatus200>>;
1622
- export declare const getSitesPerformanceEnduranceCacheLevelStatusQueryKey: (siteId: number) => string[];
2720
+ export declare const getSitesPerformanceEnduranceCacheLevelStatusQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/performance/endurance_cache_level`];
2721
+ export declare const getSitesPerformanceEnduranceCacheLevelStatusQueryOptions: <TData = AxiosResponse<SitesPerformanceEnduranceCacheLevelStatus200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
2722
+ query?: UseQueryOptions<AxiosResponse<SitesPerformanceEnduranceCacheLevelStatus200, any>, TError, TData, QueryKey> | undefined;
2723
+ axios?: AxiosRequestConfig<any> | undefined;
2724
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesPerformanceEnduranceCacheLevelStatus200, any>, TError, TData, QueryKey> & {
2725
+ queryKey: QueryKey;
2726
+ };
1623
2727
  export declare type SitesPerformanceEnduranceCacheLevelStatusQueryResult = NonNullable<Awaited<ReturnType<typeof sitesPerformanceEnduranceCacheLevelStatus>>>;
1624
2728
  export declare type SitesPerformanceEnduranceCacheLevelStatusQueryError = AxiosError<unknown>;
2729
+ /**
2730
+ * @summary Get status of endurance cache level
2731
+ */
1625
2732
  export declare const useSitesPerformanceEnduranceCacheLevelStatus: <TData = AxiosResponse<SitesPerformanceEnduranceCacheLevelStatus200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1626
2733
  query?: UseQueryOptions<AxiosResponse<SitesPerformanceEnduranceCacheLevelStatus200, any>, TError, TData, QueryKey> | undefined;
1627
2734
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1633,16 +2740,29 @@ export declare const useSitesPerformanceEnduranceCacheLevelStatus: <TData = Axio
1633
2740
  * @summary Set endurance cache level
1634
2741
  */
1635
2742
  export declare const sitesPerformanceEnduranceCacheLevel: (siteId: number, sitesPerformanceEnduranceCacheLevelBody: SitesPerformanceEnduranceCacheLevelBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesPerformanceEnduranceCacheLevel200>>;
2743
+ export declare const getSitesPerformanceEnduranceCacheLevelMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2744
+ mutation?: UseMutationOptions<AxiosResponse<SitesPerformanceEnduranceCacheLevel200, any>, TError, {
2745
+ siteId: number;
2746
+ data: SitesPerformanceEnduranceCacheLevelBody;
2747
+ }, TContext> | undefined;
2748
+ axios?: AxiosRequestConfig<any> | undefined;
2749
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesPerformanceEnduranceCacheLevel200, any>, TError, {
2750
+ siteId: number;
2751
+ data: SitesPerformanceEnduranceCacheLevelBody;
2752
+ }, TContext>;
1636
2753
  export declare type SitesPerformanceEnduranceCacheLevelMutationResult = NonNullable<Awaited<ReturnType<typeof sitesPerformanceEnduranceCacheLevel>>>;
1637
2754
  export declare type SitesPerformanceEnduranceCacheLevelMutationBody = SitesPerformanceEnduranceCacheLevelBody;
1638
2755
  export declare type SitesPerformanceEnduranceCacheLevelMutationError = AxiosError<unknown>;
2756
+ /**
2757
+ * @summary Set endurance cache level
2758
+ */
1639
2759
  export declare const useSitesPerformanceEnduranceCacheLevel: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1640
2760
  mutation?: UseMutationOptions<AxiosResponse<SitesPerformanceEnduranceCacheLevel200, any>, TError, {
1641
2761
  siteId: number;
1642
2762
  data: SitesPerformanceEnduranceCacheLevelBody;
1643
2763
  }, TContext> | undefined;
1644
2764
  axios?: AxiosRequestConfig<any> | undefined;
1645
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesPerformanceEnduranceCacheLevel200, any>, TError, {
2765
+ } | undefined) => UseMutationResult<AxiosResponse<SitesPerformanceEnduranceCacheLevel200, any>, TError, {
1646
2766
  siteId: number;
1647
2767
  data: SitesPerformanceEnduranceCacheLevelBody;
1648
2768
  }, TContext>;
@@ -1651,14 +2771,25 @@ export declare const useSitesPerformanceEnduranceCacheLevel: <TError = AxiosErro
1651
2771
  * @summary update the endurance cache page
1652
2772
  */
1653
2773
  export declare const sitesPerformanceEndurancePageCache: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesPerformanceEndurancePageCache200>>;
2774
+ export declare const getSitesPerformanceEndurancePageCacheMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2775
+ mutation?: UseMutationOptions<AxiosResponse<SitesPerformanceEndurancePageCache200, any>, TError, {
2776
+ siteId: number;
2777
+ }, TContext> | undefined;
2778
+ axios?: AxiosRequestConfig<any> | undefined;
2779
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesPerformanceEndurancePageCache200, any>, TError, {
2780
+ siteId: number;
2781
+ }, TContext>;
1654
2782
  export declare type SitesPerformanceEndurancePageCacheMutationResult = NonNullable<Awaited<ReturnType<typeof sitesPerformanceEndurancePageCache>>>;
1655
2783
  export declare type SitesPerformanceEndurancePageCacheMutationError = AxiosError<unknown>;
2784
+ /**
2785
+ * @summary update the endurance cache page
2786
+ */
1656
2787
  export declare const useSitesPerformanceEndurancePageCache: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1657
2788
  mutation?: UseMutationOptions<AxiosResponse<SitesPerformanceEndurancePageCache200, any>, TError, {
1658
2789
  siteId: number;
1659
2790
  }, TContext> | undefined;
1660
2791
  axios?: AxiosRequestConfig<any> | undefined;
1661
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesPerformanceEndurancePageCache200, any>, TError, {
2792
+ } | undefined) => UseMutationResult<AxiosResponse<SitesPerformanceEndurancePageCache200, any>, TError, {
1662
2793
  siteId: number;
1663
2794
  }, TContext>;
1664
2795
  /**
@@ -1666,9 +2797,18 @@ export declare const useSitesPerformanceEndurancePageCache: <TError = AxiosError
1666
2797
  * @summary plugins
1667
2798
  */
1668
2799
  export declare const sitePlugins: (siteId: number, params?: SitePluginsParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitePlugins200>>;
1669
- export declare const getSitePluginsQueryKey: (siteId: number, params?: SitePluginsParams) => (string | SitePluginsParams)[];
2800
+ export declare const getSitePluginsQueryKey: (siteId: number, params?: SitePluginsParams) => readonly [`/v1/sites/${number}/plugins`, ...SitePluginsParams[]];
2801
+ export declare const getSitePluginsQueryOptions: <TData = AxiosResponse<SitePlugins200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitePluginsParams, options?: {
2802
+ query?: UseQueryOptions<AxiosResponse<SitePlugins200, any>, TError, TData, QueryKey> | undefined;
2803
+ axios?: AxiosRequestConfig<any> | undefined;
2804
+ } | undefined) => UseQueryOptions<AxiosResponse<SitePlugins200, any>, TError, TData, QueryKey> & {
2805
+ queryKey: QueryKey;
2806
+ };
1670
2807
  export declare type SitePluginsQueryResult = NonNullable<Awaited<ReturnType<typeof sitePlugins>>>;
1671
2808
  export declare type SitePluginsQueryError = AxiosError<unknown>;
2809
+ /**
2810
+ * @summary plugins
2811
+ */
1672
2812
  export declare const useSitePlugins: <TData = AxiosResponse<SitePlugins200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitePluginsParams, options?: {
1673
2813
  query?: UseQueryOptions<AxiosResponse<SitePlugins200, any>, TError, TData, QueryKey> | undefined;
1674
2814
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1680,16 +2820,29 @@ export declare const useSitePlugins: <TData = AxiosResponse<SitePlugins200, any>
1680
2820
  * @summary plugins toggle
1681
2821
  */
1682
2822
  export declare const sitePluginUpdate: (siteId: string, sitePluginUpdateBody: SitePluginUpdateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitePluginUpdate200>>;
2823
+ export declare const getSitePluginUpdateMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2824
+ mutation?: UseMutationOptions<AxiosResponse<SitePluginUpdate200, any>, TError, {
2825
+ siteId: string;
2826
+ data: SitePluginUpdateBody;
2827
+ }, TContext> | undefined;
2828
+ axios?: AxiosRequestConfig<any> | undefined;
2829
+ } | undefined) => UseMutationOptions<AxiosResponse<SitePluginUpdate200, any>, TError, {
2830
+ siteId: string;
2831
+ data: SitePluginUpdateBody;
2832
+ }, TContext>;
1683
2833
  export declare type SitePluginUpdateMutationResult = NonNullable<Awaited<ReturnType<typeof sitePluginUpdate>>>;
1684
2834
  export declare type SitePluginUpdateMutationBody = SitePluginUpdateBody;
1685
2835
  export declare type SitePluginUpdateMutationError = AxiosError<unknown>;
2836
+ /**
2837
+ * @summary plugins toggle
2838
+ */
1686
2839
  export declare const useSitePluginUpdate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1687
2840
  mutation?: UseMutationOptions<AxiosResponse<SitePluginUpdate200, any>, TError, {
1688
2841
  siteId: string;
1689
2842
  data: SitePluginUpdateBody;
1690
2843
  }, TContext> | undefined;
1691
2844
  axios?: AxiosRequestConfig<any> | undefined;
1692
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitePluginUpdate200, any>, TError, {
2845
+ } | undefined) => UseMutationResult<AxiosResponse<SitePluginUpdate200, any>, TError, {
1693
2846
  siteId: string;
1694
2847
  data: SitePluginUpdateBody;
1695
2848
  }, TContext>;
@@ -1699,16 +2852,30 @@ export declare const useSitePluginUpdate: <TError = AxiosError<unknown, any>, TC
1699
2852
  * @summary plugins autoupdate
1700
2853
  */
1701
2854
  export declare const sitePluginsAutoupdate: (siteId: string, sitePluginsAutoupdateBody: SitePluginsAutoupdateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitePluginsAutoupdate200>>;
2855
+ export declare const getSitePluginsAutoupdateMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2856
+ mutation?: UseMutationOptions<AxiosResponse<SitePluginsAutoupdate200, any>, TError, {
2857
+ siteId: string;
2858
+ data: SitePluginsAutoupdateBody;
2859
+ }, TContext> | undefined;
2860
+ axios?: AxiosRequestConfig<any> | undefined;
2861
+ } | undefined) => UseMutationOptions<AxiosResponse<SitePluginsAutoupdate200, any>, TError, {
2862
+ siteId: string;
2863
+ data: SitePluginsAutoupdateBody;
2864
+ }, TContext>;
1702
2865
  export declare type SitePluginsAutoupdateMutationResult = NonNullable<Awaited<ReturnType<typeof sitePluginsAutoupdate>>>;
1703
2866
  export declare type SitePluginsAutoupdateMutationBody = SitePluginsAutoupdateBody;
1704
2867
  export declare type SitePluginsAutoupdateMutationError = AxiosError<unknown>;
2868
+ /**
2869
+ * @deprecated
2870
+ * @summary plugins autoupdate
2871
+ */
1705
2872
  export declare const useSitePluginsAutoupdate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1706
2873
  mutation?: UseMutationOptions<AxiosResponse<SitePluginsAutoupdate200, any>, TError, {
1707
2874
  siteId: string;
1708
2875
  data: SitePluginsAutoupdateBody;
1709
2876
  }, TContext> | undefined;
1710
2877
  axios?: AxiosRequestConfig<any> | undefined;
1711
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitePluginsAutoupdate200, any>, TError, {
2878
+ } | undefined) => UseMutationResult<AxiosResponse<SitePluginsAutoupdate200, any>, TError, {
1712
2879
  siteId: string;
1713
2880
  data: SitePluginsAutoupdateBody;
1714
2881
  }, TContext>;
@@ -1718,16 +2885,30 @@ export declare const useSitePluginsAutoupdate: <TError = AxiosError<unknown, any
1718
2885
  * @summary Deprecated - plugins toggle
1719
2886
  */
1720
2887
  export declare const sitePluginsToggle: (siteId: string, sitePluginsToggleBody: SitePluginsToggleBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitePluginsToggle200>>;
2888
+ export declare const getSitePluginsToggleMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2889
+ mutation?: UseMutationOptions<AxiosResponse<SitePluginsToggle200, any>, TError, {
2890
+ siteId: string;
2891
+ data: SitePluginsToggleBody;
2892
+ }, TContext> | undefined;
2893
+ axios?: AxiosRequestConfig<any> | undefined;
2894
+ } | undefined) => UseMutationOptions<AxiosResponse<SitePluginsToggle200, any>, TError, {
2895
+ siteId: string;
2896
+ data: SitePluginsToggleBody;
2897
+ }, TContext>;
1721
2898
  export declare type SitePluginsToggleMutationResult = NonNullable<Awaited<ReturnType<typeof sitePluginsToggle>>>;
1722
2899
  export declare type SitePluginsToggleMutationBody = SitePluginsToggleBody;
1723
2900
  export declare type SitePluginsToggleMutationError = AxiosError<unknown>;
2901
+ /**
2902
+ * @deprecated
2903
+ * @summary Deprecated - plugins toggle
2904
+ */
1724
2905
  export declare const useSitePluginsToggle: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1725
2906
  mutation?: UseMutationOptions<AxiosResponse<SitePluginsToggle200, any>, TError, {
1726
2907
  siteId: string;
1727
2908
  data: SitePluginsToggleBody;
1728
2909
  }, TContext> | undefined;
1729
2910
  axios?: AxiosRequestConfig<any> | undefined;
1730
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitePluginsToggle200, any>, TError, {
2911
+ } | undefined) => UseMutationResult<AxiosResponse<SitePluginsToggle200, any>, TError, {
1731
2912
  siteId: string;
1732
2913
  data: SitePluginsToggleBody;
1733
2914
  }, TContext>;
@@ -1736,16 +2917,29 @@ export declare const useSitePluginsToggle: <TError = AxiosError<unknown, any>, T
1736
2917
  * @summary plugins update
1737
2918
  */
1738
2919
  export declare const sitePluginsUpdate: (siteId: string, sitePluginsUpdateBody: SitePluginsUpdateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitePluginsUpdate200>>;
2920
+ export declare const getSitePluginsUpdateMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2921
+ mutation?: UseMutationOptions<AxiosResponse<SitePluginsUpdate200, any>, TError, {
2922
+ siteId: string;
2923
+ data: SitePluginsUpdateBody;
2924
+ }, TContext> | undefined;
2925
+ axios?: AxiosRequestConfig<any> | undefined;
2926
+ } | undefined) => UseMutationOptions<AxiosResponse<SitePluginsUpdate200, any>, TError, {
2927
+ siteId: string;
2928
+ data: SitePluginsUpdateBody;
2929
+ }, TContext>;
1739
2930
  export declare type SitePluginsUpdateMutationResult = NonNullable<Awaited<ReturnType<typeof sitePluginsUpdate>>>;
1740
2931
  export declare type SitePluginsUpdateMutationBody = SitePluginsUpdateBody;
1741
2932
  export declare type SitePluginsUpdateMutationError = AxiosError<unknown>;
2933
+ /**
2934
+ * @summary plugins update
2935
+ */
1742
2936
  export declare const useSitePluginsUpdate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1743
2937
  mutation?: UseMutationOptions<AxiosResponse<SitePluginsUpdate200, any>, TError, {
1744
2938
  siteId: string;
1745
2939
  data: SitePluginsUpdateBody;
1746
2940
  }, TContext> | undefined;
1747
2941
  axios?: AxiosRequestConfig<any> | undefined;
1748
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitePluginsUpdate200, any>, TError, {
2942
+ } | undefined) => UseMutationResult<AxiosResponse<SitePluginsUpdate200, any>, TError, {
1749
2943
  siteId: string;
1750
2944
  data: SitePluginsUpdateBody;
1751
2945
  }, TContext>;
@@ -1754,16 +2948,29 @@ export declare const useSitePluginsUpdate: <TError = AxiosError<unknown, any>, T
1754
2948
  * @summary reset site
1755
2949
  */
1756
2950
  export declare const resetSite: (siteId: number, resetSiteBody: ResetSiteBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<ResetSite200>>;
2951
+ export declare const getResetSiteMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2952
+ mutation?: UseMutationOptions<AxiosResponse<ResetSite200, any>, TError, {
2953
+ siteId: number;
2954
+ data: ResetSiteBody;
2955
+ }, TContext> | undefined;
2956
+ axios?: AxiosRequestConfig<any> | undefined;
2957
+ } | undefined) => UseMutationOptions<AxiosResponse<ResetSite200, any>, TError, {
2958
+ siteId: number;
2959
+ data: ResetSiteBody;
2960
+ }, TContext>;
1757
2961
  export declare type ResetSiteMutationResult = NonNullable<Awaited<ReturnType<typeof resetSite>>>;
1758
2962
  export declare type ResetSiteMutationBody = ResetSiteBody;
1759
2963
  export declare type ResetSiteMutationError = AxiosError<unknown>;
2964
+ /**
2965
+ * @summary reset site
2966
+ */
1760
2967
  export declare const useResetSite: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1761
2968
  mutation?: UseMutationOptions<AxiosResponse<ResetSite200, any>, TError, {
1762
2969
  siteId: number;
1763
2970
  data: ResetSiteBody;
1764
2971
  }, TContext> | undefined;
1765
2972
  axios?: AxiosRequestConfig<any> | undefined;
1766
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<ResetSite200, any>, TError, {
2973
+ } | undefined) => UseMutationResult<AxiosResponse<ResetSite200, any>, TError, {
1767
2974
  siteId: number;
1768
2975
  data: ResetSiteBody;
1769
2976
  }, TContext>;
@@ -1772,9 +2979,18 @@ export declare const useResetSite: <TError = AxiosError<unknown, any>, TContext
1772
2979
  * @summary core files checksum
1773
2980
  */
1774
2981
  export declare const sitesSecurityCheckCore: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSecurityCheckCore200>>;
1775
- export declare const getSitesSecurityCheckCoreQueryKey: (siteId: number) => string[];
2982
+ export declare const getSitesSecurityCheckCoreQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/security/core/check`];
2983
+ export declare const getSitesSecurityCheckCoreQueryOptions: <TData = AxiosResponse<SitesSecurityCheckCore200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
2984
+ query?: UseQueryOptions<AxiosResponse<SitesSecurityCheckCore200, any>, TError, TData, QueryKey> | undefined;
2985
+ axios?: AxiosRequestConfig<any> | undefined;
2986
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesSecurityCheckCore200, any>, TError, TData, QueryKey> & {
2987
+ queryKey: QueryKey;
2988
+ };
1776
2989
  export declare type SitesSecurityCheckCoreQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSecurityCheckCore>>>;
1777
2990
  export declare type SitesSecurityCheckCoreQueryError = AxiosError<unknown>;
2991
+ /**
2992
+ * @summary core files checksum
2993
+ */
1778
2994
  export declare const useSitesSecurityCheckCore: <TData = AxiosResponse<SitesSecurityCheckCore200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1779
2995
  query?: UseQueryOptions<AxiosResponse<SitesSecurityCheckCore200, any>, TError, TData, QueryKey> | undefined;
1780
2996
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1786,14 +3002,25 @@ export declare const useSitesSecurityCheckCore: <TData = AxiosResponse<SitesSecu
1786
3002
  * @summary core files reset
1787
3003
  */
1788
3004
  export declare const sitesSecurityResetCoreFiles: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSecurityResetCoreFiles200>>;
3005
+ export declare const getSitesSecurityResetCoreFilesMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
3006
+ mutation?: UseMutationOptions<AxiosResponse<SitesSecurityResetCoreFiles200, any>, TError, {
3007
+ siteId: number;
3008
+ }, TContext> | undefined;
3009
+ axios?: AxiosRequestConfig<any> | undefined;
3010
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesSecurityResetCoreFiles200, any>, TError, {
3011
+ siteId: number;
3012
+ }, TContext>;
1789
3013
  export declare type SitesSecurityResetCoreFilesMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSecurityResetCoreFiles>>>;
1790
3014
  export declare type SitesSecurityResetCoreFilesMutationError = AxiosError<unknown>;
3015
+ /**
3016
+ * @summary core files reset
3017
+ */
1791
3018
  export declare const useSitesSecurityResetCoreFiles: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1792
3019
  mutation?: UseMutationOptions<AxiosResponse<SitesSecurityResetCoreFiles200, any>, TError, {
1793
3020
  siteId: number;
1794
3021
  }, TContext> | undefined;
1795
3022
  axios?: AxiosRequestConfig<any> | undefined;
1796
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSecurityResetCoreFiles200, any>, TError, {
3023
+ } | undefined) => UseMutationResult<AxiosResponse<SitesSecurityResetCoreFiles200, any>, TError, {
1797
3024
  siteId: number;
1798
3025
  }, TContext>;
1799
3026
  /**
@@ -1801,9 +3028,18 @@ export declare const useSitesSecurityResetCoreFiles: <TError = AxiosError<unknow
1801
3028
  * @summary https redirection status
1802
3029
  */
1803
3030
  export declare const sitesSecurityHttpsRedirectionStatus: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSecurityHttpsRedirectionStatus200>>;
1804
- export declare const getSitesSecurityHttpsRedirectionStatusQueryKey: (siteId: number) => string[];
3031
+ export declare const getSitesSecurityHttpsRedirectionStatusQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/security/https`];
3032
+ export declare const getSitesSecurityHttpsRedirectionStatusQueryOptions: <TData = AxiosResponse<SitesSecurityHttpsRedirectionStatus200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
3033
+ query?: UseQueryOptions<AxiosResponse<SitesSecurityHttpsRedirectionStatus200, any>, TError, TData, QueryKey> | undefined;
3034
+ axios?: AxiosRequestConfig<any> | undefined;
3035
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesSecurityHttpsRedirectionStatus200, any>, TError, TData, QueryKey> & {
3036
+ queryKey: QueryKey;
3037
+ };
1805
3038
  export declare type SitesSecurityHttpsRedirectionStatusQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSecurityHttpsRedirectionStatus>>>;
1806
3039
  export declare type SitesSecurityHttpsRedirectionStatusQueryError = AxiosError<unknown>;
3040
+ /**
3041
+ * @summary https redirection status
3042
+ */
1807
3043
  export declare const useSitesSecurityHttpsRedirectionStatus: <TData = AxiosResponse<SitesSecurityHttpsRedirectionStatus200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1808
3044
  query?: UseQueryOptions<AxiosResponse<SitesSecurityHttpsRedirectionStatus200, any>, TError, TData, QueryKey> | undefined;
1809
3045
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1815,16 +3051,29 @@ export declare const useSitesSecurityHttpsRedirectionStatus: <TData = AxiosRespo
1815
3051
  * @summary https redirection toggle
1816
3052
  */
1817
3053
  export declare const sitesSecurityHttpsEnableDisableSsl: (siteId: number, sitesSecurityHttpsEnableDisableSslBody: SitesSecurityHttpsEnableDisableSslBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSecurityHttpsEnableDisableSsl200>>;
3054
+ export declare const getSitesSecurityHttpsEnableDisableSslMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
3055
+ mutation?: UseMutationOptions<AxiosResponse<SitesSecurityHttpsEnableDisableSsl200, any>, TError, {
3056
+ siteId: number;
3057
+ data: SitesSecurityHttpsEnableDisableSslBody;
3058
+ }, TContext> | undefined;
3059
+ axios?: AxiosRequestConfig<any> | undefined;
3060
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesSecurityHttpsEnableDisableSsl200, any>, TError, {
3061
+ siteId: number;
3062
+ data: SitesSecurityHttpsEnableDisableSslBody;
3063
+ }, TContext>;
1818
3064
  export declare type SitesSecurityHttpsEnableDisableSslMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSecurityHttpsEnableDisableSsl>>>;
1819
3065
  export declare type SitesSecurityHttpsEnableDisableSslMutationBody = SitesSecurityHttpsEnableDisableSslBody;
1820
3066
  export declare type SitesSecurityHttpsEnableDisableSslMutationError = AxiosError<unknown>;
3067
+ /**
3068
+ * @summary https redirection toggle
3069
+ */
1821
3070
  export declare const useSitesSecurityHttpsEnableDisableSsl: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1822
3071
  mutation?: UseMutationOptions<AxiosResponse<SitesSecurityHttpsEnableDisableSsl200, any>, TError, {
1823
3072
  siteId: number;
1824
3073
  data: SitesSecurityHttpsEnableDisableSslBody;
1825
3074
  }, TContext> | undefined;
1826
3075
  axios?: AxiosRequestConfig<any> | undefined;
1827
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSecurityHttpsEnableDisableSsl200, any>, TError, {
3076
+ } | undefined) => UseMutationResult<AxiosResponse<SitesSecurityHttpsEnableDisableSsl200, any>, TError, {
1828
3077
  siteId: number;
1829
3078
  data: SitesSecurityHttpsEnableDisableSslBody;
1830
3079
  }, TContext>;
@@ -1833,9 +3082,18 @@ export declare const useSitesSecurityHttpsEnableDisableSsl: <TError = AxiosError
1833
3082
  * @summary sitelock info
1834
3083
  */
1835
3084
  export declare const sitesSecuritySitelock: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSecuritySitelock200>>;
1836
- export declare const getSitesSecuritySitelockQueryKey: (siteId: number) => string[];
3085
+ export declare const getSitesSecuritySitelockQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/security/sitelock`];
3086
+ export declare const getSitesSecuritySitelockQueryOptions: <TData = AxiosResponse<SitesSecuritySitelock200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
3087
+ query?: UseQueryOptions<AxiosResponse<SitesSecuritySitelock200, any>, TError, TData, QueryKey> | undefined;
3088
+ axios?: AxiosRequestConfig<any> | undefined;
3089
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesSecuritySitelock200, any>, TError, TData, QueryKey> & {
3090
+ queryKey: QueryKey;
3091
+ };
1837
3092
  export declare type SitesSecuritySitelockQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSecuritySitelock>>>;
1838
3093
  export declare type SitesSecuritySitelockQueryError = AxiosError<unknown>;
3094
+ /**
3095
+ * @summary sitelock info
3096
+ */
1839
3097
  export declare const useSitesSecuritySitelock: <TData = AxiosResponse<SitesSecuritySitelock200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1840
3098
  query?: UseQueryOptions<AxiosResponse<SitesSecuritySitelock200, any>, TError, TData, QueryKey> | undefined;
1841
3099
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1847,14 +3105,25 @@ export declare const useSitesSecuritySitelock: <TData = AxiosResponse<SitesSecur
1847
3105
  * @summary ssl lets encrypt toggle
1848
3106
  */
1849
3107
  export declare const sitesSecuritySslAcme: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSecuritySslAcme200>>;
3108
+ export declare const getSitesSecuritySslAcmeMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
3109
+ mutation?: UseMutationOptions<AxiosResponse<SitesSecuritySslAcme200, any>, TError, {
3110
+ siteId: number;
3111
+ }, TContext> | undefined;
3112
+ axios?: AxiosRequestConfig<any> | undefined;
3113
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesSecuritySslAcme200, any>, TError, {
3114
+ siteId: number;
3115
+ }, TContext>;
1850
3116
  export declare type SitesSecuritySslAcmeMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSecuritySslAcme>>>;
1851
3117
  export declare type SitesSecuritySslAcmeMutationError = AxiosError<unknown>;
3118
+ /**
3119
+ * @summary ssl lets encrypt toggle
3120
+ */
1852
3121
  export declare const useSitesSecuritySslAcme: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1853
3122
  mutation?: UseMutationOptions<AxiosResponse<SitesSecuritySslAcme200, any>, TError, {
1854
3123
  siteId: number;
1855
3124
  }, TContext> | undefined;
1856
3125
  axios?: AxiosRequestConfig<any> | undefined;
1857
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSecuritySslAcme200, any>, TError, {
3126
+ } | undefined) => UseMutationResult<AxiosResponse<SitesSecuritySslAcme200, any>, TError, {
1858
3127
  siteId: number;
1859
3128
  }, TContext>;
1860
3129
  /**
@@ -1863,9 +3132,19 @@ export declare const useSitesSecuritySslAcme: <TError = AxiosError<unknown, any>
1863
3132
  * @summary ssl status
1864
3133
  */
1865
3134
  export declare const sitesSecuritySslStatus: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSecuritySslStatus200>>;
1866
- export declare const getSitesSecuritySslStatusQueryKey: (siteId: number) => string[];
3135
+ export declare const getSitesSecuritySslStatusQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/security/ssl/status`];
3136
+ export declare const getSitesSecuritySslStatusQueryOptions: <TData = AxiosResponse<SitesSecuritySslStatus200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
3137
+ query?: UseQueryOptions<AxiosResponse<SitesSecuritySslStatus200, any>, TError, TData, QueryKey> | undefined;
3138
+ axios?: AxiosRequestConfig<any> | undefined;
3139
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesSecuritySslStatus200, any>, TError, TData, QueryKey> & {
3140
+ queryKey: QueryKey;
3141
+ };
1867
3142
  export declare type SitesSecuritySslStatusQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSecuritySslStatus>>>;
1868
3143
  export declare type SitesSecuritySslStatusQueryError = AxiosError<unknown>;
3144
+ /**
3145
+ * @deprecated
3146
+ * @summary ssl status
3147
+ */
1869
3148
  export declare const useSitesSecuritySslStatus: <TData = AxiosResponse<SitesSecuritySslStatus200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1870
3149
  query?: UseQueryOptions<AxiosResponse<SitesSecuritySslStatus200, any>, TError, TData, QueryKey> | undefined;
1871
3150
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1877,9 +3156,18 @@ export declare const useSitesSecuritySslStatus: <TData = AxiosResponse<SitesSecu
1877
3156
  * @summary settings coming soon page status
1878
3157
  */
1879
3158
  export declare const sitesSettingsComingSoon: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSettingsComingSoon200>>;
1880
- export declare const getSitesSettingsComingSoonQueryKey: (siteId: number) => string[];
3159
+ export declare const getSitesSettingsComingSoonQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/settings/coming-soon`];
3160
+ export declare const getSitesSettingsComingSoonQueryOptions: <TData = AxiosResponse<SitesSettingsComingSoon200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
3161
+ query?: UseQueryOptions<AxiosResponse<SitesSettingsComingSoon200, any>, TError, TData, QueryKey> | undefined;
3162
+ axios?: AxiosRequestConfig<any> | undefined;
3163
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesSettingsComingSoon200, any>, TError, TData, QueryKey> & {
3164
+ queryKey: QueryKey;
3165
+ };
1881
3166
  export declare type SitesSettingsComingSoonQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSettingsComingSoon>>>;
1882
3167
  export declare type SitesSettingsComingSoonQueryError = AxiosError<unknown>;
3168
+ /**
3169
+ * @summary settings coming soon page status
3170
+ */
1883
3171
  export declare const useSitesSettingsComingSoon: <TData = AxiosResponse<SitesSettingsComingSoon200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1884
3172
  query?: UseQueryOptions<AxiosResponse<SitesSettingsComingSoon200, any>, TError, TData, QueryKey> | undefined;
1885
3173
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1891,16 +3179,29 @@ export declare const useSitesSettingsComingSoon: <TData = AxiosResponse<SitesSet
1891
3179
  * @summary settings coming soon toggle
1892
3180
  */
1893
3181
  export declare const sitesSettingsComingSoonToggle: (siteId: number, sitesSettingsComingSoonToggleBody: SitesSettingsComingSoonToggleBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSettingsComingSoonToggle200>>;
3182
+ export declare const getSitesSettingsComingSoonToggleMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
3183
+ mutation?: UseMutationOptions<AxiosResponse<SitesSettingsComingSoonToggle200, any>, TError, {
3184
+ siteId: number;
3185
+ data: SitesSettingsComingSoonToggleBody;
3186
+ }, TContext> | undefined;
3187
+ axios?: AxiosRequestConfig<any> | undefined;
3188
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesSettingsComingSoonToggle200, any>, TError, {
3189
+ siteId: number;
3190
+ data: SitesSettingsComingSoonToggleBody;
3191
+ }, TContext>;
1894
3192
  export declare type SitesSettingsComingSoonToggleMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSettingsComingSoonToggle>>>;
1895
3193
  export declare type SitesSettingsComingSoonToggleMutationBody = SitesSettingsComingSoonToggleBody;
1896
3194
  export declare type SitesSettingsComingSoonToggleMutationError = AxiosError<unknown>;
3195
+ /**
3196
+ * @summary settings coming soon toggle
3197
+ */
1897
3198
  export declare const useSitesSettingsComingSoonToggle: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1898
3199
  mutation?: UseMutationOptions<AxiosResponse<SitesSettingsComingSoonToggle200, any>, TError, {
1899
3200
  siteId: number;
1900
3201
  data: SitesSettingsComingSoonToggleBody;
1901
3202
  }, TContext> | undefined;
1902
3203
  axios?: AxiosRequestConfig<any> | undefined;
1903
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSettingsComingSoonToggle200, any>, TError, {
3204
+ } | undefined) => UseMutationResult<AxiosResponse<SitesSettingsComingSoonToggle200, any>, TError, {
1904
3205
  siteId: number;
1905
3206
  data: SitesSettingsComingSoonToggleBody;
1906
3207
  }, TContext>;
@@ -1909,9 +3210,18 @@ export declare const useSitesSettingsComingSoonToggle: <TError = AxiosError<unkn
1909
3210
  * @summary settings debug status
1910
3211
  */
1911
3212
  export declare const sitesSettingsDebug: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSettingsDebug200>>;
1912
- export declare const getSitesSettingsDebugQueryKey: (siteId: number) => string[];
3213
+ export declare const getSitesSettingsDebugQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/settings/debug`];
3214
+ export declare const getSitesSettingsDebugQueryOptions: <TData = AxiosResponse<SitesSettingsDebug200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
3215
+ query?: UseQueryOptions<AxiosResponse<SitesSettingsDebug200, any>, TError, TData, QueryKey> | undefined;
3216
+ axios?: AxiosRequestConfig<any> | undefined;
3217
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesSettingsDebug200, any>, TError, TData, QueryKey> & {
3218
+ queryKey: QueryKey;
3219
+ };
1913
3220
  export declare type SitesSettingsDebugQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSettingsDebug>>>;
1914
3221
  export declare type SitesSettingsDebugQueryError = AxiosError<unknown>;
3222
+ /**
3223
+ * @summary settings debug status
3224
+ */
1915
3225
  export declare const useSitesSettingsDebug: <TData = AxiosResponse<SitesSettingsDebug200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1916
3226
  query?: UseQueryOptions<AxiosResponse<SitesSettingsDebug200, any>, TError, TData, QueryKey> | undefined;
1917
3227
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1923,16 +3233,29 @@ export declare const useSitesSettingsDebug: <TData = AxiosResponse<SitesSettings
1923
3233
  * @summary settings debug toggle
1924
3234
  */
1925
3235
  export declare const sitesSettingsDebugToggle: (siteId: number, sitesSettingsDebugToggleBody: SitesSettingsDebugToggleBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSettingsDebugToggle200>>;
3236
+ export declare const getSitesSettingsDebugToggleMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
3237
+ mutation?: UseMutationOptions<AxiosResponse<SitesSettingsDebugToggle200, any>, TError, {
3238
+ siteId: number;
3239
+ data: SitesSettingsDebugToggleBody;
3240
+ }, TContext> | undefined;
3241
+ axios?: AxiosRequestConfig<any> | undefined;
3242
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesSettingsDebugToggle200, any>, TError, {
3243
+ siteId: number;
3244
+ data: SitesSettingsDebugToggleBody;
3245
+ }, TContext>;
1926
3246
  export declare type SitesSettingsDebugToggleMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSettingsDebugToggle>>>;
1927
3247
  export declare type SitesSettingsDebugToggleMutationBody = SitesSettingsDebugToggleBody;
1928
3248
  export declare type SitesSettingsDebugToggleMutationError = AxiosError<unknown>;
3249
+ /**
3250
+ * @summary settings debug toggle
3251
+ */
1929
3252
  export declare const useSitesSettingsDebugToggle: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1930
3253
  mutation?: UseMutationOptions<AxiosResponse<SitesSettingsDebugToggle200, any>, TError, {
1931
3254
  siteId: number;
1932
3255
  data: SitesSettingsDebugToggleBody;
1933
3256
  }, TContext> | undefined;
1934
3257
  axios?: AxiosRequestConfig<any> | undefined;
1935
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSettingsDebugToggle200, any>, TError, {
3258
+ } | undefined) => UseMutationResult<AxiosResponse<SitesSettingsDebugToggle200, any>, TError, {
1936
3259
  siteId: number;
1937
3260
  data: SitesSettingsDebugToggleBody;
1938
3261
  }, TContext>;
@@ -1941,16 +3264,29 @@ export declare const useSitesSettingsDebugToggle: <TError = AxiosError<unknown,
1941
3264
  * @summary settings php version update
1942
3265
  */
1943
3266
  export declare const sitesSettingsPhpVersionUpdate: (siteId: number, sitesSettingsPhpVersionUpdateBody: SitesSettingsPhpVersionUpdateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSettingsPhpVersionUpdate200>>;
3267
+ export declare const getSitesSettingsPhpVersionUpdateMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
3268
+ mutation?: UseMutationOptions<AxiosResponse<SitesSettingsPhpVersionUpdate200, any>, TError, {
3269
+ siteId: number;
3270
+ data: SitesSettingsPhpVersionUpdateBody;
3271
+ }, TContext> | undefined;
3272
+ axios?: AxiosRequestConfig<any> | undefined;
3273
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesSettingsPhpVersionUpdate200, any>, TError, {
3274
+ siteId: number;
3275
+ data: SitesSettingsPhpVersionUpdateBody;
3276
+ }, TContext>;
1944
3277
  export declare type SitesSettingsPhpVersionUpdateMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSettingsPhpVersionUpdate>>>;
1945
3278
  export declare type SitesSettingsPhpVersionUpdateMutationBody = SitesSettingsPhpVersionUpdateBody;
1946
3279
  export declare type SitesSettingsPhpVersionUpdateMutationError = AxiosError<unknown>;
3280
+ /**
3281
+ * @summary settings php version update
3282
+ */
1947
3283
  export declare const useSitesSettingsPhpVersionUpdate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1948
3284
  mutation?: UseMutationOptions<AxiosResponse<SitesSettingsPhpVersionUpdate200, any>, TError, {
1949
3285
  siteId: number;
1950
3286
  data: SitesSettingsPhpVersionUpdateBody;
1951
3287
  }, TContext> | undefined;
1952
3288
  axios?: AxiosRequestConfig<any> | undefined;
1953
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSettingsPhpVersionUpdate200, any>, TError, {
3289
+ } | undefined) => UseMutationResult<AxiosResponse<SitesSettingsPhpVersionUpdate200, any>, TError, {
1954
3290
  siteId: number;
1955
3291
  data: SitesSettingsPhpVersionUpdateBody;
1956
3292
  }, TContext>;
@@ -1959,9 +3295,18 @@ export declare const useSitesSettingsPhpVersionUpdate: <TError = AxiosError<unkn
1959
3295
  * @summary settings php versions list
1960
3296
  */
1961
3297
  export declare const sitesSettingsPhpVersions: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSettingsPhpVersions200>>;
1962
- export declare const getSitesSettingsPhpVersionsQueryKey: (siteId: number) => string[];
3298
+ export declare const getSitesSettingsPhpVersionsQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/settings/php-versions`];
3299
+ export declare const getSitesSettingsPhpVersionsQueryOptions: <TData = AxiosResponse<SitesSettingsPhpVersions200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
3300
+ query?: UseQueryOptions<AxiosResponse<SitesSettingsPhpVersions200, any>, TError, TData, QueryKey> | undefined;
3301
+ axios?: AxiosRequestConfig<any> | undefined;
3302
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesSettingsPhpVersions200, any>, TError, TData, QueryKey> & {
3303
+ queryKey: QueryKey;
3304
+ };
1963
3305
  export declare type SitesSettingsPhpVersionsQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSettingsPhpVersions>>>;
1964
3306
  export declare type SitesSettingsPhpVersionsQueryError = AxiosError<unknown>;
3307
+ /**
3308
+ * @summary settings php versions list
3309
+ */
1965
3310
  export declare const useSitesSettingsPhpVersions: <TData = AxiosResponse<SitesSettingsPhpVersions200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1966
3311
  query?: UseQueryOptions<AxiosResponse<SitesSettingsPhpVersions200, any>, TError, TData, QueryKey> | undefined;
1967
3312
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1973,9 +3318,18 @@ export declare const useSitesSettingsPhpVersions: <TData = AxiosResponse<SitesSe
1973
3318
  * @summary site - ssh - list users
1974
3319
  */
1975
3320
  export declare const sitesSshUserList: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSshUserList200>>;
1976
- export declare const getSitesSshUserListQueryKey: (siteId: number) => string[];
3321
+ export declare const getSitesSshUserListQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/ssh-users`];
3322
+ export declare const getSitesSshUserListQueryOptions: <TData = AxiosResponse<SitesSshUserList200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
3323
+ query?: UseQueryOptions<AxiosResponse<SitesSshUserList200, any>, TError, TData, QueryKey> | undefined;
3324
+ axios?: AxiosRequestConfig<any> | undefined;
3325
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesSshUserList200, any>, TError, TData, QueryKey> & {
3326
+ queryKey: QueryKey;
3327
+ };
1977
3328
  export declare type SitesSshUserListQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSshUserList>>>;
1978
3329
  export declare type SitesSshUserListQueryError = AxiosError<unknown>;
3330
+ /**
3331
+ * @summary site - ssh - list users
3332
+ */
1979
3333
  export declare const useSitesSshUserList: <TData = AxiosResponse<SitesSshUserList200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
1980
3334
  query?: UseQueryOptions<AxiosResponse<SitesSshUserList200, any>, TError, TData, QueryKey> | undefined;
1981
3335
  axios?: AxiosRequestConfig<any> | undefined;
@@ -1987,16 +3341,29 @@ export declare const useSitesSshUserList: <TData = AxiosResponse<SitesSshUserLis
1987
3341
  * @summary site - ssh - create user
1988
3342
  */
1989
3343
  export declare const sitesSshUserCreate: (siteId: number, sitesSshUserCreateBody: SitesSshUserCreateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSshUserCreate200>>;
3344
+ export declare const getSitesSshUserCreateMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
3345
+ mutation?: UseMutationOptions<AxiosResponse<SitesSshUserCreate200, any>, TError, {
3346
+ siteId: number;
3347
+ data: SitesSshUserCreateBody;
3348
+ }, TContext> | undefined;
3349
+ axios?: AxiosRequestConfig<any> | undefined;
3350
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesSshUserCreate200, any>, TError, {
3351
+ siteId: number;
3352
+ data: SitesSshUserCreateBody;
3353
+ }, TContext>;
1990
3354
  export declare type SitesSshUserCreateMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSshUserCreate>>>;
1991
3355
  export declare type SitesSshUserCreateMutationBody = SitesSshUserCreateBody;
1992
3356
  export declare type SitesSshUserCreateMutationError = AxiosError<unknown>;
3357
+ /**
3358
+ * @summary site - ssh - create user
3359
+ */
1993
3360
  export declare const useSitesSshUserCreate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
1994
3361
  mutation?: UseMutationOptions<AxiosResponse<SitesSshUserCreate200, any>, TError, {
1995
3362
  siteId: number;
1996
3363
  data: SitesSshUserCreateBody;
1997
3364
  }, TContext> | undefined;
1998
3365
  axios?: AxiosRequestConfig<any> | undefined;
1999
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSshUserCreate200, any>, TError, {
3366
+ } | undefined) => UseMutationResult<AxiosResponse<SitesSshUserCreate200, any>, TError, {
2000
3367
  siteId: number;
2001
3368
  data: SitesSshUserCreateBody;
2002
3369
  }, TContext>;
@@ -2005,16 +3372,29 @@ export declare const useSitesSshUserCreate: <TError = AxiosError<unknown, any>,
2005
3372
  * @summary site - ssh - delete user
2006
3373
  */
2007
3374
  export declare const sitesSshUserDelete: (siteId: number, sitesSshUserDeleteBody: SitesSshUserDeleteBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSshUserDelete200>>;
3375
+ export declare const getSitesSshUserDeleteMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
3376
+ mutation?: UseMutationOptions<AxiosResponse<SitesSshUserDelete200, any>, TError, {
3377
+ siteId: number;
3378
+ data: SitesSshUserDeleteBody;
3379
+ }, TContext> | undefined;
3380
+ axios?: AxiosRequestConfig<any> | undefined;
3381
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesSshUserDelete200, any>, TError, {
3382
+ siteId: number;
3383
+ data: SitesSshUserDeleteBody;
3384
+ }, TContext>;
2008
3385
  export declare type SitesSshUserDeleteMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSshUserDelete>>>;
2009
3386
  export declare type SitesSshUserDeleteMutationBody = SitesSshUserDeleteBody;
2010
3387
  export declare type SitesSshUserDeleteMutationError = AxiosError<unknown>;
3388
+ /**
3389
+ * @summary site - ssh - delete user
3390
+ */
2011
3391
  export declare const useSitesSshUserDelete: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2012
3392
  mutation?: UseMutationOptions<AxiosResponse<SitesSshUserDelete200, any>, TError, {
2013
3393
  siteId: number;
2014
3394
  data: SitesSshUserDeleteBody;
2015
3395
  }, TContext> | undefined;
2016
3396
  axios?: AxiosRequestConfig<any> | undefined;
2017
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSshUserDelete200, any>, TError, {
3397
+ } | undefined) => UseMutationResult<AxiosResponse<SitesSshUserDelete200, any>, TError, {
2018
3398
  siteId: number;
2019
3399
  data: SitesSshUserDeleteBody;
2020
3400
  }, TContext>;
@@ -2023,16 +3403,29 @@ export declare const useSitesSshUserDelete: <TError = AxiosError<unknown, any>,
2023
3403
  * @summary site - ssh - update user
2024
3404
  */
2025
3405
  export declare const sitesSshUserUpdate: (siteId: number, sitesSshUserUpdateBody: SitesSshUserUpdateBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSshUserUpdate200>>;
3406
+ export declare const getSitesSshUserUpdateMutationOptions: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
3407
+ mutation?: UseMutationOptions<AxiosResponse<SitesSshUserUpdate200, any>, TError, {
3408
+ siteId: number;
3409
+ data: SitesSshUserUpdateBody;
3410
+ }, TContext> | undefined;
3411
+ axios?: AxiosRequestConfig<any> | undefined;
3412
+ } | undefined) => UseMutationOptions<AxiosResponse<SitesSshUserUpdate200, any>, TError, {
3413
+ siteId: number;
3414
+ data: SitesSshUserUpdateBody;
3415
+ }, TContext>;
2026
3416
  export declare type SitesSshUserUpdateMutationResult = NonNullable<Awaited<ReturnType<typeof sitesSshUserUpdate>>>;
2027
3417
  export declare type SitesSshUserUpdateMutationBody = SitesSshUserUpdateBody;
2028
3418
  export declare type SitesSshUserUpdateMutationError = AxiosError<unknown>;
3419
+ /**
3420
+ * @summary site - ssh - update user
3421
+ */
2029
3422
  export declare const useSitesSshUserUpdate: <TError = AxiosError<unknown, any>, TContext = unknown>(options?: {
2030
3423
  mutation?: UseMutationOptions<AxiosResponse<SitesSshUserUpdate200, any>, TError, {
2031
3424
  siteId: number;
2032
3425
  data: SitesSshUserUpdateBody;
2033
3426
  }, TContext> | undefined;
2034
3427
  axios?: AxiosRequestConfig<any> | undefined;
2035
- } | undefined) => import("@tanstack/react-query").UseMutationResult<AxiosResponse<SitesSshUserUpdate200, any>, TError, {
3428
+ } | undefined) => UseMutationResult<AxiosResponse<SitesSshUserUpdate200, any>, TError, {
2036
3429
  siteId: number;
2037
3430
  data: SitesSshUserUpdateBody;
2038
3431
  }, TContext>;
@@ -2041,9 +3434,18 @@ export declare const useSitesSshUserUpdate: <TError = AxiosError<unknown, any>,
2041
3434
  * @summary Site domain SSL cert info
2042
3435
  */
2043
3436
  export declare const sitesSsl: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSsl200>>;
2044
- export declare const getSitesSslQueryKey: (siteId: number) => string[];
3437
+ export declare const getSitesSslQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/ssl`];
3438
+ export declare const getSitesSslQueryOptions: <TData = AxiosResponse<SitesSsl200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
3439
+ query?: UseQueryOptions<AxiosResponse<SitesSsl200, any>, TError, TData, QueryKey> | undefined;
3440
+ axios?: AxiosRequestConfig<any> | undefined;
3441
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesSsl200, any>, TError, TData, QueryKey> & {
3442
+ queryKey: QueryKey;
3443
+ };
2045
3444
  export declare type SitesSslQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSsl>>>;
2046
3445
  export declare type SitesSslQueryError = AxiosError<unknown>;
3446
+ /**
3447
+ * @summary Site domain SSL cert info
3448
+ */
2047
3449
  export declare const useSitesSsl: <TData = AxiosResponse<SitesSsl200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
2048
3450
  query?: UseQueryOptions<AxiosResponse<SitesSsl200, any>, TError, TData, QueryKey> | undefined;
2049
3451
  axios?: AxiosRequestConfig<any> | undefined;
@@ -2055,9 +3457,18 @@ export declare const useSitesSsl: <TData = AxiosResponse<SitesSsl200, any>, TErr
2055
3457
  * @summary sso
2056
3458
  */
2057
3459
  export declare const sitesSso: (siteId: number, params?: SitesSsoParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSso200>>;
2058
- export declare const getSitesSsoQueryKey: (siteId: number, params?: SitesSsoParams) => (string | SitesSsoParams)[];
3460
+ export declare const getSitesSsoQueryKey: (siteId: number, params?: SitesSsoParams) => readonly [`/v1/sites/${number}/sso`, ...SitesSsoParams[]];
3461
+ export declare const getSitesSsoQueryOptions: <TData = AxiosResponse<SitesSso200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesSsoParams, options?: {
3462
+ query?: UseQueryOptions<AxiosResponse<SitesSso200, any>, TError, TData, QueryKey> | undefined;
3463
+ axios?: AxiosRequestConfig<any> | undefined;
3464
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesSso200, any>, TError, TData, QueryKey> & {
3465
+ queryKey: QueryKey;
3466
+ };
2059
3467
  export declare type SitesSsoQueryResult = NonNullable<Awaited<ReturnType<typeof sitesSso>>>;
2060
3468
  export declare type SitesSsoQueryError = AxiosError<unknown>;
3469
+ /**
3470
+ * @summary sso
3471
+ */
2061
3472
  export declare const useSitesSso: <TData = AxiosResponse<SitesSso200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesSsoParams, options?: {
2062
3473
  query?: UseQueryOptions<AxiosResponse<SitesSso200, any>, TError, TData, QueryKey> | undefined;
2063
3474
  axios?: AxiosRequestConfig<any> | undefined;
@@ -2068,9 +3479,18 @@ export declare const useSitesSso: <TData = AxiosResponse<SitesSso200, any>, TErr
2068
3479
  * @summary site status
2069
3480
  */
2070
3481
  export declare const siteStatus: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SiteStatus200>>;
2071
- export declare const getSiteStatusQueryKey: (siteId: number) => string[];
3482
+ export declare const getSiteStatusQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/status`];
3483
+ export declare const getSiteStatusQueryOptions: <TData = AxiosResponse<SiteStatus200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
3484
+ query?: UseQueryOptions<AxiosResponse<SiteStatus200, any>, TError, TData, QueryKey> | undefined;
3485
+ axios?: AxiosRequestConfig<any> | undefined;
3486
+ } | undefined) => UseQueryOptions<AxiosResponse<SiteStatus200, any>, TError, TData, QueryKey> & {
3487
+ queryKey: QueryKey;
3488
+ };
2072
3489
  export declare type SiteStatusQueryResult = NonNullable<Awaited<ReturnType<typeof siteStatus>>>;
2073
3490
  export declare type SiteStatusQueryError = AxiosError<unknown>;
3491
+ /**
3492
+ * @summary site status
3493
+ */
2074
3494
  export declare const useSiteStatus: <TData = AxiosResponse<SiteStatus200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
2075
3495
  query?: UseQueryOptions<AxiosResponse<SiteStatus200, any>, TError, TData, QueryKey> | undefined;
2076
3496
  axios?: AxiosRequestConfig<any> | undefined;
@@ -2082,9 +3502,18 @@ export declare const useSiteStatus: <TData = AxiosResponse<SiteStatus200, any>,
2082
3502
  * @summary users
2083
3503
  */
2084
3504
  export declare const siteUsers: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SiteUsers200>>;
2085
- export declare const getSiteUsersQueryKey: (siteId: number) => string[];
3505
+ export declare const getSiteUsersQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/users`];
3506
+ export declare const getSiteUsersQueryOptions: <TData = AxiosResponse<SiteUsers200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
3507
+ query?: UseQueryOptions<AxiosResponse<SiteUsers200, any>, TError, TData, QueryKey> | undefined;
3508
+ axios?: AxiosRequestConfig<any> | undefined;
3509
+ } | undefined) => UseQueryOptions<AxiosResponse<SiteUsers200, any>, TError, TData, QueryKey> & {
3510
+ queryKey: QueryKey;
3511
+ };
2086
3512
  export declare type SiteUsersQueryResult = NonNullable<Awaited<ReturnType<typeof siteUsers>>>;
2087
3513
  export declare type SiteUsersQueryError = AxiosError<unknown>;
3514
+ /**
3515
+ * @summary users
3516
+ */
2088
3517
  export declare const useSiteUsers: <TData = AxiosResponse<SiteUsers200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
2089
3518
  query?: UseQueryOptions<AxiosResponse<SiteUsers200, any>, TError, TData, QueryKey> | undefined;
2090
3519
  axios?: AxiosRequestConfig<any> | undefined;
@@ -2096,9 +3525,18 @@ export declare const useSiteUsers: <TData = AxiosResponse<SiteUsers200, any>, TE
2096
3525
  * @summary version
2097
3526
  */
2098
3527
  export declare const sitesVersion: (siteId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesVersion200>>;
2099
- export declare const getSitesVersionQueryKey: (siteId: number) => string[];
3528
+ export declare const getSitesVersionQueryKey: (siteId: number) => readonly [`/v1/sites/${number}/version`];
3529
+ export declare const getSitesVersionQueryOptions: <TData = AxiosResponse<SitesVersion200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
3530
+ query?: UseQueryOptions<AxiosResponse<SitesVersion200, any>, TError, TData, QueryKey> | undefined;
3531
+ axios?: AxiosRequestConfig<any> | undefined;
3532
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesVersion200, any>, TError, TData, QueryKey> & {
3533
+ queryKey: QueryKey;
3534
+ };
2100
3535
  export declare type SitesVersionQueryResult = NonNullable<Awaited<ReturnType<typeof sitesVersion>>>;
2101
3536
  export declare type SitesVersionQueryError = AxiosError<unknown>;
3537
+ /**
3538
+ * @summary version
3539
+ */
2102
3540
  export declare const useSitesVersion: <TData = AxiosResponse<SitesVersion200, any>, TError = AxiosError<unknown, any>>(siteId: number, options?: {
2103
3541
  query?: UseQueryOptions<AxiosResponse<SitesVersion200, any>, TError, TData, QueryKey> | undefined;
2104
3542
  axios?: AxiosRequestConfig<any> | undefined;
@@ -2110,9 +3548,18 @@ export declare const useSitesVersion: <TData = AxiosResponse<SitesVersion200, an
2110
3548
  * @summary sso
2111
3549
  */
2112
3550
  export declare const addonsSitelockSsoV2: (addonId: number, params?: AddonsSitelockSsoV2Params, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddonsSitelockSsoV2200>>;
2113
- export declare const getAddonsSitelockSsoV2QueryKey: (addonId: number, params?: AddonsSitelockSsoV2Params) => (string | AddonsSitelockSsoV2Params)[];
3551
+ export declare const getAddonsSitelockSsoV2QueryKey: (addonId: number, params?: AddonsSitelockSsoV2Params) => readonly [`/v2/addons/sitelock/${number}/sso`, ...AddonsSitelockSsoV2Params[]];
3552
+ export declare const getAddonsSitelockSsoV2QueryOptions: <TData = AxiosResponse<AddonsSitelockSsoV2200, any>, TError = AxiosError<unknown, any>>(addonId: number, params?: AddonsSitelockSsoV2Params, options?: {
3553
+ query?: UseQueryOptions<AxiosResponse<AddonsSitelockSsoV2200, any>, TError, TData, QueryKey> | undefined;
3554
+ axios?: AxiosRequestConfig<any> | undefined;
3555
+ } | undefined) => UseQueryOptions<AxiosResponse<AddonsSitelockSsoV2200, any>, TError, TData, QueryKey> & {
3556
+ queryKey: QueryKey;
3557
+ };
2114
3558
  export declare type AddonsSitelockSsoV2QueryResult = NonNullable<Awaited<ReturnType<typeof addonsSitelockSsoV2>>>;
2115
3559
  export declare type AddonsSitelockSsoV2QueryError = AxiosError<unknown>;
3560
+ /**
3561
+ * @summary sso
3562
+ */
2116
3563
  export declare const useAddonsSitelockSsoV2: <TData = AxiosResponse<AddonsSitelockSsoV2200, any>, TError = AxiosError<unknown, any>>(addonId: number, params?: AddonsSitelockSsoV2Params, options?: {
2117
3564
  query?: UseQueryOptions<AxiosResponse<AddonsSitelockSsoV2200, any>, TError, TData, QueryKey> | undefined;
2118
3565
  axios?: AxiosRequestConfig<any> | undefined;
@@ -2124,9 +3571,18 @@ export declare const useAddonsSitelockSsoV2: <TData = AxiosResponse<AddonsSitelo
2124
3571
  * @summary hosting server nameservers info
2125
3572
  */
2126
3573
  export declare const hostingNameserversV2: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingNameserversV2200>>;
2127
- export declare const getHostingNameserversV2QueryKey: (hostingId: number) => string[];
3574
+ export declare const getHostingNameserversV2QueryKey: (hostingId: number) => readonly [`/v2/hosting/${number}/nameservers`];
3575
+ export declare const getHostingNameserversV2QueryOptions: <TData = AxiosResponse<HostingNameserversV2200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
3576
+ query?: UseQueryOptions<AxiosResponse<HostingNameserversV2200, any>, TError, TData, QueryKey> | undefined;
3577
+ axios?: AxiosRequestConfig<any> | undefined;
3578
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingNameserversV2200, any>, TError, TData, QueryKey> & {
3579
+ queryKey: QueryKey;
3580
+ };
2128
3581
  export declare type HostingNameserversV2QueryResult = NonNullable<Awaited<ReturnType<typeof hostingNameserversV2>>>;
2129
3582
  export declare type HostingNameserversV2QueryError = AxiosError<unknown>;
3583
+ /**
3584
+ * @summary hosting server nameservers info
3585
+ */
2130
3586
  export declare const useHostingNameserversV2: <TData = AxiosResponse<HostingNameserversV2200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
2131
3587
  query?: UseQueryOptions<AxiosResponse<HostingNameserversV2200, any>, TError, TData, QueryKey> | undefined;
2132
3588
  axios?: AxiosRequestConfig<any> | undefined;
@@ -2138,9 +3594,18 @@ export declare const useHostingNameserversV2: <TData = AxiosResponse<HostingName
2138
3594
  * @summary sites list v2
2139
3595
  */
2140
3596
  export declare const hostingSitesV2: (hostingId: number, options?: AxiosRequestConfig) => Promise<AxiosResponse<HostingSitesV2200>>;
2141
- export declare const getHostingSitesV2QueryKey: (hostingId: number) => string[];
3597
+ export declare const getHostingSitesV2QueryKey: (hostingId: number) => readonly [`/v2/hosting/${number}/sites`];
3598
+ export declare const getHostingSitesV2QueryOptions: <TData = AxiosResponse<HostingSitesV2200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
3599
+ query?: UseQueryOptions<AxiosResponse<HostingSitesV2200, any>, TError, TData, QueryKey> | undefined;
3600
+ axios?: AxiosRequestConfig<any> | undefined;
3601
+ } | undefined) => UseQueryOptions<AxiosResponse<HostingSitesV2200, any>, TError, TData, QueryKey> & {
3602
+ queryKey: QueryKey;
3603
+ };
2142
3604
  export declare type HostingSitesV2QueryResult = NonNullable<Awaited<ReturnType<typeof hostingSitesV2>>>;
2143
3605
  export declare type HostingSitesV2QueryError = AxiosError<unknown>;
3606
+ /**
3607
+ * @summary sites list v2
3608
+ */
2144
3609
  export declare const useHostingSitesV2: <TData = AxiosResponse<HostingSitesV2200, any>, TError = AxiosError<unknown, any>>(hostingId: number, options?: {
2145
3610
  query?: UseQueryOptions<AxiosResponse<HostingSitesV2200, any>, TError, TData, QueryKey> | undefined;
2146
3611
  axios?: AxiosRequestConfig<any> | undefined;
@@ -2152,9 +3617,18 @@ export declare const useHostingSitesV2: <TData = AxiosResponse<HostingSitesV2200
2152
3617
  * @summary ssh keys list
2153
3618
  */
2154
3619
  export declare const sshKeyListV2: (hostingId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<SshKeyListV2200>>;
2155
- export declare const getSshKeyListV2QueryKey: (hostingId: string) => string[];
3620
+ export declare const getSshKeyListV2QueryKey: (hostingId: string) => readonly [`/v2/hosting/${string}/ssh/keys`];
3621
+ export declare const getSshKeyListV2QueryOptions: <TData = AxiosResponse<SshKeyListV2200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
3622
+ query?: UseQueryOptions<AxiosResponse<SshKeyListV2200, any>, TError, TData, QueryKey> | undefined;
3623
+ axios?: AxiosRequestConfig<any> | undefined;
3624
+ } | undefined) => UseQueryOptions<AxiosResponse<SshKeyListV2200, any>, TError, TData, QueryKey> & {
3625
+ queryKey: QueryKey;
3626
+ };
2156
3627
  export declare type SshKeyListV2QueryResult = NonNullable<Awaited<ReturnType<typeof sshKeyListV2>>>;
2157
3628
  export declare type SshKeyListV2QueryError = AxiosError<unknown>;
3629
+ /**
3630
+ * @summary ssh keys list
3631
+ */
2158
3632
  export declare const useSshKeyListV2: <TData = AxiosResponse<SshKeyListV2200, any>, TError = AxiosError<unknown, any>>(hostingId: string, options?: {
2159
3633
  query?: UseQueryOptions<AxiosResponse<SshKeyListV2200, any>, TError, TData, QueryKey> | undefined;
2160
3634
  axios?: AxiosRequestConfig<any> | undefined;
@@ -2166,9 +3640,18 @@ export declare const useSshKeyListV2: <TData = AxiosResponse<SshKeyListV2200, an
2166
3640
  * @summary Site list for an account v2
2167
3641
  */
2168
3642
  export declare const sitesListV2: (options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesListV2200>>;
2169
- export declare const getSitesListV2QueryKey: () => string[];
3643
+ export declare const getSitesListV2QueryKey: () => readonly ["/v2/sites"];
3644
+ export declare const getSitesListV2QueryOptions: <TData = AxiosResponse<SitesListV2200, any>, TError = AxiosError<unknown, any>>(options?: {
3645
+ query?: UseQueryOptions<AxiosResponse<SitesListV2200, any>, TError, TData, QueryKey> | undefined;
3646
+ axios?: AxiosRequestConfig<any> | undefined;
3647
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesListV2200, any>, TError, TData, QueryKey> & {
3648
+ queryKey: QueryKey;
3649
+ };
2170
3650
  export declare type SitesListV2QueryResult = NonNullable<Awaited<ReturnType<typeof sitesListV2>>>;
2171
3651
  export declare type SitesListV2QueryError = AxiosError<unknown>;
3652
+ /**
3653
+ * @summary Site list for an account v2
3654
+ */
2172
3655
  export declare const useSitesListV2: <TData = AxiosResponse<SitesListV2200, any>, TError = AxiosError<unknown, any>>(options?: {
2173
3656
  query?: UseQueryOptions<AxiosResponse<SitesListV2200, any>, TError, TData, QueryKey> | undefined;
2174
3657
  axios?: AxiosRequestConfig<any> | undefined;
@@ -2180,9 +3663,18 @@ export declare const useSitesListV2: <TData = AxiosResponse<SitesListV2200, any>
2180
3663
  * @summary Domains list for the site
2181
3664
  */
2182
3665
  export declare const sitesDomainsV2: (siteId: number, params?: SitesDomainsV2Params, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesDomainsV2200>>;
2183
- export declare const getSitesDomainsV2QueryKey: (siteId: number, params?: SitesDomainsV2Params) => (string | SitesDomainsV2Params)[];
3666
+ export declare const getSitesDomainsV2QueryKey: (siteId: number, params?: SitesDomainsV2Params) => readonly [`/v2/sites/${number}/domains`, ...SitesDomainsV2Params[]];
3667
+ export declare const getSitesDomainsV2QueryOptions: <TData = AxiosResponse<SitesDomainsV2200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesDomainsV2Params, options?: {
3668
+ query?: UseQueryOptions<AxiosResponse<SitesDomainsV2200, any>, TError, TData, QueryKey> | undefined;
3669
+ axios?: AxiosRequestConfig<any> | undefined;
3670
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesDomainsV2200, any>, TError, TData, QueryKey> & {
3671
+ queryKey: QueryKey;
3672
+ };
2184
3673
  export declare type SitesDomainsV2QueryResult = NonNullable<Awaited<ReturnType<typeof sitesDomainsV2>>>;
2185
3674
  export declare type SitesDomainsV2QueryError = AxiosError<unknown>;
3675
+ /**
3676
+ * @summary Domains list for the site
3677
+ */
2186
3678
  export declare const useSitesDomainsV2: <TData = AxiosResponse<SitesDomainsV2200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesDomainsV2Params, options?: {
2187
3679
  query?: UseQueryOptions<AxiosResponse<SitesDomainsV2200, any>, TError, TData, QueryKey> | undefined;
2188
3680
  axios?: AxiosRequestConfig<any> | undefined;
@@ -2194,9 +3686,18 @@ export declare const useSitesDomainsV2: <TData = AxiosResponse<SitesDomainsV2200
2194
3686
  * @summary sitelock info
2195
3687
  */
2196
3688
  export declare const sitesSecuritySitelockV2: (siteId: number, params?: SitesSecuritySitelockV2Params, options?: AxiosRequestConfig) => Promise<AxiosResponse<SitesSecuritySitelockV2200>>;
2197
- export declare const getSitesSecuritySitelockV2QueryKey: (siteId: number, params?: SitesSecuritySitelockV2Params) => (string | SitesSecuritySitelockV2Params)[];
3689
+ export declare const getSitesSecuritySitelockV2QueryKey: (siteId: number, params?: SitesSecuritySitelockV2Params) => readonly [`/v2/sites/${number}/security/sitelock`, ...SitesSecuritySitelockV2Params[]];
3690
+ export declare const getSitesSecuritySitelockV2QueryOptions: <TData = AxiosResponse<SitesSecuritySitelockV2200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesSecuritySitelockV2Params, options?: {
3691
+ query?: UseQueryOptions<AxiosResponse<SitesSecuritySitelockV2200, any>, TError, TData, QueryKey> | undefined;
3692
+ axios?: AxiosRequestConfig<any> | undefined;
3693
+ } | undefined) => UseQueryOptions<AxiosResponse<SitesSecuritySitelockV2200, any>, TError, TData, QueryKey> & {
3694
+ queryKey: QueryKey;
3695
+ };
2198
3696
  export declare type SitesSecuritySitelockV2QueryResult = NonNullable<Awaited<ReturnType<typeof sitesSecuritySitelockV2>>>;
2199
3697
  export declare type SitesSecuritySitelockV2QueryError = AxiosError<unknown>;
3698
+ /**
3699
+ * @summary sitelock info
3700
+ */
2200
3701
  export declare const useSitesSecuritySitelockV2: <TData = AxiosResponse<SitesSecuritySitelockV2200, any>, TError = AxiosError<unknown, any>>(siteId: number, params?: SitesSecuritySitelockV2Params, options?: {
2201
3702
  query?: UseQueryOptions<AxiosResponse<SitesSecuritySitelockV2200, any>, TError, TData, QueryKey> | undefined;
2202
3703
  axios?: AxiosRequestConfig<any> | undefined;