@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
16 lines (15 loc) • 1.01 kB
TypeScript
import type { QueryOptions } from '../types';
import type { components } from './transferInstruments.contract';
export type GetTransferInstrumentResponse = components['schemas']['TransferInstrumentOverview'][];
export type TransferInstrumentReference = components['schemas']['TransferInstrumentOverview'];
export type TransferInstrumentReferenceWithStatusId = Omit<TransferInstrumentReference, 'transferInstrument' | 'status'> & {
status: NonNullable<components['schemas']['TransferInstrumentOverview']['status']>;
transferInstrument: Omit<components['schemas']['TransferInstrumentReferenceDto'], 'id'> & {
id: string;
};
};
/**
* Gets a list of transfer instruments associated with a legal entity
* @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
*/
export declare const useGetTransferInstruments: (options?: QueryOptions<GetTransferInstrumentResponse>) => import("@tanstack/react-query").UseQueryResult<GetTransferInstrumentResponse, Error>;