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 { PostPartnerManagedCompaniesCompanyUuidRetrieveTermsOfServiceRequest, PostPartnerManagedCompaniesCompanyUuidRetrieveTermsOfServiceResponse } from "../models/operations/postpartnermanagedcompaniescompanyuuidretrievetermsofservice.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Retrieve terms of service status for an admin * * @remarks * > Deprecated: use [PUT /v1/partner_managed_companies/{company_uuid}/terms_of_service](https://docs.gusto.com/embedded-payroll/reference/put-v1-partner-managed-companies-company-uuid-terms_of_service) for user-level status, or [GET /v1/partner_managed_companies/{company_uuid}/terms_of_service](https://docs.gusto.com/embedded-payroll/reference/get-v1-partner-managed-companies-company-uuid-terms_of_service) for company-level status. * * Retrieve the user acceptance status of the Gusto Embedded Payroll's [Terms of Service](https://flows.gusto.com/terms). * * scope: `terms_of_services:read` * * 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 companiesRetrieveTermsOfService(client: GustoEmbeddedCore, request: PostPartnerManagedCompaniesCompanyUuidRetrieveTermsOfServiceRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=companiesRetrieveTermsOfService.d.ts.map