@regulaforensics/ionic-native-document-reader 8.4.244-nightly → 8.4.246-nightly

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/README.md CHANGED
@@ -1,3 +1,8 @@
1
+ # Deprecated
2
+ This plugin is deprecated and `8.6` will be the last release. We kindly recommend migrating to our new plugin `@regulaforensics/document-reader`:
3
+ * [github](https://github.com/regulaforensics/npm-document-reader)
4
+ * [npmjs](https://www.npmjs.com/package/@regulaforensics/document-reader)
5
+
1
6
  # Regula Document Reader SDK for Ionic
2
7
 
3
8
  Regula Document Reader SDK allows you to read various kinds of identification documents, passports, driving licenses, ID cards, etc. All processing is performed completely _**offline**_ on your device. No any data leaving your device.
@@ -13,9 +13,9 @@
13
13
  },
14
14
  "private": true,
15
15
  "dependencies": {
16
- "@regulaforensics/ionic-native-document-reader": "8.4.244-nightly",
17
- "@regulaforensics/cordova-plugin-document-reader-api": "8.4.270-nightly",
18
- "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "8.4.960-nightly",
16
+ "@regulaforensics/ionic-native-document-reader": "8.4.246-nightly",
17
+ "@regulaforensics/cordova-plugin-document-reader-api": "8.4.272-nightly",
18
+ "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "8.4.962-nightly",
19
19
  "cordova-plugin-camera": "7.0.0",
20
20
  "@awesome-cordova-plugins/camera": "6.6.0",
21
21
  "@awesome-cordova-plugins/core": "6.6.0",
package/index.d.ts CHANGED
@@ -495,6 +495,7 @@ export declare class DocReaderConfig {
495
495
  customDb?: string;
496
496
  databasePath?: string;
497
497
  licenseUpdate?: boolean;
498
+ licenseUpdateTimeout?: number;
498
499
  delayedNNLoad?: boolean;
499
500
  blackList?: Record<string, string>;
500
501
  static fromJson(jsonObject?: any): DocReaderConfig | undefined;
@@ -585,6 +586,7 @@ export declare class Functionality {
585
586
  manualMultipageMode?: boolean;
586
587
  singleResult?: boolean;
587
588
  torchTurnedOn?: boolean;
589
+ preventScreenRecording?: boolean;
588
590
  showCaptureButtonDelayFromDetect?: number;
589
591
  showCaptureButtonDelayFromStart?: number;
590
592
  rfidTimeout?: number;
@@ -774,16 +776,24 @@ export declare class CustomizationColors {
774
776
  rfidProcessingScreenProgressBarBackground?: number;
775
777
  rfidProcessingScreenResultLabelText?: number;
776
778
  rfidProcessingScreenLoadingBar?: number;
779
+ rfidEnableNfcTitleText?: number;
780
+ rfidEnableNfcDescriptionText?: number;
781
+ rfidEnableNfcButtonText?: number;
782
+ rfidEnableNfcButtonBackground?: number;
777
783
  static fromJson(jsonObject?: any): CustomizationColors | undefined;
778
784
  }
779
785
  export declare class CustomizationFonts {
780
786
  rfidProcessingScreenHintLabel?: Font;
781
787
  rfidProcessingScreenProgressLabel?: Font;
782
788
  rfidProcessingScreenResultLabel?: Font;
789
+ rfidEnableNfcTitleText?: Font;
790
+ rfidEnableNfcDescriptionText?: Font;
791
+ rfidEnableNfcButtonText?: Font;
783
792
  static fromJson(jsonObject?: any): CustomizationFonts | undefined;
784
793
  }
785
794
  export declare class CustomizationImages {
786
795
  rfidProcessingScreenFailureImage?: string;
796
+ rfidEnableNfcImage?: string;
787
797
  static fromJson(jsonObject?: any): CustomizationImages | undefined;
788
798
  }
789
799
  export declare class Customization {
@@ -999,6 +1009,18 @@ export declare class PrepareProgress {
999
1009
  progress?: number;
1000
1010
  static fromJson(jsonObject?: any): PrepareProgress | undefined;
1001
1011
  }
1012
+ export declare class FilterObjectType {
1013
+ list?: any[];
1014
+ isInclude?: boolean;
1015
+ static fromJson(jsonObject?: any): FilterObjectType | undefined;
1016
+ }
1017
+ export declare class FilterObject {
1018
+ docIDsFilter?: FilterObjectType;
1019
+ docFormatsFilter?: FilterObjectType;
1020
+ docCategoriesFilter?: FilterObjectType;
1021
+ docCountriesFilter?: FilterObjectType;
1022
+ static fromJson(jsonObject?: any): FilterObject | undefined;
1023
+ }
1002
1024
  export declare const FontStyle: {
1003
1025
  NORMAL: number;
1004
1026
  BOLD: number;
@@ -1037,6 +1059,10 @@ export declare const CustomizationColor: {
1037
1059
  RFID_PROCESSING_SCREEN_PROGRESS_BAR_BACKGROUND: string;
1038
1060
  RFID_PROCESSING_SCREEN_RESULT_LABEL_TEXT: string;
1039
1061
  RFID_PROCESSING_SCREEN_LOADING_BAR: string;
1062
+ RFID_ENABLE_NFC_TITLE_TEXT: string;
1063
+ RFID_ENABLE_NFC_DESCRIPTION_TEXT: string;
1064
+ RFID_ENABLE_NFC_BUTTON_TEXT: string;
1065
+ RFID_ENABLE_NFC_BUTTON_BACKGROUND: string;
1040
1066
  };
1041
1067
  export declare const eRFID_ErrorCodes: {
1042
1068
  RFID_ERROR_NO_ERROR: number;
@@ -1154,6 +1180,15 @@ export declare const eRFID_ErrorCodes: {
1154
1180
  RFID_ERROR_LAYER34_SAM_COLLISION: number;
1155
1181
  RFID_ERROR_LAYER34_SAM_ACKNOWLEDGE: number;
1156
1182
  };
1183
+ export declare const LivenessCheckType: {
1184
+ OVI: string;
1185
+ MLI: string;
1186
+ HOLO: string;
1187
+ ED: string;
1188
+ BLACK_AND_WHITE_COPY: string;
1189
+ DYNAPRINT: string;
1190
+ GEOMETRY: string;
1191
+ };
1157
1192
  export declare const eLDS_ParsingErrorCodes: {
1158
1193
  ERR_LDS_OK: number;
1159
1194
  ERR_LDS_ASN_INCORRECT_DATA: number;
@@ -1361,6 +1396,9 @@ export declare const LineCap: {
1361
1396
  ROUND: number;
1362
1397
  SQUARE: number;
1363
1398
  };
1399
+ export declare const FilterCheckType: {
1400
+ CHECK_AUTH: string;
1401
+ };
1364
1402
  export declare const eRPRM_FieldVerificationResult: {
1365
1403
  RCF_DISABLED: number;
1366
1404
  RCF_VERIFIED: number;
@@ -1430,6 +1468,7 @@ export declare const DocumentReaderErrorCodes: {
1430
1468
  SAVE_DB: number;
1431
1469
  DOWNLOAD_DB_INCORRECT_CHECKSUM: number;
1432
1470
  DB_DOWNLOAD: number;
1471
+ RFID_ERROR: number;
1433
1472
  LICENSE_ABSENT_OR_CORRUPTED: number;
1434
1473
  LICENSE_INVALID_DATE: number;
1435
1474
  LICENSE_INVALID_VERSION: number;
@@ -1452,6 +1491,8 @@ export declare const DocumentReaderErrorCodes: {
1452
1491
  NATIVE_JAVA_EXCEPTION: number;
1453
1492
  BACKEND_ONLINE_PROCESSING: number;
1454
1493
  WRONG_INPUT: number;
1494
+ RESULT_UNAVAILABLE: number;
1495
+ RESULT_WRONG_OUTPUT: number;
1455
1496
  STATE_EXCEPTION: number;
1456
1497
  BLE_EXCEPTION: number;
1457
1498
  FEATURE_BLUETOOTH_LE_NOT_SUPPORTED: number;
@@ -1664,6 +1705,8 @@ export declare const eCheckDiagnose: {
1664
1705
  FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR: number;
1665
1706
  FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR: number;
1666
1707
  CHD_FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION: number;
1708
+ CHD_FIELD_POS_CORRECTOR_AGE_CHECK_ERROR: number;
1709
+ CHD_FIELD_POS_CORRECTOR_SEX_CHECK_ERROR: number;
1667
1710
  OVI_IR_INVISIBLE: number;
1668
1711
  OVI_INSUFFICIENT_AREA: number;
1669
1712
  OVI_COLOR_INVARIABLE: number;
@@ -2121,6 +2164,8 @@ export declare const eRPRM_SecurityFeatureType: {
2121
2164
  SECURITY_FEATURE_TYPE_LIVENESS_BLACK_AND_WHITE_COPY_CHECK: number;
2122
2165
  SECURITY_FEATURE_TYPE_LIVENESS_DYNAPRINT_CHECK: number;
2123
2166
  SECURITY_FEATURE_TYPE_LIVENESS_GEOMETRY_CHECK: number;
2167
+ SECURITY_FEATURE_TYPE_AGE_CHECK: number;
2168
+ SECURITY_FEATURE_TYPE_SEX_CHECK: number;
2124
2169
  };
2125
2170
  export declare const OnlineMode: {
2126
2171
  MANUAL: number;
@@ -2130,6 +2175,23 @@ export declare const eRFID_SDK_ProfilerType: {
2130
2175
  SPT_DOC_9303_EDITION_2006: number;
2131
2176
  SPT_DOC_9303_LDS_PKI_MAINTENANCE: number;
2132
2177
  };
2178
+ export declare const AuthenticityCheckType: {
2179
+ USE_LIVENESS: string;
2180
+ UV_LUMINISCENCE: string;
2181
+ IR_B900: string;
2182
+ IMAGE_PATTERNS: string;
2183
+ FIBERS: string;
2184
+ EXT_MRZ: string;
2185
+ EXT_OCR: string;
2186
+ AXIAL: string;
2187
+ BARCODE_FORMAT: string;
2188
+ IR_VISIBILITY: string;
2189
+ IPI: string;
2190
+ PHOTO_EMBEDDING: string;
2191
+ PHOTO_COMPARISON: string;
2192
+ LETTER_SCREEN: string;
2193
+ SECURITY_TEXT: string;
2194
+ };
2133
2195
  export declare const diDocType: {
2134
2196
  dtNotDefined: number;
2135
2197
  dtPassport: number;
@@ -2390,6 +2452,9 @@ export declare const CustomizationFont: {
2390
2452
  RFID_PROCESSING_SCREEN_HINT_LABEL: string;
2391
2453
  RFID_PROCESSING_SCREEN_PROGRESS_LABEL: string;
2392
2454
  RFID_PROCESSING_SCREEN_RESULT_LABEL: string;
2455
+ RFID_ENABLE_NFC_TITLE_TEXT: string;
2456
+ RFID_ENABLE_NFC_DESCRIPTION_TEXT: string;
2457
+ RFID_ENABLE_NFC_BUTTON_TEXT: string;
2393
2458
  };
2394
2459
  export declare const ImageFormat: {
2395
2460
  PNG: number;
@@ -3383,6 +3448,7 @@ export declare const LCID: {
3383
3448
  };
3384
3449
  export declare const CustomizationImage: {
3385
3450
  RFID_PROCESSING_SCREEN_FAILURE_IMAGE: string;
3451
+ RFID_ENABLE_NFC_IMAGE: string;
3386
3452
  };
3387
3453
  export declare const DocReaderFrame: {
3388
3454
  MAX: string;
@@ -3445,6 +3511,10 @@ export declare const Enum: {
3445
3511
  RFID_PROCESSING_SCREEN_PROGRESS_BAR_BACKGROUND: string;
3446
3512
  RFID_PROCESSING_SCREEN_RESULT_LABEL_TEXT: string;
3447
3513
  RFID_PROCESSING_SCREEN_LOADING_BAR: string;
3514
+ RFID_ENABLE_NFC_TITLE_TEXT: string;
3515
+ RFID_ENABLE_NFC_DESCRIPTION_TEXT: string;
3516
+ RFID_ENABLE_NFC_BUTTON_TEXT: string;
3517
+ RFID_ENABLE_NFC_BUTTON_BACKGROUND: string;
3448
3518
  };
3449
3519
  eRFID_ErrorCodes: {
3450
3520
  RFID_ERROR_NO_ERROR: number;
@@ -3562,6 +3632,15 @@ export declare const Enum: {
3562
3632
  RFID_ERROR_LAYER34_SAM_COLLISION: number;
3563
3633
  RFID_ERROR_LAYER34_SAM_ACKNOWLEDGE: number;
3564
3634
  };
3635
+ LivenessCheckType: {
3636
+ OVI: string;
3637
+ MLI: string;
3638
+ HOLO: string;
3639
+ ED: string;
3640
+ BLACK_AND_WHITE_COPY: string;
3641
+ DYNAPRINT: string;
3642
+ GEOMETRY: string;
3643
+ };
3565
3644
  eLDS_ParsingErrorCodes: {
3566
3645
  ERR_LDS_OK: number;
3567
3646
  ERR_LDS_ASN_INCORRECT_DATA: number;
@@ -3769,6 +3848,9 @@ export declare const Enum: {
3769
3848
  ROUND: number;
3770
3849
  SQUARE: number;
3771
3850
  };
3851
+ FilterCheckType: {
3852
+ CHECK_AUTH: string;
3853
+ };
3772
3854
  eRPRM_FieldVerificationResult: {
3773
3855
  RCF_DISABLED: number;
3774
3856
  RCF_VERIFIED: number;
@@ -3838,6 +3920,7 @@ export declare const Enum: {
3838
3920
  SAVE_DB: number;
3839
3921
  DOWNLOAD_DB_INCORRECT_CHECKSUM: number;
3840
3922
  DB_DOWNLOAD: number;
3923
+ RFID_ERROR: number;
3841
3924
  LICENSE_ABSENT_OR_CORRUPTED: number;
3842
3925
  LICENSE_INVALID_DATE: number;
3843
3926
  LICENSE_INVALID_VERSION: number;
@@ -3860,6 +3943,8 @@ export declare const Enum: {
3860
3943
  NATIVE_JAVA_EXCEPTION: number;
3861
3944
  BACKEND_ONLINE_PROCESSING: number;
3862
3945
  WRONG_INPUT: number;
3946
+ RESULT_UNAVAILABLE: number;
3947
+ RESULT_WRONG_OUTPUT: number;
3863
3948
  STATE_EXCEPTION: number;
3864
3949
  BLE_EXCEPTION: number;
3865
3950
  FEATURE_BLUETOOTH_LE_NOT_SUPPORTED: number;
@@ -4072,6 +4157,8 @@ export declare const Enum: {
4072
4157
  FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR: number;
4073
4158
  FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR: number;
4074
4159
  CHD_FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION: number;
4160
+ CHD_FIELD_POS_CORRECTOR_AGE_CHECK_ERROR: number;
4161
+ CHD_FIELD_POS_CORRECTOR_SEX_CHECK_ERROR: number;
4075
4162
  OVI_IR_INVISIBLE: number;
4076
4163
  OVI_INSUFFICIENT_AREA: number;
4077
4164
  OVI_COLOR_INVARIABLE: number;
@@ -4529,6 +4616,8 @@ export declare const Enum: {
4529
4616
  SECURITY_FEATURE_TYPE_LIVENESS_BLACK_AND_WHITE_COPY_CHECK: number;
4530
4617
  SECURITY_FEATURE_TYPE_LIVENESS_DYNAPRINT_CHECK: number;
4531
4618
  SECURITY_FEATURE_TYPE_LIVENESS_GEOMETRY_CHECK: number;
4619
+ SECURITY_FEATURE_TYPE_AGE_CHECK: number;
4620
+ SECURITY_FEATURE_TYPE_SEX_CHECK: number;
4532
4621
  };
4533
4622
  OnlineMode: {
4534
4623
  MANUAL: number;
@@ -4538,6 +4627,23 @@ export declare const Enum: {
4538
4627
  SPT_DOC_9303_EDITION_2006: number;
4539
4628
  SPT_DOC_9303_LDS_PKI_MAINTENANCE: number;
4540
4629
  };
4630
+ AuthenticityCheckType: {
4631
+ USE_LIVENESS: string;
4632
+ UV_LUMINISCENCE: string;
4633
+ IR_B900: string;
4634
+ IMAGE_PATTERNS: string;
4635
+ FIBERS: string;
4636
+ EXT_MRZ: string;
4637
+ EXT_OCR: string;
4638
+ AXIAL: string;
4639
+ BARCODE_FORMAT: string;
4640
+ IR_VISIBILITY: string;
4641
+ IPI: string;
4642
+ PHOTO_EMBEDDING: string;
4643
+ PHOTO_COMPARISON: string;
4644
+ LETTER_SCREEN: string;
4645
+ SECURITY_TEXT: string;
4646
+ };
4541
4647
  diDocType: {
4542
4648
  dtNotDefined: number;
4543
4649
  dtPassport: number;
@@ -4798,6 +4904,9 @@ export declare const Enum: {
4798
4904
  RFID_PROCESSING_SCREEN_HINT_LABEL: string;
4799
4905
  RFID_PROCESSING_SCREEN_PROGRESS_LABEL: string;
4800
4906
  RFID_PROCESSING_SCREEN_RESULT_LABEL: string;
4907
+ RFID_ENABLE_NFC_TITLE_TEXT: string;
4908
+ RFID_ENABLE_NFC_DESCRIPTION_TEXT: string;
4909
+ RFID_ENABLE_NFC_BUTTON_TEXT: string;
4801
4910
  };
4802
4911
  ImageFormat: {
4803
4912
  PNG: number;
@@ -5791,6 +5900,7 @@ export declare const Enum: {
5791
5900
  };
5792
5901
  CustomizationImage: {
5793
5902
  RFID_PROCESSING_SCREEN_FAILURE_IMAGE: string;
5903
+ RFID_ENABLE_NFC_IMAGE: string;
5794
5904
  };
5795
5905
  DocReaderFrame: {
5796
5906
  MAX: string;
@@ -6225,6 +6335,69 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
6225
6335
  * @return {Promise<any>} Returns a promise
6226
6336
  */
6227
6337
  getTranslation(className: string, value: number): Promise<any>;
6338
+ /**
6339
+ *
6340
+ *
6341
+ * @param {string} checkType
6342
+ * @param {FilterObject} filter
6343
+ * @return {Promise<any>} Returns a promise
6344
+ */
6345
+ processParamsSetCheckFilter(checkType: string, filter: FilterObject): Promise<any>;
6346
+ /**
6347
+ *
6348
+ *
6349
+ * @param {string} checkType
6350
+ * @return {Promise<any>} Returns a promise
6351
+ */
6352
+ processParamsRemoveCheckFilter(checkType: string): Promise<any>;
6353
+ /**
6354
+ *
6355
+ *
6356
+ * @return {Promise<any>} Returns a promise
6357
+ */
6358
+ processParamsClearCheckFilter(): Promise<any>;
6359
+ /**
6360
+ *
6361
+ *
6362
+ * @param {string} checkType
6363
+ * @param {FilterObject} filter
6364
+ * @return {Promise<any>} Returns a promise
6365
+ */
6366
+ authenticityParamsSetCheckFilter(checkType: string, filter: FilterObject): Promise<any>;
6367
+ /**
6368
+ *
6369
+ *
6370
+ * @param {string} checkType
6371
+ * @return {Promise<any>} Returns a promise
6372
+ */
6373
+ authenticityParamsRemoveCheckFilter(checkType: string): Promise<any>;
6374
+ /**
6375
+ *
6376
+ *
6377
+ * @return {Promise<any>} Returns a promise
6378
+ */
6379
+ authenticityParamsClearCheckFilter(): Promise<any>;
6380
+ /**
6381
+ *
6382
+ *
6383
+ * @param {string} checkType
6384
+ * @param {FilterObject} filter
6385
+ * @return {Promise<any>} Returns a promise
6386
+ */
6387
+ livenessParamsSetCheckFilter(checkType: string, filter: FilterObject): Promise<any>;
6388
+ /**
6389
+ *
6390
+ *
6391
+ * @param {string} checkType
6392
+ * @return {Promise<any>} Returns a promise
6393
+ */
6394
+ livenessParamsRemoveCheckFilter(checkType: string): Promise<any>;
6395
+ /**
6396
+ *
6397
+ *
6398
+ * @return {Promise<any>} Returns a promise
6399
+ */
6400
+ livenessParamsClearCheckFilter(): Promise<any>;
6228
6401
  textFieldValueByType(results: DocumentReaderResults, fieldType: number): Promise<string | undefined>;
6229
6402
  textFieldValueByTypeLcid(results: DocumentReaderResults, fieldType: number, lcid: number): Promise<string | undefined>;
6230
6403
  textFieldValueByTypeSource(results: DocumentReaderResults, fieldType: number, source: number): Promise<string | undefined>;