ekyc-sdk-arm
Version:
Automated Recognition Module
21 lines (20 loc) • 1.06 kB
TypeScript
import { Config, RequestCreateSession, RequestSaveTransaction, RequestVerify, ResponseCreateSession, ResponseGetResult, ResponseVerify, SaveTransactionDetail, SaveTransactionError, TypeCall, ResponseCheckStatus } from "../interface";
export declare class LivenessService {
private AxiosCall;
private Path;
private ApiKey;
private TypeCall;
constructor(api_key: string, path_api: string, type: TypeCall);
GetConfig(): Promise<Config>;
CreateSession(param: RequestCreateSession): Promise<ResponseCreateSession>;
SaveTransaction(param: RequestSaveTransaction): Promise<SaveTransactionDetail | SaveTransactionError>;
SetPathAPI(path_api: string): void;
GetPathAPI(): string;
SetApiKey(api_key: string): void;
GetApiKey(): string;
SetTypeCall(type: TypeCall): void;
GetTypeCall(): TypeCall;
Verify(request: RequestVerify): Promise<ResponseVerify>;
GetResult(session_id: string): Promise<ResponseGetResult>;
CheckStatusService(cust_uuid: string): Promise<ResponseCheckStatus>;
}