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 { GetV1CompaniesCompanyIdPaySchedulesAssignmentsHeaderXGustoAPIVersion, GetV1CompaniesCompanyIdPaySchedulesAssignmentsRequest } from "../models/operations/getv1companiescompanyidpayschedulesassignments.js"; import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js"; import { buildPaySchedulesGetAssignmentsQuery, PaySchedulesGetAssignmentsQueryData, prefetchPaySchedulesGetAssignments, queryKeyPaySchedulesGetAssignments } from "./paySchedulesGetAssignments.core.js"; export { buildPaySchedulesGetAssignmentsQuery, type PaySchedulesGetAssignmentsQueryData, prefetchPaySchedulesGetAssignments, queryKeyPaySchedulesGetAssignments, }; export type PaySchedulesGetAssignmentsQueryError = NotFoundErrorObject | GustoEmbeddedError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Get pay schedule assignments for a company * * @remarks * This endpoint returns the current pay schedule assignment for a company, with pay schedule and employee/department mappings depending on the pay schedule type. * * scope: `pay_schedules:read` */ export declare function usePaySchedulesGetAssignments(request: GetV1CompaniesCompanyIdPaySchedulesAssignmentsRequest, options?: QueryHookOptions): UseQueryResult; /** * Get pay schedule assignments for a company * * @remarks * This endpoint returns the current pay schedule assignment for a company, with pay schedule and employee/department mappings depending on the pay schedule type. * * scope: `pay_schedules:read` */ export declare function usePaySchedulesGetAssignmentsSuspense(request: GetV1CompaniesCompanyIdPaySchedulesAssignmentsRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setPaySchedulesGetAssignmentsData(client: QueryClient, queryKeyBase: [ companyId: string, parameters: { xGustoAPIVersion?: GetV1CompaniesCompanyIdPaySchedulesAssignmentsHeaderXGustoAPIVersion | undefined; } ], data: PaySchedulesGetAssignmentsQueryData): PaySchedulesGetAssignmentsQueryData | undefined; export declare function invalidatePaySchedulesGetAssignments(client: QueryClient, queryKeyBase: TupleToPrefixes<[ companyId: string, parameters: { xGustoAPIVersion?: GetV1CompaniesCompanyIdPaySchedulesAssignmentsHeaderXGustoAPIVersion | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllPaySchedulesGetAssignments(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=paySchedulesGetAssignments.d.ts.map