@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
21 lines (20 loc) • 1.67 kB
TypeScript
import { type MutationOptions } from '@tanstack/react-query';
import type { ExistingLegalEntity, NewPatchLegalEntity } from '../../core/models/api/legal-entity';
type SuccessResponse = ExistingLegalEntity;
export type UpdateLegalEntity = (data: NewPatchLegalEntity) => Promise<SuccessResponse>;
export declare const useUpdateLegalEntity: (options?: Omit<MutationOptions<SuccessResponse, Error, NewPatchLegalEntity>, "mutationFn" | "onSuccess">) => 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, NewPatchLegalEntity, unknown>;
export {};