@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
14 lines (13 loc) • 754 B
TypeScript
import type { QueryOptions } from '../types';
import type { components } from './termsOfService.contract';
export type Request = components['schemas']['TermsOfServiceDocumentRequest'];
export type SuccessResponse = components['schemas']['TermsOfServiceDocumentResponse'];
export declare const getTermsOfService: (legalEntityId: string, url: string, data: Request) => Promise<SuccessResponse>;
export declare const useTermsOfService: (data: Request, options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
document?: string;
id?: string;
language?: string;
termsOfServiceDocumentFormat?: string;
termsOfServiceDocumentId?: string;
type?: components["schemas"]["TermsOfServiceType"];
}, Error>;