@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.
7 lines (6 loc) • 384 B
TypeScript
import type { QueryOptions } from '../types';
import type { components } from './configurations.contract';
type TaskTypesResponse = components['schemas']['TaskType'][];
export type QueryKeyTaskTypes = ['taskTypes'];
export declare const useTaskTypes: (options?: QueryOptions<TaskTypesResponse>) => import("@tanstack/preact-query").UseQueryResult<TaskTypesResponse, Error>;
export {};