UNPKG

@adyen/kyc-components

Version:

This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.

20 lines (19 loc) 976 B
import type { SourceOfFundsPayloadType } from '../../core/models/api/source-of-funds'; import type { MutationOptions } from '../types'; import type { components } from './businessLines.contract'; type BusinessLinesResponse = components['schemas']['BusinessLineDto']; type MutatePayload = SourceOfFundsPayloadType & { businessLineId: string; }; export declare const useUpdateSourceOfFunds: (options?: Omit<MutationOptions<BusinessLinesResponse, Error, MutatePayload>, "mutationFn">) => import("@tanstack/preact-query").UseMutationResult<{ readonly id?: string; industryCode: string; readonly industryCodeDescription?: 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 {};