import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query"; import { GustoEmbeddedError } from "../models/errors/gustoembeddederror.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { NotFoundErrorObject } from "../models/errors/notfounderrorobject.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { GetWireInRequestsWireInRequestUuidHeaderXGustoAPIVersion, GetWireInRequestsWireInRequestUuidRequest } from "../models/operations/getwireinrequestswireinrequestuuid.js"; import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js"; import { buildWireInRequestsGetQuery, prefetchWireInRequestsGet, queryKeyWireInRequestsGet, WireInRequestsGetQueryData } from "./wireInRequestsGet.core.js"; export { buildWireInRequestsGetQuery, prefetchWireInRequestsGet, queryKeyWireInRequestsGet, type WireInRequestsGetQueryData, }; export type WireInRequestsGetQueryError = NotFoundErrorObject | GustoEmbeddedError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Get a single Wire In Request * * @remarks * Fetch a Wire In Request. * * scope: `payrolls:read` */ export declare function useWireInRequestsGet(request: GetWireInRequestsWireInRequestUuidRequest, options?: QueryHookOptions): UseQueryResult; /** * Get a single Wire In Request * * @remarks * Fetch a Wire In Request. * * scope: `payrolls:read` */ export declare function useWireInRequestsGetSuspense(request: GetWireInRequestsWireInRequestUuidRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setWireInRequestsGetData(client: QueryClient, queryKeyBase: [ wireInRequestUuid: string, parameters: { xGustoAPIVersion?: GetWireInRequestsWireInRequestUuidHeaderXGustoAPIVersion | undefined; } ], data: WireInRequestsGetQueryData): WireInRequestsGetQueryData | undefined; export declare function invalidateWireInRequestsGet(client: QueryClient, queryKeyBase: TupleToPrefixes<[ wireInRequestUuid: string, parameters: { xGustoAPIVersion?: GetWireInRequestsWireInRequestUuidHeaderXGustoAPIVersion | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllWireInRequestsGet(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=wireInRequestsGet.d.ts.map