@regulaforensics/document-reader 9.6.941-rc → 9.6.958-rc

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 (67) hide show
  1. package/RNDocumentReader.podspec +2 -2
  2. package/android/build.gradle +1 -1
  3. package/android/cordova.gradle +1 -1
  4. package/android/src/main/{java → kotlin}/com/regula/plugin/documentreader/Config.kt +30 -10
  5. package/android/src/main/{java → kotlin}/com/regula/plugin/documentreader/JSONConstructor.kt +12 -1
  6. package/android/src/main/{java → kotlin}/com/regula/plugin/documentreader/Utils.kt +1 -1
  7. package/examples/capacitor/README.md +1 -1
  8. package/examples/capacitor/package-lock.json +14 -14
  9. package/examples/capacitor/package.json +1 -1
  10. package/examples/capacitor/scripts/android.sh +3 -1
  11. package/examples/capacitor/scripts/ios.sh +3 -1
  12. package/examples/capacitor/scripts/setup.sh +2 -0
  13. package/examples/ionic/README.md +1 -1
  14. package/examples/ionic/config.xml +0 -2
  15. package/examples/ionic/images/icon.png +0 -0
  16. package/examples/ionic/index.tsx +1 -1
  17. package/examples/ionic/package-lock.json +2385 -2013
  18. package/examples/ionic/package.json +24 -24
  19. package/examples/ionic/patches/cordova-plugin-ionic-webview+5.0.1.patch +23 -0
  20. package/examples/ionic/scripts/android.sh +4 -1
  21. package/examples/ionic/scripts/ios.sh +5 -2
  22. package/examples/ionic/scripts/setup.sh +2 -0
  23. package/examples/ionic/tsconfig.json +1 -1
  24. package/examples/react_native/README.md +1 -1
  25. package/examples/react_native/package-lock.json +651 -707
  26. package/examples/react_native/package.json +3 -2
  27. package/examples/react_native/scripts/android.sh +5 -5
  28. package/examples/react_native/scripts/ios.sh +5 -5
  29. package/examples/react_native/scripts/setup.sh +2 -0
  30. package/ios/RGLWConfig.h +2 -0
  31. package/ios/RGLWConfig.m +25 -5
  32. package/ios/RGLWJSONConstructor.h +2 -0
  33. package/ios/RGLWJSONConstructor.m +12 -0
  34. package/package.json +1 -1
  35. package/plugin.xml +8 -8
  36. package/test/json.tsx +6 -0
  37. package/test/package-lock.json +1 -1
  38. package/test/test.tsx +206 -2
  39. package/www/capacitor/index.js +207 -17
  40. package/www/capacitor/params/process_params/AuthenticityParams.js +15 -0
  41. package/www/capacitor/params/process_params/AuthenticityPropertiesParams.js +31 -0
  42. package/www/capacitor/params/process_params/FaceApiParams.js +5 -1
  43. package/www/capacitor/results/authenticity/Authenticity.js +2 -1
  44. package/www/capacitor/results/authenticity/CheckDiagnose.js +4 -1
  45. package/www/capacitor/results/authenticity/SecurityFeatureType.js +1 -0
  46. package/www/capacitor/results/visual_results/FieldType.js +3 -1
  47. package/www/cordova.js +222 -146
  48. package/www/react-native/index.js +207 -17
  49. package/www/react-native/params/process_params/AuthenticityParams.js +15 -0
  50. package/www/react-native/params/process_params/AuthenticityPropertiesParams.js +31 -0
  51. package/www/react-native/params/process_params/FaceApiParams.js +5 -1
  52. package/www/react-native/results/authenticity/Authenticity.js +2 -1
  53. package/www/react-native/results/authenticity/CheckDiagnose.js +4 -1
  54. package/www/react-native/results/authenticity/SecurityFeatureType.js +1 -0
  55. package/www/react-native/results/visual_results/FieldType.js +3 -1
  56. package/www/types/index.d.ts +206 -19
  57. package/www/types/params/process_params/AuthenticityParams.d.ts +5 -4
  58. package/www/types/params/process_params/AuthenticityPropertiesParams.d.ts +10 -0
  59. package/www/types/params/process_params/FaceApiParams.d.ts +4 -0
  60. package/www/types/params/process_params/ProcessParams.d.ts +3 -2
  61. package/www/types/results/authenticity/Authenticity.d.ts +1 -0
  62. package/www/types/results/authenticity/CheckDiagnose.d.ts +3 -0
  63. package/www/types/results/authenticity/SecurityFeatureType.d.ts +1 -0
  64. package/www/types/results/visual_results/FieldType.d.ts +3 -1
  65. /package/android/src/main/{java → kotlin}/com/regula/plugin/documentreader/BluetoothUtil.kt +0 -0
  66. /package/android/src/main/{java → kotlin}/com/regula/plugin/documentreader/Main.kt +0 -0
  67. /package/android/src/main/{java → kotlin}/com/regula/plugin/documentreader/RNDocumentReaderModule.kt +0 -0
