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 { PutV1CompaniesCompanyIdPayrollsRequest, PutV1CompaniesCompanyIdPayrollsResponse } from "../models/operations/putv1companiescompanyidpayrolls.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Update a payroll by ID * * @remarks * This endpoint allows you to update information for one or more employees for a specific **unprocessed** payroll. You can think of the **unprocessed** * payroll object as a template of fields that you can update. You cannot modify the structure of the payroll object through this endpoint, only values * of the fields included in the payroll. If you do not include specific employee compensations, fixed/hourly compensations, or deductions in your request body, they * will not be removed from the payroll. A maximum of 100 employee_compensations can be updated at a time. Only the employee compensation objects that were * inputted will be returned. * * scope: `payrolls:write` * * If set, this operation will use {@link Security.companyAccessAuth} from the global security. */ export declare function payrollsUpdate(client: GustoEmbeddedCore, request: PutV1CompaniesCompanyIdPayrollsRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=payrollsUpdate.d.ts.map