@newfold/huapi-js 2.1064.0 → 2.1067.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.d.ts +33 -1
- package/src/index.js +27 -1
- package/src/index.msw.d.ts +3 -1
- package/src/index.msw.js +13 -1
- package/src/index.schemas.d.ts +23 -20
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DefinedInitialDataOptions, DefinedUseInfiniteQueryResult, DefinedUseQueryResult, InfiniteData, QueryKey, UndefinedInitialDataOptions, UseInfiniteQueryOptions, UseInfiniteQueryResult, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import axios from 'axios';
|
|
3
3
|
import type { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
4
|
-
import type { AccountEventList200, AccountEventListParams, AccountHostingList200, AccountPublicKey200, AccountPublicKey404, AccountPublicKeyCreate200, AccountPublicKeyCreate409, AccountPublicKeyCreateBody, AccountPublicKeyDelete200, AccountPublicKeyDelete404, AccountPublicKeyToggle200, AccountPublicKeyToggle409, AccountPublicKeyToggleBody, AccountPublicKeys200, ActivityLog200, AddCron200, AddCron400, AddCronBody, AddHostingRedirects200, AddHostingRedirectsBody, AddSiteIpaddress200, AddSiteIpaddressBody, AddonCloudflare200, AddonCloudflareBody, AddonsCloudflare200, AddonsInfo200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSitelockSsoV2Params, AddonsSpamexpertsSso200, BackupInitiate200, BackupInitiateBody, BackupList200, BackupListParams, BackupStatus200, BackupStatusParams, BackupsJetpackBackup200, CodeguardBackupCreate200, CodeguardBackupCreateBody, CodeguardBackupDownload200, CodeguardBackupDownloadBody, CodeguardBackupList200, CodeguardBackupListParams, CodeguardBackupRestore200, CodeguardBackupRestoreBody, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupCreateBody, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupListParams, CodeguardDatabaseBackupRestore200, CodeguardDatabaseBackupRestoreBody, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupCreateBody, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupListParams, CodeguardWebsiteBackupRestore200, CodeguardWebsiteBackupRestoreBody, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronBody, Db200, DbAdd200, DbAddBody, DbBody, DbCheckDatabase200, DbCheckDatabaseBody, DbList200, DbUsage200, DbUserAdd200, DbUserAddBody, DbUserDelete200, DbUserDeleteBody, DbUserList200, DbUserPasswordSet200, DbUserPasswordSetBody, DbUserPrivsGet200, DbUserPrivsGetParams, DbUserPrivsSet200, DbUserPrivsSetBody, DbUserRename200, DbUserRenameBody, DomainCertInstall200, DomainCertInstallBody, DomainCertUninstall200, DomainCertUpdate200, DomainCertUpdateBody, DomainCerts200, DomainInfo200, DomainUnassign200, Domains200, DomainsParams, HostingAccount200, HostingAddons200, HostingAddonsParams, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesBody, HostingAdvancedDomainServicesCheck200, HostingAdvancedPassword200, HostingAdvancedPasswordBody, HostingAdvancedServer200, HostingAdvancedServerStatus200, HostingAdvancedServerStatusBody, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingCapabilities200, HostingDomainsUnassign200, HostingDomainsUnassignBody, HostingEcommerceInfo200, HostingFixownership200, 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, HostingRedirect200, HostingRedirectBody, HostingRedirects200Item, HostingResellerSsoWhm200, HostingShellInfo200, HostingShellToggle200, HostingShellToggleBody, HostingSiteAdd200, HostingSiteAddBody, HostingSitesV2200, HostingSitesV2Params, HostingSshInfo200, JetpackBackupStatus200, ListCrons200, ResetSite200, ResetSiteBody, Site200, SiteAddonCloudflare200, SiteAddonCloudflare400, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressBody, SiteIpaddressList200Item, 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, SitesListV3200, SitesListV3Params, SitesMetricDimensions200, SitesMetricDimensionsParams, SitesMetricsDimensionAveraged200, SitesMetricsDimensionAveragedParams, SitesPerformanceCachepurge200, SitesPerformanceCachepurgeBody, SitesPerformanceEdgecache200, SitesPerformanceEdgecacheBody, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelBody, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsEnableDisableSslBody, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockParams, SitesSecuritySitelockV2200, SitesSecuritySitelockV2Params, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSecuritySslStatusParams, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsComingSoonToggleBody, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsDebugToggleBody, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersionUpdateBody, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserCreateBody, SitesSshUserDelete200, SitesSshUserDeleteBody, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSshUserUpdateBody, SitesSsl200, SitesSso200, SitesSsoParams, SitesVersion200, SshKey200, SshKeyBody, SshKeyFetch200, SshKeyFetchParams, SshKeyGenerate200, SshKeyGenerateBody, SshKeyImport200, SshKeyImportBody, SshKeyImportV2200, SshKeyImportV2Body, SshKeyList200, SshKeyListV2200, Sso200, SsoParams, UpdateCron200, UpdateCronBody, WebzaiSso200, WeeblySso200 } from './index.schemas';
|
|
4
|
+
import type { AccountEventList200, AccountEventListParams, AccountHostingList200, AccountPublicKey200, AccountPublicKey404, AccountPublicKeyCreate200, AccountPublicKeyCreate409, AccountPublicKeyCreateBody, AccountPublicKeyDelete200, AccountPublicKeyDelete404, AccountPublicKeyToggle200, AccountPublicKeyToggle409, AccountPublicKeyToggleBody, AccountPublicKeys200, ActivityLog200, AddCron200, AddCron400, AddCronBody, AddHostingRedirects200, AddHostingRedirectsBody, AddSiteIpaddress200, AddSiteIpaddressBody, AddonCloudflare200, AddonCloudflareBody, AddonsCloudflare200, AddonsInfo200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSitelockSsoV2Params, AddonsSpamexpertsSso200, BackupInitiate200, BackupInitiateBody, BackupList200, BackupListParams, BackupStatus200, BackupStatusParams, BackupsJetpackBackup200, CodeguardBackupCreate200, CodeguardBackupCreateBody, CodeguardBackupDownload200, CodeguardBackupDownloadBody, CodeguardBackupList200, CodeguardBackupListParams, CodeguardBackupRestore200, CodeguardBackupRestoreBody, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupCreateBody, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupListParams, CodeguardDatabaseBackupRestore200, CodeguardDatabaseBackupRestoreBody, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupCreateBody, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupListParams, CodeguardWebsiteBackupRestore200, CodeguardWebsiteBackupRestoreBody, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, CronBody, Db200, DbAdd200, DbAddBody, DbBody, DbCheckDatabase200, DbCheckDatabaseBody, DbList200, DbUsage200, DbUserAdd200, DbUserAddBody, DbUserDelete200, DbUserDeleteBody, DbUserList200, DbUserPasswordSet200, DbUserPasswordSetBody, DbUserPrivsGet200, DbUserPrivsGetParams, DbUserPrivsSet200, DbUserPrivsSetBody, DbUserRename200, DbUserRenameBody, DomainCertInstall200, DomainCertInstallBody, DomainCertUninstall200, DomainCertUpdate200, DomainCertUpdateBody, DomainCerts200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, DomainsParams, HostingAccount200, HostingAddons200, HostingAddonsParams, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesBody, HostingAdvancedDomainServicesCheck200, HostingAdvancedPassword200, HostingAdvancedPasswordBody, HostingAdvancedServer200, HostingAdvancedServerStatus200, HostingAdvancedServerStatusBody, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingCapabilities200, HostingDomainsUnassign200, HostingDomainsUnassignBody, HostingEcommerceInfo200, HostingFixownership200, 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, HostingRedirect200, HostingRedirectBody, HostingRedirects200Item, HostingResellerSsoWhm200, HostingShellInfo200, HostingShellToggle200, HostingShellToggleBody, HostingSiteAdd200, HostingSiteAddBody, HostingSitesV2200, HostingSitesV2Params, HostingSshInfo200, JetpackBackupStatus200, ListCrons200, ResetSite200, ResetSiteBody, Site200, SiteAddonCloudflare200, SiteAddonCloudflare400, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressBody, SiteIpaddressList200Item, 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, SitesListV3200, SitesListV3Params, SitesMetricDimensions200, SitesMetricDimensionsParams, SitesMetricsDimensionAveraged200, SitesMetricsDimensionAveragedParams, SitesPerformanceCachepurge200, SitesPerformanceCachepurgeBody, SitesPerformanceEdgecache200, SitesPerformanceEdgecacheBody, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelBody, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsEnableDisableSslBody, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockParams, SitesSecuritySitelockV2200, SitesSecuritySitelockV2Params, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSecuritySslStatusParams, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsComingSoonToggleBody, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsDebugToggleBody, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersionUpdateBody, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserCreateBody, SitesSshUserDelete200, SitesSshUserDeleteBody, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSshUserUpdateBody, SitesSsl200, SitesSso200, SitesSsoParams, SitesVersion200, SshKey200, SshKeyBody, SshKeyFetch200, SshKeyFetchParams, SshKeyGenerate200, SshKeyGenerateBody, SshKeyImport200, SshKeyImportBody, SshKeyImportV2200, SshKeyImportV2Body, SshKeyList200, SshKeyListV2200, Sso200, SsoParams, UpdateCron200, UpdateCronBody, WebzaiSso200, WeeblySso200 } from './index.schemas';
|
|
5
5
|
declare type AwaitedInput<T> = PromiseLike<T> | T;
|
|
6
6
|
declare type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
7
7
|
/**
|
|
@@ -1116,6 +1116,38 @@ export declare const useDomainUnassign: <TError = AxiosError<unknown, any>, TCon
|
|
|
1116
1116
|
} | undefined) => UseMutationResult<AxiosResponse<DomainUnassign200, any>, TError, {
|
|
1117
1117
|
domainId: number;
|
|
1118
1118
|
}, TContext>;
|
|
1119
|
+
/**
|
|
1120
|
+
* Returns a url for navigating to dns zone editor.
|
|
1121
|
+
* @summary domain zone editor url
|
|
1122
|
+
*/
|
|
1123
|
+
export declare const domainZoneeditorUrl: (domainId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<DomainZoneeditorUrl200>>;
|
|
1124
|
+
export declare const getDomainZoneeditorUrlQueryKey: (domainId: string) => readonly [`/v1/domains/${string}/zoneeditor-url`];
|
|
1125
|
+
export declare const getDomainZoneeditorUrlQueryOptions: <TData = AxiosResponse<DomainZoneeditorUrl200, any>, TError = AxiosError<unknown, any>>(domainId: string, options?: {
|
|
1126
|
+
query?: Partial<UseQueryOptions<AxiosResponse<DomainZoneeditorUrl200, any>, TError, TData, QueryKey>> | undefined;
|
|
1127
|
+
axios?: AxiosRequestConfig<any> | undefined;
|
|
1128
|
+
} | undefined) => UseQueryOptions<AxiosResponse<DomainZoneeditorUrl200, any>, TError, TData, QueryKey> & {
|
|
1129
|
+
queryKey: QueryKey;
|
|
1130
|
+
};
|
|
1131
|
+
export declare type DomainZoneeditorUrlQueryResult = NonNullable<Awaited<ReturnType<typeof domainZoneeditorUrl>>>;
|
|
1132
|
+
export declare type DomainZoneeditorUrlQueryError = AxiosError<unknown>;
|
|
1133
|
+
export declare function useDomainZoneeditorUrl<TData = Awaited<ReturnType<typeof domainZoneeditorUrl>>, TError = AxiosError<unknown>>(domainId: string, options: {
|
|
1134
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof domainZoneeditorUrl>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof domainZoneeditorUrl>>, TError, TData>, 'initialData'>;
|
|
1135
|
+
axios?: AxiosRequestConfig;
|
|
1136
|
+
}): DefinedUseQueryResult<TData, TError> & {
|
|
1137
|
+
queryKey: QueryKey;
|
|
1138
|
+
};
|
|
1139
|
+
export declare function useDomainZoneeditorUrl<TData = Awaited<ReturnType<typeof domainZoneeditorUrl>>, TError = AxiosError<unknown>>(domainId: string, options?: {
|
|
1140
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof domainZoneeditorUrl>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof domainZoneeditorUrl>>, TError, TData>, 'initialData'>;
|
|
1141
|
+
axios?: AxiosRequestConfig;
|
|
1142
|
+
}): UseQueryResult<TData, TError> & {
|
|
1143
|
+
queryKey: QueryKey;
|
|
1144
|
+
};
|
|
1145
|
+
export declare function useDomainZoneeditorUrl<TData = Awaited<ReturnType<typeof domainZoneeditorUrl>>, TError = AxiosError<unknown>>(domainId: string, options?: {
|
|
1146
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof domainZoneeditorUrl>>, TError, TData>>;
|
|
1147
|
+
axios?: AxiosRequestConfig;
|
|
1148
|
+
}): UseQueryResult<TData, TError> & {
|
|
1149
|
+
queryKey: QueryKey;
|
|
1150
|
+
};
|
|
1119
1151
|
/**
|
|
1120
1152
|
* Returns HAL hosting account-level information
|
|
1121
1153
|
* @summary HAL Hosting Account Info
|
package/src/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Hosting UAPI
|
|
5
5
|
* Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.1067.0
|
|
7
7
|
*/
|
|
8
8
|
import { useInfiniteQuery, useMutation, useQuery } from '@tanstack/react-query';
|
|
9
9
|
import axios from 'axios';
|
|
@@ -879,6 +879,32 @@ export const useDomainUnassign = (options) => {
|
|
|
879
879
|
const mutationOptions = getDomainUnassignMutationOptions(options);
|
|
880
880
|
return useMutation(mutationOptions);
|
|
881
881
|
};
|
|
882
|
+
/**
|
|
883
|
+
* Returns a url for navigating to dns zone editor.
|
|
884
|
+
* @summary domain zone editor url
|
|
885
|
+
*/
|
|
886
|
+
export const domainZoneeditorUrl = (domainId, options) => {
|
|
887
|
+
return axios.get(`/v1/domains/${domainId}/zoneeditor-url`, options);
|
|
888
|
+
};
|
|
889
|
+
export const getDomainZoneeditorUrlQueryKey = (domainId) => {
|
|
890
|
+
return [`/v1/domains/${domainId}/zoneeditor-url`];
|
|
891
|
+
};
|
|
892
|
+
export const getDomainZoneeditorUrlQueryOptions = (domainId, options) => {
|
|
893
|
+
var _a;
|
|
894
|
+
const { query: queryOptions, axios: axiosOptions } = options !== null && options !== void 0 ? options : {};
|
|
895
|
+
const queryKey = (_a = queryOptions === null || queryOptions === void 0 ? void 0 : queryOptions.queryKey) !== null && _a !== void 0 ? _a : getDomainZoneeditorUrlQueryKey(domainId);
|
|
896
|
+
const queryFn = ({ signal }) => domainZoneeditorUrl(domainId, Object.assign({ signal }, axiosOptions));
|
|
897
|
+
return Object.assign({ queryKey, queryFn, enabled: !!(domainId) }, queryOptions);
|
|
898
|
+
};
|
|
899
|
+
/**
|
|
900
|
+
* @summary domain zone editor url
|
|
901
|
+
*/
|
|
902
|
+
export function useDomainZoneeditorUrl(domainId, options) {
|
|
903
|
+
const queryOptions = getDomainZoneeditorUrlQueryOptions(domainId, options);
|
|
904
|
+
const query = useQuery(queryOptions);
|
|
905
|
+
query.queryKey = queryOptions.queryKey;
|
|
906
|
+
return query;
|
|
907
|
+
}
|
|
882
908
|
/**
|
|
883
909
|
* Returns HAL hosting account-level information
|
|
884
910
|
* @summary HAL Hosting Account Info
|
package/src/index.msw.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { http } from 'msw';
|
|
2
|
-
import type { AccountEventList200, AccountHostingList200, AccountPublicKey200, AccountPublicKeyCreate200, AccountPublicKeyDelete200, AccountPublicKeyToggle200, AccountPublicKeys200, ActivityLog200, AddCron200, AddHostingRedirects200, AddSiteIpaddress200, AddonCloudflare200, AddonsCloudflare200, AddonsInfo200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSpamexpertsSso200, BackupInitiate200, BackupList200, BackupStatus200, BackupsJetpackBackup200, CodeguardBackupCreate200, CodeguardBackupDownload200, CodeguardBackupList200, CodeguardBackupRestore200, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupRestore200, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupRestore200, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, Db200, DbAdd200, DbCheckDatabase200, DbList200, DbUsage200, DbUserAdd200, DbUserDelete200, DbUserList200, DbUserPasswordSet200, DbUserPrivsGet200, DbUserPrivsSet200, DbUserRename200, DomainCertInstall200, DomainCertUninstall200, DomainCertUpdate200, DomainCerts200, DomainInfo200, DomainUnassign200, Domains200, HostingAccount200, HostingAddons200, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesCheck200, HostingAdvancedPassword200, HostingAdvancedServer200, HostingAdvancedServerStatus200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingCapabilities200, HostingDomainsUnassign200, HostingEcommerceInfo200, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpList200, HostingFtpUpdate200, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingMigrationInfo200, HostingMigrationSiteScanStatus200, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsCheck200, HostingMigrationsEvent200, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingRedirect200, HostingRedirects200Item, HostingResellerSsoWhm200, HostingShellInfo200, HostingShellToggle200, HostingSiteAdd200, HostingSitesV2200, HostingSshInfo200, JetpackBackupStatus200, ListCrons200, ResetSite200, Site200, SiteAddonCloudflare200, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressList200Item, SiteMalwareStatus200, SitePendingDomainDelete200, SitePluginUpdate200, SitePlugins200, SitePluginsAutoupdate200, SitePluginsToggle200, SitePluginsUpdate200, SiteStatus200, SiteUpdate200, SiteUsers200, SitesAccessLogs200, SitesAutoupdatesResponse, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBatch200, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDomain200, SitesDomainUrl200, SitesDomainsCreate200, SitesDomainsV2200, SitesErrorLogs200, SitesHasBackups200, SitesInfo200, SitesList200, SitesListV2200, SitesListV3200, SitesMetricDimensions200, SitesMetricsDimensionAveraged200, SitesPerformanceCachepurge200, SitesPerformanceEdgecache200, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockV2200, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserDelete200, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSsl200, SitesSso200, SitesVersion200, SshKey200, SshKeyFetch200, SshKeyGenerate200, SshKeyImport200, SshKeyImportV2200, SshKeyList200, SshKeyListV2200, Sso200, UpdateCron200, WebzaiSso200, WeeblySso200 } from './index.schemas';
|
|
2
|
+
import type { AccountEventList200, AccountHostingList200, AccountPublicKey200, AccountPublicKeyCreate200, AccountPublicKeyDelete200, AccountPublicKeyToggle200, AccountPublicKeys200, ActivityLog200, AddCron200, AddHostingRedirects200, AddSiteIpaddress200, AddonCloudflare200, AddonsCloudflare200, AddonsInfo200, AddonsSitelockSso200, AddonsSitelockSsoV2200, AddonsSpamexpertsSso200, BackupInitiate200, BackupList200, BackupStatus200, BackupsJetpackBackup200, CodeguardBackupCreate200, CodeguardBackupDownload200, CodeguardBackupList200, CodeguardBackupRestore200, CodeguardDatabaseBackupCreate200, CodeguardDatabaseBackupList200, CodeguardDatabaseBackupRestore200, CodeguardDatabaseList200, CodeguardLoginLink200, CodeguardPlanInfo200, CodeguardWebsiteBackupCreate200, CodeguardWebsiteBackupList200, CodeguardWebsiteBackupRestore200, CodeguardWebsiteList200, CreatePhpInfo200, Cron200, Db200, DbAdd200, DbCheckDatabase200, DbList200, DbUsage200, DbUserAdd200, DbUserDelete200, DbUserList200, DbUserPasswordSet200, DbUserPrivsGet200, DbUserPrivsSet200, DbUserRename200, DomainCertInstall200, DomainCertUninstall200, DomainCertUpdate200, DomainCerts200, DomainInfo200, DomainUnassign200, DomainZoneeditorUrl200, Domains200, HostingAccount200, HostingAddons200, HostingAdvancedDomainServices200, HostingAdvancedDomainServicesCheck200, HostingAdvancedPassword200, HostingAdvancedServer200, HostingAdvancedServerStatus200, HostingAdvancedSsoWhm200, HostingAdvancedSystemConsole200, HostingCapabilities200, HostingDomainsUnassign200, HostingEcommerceInfo200, HostingFixownership200, HostingFtp200, HostingFtpAdd200, HostingFtpList200, HostingFtpUpdate200, HostingInfo200, HostingInfoDiskUsage200, HostingLead200, HostingMigrationInfo200, HostingMigrationSiteScanStatus200, HostingMigrationStatus200, HostingMigrations200, HostingMigrationsCheck200, HostingMigrationsEvent200, HostingNameservers200, HostingNameserversV2200, HostingOnboardingData200, HostingOnboardingDataUpdate200, HostingRedirect200, HostingRedirects200Item, HostingResellerSsoWhm200, HostingShellInfo200, HostingShellToggle200, HostingSiteAdd200, HostingSitesV2200, HostingSshInfo200, JetpackBackupStatus200, ListCrons200, ResetSite200, Site200, SiteAddonCloudflare200, SiteInfoResponseModelV2, SiteIpaddress200, SiteIpaddressList200Item, SiteMalwareStatus200, SitePendingDomainDelete200, SitePluginUpdate200, SitePlugins200, SitePluginsAutoupdate200, SitePluginsToggle200, SitePluginsUpdate200, SiteStatus200, SiteUpdate200, SiteUsers200, SitesAccessLogs200, SitesAutoupdatesResponse, SitesBackups200, SitesBackupsCodeguard200, SitesBackupsDetails200, SitesBatch200, SitesDatabaseInfo200, SitesDatabasePasswordsync200, SitesDns200, SitesDomain200, SitesDomainUrl200, SitesDomainsCreate200, SitesDomainsV2200, SitesErrorLogs200, SitesHasBackups200, SitesInfo200, SitesList200, SitesListV2200, SitesListV3200, SitesMetricDimensions200, SitesMetricsDimensionAveraged200, SitesPerformanceCachepurge200, SitesPerformanceEdgecache200, SitesPerformanceEnduranceCacheLevel200, SitesPerformanceEnduranceCacheLevelStatus200, SitesPerformanceEndurancePageCache200, SitesSecurityBundle200, SitesSecurityCheckCore200, SitesSecurityHttpsEnableDisableSsl200, SitesSecurityHttpsRedirectionStatus200, SitesSecurityResetCoreFiles200, SitesSecuritySitelock200, SitesSecuritySitelockV2200, SitesSecuritySslAcme200, SitesSecuritySslStatus200, SitesSettingsComingSoon200, SitesSettingsComingSoonToggle200, SitesSettingsDebug200, SitesSettingsDebugToggle200, SitesSettingsPhpVersionUpdate200, SitesSettingsPhpVersions200, SitesSshUserCreate200, SitesSshUserDelete200, SitesSshUserList200, SitesSshUserListV2200, SitesSshUserUpdate200, SitesSsl200, SitesSso200, SitesVersion200, SshKey200, SshKeyFetch200, SshKeyGenerate200, SshKeyImport200, SshKeyImportV2200, SshKeyList200, SshKeyListV2200, Sso200, UpdateCron200, WebzaiSso200, WeeblySso200 } from './index.schemas';
|
|
3
3
|
export declare const getAccountEventListResponseMock: (overrideResponse?: Partial<AccountEventList200>) => AccountEventList200;
|
|
4
4
|
export declare const getAccountHostingListResponseMock: (overrideResponse?: Partial<AccountHostingList200>) => AccountHostingList200;
|
|
5
5
|
export declare const getAccountPublicKeysResponseMock: (overrideResponse?: Partial<AccountPublicKeys200>) => AccountPublicKeys200;
|
|
@@ -36,6 +36,7 @@ export declare const getDomainCertInstallResponseMock: (overrideResponse?: Parti
|
|
|
36
36
|
export declare const getDomainCertUpdateResponseMock: (overrideResponse?: Partial<DomainCertUpdate200>) => DomainCertUpdate200;
|
|
37
37
|
export declare const getDomainCertUninstallResponseMock: (overrideResponse?: Partial<DomainCertUninstall200>) => DomainCertUninstall200;
|
|
38
38
|
export declare const getDomainUnassignResponseMock: (overrideResponse?: Partial<DomainUnassign200>) => DomainUnassign200;
|
|
39
|
+
export declare const getDomainZoneeditorUrlResponseMock: (overrideResponse?: Partial<DomainZoneeditorUrl200>) => DomainZoneeditorUrl200;
|
|
39
40
|
export declare const getHostingAccountResponseMock: (overrideResponse?: Partial<HostingAccount200>) => HostingAccount200;
|
|
40
41
|
export declare const getActivityLogResponseMock: (overrideResponse?: Partial<ActivityLog200>) => ActivityLog200;
|
|
41
42
|
export declare const getHostingAddonsResponseMock: (overrideResponse?: Partial<HostingAddons200>) => HostingAddons200;
|
|
@@ -209,6 +210,7 @@ export declare const getDomainCertInstallMockHandler: (overrideResponse?: Domain
|
|
|
209
210
|
export declare const getDomainCertUpdateMockHandler: (overrideResponse?: DomainCertUpdate200 | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<DomainCertUpdate200> | DomainCertUpdate200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
210
211
|
export declare const getDomainCertUninstallMockHandler: (overrideResponse?: DomainCertUninstall200 | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<DomainCertUninstall200> | DomainCertUninstall200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
211
212
|
export declare const getDomainUnassignMockHandler: (overrideResponse?: DomainUnassign200 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<DomainUnassign200> | DomainUnassign200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
213
|
+
export declare const getDomainZoneeditorUrlMockHandler: (overrideResponse?: DomainZoneeditorUrl200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<DomainZoneeditorUrl200> | DomainZoneeditorUrl200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
212
214
|
export declare const getHostingAccountMockHandler: (overrideResponse?: HostingAccount200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingAccount200> | HostingAccount200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
213
215
|
export declare const getActivityLogMockHandler: (overrideResponse?: ActivityLog200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ActivityLog200> | ActivityLog200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
|
214
216
|
export declare const getHostingAddonsMockHandler: (overrideResponse?: HostingAddons200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<HostingAddons200> | HostingAddons200) | undefined) => import("msw/lib/core/handlers/HttpHandler").HttpHandler;
|
package/src/index.msw.js
CHANGED
|
@@ -4,7 +4,7 @@ import { __awaiter } from "tslib";
|
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Hosting UAPI
|
|
6
6
|
* Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
|
|
7
|
-
* OpenAPI spec version: 1.
|
|
7
|
+
* OpenAPI spec version: 1.1067.0
|
|
8
8
|
*/
|
|
9
9
|
import { faker } from '@faker-js/faker';
|
|
10
10
|
import { HttpResponse, delay, http } from 'msw';
|
|
@@ -44,6 +44,7 @@ export const getDomainCertInstallResponseMock = (overrideResponse = {}) => (Obje
|
|
|
44
44
|
export const getDomainCertUpdateResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
|
|
45
45
|
export const getDomainCertUninstallResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
|
|
46
46
|
export const getDomainUnassignResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
|
|
47
|
+
export const getDomainZoneeditorUrlResponseMock = (overrideResponse = {}) => (Object.assign({ url: faker.word.sample() }, overrideResponse));
|
|
47
48
|
export const getHostingAccountResponseMock = (overrideResponse = {}) => (Object.assign({ account_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), advanced: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), billing: faker.helpers.arrayElement([{ prod_code: faker.helpers.arrayElement([faker.word.sample(), undefined]), product_name: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, undefined]), brand: faker.helpers.arrayElement([faker.word.sample(), undefined]), id: faker.helpers.arrayElement([faker.word.sample(), undefined]), panel: faker.helpers.arrayElement([faker.word.sample(), undefined]), plan_key: faker.helpers.arrayElement([faker.word.sample(), undefined]), platform: faker.helpers.arrayElement([faker.word.sample(), undefined]), resources: faker.helpers.arrayElement([{ storage: faker.helpers.arrayElement([{ available: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), total: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), unit: faker.helpers.arrayElement([faker.word.sample(), undefined]), used: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]) }, undefined]), workers: faker.helpers.arrayElement([{ available: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), total: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), used: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]) }, undefined]) }, undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]), type: faker.helpers.arrayElement([faker.word.sample(), undefined]), username: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, overrideResponse));
|
|
48
49
|
export const getActivityLogResponseMock = (overrideResponse = {}) => (Object.assign({ activity: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ account_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), addon_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), data: faker.helpers.arrayElement([faker.word.sample(), undefined]), data_entry: faker.helpers.arrayElement([faker.word.sample(), undefined]), domain_id: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), event: faker.helpers.arrayElement([faker.word.sample(), undefined]), site_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]), tenant_id: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]) }, overrideResponse));
|
|
49
50
|
export const getHostingAddonsResponseMock = (overrideResponse = {}) => (Object.assign({ rows: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ back_reference: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), id: faker.helpers.arrayElement([faker.word.sample(), undefined]), meta: faker.helpers.arrayElement([{
|
|
@@ -563,6 +564,16 @@ export const getDomainUnassignMockHandler = (overrideResponse) => {
|
|
|
563
564
|
});
|
|
564
565
|
}));
|
|
565
566
|
};
|
|
567
|
+
export const getDomainZoneeditorUrlMockHandler = (overrideResponse) => {
|
|
568
|
+
return http.get('*/v1/domains/:domainId/zoneeditor-url', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
569
|
+
yield delay(1000);
|
|
570
|
+
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
571
|
+
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
572
|
+
: getDomainZoneeditorUrlResponseMock()), { status: 200,
|
|
573
|
+
headers: { 'Content-Type': 'application/json' }
|
|
574
|
+
});
|
|
575
|
+
}));
|
|
576
|
+
};
|
|
566
577
|
export const getHostingAccountMockHandler = (overrideResponse) => {
|
|
567
578
|
return http.get('*/v1/hosting/:hostingId', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
568
579
|
yield delay(1000);
|
|
@@ -1990,6 +2001,7 @@ export const getHostingUAPIMock = () => [
|
|
|
1990
2001
|
getDomainCertUpdateMockHandler(),
|
|
1991
2002
|
getDomainCertUninstallMockHandler(),
|
|
1992
2003
|
getDomainUnassignMockHandler(),
|
|
2004
|
+
getDomainZoneeditorUrlMockHandler(),
|
|
1993
2005
|
getHostingAccountMockHandler(),
|
|
1994
2006
|
getActivityLogMockHandler(),
|
|
1995
2007
|
getHostingAddonsMockHandler(),
|
package/src/index.schemas.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Hosting UAPI
|
|
5
5
|
* Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.1067.0
|
|
7
7
|
*/
|
|
8
8
|
export declare type SitesListV3200 = {
|
|
9
9
|
items?: SiteInfoResponseModelV2[];
|
|
@@ -863,25 +863,6 @@ export declare type SitesPerformanceCachepurgeBody = {
|
|
|
863
863
|
export declare type SitePendingDomainDelete200 = {
|
|
864
864
|
[key: string]: unknown;
|
|
865
865
|
};
|
|
866
|
-
export declare type SitesMetricDimensions200DimensionsWpAdminAjaxActionItemDimension = {
|
|
867
|
-
[key: string]: number;
|
|
868
|
-
};
|
|
869
|
-
export declare type SitesMetricDimensions200DimensionsWpAdminAjaxActionItem = {
|
|
870
|
-
dimension?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItemDimension;
|
|
871
|
-
timestamp?: number;
|
|
872
|
-
};
|
|
873
|
-
export declare type SitesMetricDimensions200Dimensions = {
|
|
874
|
-
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
875
|
-
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
876
|
-
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
877
|
-
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
878
|
-
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
879
|
-
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
880
|
-
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
881
|
-
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
882
|
-
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
883
|
-
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
884
|
-
};
|
|
885
866
|
export declare type SitesMetricDimensions200 = {
|
|
886
867
|
date_end?: string;
|
|
887
868
|
date_start?: string;
|
|
@@ -889,6 +870,13 @@ export declare type SitesMetricDimensions200 = {
|
|
|
889
870
|
elapsed?: number;
|
|
890
871
|
metric?: string;
|
|
891
872
|
};
|
|
873
|
+
export declare type SitesMetricDimensions200DimensionsWpAdminAjaxActionItemDimension = {
|
|
874
|
+
[key: string]: number;
|
|
875
|
+
};
|
|
876
|
+
export declare type SitesMetricDimensions200DimensionsWpAdminAjaxActionItem = {
|
|
877
|
+
dimension?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItemDimension;
|
|
878
|
+
timestamp?: number;
|
|
879
|
+
};
|
|
892
880
|
export declare type SitesMetricDimensions200DimensionsVisitorIsCrawlerItemDimension = {
|
|
893
881
|
[key: string]: number;
|
|
894
882
|
};
|
|
@@ -952,6 +940,18 @@ export declare type SitesMetricDimensions200DimensionsHttpHostItem = {
|
|
|
952
940
|
dimension?: SitesMetricDimensions200DimensionsHttpHostItemDimension;
|
|
953
941
|
timestamp?: number;
|
|
954
942
|
};
|
|
943
|
+
export declare type SitesMetricDimensions200Dimensions = {
|
|
944
|
+
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
945
|
+
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
946
|
+
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
947
|
+
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
948
|
+
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
949
|
+
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
950
|
+
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
951
|
+
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
952
|
+
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
953
|
+
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
954
|
+
};
|
|
955
955
|
export declare type SitesMetricDimensionsParams = {
|
|
956
956
|
start?: string;
|
|
957
957
|
end?: string;
|
|
@@ -2378,6 +2378,9 @@ export declare type HostingAccount200 = {
|
|
|
2378
2378
|
type?: string;
|
|
2379
2379
|
username?: string;
|
|
2380
2380
|
};
|
|
2381
|
+
export declare type DomainZoneeditorUrl200 = {
|
|
2382
|
+
url: string;
|
|
2383
|
+
};
|
|
2381
2384
|
export declare type DomainUnassign200 = {
|
|
2382
2385
|
[key: string]: unknown;
|
|
2383
2386
|
};
|