@regulaforensics/ionic-native-document-reader 5.7.0 → 6.1.2

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.
Files changed (119) hide show
  1. package/README.md +1 -1
  2. package/example/package.json +3 -3
  3. package/index.d.ts +149 -4
  4. package/index.js +700 -522
  5. package/ngx/index.d.ts +149 -4
  6. package/ngx/index.js +700 -522
  7. package/ngx/index.metadata.json +1 -1
  8. package/package.json +1 -1
  9. package/reactExample/README.txt +13 -0
  10. package/reactExample/android/app/build/.npmkeep +0 -0
  11. package/reactExample/android/app/build.gradle +51 -0
  12. package/reactExample/android/app/proguard-rules.pro +21 -0
  13. package/reactExample/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java +26 -0
  14. package/reactExample/android/app/src/main/AndroidManifest.xml +42 -0
  15. package/reactExample/android/app/src/main/java/com/regula/documentreader/MainActivity.java +5 -0
  16. package/reactExample/android/app/src/main/res/drawable/ic_launcher_background.xml +170 -0
  17. package/reactExample/android/app/src/main/res/drawable/splash.png +0 -0
  18. package/reactExample/android/app/src/main/res/drawable-land-hdpi/splash.png +0 -0
  19. package/reactExample/android/app/src/main/res/drawable-land-mdpi/splash.png +0 -0
  20. package/reactExample/android/app/src/main/res/drawable-land-xhdpi/splash.png +0 -0
  21. package/reactExample/android/app/src/main/res/drawable-land-xxhdpi/splash.png +0 -0
  22. package/reactExample/android/app/src/main/res/drawable-land-xxxhdpi/splash.png +0 -0
  23. package/reactExample/android/app/src/main/res/drawable-port-hdpi/splash.png +0 -0
  24. package/reactExample/android/app/src/main/res/drawable-port-mdpi/splash.png +0 -0
  25. package/reactExample/android/app/src/main/res/drawable-port-xhdpi/splash.png +0 -0
  26. package/reactExample/android/app/src/main/res/drawable-port-xxhdpi/splash.png +0 -0
  27. package/reactExample/android/app/src/main/res/drawable-port-xxxhdpi/splash.png +0 -0
  28. package/reactExample/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +34 -0
  29. package/reactExample/android/app/src/main/res/layout/activity_main.xml +12 -0
  30. package/reactExample/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +5 -0
  31. package/reactExample/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +5 -0
  32. package/reactExample/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  33. package/reactExample/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png +0 -0
  34. package/reactExample/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  35. package/reactExample/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  36. package/reactExample/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png +0 -0
  37. package/reactExample/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  38. package/reactExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  39. package/reactExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
  40. package/reactExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  41. package/reactExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  42. package/reactExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
  43. package/reactExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  44. package/reactExample/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  45. package/reactExample/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
  46. package/reactExample/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  47. package/reactExample/android/app/src/main/res/values/ic_launcher_background.xml +4 -0
  48. package/reactExample/android/app/src/main/res/values/strings.xml +7 -0
  49. package/reactExample/android/app/src/main/res/values/styles.xml +22 -0
  50. package/reactExample/android/app/src/main/res/xml/file_paths.xml +5 -0
  51. package/reactExample/android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java +18 -0
  52. package/reactExample/android/build.gradle +29 -0
  53. package/reactExample/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  54. package/reactExample/android/gradle/wrapper/gradle-wrapper.properties +5 -0
  55. package/reactExample/android/gradle.properties +24 -0
  56. package/reactExample/android/gradlew +185 -0
  57. package/reactExample/android/gradlew.bat +89 -0
  58. package/reactExample/android/settings.gradle +5 -0
  59. package/reactExample/android/variables.gradle +14 -0
  60. package/reactExample/capacitor.config.ts +10 -0
  61. package/reactExample/ionic.config.json +7 -0
  62. package/reactExample/ios/App/App/App.entitlements +11 -0
  63. package/reactExample/ios/App/App/AppDelegate.swift +60 -0
  64. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@1x.png +0 -0
  65. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x-1.png +0 -0
  66. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x.png +0 -0
  67. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@3x.png +0 -0
  68. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@1x.png +0 -0
  69. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x-1.png +0 -0
  70. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x.png +0 -0
  71. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@3x.png +0 -0
  72. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@1x.png +0 -0
  73. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x-1.png +0 -0
  74. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x.png +0 -0
  75. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@3x.png +0 -0
  76. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png +0 -0
  77. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@2x.png +0 -0
  78. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@3x.png +0 -0
  79. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@1x.png +0 -0
  80. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@2x.png +0 -0
  81. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5x83.5@2x.png +0 -0
  82. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json +116 -0
  83. package/reactExample/ios/App/App/Assets.xcassets/Contents.json +6 -0
  84. package/reactExample/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json +23 -0
  85. package/reactExample/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png +0 -0
  86. package/reactExample/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png +0 -0
  87. package/reactExample/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png +0 -0
  88. package/reactExample/ios/App/App/Base.lproj/LaunchScreen.storyboard +32 -0
  89. package/reactExample/ios/App/App/Base.lproj/Main.storyboard +19 -0
  90. package/reactExample/ios/App/App/Info.plist +70 -0
  91. package/reactExample/ios/App/App/capacitor.config.json +6 -0
  92. package/reactExample/ios/App/App/config.xml +19 -0
  93. package/reactExample/ios/App/App.xcodeproj/project.pbxproj +426 -0
  94. package/reactExample/ios/App/App.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  95. package/reactExample/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  96. package/reactExample/ios/App/App.xcworkspace/contents.xcworkspacedata +10 -0
  97. package/reactExample/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  98. package/reactExample/ios/App/Podfile +23 -0
  99. package/reactExample/package.json +84 -0
  100. package/reactExample/public/assets/icon/favicon.png +0 -0
  101. package/reactExample/public/assets/icon/icon.png +0 -0
  102. package/reactExample/public/assets/img/id.png +0 -0
  103. package/reactExample/public/assets/img/portrait.png +0 -0
  104. package/reactExample/public/assets/shapes.svg +1 -0
  105. package/reactExample/public/index.html +114 -0
  106. package/reactExample/public/manifest.json +21 -0
  107. package/reactExample/src/App.test.tsx +8 -0
  108. package/reactExample/src/App.tsx +42 -0
  109. package/reactExample/src/assets/img/id.png +0 -0
  110. package/reactExample/src/assets/img/portrait.png +0 -0
  111. package/reactExample/src/index.tsx +22 -0
  112. package/reactExample/src/pages/Home.tsx +328 -0
  113. package/reactExample/src/react-app-env.d.ts +1 -0
  114. package/reactExample/src/reportWebVitals.ts +15 -0
  115. package/reactExample/src/service-worker.ts +80 -0
  116. package/reactExample/src/serviceWorkerRegistration.ts +142 -0
  117. package/reactExample/src/setupTests.ts +14 -0
  118. package/reactExample/src/theme/variables.css +236 -0
  119. package/reactExample/tsconfig.json +26 -0
