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 { PutV1PartnerManagedCompaniesCompanyUuidTermsOfServiceRequest, PutV1PartnerManagedCompaniesCompanyUuidTermsOfServiceResponse } from "../models/operations/putv1partnermanagedcompaniescompanyuuidtermsofservice.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Check terms of service status for a specific user * * @remarks * Check user-specific Terms of Service acceptance for the Gusto Embedded Payroll [Terms of Service](https://flows.gusto.com/terms). * * The user must have a role on the company. Returns whether the specific user has accepted the latest TOS version. * * Uses PUT (rather than GET) to hide the email address from URL logs. * * scope: `terms_of_services:read` * * If set, this operation will use {@link Security.companyAccessAuth} from the global security. */ export declare function companiesPutV1PartnerManagedCompaniesCompanyUuidTermsOfService(client: GustoEmbeddedCore, request: PutV1PartnerManagedCompaniesCompanyUuidTermsOfServiceRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=companiesPutV1PartnerManagedCompaniesCompanyUuidTermsOfService.d.ts.map