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 { PutV1TimeOffRequestsTimeOffRequestUuidApproveRequest, PutV1TimeOffRequestsTimeOffRequestUuidApproveResponse } from "../models/operations/putv1timeoffrequeststimeoffrequestuuidapprove.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Approve a time off request * * @remarks * Approve a pending time off request. Optionally override the dates and hours. * * Only requests with a `pending` status can be approved. Attempting to approve a request that has already been `declined` or `consumed` will fail with a 422 error. * * scope: `time_off_requests:manage` * * If set, this operation will use {@link Security.companyAccessAuth} from the global security. */ export declare function timeOffRequestsPutV1TimeOffRequestsTimeOffRequestUuidApprove(client: GustoEmbeddedCore, request: PutV1TimeOffRequestsTimeOffRequestUuidApproveRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=timeOffRequestsPutV1TimeOffRequestsTimeOffRequestUuidApprove.d.ts.map