UNPKG

vec-idp-web-sdk

Version:

VECU Identity Verification Web SDK - A secure, easy-to-integrate identity verification solution

37 lines 1.08 kB
import { APIClient } from '@/core/APIClient'; export interface IAddressData { name?: string; addressLine1: string; addressLine2?: string; city: string; state: string; zipCode: string; country: string; } export interface IAddressConfirmationOptions { container: HTMLElement; addressData: IAddressData; onConfirm: (sessionId: string, updatedAddress?: IAddressData) => void; onDispute: (sessionId: string) => void; sessionId: string; verificationId?: string; apiClient?: APIClient; } export declare class AddressConfirmation { private logger; private container; private options; private apiClient; constructor(); private injectStyles; private createFormHTML; private createSuccessHTML; private createErrorHTML; private showErrorMessage; show(options: IAddressConfirmationOptions): void; private attachEventListeners; private handleUpdate; destroy(): void; } export declare const addressConfirmation: AddressConfirmation; //# sourceMappingURL=AddressConfirmation.d.ts.map