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 { PostPayrollsGrossUpPayrollUuidRequest, PostPayrollsGrossUpPayrollUuidResponse } from "../models/operations/postpayrollsgrossuppayrolluuid.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Calculate gross up for a payroll * * @remarks * Calculates gross up earnings for an employee's payroll, given net earnings. This endpoint is only applicable to off-cycle unprocessed payrolls. * * The gross up amount must then be mapped to the corresponding fixed compensation earning type to get the correct payroll amount. For example, for bonus off-cycles, the gross up amount should be set with the Bonus earning type in the payroll `fixed_compensations` field. * * scope: `payrolls:run` * * If set, this operation will use {@link Security.companyAccessAuth} from the global security. */ export declare function payrollsCalculateGrossUp(client: GustoEmbeddedCore, request: PostPayrollsGrossUpPayrollUuidRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=payrollsCalculateGrossUp.d.ts.map