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 { PostV1CompaniesCompanyIdPayrollsRequest, PostV1CompaniesCompanyIdPayrollsResponse } from "../models/operations/postv1companiescompanyidpayrolls.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Create an off-cycle payroll * * @remarks * Creates a new, unprocessed, off-cycle payroll. * * ## `off_cycle_reason` * By default: * - External benefits and deductions will be included when the `off_cycle_reason` is set to `Correction`. * - All benefits and deductions are blocked when the `off_cycle_reason` is set to `Bonus`. * * These elections can be overridden with the `skip_regular_deductions` boolean. * * scope: `payrolls:run` * * If set, this operation will use {@link Security.companyAccessAuth} from the global security. */ export declare function payrollsCreateOffCycle(client: GustoEmbeddedCore, request: PostV1CompaniesCompanyIdPayrollsRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=payrollsCreateOffCycle.d.ts.map