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

13 lines (12 loc) 849 B
import { type MutationOptions } from '@tanstack/react-query'; import type { components } from '#api/termsOfService/termsOfService.contract'; import type { ServiceAgreementSignResponse } from '../../core/models/api/contracts'; type Request = components['schemas']['AcceptTermsOfServiceRequest']; type SuccessResponse = ServiceAgreementSignResponse; export declare const acceptTermsOfService: (legalEntityId: string, url: string, termsOfServiceDocumentId: string, data: Request) => Promise<SuccessResponse>; export declare const useAcceptTermsOfService: (options?: Omit<MutationOptions<SuccessResponse, unknown, Request>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<ServiceAgreementSignResponse, unknown, { acceptedBy: string; legalEntityReference: string; termsOfServiceDocumentId: string; }, unknown>; export {};