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 { PostPartnerManagedCompaniesCompanyUuidAcceptTermsOfServiceRequest, PostPartnerManagedCompaniesCompanyUuidAcceptTermsOfServiceResponse } from "../models/operations/postpartnermanagedcompaniescompanyuuidaccepttermsofservice.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Accept terms of service for an admin * * @remarks * > Deprecated: use [POST /v1/partner_managed_companies/{company_uuid}/terms_of_service](https://docs.gusto.com/embedded-payroll/reference/post-v1-partner-managed-companies-company-uuid-terms_of_service). * * Accept the Gusto Embedded Payroll's [Terms of Service](https://flows.gusto.com/terms). * The user must be a company admin in order to accept the Terms of Service. * * scope: `terms_of_services:write` * * If set, this operation will use {@link Security.companyAccessAuth} from the global security. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ export declare function companiesAcceptTermsOfService(client: GustoEmbeddedCore, request: PostPartnerManagedCompaniesCompanyUuidAcceptTermsOfServiceRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=companiesAcceptTermsOfService.d.ts.map