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 { PutV1CompanyBenefitsCompanyBenefitIdRequest, PutV1CompanyBenefitsCompanyBenefitIdResponse } from "../models/operations/putv1companybenefitscompanybenefitid.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Update a company benefit * * @remarks * Company benefits represent the benefits that a company is offering to employees. This ties together a particular supported benefit with the company-specific information for the offering of that benefit. * * Note that company benefits can be deactivated only when no employees are enrolled. * * When the application has the `company_benefits:write:benefit_type_limited` data scope, the application can only update company benefits for benefit types that are permitted for the application. * * scope: `company_benefits:write` * * If set, this operation will use {@link Security.companyAccessAuth} from the global security. */ export declare function companyBenefitsUpdate(client: GustoEmbeddedCore, request: PutV1CompanyBenefitsCompanyBenefitIdRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=companyBenefitsUpdate.d.ts.map