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 { GetV1JobsJobIdCompensationsRequest, GetV1JobsJobIdCompensationsResponse } from "../models/operations/getv1jobsjobidcompensations.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Get compensations for a job * * @remarks * Compensations contain information on how much is paid out for a job. Jobs may have many compensations, but only one that is active. The current compensation is the one with the most recent `effective_date`. * * *Note: Currently the API does not support creating multiple compensations per job - creating a compensation with the same job_uuid as another will fail with a relevant error.* * * Use `flsa_status` to determine if an employee is eligible for overtime * By default the API returns only the current compensation - use the `include` parameter to return all compensations. * * scope: `compensations:read` * * If set, this operation will use {@link Security.companyAccessAuth} from the global security. */ export declare function jobsAndCompensationsGetCompensations(client: GustoEmbeddedCore, request: GetV1JobsJobIdCompensationsRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=jobsAndCompensationsGetCompensations.d.ts.map