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 { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { GetCompaniesCompanyUuidWireInRequestUuidHeaderXGustoAPIVersion, GetCompaniesCompanyUuidWireInRequestUuidRequest } from "../models/operations/getcompaniescompanyuuidwireinrequestuuid.js"; import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js"; import { buildWireInRequestsListQuery, prefetchWireInRequestsList, queryKeyWireInRequestsList, WireInRequestsListQueryData } from "./wireInRequestsList.core.js"; export { buildWireInRequestsListQuery, prefetchWireInRequestsList, queryKeyWireInRequestsList, type WireInRequestsListQueryData, }; export type WireInRequestsListQueryError = GustoEmbeddedError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Get all Wire In Requests for a company * * @remarks * Fetches all Wire In Requests for a company. * * scope: `payrolls:read` */ export declare function useWireInRequestsList(request: GetCompaniesCompanyUuidWireInRequestUuidRequest, options?: QueryHookOptions): UseQueryResult; /** * Get all Wire In Requests for a company * * @remarks * Fetches all Wire In Requests for a company. * * scope: `payrolls:read` */ export declare function useWireInRequestsListSuspense(request: GetCompaniesCompanyUuidWireInRequestUuidRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setWireInRequestsListData(client: QueryClient, queryKeyBase: [ companyUuid: string, parameters: { xGustoAPIVersion?: GetCompaniesCompanyUuidWireInRequestUuidHeaderXGustoAPIVersion | undefined; page?: number | undefined; per?: number | undefined; } ], data: WireInRequestsListQueryData): WireInRequestsListQueryData | undefined; export declare function invalidateWireInRequestsList(client: QueryClient, queryKeyBase: TupleToPrefixes<[ companyUuid: string, parameters: { xGustoAPIVersion?: GetCompaniesCompanyUuidWireInRequestUuidHeaderXGustoAPIVersion | undefined; page?: number | undefined; per?: number | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllWireInRequestsList(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=wireInRequestsList.d.ts.map