package/README.md CHANGED
@@ -41,7 +41,7 @@ If you have issues with license verification when running the application, pleas
41
41
  6. You placed the `license` into the correct folder as described [here](#how-to-build-demo-application).
42
42
 
43
43
  ## Documentation
44
- You can find documentation on API [here](https://docs.regulaforensics.com/ionic).
44
+ You can find documentation on API [here](https://docs.regulaforensics.com/develop/doc-reader-sdk/mobile/ionic).
45
45
 
46
46
  ## Additional information
47
47
  If you have any technical questions, feel free to [contact](mailto:dev.support@regulaforensics.com) us or create issue [here](https://github.com/regulaforensics/DocumentReader-Ionic-Plugin/issues).
@@ -30,9 +30,9 @@
30
30
  "cordova-ios": "^6.1.1",
31
31
  "cordova-plugin-add-swift-support": "^2.0.2",
32
32
  "cordova-plugin-android-permissions": "^1.1.0",
33
- "@regulaforensics/cordova-plugin-document-reader-api": "^5.7.0",
34
- "@regulaforensics/cordova-plugin-document-reader-core-fullrfid": "^5.7.0",
35
- "@regulaforensics/ionic-native-document-reader": "^5.7.0",
33
+ "@regulaforensics/cordova-plugin-document-reader-api": "^6.1.2",
34
+ "@regulaforensics/cordova-plugin-document-reader-core-fullrfid": "^6.1.0",
35
+ "@regulaforensics/ionic-native-document-reader": "^6.1.2",
36
36
  "cordova-plugin-file": "^6.0.2",
37
37
  "cordova-plugin-telerik-imagepicker": "^2.3.5",
38
38
  "core-js": "^3.6.5",
package/index.d.ts CHANGED
@@ -1,14 +1,12 @@
1
1
  import { IonicNativePlugin } from '@ionic-native/core';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare class DocumentReaderScenario {
4
- uvTorch?: boolean;
5
- seriesProcessMode?: boolean;
6
4
  name?: string;
7
5
  caption?: string;
8
6
  description?: string;
9
7
  static fromJson(jsonObject?: any): DocumentReaderScenario;
10
8
  }
11
- export declare class DocumentReaderScenarioFull {
9
+ export declare class CoreDetailedScenario {
12
10
  uvTorch?: boolean;
13
11
  frameOrientation?: number;
14
12
  faceExt?: boolean;
@@ -22,7 +20,7 @@ export declare class DocumentReaderScenarioFull {
22
20
  caption?: string;
23
21
  description?: string;
24
22
  manualCrop?: boolean;
25
- static fromJson(jsonObject?: any): DocumentReaderScenarioFull;
23
+ static fromJson(jsonObject?: any): CoreDetailedScenario;
26
24
  }
27
25
  export declare class FaceMetaData {
28
26
  ID?: number;
@@ -349,6 +347,11 @@ export declare class DocumentReaderCompletion {
349
347
  error?: DocumentReaderException;
350
348
  static fromJson(jsonObject?: any): DocumentReaderCompletion;
351
349
  }
350
+ export declare class RfidNotificationCompletion {
351
+ notification?: number;
352
+ value?: number;
353
+ static fromJson(jsonObject?: any): RfidNotificationCompletion;
354
+ }
352
355
  export declare class DocumentReaderException {
353
356
  errorCode?: number;
354
357
  localizedMessage?: string;
@@ -404,6 +407,57 @@ export declare class TAChallenge {
404
407
  idPICC?: string;
405
408
  static fromJson(jsonObject?: any): TAChallenge;
406
409
  }
410
+ export declare class DocumentReaderResultsStatus {
411
+ overallStatus?: number;
412
+ optical?: number;
413
+ detailsOptical?: DetailsOptical;
414
+ rfid?: number;
415
+ detailsRFID?: DetailsRFID;
416
+ portrait?: number;
417
+ stopList?: number;
418
+ static fromJson(jsonObject?: any): DocumentReaderResultsStatus;
419
+ }
420
+ export declare class DetailsOptical {
421
+ overallStatus?: number;
422
+ mrz?: number;
423
+ text?: number;
424
+ docType?: number;
425
+ security?: number;
426
+ imageQA?: number;
427
+ expiry?: number;
428
+ vds?: number;
429
+ pagesCount?: number;
430
+ static fromJson(jsonObject?: any): DetailsOptical;
431
+ }
432
+ export declare class DetailsRFID {
433
+ pa?: number;
434
+ ca?: number;
435
+ aa?: number;
436
+ ta?: number;
437
+ bac?: number;
438
+ pace?: number;
439
+ overallStatus?: number;
440
+ static fromJson(jsonObject?: any): DetailsRFID;
441
+ }
442
+ export declare class VDSNCData {
443
+ type?: string;
444
+ version?: number;
445
+ issuingCountry?: string;
446
+ message?: any;
447
+ signatureAlgorithm?: string;
448
+ signature?: BytesData;
449
+ certificate?: BytesData;
450
+ certificateChain?: CertificateChain[];
451
+ notifications?: number[];
452
+ static fromJson(jsonObject?: any): VDSNCData;
453
+ }
454
+ export declare class BytesData {
455
+ data?: string;
456
+ length?: number;
457
+ status?: number;
458
+ type?: number;
459
+ static fromJson(jsonObject?: any): BytesData;
460
+ }
407
461
  export declare class DocumentReaderResults {
408
462
  chipPage?: number;
409
463
  overallResult?: number;
@@ -425,6 +479,8 @@ export declare class DocumentReaderResults {
425
479
  authenticityResult?: DocumentReaderAuthenticityResult;
426
480
  barcodeResult?: DocumentReaderBarcodeResult;
427
481
  documentType?: DocumentReaderDocumentType[];
482
+ status?: DocumentReaderResultsStatus;
483
+ vdsncData?: VDSNCData;
428
484
  getTextFieldValueByType?({ fieldType, lcid, source, original }: {
429
485
  fieldType: number;
430
486
  lcid?: number;
@@ -975,6 +1031,10 @@ export declare const eRFID_CertificateType: {
975
1031
  CT_MLS: number;
976
1032
  CT_DEV_LS: number;
977
1033
  CT_DEF_LS: number;
1034
+ CT_BLS: number;
1035
+ CT_LDS2: number;
1036
+ CT_BCS: number;
1037
+ CT_BCSNC: number;
978
1038
  };
979
1039
  export declare const eRFID_DataFile_Type: {
980
1040
  DFT_UNSPECIFIED: number;
@@ -1057,6 +1117,10 @@ export declare const eRFID_DataFile_Type: {
1057
1117
  DFT_SESSION: number;
1058
1118
  DFT_LOGDATA: number;
1059
1119
  DFT_CHIP_PROPERTIES: number;
1120
+ DFT_SAM_DATA: number;
1121
+ DFT_SAM_DATA_MAX: number;
1122
+ DFT_VDS: number;
1123
+ DFT_VDSNC: number;
1060
1124
  DFT_USERDEFINED: number;
1061
1125
  getTranslation(value: number): string;
1062
1126
  };
@@ -1117,6 +1181,7 @@ export declare const eRFID_NotificationAndErrorCodes: {
1117
1181
  RFID_ERROR_INVALID_PARAMETER: number;
1118
1182
  RFID_ERROR_NOT_INITIALIZED: number;
1119
1183
  RFID_Error_NotEnoughMemory: number;
1184
+ RFID_ERROR_NOT_ENOUGH_DATA: number;
1120
1185
  RFID_ERROR_INVALID_DIRECTORY: number;
1121
1186
  RFID_ERROR_UNKNOWN_COMMAND: number;
1122
1187
  RFID_ERROR_FILE_IO_ERROR: number;
@@ -1195,6 +1260,22 @@ export declare const eRFID_NotificationAndErrorCodes: {
1195
1260
  RFID_LAYER6_EXT_AUTH_FAILURE: number;
1196
1261
  RFID_LAYER6_GENERAL_AUTH_FAILURE: number;
1197
1262
  RFID_ERROR_FAILED: number;
1263
+ RFID_ERROR_CODES_LAYER_34_NO_ERROR: number;
1264
+ RFID_ERROR_CODES_LAYER_34_TIMEOUT: number;
1265
+ RFID_ERROR_CODES_LAYER_34_COLLISION: number;
1266
+ RFID_ERROR_CODES_LAYER_34_CRC: number;
1267
+ RFID_ERROR_CODES_LAYER_34_DATA_INTEGRITY: number;
1268
+ RFID_ERROR_CODES_LAYER_34_DATA_LENGTH: number;
1269
+ RFID_ERROR_CODES_LAYER_34_RFU: number;
1270
+ RFID_ERROR_CODES_LAYER_34_COLLISION_TOO_MANY: number;
1271
+ RFID_ERROR_CODES_LAYER_34_PROTOCOL_B: number;
1272
+ RFID_ERROR_CODES_LAYER_34_DATA_CONTENTS: number;
1273
+ RFID_ERROR_CODES_LAYER_34_PROTOCOL: number;
1274
+ RFID_ERROR_CODES_LAYER_34_GLOBAL_TIMEOUT: number;
1275
+ RFID_ERROR_CODES_LAYER_34_MIFARE_AUTH: number;
1276
+ RFID_ERROR_CODES_LAYER_34_SAM_ERROR: number;
1277
+ RFID_ERROR_CODES_LAYER_34_SAM_COLLISION: number;
1278
+ RFID_ERROR_CODES_LAYER_34_SAM_ACKNOWLEDGE: number;
1198
1279
  getTranslation(value: number): string;
1199
1280
  };
1200
1281
  export declare const eRFID_Password_Type: {
@@ -1274,6 +1355,8 @@ export declare const eRPRM_ResultType: {
1274
1355
  RPRM_RESULT_TYPE_DATABASE_CHECK: number;
1275
1356
  RPRM_RESULT_TYPE_FINGERPRINT_TEMPLATE_ISO: number;
1276
1357
  RPRM_RESULT_TYPE_INPUT_IMAGE_QUALITY: number;
1358
+ RPRM_RESULT_TYPE_IMAGES: number;
1359
+ RPRM_RESULT_TYPE_HOLO_PARAMS: number;
1277
1360
  RPRM_RESULT_TYPE_DOCUMENT_POSITION: number;
1278
1361
  RPRM_RESULT_TYPE_CUSTOM: number;
1279
1362
  RFID_RESULT_TYPE_RFID_RAW_DATA: number;
@@ -1283,6 +1366,7 @@ export declare const eRPRM_ResultType: {
1283
1366
  RFID_RESULT_TYPE_RFID_ORIGINAL_GRAPHICS: number;
1284
1367
  RPRM_RESULT_TYPE_BARCODE_POSITION: number;
1285
1368
  RPRM_RESULT_TYPE_MRZ_POSITION: number;
1369
+ RPRM_RESULT_TYPE_STATUS: number;
1286
1370
  };
1287
1371
  export declare const eRPRM_SecurityFeatureType: {
1288
1372
  NONE: number;
@@ -1914,6 +1998,14 @@ export declare const eVisualFieldType: {
1914
1998
  FT_DLCLASSCODE_D3_TO: number;
1915
1999
  FT_DLCLASSCODE_D3_NOTES: number;
1916
2000
  FT_ALT_DATE_OF_EXPIRY: number;
2001
+ FT_DLCLASSCODE_CD_FROM: number;
2002
+ FT_DLCLASSCODE_CD_TO: number;
2003
+ FT_DLCLASSCODE_CD_NOTES: number;
2004
+ FT_PAYMENT_PERIOD_TO: number;
2005
+ FT_PAYMENT_PERIOD_FROM: number;
2006
+ FT_ISSUER_IDENTIFICATION_NUMBER: number;
2007
+ FT_VACCINATION_CERTIFICATE_IDENTIFIER: number;
2008
+ FT_FIRST_NAME: number;
1917
2009
  getTranslation(value: number): string;
1918
2010
  };
1919
2011
  export declare const FontStyle: {
@@ -2699,6 +2791,10 @@ export declare const Enum: {
2699
2791
  CT_MLS: number;
2700
2792
  CT_DEV_LS: number;
2701
2793
  CT_DEF_LS: number;
2794
+ CT_BLS: number;
2795
+ CT_LDS2: number;
2796
+ CT_BCS: number;
2797
+ CT_BCSNC: number;
2702
2798
  };
2703
2799
  eRFID_DataFile_Type: {
2704
2800
  DFT_UNSPECIFIED: number;
@@ -2781,6 +2877,10 @@ export declare const Enum: {
2781
2877
  DFT_SESSION: number;
2782
2878
  DFT_LOGDATA: number;
2783
2879
  DFT_CHIP_PROPERTIES: number;
2880
+ DFT_SAM_DATA: number;
2881
+ DFT_SAM_DATA_MAX: number;
2882
+ DFT_VDS: number;
2883
+ DFT_VDSNC: number;
2784
2884
  DFT_USERDEFINED: number;
2785
2885
  getTranslation(value: number): string;
2786
2886
  };
@@ -2841,6 +2941,7 @@ export declare const Enum: {
2841
2941
  RFID_ERROR_INVALID_PARAMETER: number;
2842
2942
  RFID_ERROR_NOT_INITIALIZED: number;
2843
2943
  RFID_Error_NotEnoughMemory: number;
2944
+ RFID_ERROR_NOT_ENOUGH_DATA: number;
2844
2945
  RFID_ERROR_INVALID_DIRECTORY: number;
2845
2946
  RFID_ERROR_UNKNOWN_COMMAND: number;
2846
2947
  RFID_ERROR_FILE_IO_ERROR: number;
@@ -2919,6 +3020,22 @@ export declare const Enum: {
2919
3020
  RFID_LAYER6_EXT_AUTH_FAILURE: number;
2920
3021
  RFID_LAYER6_GENERAL_AUTH_FAILURE: number;
2921
3022
  RFID_ERROR_FAILED: number;
3023
+ RFID_ERROR_CODES_LAYER_34_NO_ERROR: number;
3024
+ RFID_ERROR_CODES_LAYER_34_TIMEOUT: number;
3025
+ RFID_ERROR_CODES_LAYER_34_COLLISION: number;
3026
+ RFID_ERROR_CODES_LAYER_34_CRC: number;
3027
+ RFID_ERROR_CODES_LAYER_34_DATA_INTEGRITY: number;
3028
+ RFID_ERROR_CODES_LAYER_34_DATA_LENGTH: number;
3029
+ RFID_ERROR_CODES_LAYER_34_RFU: number;
3030
+ RFID_ERROR_CODES_LAYER_34_COLLISION_TOO_MANY: number;
3031
+ RFID_ERROR_CODES_LAYER_34_PROTOCOL_B: number;
3032
+ RFID_ERROR_CODES_LAYER_34_DATA_CONTENTS: number;
3033
+ RFID_ERROR_CODES_LAYER_34_PROTOCOL: number;
3034
+ RFID_ERROR_CODES_LAYER_34_GLOBAL_TIMEOUT: number;
3035
+ RFID_ERROR_CODES_LAYER_34_MIFARE_AUTH: number;
3036
+ RFID_ERROR_CODES_LAYER_34_SAM_ERROR: number;
3037
+ RFID_ERROR_CODES_LAYER_34_SAM_COLLISION: number;
3038
+ RFID_ERROR_CODES_LAYER_34_SAM_ACKNOWLEDGE: number;
2922
3039
  getTranslation(value: number): string;
2923
3040
  };
2924
3041
  eRFID_Password_Type: {
@@ -2998,6 +3115,8 @@ export declare const Enum: {
2998
3115
  RPRM_RESULT_TYPE_DATABASE_CHECK: number;
2999
3116
  RPRM_RESULT_TYPE_FINGERPRINT_TEMPLATE_ISO: number;
3000
3117
  RPRM_RESULT_TYPE_INPUT_IMAGE_QUALITY: number;
3118
+ RPRM_RESULT_TYPE_IMAGES: number;
3119
+ RPRM_RESULT_TYPE_HOLO_PARAMS: number;
3001
3120
  RPRM_RESULT_TYPE_DOCUMENT_POSITION: number;
3002
3121
  RPRM_RESULT_TYPE_CUSTOM: number;
3003
3122
  RFID_RESULT_TYPE_RFID_RAW_DATA: number;
@@ -3007,6 +3126,7 @@ export declare const Enum: {
3007
3126
  RFID_RESULT_TYPE_RFID_ORIGINAL_GRAPHICS: number;
3008
3127
  RPRM_RESULT_TYPE_BARCODE_POSITION: number;
3009
3128
  RPRM_RESULT_TYPE_MRZ_POSITION: number;
3129
+ RPRM_RESULT_TYPE_STATUS: number;
3010
3130
  };
3011
3131
  eRPRM_SecurityFeatureType: {
3012
3132
  NONE: number;
@@ -3638,6 +3758,14 @@ export declare const Enum: {
3638
3758
  FT_DLCLASSCODE_D3_TO: number;
3639
3759
  FT_DLCLASSCODE_D3_NOTES: number;
3640
3760
  FT_ALT_DATE_OF_EXPIRY: number;
3761
+ FT_DLCLASSCODE_CD_FROM: number;
3762
+ FT_DLCLASSCODE_CD_TO: number;
3763
+ FT_DLCLASSCODE_CD_NOTES: number;
3764
+ FT_PAYMENT_PERIOD_TO: number;
3765
+ FT_PAYMENT_PERIOD_FROM: number;
3766
+ FT_ISSUER_IDENTIFICATION_NUMBER: number;
3767
+ FT_VACCINATION_CERTIFICATE_IDENTIFIER: number;
3768
+ FT_FIRST_NAME: number;
3641
3769
  getTranslation(value: number): string;
3642
3770
  };
3643
3771
  FontStyle: {
@@ -3919,6 +4047,16 @@ export declare const Enum: {
3919
4047
  * ```
3920
4048
  */
3921
4049
  export declare class DocumentReaderOriginal extends IonicNativePlugin {
4050
+ /**
4051
+ * Initially made for capacitor as it has no convenient way to read assets
4052
+ * Allows you to initialize document reader without reading license yourself.
4053
+ * License will be automatically read from
4054
+ * Android: "android/app/src/main/assets/regula.license"
4055
+ * iOS: "ios/App/App/regula.license"
4056
+ *
4057
+ * @return {Promise<any>} Returns a promise
4058
+ */
4059
+ initializeReaderAutomatically(): Promise<any>;
3922
4060
  /**
3923
4061
  * Allows you to get the API version
3924
4062
  *
@@ -4271,6 +4409,13 @@ export declare class DocumentReaderOriginal extends IonicNativePlugin {
4271
4409
  * @return {Promise<any>} Returns a promise
4272
4410
  */
4273
4411
  provideTASignature(certificates: any): Promise<any>;
4412
+ /**
4413
+ * Use this method to parse results returned by the server when using an encrypted license
4414
+ *
4415
+ * @param {string} json results to parse
4416
+ * @return {Promise<any>} Returns a promise
4417
+ */
4418
+ parseCoreResults(json: any): Promise<any>;
4274
4419
  /**
4275
4420
  * Use this method to initialize Document Reader with the path to the database
4276
4421
  *