@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) • 929 B
TypeScript
import { type MutationOptions } from '@tanstack/react-query';
import type { SourceOfFundsPayloadType } from '../../core/models/api/source-of-funds';
import type { components } from './businessLines.contract';
type SuccessResponse = components['schemas']['BusinessLineDto'];
type MutatePayload = SourceOfFundsPayloadType & {
businessLineId: string;
};
export declare const useUpdateSourceOfFunds: (options?: Omit<MutationOptions<SuccessResponse, Error, MutatePayload>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<{
readonly id?: string;
industryCode: string;
legalEntityId: string;
salesChannels?: string[];
service: components["schemas"]["Service"];
sourceOfFunds?: components["schemas"]["SourceOfFundsDto"];
webData?: components["schemas"]["WebDataDto"][];
webDataExemption?: components["schemas"]["WebDataExemptionDto"];
}, Error, MutatePayload, unknown>;
export {};