@@ -8,7 +8,7 @@
8
8
  "start": "expo start"
9
9
  },
10
10
  "dependencies": {
11
- "@regulaforensics/document-reader": "9.6.941-rc",
11
+ "@regulaforensics/document-reader": "9.6.958-rc",
12
12
  "@regulaforensics/document-reader-core-fullauthrfid": "9.6.2444",
13
13
  "@regulaforensics/document-reader-btdevice": "9.6.55",
14
14
  "react-native": "^0.81.4",
@@ -27,6 +27,7 @@
27
27
  "overrides": {
28
28
  "postcss": "^8.5.10",
29
29
  "uuid": "^14.0.0",
30
- "js-yaml": "^4.1.1"
30
+ "js-yaml": "^4.1.1",
31
+ "brace-expansion": "^5.0.7"
31
32
  }
32
33
  }
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env bash
2
+ set -e
2
3
 
3
4
  adb reverse tcp:8081 tcp:8081 >/dev/null || :
4
- if [[ $npm_config_o || $npm_config_open ]]; then
5
+ if [[ " $* " == *" --open "* ]] || [[ " $* " == *" -o "* ]]; then
5
6
  open -a 'Android Studio' android
6
7
  # check if metro is already running
7
- if ! pgrep -f "expo start" >/dev/null; then
8
- watchman shutdown-server # fix potential errors
9
- npm start
10
- fi
8
+ [[ -z $(pgrep -f 'expo start') ]] && npm start
11
9
  else
12
10
  expo run:android --device
13
11
  fi
12
+
13
+ exit 0
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env bash
2
+ set -e
2
3
 
3
- if [[ $npm_config_o || $npm_config_open ]]; then
4
+ if [[ " $* " == *" --open "* ]] || [[ " $* " == *" -o "* ]]; then
4
5
  open ios/Document.xcworkspace
5
6
  # check if metro is already running
6
- if ! pgrep -f "expo start" > /dev/null; then
7
- watchman shutdown-server # fix potential errors
8
- npm start
9
- fi
7
+ [[ -z $(pgrep -f 'expo start') ]] && npm start
10
8
  else
11
9
  npx expo run:ios --device
12
10
  fi
11
+
12
+ exit 0
@@ -6,3 +6,5 @@ expo prebuild
6
6
 
7
7
  mkdir -p android/app/src/main/assets/Regula
8
8
  mv android/app/src/main/res/raw/db.dat android/app/src/main/assets/Regula/
9
+
10
+ exit
package/ios/RGLWConfig.h CHANGED
@@ -19,6 +19,7 @@
19
19
  +(void)setImageQA:(RGLImageQA*)result input:(NSDictionary*)input;
20
20
  +(void)setAuthenticityParams:(RGLAuthenticityParams*)result input:(NSDictionary*)input;
21
21
  +(void)setLivenessParams:(RGLLivenessParams*)result input:(NSDictionary*)input;
