UNPKG

@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.

15 lines (14 loc) 613 B
import type { MutationOptions } from '../types'; import type { CreateInvitationRequest, InvitationResponse } from './invitations.types'; export declare const useCreateInvitation: (options?: Omit<MutationOptions<InvitationResponse, unknown, { organizationLegalEntityId: string; inviteeLegalEntityId: string; data: CreateInvitationRequest; }>, "mutationFn">) => import("@tanstack/preact-query").UseMutationResult<Required<{ emailSent?: boolean; url?: string; }>, unknown, { organizationLegalEntityId: string; inviteeLegalEntityId: string; data: CreateInvitationRequest; }, unknown>;