changes: Include generated OpenApi files
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { UseMutationOptions, UseMutationResult, QueryClient } from "@tanstack/react-query";
|
||||
import type { DeleteApiServicesAppSplashdashboardserviceDeletedashboardMutationResponse, DeleteApiServicesAppSplashdashboardserviceDeletedashboardQueryParams } from "../types/DeleteApiServicesAppSplashdashboardserviceDeletedashboard.ts";
|
||||
import { mutationOptions, useMutation } from "@tanstack/react-query";
|
||||
|
||||
export const deleteApiServicesAppSplashdashboardserviceDeletedashboardMutationKey = () => [{ url: '/api/services/app/SplashDashboardService/DeleteDashboard' }] as const
|
||||
|
||||
export type DeleteApiServicesAppSplashdashboardserviceDeletedashboardMutationKey = ReturnType<typeof deleteApiServicesAppSplashdashboardserviceDeletedashboardMutationKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashDashboardService/DeleteDashboard}
|
||||
*/
|
||||
export async function deleteApiServicesAppSplashdashboardserviceDeletedashboard(params?: DeleteApiServicesAppSplashdashboardserviceDeletedashboardQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<DeleteApiServicesAppSplashdashboardserviceDeletedashboardMutationResponse, ResponseErrorConfig<Error>, unknown>({ method : "DELETE", url : `/api/services/app/SplashDashboardService/DeleteDashboard`, params, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function deleteApiServicesAppSplashdashboardserviceDeletedashboardMutationOptions(config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const mutationKey = deleteApiServicesAppSplashdashboardserviceDeletedashboardMutationKey()
|
||||
return mutationOptions<DeleteApiServicesAppSplashdashboardserviceDeletedashboardMutationResponse, ResponseErrorConfig<Error>, {params?: DeleteApiServicesAppSplashdashboardserviceDeletedashboardQueryParams}, typeof mutationKey>({
|
||||
mutationKey,
|
||||
mutationFn: async({ params }) => {
|
||||
return deleteApiServicesAppSplashdashboardserviceDeletedashboard(params, config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashDashboardService/DeleteDashboard}
|
||||
*/
|
||||
export function useDeleteApiServicesAppSplashdashboardserviceDeletedashboard<TContext>(options:
|
||||
{
|
||||
mutation?: UseMutationOptions<DeleteApiServicesAppSplashdashboardserviceDeletedashboardMutationResponse, ResponseErrorConfig<Error>, {params?: DeleteApiServicesAppSplashdashboardserviceDeletedashboardQueryParams}, TContext> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch },
|
||||
}
|
||||
= {}) {
|
||||
const { mutation = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...mutationOptions } = mutation;
|
||||
const mutationKey = mutationOptions.mutationKey ?? deleteApiServicesAppSplashdashboardserviceDeletedashboardMutationKey()
|
||||
|
||||
const baseOptions = deleteApiServicesAppSplashdashboardserviceDeletedashboardMutationOptions(config) as UseMutationOptions<DeleteApiServicesAppSplashdashboardserviceDeletedashboardMutationResponse, ResponseErrorConfig<Error>, {params?: DeleteApiServicesAppSplashdashboardserviceDeletedashboardQueryParams}, TContext>
|
||||
|
||||
return useMutation<DeleteApiServicesAppSplashdashboardserviceDeletedashboardMutationResponse, ResponseErrorConfig<Error>, {params?: DeleteApiServicesAppSplashdashboardserviceDeletedashboardQueryParams}, TContext>({
|
||||
...baseOptions,
|
||||
mutationKey,
|
||||
...mutationOptions,
|
||||
}, queryClient) as UseMutationResult<DeleteApiServicesAppSplashdashboardserviceDeletedashboardMutationResponse, ResponseErrorConfig<Error>, {params?: DeleteApiServicesAppSplashdashboardserviceDeletedashboardQueryParams}, TContext>
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { QueryKey, QueryClient, QueryObserverOptions, UseQueryResult } from "@tanstack/react-query";
|
||||
import type { GetApiServicesAppMerakiserviceGethttpserversQueryResponse, GetApiServicesAppMerakiserviceGethttpserversQueryParams } from "../types/GetApiServicesAppMerakiserviceGethttpservers.ts";
|
||||
import { queryOptions, useQuery } from "@tanstack/react-query";
|
||||
|
||||
export const getApiServicesAppMerakiserviceGethttpserversQueryKey = (params?: GetApiServicesAppMerakiserviceGethttpserversQueryParams) => [{ url: '/api/services/app/MerakiService/GetHttpServers' }, ...(params ? [params] : [])] as const
|
||||
|
||||
export type GetApiServicesAppMerakiserviceGethttpserversQueryKey = ReturnType<typeof getApiServicesAppMerakiserviceGethttpserversQueryKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/MerakiService/GetHttpServers}
|
||||
*/
|
||||
export async function getApiServicesAppMerakiserviceGethttpservers(params?: GetApiServicesAppMerakiserviceGethttpserversQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<GetApiServicesAppMerakiserviceGethttpserversQueryResponse, ResponseErrorConfig<Error>, unknown>({ method : "GET", url : `/api/services/app/MerakiService/GetHttpServers`, params, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function getApiServicesAppMerakiserviceGethttpserversQueryOptions(params?: GetApiServicesAppMerakiserviceGethttpserversQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const queryKey = getApiServicesAppMerakiserviceGethttpserversQueryKey(params)
|
||||
return queryOptions<GetApiServicesAppMerakiserviceGethttpserversQueryResponse, ResponseErrorConfig<Error>, GetApiServicesAppMerakiserviceGethttpserversQueryResponse, typeof queryKey>({
|
||||
|
||||
queryKey,
|
||||
queryFn: async ({ signal }) => {
|
||||
config.signal = signal
|
||||
return getApiServicesAppMerakiserviceGethttpservers(params, config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/MerakiService/GetHttpServers}
|
||||
*/
|
||||
export function useGetApiServicesAppMerakiserviceGethttpservers<TData = GetApiServicesAppMerakiserviceGethttpserversQueryResponse, TQueryData = GetApiServicesAppMerakiserviceGethttpserversQueryResponse, TQueryKey extends QueryKey = GetApiServicesAppMerakiserviceGethttpserversQueryKey>(params?: GetApiServicesAppMerakiserviceGethttpserversQueryParams, options:
|
||||
{
|
||||
query?: Partial<QueryObserverOptions<GetApiServicesAppMerakiserviceGethttpserversQueryResponse, ResponseErrorConfig<Error>, TData, TQueryData, TQueryKey>> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch }
|
||||
}
|
||||
= {}) {
|
||||
const { query: queryConfig = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...queryOptions } = queryConfig
|
||||
const queryKey = queryOptions?.queryKey ?? getApiServicesAppMerakiserviceGethttpserversQueryKey(params)
|
||||
|
||||
const query = useQuery({
|
||||
...getApiServicesAppMerakiserviceGethttpserversQueryOptions(params, config),
|
||||
queryKey,
|
||||
...queryOptions
|
||||
} as unknown as QueryObserverOptions, queryClient) as UseQueryResult<TData, ResponseErrorConfig<Error>> & { queryKey: TQueryKey }
|
||||
|
||||
query.queryKey = queryKey as TQueryKey
|
||||
|
||||
return query
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { QueryKey, QueryClient, UseSuspenseQueryOptions, UseSuspenseQueryResult } from "@tanstack/react-query";
|
||||
import type { GetApiServicesAppMerakiserviceGethttpserversQueryResponse, GetApiServicesAppMerakiserviceGethttpserversQueryParams } from "../types/GetApiServicesAppMerakiserviceGethttpservers.ts";
|
||||
import { queryOptions, useSuspenseQuery } from "@tanstack/react-query";
|
||||
|
||||
export const getApiServicesAppMerakiserviceGethttpserversSuspenseQueryKey = (params?: GetApiServicesAppMerakiserviceGethttpserversQueryParams) => [{ url: '/api/services/app/MerakiService/GetHttpServers' }, ...(params ? [params] : [])] as const
|
||||
|
||||
export type GetApiServicesAppMerakiserviceGethttpserversSuspenseQueryKey = ReturnType<typeof getApiServicesAppMerakiserviceGethttpserversSuspenseQueryKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/MerakiService/GetHttpServers}
|
||||
*/
|
||||
export async function getApiServicesAppMerakiserviceGethttpserversSuspense(params?: GetApiServicesAppMerakiserviceGethttpserversQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<GetApiServicesAppMerakiserviceGethttpserversQueryResponse, ResponseErrorConfig<Error>, unknown>({ method : "GET", url : `/api/services/app/MerakiService/GetHttpServers`, params, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function getApiServicesAppMerakiserviceGethttpserversSuspenseQueryOptions(params?: GetApiServicesAppMerakiserviceGethttpserversQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const queryKey = getApiServicesAppMerakiserviceGethttpserversSuspenseQueryKey(params)
|
||||
return queryOptions<GetApiServicesAppMerakiserviceGethttpserversQueryResponse, ResponseErrorConfig<Error>, GetApiServicesAppMerakiserviceGethttpserversQueryResponse, typeof queryKey>({
|
||||
|
||||
queryKey,
|
||||
queryFn: async ({ signal }) => {
|
||||
config.signal = signal
|
||||
return getApiServicesAppMerakiserviceGethttpserversSuspense(params, config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/MerakiService/GetHttpServers}
|
||||
*/
|
||||
export function useGetApiServicesAppMerakiserviceGethttpserversSuspense<TData = GetApiServicesAppMerakiserviceGethttpserversQueryResponse, TQueryKey extends QueryKey = GetApiServicesAppMerakiserviceGethttpserversSuspenseQueryKey>(params?: GetApiServicesAppMerakiserviceGethttpserversQueryParams, options:
|
||||
{
|
||||
query?: Partial<UseSuspenseQueryOptions<GetApiServicesAppMerakiserviceGethttpserversQueryResponse, ResponseErrorConfig<Error>, TData, TQueryKey>> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch }
|
||||
}
|
||||
= {}) {
|
||||
const { query: queryConfig = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...queryOptions } = queryConfig
|
||||
const queryKey = queryOptions?.queryKey ?? getApiServicesAppMerakiserviceGethttpserversSuspenseQueryKey(params)
|
||||
|
||||
const query = useSuspenseQuery({
|
||||
...getApiServicesAppMerakiserviceGethttpserversSuspenseQueryOptions(params, config),
|
||||
queryKey,
|
||||
...queryOptions
|
||||
} as unknown as UseSuspenseQueryOptions, queryClient) as UseSuspenseQueryResult<TData, ResponseErrorConfig<Error>> & { queryKey: TQueryKey }
|
||||
|
||||
query.queryKey = queryKey as TQueryKey
|
||||
|
||||
return query
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { QueryKey, QueryClient, QueryObserverOptions, UseQueryResult } from "@tanstack/react-query";
|
||||
import type { GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryResponse, GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams } from "../types/GetApiServicesAppMerakiserviceGetlocationscanningsettings.ts";
|
||||
import { queryOptions, useQuery } from "@tanstack/react-query";
|
||||
|
||||
export const getApiServicesAppMerakiserviceGetlocationscanningsettingsQueryKey = (params?: GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams) => [{ url: '/api/services/app/MerakiService/GetLocationScanningSettings' }, ...(params ? [params] : [])] as const
|
||||
|
||||
export type GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryKey = ReturnType<typeof getApiServicesAppMerakiserviceGetlocationscanningsettingsQueryKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/MerakiService/GetLocationScanningSettings}
|
||||
*/
|
||||
export async function getApiServicesAppMerakiserviceGetlocationscanningsettings(params?: GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryResponse, ResponseErrorConfig<Error>, unknown>({ method : "GET", url : `/api/services/app/MerakiService/GetLocationScanningSettings`, params, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function getApiServicesAppMerakiserviceGetlocationscanningsettingsQueryOptions(params?: GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const queryKey = getApiServicesAppMerakiserviceGetlocationscanningsettingsQueryKey(params)
|
||||
return queryOptions<GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryResponse, ResponseErrorConfig<Error>, GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryResponse, typeof queryKey>({
|
||||
|
||||
queryKey,
|
||||
queryFn: async ({ signal }) => {
|
||||
config.signal = signal
|
||||
return getApiServicesAppMerakiserviceGetlocationscanningsettings(params, config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/MerakiService/GetLocationScanningSettings}
|
||||
*/
|
||||
export function useGetApiServicesAppMerakiserviceGetlocationscanningsettings<TData = GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryResponse, TQueryData = GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryResponse, TQueryKey extends QueryKey = GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryKey>(params?: GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams, options:
|
||||
{
|
||||
query?: Partial<QueryObserverOptions<GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryResponse, ResponseErrorConfig<Error>, TData, TQueryData, TQueryKey>> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch }
|
||||
}
|
||||
= {}) {
|
||||
const { query: queryConfig = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...queryOptions } = queryConfig
|
||||
const queryKey = queryOptions?.queryKey ?? getApiServicesAppMerakiserviceGetlocationscanningsettingsQueryKey(params)
|
||||
|
||||
const query = useQuery({
|
||||
...getApiServicesAppMerakiserviceGetlocationscanningsettingsQueryOptions(params, config),
|
||||
queryKey,
|
||||
...queryOptions
|
||||
} as unknown as QueryObserverOptions, queryClient) as UseQueryResult<TData, ResponseErrorConfig<Error>> & { queryKey: TQueryKey }
|
||||
|
||||
query.queryKey = queryKey as TQueryKey
|
||||
|
||||
return query
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { QueryKey, QueryClient, UseSuspenseQueryOptions, UseSuspenseQueryResult } from "@tanstack/react-query";
|
||||
import type { GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryResponse, GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams } from "../types/GetApiServicesAppMerakiserviceGetlocationscanningsettings.ts";
|
||||
import { queryOptions, useSuspenseQuery } from "@tanstack/react-query";
|
||||
|
||||
export const getApiServicesAppMerakiserviceGetlocationscanningsettingsSuspenseQueryKey = (params?: GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams) => [{ url: '/api/services/app/MerakiService/GetLocationScanningSettings' }, ...(params ? [params] : [])] as const
|
||||
|
||||
export type GetApiServicesAppMerakiserviceGetlocationscanningsettingsSuspenseQueryKey = ReturnType<typeof getApiServicesAppMerakiserviceGetlocationscanningsettingsSuspenseQueryKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/MerakiService/GetLocationScanningSettings}
|
||||
*/
|
||||
export async function getApiServicesAppMerakiserviceGetlocationscanningsettingsSuspense(params?: GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryResponse, ResponseErrorConfig<Error>, unknown>({ method : "GET", url : `/api/services/app/MerakiService/GetLocationScanningSettings`, params, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function getApiServicesAppMerakiserviceGetlocationscanningsettingsSuspenseQueryOptions(params?: GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const queryKey = getApiServicesAppMerakiserviceGetlocationscanningsettingsSuspenseQueryKey(params)
|
||||
return queryOptions<GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryResponse, ResponseErrorConfig<Error>, GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryResponse, typeof queryKey>({
|
||||
|
||||
queryKey,
|
||||
queryFn: async ({ signal }) => {
|
||||
config.signal = signal
|
||||
return getApiServicesAppMerakiserviceGetlocationscanningsettingsSuspense(params, config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/MerakiService/GetLocationScanningSettings}
|
||||
*/
|
||||
export function useGetApiServicesAppMerakiserviceGetlocationscanningsettingsSuspense<TData = GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryResponse, TQueryKey extends QueryKey = GetApiServicesAppMerakiserviceGetlocationscanningsettingsSuspenseQueryKey>(params?: GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams, options:
|
||||
{
|
||||
query?: Partial<UseSuspenseQueryOptions<GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryResponse, ResponseErrorConfig<Error>, TData, TQueryKey>> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch }
|
||||
}
|
||||
= {}) {
|
||||
const { query: queryConfig = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...queryOptions } = queryConfig
|
||||
const queryKey = queryOptions?.queryKey ?? getApiServicesAppMerakiserviceGetlocationscanningsettingsSuspenseQueryKey(params)
|
||||
|
||||
const query = useSuspenseQuery({
|
||||
...getApiServicesAppMerakiserviceGetlocationscanningsettingsSuspenseQueryOptions(params, config),
|
||||
queryKey,
|
||||
...queryOptions
|
||||
} as unknown as UseSuspenseQueryOptions, queryClient) as UseSuspenseQueryResult<TData, ResponseErrorConfig<Error>> & { queryKey: TQueryKey }
|
||||
|
||||
query.queryKey = queryKey as TQueryKey
|
||||
|
||||
return query
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { QueryKey, QueryClient, QueryObserverOptions, UseQueryResult } from "@tanstack/react-query";
|
||||
import type { GetApiServicesAppSplashlocationscanningGetQueryResponse, GetApiServicesAppSplashlocationscanningGetQueryParams } from "../types/GetApiServicesAppSplashlocationscanningGet.ts";
|
||||
import { queryOptions, useQuery } from "@tanstack/react-query";
|
||||
|
||||
export const getApiServicesAppSplashlocationscanningGetQueryKey = (params?: GetApiServicesAppSplashlocationscanningGetQueryParams) => [{ url: '/api/services/app/SplashLocationScanning/Get' }, ...(params ? [params] : [])] as const
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetQueryKey = ReturnType<typeof getApiServicesAppSplashlocationscanningGetQueryKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/Get}
|
||||
*/
|
||||
export async function getApiServicesAppSplashlocationscanningGet(params?: GetApiServicesAppSplashlocationscanningGetQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<GetApiServicesAppSplashlocationscanningGetQueryResponse, ResponseErrorConfig<Error>, unknown>({ method : "GET", url : `/api/services/app/SplashLocationScanning/Get`, params, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function getApiServicesAppSplashlocationscanningGetQueryOptions(params?: GetApiServicesAppSplashlocationscanningGetQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const queryKey = getApiServicesAppSplashlocationscanningGetQueryKey(params)
|
||||
return queryOptions<GetApiServicesAppSplashlocationscanningGetQueryResponse, ResponseErrorConfig<Error>, GetApiServicesAppSplashlocationscanningGetQueryResponse, typeof queryKey>({
|
||||
|
||||
queryKey,
|
||||
queryFn: async ({ signal }) => {
|
||||
config.signal = signal
|
||||
return getApiServicesAppSplashlocationscanningGet(params, config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/Get}
|
||||
*/
|
||||
export function useGetApiServicesAppSplashlocationscanningGet<TData = GetApiServicesAppSplashlocationscanningGetQueryResponse, TQueryData = GetApiServicesAppSplashlocationscanningGetQueryResponse, TQueryKey extends QueryKey = GetApiServicesAppSplashlocationscanningGetQueryKey>(params?: GetApiServicesAppSplashlocationscanningGetQueryParams, options:
|
||||
{
|
||||
query?: Partial<QueryObserverOptions<GetApiServicesAppSplashlocationscanningGetQueryResponse, ResponseErrorConfig<Error>, TData, TQueryData, TQueryKey>> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch }
|
||||
}
|
||||
= {}) {
|
||||
const { query: queryConfig = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...queryOptions } = queryConfig
|
||||
const queryKey = queryOptions?.queryKey ?? getApiServicesAppSplashlocationscanningGetQueryKey(params)
|
||||
|
||||
const query = useQuery({
|
||||
...getApiServicesAppSplashlocationscanningGetQueryOptions(params, config),
|
||||
queryKey,
|
||||
...queryOptions
|
||||
} as unknown as QueryObserverOptions, queryClient) as UseQueryResult<TData, ResponseErrorConfig<Error>> & { queryKey: TQueryKey }
|
||||
|
||||
query.queryKey = queryKey as TQueryKey
|
||||
|
||||
return query
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { QueryKey, QueryClient, UseSuspenseQueryOptions, UseSuspenseQueryResult } from "@tanstack/react-query";
|
||||
import type { GetApiServicesAppSplashlocationscanningGetQueryResponse, GetApiServicesAppSplashlocationscanningGetQueryParams } from "../types/GetApiServicesAppSplashlocationscanningGet.ts";
|
||||
import { queryOptions, useSuspenseQuery } from "@tanstack/react-query";
|
||||
|
||||
export const getApiServicesAppSplashlocationscanningGetSuspenseQueryKey = (params?: GetApiServicesAppSplashlocationscanningGetQueryParams) => [{ url: '/api/services/app/SplashLocationScanning/Get' }, ...(params ? [params] : [])] as const
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetSuspenseQueryKey = ReturnType<typeof getApiServicesAppSplashlocationscanningGetSuspenseQueryKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/Get}
|
||||
*/
|
||||
export async function getApiServicesAppSplashlocationscanningGetSuspense(params?: GetApiServicesAppSplashlocationscanningGetQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<GetApiServicesAppSplashlocationscanningGetQueryResponse, ResponseErrorConfig<Error>, unknown>({ method : "GET", url : `/api/services/app/SplashLocationScanning/Get`, params, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function getApiServicesAppSplashlocationscanningGetSuspenseQueryOptions(params?: GetApiServicesAppSplashlocationscanningGetQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const queryKey = getApiServicesAppSplashlocationscanningGetSuspenseQueryKey(params)
|
||||
return queryOptions<GetApiServicesAppSplashlocationscanningGetQueryResponse, ResponseErrorConfig<Error>, GetApiServicesAppSplashlocationscanningGetQueryResponse, typeof queryKey>({
|
||||
|
||||
queryKey,
|
||||
queryFn: async ({ signal }) => {
|
||||
config.signal = signal
|
||||
return getApiServicesAppSplashlocationscanningGetSuspense(params, config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/Get}
|
||||
*/
|
||||
export function useGetApiServicesAppSplashlocationscanningGetSuspense<TData = GetApiServicesAppSplashlocationscanningGetQueryResponse, TQueryKey extends QueryKey = GetApiServicesAppSplashlocationscanningGetSuspenseQueryKey>(params?: GetApiServicesAppSplashlocationscanningGetQueryParams, options:
|
||||
{
|
||||
query?: Partial<UseSuspenseQueryOptions<GetApiServicesAppSplashlocationscanningGetQueryResponse, ResponseErrorConfig<Error>, TData, TQueryKey>> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch }
|
||||
}
|
||||
= {}) {
|
||||
const { query: queryConfig = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...queryOptions } = queryConfig
|
||||
const queryKey = queryOptions?.queryKey ?? getApiServicesAppSplashlocationscanningGetSuspenseQueryKey(params)
|
||||
|
||||
const query = useSuspenseQuery({
|
||||
...getApiServicesAppSplashlocationscanningGetSuspenseQueryOptions(params, config),
|
||||
queryKey,
|
||||
...queryOptions
|
||||
} as unknown as UseSuspenseQueryOptions, queryClient) as UseSuspenseQueryResult<TData, ResponseErrorConfig<Error>> & { queryKey: TQueryKey }
|
||||
|
||||
query.queryKey = queryKey as TQueryKey
|
||||
|
||||
return query
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { QueryKey, QueryClient, QueryObserverOptions, UseQueryResult } from "@tanstack/react-query";
|
||||
import type { GetApiServicesAppSplashlocationscanningGetallQueryResponse, GetApiServicesAppSplashlocationscanningGetallQueryParams } from "../types/GetApiServicesAppSplashlocationscanningGetall.ts";
|
||||
import { queryOptions, useQuery } from "@tanstack/react-query";
|
||||
|
||||
export const getApiServicesAppSplashlocationscanningGetallQueryKey = (params?: GetApiServicesAppSplashlocationscanningGetallQueryParams) => [{ url: '/api/services/app/SplashLocationScanning/GetAll' }, ...(params ? [params] : [])] as const
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetallQueryKey = ReturnType<typeof getApiServicesAppSplashlocationscanningGetallQueryKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/GetAll}
|
||||
*/
|
||||
export async function getApiServicesAppSplashlocationscanningGetall(params?: GetApiServicesAppSplashlocationscanningGetallQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<GetApiServicesAppSplashlocationscanningGetallQueryResponse, ResponseErrorConfig<Error>, unknown>({ method : "GET", url : `/api/services/app/SplashLocationScanning/GetAll`, params, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function getApiServicesAppSplashlocationscanningGetallQueryOptions(params?: GetApiServicesAppSplashlocationscanningGetallQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const queryKey = getApiServicesAppSplashlocationscanningGetallQueryKey(params)
|
||||
return queryOptions<GetApiServicesAppSplashlocationscanningGetallQueryResponse, ResponseErrorConfig<Error>, GetApiServicesAppSplashlocationscanningGetallQueryResponse, typeof queryKey>({
|
||||
|
||||
queryKey,
|
||||
queryFn: async ({ signal }) => {
|
||||
config.signal = signal
|
||||
return getApiServicesAppSplashlocationscanningGetall(params, config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/GetAll}
|
||||
*/
|
||||
export function useGetApiServicesAppSplashlocationscanningGetall<TData = GetApiServicesAppSplashlocationscanningGetallQueryResponse, TQueryData = GetApiServicesAppSplashlocationscanningGetallQueryResponse, TQueryKey extends QueryKey = GetApiServicesAppSplashlocationscanningGetallQueryKey>(params?: GetApiServicesAppSplashlocationscanningGetallQueryParams, options:
|
||||
{
|
||||
query?: Partial<QueryObserverOptions<GetApiServicesAppSplashlocationscanningGetallQueryResponse, ResponseErrorConfig<Error>, TData, TQueryData, TQueryKey>> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch }
|
||||
}
|
||||
= {}) {
|
||||
const { query: queryConfig = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...queryOptions } = queryConfig
|
||||
const queryKey = queryOptions?.queryKey ?? getApiServicesAppSplashlocationscanningGetallQueryKey(params)
|
||||
|
||||
const query = useQuery({
|
||||
...getApiServicesAppSplashlocationscanningGetallQueryOptions(params, config),
|
||||
queryKey,
|
||||
...queryOptions
|
||||
} as unknown as QueryObserverOptions, queryClient) as UseQueryResult<TData, ResponseErrorConfig<Error>> & { queryKey: TQueryKey }
|
||||
|
||||
query.queryKey = queryKey as TQueryKey
|
||||
|
||||
return query
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { QueryKey, QueryClient, UseSuspenseQueryOptions, UseSuspenseQueryResult } from "@tanstack/react-query";
|
||||
import type { GetApiServicesAppSplashlocationscanningGetallQueryResponse, GetApiServicesAppSplashlocationscanningGetallQueryParams } from "../types/GetApiServicesAppSplashlocationscanningGetall.ts";
|
||||
import { queryOptions, useSuspenseQuery } from "@tanstack/react-query";
|
||||
|
||||
export const getApiServicesAppSplashlocationscanningGetallSuspenseQueryKey = (params?: GetApiServicesAppSplashlocationscanningGetallQueryParams) => [{ url: '/api/services/app/SplashLocationScanning/GetAll' }, ...(params ? [params] : [])] as const
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetallSuspenseQueryKey = ReturnType<typeof getApiServicesAppSplashlocationscanningGetallSuspenseQueryKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/GetAll}
|
||||
*/
|
||||
export async function getApiServicesAppSplashlocationscanningGetallSuspense(params?: GetApiServicesAppSplashlocationscanningGetallQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<GetApiServicesAppSplashlocationscanningGetallQueryResponse, ResponseErrorConfig<Error>, unknown>({ method : "GET", url : `/api/services/app/SplashLocationScanning/GetAll`, params, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function getApiServicesAppSplashlocationscanningGetallSuspenseQueryOptions(params?: GetApiServicesAppSplashlocationscanningGetallQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const queryKey = getApiServicesAppSplashlocationscanningGetallSuspenseQueryKey(params)
|
||||
return queryOptions<GetApiServicesAppSplashlocationscanningGetallQueryResponse, ResponseErrorConfig<Error>, GetApiServicesAppSplashlocationscanningGetallQueryResponse, typeof queryKey>({
|
||||
|
||||
queryKey,
|
||||
queryFn: async ({ signal }) => {
|
||||
config.signal = signal
|
||||
return getApiServicesAppSplashlocationscanningGetallSuspense(params, config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/GetAll}
|
||||
*/
|
||||
export function useGetApiServicesAppSplashlocationscanningGetallSuspense<TData = GetApiServicesAppSplashlocationscanningGetallQueryResponse, TQueryKey extends QueryKey = GetApiServicesAppSplashlocationscanningGetallSuspenseQueryKey>(params?: GetApiServicesAppSplashlocationscanningGetallQueryParams, options:
|
||||
{
|
||||
query?: Partial<UseSuspenseQueryOptions<GetApiServicesAppSplashlocationscanningGetallQueryResponse, ResponseErrorConfig<Error>, TData, TQueryKey>> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch }
|
||||
}
|
||||
= {}) {
|
||||
const { query: queryConfig = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...queryOptions } = queryConfig
|
||||
const queryKey = queryOptions?.queryKey ?? getApiServicesAppSplashlocationscanningGetallSuspenseQueryKey(params)
|
||||
|
||||
const query = useSuspenseQuery({
|
||||
...getApiServicesAppSplashlocationscanningGetallSuspenseQueryOptions(params, config),
|
||||
queryKey,
|
||||
...queryOptions
|
||||
} as unknown as UseSuspenseQueryOptions, queryClient) as UseSuspenseQueryResult<TData, ResponseErrorConfig<Error>> & { queryKey: TQueryKey }
|
||||
|
||||
query.queryKey = queryKey as TQueryKey
|
||||
|
||||
return query
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { QueryKey, QueryClient, QueryObserverOptions, UseQueryResult } from "@tanstack/react-query";
|
||||
import type { GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryResponse } from "../types/GetApiServicesAppSplashlocationscanningGetallwithnetworkinfo.ts";
|
||||
import { queryOptions, useQuery } from "@tanstack/react-query";
|
||||
|
||||
export const getApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryKey = () => [{ url: '/api/services/app/SplashLocationScanning/GetAllWithNetworkInfo' }] as const
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryKey = ReturnType<typeof getApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/GetAllWithNetworkInfo}
|
||||
*/
|
||||
export async function getApiServicesAppSplashlocationscanningGetallwithnetworkinfo(config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryResponse, ResponseErrorConfig<Error>, unknown>({ method : "GET", url : `/api/services/app/SplashLocationScanning/GetAllWithNetworkInfo`, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function getApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryOptions(config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const queryKey = getApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryKey()
|
||||
return queryOptions<GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryResponse, ResponseErrorConfig<Error>, GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryResponse, typeof queryKey>({
|
||||
|
||||
queryKey,
|
||||
queryFn: async ({ signal }) => {
|
||||
config.signal = signal
|
||||
return getApiServicesAppSplashlocationscanningGetallwithnetworkinfo(config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/GetAllWithNetworkInfo}
|
||||
*/
|
||||
export function useGetApiServicesAppSplashlocationscanningGetallwithnetworkinfo<TData = GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryResponse, TQueryData = GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryResponse, TQueryKey extends QueryKey = GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryKey>(options:
|
||||
{
|
||||
query?: Partial<QueryObserverOptions<GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryResponse, ResponseErrorConfig<Error>, TData, TQueryData, TQueryKey>> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch }
|
||||
}
|
||||
= {}) {
|
||||
const { query: queryConfig = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...queryOptions } = queryConfig
|
||||
const queryKey = queryOptions?.queryKey ?? getApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryKey()
|
||||
|
||||
const query = useQuery({
|
||||
...getApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryOptions(config),
|
||||
queryKey,
|
||||
...queryOptions
|
||||
} as unknown as QueryObserverOptions, queryClient) as UseQueryResult<TData, ResponseErrorConfig<Error>> & { queryKey: TQueryKey }
|
||||
|
||||
query.queryKey = queryKey as TQueryKey
|
||||
|
||||
return query
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { QueryKey, QueryClient, UseSuspenseQueryOptions, UseSuspenseQueryResult } from "@tanstack/react-query";
|
||||
import type { GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryResponse } from "../types/GetApiServicesAppSplashlocationscanningGetallwithnetworkinfo.ts";
|
||||
import { queryOptions, useSuspenseQuery } from "@tanstack/react-query";
|
||||
|
||||
export const getApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspenseQueryKey = () => [{ url: '/api/services/app/SplashLocationScanning/GetAllWithNetworkInfo' }] as const
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspenseQueryKey = ReturnType<typeof getApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspenseQueryKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/GetAllWithNetworkInfo}
|
||||
*/
|
||||
export async function getApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspense(config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryResponse, ResponseErrorConfig<Error>, unknown>({ method : "GET", url : `/api/services/app/SplashLocationScanning/GetAllWithNetworkInfo`, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function getApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspenseQueryOptions(config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const queryKey = getApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspenseQueryKey()
|
||||
return queryOptions<GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryResponse, ResponseErrorConfig<Error>, GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryResponse, typeof queryKey>({
|
||||
|
||||
queryKey,
|
||||
queryFn: async ({ signal }) => {
|
||||
config.signal = signal
|
||||
return getApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspense(config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/GetAllWithNetworkInfo}
|
||||
*/
|
||||
export function useGetApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspense<TData = GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryResponse, TQueryKey extends QueryKey = GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspenseQueryKey>(options:
|
||||
{
|
||||
query?: Partial<UseSuspenseQueryOptions<GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryResponse, ResponseErrorConfig<Error>, TData, TQueryKey>> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch }
|
||||
}
|
||||
= {}) {
|
||||
const { query: queryConfig = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...queryOptions } = queryConfig
|
||||
const queryKey = queryOptions?.queryKey ?? getApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspenseQueryKey()
|
||||
|
||||
const query = useSuspenseQuery({
|
||||
...getApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspenseQueryOptions(config),
|
||||
queryKey,
|
||||
...queryOptions
|
||||
} as unknown as UseSuspenseQueryOptions, queryClient) as UseSuspenseQueryResult<TData, ResponseErrorConfig<Error>> & { queryKey: TQueryKey }
|
||||
|
||||
query.queryKey = queryKey as TQueryKey
|
||||
|
||||
return query
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { QueryKey, QueryClient, QueryObserverOptions, UseQueryResult } from "@tanstack/react-query";
|
||||
import type { GetApiServicesAppSplashlocationscanningGetstatisticsQueryResponse } from "../types/GetApiServicesAppSplashlocationscanningGetstatistics.ts";
|
||||
import { queryOptions, useQuery } from "@tanstack/react-query";
|
||||
|
||||
export const getApiServicesAppSplashlocationscanningGetstatisticsQueryKey = () => [{ url: '/api/services/app/SplashLocationScanning/GetStatistics' }] as const
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetstatisticsQueryKey = ReturnType<typeof getApiServicesAppSplashlocationscanningGetstatisticsQueryKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/GetStatistics}
|
||||
*/
|
||||
export async function getApiServicesAppSplashlocationscanningGetstatistics(config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<GetApiServicesAppSplashlocationscanningGetstatisticsQueryResponse, ResponseErrorConfig<Error>, unknown>({ method : "GET", url : `/api/services/app/SplashLocationScanning/GetStatistics`, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function getApiServicesAppSplashlocationscanningGetstatisticsQueryOptions(config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const queryKey = getApiServicesAppSplashlocationscanningGetstatisticsQueryKey()
|
||||
return queryOptions<GetApiServicesAppSplashlocationscanningGetstatisticsQueryResponse, ResponseErrorConfig<Error>, GetApiServicesAppSplashlocationscanningGetstatisticsQueryResponse, typeof queryKey>({
|
||||
|
||||
queryKey,
|
||||
queryFn: async ({ signal }) => {
|
||||
config.signal = signal
|
||||
return getApiServicesAppSplashlocationscanningGetstatistics(config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/GetStatistics}
|
||||
*/
|
||||
export function useGetApiServicesAppSplashlocationscanningGetstatistics<TData = GetApiServicesAppSplashlocationscanningGetstatisticsQueryResponse, TQueryData = GetApiServicesAppSplashlocationscanningGetstatisticsQueryResponse, TQueryKey extends QueryKey = GetApiServicesAppSplashlocationscanningGetstatisticsQueryKey>(options:
|
||||
{
|
||||
query?: Partial<QueryObserverOptions<GetApiServicesAppSplashlocationscanningGetstatisticsQueryResponse, ResponseErrorConfig<Error>, TData, TQueryData, TQueryKey>> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch }
|
||||
}
|
||||
= {}) {
|
||||
const { query: queryConfig = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...queryOptions } = queryConfig
|
||||
const queryKey = queryOptions?.queryKey ?? getApiServicesAppSplashlocationscanningGetstatisticsQueryKey()
|
||||
|
||||
const query = useQuery({
|
||||
...getApiServicesAppSplashlocationscanningGetstatisticsQueryOptions(config),
|
||||
queryKey,
|
||||
...queryOptions
|
||||
} as unknown as QueryObserverOptions, queryClient) as UseQueryResult<TData, ResponseErrorConfig<Error>> & { queryKey: TQueryKey }
|
||||
|
||||
query.queryKey = queryKey as TQueryKey
|
||||
|
||||
return query
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { QueryKey, QueryClient, UseSuspenseQueryOptions, UseSuspenseQueryResult } from "@tanstack/react-query";
|
||||
import type { GetApiServicesAppSplashlocationscanningGetstatisticsQueryResponse } from "../types/GetApiServicesAppSplashlocationscanningGetstatistics.ts";
|
||||
import { queryOptions, useSuspenseQuery } from "@tanstack/react-query";
|
||||
|
||||
export const getApiServicesAppSplashlocationscanningGetstatisticsSuspenseQueryKey = () => [{ url: '/api/services/app/SplashLocationScanning/GetStatistics' }] as const
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetstatisticsSuspenseQueryKey = ReturnType<typeof getApiServicesAppSplashlocationscanningGetstatisticsSuspenseQueryKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/GetStatistics}
|
||||
*/
|
||||
export async function getApiServicesAppSplashlocationscanningGetstatisticsSuspense(config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<GetApiServicesAppSplashlocationscanningGetstatisticsQueryResponse, ResponseErrorConfig<Error>, unknown>({ method : "GET", url : `/api/services/app/SplashLocationScanning/GetStatistics`, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function getApiServicesAppSplashlocationscanningGetstatisticsSuspenseQueryOptions(config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const queryKey = getApiServicesAppSplashlocationscanningGetstatisticsSuspenseQueryKey()
|
||||
return queryOptions<GetApiServicesAppSplashlocationscanningGetstatisticsQueryResponse, ResponseErrorConfig<Error>, GetApiServicesAppSplashlocationscanningGetstatisticsQueryResponse, typeof queryKey>({
|
||||
|
||||
queryKey,
|
||||
queryFn: async ({ signal }) => {
|
||||
config.signal = signal
|
||||
return getApiServicesAppSplashlocationscanningGetstatisticsSuspense(config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/GetStatistics}
|
||||
*/
|
||||
export function useGetApiServicesAppSplashlocationscanningGetstatisticsSuspense<TData = GetApiServicesAppSplashlocationscanningGetstatisticsQueryResponse, TQueryKey extends QueryKey = GetApiServicesAppSplashlocationscanningGetstatisticsSuspenseQueryKey>(options:
|
||||
{
|
||||
query?: Partial<UseSuspenseQueryOptions<GetApiServicesAppSplashlocationscanningGetstatisticsQueryResponse, ResponseErrorConfig<Error>, TData, TQueryKey>> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch }
|
||||
}
|
||||
= {}) {
|
||||
const { query: queryConfig = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...queryOptions } = queryConfig
|
||||
const queryKey = queryOptions?.queryKey ?? getApiServicesAppSplashlocationscanningGetstatisticsSuspenseQueryKey()
|
||||
|
||||
const query = useSuspenseQuery({
|
||||
...getApiServicesAppSplashlocationscanningGetstatisticsSuspenseQueryOptions(config),
|
||||
queryKey,
|
||||
...queryOptions
|
||||
} as unknown as UseSuspenseQueryOptions, queryClient) as UseSuspenseQueryResult<TData, ResponseErrorConfig<Error>> & { queryKey: TQueryKey }
|
||||
|
||||
query.queryKey = queryKey as TQueryKey
|
||||
|
||||
return query
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { UseMutationOptions, UseMutationResult, QueryClient } from "@tanstack/react-query";
|
||||
import type { PostApiServicesAppLocationscanningserviceConfigureMutationResponse, PostApiServicesAppLocationscanningserviceConfigureQueryParams } from "../types/PostApiServicesAppLocationscanningserviceConfigure.ts";
|
||||
import { mutationOptions, useMutation } from "@tanstack/react-query";
|
||||
|
||||
export const postApiServicesAppLocationscanningserviceConfigureMutationKey = () => [{ url: '/api/services/app/LocationScanningService/Configure' }] as const
|
||||
|
||||
export type PostApiServicesAppLocationscanningserviceConfigureMutationKey = ReturnType<typeof postApiServicesAppLocationscanningserviceConfigureMutationKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/LocationScanningService/Configure}
|
||||
*/
|
||||
export async function postApiServicesAppLocationscanningserviceConfigure(params?: PostApiServicesAppLocationscanningserviceConfigureQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<PostApiServicesAppLocationscanningserviceConfigureMutationResponse, ResponseErrorConfig<Error>, unknown>({ method : "POST", url : `/api/services/app/LocationScanningService/Configure`, params, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function postApiServicesAppLocationscanningserviceConfigureMutationOptions(config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const mutationKey = postApiServicesAppLocationscanningserviceConfigureMutationKey()
|
||||
return mutationOptions<PostApiServicesAppLocationscanningserviceConfigureMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppLocationscanningserviceConfigureQueryParams}, typeof mutationKey>({
|
||||
mutationKey,
|
||||
mutationFn: async({ params }) => {
|
||||
return postApiServicesAppLocationscanningserviceConfigure(params, config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/LocationScanningService/Configure}
|
||||
*/
|
||||
export function usePostApiServicesAppLocationscanningserviceConfigure<TContext>(options:
|
||||
{
|
||||
mutation?: UseMutationOptions<PostApiServicesAppLocationscanningserviceConfigureMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppLocationscanningserviceConfigureQueryParams}, TContext> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch },
|
||||
}
|
||||
= {}) {
|
||||
const { mutation = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...mutationOptions } = mutation;
|
||||
const mutationKey = mutationOptions.mutationKey ?? postApiServicesAppLocationscanningserviceConfigureMutationKey()
|
||||
|
||||
const baseOptions = postApiServicesAppLocationscanningserviceConfigureMutationOptions(config) as UseMutationOptions<PostApiServicesAppLocationscanningserviceConfigureMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppLocationscanningserviceConfigureQueryParams}, TContext>
|
||||
|
||||
return useMutation<PostApiServicesAppLocationscanningserviceConfigureMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppLocationscanningserviceConfigureQueryParams}, TContext>({
|
||||
...baseOptions,
|
||||
mutationKey,
|
||||
...mutationOptions,
|
||||
}, queryClient) as UseMutationResult<PostApiServicesAppLocationscanningserviceConfigureMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppLocationscanningserviceConfigureQueryParams}, TContext>
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { UseMutationOptions, UseMutationResult, QueryClient } from "@tanstack/react-query";
|
||||
import type { PostApiServicesAppMerakiserviceConfigurehttpserversMutationResponse, PostApiServicesAppMerakiserviceConfigurehttpserversQueryParams } from "../types/PostApiServicesAppMerakiserviceConfigurehttpservers.ts";
|
||||
import { mutationOptions, useMutation } from "@tanstack/react-query";
|
||||
|
||||
export const postApiServicesAppMerakiserviceConfigurehttpserversMutationKey = () => [{ url: '/api/services/app/MerakiService/ConfigureHttpServers' }] as const
|
||||
|
||||
export type PostApiServicesAppMerakiserviceConfigurehttpserversMutationKey = ReturnType<typeof postApiServicesAppMerakiserviceConfigurehttpserversMutationKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/MerakiService/ConfigureHttpServers}
|
||||
*/
|
||||
export async function postApiServicesAppMerakiserviceConfigurehttpservers(params?: PostApiServicesAppMerakiserviceConfigurehttpserversQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<PostApiServicesAppMerakiserviceConfigurehttpserversMutationResponse, ResponseErrorConfig<Error>, unknown>({ method : "POST", url : `/api/services/app/MerakiService/ConfigureHttpServers`, params, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function postApiServicesAppMerakiserviceConfigurehttpserversMutationOptions(config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const mutationKey = postApiServicesAppMerakiserviceConfigurehttpserversMutationKey()
|
||||
return mutationOptions<PostApiServicesAppMerakiserviceConfigurehttpserversMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppMerakiserviceConfigurehttpserversQueryParams}, typeof mutationKey>({
|
||||
mutationKey,
|
||||
mutationFn: async({ params }) => {
|
||||
return postApiServicesAppMerakiserviceConfigurehttpservers(params, config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/MerakiService/ConfigureHttpServers}
|
||||
*/
|
||||
export function usePostApiServicesAppMerakiserviceConfigurehttpservers<TContext>(options:
|
||||
{
|
||||
mutation?: UseMutationOptions<PostApiServicesAppMerakiserviceConfigurehttpserversMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppMerakiserviceConfigurehttpserversQueryParams}, TContext> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch },
|
||||
}
|
||||
= {}) {
|
||||
const { mutation = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...mutationOptions } = mutation;
|
||||
const mutationKey = mutationOptions.mutationKey ?? postApiServicesAppMerakiserviceConfigurehttpserversMutationKey()
|
||||
|
||||
const baseOptions = postApiServicesAppMerakiserviceConfigurehttpserversMutationOptions(config) as UseMutationOptions<PostApiServicesAppMerakiserviceConfigurehttpserversMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppMerakiserviceConfigurehttpserversQueryParams}, TContext>
|
||||
|
||||
return useMutation<PostApiServicesAppMerakiserviceConfigurehttpserversMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppMerakiserviceConfigurehttpserversQueryParams}, TContext>({
|
||||
...baseOptions,
|
||||
mutationKey,
|
||||
...mutationOptions,
|
||||
}, queryClient) as UseMutationResult<PostApiServicesAppMerakiserviceConfigurehttpserversMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppMerakiserviceConfigurehttpserversQueryParams}, TContext>
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { UseMutationOptions, UseMutationResult, QueryClient } from "@tanstack/react-query";
|
||||
import type { PostApiServicesAppMerakiserviceConfigurelocationscanningMutationResponse, PostApiServicesAppMerakiserviceConfigurelocationscanningQueryParams } from "../types/PostApiServicesAppMerakiserviceConfigurelocationscanning.ts";
|
||||
import { mutationOptions, useMutation } from "@tanstack/react-query";
|
||||
|
||||
export const postApiServicesAppMerakiserviceConfigurelocationscanningMutationKey = () => [{ url: '/api/services/app/MerakiService/ConfigureLocationScanning' }] as const
|
||||
|
||||
export type PostApiServicesAppMerakiserviceConfigurelocationscanningMutationKey = ReturnType<typeof postApiServicesAppMerakiserviceConfigurelocationscanningMutationKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/MerakiService/ConfigureLocationScanning}
|
||||
*/
|
||||
export async function postApiServicesAppMerakiserviceConfigurelocationscanning(params?: PostApiServicesAppMerakiserviceConfigurelocationscanningQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<PostApiServicesAppMerakiserviceConfigurelocationscanningMutationResponse, ResponseErrorConfig<Error>, unknown>({ method : "POST", url : `/api/services/app/MerakiService/ConfigureLocationScanning`, params, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function postApiServicesAppMerakiserviceConfigurelocationscanningMutationOptions(config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const mutationKey = postApiServicesAppMerakiserviceConfigurelocationscanningMutationKey()
|
||||
return mutationOptions<PostApiServicesAppMerakiserviceConfigurelocationscanningMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppMerakiserviceConfigurelocationscanningQueryParams}, typeof mutationKey>({
|
||||
mutationKey,
|
||||
mutationFn: async({ params }) => {
|
||||
return postApiServicesAppMerakiserviceConfigurelocationscanning(params, config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/MerakiService/ConfigureLocationScanning}
|
||||
*/
|
||||
export function usePostApiServicesAppMerakiserviceConfigurelocationscanning<TContext>(options:
|
||||
{
|
||||
mutation?: UseMutationOptions<PostApiServicesAppMerakiserviceConfigurelocationscanningMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppMerakiserviceConfigurelocationscanningQueryParams}, TContext> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch },
|
||||
}
|
||||
= {}) {
|
||||
const { mutation = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...mutationOptions } = mutation;
|
||||
const mutationKey = mutationOptions.mutationKey ?? postApiServicesAppMerakiserviceConfigurelocationscanningMutationKey()
|
||||
|
||||
const baseOptions = postApiServicesAppMerakiserviceConfigurelocationscanningMutationOptions(config) as UseMutationOptions<PostApiServicesAppMerakiserviceConfigurelocationscanningMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppMerakiserviceConfigurelocationscanningQueryParams}, TContext>
|
||||
|
||||
return useMutation<PostApiServicesAppMerakiserviceConfigurelocationscanningMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppMerakiserviceConfigurelocationscanningQueryParams}, TContext>({
|
||||
...baseOptions,
|
||||
mutationKey,
|
||||
...mutationOptions,
|
||||
}, queryClient) as UseMutationResult<PostApiServicesAppMerakiserviceConfigurelocationscanningMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppMerakiserviceConfigurelocationscanningQueryParams}, TContext>
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { UseMutationOptions, UseMutationResult, QueryClient } from "@tanstack/react-query";
|
||||
import type { PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest, PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationResponse, PostApiServicesAppSplashlocationscanningBulktogglenetworksQueryParams } from "../types/PostApiServicesAppSplashlocationscanningBulktogglenetworks.ts";
|
||||
import { mutationOptions, useMutation } from "@tanstack/react-query";
|
||||
|
||||
export const postApiServicesAppSplashlocationscanningBulktogglenetworksMutationKey = () => [{ url: '/api/services/app/SplashLocationScanning/BulkToggleNetworks' }] as const
|
||||
|
||||
export type PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationKey = ReturnType<typeof postApiServicesAppSplashlocationscanningBulktogglenetworksMutationKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/BulkToggleNetworks}
|
||||
*/
|
||||
export async function postApiServicesAppSplashlocationscanningBulktogglenetworks(data?: PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest, params?: PostApiServicesAppSplashlocationscanningBulktogglenetworksQueryParams, config: Partial<RequestConfig<PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest>> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const requestData = data
|
||||
|
||||
const res = await request<PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationResponse, ResponseErrorConfig<Error>, PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest>({ method : "POST", url : `/api/services/app/SplashLocationScanning/BulkToggleNetworks`, params, data : requestData, ... requestConfig, headers : { 'Content-Type': 'application/*+json', ...requestConfig.headers } })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function postApiServicesAppSplashlocationscanningBulktogglenetworksMutationOptions(config: Partial<RequestConfig<PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest>> & { client?: typeof fetch } = {}) {
|
||||
const mutationKey = postApiServicesAppSplashlocationscanningBulktogglenetworksMutationKey()
|
||||
return mutationOptions<PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationResponse, ResponseErrorConfig<Error>, {data?: PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest, params?: PostApiServicesAppSplashlocationscanningBulktogglenetworksQueryParams}, typeof mutationKey>({
|
||||
mutationKey,
|
||||
mutationFn: async({ data, params }) => {
|
||||
return postApiServicesAppSplashlocationscanningBulktogglenetworks(data, params, config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/BulkToggleNetworks}
|
||||
*/
|
||||
export function usePostApiServicesAppSplashlocationscanningBulktogglenetworks<TContext>(options:
|
||||
{
|
||||
mutation?: UseMutationOptions<PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationResponse, ResponseErrorConfig<Error>, {data?: PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest, params?: PostApiServicesAppSplashlocationscanningBulktogglenetworksQueryParams}, TContext> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig<PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest>> & { client?: typeof fetch },
|
||||
}
|
||||
= {}) {
|
||||
const { mutation = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...mutationOptions } = mutation;
|
||||
const mutationKey = mutationOptions.mutationKey ?? postApiServicesAppSplashlocationscanningBulktogglenetworksMutationKey()
|
||||
|
||||
const baseOptions = postApiServicesAppSplashlocationscanningBulktogglenetworksMutationOptions(config) as UseMutationOptions<PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationResponse, ResponseErrorConfig<Error>, {data?: PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest, params?: PostApiServicesAppSplashlocationscanningBulktogglenetworksQueryParams}, TContext>
|
||||
|
||||
return useMutation<PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationResponse, ResponseErrorConfig<Error>, {data?: PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest, params?: PostApiServicesAppSplashlocationscanningBulktogglenetworksQueryParams}, TContext>({
|
||||
...baseOptions,
|
||||
mutationKey,
|
||||
...mutationOptions,
|
||||
}, queryClient) as UseMutationResult<PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationResponse, ResponseErrorConfig<Error>, {data?: PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest, params?: PostApiServicesAppSplashlocationscanningBulktogglenetworksQueryParams}, TContext>
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import fetch from "@/lib/api-client/abp-axios";
|
||||
import type { RequestConfig, ResponseErrorConfig } from "@/lib/api-client/abp-axios";
|
||||
import type { UseMutationOptions, UseMutationResult, QueryClient } from "@tanstack/react-query";
|
||||
import type { PostApiServicesAppSplashlocationscanningTogglenetworkMutationResponse, PostApiServicesAppSplashlocationscanningTogglenetworkQueryParams } from "../types/PostApiServicesAppSplashlocationscanningTogglenetwork.ts";
|
||||
import { mutationOptions, useMutation } from "@tanstack/react-query";
|
||||
|
||||
export const postApiServicesAppSplashlocationscanningTogglenetworkMutationKey = () => [{ url: '/api/services/app/SplashLocationScanning/ToggleNetwork' }] as const
|
||||
|
||||
export type PostApiServicesAppSplashlocationscanningTogglenetworkMutationKey = ReturnType<typeof postApiServicesAppSplashlocationscanningTogglenetworkMutationKey>
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/ToggleNetwork}
|
||||
*/
|
||||
export async function postApiServicesAppSplashlocationscanningTogglenetwork(params?: PostApiServicesAppSplashlocationscanningTogglenetworkQueryParams, config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const { client: request = fetch, ...requestConfig } = config
|
||||
|
||||
const res = await request<PostApiServicesAppSplashlocationscanningTogglenetworkMutationResponse, ResponseErrorConfig<Error>, unknown>({ method : "POST", url : `/api/services/app/SplashLocationScanning/ToggleNetwork`, params, ... requestConfig })
|
||||
return res.data
|
||||
}
|
||||
|
||||
export function postApiServicesAppSplashlocationscanningTogglenetworkMutationOptions(config: Partial<RequestConfig> & { client?: typeof fetch } = {}) {
|
||||
const mutationKey = postApiServicesAppSplashlocationscanningTogglenetworkMutationKey()
|
||||
return mutationOptions<PostApiServicesAppSplashlocationscanningTogglenetworkMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppSplashlocationscanningTogglenetworkQueryParams}, typeof mutationKey>({
|
||||
mutationKey,
|
||||
mutationFn: async({ params }) => {
|
||||
return postApiServicesAppSplashlocationscanningTogglenetwork(params, config)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link /api/services/app/SplashLocationScanning/ToggleNetwork}
|
||||
*/
|
||||
export function usePostApiServicesAppSplashlocationscanningTogglenetwork<TContext>(options:
|
||||
{
|
||||
mutation?: UseMutationOptions<PostApiServicesAppSplashlocationscanningTogglenetworkMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppSplashlocationscanningTogglenetworkQueryParams}, TContext> & { client?: QueryClient },
|
||||
client?: Partial<RequestConfig> & { client?: typeof fetch },
|
||||
}
|
||||
= {}) {
|
||||
const { mutation = {}, client: config = {} } = options ?? {}
|
||||
const { client: queryClient, ...mutationOptions } = mutation;
|
||||
const mutationKey = mutationOptions.mutationKey ?? postApiServicesAppSplashlocationscanningTogglenetworkMutationKey()
|
||||
|
||||
const baseOptions = postApiServicesAppSplashlocationscanningTogglenetworkMutationOptions(config) as UseMutationOptions<PostApiServicesAppSplashlocationscanningTogglenetworkMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppSplashlocationscanningTogglenetworkQueryParams}, TContext>
|
||||
|
||||
return useMutation<PostApiServicesAppSplashlocationscanningTogglenetworkMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppSplashlocationscanningTogglenetworkQueryParams}, TContext>({
|
||||
...baseOptions,
|
||||
mutationKey,
|
||||
...mutationOptions,
|
||||
}, queryClient) as UseMutationResult<PostApiServicesAppSplashlocationscanningTogglenetworkMutationResponse, ResponseErrorConfig<Error>, {params?: PostApiServicesAppSplashlocationscanningTogglenetworkQueryParams}, TContext>
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"required":["newName","sourceDashboardId"],"type":"object","properties":{"sourceDashboardId":{"type":"integer","format":"int32"},"newName":{"maxLength":100,"minLength":3,"type":"string"},"selectedNetworkGroups":{"type":"array","items":{"type":"integer","format":"int32"},"nullable":true}},"additionalProperties":false,"x-readme-ref-name":"DuplicateSplashDashboardDto"}
|
||||
@@ -0,0 +1 @@
|
||||
{"type":"object","properties":{"success":{"type":"boolean"},"statusCode":{"type":"integer","format":"int32"},"errorMessage":{"type":"string","nullable":true},"serverConfig":{"type":"object","properties":{"endpoints":{"type":"array","items":{"type":"object","properties":{"scanningApiVersion":{"type":"integer","format":"int32"},"radioType":{"type":"string","nullable":true},"httpServer":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"networkId":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"sharedSecret":{"type":"string","nullable":true},"validator":{"type":"string","nullable":true},"validatedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false,"x-readme-ref-name":"LocationScanningHttpServerDto"}},"additionalProperties":false,"x-readme-ref-name":"LocationScanningHttpServerEndpointDto"},"nullable":true},"successAt":{"type":"string","format":"date-time","nullable":true},"errorAt":{"type":"string","format":"date-time","nullable":true},"postErrors":{"type":"string","nullable":true}},"additionalProperties":false,"x-readme-ref-name":"LocationScanningHttpServerResponse"}},"additionalProperties":false,"x-readme-ref-name":"LocationScanningHttpServerConfigResult"}
|
||||
@@ -0,0 +1 @@
|
||||
{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"networkId":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"sharedSecret":{"type":"string","nullable":true},"validator":{"type":"string","nullable":true},"validatedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false,"x-readme-ref-name":"LocationScanningHttpServerDto"}
|
||||
@@ -0,0 +1 @@
|
||||
{"type":"object","properties":{"scanningApiVersion":{"type":"integer","format":"int32"},"radioType":{"type":"string","nullable":true},"httpServer":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"networkId":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"sharedSecret":{"type":"string","nullable":true},"validator":{"type":"string","nullable":true},"validatedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false,"x-readme-ref-name":"LocationScanningHttpServerDto"}},"additionalProperties":false,"x-readme-ref-name":"LocationScanningHttpServerEndpointDto"}
|
||||
@@ -0,0 +1 @@
|
||||
{"type":"object","properties":{"endpoints":{"type":"array","items":{"type":"object","properties":{"scanningApiVersion":{"type":"integer","format":"int32"},"radioType":{"type":"string","nullable":true},"httpServer":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"networkId":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"sharedSecret":{"type":"string","nullable":true},"validator":{"type":"string","nullable":true},"validatedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false,"x-readme-ref-name":"LocationScanningHttpServerDto"}},"additionalProperties":false,"x-readme-ref-name":"LocationScanningHttpServerEndpointDto"},"nullable":true},"successAt":{"type":"string","format":"date-time","nullable":true},"errorAt":{"type":"string","format":"date-time","nullable":true},"postErrors":{"type":"string","nullable":true}},"additionalProperties":false,"x-readme-ref-name":"LocationScanningHttpServerResponse"}
|
||||
@@ -0,0 +1 @@
|
||||
{"type":"object","properties":{"analyticsEnabled":{"type":"boolean"},"scanningApiEnabled":{"type":"boolean"},"validator":{"type":"string","nullable":true}},"additionalProperties":false,"x-readme-ref-name":"LocationScanningSettings"}
|
||||
@@ -0,0 +1 @@
|
||||
{"type":"object","properties":{"totalConfigurations":{"type":"integer","format":"int32"},"activeNetworks":{"type":"integer","format":"int32"},"inactiveNetworks":{"type":"integer","format":"int32"},"failedConfigurations":{"type":"integer","format":"int32"},"pendingConfigurations":{"type":"integer","format":"int32"},"syncedConfigurations":{"type":"integer","format":"int32"}},"additionalProperties":false,"x-readme-ref-name":"LocationScanningStatisticsDto"}
|
||||
@@ -0,0 +1 @@
|
||||
{"type":"object","properties":{"networkId":{"type":"integer","format":"int32"},"networkName":{"type":"string","nullable":true},"success":{"type":"boolean"},"errorMessage":{"type":"string","nullable":true},"validatorSecret":{"type":"string","nullable":true}},"additionalProperties":false,"x-readme-ref-name":"NetworkConfigResult"}
|
||||
@@ -0,0 +1 @@
|
||||
{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"creationTime":{"type":"string","format":"date-time"},"creatorUserId":{"type":"integer","format":"int64","nullable":true},"lastModificationTime":{"type":"string","format":"date-time","nullable":true},"lastModifierUserId":{"type":"integer","format":"int64","nullable":true},"isDeleted":{"type":"boolean"},"deleterUserId":{"type":"integer","format":"int64","nullable":true},"deletionTime":{"type":"string","format":"date-time","nullable":true},"networkId":{"type":"integer","format":"int32"},"isEnabled":{"type":"boolean"},"validatorSecret":{"type":"string","nullable":true},"postUrl":{"type":"string","nullable":true},"apiVersion":{"type":"string","nullable":true},"lastSyncedAt":{"type":"string","format":"date-time","nullable":true},"syncStatus":{"type":"string","nullable":true},"errorMessage":{"type":"string","nullable":true},"failedAttempts":{"type":"integer","format":"int32"},"tenantId":{"type":"integer","format":"int32"},"network":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"merakiId":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"organizationId":{"type":"integer","format":"int32"},"tenantId":{"type":"integer","format":"int32"},"groupName":{"type":"string","nullable":true},"groupId":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false,"x-readme-ref-name":"SplashMerakiNetworkDto"}},"additionalProperties":false,"x-readme-ref-name":"SplashLocationScanningConfigDto"}
|
||||
@@ -0,0 +1 @@
|
||||
{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"creationTime":{"type":"string","format":"date-time"},"creatorUserId":{"type":"integer","format":"int64","nullable":true},"lastModificationTime":{"type":"string","format":"date-time","nullable":true},"lastModifierUserId":{"type":"integer","format":"int64","nullable":true},"isDeleted":{"type":"boolean"},"deleterUserId":{"type":"integer","format":"int64","nullable":true},"deletionTime":{"type":"string","format":"date-time","nullable":true},"networkId":{"type":"integer","format":"int32"},"isEnabled":{"type":"boolean"},"validatorSecret":{"type":"string","nullable":true},"postUrl":{"type":"string","nullable":true},"apiVersion":{"type":"string","nullable":true},"lastSyncedAt":{"type":"string","format":"date-time","nullable":true},"syncStatus":{"type":"string","nullable":true},"errorMessage":{"type":"string","nullable":true},"failedAttempts":{"type":"integer","format":"int32"},"tenantId":{"type":"integer","format":"int32"},"network":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"merakiId":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"organizationId":{"type":"integer","format":"int32"},"tenantId":{"type":"integer","format":"int32"},"groupName":{"type":"string","nullable":true},"groupId":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false,"x-readme-ref-name":"SplashMerakiNetworkDto"}},"additionalProperties":false,"x-readme-ref-name":"SplashLocationScanningConfigDto"},"nullable":true},"totalCount":{"type":"integer","format":"int32"}},"additionalProperties":false,"x-readme-ref-name":"SplashLocationScanningConfigDtoPagedResultDto"}
|
||||
@@ -0,0 +1 @@
|
||||
{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string","nullable":true}},"additionalProperties":false,"x-readme-ref-name":"SplashPageSubmitResult"}
|
||||
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
|
||||
export type DeleteApiServicesAppSplashdashboardserviceDeletedashboardQueryParams = {
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
dashboardId?: number;
|
||||
};
|
||||
|
||||
/**
|
||||
* @description OK
|
||||
*/
|
||||
export type DeleteApiServicesAppSplashdashboardserviceDeletedashboard200 = any;
|
||||
|
||||
export type DeleteApiServicesAppSplashdashboardserviceDeletedashboardMutationResponse = DeleteApiServicesAppSplashdashboardserviceDeletedashboard200;
|
||||
|
||||
export type DeleteApiServicesAppSplashdashboardserviceDeletedashboardMutation = {
|
||||
Response: DeleteApiServicesAppSplashdashboardserviceDeletedashboard200;
|
||||
QueryParams: DeleteApiServicesAppSplashdashboardserviceDeletedashboardQueryParams;
|
||||
Errors: any;
|
||||
};
|
||||
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import type { LocationScanningHttpServerResponse } from "./LocationScanningHttpServerResponse.ts";
|
||||
|
||||
export type GetApiServicesAppMerakiserviceGethttpserversQueryParams = {
|
||||
/**
|
||||
* @type string | undefined
|
||||
*/
|
||||
networkId?: string;
|
||||
/**
|
||||
* @type string | undefined
|
||||
*/
|
||||
apiKey?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* @description OK
|
||||
*/
|
||||
export type GetApiServicesAppMerakiserviceGethttpservers200 = LocationScanningHttpServerResponse[];
|
||||
|
||||
export type GetApiServicesAppMerakiserviceGethttpserversQueryResponse = GetApiServicesAppMerakiserviceGethttpservers200;
|
||||
|
||||
export type GetApiServicesAppMerakiserviceGethttpserversQuery = {
|
||||
Response: GetApiServicesAppMerakiserviceGethttpservers200;
|
||||
QueryParams: GetApiServicesAppMerakiserviceGethttpserversQueryParams;
|
||||
Errors: any;
|
||||
};
|
||||
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import type { LocationScanningSettings } from "./LocationScanningSettings.ts";
|
||||
|
||||
export type GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams = {
|
||||
/**
|
||||
* @type string | undefined
|
||||
*/
|
||||
networkId?: string;
|
||||
/**
|
||||
* @type string | undefined
|
||||
*/
|
||||
organizationId?: string;
|
||||
/**
|
||||
* @type string | undefined
|
||||
*/
|
||||
apiKey?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* @description OK
|
||||
*/
|
||||
export type GetApiServicesAppMerakiserviceGetlocationscanningsettings200 = LocationScanningSettings;
|
||||
|
||||
export type GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryResponse = GetApiServicesAppMerakiserviceGetlocationscanningsettings200;
|
||||
|
||||
export type GetApiServicesAppMerakiserviceGetlocationscanningsettingsQuery = {
|
||||
Response: GetApiServicesAppMerakiserviceGetlocationscanningsettings200;
|
||||
QueryParams: GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams;
|
||||
Errors: any;
|
||||
};
|
||||
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import type { SplashLocationScanningConfigDto } from "./SplashLocationScanningConfigDto.ts";
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetQueryParams = {
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
id?: number;
|
||||
};
|
||||
|
||||
/**
|
||||
* @description OK
|
||||
*/
|
||||
export type GetApiServicesAppSplashlocationscanningGet200 = SplashLocationScanningConfigDto;
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetQueryResponse = GetApiServicesAppSplashlocationscanningGet200;
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetQuery = {
|
||||
Response: GetApiServicesAppSplashlocationscanningGet200;
|
||||
QueryParams: GetApiServicesAppSplashlocationscanningGetQueryParams;
|
||||
Errors: any;
|
||||
};
|
||||
@@ -0,0 +1,50 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import type { SplashLocationScanningConfigDtoPagedResultDto } from "./SplashLocationScanningConfigDtoPagedResultDto.ts";
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetallQueryParams = {
|
||||
/**
|
||||
* @type string | undefined
|
||||
*/
|
||||
Keyword?: string;
|
||||
/**
|
||||
* @type boolean | undefined
|
||||
*/
|
||||
IsEnabled?: boolean;
|
||||
/**
|
||||
* @type string | undefined
|
||||
*/
|
||||
SyncStatus?: string;
|
||||
/**
|
||||
* @type string | undefined
|
||||
*/
|
||||
Sorting?: string;
|
||||
/**
|
||||
* @minLength 0
|
||||
* @maxLength 2147483647
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
SkipCount?: number;
|
||||
/**
|
||||
* @minLength 1
|
||||
* @maxLength 2147483647
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
MaxResultCount?: number;
|
||||
};
|
||||
|
||||
/**
|
||||
* @description OK
|
||||
*/
|
||||
export type GetApiServicesAppSplashlocationscanningGetall200 = SplashLocationScanningConfigDtoPagedResultDto;
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetallQueryResponse = GetApiServicesAppSplashlocationscanningGetall200;
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetallQuery = {
|
||||
Response: GetApiServicesAppSplashlocationscanningGetall200;
|
||||
QueryParams: GetApiServicesAppSplashlocationscanningGetallQueryParams;
|
||||
Errors: any;
|
||||
};
|
||||
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import type { SplashLocationScanningConfigDto } from "./SplashLocationScanningConfigDto.ts";
|
||||
|
||||
/**
|
||||
* @description OK
|
||||
*/
|
||||
export type GetApiServicesAppSplashlocationscanningGetallwithnetworkinfo200 = SplashLocationScanningConfigDto[];
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryResponse = GetApiServicesAppSplashlocationscanningGetallwithnetworkinfo200;
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQuery = {
|
||||
Response: GetApiServicesAppSplashlocationscanningGetallwithnetworkinfo200;
|
||||
Errors: any;
|
||||
};
|
||||
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import type { LocationScanningStatisticsDto } from "./LocationScanningStatisticsDto.ts";
|
||||
|
||||
/**
|
||||
* @description OK
|
||||
*/
|
||||
export type GetApiServicesAppSplashlocationscanningGetstatistics200 = LocationScanningStatisticsDto;
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetstatisticsQueryResponse = GetApiServicesAppSplashlocationscanningGetstatistics200;
|
||||
|
||||
export type GetApiServicesAppSplashlocationscanningGetstatisticsQuery = {
|
||||
Response: GetApiServicesAppSplashlocationscanningGetstatistics200;
|
||||
Errors: any;
|
||||
};
|
||||
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import type { LocationScanningHttpServerResponse } from "./LocationScanningHttpServerResponse.ts";
|
||||
|
||||
export type LocationScanningHttpServerConfigResult = {
|
||||
/**
|
||||
* @type boolean | undefined
|
||||
*/
|
||||
success?: boolean;
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
statusCode?: number;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
errorMessage?: string | null;
|
||||
/**
|
||||
* @type object | undefined
|
||||
*/
|
||||
serverConfig?: LocationScanningHttpServerResponse;
|
||||
};
|
||||
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
|
||||
export type LocationScanningHttpServerDto = {
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
id?: string | null;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
name?: string | null;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
networkId?: string | null;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
url?: string | null;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
sharedSecret?: string | null;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
validator?: string | null;
|
||||
/**
|
||||
* @type string, date-time
|
||||
*/
|
||||
validatedAt?: Date | null;
|
||||
};
|
||||
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import type { LocationScanningHttpServerDto } from "./LocationScanningHttpServerDto.ts";
|
||||
|
||||
export type LocationScanningHttpServerEndpointDto = {
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
scanningApiVersion?: number;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
radioType?: string | null;
|
||||
/**
|
||||
* @type object | undefined
|
||||
*/
|
||||
httpServer?: LocationScanningHttpServerDto;
|
||||
};
|
||||
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import type { LocationScanningHttpServerEndpointDto } from "./LocationScanningHttpServerEndpointDto.ts";
|
||||
|
||||
export type LocationScanningHttpServerResponse = {
|
||||
/**
|
||||
* @type array
|
||||
*/
|
||||
endpoints?: LocationScanningHttpServerEndpointDto[] | null;
|
||||
/**
|
||||
* @type string, date-time
|
||||
*/
|
||||
successAt?: Date | null;
|
||||
/**
|
||||
* @type string, date-time
|
||||
*/
|
||||
errorAt?: Date | null;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
postErrors?: string | null;
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
|
||||
export type LocationScanningSettings = {
|
||||
/**
|
||||
* @type boolean | undefined
|
||||
*/
|
||||
analyticsEnabled?: boolean;
|
||||
/**
|
||||
* @type boolean | undefined
|
||||
*/
|
||||
scanningApiEnabled?: boolean;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
validator?: string | null;
|
||||
};
|
||||
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
|
||||
export type LocationScanningStatisticsDto = {
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
totalConfigurations?: number;
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
activeNetworks?: number;
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
inactiveNetworks?: number;
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
failedConfigurations?: number;
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
pendingConfigurations?: number;
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
syncedConfigurations?: number;
|
||||
};
|
||||
28
src/SplashPage.Web.Ui/src/api/types/NetworkConfigResult.ts
Normal file
28
src/SplashPage.Web.Ui/src/api/types/NetworkConfigResult.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
|
||||
export type NetworkConfigResult = {
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
networkId?: number;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
networkName?: string | null;
|
||||
/**
|
||||
* @type boolean | undefined
|
||||
*/
|
||||
success?: boolean;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
errorMessage?: string | null;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
validatorSecret?: string | null;
|
||||
};
|
||||
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import type { NetworkConfigResult } from "./NetworkConfigResult.ts";
|
||||
|
||||
export type PostApiServicesAppLocationscanningserviceConfigureQueryParams = {
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
configurationId?: number;
|
||||
/**
|
||||
* @type string | undefined
|
||||
*/
|
||||
apiKey?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* @description OK
|
||||
*/
|
||||
export type PostApiServicesAppLocationscanningserviceConfigure200 = NetworkConfigResult;
|
||||
|
||||
export type PostApiServicesAppLocationscanningserviceConfigureMutationResponse = PostApiServicesAppLocationscanningserviceConfigure200;
|
||||
|
||||
export type PostApiServicesAppLocationscanningserviceConfigureMutation = {
|
||||
Response: PostApiServicesAppLocationscanningserviceConfigure200;
|
||||
QueryParams: PostApiServicesAppLocationscanningserviceConfigureQueryParams;
|
||||
Errors: any;
|
||||
};
|
||||
@@ -0,0 +1,52 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import type { LocationScanningHttpServerConfigResult } from "./LocationScanningHttpServerConfigResult.ts";
|
||||
|
||||
export type PostApiServicesAppMerakiserviceConfigurehttpserversQueryParams = {
|
||||
/**
|
||||
* @type string | undefined
|
||||
*/
|
||||
networkId?: string;
|
||||
/**
|
||||
* @type string | undefined
|
||||
*/
|
||||
organizationId?: string;
|
||||
/**
|
||||
* @type string | undefined
|
||||
*/
|
||||
apiKey?: string;
|
||||
/**
|
||||
* @type string | undefined
|
||||
*/
|
||||
serverUrl?: string;
|
||||
/**
|
||||
* @type string | undefined
|
||||
*/
|
||||
sharedSecret?: string;
|
||||
/**
|
||||
* @default 3
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
apiVersion?: number;
|
||||
/**
|
||||
* @default "Wi-Fi"
|
||||
* @type string | undefined
|
||||
*/
|
||||
radioType?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* @description OK
|
||||
*/
|
||||
export type PostApiServicesAppMerakiserviceConfigurehttpservers200 = LocationScanningHttpServerConfigResult;
|
||||
|
||||
export type PostApiServicesAppMerakiserviceConfigurehttpserversMutationResponse = PostApiServicesAppMerakiserviceConfigurehttpservers200;
|
||||
|
||||
export type PostApiServicesAppMerakiserviceConfigurehttpserversMutation = {
|
||||
Response: PostApiServicesAppMerakiserviceConfigurehttpservers200;
|
||||
QueryParams: PostApiServicesAppMerakiserviceConfigurehttpserversQueryParams;
|
||||
Errors: any;
|
||||
};
|
||||
@@ -0,0 +1,40 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import type { LocationScanningSettings } from "./LocationScanningSettings.ts";
|
||||
|
||||
export type PostApiServicesAppMerakiserviceConfigurelocationscanningQueryParams = {
|
||||
/**
|
||||
* @type string | undefined
|
||||
*/
|
||||
networkId?: string;
|
||||
/**
|
||||
* @type string | undefined
|
||||
*/
|
||||
apiKey?: string;
|
||||
/**
|
||||
* @default true
|
||||
* @type boolean | undefined
|
||||
*/
|
||||
analyticsEnabled?: boolean;
|
||||
/**
|
||||
* @default true
|
||||
* @type boolean | undefined
|
||||
*/
|
||||
scanningApiEnabled?: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
* @description OK
|
||||
*/
|
||||
export type PostApiServicesAppMerakiserviceConfigurelocationscanning200 = LocationScanningSettings;
|
||||
|
||||
export type PostApiServicesAppMerakiserviceConfigurelocationscanningMutationResponse = PostApiServicesAppMerakiserviceConfigurelocationscanning200;
|
||||
|
||||
export type PostApiServicesAppMerakiserviceConfigurelocationscanningMutation = {
|
||||
Response: PostApiServicesAppMerakiserviceConfigurelocationscanning200;
|
||||
QueryParams: PostApiServicesAppMerakiserviceConfigurelocationscanningQueryParams;
|
||||
Errors: any;
|
||||
};
|
||||
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
|
||||
export type PostApiServicesAppSplashlocationscanningBulktogglenetworksQueryParams = {
|
||||
/**
|
||||
* @type boolean | undefined
|
||||
*/
|
||||
isEnabled?: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
* @description OK
|
||||
*/
|
||||
export type PostApiServicesAppSplashlocationscanningBulktogglenetworks200 = any;
|
||||
|
||||
export type PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest = number[];
|
||||
|
||||
export type PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationResponse = PostApiServicesAppSplashlocationscanningBulktogglenetworks200;
|
||||
|
||||
export type PostApiServicesAppSplashlocationscanningBulktogglenetworksMutation = {
|
||||
Response: PostApiServicesAppSplashlocationscanningBulktogglenetworks200;
|
||||
Request: PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest;
|
||||
QueryParams: PostApiServicesAppSplashlocationscanningBulktogglenetworksQueryParams;
|
||||
Errors: any;
|
||||
};
|
||||
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
|
||||
export type PostApiServicesAppSplashlocationscanningTogglenetworkQueryParams = {
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
id?: number;
|
||||
/**
|
||||
* @type boolean | undefined
|
||||
*/
|
||||
isEnabled?: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
* @description OK
|
||||
*/
|
||||
export type PostApiServicesAppSplashlocationscanningTogglenetwork200 = any;
|
||||
|
||||
export type PostApiServicesAppSplashlocationscanningTogglenetworkMutationResponse = PostApiServicesAppSplashlocationscanningTogglenetwork200;
|
||||
|
||||
export type PostApiServicesAppSplashlocationscanningTogglenetworkMutation = {
|
||||
Response: PostApiServicesAppSplashlocationscanningTogglenetwork200;
|
||||
QueryParams: PostApiServicesAppSplashlocationscanningTogglenetworkQueryParams;
|
||||
Errors: any;
|
||||
};
|
||||
@@ -0,0 +1,85 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import type { SplashMerakiNetworkDto } from "./SplashMerakiNetworkDto.ts";
|
||||
|
||||
export type SplashLocationScanningConfigDto = {
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
id?: number;
|
||||
/**
|
||||
* @type string | undefined, date-time
|
||||
*/
|
||||
creationTime?: Date;
|
||||
/**
|
||||
* @type integer, int64
|
||||
*/
|
||||
creatorUserId?: number | null;
|
||||
/**
|
||||
* @type string, date-time
|
||||
*/
|
||||
lastModificationTime?: Date | null;
|
||||
/**
|
||||
* @type integer, int64
|
||||
*/
|
||||
lastModifierUserId?: number | null;
|
||||
/**
|
||||
* @type boolean | undefined
|
||||
*/
|
||||
isDeleted?: boolean;
|
||||
/**
|
||||
* @type integer, int64
|
||||
*/
|
||||
deleterUserId?: number | null;
|
||||
/**
|
||||
* @type string, date-time
|
||||
*/
|
||||
deletionTime?: Date | null;
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
networkId?: number;
|
||||
/**
|
||||
* @type boolean | undefined
|
||||
*/
|
||||
isEnabled?: boolean;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
validatorSecret?: string | null;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
postUrl?: string | null;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
apiVersion?: string | null;
|
||||
/**
|
||||
* @type string, date-time
|
||||
*/
|
||||
lastSyncedAt?: Date | null;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
syncStatus?: string | null;
|
||||
/**
|
||||
* @type string
|
||||
*/
|
||||
errorMessage?: string | null;
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
failedAttempts?: number;
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
tenantId?: number;
|
||||
/**
|
||||
* @type object | undefined
|
||||
*/
|
||||
network?: SplashMerakiNetworkDto;
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Generated by Kubb (https://kubb.dev/).
|
||||
* Do not edit manually.
|
||||
*/
|
||||
|
||||
import type { SplashLocationScanningConfigDto } from "./SplashLocationScanningConfigDto.ts";
|
||||
|
||||
export type SplashLocationScanningConfigDtoPagedResultDto = {
|
||||
/**
|
||||
* @type array
|
||||
*/
|
||||
items?: SplashLocationScanningConfigDto[] | null;
|
||||
/**
|
||||
* @type integer | undefined, int32
|
||||
*/
|
||||
totalCount?: number;
|
||||
};
|
||||
Reference in New Issue
Block a user