22
+ +(void)setAuthenticityPropertiesParams:(RGLAuthenticityPropertiesParams*)result input:(NSDictionary*)input;
22
23
 
23
24
  +(NSDictionary*)getFunctionality:(RGLFunctionality*)functionality;
24
25
  +(NSDictionary*)getProcessParams:(RGLProcessParams*)processParams;
@@ -29,6 +30,7 @@
29
30
  +(NSDictionary*)getImageQA:(RGLImageQA*)input;
30
31
  +(NSDictionary*)getAuthenticityParams:(RGLAuthenticityParams*)input;
31
32
  +(NSDictionary*)getLivenessParams:(RGLLivenessParams*)input;
33
+ +(NSDictionary*)getAuthenticityPropertiesParams:(RGLAuthenticityPropertiesParams*)input;
32
34
 
33
35
  +(RGLImageQualityCheckType)imageQualityCheckTypeWithNumber:(NSNumber*)value;
34
36
  +(NSNumber*)generateDocReaderAction:(RGLDocReaderAction)action;
package/ios/RGLWConfig.m CHANGED
@@ -998,10 +998,6 @@
998
998
  +(void)setAuthenticityParams:(RGLAuthenticityParams*)result input:(NSDictionary*)input {
999
999
  if([input valueForKey:@"useLivenessCheck"] != nil)
1000
1000
  result.useLivenessCheck = [input valueForKey:@"useLivenessCheck"];
1001
- if([input valueForKey:@"livenessParams"] != nil) {
1002
- if(result.livenessParams == nil) result.livenessParams = [RGLLivenessParams defaultParams];
1003
- [self setLivenessParams:result.livenessParams input:[input valueForKey:@"livenessParams"]];
1004
- }
1005
1001
  if([input valueForKey:@"checkUVLuminiscence"] != nil)
1006
1002
  result.checkUVLuminiscence = [input valueForKey:@"checkUVLuminiscence"];
1007
1003
  if([input valueForKey:@"checkIRB900"] != nil)
@@ -1029,6 +1025,15 @@
1029
1025
  if([input valueForKey:@"checkLetterScreen"] != nil)
1030
1026
  result.checkLetterScreen = [input valueForKey:@"checkLetterScreen"];
1031
1027
  if(input[@"checkSecurityText"]) result.checkSecurityText = input[@"checkSecurityText"];
1028
+ if(input[@"checkProperties"]) result.checkProperties = input[@"checkProperties"];
1029
+ if(input[@"livenessParams"]) {
1030
+ if(!result.livenessParams) result.livenessParams = [RGLLivenessParams defaultParams];
1031
+ [self setLivenessParams:result.livenessParams input:input[@"livenessParams"]];
1032
+ }
1033
+ if(input[@"propertiesParams"]) {
1034
+ if(!result.propertiesParams) result.propertiesParams = [RGLAuthenticityPropertiesParams defaultParams];
1035
+ [self setAuthenticityPropertiesParams:result.propertiesParams input:input[@"propertiesParams"]];
1036
+ }
1032
1037
  }
1033
1038
 
1034
1039
  +(NSDictionary*)getAuthenticityParams:(RGLAuthenticityParams*)input {
@@ -1036,7 +1041,6 @@
1036
1041
  NSMutableDictionary *result = [NSMutableDictionary new];
1037
1042
 
1038
1043
  result[@"useLivenessCheck"] = input.useLivenessCheck;
1039
- result[@"livenessParams"] = [self getLivenessParams:input.livenessParams];
1040
1044
  result[@"checkUVLuminiscence"] = input.checkUVLuminiscence;
1041
1045
  result[@"checkIRB900"] = input.checkIRB900;
1042
1046
  result[@"checkImagePatterns"] = input.checkImagePatterns;
@@ -1051,6 +1055,9 @@
1051
1055
  result[@"checkPhotoComparison"] = input.checkPhotoComparison;
1052
1056
  result[@"checkLetterScreen"] = input.checkLetterScreen;
1053
1057
  result[@"checkSecurityText"] = input.checkSecurityText;
1058
+ result[@"checkProperties"] = input.checkProperties;
1059
+ result[@"livenessParams"] = [self getLivenessParams:input.livenessParams];
1060
+ result[@"propertiesParams"] = [self getAuthenticityPropertiesParams:input.propertiesParams];
1054
1061
 
1055
1062
  return result;
1056
1063
  }
