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 { PostV1PayrollsPayrollIdCalculateAccruingTimeOffHoursRequest, PostV1PayrollsPayrollIdCalculateAccruingTimeOffHoursResponse } from "../models/operations/postv1payrollspayrollidcalculateaccruingtimeoffhours.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Calculate accruing time off hours * * @remarks * Returns a list of accruing time off for each time off policy associated with the employee. * * Factors affecting the accrued hours: * * - the time off policy accrual method (whether they get pay per hour worked, per hour paid, with / without overtime, accumulate time off based on pay period / calendar year / anniversary) * - how many hours of work during this pay period * - how many hours of PTO / sick hours taken during this pay period (for per hour paid policies only) * - company pay schedule frequency (for per pay period) * * If none of the parameters is passed in, the accrued time off hour will be 0. * * scope: `payrolls:read` * * If set, this operation will use {@link Security.companyAccessAuth} from the global security. */ export declare function timeOffPoliciesCalculateAccruingTimeOffHours(client: GustoEmbeddedCore, request: PostV1PayrollsPayrollIdCalculateAccruingTimeOffHoursRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=timeOffPoliciesCalculateAccruingTimeOffHours.d.ts.map