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

17 lines (16 loc) 742 B
import type { QueryOptions } from '../types'; import type { components } from './configurations.contract'; type SuccessResponse = components['schemas']['VersionResponse']; /** * Retrieves from the backend information about the version and features/experiments * linked to the legalEntityId * * @param id legalEntityId * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling */ export declare const getVersionConfiguration: (legalEntityId: string, url: string) => Promise<SuccessResponse>; export declare const useVersionConfiguration: (options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{ features?: string[]; version?: number; }, Error>; export {};