@@ -1086,6 +1093,19 @@
1086
1093
  return result;
1087
1094
  }
1088
1095
 
1096
+ +(void)setAuthenticityPropertiesParams:(RGLAuthenticityPropertiesParams*)result input:(NSDictionary*)input {
1097
+ if(input[@"checkHoldersSignature"]) result.checkHoldersSignature = input[@"checkHoldersSignature"];
1098
+ }
1099
+
1100
+ +(NSDictionary*)getAuthenticityPropertiesParams:(RGLAuthenticityPropertiesParams*)input {
1101
+ if(input == nil) return nil;
1102
+ NSMutableDictionary *result = [NSMutableDictionary new];
1103
+
1104
+ result[@"checkHoldersSignature"] = input.checkHoldersSignature;
1105
+
1106
+ return result;
1107
+ }
1108
+
1089
1109
  +(void)setColors:(NSMutableDictionary*)result input:(NSDictionary*)input {
1090
1110
  if([input valueForKey:@"rfidProcessingScreenBackground"] != nil)
1091
1111
  result[@(RFIDProcessingScreenBackground)] = [self colorWithInt:[input valueForKey:@"rfidProcessingScreenBackground"]];
@@ -41,6 +41,8 @@
41
41
  +(NSDictionary* _Nullable)generateAuthenticityParams:(RGLAuthenticityParams* _Nullable)input;
42
42
  +(RGLLivenessParams* _Nullable)livenessParamsFromJson:(NSDictionary* _Nullable)input;
43
43
  +(NSDictionary* _Nullable)generateLivenessParams:(RGLLivenessParams* _Nullable)input;
44
+ +(RGLAuthenticityPropertiesParams* _Nullable)authenticityPropertiesParamsFromJson:(NSDictionary* _Nullable)input;
45
+ +(NSDictionary* _Nullable)generateAuthenticityPropertiesParams:(RGLAuthenticityPropertiesParams* _Nullable)input;
44
46
  +(RGLGlaresCheckParams* _Nullable)glaresCheckParamsFromJson:(NSDictionary* _Nullable)input;
45
47
  +(NSDictionary* _Nullable)generateGlaresCheckParams:(RGLGlaresCheckParams* _Nullable)input;
46
48
  +(RGLImageQA* _Nullable)imageQAFromJson:(NSDictionary* _Nullable)input;
@@ -366,6 +366,16 @@ static NSMutableArray* weakReferencesHolder;
366
366
  return [RGLWConfig getLivenessParams:input];
367
367
  }
368
368
 
369
+ +(RGLAuthenticityPropertiesParams*)authenticityPropertiesParamsFromJson:(NSDictionary*)input {
370
+ RGLAuthenticityPropertiesParams *result = [RGLAuthenticityPropertiesParams defaultParams];
371
+ [RGLWConfig setAuthenticityPropertiesParams:result input:input];
372
+ return result;
373
+ }
374
+
375
+ +(NSDictionary*)generateAuthenticityPropertiesParams:(RGLAuthenticityPropertiesParams*)input {
376
+ return [RGLWConfig getAuthenticityPropertiesParams:input];
377
+ }
378
+
369
379
  +(RGLeDLDataGroup*)eDLDataGroupsFromJson:(NSDictionary*)input {
370
380
  RGLeDLDataGroup *result = [RGLeDLDataGroup new];
371
381
  [RGLWConfig setDataGroups :result dict:input];
@@ -590,6 +600,7 @@ static NSMutableArray* weakReferencesHolder;
590
600
  result.proxyPassword = [input valueForKey:@"proxyPassword"];
591
601
  if([input valueForKey:@"proxyType"] != nil)
592
602
  result.proxyType = [input valueForKey:@"proxyType"];
603
+ if(input[@"livenessTransactionId"]) result.livenessTransactionId = input[@"livenessTransactionId"];
593
604
 
594
605
  return result;
595
606
  }
