UNPKG

@adyen/kyc-components

Version:

`adyen-kyc-components` provides the required pieces to build an onboarding flow based on a legal entity. To onboard and verify users, you need to create a user interface (UI) to collect user data. To speed up building your integration, Adyen offers onboar

19 lines (18 loc) 1.58 kB
import { type MutationOptions } from '@tanstack/react-query'; import type { ExistingLegalEntity, LegalEntity } from '../../core/models/api/legal-entity'; export type CreateLegalEntity = (data: LegalEntity) => Promise<ExistingLegalEntity>; export declare const useCreateLegalEntity: (options?: Omit<MutationOptions<ExistingLegalEntity, Error, LegalEntity>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<{ documentDetails?: import("../../core/models/api/documentDetail").DocumentDetail[]; entityAssociations?: import("../../core/models/api/legal-entity-association").LegalEntityAssociation[]; individual?: import("../../core/models/api/individual").Individual; organization?: import("../../core/models/api/organization").Organization; soleProprietorship?: import("../../core/models/api/sole-proprietor").SoleProprietor; trust?: import("../../core/models/api/trust").Trust; unincorporatedPartnership?: import("../../core/models/api/unincorporated-partnership").UnincorporatedPartnership; capabilities?: Partial<Record<import("../../core/models/api/capability").CapabilityName, import("../../core/models/api/capability").Capability>>; problems?: import("../../core/models/api/problem").Problem[]; transferInstruments?: import("../../core/models/api/transfer-instrument").TransferInstrumentOverview[]; trustedFields?: import("../../core/models/api/legal-entity").LegalEntityTrustedFields[]; id: string; type: import("../../core/models/api/legal-entity-type").LegalEntityType; }, Error, LegalEntity, unknown>;