UNPKG

smartid-calls

Version:

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

30 lines (29 loc) 581 B
/// <reference types="node" /> 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; }