@@ -606,6 +617,7 @@ static NSMutableArray* weakReferencesHolder;
606
617
  result[@"proxy"] = input.proxy;
607
618
  result[@"proxyPassword"] = input.proxyPassword;
608
619
  result[@"proxyType"] = input.proxyType;
620
+ result[@"livenessTransactionId"] = input.livenessTransactionId;
609
621
 
610
622
  return result;
611
623
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/document-reader",
3
- "version": "9.6.941-rc",
3
+ "version": "9.6.958-rc",
4
4
  "description": "This is an npm module for Regula Document Reader SDK. It allows you to read various kinds of identification documents using your phone's camera.",
5
5
  "main": "www/react-native/index.js",
6
6
  "module": "www/capacitor/index.js",
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
- <plugin id="@regulaforensics/document-reader" version="9.6.941-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/document-reader" version="9.6.958-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
3
3
  <name>DocumentReader</name>
4
4
  <description>Cordova plugin for Regula Document Reader SDK</description>
5
5
  <license>commercial</license>
@@ -29,7 +29,7 @@
29
29
  <source url="https://github.com/regulaforensics/podspecs.git" />
30
30
  </config>
31
31
  <pods>
32
- <pod name="DocumentReaderStage" spec="9.7.6716" />
32
+ <pod name="DocumentReaderStage" spec="9.7.6776" />
33
33
  </pods>
34
34
  </podspec>
35
35
  </platform>
@@ -41,11 +41,11 @@
41
41
  </feature>
42
42
  </config-file>
43
43
  <framework src="android/cordova.gradle" custom="true" type="gradleReference" />
44
- <source-file src="android/CVDDocumentReader.kt" target-dir="java/com.regula.plugin.documentreader" />
45
- <source-file src="android/src/main/java/com/regula/plugin/documentreader/Main.kt" target-dir="java/com.regula.plugin.documentreader" />
46
- <source-file src="android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt" target-dir="java/com.regula.plugin.documentreader" />
47
- <source-file src="android/src/main/java/com/regula/plugin/documentreader/Config.kt" target-dir="java/com.regula.plugin.documentreader" />
48
- <source-file src="android/src/main/java/com/regula/plugin/documentreader/Utils.kt" target-dir="java/com.regula.plugin.documentreader" />
49
- <source-file src="android/src/main/java/com/regula/plugin/documentreader/BluetoothUtil.kt" target-dir="java/com.regula.plugin.documentreader" />
44
+ <source-file src="android/CVDDocumentReader.kt" target-dir="kotlin/com.regula.plugin.documentreader" />
45
+ <source-file src="android/src/main/kotlin/com/regula/plugin/documentreader/Main.kt" target-dir="kotlin/com.regula.plugin.documentreader" />
46
+ <source-file src="android/src/main/kotlin/com/regula/plugin/documentreader/JSONConstructor.kt" target-dir="kotlin/com.regula.plugin.documentreader" />
47
+ <source-file src="android/src/main/kotlin/com/regula/plugin/documentreader/Config.kt" target-dir="kotlin/com.regula.plugin.documentreader" />
48
+ <source-file src="android/src/main/kotlin/com/regula/plugin/documentreader/Utils.kt" target-dir="kotlin/com.regula.plugin.documentreader" />
49
+ <source-file src="android/src/main/kotlin/com/regula/plugin/documentreader/BluetoothUtil.kt" target-dir="kotlin/com.regula.plugin.documentreader" />
50
50
  </platform>
51
51
  </plugin>
package/test/json.tsx CHANGED
@@ -15,6 +15,7 @@ export var faceApiParams = {
15
15
  "proxy": "test3",
16
16
  "proxyPassword": "test4",
17
17
  "proxyType": 3,
18
+ "livenessTransactionId": "test5",
18
19
  "searchParams": faceApiSearchParams,
19
20
  };
