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 { PostV1CompaniesCompanyIdCompanyBenefitsRequest, PostV1CompaniesCompanyIdCompanyBenefitsResponse } from "../models/operations/postv1companiescompanyidcompanybenefits.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Create 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 create 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 companyBenefitsCreate(client: GustoEmbeddedCore, request: PostV1CompaniesCompanyIdCompanyBenefitsRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=companyBenefitsCreate.d.ts.map