UNPKG

@regulaforensics/ionic-native-face-api-beta

Version:
1,187 lines 161 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import { AwesomeCordovaNativePlugin, cordova } from '@awesome-cordova-plugins/core'; var FaceCaptureException = /** @class */ (function () { function FaceCaptureException() { } FaceCaptureException.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new FaceCaptureException; result.errorCode = jsonObject["errorCode"]; result.message = jsonObject["message"]; return result; }; return FaceCaptureException; }()); export { FaceCaptureException }; var InitException = /** @class */ (function () { function InitException() { } InitException.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new InitException; result.errorCode = jsonObject["errorCode"]; result.message = jsonObject["message"]; return result; }; return InitException; }()); export { InitException }; var LivenessErrorException = /** @class */ (function () { function LivenessErrorException() { } LivenessErrorException.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new LivenessErrorException; result.errorCode = jsonObject["errorCode"]; result.underlyingException = LivenessBackendException.fromJson(jsonObject["underlyingException"]); result.message = jsonObject["message"]; return result; }; return LivenessErrorException; }()); export { LivenessErrorException }; var LivenessBackendException = /** @class */ (function () { function LivenessBackendException() { } LivenessBackendException.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new LivenessBackendException; result.errorCode = jsonObject["errorCode"]; result.message = jsonObject["message"]; return result; }; return LivenessBackendException; }()); export { LivenessBackendException }; var MatchFacesException = /** @class */ (function () { function MatchFacesException() { } MatchFacesException.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new MatchFacesException; result.errorCode = jsonObject["errorCode"]; result.message = jsonObject["message"]; return result; }; return MatchFacesException; }()); export { MatchFacesException }; var FaceCaptureResponse = /** @class */ (function () { function FaceCaptureResponse() { } FaceCaptureResponse.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new FaceCaptureResponse; result.exception = FaceCaptureException.fromJson(jsonObject["exception"]); result.image = Image.fromJson(jsonObject["image"]); return result; }; return FaceCaptureResponse; }()); export { FaceCaptureResponse }; var LivenessResponse = /** @class */ (function () { function LivenessResponse() { } LivenessResponse.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new LivenessResponse; result.bitmap = jsonObject["bitmap"]; result.liveness = jsonObject["liveness"]; result.tag = jsonObject["tag"]; result.transactionId = jsonObject["transactionId"]; result.estimatedAge = jsonObject["estimatedAge"]; result.exception = LivenessErrorException.fromJson(jsonObject["exception"]); return result; }; return LivenessResponse; }()); export { LivenessResponse }; var MatchFacesResponse = /** @class */ (function () { function MatchFacesResponse() { } MatchFacesResponse.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new MatchFacesResponse; result.tag = jsonObject["tag"]; result.exception = MatchFacesException.fromJson(jsonObject["exception"]); result.detections = []; if (jsonObject["detections"] != null) { for (var i in jsonObject["detections"]) { var item = MatchFacesDetection.fromJson(jsonObject["detections"][i]); if (item != undefined) result.detections.push(item); } } result.results = []; if (jsonObject["results"] != null) { for (var i in jsonObject["results"]) { var item = MatchFacesComparedFacesPair.fromJson(jsonObject["results"][i]); if (item != undefined) result.results.push(item); } } return result; }; return MatchFacesResponse; }()); export { MatchFacesResponse }; var Image = /** @class */ (function () { function Image() { } Image.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new Image; result.imageType = jsonObject["imageType"]; result.bitmap = jsonObject["bitmap"]; result.tag = jsonObject["tag"]; result.imageData = jsonObject["imageData"]; return result; }; return Image; }()); export { Image }; var MatchFacesRequest = /** @class */ (function () { function MatchFacesRequest() { } MatchFacesRequest.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new MatchFacesRequest; result.images = []; if (jsonObject["images"] != null) { for (var i in jsonObject["images"]) { var item = MatchFacesImage.fromJson(jsonObject["images"][i]); if (item != undefined) result.images.push(item); } } result.customMetadata = jsonObject["customMetadata"]; result.thumbnails = jsonObject["thumbnails"]; result.tag = jsonObject["tag"]; return result; }; return MatchFacesRequest; }()); export { MatchFacesRequest }; var MatchFacesImage = /** @class */ (function () { function MatchFacesImage() { } MatchFacesImage.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new MatchFacesImage; result.imageType = jsonObject["imageType"]; result.detectAll = jsonObject["detectAll"]; result.bitmap = jsonObject["bitmap"]; result.identifier = jsonObject["identifier"]; return result; }; return MatchFacesImage; }()); export { MatchFacesImage }; var MatchFacesComparedFacesPair = /** @class */ (function () { function MatchFacesComparedFacesPair() { } MatchFacesComparedFacesPair.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new MatchFacesComparedFacesPair; result.first = MatchFacesComparedFace.fromJson(jsonObject["first"]); result.second = MatchFacesComparedFace.fromJson(jsonObject["second"]); result.similarity = jsonObject["similarity"]; result.score = jsonObject["score"]; result.exception = MatchFacesException.fromJson(jsonObject["exception"]); return result; }; return MatchFacesComparedFacesPair; }()); export { MatchFacesComparedFacesPair }; var MatchFacesComparedFace = /** @class */ (function () { function MatchFacesComparedFace() { } MatchFacesComparedFace.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new MatchFacesComparedFace; result.face = MatchFacesDetectionFace.fromJson(jsonObject["face"]); result.image = MatchFacesImage.fromJson(jsonObject["image"]); result.faceIndex = jsonObject["faceIndex"]; result.imageIndex = jsonObject["imageIndex"]; return result; }; return MatchFacesComparedFace; }()); export { MatchFacesComparedFace }; var MatchFacesDetectionFace = /** @class */ (function () { function MatchFacesDetectionFace() { } MatchFacesDetectionFace.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new MatchFacesDetectionFace; result.faceIndex = jsonObject["faceIndex"]; result.landmarks = []; if (jsonObject["landmarks"] != null) { for (var i in jsonObject["landmarks"]) { var item = Point.fromJson(jsonObject["landmarks"][i]); if (item != undefined) result.landmarks.push(item); } } result.faceRect = Rect.fromJson(jsonObject["faceRect"]); result.rotationAngle = jsonObject["rotationAngle"]; result.thumbnail = jsonObject["thumbnail"]; return result; }; return MatchFacesDetectionFace; }()); export { MatchFacesDetectionFace }; var MatchFacesDetection = /** @class */ (function () { function MatchFacesDetection() { } MatchFacesDetection.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new MatchFacesDetection; result.image = MatchFacesImage.fromJson(jsonObject["image"]); result.imageIndex = jsonObject["imageIndex"]; result.faces = []; if (jsonObject["faces"] != null) { for (var i in jsonObject["faces"]) { var item = MatchFacesDetectionFace.fromJson(jsonObject["faces"][i]); if (item != undefined) result.faces.push(item); } } result.exception = MatchFacesException.fromJson(jsonObject["exception"]); return result; }; return MatchFacesDetection; }()); export { MatchFacesDetection }; var Point = /** @class */ (function () { function Point() { } Point.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new Point; result.x = jsonObject["x"]; result.y = jsonObject["y"]; return result; }; return Point; }()); export { Point }; var Rect = /** @class */ (function () { function Rect() { } Rect.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new Rect; result.bottom = jsonObject["bottom"]; result.top = jsonObject["top"]; result.left = jsonObject["left"]; result.right = jsonObject["right"]; return result; }; return Rect; }()); export { Rect }; var MatchFacesSimilarityThresholdSplit = /** @class */ (function () { function MatchFacesSimilarityThresholdSplit() { } MatchFacesSimilarityThresholdSplit.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new MatchFacesSimilarityThresholdSplit; result.matchedFaces = []; if (jsonObject["matchedFaces"] != null) { for (var i in jsonObject["matchedFaces"]) { var item = MatchFacesComparedFacesPair.fromJson(jsonObject["matchedFaces"][i]); if (item != undefined) result.matchedFaces.push(item); } } result.unmatchedFaces = []; if (jsonObject["unmatchedFaces"] != null) { for (var i in jsonObject["unmatchedFaces"]) { var item = MatchFacesComparedFacesPair.fromJson(jsonObject["unmatchedFaces"][i]); if (item != undefined) result.unmatchedFaces.push(item); } } return result; }; return MatchFacesSimilarityThresholdSplit; }()); export { MatchFacesSimilarityThresholdSplit }; var DetectFacesRequest = /** @class */ (function () { function DetectFacesRequest() { } DetectFacesRequest.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new DetectFacesRequest; result.tag = jsonObject["tag"]; result.scenario = jsonObject["scenario"]; result.image = jsonObject["image"]; result.configuration = DetectFacesConfiguration.fromJson(jsonObject["configuration"]); return result; }; return DetectFacesRequest; }()); export { DetectFacesRequest }; var DetectFacesConfiguration = /** @class */ (function () { function DetectFacesConfiguration() { } DetectFacesConfiguration.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new DetectFacesConfiguration; result.attributes = []; if (jsonObject["attributes"] != null) { for (var i in jsonObject["attributes"]) { result.attributes.push(jsonObject["attributes"][i]); } } result.customQuality = []; if (jsonObject["customQuality"] != null) { for (var i in jsonObject["customQuality"]) { var item = ImageQualityCharacteristic.fromJson(jsonObject["customQuality"][i]); if (item != undefined) result.customQuality.push(item); } } result.outputImageParams = OutputImageParams.fromJson(jsonObject["outputImageParams"]); result.onlyCentralFace = jsonObject["onlyCentralFace"]; return result; }; return DetectFacesConfiguration; }()); export { DetectFacesConfiguration }; var OutputImageParams = /** @class */ (function () { function OutputImageParams() { } OutputImageParams.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new OutputImageParams; result.backgroundColor = jsonObject["backgroundColor"]; result.crop = OutputImageCrop.fromJson(jsonObject["crop"]); return result; }; return OutputImageParams; }()); export { OutputImageParams }; var OutputImageCrop = /** @class */ (function () { function OutputImageCrop() { } OutputImageCrop.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new OutputImageCrop; result.type = jsonObject["type"]; result.size = Size.fromJson(jsonObject["size"]); result.padColor = jsonObject["padColor"]; result.returnOriginalRect = jsonObject["returnOriginalRect"]; return result; }; return OutputImageCrop; }()); export { OutputImageCrop }; var ImageQualityCharacteristic = /** @class */ (function () { function ImageQualityCharacteristic() { } ImageQualityCharacteristic.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new ImageQualityCharacteristic; result.characteristicName = jsonObject["characteristicName"]; result.imageQualityGroup = jsonObject["imageQualityGroup"]; result.recommendedRange = ImageQualityRange.fromJson(jsonObject["recommendedRange"]); result.customRange = ImageQualityRange.fromJson(jsonObject["customRange"]); return result; }; return ImageQualityCharacteristic; }()); export { ImageQualityCharacteristic }; var ImageQualityRange = /** @class */ (function () { function ImageQualityRange() { } ImageQualityRange.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new ImageQualityRange; result.min = jsonObject["min"]; result.max = jsonObject["max"]; return result; }; return ImageQualityRange; }()); export { ImageQualityRange }; var Size = /** @class */ (function () { function Size() { } Size.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new Size; result.width = jsonObject["width"]; result.height = jsonObject["height"]; return result; }; return Size; }()); export { Size }; var DetectFacesResponse = /** @class */ (function () { function DetectFacesResponse() { } DetectFacesResponse.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new DetectFacesResponse; result.detection = DetectFaceResult.fromJson(jsonObject["detection"]); result.scenario = jsonObject["scenario"]; result.error = DetectFacesErrorException.fromJson(jsonObject["error"]); result.allDetections = []; if (jsonObject["allDetections"] != null) { for (var i in jsonObject["allDetections"]) { var item = DetectFaceResult.fromJson(jsonObject["allDetections"][i]); if (item != undefined) result.allDetections.push(item); } } return result; }; return DetectFacesResponse; }()); export { DetectFacesResponse }; var DetectFacesErrorException = /** @class */ (function () { function DetectFacesErrorException() { } DetectFacesErrorException.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new DetectFacesErrorException; result.errorCode = jsonObject["errorCode"]; result.underlyingException = DetectFacesBackendException.fromJson(jsonObject["underlyingException"]); result.message = jsonObject["message"]; return result; }; return DetectFacesErrorException; }()); export { DetectFacesErrorException }; var DetectFacesBackendException = /** @class */ (function () { function DetectFacesBackendException() { } DetectFacesBackendException.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new DetectFacesBackendException; result.errorCode = jsonObject["errorCode"]; result.message = jsonObject["message"]; return result; }; return DetectFacesBackendException; }()); export { DetectFacesBackendException }; var DetectFaceResult = /** @class */ (function () { function DetectFaceResult() { } DetectFaceResult.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new DetectFaceResult; result.quality = []; if (jsonObject["quality"] != null) { for (var i in jsonObject["quality"]) { var item = ImageQualityResult.fromJson(jsonObject["quality"][i]); if (item != undefined) result.quality.push(item); } } result.attributes = []; if (jsonObject["attributes"] != null) { for (var i in jsonObject["attributes"]) { var item = DetectFacesAttributeResult.fromJson(jsonObject["attributes"][i]); if (item != undefined) result.attributes.push(item); } } result.landmarks = []; if (jsonObject["landmarks"] != null) { for (var i in jsonObject["landmarks"]) { var item = Point.fromJson(jsonObject["landmarks"][i]); if (item != undefined) result.landmarks.push(item); } } result.crop = jsonObject["crop"]; result.faceRect = Rect.fromJson(jsonObject["faceRect"]); result.originalRect = Rect.fromJson(jsonObject["originalRect"]); result.isQualityCompliant = jsonObject["isQualityCompliant"]; return result; }; return DetectFaceResult; }()); export { DetectFaceResult }; var ImageQualityResult = /** @class */ (function () { function ImageQualityResult() { } ImageQualityResult.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new ImageQualityResult; result.name = jsonObject["name"]; result.group = jsonObject["group"]; result.status = jsonObject["status"]; result.range = ImageQualityRange.fromJson(jsonObject["range"]); result.value = jsonObject["value"]; return result; }; return ImageQualityResult; }()); export { ImageQualityResult }; var DetectFacesAttributeResult = /** @class */ (function () { function DetectFacesAttributeResult() { } DetectFacesAttributeResult.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new DetectFacesAttributeResult; result.attribute = jsonObject["attribute"]; result.value = jsonObject["value"]; result.range = ImageQualityRange.fromJson(jsonObject["range"]); result.confidence = jsonObject["confidence"]; return result; }; return DetectFacesAttributeResult; }()); export { DetectFacesAttributeResult }; var Font = /** @class */ (function () { function Font() { } Font.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new Font; result.name = jsonObject["name"]; result.style = jsonObject["style"]; result.size = jsonObject["size"]; return result; }; return Font; }()); export { Font }; var Person = /** @class */ (function () { function Person() { } Person.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new Person; result.name = jsonObject["name"]; result.groups = []; if (jsonObject["groups"] != null) { for (var i in jsonObject["groups"]) { result.groups.push(jsonObject["groups"][i]); } } result.updatedAt = jsonObject["updatedAt"]; result.id = jsonObject["id"]; result.metadata = jsonObject["metadata"]; result.createdAt = jsonObject["createdAt"]; return result; }; return Person; }()); export { Person }; var PersonGroup = /** @class */ (function () { function PersonGroup() { } PersonGroup.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new PersonGroup; result.name = jsonObject["name"]; result.id = jsonObject["id"]; result.metadata = jsonObject["metadata"]; result.createdAt = jsonObject["createdAt"]; return result; }; return PersonGroup; }()); export { PersonGroup }; var PersonImage = /** @class */ (function () { function PersonImage() { } PersonImage.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new PersonImage; result.path = jsonObject["path"]; result.url = jsonObject["url"]; result.contentType = jsonObject["contentType"]; result.id = jsonObject["id"]; result.metadata = jsonObject["metadata"]; result.createdAt = jsonObject["createdAt"]; return result; }; return PersonImage; }()); export { PersonImage }; var ImageUpload = /** @class */ (function () { function ImageUpload() { } ImageUpload.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new ImageUpload; result.imageData = jsonObject["imageData"]; return result; }; return ImageUpload; }()); export { ImageUpload }; var EditGroupPersonsRequest = /** @class */ (function () { function EditGroupPersonsRequest() { } EditGroupPersonsRequest.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new EditGroupPersonsRequest; result.personIdsToAdd = []; if (jsonObject["personIdsToAdd"] != null) { for (var i in jsonObject["personIdsToAdd"]) { result.personIdsToAdd.push(jsonObject["personIdsToAdd"][i]); } } result.personIdsToRemove = []; if (jsonObject["personIdsToRemove"] != null) { for (var i in jsonObject["personIdsToRemove"]) { result.personIdsToRemove.push(jsonObject["personIdsToRemove"][i]); } } return result; }; return EditGroupPersonsRequest; }()); export { EditGroupPersonsRequest }; var SearchPersonRequest = /** @class */ (function () { function SearchPersonRequest() { } SearchPersonRequest.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new SearchPersonRequest; result.outputImageParams = OutputImageParams.fromJson(jsonObject["outputImageParams"]); result.groupIdsForSearch = []; if (jsonObject["groupIdsForSearch"] != null) { for (var i in jsonObject["groupIdsForSearch"]) { result.groupIdsForSearch.push(jsonObject["groupIdsForSearch"][i]); } } result.threshold = jsonObject["threshold"]; result.limit = jsonObject["limit"]; result.imageUpload = ImageUpload.fromJson(jsonObject["imageUpload"]); result.detectAll = jsonObject["detectAll"]; return result; }; return SearchPersonRequest; }()); export { SearchPersonRequest }; var SearchPerson = /** @class */ (function () { function SearchPerson() { } SearchPerson.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new SearchPerson; result.detection = SearchPersonDetection.fromJson(jsonObject["detection"]); result.images = []; if (jsonObject["images"] != null) { for (var i in jsonObject["images"]) { var item = SearchPersonImage.fromJson(jsonObject["images"][i]); if (item != undefined) result.images.push(item); } } result.name = jsonObject["name"]; result.groups = []; if (jsonObject["groups"] != null) { for (var i in jsonObject["groups"]) { result.groups.push(jsonObject["groups"][i]); } } result.updatedAt = jsonObject["updatedAt"]; result.id = jsonObject["id"]; result.metadata = jsonObject["metadata"]; result.createdAt = jsonObject["createdAt"]; return result; }; return SearchPerson; }()); export { SearchPerson }; var SearchPersonImage = /** @class */ (function () { function SearchPersonImage() { } SearchPersonImage.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new SearchPersonImage; result.similarity = jsonObject["similarity"]; result.distance = jsonObject["distance"]; result.path = jsonObject["path"]; result.url = jsonObject["url"]; result.contentType = jsonObject["contentType"]; result.id = jsonObject["id"]; result.metadata = jsonObject["metadata"]; result.createdAt = jsonObject["createdAt"]; return result; }; return SearchPersonImage; }()); export { SearchPersonImage }; var SearchPersonDetection = /** @class */ (function () { function SearchPersonDetection() { } SearchPersonDetection.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new SearchPersonDetection; result.landmarks = []; if (jsonObject["landmarks"] != null) { for (var i in jsonObject["landmarks"]) { var item = Point.fromJson(jsonObject["landmarks"][i]); if (item != undefined) result.landmarks.push(item); } } result.rect = Rect.fromJson(jsonObject["rect"]); result.cropImage = jsonObject["cropImage"]; result.rotationAngle = jsonObject["rotationAngle"]; return result; }; return SearchPersonDetection; }()); export { SearchPersonDetection }; var LivenessNotification = /** @class */ (function () { function LivenessNotification() { } LivenessNotification.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new LivenessNotification; result.status = jsonObject["status"]; result.response = LivenessResponse.fromJson(jsonObject["response"]); return result; }; return LivenessNotification; }()); export { LivenessNotification }; var VideoEncoderCompletion = /** @class */ (function () { function VideoEncoderCompletion() { } VideoEncoderCompletion.fromJson = function (jsonObject) { if (jsonObject == null || jsonObject == undefined) return undefined; var result = new VideoEncoderCompletion; result.success = jsonObject["success"]; result.transactionId = jsonObject["transactionId"]; return result; }; return VideoEncoderCompletion; }()); export { VideoEncoderCompletion }; export var FontStyle = { NORMAL: 0, BOLD: 1, ITALIC: 2, BOLD_ITALIC: 3, }; export var CustomizationColor = { ONBOARDING_SCREEN_START_BUTTON_BACKGROUND: "CustomizationColor.ONBOARDING_SCREEN_START_BUTTON_BACKGROUND", ONBOARDING_SCREEN_START_BUTTON_TITLE: "CustomizationColor.ONBOARDING_SCREEN_START_BUTTON_TITLE", ONBOARDING_SCREEN_BACKGROUND: "CustomizationColor.ONBOARDING_SCREEN_BACKGROUND", ONBOARDING_SCREEN_TITLE_LABEL_TEXT: "CustomizationColor.ONBOARDING_SCREEN_TITLE_LABEL_TEXT", ONBOARDING_SCREEN_MESSAGE_LABEL_TEXT: "CustomizationColor.ONBOARDING_SCREEN_MESSAGE_LABEL_TEXT", CAMERA_SCREEN_STROKE_NORMAL: "CustomizationColor.CAMERA_SCREEN_STROKE_NORMAL", CAMERA_SCREEN_STROKE_ACTIVE: "CustomizationColor.CAMERA_SCREEN_STROKE_ACTIVE", CAMERA_SCREEN_SECTOR_TARGET: "CustomizationColor.CAMERA_SCREEN_SECTOR_TARGET", CAMERA_SCREEN_SECTOR_ACTIVE: "CustomizationColor.CAMERA_SCREEN_SECTOR_ACTIVE", CAMERA_SCREEN_FRONT_HINT_LABEL_BACKGROUND: "CustomizationColor.CAMERA_SCREEN_FRONT_HINT_LABEL_BACKGROUND", CAMERA_SCREEN_FRONT_HINT_LABEL_TEXT: "CustomizationColor.CAMERA_SCREEN_FRONT_HINT_LABEL_TEXT", CAMERA_SCREEN_BACK_HINT_LABEL_BACKGROUND: "CustomizationColor.CAMERA_SCREEN_BACK_HINT_LABEL_BACKGROUND", CAMERA_SCREEN_BACK_HINT_LABEL_TEXT: "CustomizationColor.CAMERA_SCREEN_BACK_HINT_LABEL_TEXT", CAMERA_SCREEN_LIGHT_TOOLBAR_TINT: "CustomizationColor.CAMERA_SCREEN_LIGHT_TOOLBAR_TINT", CAMERA_SCREEN_DARK_TOOLBAR_TINT: "CustomizationColor.CAMERA_SCREEN_DARK_TOOLBAR_TINT", RETRY_SCREEN_BACKGROUND: "CustomizationColor.RETRY_SCREEN_BACKGROUND", RETRY_SCREEN_RETRY_BUTTON_BACKGROUND: "CustomizationColor.RETRY_SCREEN_RETRY_BUTTON_BACKGROUND", RETRY_SCREEN_RETRY_BUTTON_TITLE: "CustomizationColor.RETRY_SCREEN_RETRY_BUTTON_TITLE", RETRY_SCREEN_TITLE_LABEL_TEXT: "CustomizationColor.RETRY_SCREEN_TITLE_LABEL_TEXT", RETRY_SCREEN_HINT_LABELS_TEXT: "CustomizationColor.RETRY_SCREEN_HINT_LABELS_TEXT", PROCESSING_SCREEN_BACKGROUND: "CustomizationColor.PROCESSING_SCREEN_BACKGROUND", PROCESSING_SCREEN_PROGRESS: "CustomizationColor.PROCESSING_SCREEN_PROGRESS", PROCESSING_SCREEN_TITLE: "CustomizationColor.PROCESSING_SCREEN_TITLE", SUCCESS_SCREEN_BACKGROUND: "CustomizationColor.SUCCESS_SCREEN_BACKGROUND", }; export var ImageQualityGroupName = { IMAGE_CHARACTERISTICS: 1, HEAD_SIZE_AND_POSITION: 2, FACE_QUALITY: 3, EYES_CHARACTERISTICS: 4, SHADOWS_AND_LIGHTNING: 5, POSE_AND_EXPRESSION: 6, HEAD_OCCLUSION: 7, BACKGROUND: 8, UNKNOWN: 9, }; export var DetectFacesErrorCode = { IMAGE_EMPTY: "IMAGE_EMPTY", FR_FACE_NOT_DETECTED: "FR_FACE_NOT_DETECTED", FACER_NO_LICENSE: "FACER_NO_LICENSE", FACER_IS_NOT_INITIALIZED: "FACER_IS_NOT_INITIALIZED", FACER_COMMAND_IS_NOT_SUPPORTED: "FACER_COMMAND_IS_NOT_SUPPORTED", FACER_COMMAND_PARAMS_READ_ERROR: "FACER_COMMAND_PARAMS_READ_ERROR", PROCESSING_FAILED: "PROCESSING_FAILED", REQUEST_FAILED: "REQUEST_FAILED", API_CALL_FAILED: "API_CALL_FAILED", }; export var InitErrorCode = { IN_PROGRESS_ALREADY: "IN_PROGRESS_ALREADY", CONTEXT_IS_NULL: "CONTEXT_IS_NULL", MISSING_CORE: "MISSING_CORE", INTERNAL_CORE_ERROR: "INTERNAL_CORE_ERROR", }; export var LivenessStatus = { PASSED: "PASSED", UNKNOWN: "UNKNOWN", }; export var CameraErrorCode = { CAMERA_NOT_AVAILABLE: "CAMERA_NOT_AVAILABLE", CAMERA_NO_PERMISSION: "CAMERA_NO_PERMISSION", }; export var LivenessErrorCode = { CONTEXT_IS_NULL: "CONTEXT_IS_NULL", IN_PROGRESS_ALREADY: "IN_PROGRESS_ALREADY", ZOOM_NOT_SUPPORTED: "ZOOM_NOT_SUPPORTED", NO_LICENSE: "NO_LICENSE", CANCELLED: "CANCELLED", PROCESSING_TIMEOUT: "PROCESSING_TIMEOUT", API_CALL_FAILED: "API_CALL_FAILED", PROCESSING_FAILED: "PROCESSING_FAILED", NOT_INITIALIZED: "NOT_INITIALIZED", CAMERA_NO_PERMISSION: "CAMERA_NO_PERMISSION", CAMERA_NOT_AVAILABLE: "CAMERA_NOT_AVAILABLE", PROCESSING_FRAME_FAILED: "PROCESSING_FRAME_FAILED", SESSION_START_FAILED: "SESSION_START_FAILED", }; export var DetectFacesBackendErrorCode = { FR_FACE_NOT_DETECTED: 2, FACER_NO_LICENSE: 200, FACER_IS_NOT_INITIALIZED: 201, FACER_COMMAND_IS_NOT_SUPPORTED: 202, FACER_COMMAND_PARAMS_READ_ERROR: 203, UNDEFINED: -1, }; export var MatchFacesErrorCode = { IMAGE_EMPTY: "IMAGE_EMPTY", FACE_NOT_DETECTED: "FACE_NOT_DETECTED", LANDMARKS_NOT_DETECTED: "LANDMARKS_NOT_DETECTED", FACE_ALIGNER_FAILED: "FACE_ALIGNER_FAILED", DESCRIPTOR_EXTRACTOR_ERROR: "DESCRIPTOR_EXTRACTOR_ERROR", NO_LICENSE: "NO_LICENSE", IMAGES_COUNT_LIMIT_EXCEEDED: "IMAGES_COUNT_LIMIT_EXCEEDED", API_CALL_FAILED: "API_CALL_FAILED", PROCESSING_FAILED: "PROCESSING_FAILED", }; export var ImageQualityCharacteristicName = { IMAGE_WIDTH: "ImageWidth", IMAGE_HEIGHT: "ImageHeight", IMAGE_WIDTH_TO_HEIGHT: "ImageWidthToHeight", IMAGE_CHANNELS_NUMBER: "ImageChannelsNumber", ART_FACE: "ArtFace", PADDING_RATIO: "PaddingRatio", FACE_MID_POINT_HORIZONTAL_POSITION: "FaceMidPointHorizontalPosition", FACE_MID_POINT_VERTICAL_POSITION: "FaceMidPointVerticalPosition", HEAD_WIDTH_RATIO: "HeadWidthRatio", HEAD_HEIGHT_RATIO: "HeadHeightRatio", EYES_DISTANCE: "EyesDistance", YAW: "Yaw", PITCH: "Pitch", ROLL: "Roll", BLUR_LEVEL: "BlurLevel", NOISE_LEVEL: "NoiseLevel", UNNATURAL_SKIN_TONE: "UnnaturalSkinTone", FACE_DYNAMIC_RANGE: "FaceDynamicRange", EYE_RIGHT_CLOSED: "EyeRightClosed", EYE_LEFT_CLOSED: "EyeLeftClosed", EYE_RIGHT_OCCLUDED: "EyeRightOccluded", EYE_LEFT_OCCLUDED: "EyeLeftOccluded", EYES_RED: "EyesRed", EYE_RIGHT_COVERED_WITH_HAIR: "EyeRightCoveredWithHair", EYE_LEFT_COVERED_WITH_HAIR: "EyeLeftCoveredWithHair", OFF_GAZE: "OffGaze", TOO_DARK: "TooDark", TOO_LIGHT: "TooLight", FACE_GLARE: "FaceGlare", SHADOWS_ON_FACE: "ShadowsOnFace", SHOULDERS_POSE: "ShouldersPose", EXPRESSION_LEVEL: "ExpressionLevel", MOUTH_OPEN: "MouthOpen", SMILE: "Smile", DARK_GLASSES: "DarkGlasses", REFLECTION_ON_GLASSES: "ReflectionOnGlasses", FRAMES_TOO_HEAVY: "FramesTooHeavy", FACE_OCCLUDED: "FaceOccluded", HEAD_COVERING: "HeadCovering", FOREHEAD_COVERING: "ForeheadCovering", STRONG_MAKEUP: "StrongMakeup", HEAD_PHONES: "Headphones", MEDICAL_MASK: "MedicalMask", BACKGROUND_UNIFORMITY: "BackgroundUniformity", SHADOWS_ON_BACKGROUND: "ShadowsOnBackground", OTHER_FACES: "OtherFaces", BACKGROUND_COLOR_MATCH: "BackgroundColorMatch", UNKNOWN: "Unknown", IMAGE_CHARACTERISTIC_ALL_RECOMMENDED: "ImageCharacteristic", HEAD_SIZE_AND_POSITION_ALL_RECOMMENDED: "HeadSizeAndPosition", FACE_IMAGE_QUALITY_ALL_RECOMMENDED: "FaceImageQuality", EYES_CHARACTERISTICS_ALL_RECOMMENDED: "EyesCharacteristics", SHADOW_AND_LIGHTING_ALL_RECOMMENDED: "ShadowsAndLightning", POSE_AND_EXPRESSION_ALL_RECOMMENDED: "PoseAndExpression", HEAD_OCCLUSION_ALL_RECOMMENDED: "HeadOcclusion", QUALITY_BACKGROUND_ALL_RECOMMENDED: "QualityBackground", }; export var ButtonTag = { CLOSE: 1001, TORCH: 1002, CAMERA_SWITCH: 1003, }; export var CustomizationFont = { ONBOARDING_SCREEN_START_BUTTON: "CustomizationFont.ONBOARDING_SCREEN_START_BUTTON", ONBOARDING_SCREEN_TITLE_LABEL: "CustomizationFont.ONBOARDING_SCREEN_TITLE_LABEL", ONBOARDING_SCREEN_MESSAGE_LABEL: "CustomizationFont.ONBOARDING_SCREEN_MESSAGE_LABEL", CAMERA_SCREEN_HINT_LABEL: "CustomizationFont.CAMERA_SCREEN_HINT_LABEL", RETRY_SCREEN_RETRY_BUTTON: "CustomizationFont.RETRY_SCREEN_RETRY_BUTTON", RETRY_SCREEN_TITLE_LABEL: "CustomizationFont.RETRY_SCREEN_TITLE_LABEL", RETRY_SCREEN_HINT_LABELS: "CustomizationFont.RETRY_SCREEN_HINT_LABELS", PROCESSING_SCREEN: "CustomizationFont.PROCESSING_SCREEN", }; export var DetectFacesScenario = { CROP_CENTRAL_FACE: "CropCentralFace", CROP_ALL_FACES: "CropAllFaces", THUMBNAIL: "Thumbnail", ATTRIBUTES_ALL: "AttributesAll", QUALITY_FULL: "QualityFull", QUALITY_ICAO: "QualityICAO", QUALITY_VISA_SCHENGEN: "QualityVisaSchengen", QUALITY_VISA_USA: "QualityVisaUSA", }; export var LivenessProcessStatus = { START: "START", PREPARING: "PREPARING", NEW_SESSION: "NEW_SESSION", NEXT_STAGE: "NEXT_STAGE", SECTOR_CHANGED: "SECTOR_CHANGED", PROGRESS: "PROGRESS", LOW_BRIGHTNESS: "LOW_BRIGHTNESS", FIT_FACE: "FIT_FACE", MOVE_AWAY: "MOVE_AWAY", MOVE_CLOSER: "MOVE_CLOSER", TURN_HEAD: "TURN_HEAD", PROCESSING: "PROCESSING", FAILED: "FAILED", RETRY: "RETRY", SUCCESS: "SUCCESS", }; export var OutputImageCropAspectRatio = { OUTPUT_IMAGE_CROP_ASPECT_RATIO_3X4: 0, OUTPUT_IMAGE_CROP_ASPECT_RATIO_4X5: 1, OUTPUT_IMAGE_CROP_ASPECT_RATIO_2X3: 2, OUTPUT_IMAGE_CROP_ASPECT_RATIO_1X1: 3, OUTPUT_IMAGE_CROP_ASPECT_RATIO_7X9: 4, }; export var LivenessSkipStep = { ONBOARDING_STEP: 1, SUCCESS_STEP: 2, }; export var ImageQualityResultStatus = { IMAGE_QUALITY_RESULT_STATUS_FALSE: 0, IMAGE_QUALITY_RESULT_STATUS_TRUE: 1, IMAGE_QUALITY_RESULT_STATUS_UNDETERMINED: 2, }; export var ImageType = { PRINTED: 1, RFID: 2, LIVE: 3, DOCUMENT_WITH_LIVE: 4, EXTERNAL: 5, GHOST_PORTRAIT: 6, }; export var FaceCaptureErrorCode = { CANCEL: "CANCEL", CAMERA_NOT_AVAILABLE: "CAMERA_NOT_AVAILABLE", CAMERA_NO_PERMISSION: "CAMERA_NO_PERMISSION", IN_PROGRESS_ALREADY: "IN_PROGRESS_ALREADY", CONTEXT_IS_NULL: "CONTEXT_IS_NULL", TIMEOUT: "TIMEOUT", NOT_INITIALIZED: "NOT_INITIALIZED", SESSION_START_FAILED: "SESSION_START_FAILED", }; export var LivenessBackendErrorCode = { UNDEFINED: -1, NO_LICENSE: 200, LOW_QUALITY: 231, HIGH_ASYMMETRY: 232, TRACK_BREAK: 246, CLOSED_EYES_DETECTED: 230, FACE_OVER_EMOTIONAL: 233, SUNGLASSES_DETECTED: 234, SMALL_AGE: 235, HEADDRESS_DETECTED: 236, MEDICINE_MASK_DETECTED: 239, OCCLUSION_DETECTED: 240, FOREHEAD_GLASSES_DETECTED: 242, MOUTH_OPENED: 243, ART_MASK_DETECTED: 244, NOT_MATCHED: 237, IMAGES_COUNT_LIMIT_EXCEEDED: 238, ELECTRONIC_DEVICE_DETECTED: 245, WRONG_GEO: 247, WRONG_OF: 248, WRONG_VIEW: 249, }; export var CustomizationImage = { ONBOARDING_SCREEN_CLOSE_BUTTON: "CustomizationImage.ONBOARDING_SCREEN_CLOSE_BUTTON", ONBOARDING_SCREEN_ILLUMINATION: "CustomizationImage.ONBOARDING_SCREEN_ILLUMINATION", ONBOARDING_SCREEN_ACCESSORIES: "CustomizationImage.ONBOARDING_SCREEN_ACCESSORIES", ONBOARDING_SCREEN_CAMERA_LEVEL: "CustomizationImage.ONBOARDING_SCREEN_CAMERA_LEVEL", CAMERA_SCREEN_CLOSE_BUTTON: "CustomizationImage.CAMERA_SCREEN_CLOSE_BUTTON", CAMERA_SCREEN_LIGHT_ON_BUTTON: "CustomizationImage.CAMERA_SCREEN_LIGHT_ON_BUTTON", CAMERA_SCREEN_LIGHT_OFF_BUTTON: "CustomizationImage.CAMERA_SCREEN_LIGHT_OFF_BUTTON", CAMERA_SCREEN_SWITCH_BUTTON: "CustomizationImage.CAMERA_SCREEN_SWITCH_BUTTON", RETRY_SCREEN_CLOSE_BUTTON: "CustomizationImage.RETRY_SCREEN_CLOSE_BUTTON", RETRY_SCREEN_HINT_ENVIRONMENT: "CustomizationImage.RETRY_SCREEN_HINT_ENVIRONMENT", RETRY_SCREEN_HINT_SUBJECT: "CustomizationImage.RETRY_SCREEN_HINT_SUBJECT", PROCESSING_SCREEN_CLOSE_BUTTON: "CustomizationImage.PROCESSING_SCREEN_CLOSE_BUTTON", SUCCESS_SCREEN_IMAGE: "CustomizationImage.SUCCESS_SCREEN_IMAGE", }; export var DetectFacesAttribute = { AGE: "Age", EYE_RIGHT: "EyeRight", EYE_LEFT: "EyeLeft", EMOTION: "Emotion", SMILE: "Smile", GLASSES: "Glasses", HEAD_COVERING: "HeadCovering", FOREHEAD_COVERING: "ForeheadCovering", MOUTH: "Mouth", MEDICAL_MASK: "MedicalMask", OCCLUSION: "Occlusion", STRONG_MAKEUP: "StrongMakeup", HEADPHONES: "Headphones", }; export var Enum = { FontStyle: FontStyle, CustomizationColor: CustomizationColor, ImageQualityGroupName: ImageQualityGroupName, DetectFacesErrorCode: DetectFacesErrorCode, InitErrorCode: InitErrorCode, LivenessStatus: LivenessStatus, CameraErrorCode: CameraErrorCode, LivenessErrorCode: LivenessErrorCode, DetectFacesBackendErrorCode: DetectFacesBackendErrorCode, MatchFacesErrorCode: MatchFacesErrorCode, ImageQualityCharacteristicName: ImageQualityCharacteristicName, ButtonTag: ButtonTag, CustomizationFont: CustomizationFont, DetectFacesScenario: DetectFacesScenario, LivenessProcessStatus: LivenessProcessStatus, OutputImageCropAspectRatio: OutputImageCropAspectRatio, LivenessSkipStep: LivenessSkipStep, ImageQualityResultStatus: ImageQualityResultStatus, ImageType: ImageType, FaceCaptureErrorCode: FaceCaptureErrorCode, LivenessBackendErrorCode: LivenessBackendErrorCode, CustomizationImage: CustomizationImage, DetectFacesAttribute: DetectFacesAttribute, }; var FaceSDKOriginal = /** @class */ (function (_super) { __extends(FaceSDKOriginal, _super); function FaceSDKOriginal() { return _super !== null && _super.apply(this, arguments) || this; } FaceSDKOriginal.prototype.getServiceUrl = function () { return cordova(this, "getServiceUrl", {}, arguments); }; FaceSDKOriginal.prototype.startLiveness = function () { return cordova(this, "startLiveness", {}, arguments); }; FaceSDKOriginal.prototype.getFaceSdkVersion = function () { return cordova(this, "getFaceSdkVersion", {}, arguments); }; FaceSDKOriginal.prototype.presentFaceCaptureActivity = function () { return cordova(this, "presentFaceCaptureActivity", {}, arguments); }; FaceSDKOriginal.prototype.stopFaceCaptureActivity = function () { return cordova(this, "stopFaceCaptureActivity", {}, arguments); }; FaceSDKOriginal.prototype.init = function () { return cordova(this, "init", {}, arguments); }; FaceSDKOriginal.prototype.deinit = function () { return cordova(this, "deinit", {}, arguments); }; FaceSDKOriginal.prototype.isInitialized = function () { return cordova(this, "isInitialized", {}, arguments); }; FaceSDKOriginal.prototype.stopLivenessProcessing = function () { return cordova(this, "stopLivenessProcessing", {}, arguments); }; FaceSDKOriginal.prototype.setRequestHeaders = function (headers) { return cordova(this, "setRequestHeaders", {}, arguments); }; FaceSDKOriginal.prototype.presentFaceCaptureActivityWithConfig = function (config) { return cordova(this, "presentFaceCaptureActivityWithConfig", {}, arguments); }; FaceSDKOriginal.prototype.startLivenessWithConfig = function (config) { return cordova(this, "startLivenessWithConfig", {}, arguments); }; FaceSDKOriginal.prototype.setServiceUrl = function (url) { return cordova(this, "setServiceUrl", {}, arguments); }; FaceSDKOriginal.prototype.matchFaces = function (request) { return cordova(this, "matchFaces", {}, arguments); }; FaceSDKOriginal.prototype.detectFaces = function (request) { return cordova(this, "detectFaces", {}, arguments); }; FaceSDKOriginal.prototype.setUiCustomizationLayer = function (json) { return cordova(this, "setUiCustomizationLayer", {}, arguments); }; FaceSDKOriginal.prototype.setUiConfiguration = function (config) { return cordova(this, "setUiConfiguration", {}, arguments); }; FaceSDKOriginal.prototype.setLanguage = function (language) { return cordova(this, "setLanguage", {}, arguments); }; FaceSDKOriginal.prototype.matchFacesSimilarityThresholdSplit = function (faces, similarity) { return cordova(this, "matchFacesSimilarityThresholdSplit", {}, arguments); }; FaceSDKOriginal.prototype.getPerson = function (personId) { return cordova(this, "getPerson", {}, arguments); }; FaceSDKOriginal.prototype.createPerson = function (name, groupIds, metadata) { return cordova(this, "createPerson", {}, arguments); }; FaceSDKOriginal.prototype.updatePerson = function (person) { return cordova(this, "updatePerson", {}, arguments); }; FaceSDKOriginal.prototype.deletePerson = function (personId) { return cordova(this, "deletePerson", {}, arguments); }; FaceSDKOriginal.prototype.getPersonImages = function (personId) { return cordova(this, "getPersonImages", {}, arguments); }; FaceSDKOriginal.prototype.getPersonImagesForPage = function (personId, page, size) { return cordova(this, "getPersonImagesForPage", {}, arguments); }; FaceSDKOriginal.prototype.addPersonImage = function (personId, image) { return cordova(this, "addPersonImage", {}, arguments); }; FaceSDKOriginal.prototype.getPersonImage = function (personId, imageId) { return cordova(this, "getPersonImage", {}, arguments); }; FaceSDKOriginal.prototype.deletePersonImage = function (personId, imageId) { return cordova(this, "deletePersonImage", {}, arguments); }; FaceSDKOriginal.prototype.getGroups = function () { return cordova(this, "getGroups", {}, arguments); }; FaceSDKOriginal.prototype.getGroupsForPage = function (page, size) { return cordova(this, "getGroupsForPage", {}, arguments); }; FaceSDKOriginal.prototype.getPersonGroups = function (personId) { return cordova(this, "getPersonGroups", {}, arguments); }; FaceSDKOriginal.prototype.getPersonGroupsForPage = function (personId, page, size) { return cordova(this, "getPersonGroupsForPage", {}, arguments); }; FaceSDKOriginal.prototype.createGroup = function (name, metadata) { return cordova(this, "createGroup", {}, arguments); }; FaceSDKOriginal.prototype.getGroup = function (groupId) { return cordova(this, "getGroup", {}, arguments); }; FaceSDKOriginal.prototype.updateGroup = function (group) { return cordova(this, "updateGroup", {}, arguments); }; FaceSDKOriginal.prototype.editPersonsInGroup = function (groupId, editGroupPersonsRequest) { return cordova(this, "editPersonsInGroup", {}, arguments); }; FaceSDKOriginal.prototype.getPersonsInGroup = function (groupId) { return cordova(this, "getPersonsInGroup", {}, arguments); }; FaceSDKOriginal.prototype.getPersonsInGroupForPage = function (groupId, page, size) { return cordova(this, "getPersonsInGroupForPage", {}, arguments); }; FaceSDKOriginal.prototype.deleteGroup = function (groupId) { return cordova(this, "deleteGroup", {}, arguments); }; FaceSDKOriginal.prototype.searchPerson = function (searchPersonRequest) { return cordova(this, "searchPerson", {}, arguments); }; FaceSDKOriginal.pluginName = "FaceSDK"; FaceSDKOriginal.plugin = "cordova-plugin-face-api"; FaceSDKOriginal.pluginRef = "FaceSDKPlugin.FaceSDK"; FaceSDKOriginal.repo = "https://github.com/regulaforensics/FaceApi-Cordova-Plugin"; FaceSDKOriginal.platforms = ["Android", "iOS"]; return FaceSDKOriginal; }(AwesomeCordovaNativePlugin)); var FaceSDK = new FaceSDKOriginal(); export { FaceSDK }; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvQGF3ZXNvbWUtY29yZG92YS1wbHVnaW5zL3BsdWdpbnMvZmFjZS1hcGkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUNB