UNPKG

vec-idp-web-sdk

Version:

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

31 lines 849 B
export interface IVecuIDVConfig { sdkKey: string; apiUrl?: string; deploymentStage?: 'sandbox' | 'production' | 'pre-prod'; theme?: 'light' | 'dark' | 'auto'; language?: string; autoRetry?: boolean; maxRetries?: number; timeout?: number; debug?: boolean; logLevel?: 'error' | 'warn' | 'info' | 'debug'; } export interface IAPIConfig { baseUrl: string; sdkKey: string; timeout: number; maxRetries: number; retryDelay: number; } export interface IApiKeyValidationResponse { valid: boolean; keyId?: string; organizationId?: string; deploymentStage?: string; permissions?: string[]; scopes?: string[]; message?: string; } export type Theme = 'light' | 'dark' | 'auto'; export type LogLevel = 'error' | 'warn' | 'info' | 'debug'; //# sourceMappingURL=config.d.ts.map