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 { PutV1PartnerManagedCompaniesCompanyUuidMigrateRequest, PutV1PartnerManagedCompaniesCompanyUuidMigrateResponse } from "../models/operations/putv1partnermanagedcompaniescompanyuuidmigrate.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Migrate company to embedded payroll * * @remarks * Migrate an existing Gusto customer to your embedded payroll product. * * ### Prerequisites * Before calling this endpoint: * 1. The customer must connect their Gusto account to your application using [OAuth2](doc:oauth2) * 2. The customer must view and [accept the Embedded Payroll Terms of Service](ref:post-partner-managed-companies-company_uuid-accept_terms_of_service) * * ### Related guides * - [Migrate an existing company](doc:migrate-existing-company) * * scope: `partner_managed_companies:write` * * If set, this operation will use {@link Security.companyAccessAuth} from the global security. */ export declare function companiesMigrate(client: GustoEmbeddedCore, request: PutV1PartnerManagedCompaniesCompanyUuidMigrateRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=companiesMigrate.d.ts.map