diff --git a/src/SplashPage.Web.Ui/src/api/hooks/useDeleteApiServicesAppSplashdashboardserviceDeletedashboard.ts b/src/SplashPage.Web.Ui/src/api/hooks/useDeleteApiServicesAppSplashdashboardserviceDeletedashboard.ts new file mode 100644 index 00000000..29ba8b7e --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/useDeleteApiServicesAppSplashdashboardserviceDeletedashboard.ts @@ -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 + +/** + * {@link /api/services/app/SplashDashboardService/DeleteDashboard} + */ +export async function deleteApiServicesAppSplashdashboardserviceDeletedashboard(params?: DeleteApiServicesAppSplashdashboardserviceDeletedashboardQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "DELETE", url : `/api/services/app/SplashDashboardService/DeleteDashboard`, params, ... requestConfig }) + return res.data +} + +export function deleteApiServicesAppSplashdashboardserviceDeletedashboardMutationOptions(config: Partial & { client?: typeof fetch } = {}) { + const mutationKey = deleteApiServicesAppSplashdashboardserviceDeletedashboardMutationKey() + return mutationOptions, {params?: DeleteApiServicesAppSplashdashboardserviceDeletedashboardQueryParams}, typeof mutationKey>({ + mutationKey, + mutationFn: async({ params }) => { + return deleteApiServicesAppSplashdashboardserviceDeletedashboard(params, config) + }, + }) +} + +/** + * {@link /api/services/app/SplashDashboardService/DeleteDashboard} + */ +export function useDeleteApiServicesAppSplashdashboardserviceDeletedashboard(options: +{ + mutation?: UseMutationOptions, {params?: DeleteApiServicesAppSplashdashboardserviceDeletedashboardQueryParams}, TContext> & { client?: QueryClient }, + client?: Partial & { client?: typeof fetch }, +} + = {}) { + const { mutation = {}, client: config = {} } = options ?? {} + const { client: queryClient, ...mutationOptions } = mutation; + const mutationKey = mutationOptions.mutationKey ?? deleteApiServicesAppSplashdashboardserviceDeletedashboardMutationKey() + + const baseOptions = deleteApiServicesAppSplashdashboardserviceDeletedashboardMutationOptions(config) as UseMutationOptions, {params?: DeleteApiServicesAppSplashdashboardserviceDeletedashboardQueryParams}, TContext> + + return useMutation, {params?: DeleteApiServicesAppSplashdashboardserviceDeletedashboardQueryParams}, TContext>({ + ...baseOptions, + mutationKey, + ...mutationOptions, + }, queryClient) as UseMutationResult, {params?: DeleteApiServicesAppSplashdashboardserviceDeletedashboardQueryParams}, TContext> +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppMerakiserviceGethttpservers.ts b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppMerakiserviceGethttpservers.ts new file mode 100644 index 00000000..88810b0b --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppMerakiserviceGethttpservers.ts @@ -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 + +/** + * {@link /api/services/app/MerakiService/GetHttpServers} + */ +export async function getApiServicesAppMerakiserviceGethttpservers(params?: GetApiServicesAppMerakiserviceGethttpserversQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "GET", url : `/api/services/app/MerakiService/GetHttpServers`, params, ... requestConfig }) + return res.data +} + +export function getApiServicesAppMerakiserviceGethttpserversQueryOptions(params?: GetApiServicesAppMerakiserviceGethttpserversQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const queryKey = getApiServicesAppMerakiserviceGethttpserversQueryKey(params) + return queryOptions, GetApiServicesAppMerakiserviceGethttpserversQueryResponse, typeof queryKey>({ + + queryKey, + queryFn: async ({ signal }) => { + config.signal = signal + return getApiServicesAppMerakiserviceGethttpservers(params, config) + }, + }) +} + +/** + * {@link /api/services/app/MerakiService/GetHttpServers} + */ +export function useGetApiServicesAppMerakiserviceGethttpservers(params?: GetApiServicesAppMerakiserviceGethttpserversQueryParams, options: +{ + query?: Partial, TData, TQueryData, TQueryKey>> & { client?: QueryClient }, + client?: Partial & { 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> & { queryKey: TQueryKey } + + query.queryKey = queryKey as TQueryKey + + return query +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppMerakiserviceGethttpserversSuspense.ts b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppMerakiserviceGethttpserversSuspense.ts new file mode 100644 index 00000000..75d9fcda --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppMerakiserviceGethttpserversSuspense.ts @@ -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 + +/** + * {@link /api/services/app/MerakiService/GetHttpServers} + */ +export async function getApiServicesAppMerakiserviceGethttpserversSuspense(params?: GetApiServicesAppMerakiserviceGethttpserversQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "GET", url : `/api/services/app/MerakiService/GetHttpServers`, params, ... requestConfig }) + return res.data +} + +export function getApiServicesAppMerakiserviceGethttpserversSuspenseQueryOptions(params?: GetApiServicesAppMerakiserviceGethttpserversQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const queryKey = getApiServicesAppMerakiserviceGethttpserversSuspenseQueryKey(params) + return queryOptions, GetApiServicesAppMerakiserviceGethttpserversQueryResponse, typeof queryKey>({ + + queryKey, + queryFn: async ({ signal }) => { + config.signal = signal + return getApiServicesAppMerakiserviceGethttpserversSuspense(params, config) + }, + }) +} + +/** + * {@link /api/services/app/MerakiService/GetHttpServers} + */ +export function useGetApiServicesAppMerakiserviceGethttpserversSuspense(params?: GetApiServicesAppMerakiserviceGethttpserversQueryParams, options: +{ + query?: Partial, TData, TQueryKey>> & { client?: QueryClient }, + client?: Partial & { 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> & { queryKey: TQueryKey } + + query.queryKey = queryKey as TQueryKey + + return query +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppMerakiserviceGetlocationscanningsettings.ts b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppMerakiserviceGetlocationscanningsettings.ts new file mode 100644 index 00000000..612c10aa --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppMerakiserviceGetlocationscanningsettings.ts @@ -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 + +/** + * {@link /api/services/app/MerakiService/GetLocationScanningSettings} + */ +export async function getApiServicesAppMerakiserviceGetlocationscanningsettings(params?: GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "GET", url : `/api/services/app/MerakiService/GetLocationScanningSettings`, params, ... requestConfig }) + return res.data +} + +export function getApiServicesAppMerakiserviceGetlocationscanningsettingsQueryOptions(params?: GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const queryKey = getApiServicesAppMerakiserviceGetlocationscanningsettingsQueryKey(params) + return queryOptions, GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryResponse, typeof queryKey>({ + + queryKey, + queryFn: async ({ signal }) => { + config.signal = signal + return getApiServicesAppMerakiserviceGetlocationscanningsettings(params, config) + }, + }) +} + +/** + * {@link /api/services/app/MerakiService/GetLocationScanningSettings} + */ +export function useGetApiServicesAppMerakiserviceGetlocationscanningsettings(params?: GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams, options: +{ + query?: Partial, TData, TQueryData, TQueryKey>> & { client?: QueryClient }, + client?: Partial & { 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> & { queryKey: TQueryKey } + + query.queryKey = queryKey as TQueryKey + + return query +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppMerakiserviceGetlocationscanningsettingsSuspense.ts b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppMerakiserviceGetlocationscanningsettingsSuspense.ts new file mode 100644 index 00000000..fc3a35ec --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppMerakiserviceGetlocationscanningsettingsSuspense.ts @@ -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 + +/** + * {@link /api/services/app/MerakiService/GetLocationScanningSettings} + */ +export async function getApiServicesAppMerakiserviceGetlocationscanningsettingsSuspense(params?: GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "GET", url : `/api/services/app/MerakiService/GetLocationScanningSettings`, params, ... requestConfig }) + return res.data +} + +export function getApiServicesAppMerakiserviceGetlocationscanningsettingsSuspenseQueryOptions(params?: GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const queryKey = getApiServicesAppMerakiserviceGetlocationscanningsettingsSuspenseQueryKey(params) + return queryOptions, GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryResponse, typeof queryKey>({ + + queryKey, + queryFn: async ({ signal }) => { + config.signal = signal + return getApiServicesAppMerakiserviceGetlocationscanningsettingsSuspense(params, config) + }, + }) +} + +/** + * {@link /api/services/app/MerakiService/GetLocationScanningSettings} + */ +export function useGetApiServicesAppMerakiserviceGetlocationscanningsettingsSuspense(params?: GetApiServicesAppMerakiserviceGetlocationscanningsettingsQueryParams, options: +{ + query?: Partial, TData, TQueryKey>> & { client?: QueryClient }, + client?: Partial & { 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> & { queryKey: TQueryKey } + + query.queryKey = queryKey as TQueryKey + + return query +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGet.ts b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGet.ts new file mode 100644 index 00000000..da8c3e8d --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGet.ts @@ -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 + +/** + * {@link /api/services/app/SplashLocationScanning/Get} + */ +export async function getApiServicesAppSplashlocationscanningGet(params?: GetApiServicesAppSplashlocationscanningGetQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "GET", url : `/api/services/app/SplashLocationScanning/Get`, params, ... requestConfig }) + return res.data +} + +export function getApiServicesAppSplashlocationscanningGetQueryOptions(params?: GetApiServicesAppSplashlocationscanningGetQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const queryKey = getApiServicesAppSplashlocationscanningGetQueryKey(params) + return queryOptions, GetApiServicesAppSplashlocationscanningGetQueryResponse, typeof queryKey>({ + + queryKey, + queryFn: async ({ signal }) => { + config.signal = signal + return getApiServicesAppSplashlocationscanningGet(params, config) + }, + }) +} + +/** + * {@link /api/services/app/SplashLocationScanning/Get} + */ +export function useGetApiServicesAppSplashlocationscanningGet(params?: GetApiServicesAppSplashlocationscanningGetQueryParams, options: +{ + query?: Partial, TData, TQueryData, TQueryKey>> & { client?: QueryClient }, + client?: Partial & { 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> & { queryKey: TQueryKey } + + query.queryKey = queryKey as TQueryKey + + return query +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetSuspense.ts b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetSuspense.ts new file mode 100644 index 00000000..43a6766e --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetSuspense.ts @@ -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 + +/** + * {@link /api/services/app/SplashLocationScanning/Get} + */ +export async function getApiServicesAppSplashlocationscanningGetSuspense(params?: GetApiServicesAppSplashlocationscanningGetQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "GET", url : `/api/services/app/SplashLocationScanning/Get`, params, ... requestConfig }) + return res.data +} + +export function getApiServicesAppSplashlocationscanningGetSuspenseQueryOptions(params?: GetApiServicesAppSplashlocationscanningGetQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const queryKey = getApiServicesAppSplashlocationscanningGetSuspenseQueryKey(params) + return queryOptions, GetApiServicesAppSplashlocationscanningGetQueryResponse, typeof queryKey>({ + + queryKey, + queryFn: async ({ signal }) => { + config.signal = signal + return getApiServicesAppSplashlocationscanningGetSuspense(params, config) + }, + }) +} + +/** + * {@link /api/services/app/SplashLocationScanning/Get} + */ +export function useGetApiServicesAppSplashlocationscanningGetSuspense(params?: GetApiServicesAppSplashlocationscanningGetQueryParams, options: +{ + query?: Partial, TData, TQueryKey>> & { client?: QueryClient }, + client?: Partial & { 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> & { queryKey: TQueryKey } + + query.queryKey = queryKey as TQueryKey + + return query +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetall.ts b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetall.ts new file mode 100644 index 00000000..24b87405 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetall.ts @@ -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 + +/** + * {@link /api/services/app/SplashLocationScanning/GetAll} + */ +export async function getApiServicesAppSplashlocationscanningGetall(params?: GetApiServicesAppSplashlocationscanningGetallQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "GET", url : `/api/services/app/SplashLocationScanning/GetAll`, params, ... requestConfig }) + return res.data +} + +export function getApiServicesAppSplashlocationscanningGetallQueryOptions(params?: GetApiServicesAppSplashlocationscanningGetallQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const queryKey = getApiServicesAppSplashlocationscanningGetallQueryKey(params) + return queryOptions, GetApiServicesAppSplashlocationscanningGetallQueryResponse, typeof queryKey>({ + + queryKey, + queryFn: async ({ signal }) => { + config.signal = signal + return getApiServicesAppSplashlocationscanningGetall(params, config) + }, + }) +} + +/** + * {@link /api/services/app/SplashLocationScanning/GetAll} + */ +export function useGetApiServicesAppSplashlocationscanningGetall(params?: GetApiServicesAppSplashlocationscanningGetallQueryParams, options: +{ + query?: Partial, TData, TQueryData, TQueryKey>> & { client?: QueryClient }, + client?: Partial & { 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> & { queryKey: TQueryKey } + + query.queryKey = queryKey as TQueryKey + + return query +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetallSuspense.ts b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetallSuspense.ts new file mode 100644 index 00000000..f8ce9d55 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetallSuspense.ts @@ -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 + +/** + * {@link /api/services/app/SplashLocationScanning/GetAll} + */ +export async function getApiServicesAppSplashlocationscanningGetallSuspense(params?: GetApiServicesAppSplashlocationscanningGetallQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "GET", url : `/api/services/app/SplashLocationScanning/GetAll`, params, ... requestConfig }) + return res.data +} + +export function getApiServicesAppSplashlocationscanningGetallSuspenseQueryOptions(params?: GetApiServicesAppSplashlocationscanningGetallQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const queryKey = getApiServicesAppSplashlocationscanningGetallSuspenseQueryKey(params) + return queryOptions, GetApiServicesAppSplashlocationscanningGetallQueryResponse, typeof queryKey>({ + + queryKey, + queryFn: async ({ signal }) => { + config.signal = signal + return getApiServicesAppSplashlocationscanningGetallSuspense(params, config) + }, + }) +} + +/** + * {@link /api/services/app/SplashLocationScanning/GetAll} + */ +export function useGetApiServicesAppSplashlocationscanningGetallSuspense(params?: GetApiServicesAppSplashlocationscanningGetallQueryParams, options: +{ + query?: Partial, TData, TQueryKey>> & { client?: QueryClient }, + client?: Partial & { 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> & { queryKey: TQueryKey } + + query.queryKey = queryKey as TQueryKey + + return query +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetallwithnetworkinfo.ts b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetallwithnetworkinfo.ts new file mode 100644 index 00000000..1374a82b --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetallwithnetworkinfo.ts @@ -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 + +/** + * {@link /api/services/app/SplashLocationScanning/GetAllWithNetworkInfo} + */ +export async function getApiServicesAppSplashlocationscanningGetallwithnetworkinfo(config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "GET", url : `/api/services/app/SplashLocationScanning/GetAllWithNetworkInfo`, ... requestConfig }) + return res.data +} + +export function getApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryOptions(config: Partial & { client?: typeof fetch } = {}) { + const queryKey = getApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryKey() + return queryOptions, GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryResponse, typeof queryKey>({ + + queryKey, + queryFn: async ({ signal }) => { + config.signal = signal + return getApiServicesAppSplashlocationscanningGetallwithnetworkinfo(config) + }, + }) +} + +/** + * {@link /api/services/app/SplashLocationScanning/GetAllWithNetworkInfo} + */ +export function useGetApiServicesAppSplashlocationscanningGetallwithnetworkinfo(options: +{ + query?: Partial, TData, TQueryData, TQueryKey>> & { client?: QueryClient }, + client?: Partial & { 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> & { queryKey: TQueryKey } + + query.queryKey = queryKey as TQueryKey + + return query +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspense.ts b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspense.ts new file mode 100644 index 00000000..0f6b01a9 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspense.ts @@ -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 + +/** + * {@link /api/services/app/SplashLocationScanning/GetAllWithNetworkInfo} + */ +export async function getApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspense(config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "GET", url : `/api/services/app/SplashLocationScanning/GetAllWithNetworkInfo`, ... requestConfig }) + return res.data +} + +export function getApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspenseQueryOptions(config: Partial & { client?: typeof fetch } = {}) { + const queryKey = getApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspenseQueryKey() + return queryOptions, GetApiServicesAppSplashlocationscanningGetallwithnetworkinfoQueryResponse, typeof queryKey>({ + + queryKey, + queryFn: async ({ signal }) => { + config.signal = signal + return getApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspense(config) + }, + }) +} + +/** + * {@link /api/services/app/SplashLocationScanning/GetAllWithNetworkInfo} + */ +export function useGetApiServicesAppSplashlocationscanningGetallwithnetworkinfoSuspense(options: +{ + query?: Partial, TData, TQueryKey>> & { client?: QueryClient }, + client?: Partial & { 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> & { queryKey: TQueryKey } + + query.queryKey = queryKey as TQueryKey + + return query +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetstatistics.ts b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetstatistics.ts new file mode 100644 index 00000000..40f68f5f --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetstatistics.ts @@ -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 + +/** + * {@link /api/services/app/SplashLocationScanning/GetStatistics} + */ +export async function getApiServicesAppSplashlocationscanningGetstatistics(config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "GET", url : `/api/services/app/SplashLocationScanning/GetStatistics`, ... requestConfig }) + return res.data +} + +export function getApiServicesAppSplashlocationscanningGetstatisticsQueryOptions(config: Partial & { client?: typeof fetch } = {}) { + const queryKey = getApiServicesAppSplashlocationscanningGetstatisticsQueryKey() + return queryOptions, GetApiServicesAppSplashlocationscanningGetstatisticsQueryResponse, typeof queryKey>({ + + queryKey, + queryFn: async ({ signal }) => { + config.signal = signal + return getApiServicesAppSplashlocationscanningGetstatistics(config) + }, + }) +} + +/** + * {@link /api/services/app/SplashLocationScanning/GetStatistics} + */ +export function useGetApiServicesAppSplashlocationscanningGetstatistics(options: +{ + query?: Partial, TData, TQueryData, TQueryKey>> & { client?: QueryClient }, + client?: Partial & { 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> & { queryKey: TQueryKey } + + query.queryKey = queryKey as TQueryKey + + return query +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetstatisticsSuspense.ts b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetstatisticsSuspense.ts new file mode 100644 index 00000000..ae3f3543 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/useGetApiServicesAppSplashlocationscanningGetstatisticsSuspense.ts @@ -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 + +/** + * {@link /api/services/app/SplashLocationScanning/GetStatistics} + */ +export async function getApiServicesAppSplashlocationscanningGetstatisticsSuspense(config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "GET", url : `/api/services/app/SplashLocationScanning/GetStatistics`, ... requestConfig }) + return res.data +} + +export function getApiServicesAppSplashlocationscanningGetstatisticsSuspenseQueryOptions(config: Partial & { client?: typeof fetch } = {}) { + const queryKey = getApiServicesAppSplashlocationscanningGetstatisticsSuspenseQueryKey() + return queryOptions, GetApiServicesAppSplashlocationscanningGetstatisticsQueryResponse, typeof queryKey>({ + + queryKey, + queryFn: async ({ signal }) => { + config.signal = signal + return getApiServicesAppSplashlocationscanningGetstatisticsSuspense(config) + }, + }) +} + +/** + * {@link /api/services/app/SplashLocationScanning/GetStatistics} + */ +export function useGetApiServicesAppSplashlocationscanningGetstatisticsSuspense(options: +{ + query?: Partial, TData, TQueryKey>> & { client?: QueryClient }, + client?: Partial & { 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> & { queryKey: TQueryKey } + + query.queryKey = queryKey as TQueryKey + + return query +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/usePostApiServicesAppLocationscanningserviceConfigure.ts b/src/SplashPage.Web.Ui/src/api/hooks/usePostApiServicesAppLocationscanningserviceConfigure.ts new file mode 100644 index 00000000..0bcf1156 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/usePostApiServicesAppLocationscanningserviceConfigure.ts @@ -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 + +/** + * {@link /api/services/app/LocationScanningService/Configure} + */ +export async function postApiServicesAppLocationscanningserviceConfigure(params?: PostApiServicesAppLocationscanningserviceConfigureQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "POST", url : `/api/services/app/LocationScanningService/Configure`, params, ... requestConfig }) + return res.data +} + +export function postApiServicesAppLocationscanningserviceConfigureMutationOptions(config: Partial & { client?: typeof fetch } = {}) { + const mutationKey = postApiServicesAppLocationscanningserviceConfigureMutationKey() + return mutationOptions, {params?: PostApiServicesAppLocationscanningserviceConfigureQueryParams}, typeof mutationKey>({ + mutationKey, + mutationFn: async({ params }) => { + return postApiServicesAppLocationscanningserviceConfigure(params, config) + }, + }) +} + +/** + * {@link /api/services/app/LocationScanningService/Configure} + */ +export function usePostApiServicesAppLocationscanningserviceConfigure(options: +{ + mutation?: UseMutationOptions, {params?: PostApiServicesAppLocationscanningserviceConfigureQueryParams}, TContext> & { client?: QueryClient }, + client?: Partial & { client?: typeof fetch }, +} + = {}) { + const { mutation = {}, client: config = {} } = options ?? {} + const { client: queryClient, ...mutationOptions } = mutation; + const mutationKey = mutationOptions.mutationKey ?? postApiServicesAppLocationscanningserviceConfigureMutationKey() + + const baseOptions = postApiServicesAppLocationscanningserviceConfigureMutationOptions(config) as UseMutationOptions, {params?: PostApiServicesAppLocationscanningserviceConfigureQueryParams}, TContext> + + return useMutation, {params?: PostApiServicesAppLocationscanningserviceConfigureQueryParams}, TContext>({ + ...baseOptions, + mutationKey, + ...mutationOptions, + }, queryClient) as UseMutationResult, {params?: PostApiServicesAppLocationscanningserviceConfigureQueryParams}, TContext> +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/usePostApiServicesAppMerakiserviceConfigurehttpservers.ts b/src/SplashPage.Web.Ui/src/api/hooks/usePostApiServicesAppMerakiserviceConfigurehttpservers.ts new file mode 100644 index 00000000..fb9b163e --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/usePostApiServicesAppMerakiserviceConfigurehttpservers.ts @@ -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 + +/** + * {@link /api/services/app/MerakiService/ConfigureHttpServers} + */ +export async function postApiServicesAppMerakiserviceConfigurehttpservers(params?: PostApiServicesAppMerakiserviceConfigurehttpserversQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "POST", url : `/api/services/app/MerakiService/ConfigureHttpServers`, params, ... requestConfig }) + return res.data +} + +export function postApiServicesAppMerakiserviceConfigurehttpserversMutationOptions(config: Partial & { client?: typeof fetch } = {}) { + const mutationKey = postApiServicesAppMerakiserviceConfigurehttpserversMutationKey() + return mutationOptions, {params?: PostApiServicesAppMerakiserviceConfigurehttpserversQueryParams}, typeof mutationKey>({ + mutationKey, + mutationFn: async({ params }) => { + return postApiServicesAppMerakiserviceConfigurehttpservers(params, config) + }, + }) +} + +/** + * {@link /api/services/app/MerakiService/ConfigureHttpServers} + */ +export function usePostApiServicesAppMerakiserviceConfigurehttpservers(options: +{ + mutation?: UseMutationOptions, {params?: PostApiServicesAppMerakiserviceConfigurehttpserversQueryParams}, TContext> & { client?: QueryClient }, + client?: Partial & { client?: typeof fetch }, +} + = {}) { + const { mutation = {}, client: config = {} } = options ?? {} + const { client: queryClient, ...mutationOptions } = mutation; + const mutationKey = mutationOptions.mutationKey ?? postApiServicesAppMerakiserviceConfigurehttpserversMutationKey() + + const baseOptions = postApiServicesAppMerakiserviceConfigurehttpserversMutationOptions(config) as UseMutationOptions, {params?: PostApiServicesAppMerakiserviceConfigurehttpserversQueryParams}, TContext> + + return useMutation, {params?: PostApiServicesAppMerakiserviceConfigurehttpserversQueryParams}, TContext>({ + ...baseOptions, + mutationKey, + ...mutationOptions, + }, queryClient) as UseMutationResult, {params?: PostApiServicesAppMerakiserviceConfigurehttpserversQueryParams}, TContext> +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/usePostApiServicesAppMerakiserviceConfigurelocationscanning.ts b/src/SplashPage.Web.Ui/src/api/hooks/usePostApiServicesAppMerakiserviceConfigurelocationscanning.ts new file mode 100644 index 00000000..1e95abc6 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/usePostApiServicesAppMerakiserviceConfigurelocationscanning.ts @@ -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 + +/** + * {@link /api/services/app/MerakiService/ConfigureLocationScanning} + */ +export async function postApiServicesAppMerakiserviceConfigurelocationscanning(params?: PostApiServicesAppMerakiserviceConfigurelocationscanningQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "POST", url : `/api/services/app/MerakiService/ConfigureLocationScanning`, params, ... requestConfig }) + return res.data +} + +export function postApiServicesAppMerakiserviceConfigurelocationscanningMutationOptions(config: Partial & { client?: typeof fetch } = {}) { + const mutationKey = postApiServicesAppMerakiserviceConfigurelocationscanningMutationKey() + return mutationOptions, {params?: PostApiServicesAppMerakiserviceConfigurelocationscanningQueryParams}, typeof mutationKey>({ + mutationKey, + mutationFn: async({ params }) => { + return postApiServicesAppMerakiserviceConfigurelocationscanning(params, config) + }, + }) +} + +/** + * {@link /api/services/app/MerakiService/ConfigureLocationScanning} + */ +export function usePostApiServicesAppMerakiserviceConfigurelocationscanning(options: +{ + mutation?: UseMutationOptions, {params?: PostApiServicesAppMerakiserviceConfigurelocationscanningQueryParams}, TContext> & { client?: QueryClient }, + client?: Partial & { client?: typeof fetch }, +} + = {}) { + const { mutation = {}, client: config = {} } = options ?? {} + const { client: queryClient, ...mutationOptions } = mutation; + const mutationKey = mutationOptions.mutationKey ?? postApiServicesAppMerakiserviceConfigurelocationscanningMutationKey() + + const baseOptions = postApiServicesAppMerakiserviceConfigurelocationscanningMutationOptions(config) as UseMutationOptions, {params?: PostApiServicesAppMerakiserviceConfigurelocationscanningQueryParams}, TContext> + + return useMutation, {params?: PostApiServicesAppMerakiserviceConfigurelocationscanningQueryParams}, TContext>({ + ...baseOptions, + mutationKey, + ...mutationOptions, + }, queryClient) as UseMutationResult, {params?: PostApiServicesAppMerakiserviceConfigurelocationscanningQueryParams}, TContext> +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/usePostApiServicesAppSplashlocationscanningBulktogglenetworks.ts b/src/SplashPage.Web.Ui/src/api/hooks/usePostApiServicesAppSplashlocationscanningBulktogglenetworks.ts new file mode 100644 index 00000000..a9cab64e --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/usePostApiServicesAppSplashlocationscanningBulktogglenetworks.ts @@ -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 + +/** + * {@link /api/services/app/SplashLocationScanning/BulkToggleNetworks} + */ +export async function postApiServicesAppSplashlocationscanningBulktogglenetworks(data?: PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest, params?: PostApiServicesAppSplashlocationscanningBulktogglenetworksQueryParams, config: Partial> & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const requestData = data + + const res = await request, 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> & { client?: typeof fetch } = {}) { + const mutationKey = postApiServicesAppSplashlocationscanningBulktogglenetworksMutationKey() + return mutationOptions, {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(options: +{ + mutation?: UseMutationOptions, {data?: PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest, params?: PostApiServicesAppSplashlocationscanningBulktogglenetworksQueryParams}, TContext> & { client?: QueryClient }, + client?: Partial> & { client?: typeof fetch }, +} + = {}) { + const { mutation = {}, client: config = {} } = options ?? {} + const { client: queryClient, ...mutationOptions } = mutation; + const mutationKey = mutationOptions.mutationKey ?? postApiServicesAppSplashlocationscanningBulktogglenetworksMutationKey() + + const baseOptions = postApiServicesAppSplashlocationscanningBulktogglenetworksMutationOptions(config) as UseMutationOptions, {data?: PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest, params?: PostApiServicesAppSplashlocationscanningBulktogglenetworksQueryParams}, TContext> + + return useMutation, {data?: PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest, params?: PostApiServicesAppSplashlocationscanningBulktogglenetworksQueryParams}, TContext>({ + ...baseOptions, + mutationKey, + ...mutationOptions, + }, queryClient) as UseMutationResult, {data?: PostApiServicesAppSplashlocationscanningBulktogglenetworksMutationRequest, params?: PostApiServicesAppSplashlocationscanningBulktogglenetworksQueryParams}, TContext> +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/hooks/usePostApiServicesAppSplashlocationscanningTogglenetwork.ts b/src/SplashPage.Web.Ui/src/api/hooks/usePostApiServicesAppSplashlocationscanningTogglenetwork.ts new file mode 100644 index 00000000..93caa3c2 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/hooks/usePostApiServicesAppSplashlocationscanningTogglenetwork.ts @@ -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 + +/** + * {@link /api/services/app/SplashLocationScanning/ToggleNetwork} + */ +export async function postApiServicesAppSplashlocationscanningTogglenetwork(params?: PostApiServicesAppSplashlocationscanningTogglenetworkQueryParams, config: Partial & { client?: typeof fetch } = {}) { + const { client: request = fetch, ...requestConfig } = config + + const res = await request, unknown>({ method : "POST", url : `/api/services/app/SplashLocationScanning/ToggleNetwork`, params, ... requestConfig }) + return res.data +} + +export function postApiServicesAppSplashlocationscanningTogglenetworkMutationOptions(config: Partial & { client?: typeof fetch } = {}) { + const mutationKey = postApiServicesAppSplashlocationscanningTogglenetworkMutationKey() + return mutationOptions, {params?: PostApiServicesAppSplashlocationscanningTogglenetworkQueryParams}, typeof mutationKey>({ + mutationKey, + mutationFn: async({ params }) => { + return postApiServicesAppSplashlocationscanningTogglenetwork(params, config) + }, + }) +} + +/** + * {@link /api/services/app/SplashLocationScanning/ToggleNetwork} + */ +export function usePostApiServicesAppSplashlocationscanningTogglenetwork(options: +{ + mutation?: UseMutationOptions, {params?: PostApiServicesAppSplashlocationscanningTogglenetworkQueryParams}, TContext> & { client?: QueryClient }, + client?: Partial & { client?: typeof fetch }, +} + = {}) { + const { mutation = {}, client: config = {} } = options ?? {} + const { client: queryClient, ...mutationOptions } = mutation; + const mutationKey = mutationOptions.mutationKey ?? postApiServicesAppSplashlocationscanningTogglenetworkMutationKey() + + const baseOptions = postApiServicesAppSplashlocationscanningTogglenetworkMutationOptions(config) as UseMutationOptions, {params?: PostApiServicesAppSplashlocationscanningTogglenetworkQueryParams}, TContext> + + return useMutation, {params?: PostApiServicesAppSplashlocationscanningTogglenetworkQueryParams}, TContext>({ + ...baseOptions, + mutationKey, + ...mutationOptions, + }, queryClient) as UseMutationResult, {params?: PostApiServicesAppSplashlocationscanningTogglenetworkQueryParams}, TContext> +} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/schemas/duplicateSplashDashboardDto.json b/src/SplashPage.Web.Ui/src/api/schemas/duplicateSplashDashboardDto.json new file mode 100644 index 00000000..511ccf39 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/schemas/duplicateSplashDashboardDto.json @@ -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"} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/schemas/locationScanningHttpServerConfigResult.json b/src/SplashPage.Web.Ui/src/api/schemas/locationScanningHttpServerConfigResult.json new file mode 100644 index 00000000..a6137714 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/schemas/locationScanningHttpServerConfigResult.json @@ -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"} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/schemas/locationScanningHttpServerDto.json b/src/SplashPage.Web.Ui/src/api/schemas/locationScanningHttpServerDto.json new file mode 100644 index 00000000..91fa17ba --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/schemas/locationScanningHttpServerDto.json @@ -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"} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/schemas/locationScanningHttpServerEndpointDto.json b/src/SplashPage.Web.Ui/src/api/schemas/locationScanningHttpServerEndpointDto.json new file mode 100644 index 00000000..af19af77 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/schemas/locationScanningHttpServerEndpointDto.json @@ -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"} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/schemas/locationScanningHttpServerResponse.json b/src/SplashPage.Web.Ui/src/api/schemas/locationScanningHttpServerResponse.json new file mode 100644 index 00000000..eb331a7f --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/schemas/locationScanningHttpServerResponse.json @@ -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"} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/schemas/locationScanningSettings.json b/src/SplashPage.Web.Ui/src/api/schemas/locationScanningSettings.json new file mode 100644 index 00000000..8ddcd534 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/schemas/locationScanningSettings.json @@ -0,0 +1 @@ +{"type":"object","properties":{"analyticsEnabled":{"type":"boolean"},"scanningApiEnabled":{"type":"boolean"},"validator":{"type":"string","nullable":true}},"additionalProperties":false,"x-readme-ref-name":"LocationScanningSettings"} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/schemas/locationScanningStatisticsDto.json b/src/SplashPage.Web.Ui/src/api/schemas/locationScanningStatisticsDto.json new file mode 100644 index 00000000..468490ab --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/schemas/locationScanningStatisticsDto.json @@ -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"} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/schemas/networkConfigResult.json b/src/SplashPage.Web.Ui/src/api/schemas/networkConfigResult.json new file mode 100644 index 00000000..1e72ad37 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/schemas/networkConfigResult.json @@ -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"} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/schemas/splashLocationScanningConfigDto.json b/src/SplashPage.Web.Ui/src/api/schemas/splashLocationScanningConfigDto.json new file mode 100644 index 00000000..c68752a5 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/schemas/splashLocationScanningConfigDto.json @@ -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"} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/schemas/splashLocationScanningConfigDtoPagedResultDto.json b/src/SplashPage.Web.Ui/src/api/schemas/splashLocationScanningConfigDtoPagedResultDto.json new file mode 100644 index 00000000..f0ab6588 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/schemas/splashLocationScanningConfigDtoPagedResultDto.json @@ -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"} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/schemas/splashPageSubmitResult.json b/src/SplashPage.Web.Ui/src/api/schemas/splashPageSubmitResult.json new file mode 100644 index 00000000..55ff04e6 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/schemas/splashPageSubmitResult.json @@ -0,0 +1 @@ +{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string","nullable":true}},"additionalProperties":false,"x-readme-ref-name":"SplashPageSubmitResult"} \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/DeleteApiServicesAppSplashdashboardserviceDeletedashboard.ts b/src/SplashPage.Web.Ui/src/api/types/DeleteApiServicesAppSplashdashboardserviceDeletedashboard.ts new file mode 100644 index 00000000..39a5bc99 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/DeleteApiServicesAppSplashdashboardserviceDeletedashboard.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppMerakiserviceGethttpservers.ts b/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppMerakiserviceGethttpservers.ts new file mode 100644 index 00000000..e8854392 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppMerakiserviceGethttpservers.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppMerakiserviceGetlocationscanningsettings.ts b/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppMerakiserviceGetlocationscanningsettings.ts new file mode 100644 index 00000000..57e8aa2d --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppMerakiserviceGetlocationscanningsettings.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppSplashlocationscanningGet.ts b/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppSplashlocationscanningGet.ts new file mode 100644 index 00000000..1aee219c --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppSplashlocationscanningGet.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppSplashlocationscanningGetall.ts b/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppSplashlocationscanningGetall.ts new file mode 100644 index 00000000..0c5db9f7 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppSplashlocationscanningGetall.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppSplashlocationscanningGetallwithnetworkinfo.ts b/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppSplashlocationscanningGetallwithnetworkinfo.ts new file mode 100644 index 00000000..69e058cd --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppSplashlocationscanningGetallwithnetworkinfo.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppSplashlocationscanningGetstatistics.ts b/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppSplashlocationscanningGetstatistics.ts new file mode 100644 index 00000000..58e64383 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/GetApiServicesAppSplashlocationscanningGetstatistics.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/LocationScanningHttpServerConfigResult.ts b/src/SplashPage.Web.Ui/src/api/types/LocationScanningHttpServerConfigResult.ts new file mode 100644 index 00000000..b3f6a447 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/LocationScanningHttpServerConfigResult.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/LocationScanningHttpServerDto.ts b/src/SplashPage.Web.Ui/src/api/types/LocationScanningHttpServerDto.ts new file mode 100644 index 00000000..8690eb03 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/LocationScanningHttpServerDto.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/LocationScanningHttpServerEndpointDto.ts b/src/SplashPage.Web.Ui/src/api/types/LocationScanningHttpServerEndpointDto.ts new file mode 100644 index 00000000..a15a6ffe --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/LocationScanningHttpServerEndpointDto.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/LocationScanningHttpServerResponse.ts b/src/SplashPage.Web.Ui/src/api/types/LocationScanningHttpServerResponse.ts new file mode 100644 index 00000000..2d37bffa --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/LocationScanningHttpServerResponse.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/LocationScanningSettings.ts b/src/SplashPage.Web.Ui/src/api/types/LocationScanningSettings.ts new file mode 100644 index 00000000..36056a3e --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/LocationScanningSettings.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/LocationScanningStatisticsDto.ts b/src/SplashPage.Web.Ui/src/api/types/LocationScanningStatisticsDto.ts new file mode 100644 index 00000000..52ec62e5 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/LocationScanningStatisticsDto.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/NetworkConfigResult.ts b/src/SplashPage.Web.Ui/src/api/types/NetworkConfigResult.ts new file mode 100644 index 00000000..32954421 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/NetworkConfigResult.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/PostApiServicesAppLocationscanningserviceConfigure.ts b/src/SplashPage.Web.Ui/src/api/types/PostApiServicesAppLocationscanningserviceConfigure.ts new file mode 100644 index 00000000..7b32b1bc --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/PostApiServicesAppLocationscanningserviceConfigure.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/PostApiServicesAppMerakiserviceConfigurehttpservers.ts b/src/SplashPage.Web.Ui/src/api/types/PostApiServicesAppMerakiserviceConfigurehttpservers.ts new file mode 100644 index 00000000..5df2fc00 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/PostApiServicesAppMerakiserviceConfigurehttpservers.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/PostApiServicesAppMerakiserviceConfigurelocationscanning.ts b/src/SplashPage.Web.Ui/src/api/types/PostApiServicesAppMerakiserviceConfigurelocationscanning.ts new file mode 100644 index 00000000..27209882 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/PostApiServicesAppMerakiserviceConfigurelocationscanning.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/PostApiServicesAppSplashlocationscanningBulktogglenetworks.ts b/src/SplashPage.Web.Ui/src/api/types/PostApiServicesAppSplashlocationscanningBulktogglenetworks.ts new file mode 100644 index 00000000..1c73b931 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/PostApiServicesAppSplashlocationscanningBulktogglenetworks.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/PostApiServicesAppSplashlocationscanningTogglenetwork.ts b/src/SplashPage.Web.Ui/src/api/types/PostApiServicesAppSplashlocationscanningTogglenetwork.ts new file mode 100644 index 00000000..e9b61f6c --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/PostApiServicesAppSplashlocationscanningTogglenetwork.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/SplashLocationScanningConfigDto.ts b/src/SplashPage.Web.Ui/src/api/types/SplashLocationScanningConfigDto.ts new file mode 100644 index 00000000..ea690b65 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/SplashLocationScanningConfigDto.ts @@ -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; +}; \ No newline at end of file diff --git a/src/SplashPage.Web.Ui/src/api/types/SplashLocationScanningConfigDtoPagedResultDto.ts b/src/SplashPage.Web.Ui/src/api/types/SplashLocationScanningConfigDtoPagedResultDto.ts new file mode 100644 index 00000000..9d9b6905 --- /dev/null +++ b/src/SplashPage.Web.Ui/src/api/types/SplashLocationScanningConfigDtoPagedResultDto.ts @@ -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; +}; \ No newline at end of file