UNPKG

smartid-calls

Version:

Smart-ID client module for Node.JS with proxy layer

33 lines (28 loc) 492 B
export interface RequestI { idNumber?: string; country?: string; documentNumber?: string; hash?: { digest: string; raw: Buffer; }|string; } export interface SmartIDResponseI { data: object, result: { endResult: string; }, all: object, sessionId?: string, } export interface ModuleConfigI { host: string; algorithm: string; requestParams: object; proxy?: { host: string; port: number; username: string; password: string; }|null; }