@regulaforensics/ionic-native-document-reader 6.7.1 → 6.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/example/config.xml +1 -1
- package/example/package.json +3 -3
- package/example/src/app/home/home.page.ts +21 -19
- package/index.d.ts +107 -25
- package/index.js +53 -2788
- package/ngx/index.d.ts +107 -25
- package/ngx/index.js +54 -2789
- package/package.json +1 -1
- package/reactExample/ios/App/App.xcodeproj/project.pbxproj +2 -2
- package/reactExample/package.json +3 -3
- package/reactExample/src/pages/Home.tsx +1 -1
package/example/config.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<widget android-packageName="com.regula.documentreader" ios-CFBundleIdentifier="
|
|
2
|
+
<widget android-packageName="com.regula.documentreader" ios-CFBundleIdentifier="regula.DocumentReader" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
|
3
3
|
<name>DocumentReader</name>
|
|
4
4
|
<description>A sample Regula Document Reader application for reading and validation of identification documents.</description>
|
|
5
5
|
<author email="cordova.support@regulaforensics.com" href="https://mobile.regulaforensics.com">Regula Forensics Inc.</author>
|
package/example/package.json
CHANGED
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"@ionic/angular": "^6.0.15",
|
|
29
29
|
"@ionic/cordova-builders": "^6.1.0",
|
|
30
30
|
"cordova-ios": "^6.2.0",
|
|
31
|
-
"@regulaforensics/cordova-plugin-document-reader-api": "6.
|
|
32
|
-
"@regulaforensics/cordova-plugin-document-reader-core-fullrfid": "6.
|
|
33
|
-
"@regulaforensics/ionic-native-document-reader": "6.
|
|
31
|
+
"@regulaforensics/cordova-plugin-document-reader-api": "6.8.0",
|
|
32
|
+
"@regulaforensics/cordova-plugin-document-reader-core-fullrfid": "6.8.0",
|
|
33
|
+
"@regulaforensics/ionic-native-document-reader": "6.8.0",
|
|
34
34
|
"cordova-android": "^10.1.1",
|
|
35
35
|
"cordova-plugin-add-swift-support": "^2.0.2",
|
|
36
36
|
"cordova-plugin-android-permissions": "^1.1.0",
|
|
@@ -166,8 +166,9 @@ export class HomePage {
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
function updateRfidUI(notification: DocumentReaderNotification) {
|
|
169
|
+
if (notification.value === undefined) return
|
|
169
170
|
if (notification.code === Enum.eRFID_NotificationCodes.RFID_NOTIFICATION_PCSC_READING_DATAGROUP)
|
|
170
|
-
rfidDescription =
|
|
171
|
+
rfidDescription = notification.dataFileType.toString()
|
|
171
172
|
rfidUIHeader = "Reading RFID"
|
|
172
173
|
rfidUIHeaderColor = "black"
|
|
173
174
|
rfidProgress = notification.value
|
|
@@ -178,32 +179,33 @@ export class HomePage {
|
|
|
178
179
|
|
|
179
180
|
function customRFID() {
|
|
180
181
|
showRfidUI()
|
|
181
|
-
DocumentReader.readRFID().subscribe(m =>
|
|
182
|
-
handleCompletion(DocumentReaderCompletion.fromJson(JSON.parse(m))))
|
|
182
|
+
DocumentReader.readRFID().subscribe(m => handleRfidCompletion(m))
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
function usualRFID() {
|
|
186
186
|
isReadingRfid = true
|
|
187
|
+
DocumentReader.startRFIDReader().subscribe(m => handleRfidCompletion(m))
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
function handleRfidCompletion(raw: string) {
|
|
187
191
|
var notification = "rfidNotificationCompletionEvent"
|
|
188
192
|
var paCert = "paCertificateCompletionEvent"
|
|
189
193
|
var taCert = "taCertificateCompletionEvent"
|
|
190
194
|
var taSig = "taSignatureCompletionEvent"
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
handleCompletion(DocumentReaderCompletion.fromJson(JSON.parse(m)))
|
|
206
|
-
})
|
|
195
|
+
if (raw.substring(0, notification.length) === notification) {
|
|
196
|
+
raw = raw.substring(notification.length, raw.length)
|
|
197
|
+
console.log(notification + ": " + raw)
|
|
198
|
+
} else if (raw.substring(0, paCert.length) === paCert) {
|
|
199
|
+
raw = raw.substring(paCert.length, raw.length)
|
|
200
|
+
console.log(paCert + ": " + raw)
|
|
201
|
+
} else if (raw.substring(0, taCert.length) === taCert) {
|
|
202
|
+
raw = raw.substring(taCert.length, raw.length)
|
|
203
|
+
console.log(taCert + ": " + raw)
|
|
204
|
+
} else if (raw.substring(0, taSig.length) === taSig) {
|
|
205
|
+
raw = raw.substring(taSig.length, raw.length)
|
|
206
|
+
console.log(taSig + ": " + raw)
|
|
207
|
+
} else
|
|
208
|
+
handleCompletion(DocumentReaderCompletion.fromJson(JSON.parse(raw)))
|
|
207
209
|
}
|
|
208
210
|
|
|
209
211
|
function onInitialized() {
|
package/index.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export declare class DocumentReaderGraphicField {
|
|
|
54
54
|
fieldType?: number;
|
|
55
55
|
lightType?: number;
|
|
56
56
|
pageIndex?: number;
|
|
57
|
+
originalPageIndex?: number;
|
|
57
58
|
fieldName?: string;
|
|
58
59
|
lightName?: string;
|
|
59
60
|
value?: string;
|
|
@@ -143,6 +144,7 @@ export declare class DocumentReaderDocumentType {
|
|
|
143
144
|
dType?: number;
|
|
144
145
|
dFormat?: number;
|
|
145
146
|
dMRZ?: boolean;
|
|
147
|
+
isDeprecated?: boolean;
|
|
146
148
|
name?: string;
|
|
147
149
|
ICAOCode?: string;
|
|
148
150
|
dDescription?: string;
|
|
@@ -368,6 +370,8 @@ export declare class ImageInputParam {
|
|
|
368
370
|
width?: number;
|
|
369
371
|
height?: number;
|
|
370
372
|
type?: number;
|
|
373
|
+
disableFrameShiftIR?: boolean;
|
|
374
|
+
doFlipYAxis?: boolean;
|
|
371
375
|
static fromJson(jsonObject?: any): ImageInputParam | undefined;
|
|
372
376
|
}
|
|
373
377
|
export declare class PAResourcesIssuer {
|
|
@@ -514,7 +518,6 @@ export declare class DocumentReaderResults {
|
|
|
514
518
|
documentType?: DocumentReaderDocumentType[];
|
|
515
519
|
status?: DocumentReaderResultsStatus;
|
|
516
520
|
vdsncData?: VDSNCData;
|
|
517
|
-
static fromJson(jsonObject?: any): DocumentReaderResults | undefined;
|
|
518
521
|
/**
|
|
519
522
|
* @deprecated Use DocumentReader.textFieldValueBy...()
|
|
520
523
|
*/
|
|
@@ -561,6 +564,7 @@ export declare class DocumentReaderResults {
|
|
|
561
564
|
* @deprecated Use DocumentReader.encryptedContainers()
|
|
562
565
|
*/
|
|
563
566
|
getEncryptedContainers(): string | undefined;
|
|
567
|
+
static fromJson(jsonObject?: any): DocumentReaderResults | undefined;
|
|
564
568
|
}
|
|
565
569
|
export declare const FontStyle: {
|
|
566
570
|
NORMAL: number;
|
|
@@ -586,6 +590,11 @@ export declare const eRPRM_Authenticity: {
|
|
|
586
590
|
KINEGRAM: number;
|
|
587
591
|
HOLOGRAMS_DETECTION: number;
|
|
588
592
|
MRZ: number;
|
|
593
|
+
STATUS_ONLY: number;
|
|
594
|
+
OVI: number;
|
|
595
|
+
LIVENESS: number;
|
|
596
|
+
OCR: number;
|
|
597
|
+
UV: number;
|
|
589
598
|
};
|
|
590
599
|
export declare const eRFID_ErrorCodes: {
|
|
591
600
|
RFID_ERROR_NO_ERROR: number;
|
|
@@ -702,7 +711,6 @@ export declare const eRFID_ErrorCodes: {
|
|
|
702
711
|
RFID_ERROR_LAYER34_SAM_ERROR: number;
|
|
703
712
|
RFID_ERROR_LAYER34_SAM_COLLISION: number;
|
|
704
713
|
RFID_ERROR_LAYER34_SAM_ACKNOWLEDGE: number;
|
|
705
|
-
getTranslation(value: number): string;
|
|
706
714
|
};
|
|
707
715
|
export declare const eLDS_ParsingErrorCodes: {
|
|
708
716
|
ERR_LDS_OK: number;
|
|
@@ -831,7 +839,6 @@ export declare const eLDS_ParsingErrorCodes: {
|
|
|
831
839
|
ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_SIG_ALGORITHM: number;
|
|
832
840
|
ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_CERTIFICATE: number;
|
|
833
841
|
ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_SIG_VALUE: number;
|
|
834
|
-
getTranslation(value: number): string;
|
|
835
842
|
};
|
|
836
843
|
export declare const eRFID_CertificateType: {
|
|
837
844
|
CT_UNDEFINED: number;
|
|
@@ -977,6 +984,7 @@ export declare const ScenarioIdentifier: {
|
|
|
977
984
|
SCENARIO_OCR_FREE: string;
|
|
978
985
|
SCENARIO_CREDIT_CARD: string;
|
|
979
986
|
SCENARIO_CAPTURE: string;
|
|
987
|
+
SCENARIO_BARCODE_AND_LOCATE: string;
|
|
980
988
|
};
|
|
981
989
|
export declare const eRFID_AccessControl_ProcedureType: {
|
|
982
990
|
ACPT_UNDEFINED: number;
|
|
@@ -1173,9 +1181,18 @@ export declare const eCheckDiagnose: {
|
|
|
1173
1181
|
FINISHED_BY_TIMEOUT: number;
|
|
1174
1182
|
HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME: number;
|
|
1175
1183
|
LIVENESS_DEPTH_CHECK_FAILED: number;
|
|
1176
|
-
|
|
1184
|
+
MRZ_QUALITY_WRONG_SYMBOL_POSITION: number;
|
|
1177
1185
|
MRZ_QUALITY_WRONG_BACKGROUND: number;
|
|
1186
|
+
MRZ_QUALITY_WRONG_MRZ_WIDTH: number;
|
|
1187
|
+
MRZ_QUALITY_WRONG_MRZ_HEIGHT: number;
|
|
1188
|
+
MRZ_QUALITY_WRONG_LINE_POSITION: number;
|
|
1189
|
+
MRZ_QUALITY_WRONG_FONT_TYPE: number;
|
|
1190
|
+
OCR_QUALITY_TEXT_POSITION: number;
|
|
1191
|
+
OCR_QUALITY_INVALID_FONT: number;
|
|
1192
|
+
OCR_QUALITY_INVALID_BACKGROUND: number;
|
|
1193
|
+
LAS_INK_INVALID_LINES_FREQUENCY: number;
|
|
1178
1194
|
LAST_DIAGNOSE_VALUE: number;
|
|
1195
|
+
DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: number;
|
|
1179
1196
|
};
|
|
1180
1197
|
export declare const RFIDDelegate: {
|
|
1181
1198
|
NULL: number;
|
|
@@ -1430,7 +1447,6 @@ export declare const eLDS_ParsingNotificationCodes: {
|
|
|
1430
1447
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA: number;
|
|
1431
1448
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_REVOKED: number;
|
|
1432
1449
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID: number;
|
|
1433
|
-
getTranslation(value: number): string;
|
|
1434
1450
|
};
|
|
1435
1451
|
export declare const eImageQualityCheckType: {
|
|
1436
1452
|
IQC_IMAGE_GLARES: number;
|
|
@@ -1442,7 +1458,6 @@ export declare const eImageQualityCheckType: {
|
|
|
1442
1458
|
IQC_SCREEN_CAPTURE: number;
|
|
1443
1459
|
IQC_PORTRAIT: number;
|
|
1444
1460
|
IQC_HANDWRITTEN: number;
|
|
1445
|
-
getTranslation(value: number): string;
|
|
1446
1461
|
};
|
|
1447
1462
|
export declare const MRZFormat: {
|
|
1448
1463
|
FORMAT_1X30: string;
|
|
@@ -1474,7 +1489,7 @@ export declare const BarcodeType: {
|
|
|
1474
1489
|
CODE11: number;
|
|
1475
1490
|
};
|
|
1476
1491
|
export declare const eRPRM_SecurityFeatureType: {
|
|
1477
|
-
|
|
1492
|
+
SECURITY_FEATURE_TYPE_NONE: number;
|
|
1478
1493
|
SECURITY_FEATURE_TYPE_BLANK: number;
|
|
1479
1494
|
SECURITY_FEATURE_TYPE_FILL: number;
|
|
1480
1495
|
SECURITY_FEATURE_TYPE_PHOTO: number;
|
|
@@ -1503,7 +1518,22 @@ export declare const eRPRM_SecurityFeatureType: {
|
|
|
1503
1518
|
SECURITY_FEATURE_TYPE_PHOTO_COLOR: number;
|
|
1504
1519
|
SECURITY_FEATURE_TYPE_PHOTO_SHAPE: number;
|
|
1505
1520
|
SECURITY_FEATURE_TYPE_PHOTO_CORNERS: number;
|
|
1506
|
-
|
|
1521
|
+
SECURITY_FEATURE_TYPE_OCR: number;
|
|
1522
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_EXTVS_VISUAL: number;
|
|
1523
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_EXTVS_RFID: number;
|
|
1524
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_EXTVS_LIVE: number;
|
|
1525
|
+
SECURITY_FEATURE_TYPE_LIVENESS_DEPTH: number;
|
|
1526
|
+
SECURITY_FEATURE_TYPE_MICROTEXT: number;
|
|
1527
|
+
SECURITY_FEATURE_TYPE_FLUORESCENT_OBJECT: number;
|
|
1528
|
+
SECURITY_FEATURE_TYPE_LANDMARKS_CHECK: number;
|
|
1529
|
+
SECURITY_FEATURE_TYPE_FACE_PRESENCE: number;
|
|
1530
|
+
SECURITY_FEATURE_TYPE_FACE_ABSENCE: number;
|
|
1531
|
+
SECURITY_FEATURE_TYPE_LIVENESS_SCREEN_CAPTURE: number;
|
|
1532
|
+
SECURITY_FEATURE_TYPE_LIVENESS_ELECTRONIC_DEVICE: number;
|
|
1533
|
+
SECURITY_FEATURE_TYPE_LIVENESS_OVI: number;
|
|
1534
|
+
SECURITY_FEATURE_TYPE_BARCODE_SIZE_CHECK: number;
|
|
1535
|
+
SECURITY_FEATURE_TYPE_LAS_INK: number;
|
|
1536
|
+
SECURITY_FEATURE_TYPE_LIVENESS_MLI: number;
|
|
1507
1537
|
};
|
|
1508
1538
|
export declare const OnlineMode: {
|
|
1509
1539
|
MANUAL: number;
|
|
@@ -1788,7 +1818,6 @@ export declare const eGraphicFieldType: {
|
|
|
1788
1818
|
GF_FINGER_RIGHT_MIDDLE: number;
|
|
1789
1819
|
GF_FINGER_RIGHT_RING: number;
|
|
1790
1820
|
GF_FINGER_RIGHT_LITTLE: number;
|
|
1791
|
-
getTranslation(value: number): string;
|
|
1792
1821
|
};
|
|
1793
1822
|
export declare const RegDeviceConfigType: {
|
|
1794
1823
|
DEVICE_7310: number;
|
|
@@ -1901,7 +1930,6 @@ export declare const eRFID_DataFile_Type: {
|
|
|
1901
1930
|
DFT_VDS: number;
|
|
1902
1931
|
DFT_VDSNC: number;
|
|
1903
1932
|
DFT_USERDEFINED: number;
|
|
1904
|
-
getTranslation(value: number): string;
|
|
1905
1933
|
};
|
|
1906
1934
|
export declare const eVisualFieldType: {
|
|
1907
1935
|
FT_DOCUMENT_CLASS_CODE: number;
|
|
@@ -2510,7 +2538,16 @@ export declare const eVisualFieldType: {
|
|
|
2510
2538
|
FT_DLCLASSCODE_PW_FROM: number;
|
|
2511
2539
|
FT_DLCLASSCODE_PW_NOTES: number;
|
|
2512
2540
|
FT_DLCLASSCODE_PW_TO: number;
|
|
2513
|
-
|
|
2541
|
+
FT_DLCLASSCODE_EB_FROM: number;
|
|
2542
|
+
FT_DLCLASSCODE_EB_NOTES: number;
|
|
2543
|
+
FT_DLCLASSCODE_EB_TO: number;
|
|
2544
|
+
FT_DLCLASSCODE_EC_FROM: number;
|
|
2545
|
+
FT_DLCLASSCODE_EC_NOTES: number;
|
|
2546
|
+
FT_DLCLASSCODE_EC_TO: number;
|
|
2547
|
+
FT_DLCLASSCODE_EC1_FROM: number;
|
|
2548
|
+
FT_DLCLASSCODE_EC1_NOTES: number;
|
|
2549
|
+
FT_DLCLASSCODE_EC1_TO: number;
|
|
2550
|
+
FT_PLACE_OF_BIRTH_CITY: number;
|
|
2514
2551
|
};
|
|
2515
2552
|
export declare const DocReaderOrientation: {
|
|
2516
2553
|
ALL: number;
|
|
@@ -2676,7 +2713,6 @@ export declare const LCID: {
|
|
|
2676
2713
|
VIETNAMESE: number;
|
|
2677
2714
|
CTC_SIMPLIFIED: number;
|
|
2678
2715
|
CTC_TRADITIONAL: number;
|
|
2679
|
-
getTranslation(value: number): string;
|
|
2680
2716
|
};
|
|
2681
2717
|
export declare const DocReaderFrame: {
|
|
2682
2718
|
MAX: string;
|
|
@@ -2693,7 +2729,7 @@ export declare const eRPRM_Lights: {
|
|
|
2693
2729
|
RPRM_Light_IR_SIDE: number;
|
|
2694
2730
|
RPRM_Light_IR_Full: number;
|
|
2695
2731
|
RPRM_LIGHT_OVD: number;
|
|
2696
|
-
|
|
2732
|
+
RPRM_LIGHT_WHITE_FULL_OVD: number;
|
|
2697
2733
|
};
|
|
2698
2734
|
export declare const LineCap: {
|
|
2699
2735
|
Butt: number;
|
|
@@ -2770,6 +2806,11 @@ export declare const Enum: {
|
|
|
2770
2806
|
KINEGRAM: number;
|
|
2771
2807
|
HOLOGRAMS_DETECTION: number;
|
|
2772
2808
|
MRZ: number;
|
|
2809
|
+
STATUS_ONLY: number;
|
|
2810
|
+
OVI: number;
|
|
2811
|
+
LIVENESS: number;
|
|
2812
|
+
OCR: number;
|
|
2813
|
+
UV: number;
|
|
2773
2814
|
};
|
|
2774
2815
|
eRFID_ErrorCodes: {
|
|
2775
2816
|
RFID_ERROR_NO_ERROR: number;
|
|
@@ -2886,7 +2927,6 @@ export declare const Enum: {
|
|
|
2886
2927
|
RFID_ERROR_LAYER34_SAM_ERROR: number;
|
|
2887
2928
|
RFID_ERROR_LAYER34_SAM_COLLISION: number;
|
|
2888
2929
|
RFID_ERROR_LAYER34_SAM_ACKNOWLEDGE: number;
|
|
2889
|
-
getTranslation(value: number): string;
|
|
2890
2930
|
};
|
|
2891
2931
|
eLDS_ParsingErrorCodes: {
|
|
2892
2932
|
ERR_LDS_OK: number;
|
|
@@ -3015,7 +3055,6 @@ export declare const Enum: {
|
|
|
3015
3055
|
ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_SIG_ALGORITHM: number;
|
|
3016
3056
|
ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_CERTIFICATE: number;
|
|
3017
3057
|
ERR_LDS_VDS_NC_MISSING_OR_INCORRECT_SIG_VALUE: number;
|
|
3018
|
-
getTranslation(value: number): string;
|
|
3019
3058
|
};
|
|
3020
3059
|
eRFID_CertificateType: {
|
|
3021
3060
|
CT_UNDEFINED: number;
|
|
@@ -3161,6 +3200,7 @@ export declare const Enum: {
|
|
|
3161
3200
|
SCENARIO_OCR_FREE: string;
|
|
3162
3201
|
SCENARIO_CREDIT_CARD: string;
|
|
3163
3202
|
SCENARIO_CAPTURE: string;
|
|
3203
|
+
SCENARIO_BARCODE_AND_LOCATE: string;
|
|
3164
3204
|
};
|
|
3165
3205
|
eRFID_AccessControl_ProcedureType: {
|
|
3166
3206
|
ACPT_UNDEFINED: number;
|
|
@@ -3357,9 +3397,18 @@ export declare const Enum: {
|
|
|
3357
3397
|
FINISHED_BY_TIMEOUT: number;
|
|
3358
3398
|
HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME: number;
|
|
3359
3399
|
LIVENESS_DEPTH_CHECK_FAILED: number;
|
|
3360
|
-
|
|
3400
|
+
MRZ_QUALITY_WRONG_SYMBOL_POSITION: number;
|
|
3361
3401
|
MRZ_QUALITY_WRONG_BACKGROUND: number;
|
|
3402
|
+
MRZ_QUALITY_WRONG_MRZ_WIDTH: number;
|
|
3403
|
+
MRZ_QUALITY_WRONG_MRZ_HEIGHT: number;
|
|
3404
|
+
MRZ_QUALITY_WRONG_LINE_POSITION: number;
|
|
3405
|
+
MRZ_QUALITY_WRONG_FONT_TYPE: number;
|
|
3406
|
+
OCR_QUALITY_TEXT_POSITION: number;
|
|
3407
|
+
OCR_QUALITY_INVALID_FONT: number;
|
|
3408
|
+
OCR_QUALITY_INVALID_BACKGROUND: number;
|
|
3409
|
+
LAS_INK_INVALID_LINES_FREQUENCY: number;
|
|
3362
3410
|
LAST_DIAGNOSE_VALUE: number;
|
|
3411
|
+
DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: number;
|
|
3363
3412
|
};
|
|
3364
3413
|
RFIDDelegate: {
|
|
3365
3414
|
NULL: number;
|
|
@@ -3614,7 +3663,6 @@ export declare const Enum: {
|
|
|
3614
3663
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA: number;
|
|
3615
3664
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_REVOKED: number;
|
|
3616
3665
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID: number;
|
|
3617
|
-
getTranslation(value: number): string;
|
|
3618
3666
|
};
|
|
3619
3667
|
eImageQualityCheckType: {
|
|
3620
3668
|
IQC_IMAGE_GLARES: number;
|
|
@@ -3626,7 +3674,6 @@ export declare const Enum: {
|
|
|
3626
3674
|
IQC_SCREEN_CAPTURE: number;
|
|
3627
3675
|
IQC_PORTRAIT: number;
|
|
3628
3676
|
IQC_HANDWRITTEN: number;
|
|
3629
|
-
getTranslation(value: number): string;
|
|
3630
3677
|
};
|
|
3631
3678
|
MRZFormat: {
|
|
3632
3679
|
FORMAT_1X30: string;
|
|
@@ -3658,7 +3705,7 @@ export declare const Enum: {
|
|
|
3658
3705
|
CODE11: number;
|
|
3659
3706
|
};
|
|
3660
3707
|
eRPRM_SecurityFeatureType: {
|
|
3661
|
-
|
|
3708
|
+
SECURITY_FEATURE_TYPE_NONE: number;
|
|
3662
3709
|
SECURITY_FEATURE_TYPE_BLANK: number;
|
|
3663
3710
|
SECURITY_FEATURE_TYPE_FILL: number;
|
|
3664
3711
|
SECURITY_FEATURE_TYPE_PHOTO: number;
|
|
@@ -3687,7 +3734,22 @@ export declare const Enum: {
|
|
|
3687
3734
|
SECURITY_FEATURE_TYPE_PHOTO_COLOR: number;
|
|
3688
3735
|
SECURITY_FEATURE_TYPE_PHOTO_SHAPE: number;
|
|
3689
3736
|
SECURITY_FEATURE_TYPE_PHOTO_CORNERS: number;
|
|
3690
|
-
|
|
3737
|
+
SECURITY_FEATURE_TYPE_OCR: number;
|
|
3738
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_EXTVS_VISUAL: number;
|
|
3739
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_EXTVS_RFID: number;
|
|
3740
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_EXTVS_LIVE: number;
|
|
3741
|
+
SECURITY_FEATURE_TYPE_LIVENESS_DEPTH: number;
|
|
3742
|
+
SECURITY_FEATURE_TYPE_MICROTEXT: number;
|
|
3743
|
+
SECURITY_FEATURE_TYPE_FLUORESCENT_OBJECT: number;
|
|
3744
|
+
SECURITY_FEATURE_TYPE_LANDMARKS_CHECK: number;
|
|
3745
|
+
SECURITY_FEATURE_TYPE_FACE_PRESENCE: number;
|
|
3746
|
+
SECURITY_FEATURE_TYPE_FACE_ABSENCE: number;
|
|
3747
|
+
SECURITY_FEATURE_TYPE_LIVENESS_SCREEN_CAPTURE: number;
|
|
3748
|
+
SECURITY_FEATURE_TYPE_LIVENESS_ELECTRONIC_DEVICE: number;
|
|
3749
|
+
SECURITY_FEATURE_TYPE_LIVENESS_OVI: number;
|
|
3750
|
+
SECURITY_FEATURE_TYPE_BARCODE_SIZE_CHECK: number;
|
|
3751
|
+
SECURITY_FEATURE_TYPE_LAS_INK: number;
|
|
3752
|
+
SECURITY_FEATURE_TYPE_LIVENESS_MLI: number;
|
|
3691
3753
|
};
|
|
3692
3754
|
OnlineMode: {
|
|
3693
3755
|
MANUAL: number;
|
|
@@ -3972,7 +4034,6 @@ export declare const Enum: {
|
|
|
3972
4034
|
GF_FINGER_RIGHT_MIDDLE: number;
|
|
3973
4035
|
GF_FINGER_RIGHT_RING: number;
|
|
3974
4036
|
GF_FINGER_RIGHT_LITTLE: number;
|
|
3975
|
-
getTranslation(value: number): string;
|
|
3976
4037
|
};
|
|
3977
4038
|
RegDeviceConfigType: {
|
|
3978
4039
|
DEVICE_7310: number;
|
|
@@ -4085,7 +4146,6 @@ export declare const Enum: {
|
|
|
4085
4146
|
DFT_VDS: number;
|
|
4086
4147
|
DFT_VDSNC: number;
|
|
4087
4148
|
DFT_USERDEFINED: number;
|
|
4088
|
-
getTranslation(value: number): string;
|
|
4089
4149
|
};
|
|
4090
4150
|
eVisualFieldType: {
|
|
4091
4151
|
FT_DOCUMENT_CLASS_CODE: number;
|
|
@@ -4694,7 +4754,16 @@ export declare const Enum: {
|
|
|
4694
4754
|
FT_DLCLASSCODE_PW_FROM: number;
|
|
4695
4755
|
FT_DLCLASSCODE_PW_NOTES: number;
|
|
4696
4756
|
FT_DLCLASSCODE_PW_TO: number;
|
|
4697
|
-
|
|
4757
|
+
FT_DLCLASSCODE_EB_FROM: number;
|
|
4758
|
+
FT_DLCLASSCODE_EB_NOTES: number;
|
|
4759
|
+
FT_DLCLASSCODE_EB_TO: number;
|
|
4760
|
+
FT_DLCLASSCODE_EC_FROM: number;
|
|
4761
|
+
FT_DLCLASSCODE_EC_NOTES: number;
|
|
4762
|
+
FT_DLCLASSCODE_EC_TO: number;
|
|
4763
|
+
FT_DLCLASSCODE_EC1_FROM: number;
|
|
4764
|
+
FT_DLCLASSCODE_EC1_NOTES: number;
|
|
4765
|
+
FT_DLCLASSCODE_EC1_TO: number;
|
|
4766
|
+
FT_PLACE_OF_BIRTH_CITY: number;
|
|
4698
4767
|
};
|
|
4699
4768
|
DocReaderOrientation: {
|
|
4700
4769
|
ALL: number;
|
|
@@ -4860,7 +4929,6 @@ export declare const Enum: {
|
|
|
4860
4929
|
VIETNAMESE: number;
|
|
4861
4930
|
CTC_SIMPLIFIED: number;
|
|
4862
4931
|
CTC_TRADITIONAL: number;
|
|
4863
|
-
getTranslation(value: number): string;
|
|
4864
4932
|
};
|
|
4865
4933
|
DocReaderFrame: {
|
|
4866
4934
|
MAX: string;
|
|
@@ -4877,7 +4945,7 @@ export declare const Enum: {
|
|
|
4877
4945
|
RPRM_Light_IR_SIDE: number;
|
|
4878
4946
|
RPRM_Light_IR_Full: number;
|
|
4879
4947
|
RPRM_LIGHT_OVD: number;
|
|
4880
|
-
|
|
4948
|
+
RPRM_LIGHT_WHITE_FULL_OVD: number;
|
|
4881
4949
|
};
|
|
4882
4950
|
LineCap: {
|
|
4883
4951
|
Butt: number;
|
|
@@ -5439,6 +5507,20 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
|
|
|
5439
5507
|
* @return {Promise<any>} Returns a promise
|
|
5440
5508
|
*/
|
|
5441
5509
|
recognizeImagesWithImageInputs(images: any): Promise<any>;
|
|
5510
|
+
/**
|
|
5511
|
+
* Use this method to set OnClickListener
|
|
5512
|
+
* for buttons from UICustomizationLayer
|
|
5513
|
+
*
|
|
5514
|
+
* @return {Promise<any>} Returns a promise
|
|
5515
|
+
*/
|
|
5516
|
+
setOnCustomButtonTappedListener(): Observable<any>;
|
|
5517
|
+
/**
|
|
5518
|
+
* description
|
|
5519
|
+
*
|
|
5520
|
+
* @param {string} language description
|
|
5521
|
+
* @return {Promise<any>} Returns a promise
|
|
5522
|
+
*/
|
|
5523
|
+
setLanguage(language: any): Promise<any>;
|
|
5442
5524
|
textFieldValueByType(results: DocumentReaderResults, fieldType: number): Promise<string | undefined>;
|
|
5443
5525
|
textFieldValueByTypeLcid(results: DocumentReaderResults, fieldType: number, lcid: number): Promise<string | undefined>;
|
|
5444
5526
|
textFieldValueByTypeSource(results: DocumentReaderResults, fieldType: number, source: number): Promise<string | undefined>;
|