20
21
  export var livenessParams = {
@@ -27,6 +28,9 @@ export var livenessParams = {
27
28
  "checkGeometry": true,
28
29
  "checkBarcodeBackground": false,
29
30
  };
31
+ export var propertiesParams = {
32
+ "checkHoldersSignature": true,
33
+ };
30
34
  export var authenticityParams = {
31
35
  "useLivenessCheck": true,
32
36
  "checkUVLuminiscence": false,
@@ -43,7 +47,9 @@ export var authenticityParams = {
43
47
  "checkPhotoComparison": true,
44
48
  "checkLetterScreen": false,
45
49
  "checkSecurityText": true,
50
+ "checkProperties": false,
46
51
  "livenessParams": livenessParams,
52
+ "propertiesParams": propertiesParams,
47
53
  };
48
54
  export var glaresCheckParams = {"imgMarginPart": 0.5, "maxGlaringPart": 1.5};
49
55
  export var imageQA = {
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "..": {
15
15
  "name": "@regulaforensics/document-reader",
16
- "version": "9.6.941-rc",
16
+ "version": "9.6.958-rc",
17
17
  "dev": true,
18
18
  "license": "commercial",
19
19
  "dependencies": {
package/test/test.tsx CHANGED
@@ -1,6 +1,209 @@
1
1
  import { compare } from './utils'
2
- import { AccessControlProcedureType, Application, Attribute, AuthenticityCheck, AuthenticityElement, AuthenticityParams, AuthenticityResult, Authority, BackendProcessingConfig, Bsi, BarcodeField, BarcodeResult, BytesData, CardProperties, CertificateChain, CertificateData, Comparison, Coordinate, Customization, CustomizationColors, CustomizationFonts, CustomizationImages, CustomizationTimings, CustomizationMatrices, CustomizationContentModes, DataField, DocReaderException, DocReaderScenario, DocReaderVersion, DocumentsDatabase, DocumentType, EDLDataGroups, EIDDataGroups, DTCDataGroup, EPassportDataGroups, Extension, FaceApiParams, FaceApiSearchParams, File, FileData, Functionality, GlaresCheckParams, RFIDParams, GraphicField, GraphicResult, ImageInputData, ImageQA, ImageQuality, ImageQualityGroup, InitConfig, License, LivenessParams, OnlineProcessingConfig, OpticalStatus, PAAttribute, PAResourcesIssuer, PDF417Info, PKDCertificate, PACEProtocol, CAProtocol, Position, PrepareProgress, ProcessParams, RecognizeConfig, Rect, Results, ResultsStatus, RFIDException, RFIDNotification, RFIDOrigin, RFIDScenario, RFIDSessionData, AgeStatus, RFIDStatus, RFIDValidity, RFIDValue, ScannerConfig, SecurityObject, SecurityObjectCertificates, SignerInfo, Symbol, TAChallenge, TccParams, TextField, TextResult, TextSource, TransactionInfo, Validity, Value, VDSNCData, VDSData, DocFeature, DeviceRetrievalMethod, DocumentRequest18013MDL, DataRetrieval, DeviceEngagement, NameSpaceMDL, DocumentRequestMDL, FinalizeConfig } from '@regulaforensics/document-reader/www/capacitor'
3
- import { accessControlProcedureType, application, attribute, authenticityCheck, authenticityElement, authenticityParams, authenticityResult, authority, backendProcessingConfig, bsi, barcodeField, barcodeResult, bytesData, cardProperties, certificateChain, certificateData, comparison, coordinate, customization, customizationColors, customizationFonts, customizationImages, customizationTimings, customizationMatrices, customizationContentModes, dataField, docReaderException, docReaderScenario, docReaderVersion, documentsDatabase, documentType, eDLDataGroups, eIDDataGroups, dtcDataGroup, ePassportDataGroups, extension, faceApiParams, faceApiSearchParams, file, fileData, functionality, glaresCheckParams, rfidParams, graphicField, graphicResult, imageInputData, imageQA, imageQuality, imageQualityGroup, initConfig, license, livenessParams, onlineProcessingConfig, opticalStatus, paAttribute, paResourcesIssuer, pdf417Info, pkdCertificate, paceProtocol, caProtocol, position, prepareProgress, processParams, recognizeConfig, recognizeConfig2, rect, results, resultsStatus, rfidException, rfidNotification, rfidOrigin, rfidScenario, rfidSessionData, ageStatus, rfidStatus, rfidValidity, rfidValue, scannerConfig, securityObject, securityObjectCertificates, signerInfo, symbol, taChallenge, tccParams, textField, textResult, textSource, transactionInfo, validity, value, vdsncData, vdsData, docFeature, deviceRetrievalMethod, documentRequest18013MDL, dataRetrieval, deviceEngagement, nameSpaceMDL, documentRequestMDL, finalizeConfig } from './json'
2
+ import {
3
+ AccessControlProcedureType,
4
+ Application,
5
+ Attribute,
6
+ AuthenticityCheck,
7
+ AuthenticityElement,
8
+ AuthenticityParams,
9
+ AuthenticityResult,
10
+ Authority,
11
+ BackendProcessingConfig,
12
+ Bsi,
13
+ BarcodeField,
14
+ BarcodeResult,
15
+ BytesData,
16
+ CardProperties,
17
+ CertificateChain,
18
+ CertificateData,
19
+ Comparison,
20
+ Coordinate,
21
+ Customization,
22
+ CustomizationColors,
23
+ CustomizationFonts,
24
+ CustomizationImages,
25
+ CustomizationTimings,
26
+ CustomizationMatrices,
27
+ CustomizationContentModes,
28
+ DataField,
29
+ DocReaderException,
30
+ DocReaderScenario,
31
+ DocReaderVersion,
32
+ DocumentsDatabase,
33
+ DocumentType,
34
+ EDLDataGroups,
35
+ EIDDataGroups,
36
+ DTCDataGroup,
37
+ EPassportDataGroups,
38
+ Extension,
39
+ FaceApiParams,
40
+ FaceApiSearchParams,
41
+ File,
42
+ FileData,
43
+ Functionality,
44
+ GlaresCheckParams,
45
+ RFIDParams,
46
+ GraphicField,
47
+ GraphicResult,
48
+ ImageInputData,
49
+ ImageQA,
50
+ ImageQuality,
51
+ ImageQualityGroup,
52
+ InitConfig,
53
+ License,
54
+ LivenessParams,
55
+ AuthenticityPropertiesParams,
56
+ OnlineProcessingConfig,
57
+ OpticalStatus,
58
+ PAAttribute,
59
+ PAResourcesIssuer,
60
+ PDF417Info,
61
+ PKDCertificate,
62
+ PACEProtocol,
63
+ CAProtocol,
64
+ Position,
65
+ PrepareProgress,
66
+ ProcessParams,
67
+ RecognizeConfig,
68
+ Rect,
69
+ Results,
70
+ ResultsStatus,
71
+ RFIDException,
72
+ RFIDNotification,
73
+ RFIDOrigin,
74
+ RFIDScenario,
75
+ RFIDSessionData,
76
+ AgeStatus,
77
+ RFIDStatus,
78
+ RFIDValidity,
79
+ RFIDValue,
80
+ ScannerConfig,
81
+ SecurityObject,
82
+ SecurityObjectCertificates,
83
+ SignerInfo,
84
+ Symbol,
85
+ TAChallenge,
86
+ TccParams,
87
+ TextField,
88
+ TextResult,
89
+ TextSource,
90
+ TransactionInfo,
91
+ Validity,
92
+ Value,
93
+ VDSNCData,
94
+ VDSData,
95
+ DocFeature,
96
+ DeviceRetrievalMethod,
97
+ DocumentRequest18013MDL,
98
+ DataRetrieval,
99
+ DeviceEngagement,
100
+ NameSpaceMDL,
101
+ DocumentRequestMDL,
102
+ FinalizeConfig,
103
+ } from '@regulaforensics/document-reader/www/capacitor'
104
+ import {
105
+ accessControlProcedureType,
106
+ application,
107
+ attribute,
108
+ authenticityCheck,
109
+ authenticityElement,
110
+ authenticityParams,
111
+ authenticityResult,
112
+ authority,
113
+ backendProcessingConfig,
114
+ bsi,
115
+ barcodeField,
116
+ barcodeResult,
117
+ bytesData,
118
+ cardProperties,
119
+ certificateChain,
120
+ certificateData,
121
+ comparison,
122
+ coordinate,
123
+ customization,
124
+ customizationColors,
125
+ customizationFonts,
126
+ customizationImages,
127
+ customizationTimings,
128
+ customizationMatrices,
129
+ customizationContentModes,
130
+ dataField,
131
+ docReaderException,
132
+ docReaderScenario,
133
+ docReaderVersion,
134
+ documentsDatabase,
135
+ documentType,
136
+ eDLDataGroups,
137
+ eIDDataGroups,
138
+ dtcDataGroup,
139
+ ePassportDataGroups,
140
+ extension,
141
+ faceApiParams,
142
+ faceApiSearchParams,
143
+ file,
144
+ fileData,
145
+ functionality,
146
+ glaresCheckParams,
147
+ rfidParams,
148
+ graphicField,
149
+ graphicResult,
150
+ imageInputData,
151
+ imageQA,
152
+ imageQuality,
153
+ imageQualityGroup,
154
+ initConfig,
155
+ license,
156
+ livenessParams,
157
+ propertiesParams,
158
+ onlineProcessingConfig,
159
+ opticalStatus,
160
+ paAttribute,
161
+ paResourcesIssuer,
162
+ pdf417Info,
163
+ pkdCertificate,
164
+ paceProtocol,
165
+ caProtocol,
166
+ position,
167
+ prepareProgress,
168
+ processParams,
169
+ recognizeConfig,
170
+ recognizeConfig2,
171
+ rect,
172
+ results,
173
+ resultsStatus,
174
+ rfidException,
175
+ rfidNotification,
176
+ rfidOrigin,
177
+ rfidScenario,
178
+ rfidSessionData,
179
+ ageStatus,
180
+ rfidStatus,
181
+ rfidValidity,
182
+ rfidValue,
183
+ scannerConfig,
184
+ securityObject,
185
+ securityObjectCertificates,
186
+ signerInfo,
187
+ symbol,
188
+ taChallenge,
189
+ tccParams,
190
+ textField,
191
+ textResult,
192
+ textSource,
193
+ transactionInfo,
194
+ validity,
195
+ value,
196
+ vdsncData,
197
+ vdsData,
198
+ docFeature,
199
+ deviceRetrievalMethod,
200
+ documentRequest18013MDL,
201
+ dataRetrieval,
202
+ deviceEngagement,
203
+ nameSpaceMDL,
204
+ documentRequestMDL,
205
+ finalizeConfig,
206
+ } from './json'
4
207
 
5
208
  compare('initConfig', initConfig, InitConfig.fromJson)
6
209
  compare('onlineProcessingConfig', onlineProcessingConfig, OnlineProcessingConfig.fromJson)
@@ -14,6 +217,7 @@ compare('faceApiSearchParams', faceApiSearchParams, FaceApiSearchParams.fromJson
14
217
  compare('faceApiParams', faceApiParams, FaceApiParams.fromJson)
15
218
 
16
219
  compare('livenessParams', livenessParams, LivenessParams.fromJson)
220
+ compare('propertiesParams', propertiesParams, AuthenticityPropertiesParams.fromJson);
17
221
  compare('authenticityParams', authenticityParams, AuthenticityParams.fromJson)
18
222
  compare('glaresCheckParams', glaresCheckParams, GlaresCheckParams.fromJson)
19
223
  compare('rfidParams', rfidParams, RFIDParams.fromJson)