import { MutationKey, UseMutationResult } from "@tanstack/react-query"; import { GustoEmbeddedCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; 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 { UnprocessableEntityError } from "../models/errors/unprocessableentityerror.js"; import { PostV1PayrollsPayrollUuidGeneratedDocumentsPrintablePayrollChecksRequest, PostV1PayrollsPayrollUuidGeneratedDocumentsPrintablePayrollChecksResponse } from "../models/operations/postv1payrollspayrolluuidgenerateddocumentsprintablepayrollchecks.js"; import { MutationHookOptions } from "./_types.js"; export type PayrollsGeneratePrintableChecksMutationVariables = { request: PostV1PayrollsPayrollUuidGeneratedDocumentsPrintablePayrollChecksRequest; options?: RequestOptions; }; export type PayrollsGeneratePrintableChecksMutationData = PostV1PayrollsPayrollUuidGeneratedDocumentsPrintablePayrollChecksResponse; export type PayrollsGeneratePrintableChecksMutationError = NotFoundErrorObject | UnprocessableEntityError | GustoEmbeddedError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Generate printable payroll checks (pdf) * * @remarks * This endpoint initiates the generation of employee checks for the payroll specified by payroll_uuid. A generation status and corresponding request_uuid will be returned. Use the generated document GET endpoint with document_type: `printable_payroll_checks` and request_uuid to poll the check generation process and retrieve the generated check URL upon completion. * * scope: `generated_documents:write` */ export declare function usePayrollsGeneratePrintableChecksMutation(options?: MutationHookOptions): UseMutationResult; export declare function mutationKeyPayrollsGeneratePrintableChecks(): MutationKey; export declare function buildPayrollsGeneratePrintableChecksMutation(client$: GustoEmbeddedCore, hookOptions?: RequestOptions): { mutationKey: MutationKey; mutationFn: (variables: PayrollsGeneratePrintableChecksMutationVariables) => Promise; }; //# sourceMappingURL=payrollsGeneratePrintableChecks.d.ts.map