UNPKG

boldsign

Version:

NodeJS client for boldsign

27 lines (26 loc) 1.32 kB
import { Authentication, Interceptor, ApiKeyAuth, DownloadImageRequest, EmbeddedFileDetails, EmbeddedFileLink, IdReport, VerificationDataRequest } from '../model'; import { optionsI } from './'; export declare class IdentityVerificationApi { protected _basePath: string; protected _defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { default: Authentication; Bearer: ApiKeyAuth; 'X-API-KEY': ApiKeyAuth; }; protected interceptors: Interceptor[]; constructor(basePath?: string); set useQuerystring(value: boolean); set basePath(basePath: string); set defaultHeaders(defaultHeaders: any); get defaultHeaders(): any; get basePath(): string; setDefaultAuthentication(auth: Authentication): void; setApiKey(apikey: string): void; setAccessToken(accessToken: string): void; addInterceptor(interceptor: Interceptor): void; createEmbeddedVerificationUrl(documentId: string, embeddedFileDetails?: EmbeddedFileDetails, options?: optionsI): Promise<EmbeddedFileLink>; image(documentId: string, downloadImageRequest: DownloadImageRequest, options?: optionsI): Promise<Buffer>; report(documentId: string, verificationDataRequest: VerificationDataRequest, options?: optionsI): Promise<IdReport>; }