cordova-plugin-scanbot-sdk
Advanced tools
Comparing version 4.1.0 to 4.2.0-beta1
110
index.d.ts
@@ -461,3 +461,94 @@ export interface DocumentScannerConfiguration | ||
} | ||
export interface HealthInsuranceCardScannerConfiguration | ||
{ | ||
/** | ||
* Allowed orientations for automatic interface rotations. * | ||
*/ | ||
allowedInterfaceOrientations?: UIInterfaceOrientationMask; | ||
/** | ||
* Foreground color of the flash button when flash is on. | ||
*/ | ||
bottomButtonsActiveColor?: string; | ||
/** | ||
* Foreground color of the flash button when flash is off. | ||
*/ | ||
bottomButtonsInactiveColor?: string; | ||
/** | ||
* Background color of the detection overlay. | ||
*/ | ||
cameraOverlayColor?: string; | ||
/** | ||
* Whether the cancel button is hidden or not. | ||
*/ | ||
cancelButtonHidden?: boolean; | ||
/** | ||
* String being displayed on the cancel button. | ||
*/ | ||
cancelButtonTitle?: string; | ||
/** | ||
* The receivers delegate. | ||
*/ | ||
delegate?: any; | ||
/** | ||
* String being displayed when health insurance card was not found. | ||
*/ | ||
detectionStatusFailedDetectionText?: string; | ||
/** | ||
* String being displayed when health insurance card was found but not recognized. | ||
*/ | ||
detectionStatusFailedValidationText?: string; | ||
/** | ||
* String being displayed when health insurance card was found and recognized. | ||
*/ | ||
detectionStatusSuccessText?: string; | ||
/** | ||
* Foreground color of the detection overlay. | ||
*/ | ||
finderLineColor?: string; | ||
/** | ||
* Width of finder frame border. Default is 2. | ||
*/ | ||
finderLineWidth?: number; | ||
/** | ||
* String being displayed as description. | ||
*/ | ||
finderTextHint?: string; | ||
/** | ||
* Foreground color of the description label. | ||
*/ | ||
finderTextHintColor?: string; | ||
/** | ||
* String being displayed on the flash button. | ||
*/ | ||
flashButtonTitle?: string; | ||
/** | ||
* Whether flash is toggled on or off. | ||
*/ | ||
flashEnabled?: boolean; | ||
/** | ||
* Enables or disables the machine readable zones detection. | ||
*/ | ||
recognitionEnabled?: boolean; | ||
/** | ||
* Background color of the top bar. | ||
*/ | ||
topBarBackgroundColor?: string; | ||
/** | ||
* Foreground color of the cancel button. | ||
*/ | ||
topBarButtonsColor?: string; | ||
/** | ||
* The type of health insurance card validation. | ||
*/ | ||
validationType?: HealthInsuranceCardValidationType; | ||
} | ||
type HealthInsuranceCardValidationType = | ||
"NONE" | ||
| "AUTO_ANY" | ||
| "AUTO_SUPPORTED" | ||
| "GERMAN" | ||
| "AUSTRIAN" | ||
; | ||
export type UIInterfaceOrientationMask = | ||
@@ -539,2 +630,4 @@ "PORTRAIT" | ||
export type HealthInsuranceCardDetectionStatus = "SUCCESS" | "FAILED_DETECTION" | "FAILED_VALIDATION"; | ||
export type ImageFilter = | ||
@@ -639,2 +732,14 @@ "NONE" | ||
export interface HealthInsuranceCardScannerResult { | ||
status: Status; | ||
ehicResult?: { | ||
fields: { | ||
type: string; | ||
value: string; | ||
confidence: number; | ||
}[]; | ||
} | ||
} | ||
export interface LicenseInfo { | ||
@@ -709,2 +814,3 @@ isLicenseValid: boolean; | ||
startBarcodeScanner(args?: {uiConfigs?: BarcodeScannerConfiguration}): Promise<BarcodeResult>; | ||
startEHICScanner(args?: {uiConfigs?: HealthInsuranceCardScannerConfiguration}): Promise<HealthInsuranceCardScannerResult>; | ||
} | ||
@@ -789,2 +895,6 @@ | ||
args?: {uiConfigs?: BarcodeScannerConfiguration}); | ||
startEHICScanner( | ||
success: SuccessCallback<HealthInsuranceCardScannerResult>, | ||
error: ErrorCallback, | ||
args?: {uiConfigs?: HealthInsuranceCardScannerConfiguration}); | ||
} | ||
@@ -791,0 +901,0 @@ |
{ | ||
"name": "cordova-plugin-scanbot-sdk", | ||
"version": "4.1.0", | ||
"version": "4.2.0-beta1", | ||
"description": "Cordova Plugin for Scanbot SDK", | ||
@@ -42,2 +42,12 @@ "cordova": { | ||
"homepage": "https://scanbot.io", | ||
"requires": { | ||
"https": "1.0.0", | ||
"adm-zip": "0.4.16", | ||
"path": "0.12.7" | ||
}, | ||
"dependencies": { | ||
"https": "1.0.0", | ||
"adm-zip": "0.4.16", | ||
"path": "0.12.7" | ||
}, | ||
"devDependencies": { | ||
@@ -44,0 +54,0 @@ "https": "1.0.0", |
@@ -32,2 +32,3 @@ /* | ||
startMrzScanner: makeUiCaller("startMrzScanner"), | ||
startEHICScanner: makeUiCaller("startEHICScanner"), | ||
}, | ||
@@ -34,0 +35,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
344201
3836
3
1
+ Addedadm-zip@0.4.16
+ Addedhttps@1.0.0
+ Addedpath@0.12.7
+ Addedadm-zip@0.4.16(transitive)
+ Addedhttps@1.0.0(transitive)
+ Addedinherits@2.0.3(transitive)
+ Addedpath@0.12.7(transitive)
+ Addedprocess@0.11.10(transitive)
+ Addedutil@0.10.4(transitive)