@regulaforensics/document-reader 8.2.186-beta
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 +18 -0
- package/RNDocumentReader.podspec +21 -0
- package/android/CVDDocumentReader.kt +74 -0
- package/android/build.gradle +36 -0
- package/android/cordova.gradle +12 -0
- package/android/src/main/java/com/regula/plugin/documentreader/BluetoothUtil.kt +160 -0
- package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +826 -0
- package/android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt +1795 -0
- package/android/src/main/java/com/regula/plugin/documentreader/Main.kt +573 -0
- package/android/src/main/java/com/regula/plugin/documentreader/RNDocumentReaderModule.kt +100 -0
- package/android/src/main/java/com/regula/plugin/documentreader/Utils.kt +181 -0
- package/examples/capacitor/README.md +12 -0
- package/examples/capacitor/android/app/build.gradle +50 -0
- package/examples/capacitor/android/app/capacitor.build.gradle +22 -0
- package/examples/capacitor/android/app/proguard-rules.pro +21 -0
- package/examples/capacitor/android/app/src/main/AndroidManifest.xml +27 -0
- package/examples/capacitor/android/app/src/main/assets/Regula/.gitkeep +0 -0
- package/examples/capacitor/android/app/src/main/java/com/regula/dr/fullauthrfid/MainActivity.java +5 -0
- package/examples/capacitor/android/app/src/main/res/drawable/ic_launcher.png +0 -0
- package/examples/capacitor/android/app/src/main/res/drawable/splash.png +0 -0
- package/examples/capacitor/android/app/src/main/res/layout/activity_main.xml +12 -0
- package/examples/capacitor/android/app/src/main/res/values/strings.xml +7 -0
- package/examples/capacitor/android/app/src/main/res/values/styles.xml +22 -0
- package/examples/capacitor/android/build.gradle +30 -0
- package/examples/capacitor/android/capacitor.settings.gradle +15 -0
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +7 -0
- package/examples/capacitor/android/gradle.properties +22 -0
- package/examples/capacitor/android/gradlew +252 -0
- package/examples/capacitor/android/gradlew.bat +94 -0
- package/examples/capacitor/android/settings.gradle +5 -0
- package/examples/capacitor/android/variables.gradle +16 -0
- package/examples/capacitor/index.html +10 -0
- package/examples/capacitor/ionic.config.json +7 -0
- package/examples/capacitor/ios/App/App/App.entitlements +5 -0
- package/examples/capacitor/ios/App/App/AppDelegate.swift +49 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png +0 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/Contents.json +6 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json +23 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png +0 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png +0 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png +0 -0
- package/examples/capacitor/ios/App/App/Base.lproj/LaunchScreen.storyboard +32 -0
- package/examples/capacitor/ios/App/App/Base.lproj/Main.storyboard +19 -0
- package/examples/capacitor/ios/App/App/Info.plist +53 -0
- package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +414 -0
- package/examples/capacitor/ios/App/App.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/examples/capacitor/ios/App/App.xcworkspace/contents.xcworkspacedata +10 -0
- package/examples/capacitor/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/examples/capacitor/ios/App/Podfile +26 -0
- package/examples/capacitor/ios/App/Podfile.lock +56 -0
- package/examples/capacitor/package-lock.json +3467 -0
- package/examples/capacitor/package.json +29 -0
- package/examples/capacitor/public/assets/.gitkeep +0 -0
- package/examples/capacitor/public/images/document.png +0 -0
- package/examples/capacitor/public/images/portrait.png +0 -0
- package/examples/capacitor/scripts/android.sh +9 -0
- package/examples/capacitor/scripts/ios.sh +8 -0
- package/examples/capacitor/scripts/setup.sh +6 -0
- package/examples/capacitor/src/extra/bt_device.tsx +32 -0
- package/examples/capacitor/src/extra/custom_rfid.tsx +74 -0
- package/examples/capacitor/src/main.css +131 -0
- package/examples/capacitor/src/main.html +41 -0
- package/examples/capacitor/src/main.tsx +175 -0
- package/examples/capacitor/tsconfig.json +5 -0
- package/examples/capacitor/vite.config.ts +17 -0
- package/examples/cordova/.vscode/launch.json +28 -0
- package/examples/cordova/.vscode/typings/cordova/cordova.d.ts +80 -0
- package/examples/cordova/README.md +12 -0
- package/examples/cordova/config.xml +29 -0
- package/examples/cordova/package-lock.json +1314 -0
- package/examples/cordova/package.json +32 -0
- package/examples/cordova/scripts/android.sh +8 -0
- package/examples/cordova/scripts/ios.sh +8 -0
- package/examples/cordova/scripts/setup.sh +8 -0
- package/examples/cordova/www/images/document.png +0 -0
- package/examples/cordova/www/images/logo.png +0 -0
- package/examples/cordova/www/images/portrait.png +0 -0
- package/examples/cordova/www/index.html +21 -0
- package/examples/cordova/www/src/main.css +130 -0
- package/examples/cordova/www/src/main.html +63 -0
- package/examples/cordova/www/src/main.js +50 -0
- package/examples/ionic/README.md +12 -0
- package/examples/ionic/angular.json +39 -0
- package/examples/ionic/config.xml +28 -0
- package/examples/ionic/index.html +19 -0
- package/examples/ionic/index.ts +17 -0
- package/examples/ionic/ionic.config.json +7 -0
- package/examples/ionic/package-lock.json +16559 -0
- package/examples/ionic/package.json +47 -0
- package/examples/ionic/scripts/android.sh +8 -0
- package/examples/ionic/scripts/ios.sh +8 -0
- package/examples/ionic/scripts/setup.sh +8 -0
- package/examples/ionic/src/assets/.gitkeep +0 -0
- package/examples/ionic/src/images/document.png +0 -0
- package/examples/ionic/src/images/icon.png +0 -0
- package/examples/ionic/src/images/portrait.png +0 -0
- package/examples/ionic/src/main.css +130 -0
- package/examples/ionic/src/main.html +63 -0
- package/examples/ionic/src/main.ts +66 -0
- package/examples/ionic/tsconfig.json +12 -0
- package/examples/react_native/README.md +12 -0
- package/examples/react_native/app.config.ts +53 -0
- package/examples/react_native/assets/.gitkeep +0 -0
- package/examples/react_native/images/document.png +0 -0
- package/examples/react_native/images/icon/adaptive-icon.png +0 -0
- package/examples/react_native/images/icon/icon.png +0 -0
- package/examples/react_native/images/portrait.png +0 -0
- package/examples/react_native/index.html +11 -0
- package/examples/react_native/index.tsx +52 -0
- package/examples/react_native/metro.config.js +7 -0
- package/examples/react_native/package-lock.json +9254 -0
- package/examples/react_native/package.json +27 -0
- package/examples/react_native/scripts/android.sh +12 -0
- package/examples/react_native/scripts/ios.sh +11 -0
- package/examples/react_native/scripts/setup.sh +8 -0
- package/examples/react_native/src/main.css +130 -0
- package/examples/react_native/src/main.html +63 -0
- package/examples/react_native/src/main.tsx +50 -0
- package/ios/CVDDocumentReader.h +7 -0
- package/ios/CVDDocumentReader.m +39 -0
- package/ios/RGLWConfig.h +42 -0
- package/ios/RGLWConfig.m +1398 -0
- package/ios/RGLWJSONConstructor.h +185 -0
- package/ios/RGLWJSONConstructor.m +2379 -0
- package/ios/RGLWMain.h +36 -0
- package/ios/RGLWMain.m +610 -0
- package/ios/RNDocumentReader.h +8 -0
- package/ios/RNDocumentReader.m +49 -0
- package/package.json +36 -0
- package/plugin.xml +51 -0
- package/www/capacitor/config/InitConfig.js +25 -0
- package/www/capacitor/config/OnlineProcessingConfig.js +41 -0
- package/www/capacitor/config/RFIDConfig.js +31 -0
- package/www/capacitor/config/RecognizeConfig.js +103 -0
- package/www/capacitor/config/ScannerConfig.js +38 -0
- package/www/capacitor/index.js +486 -0
- package/www/capacitor/info/DocReaderException.js +57 -0
- package/www/capacitor/info/DocReaderScenario.js +71 -0
- package/www/capacitor/info/DocReaderVersion.js +23 -0
- package/www/capacitor/info/DocumentsDatabase.js +27 -0
- package/www/capacitor/info/License.js +22 -0
- package/www/capacitor/info/PrepareProgress.js +23 -0
- package/www/capacitor/info/RFIDException.js +19 -0
- package/www/capacitor/internal/bridge.js +98 -0
- package/www/capacitor/internal/cordova.js +17 -0
- package/www/capacitor/params/Functionality.js +303 -0
- package/www/capacitor/params/customization/Customization.js +550 -0
- package/www/capacitor/params/customization/CustomizationColors.js +74 -0
- package/www/capacitor/params/customization/CustomizationFonts.js +40 -0
- package/www/capacitor/params/customization/CustomizationImages.js +25 -0
- package/www/capacitor/params/customization/Font.js +28 -0
- package/www/capacitor/params/process_params/AuthenticityParams.js +129 -0
- package/www/capacitor/params/process_params/BackendProcessingConfig.js +25 -0
- package/www/capacitor/params/process_params/FaceApiParams.js +38 -0
- package/www/capacitor/params/process_params/FaceApiSearchParams.js +21 -0
- package/www/capacitor/params/process_params/GlaresCheckParams.js +18 -0
- package/www/capacitor/params/process_params/ImageQA.js +97 -0
- package/www/capacitor/params/process_params/LivenessParams.js +67 -0
- package/www/capacitor/params/process_params/ProcessParams.js +570 -0
- package/www/capacitor/params/process_params/RfidParams.js +15 -0
- package/www/capacitor/params/rfid_scenario/DTCDataGroups.js +53 -0
- package/www/capacitor/params/rfid_scenario/EDLDataGroups.js +116 -0
- package/www/capacitor/params/rfid_scenario/EIDDataGroups.js +165 -0
- package/www/capacitor/params/rfid_scenario/EPassportDataGroups.js +130 -0
- package/www/capacitor/params/rfid_scenario/RFIDScenario.js +493 -0
- package/www/capacitor/results/DocumentType.js +285 -0
- package/www/capacitor/results/Position.js +60 -0
- package/www/capacitor/results/Results.js +318 -0
- package/www/capacitor/results/TransactionInfo.js +16 -0
- package/www/capacitor/results/authenticity/Authenticity.js +23 -0
- package/www/capacitor/results/authenticity/AuthenticityCheck.js +33 -0
- package/www/capacitor/results/authenticity/AuthenticityElement.js +27 -0
- package/www/capacitor/results/authenticity/AuthenticityResult.js +26 -0
- package/www/capacitor/results/authenticity/CheckDiagnose.js +124 -0
- package/www/capacitor/results/authenticity/SecurityFeatureType.js +59 -0
- package/www/capacitor/results/barcode/BarcodeField.js +24 -0
- package/www/capacitor/results/barcode/BarcodeResult.js +24 -0
- package/www/capacitor/results/barcode/BarcodeStatus.js +33 -0
- package/www/capacitor/results/barcode/BarcodeType.js +21 -0
- package/www/capacitor/results/barcode/PDF417Info.js +16 -0
- package/www/capacitor/results/image_quality/ImageQuality.js +31 -0
- package/www/capacitor/results/image_quality/ImageQualityCheckType.js +19 -0
- package/www/capacitor/results/image_quality/ImageQualityGroup.js +30 -0
- package/www/capacitor/results/rfid/AccessControlProcedureType.js +21 -0
- package/www/capacitor/results/rfid/Application.js +47 -0
- package/www/capacitor/results/rfid/Attribute.js +16 -0
- package/www/capacitor/results/rfid/Authority.js +28 -0
- package/www/capacitor/results/rfid/CardProperties.js +38 -0
- package/www/capacitor/results/rfid/CertificateChain.js +51 -0
- package/www/capacitor/results/rfid/CertificateData.js +14 -0
- package/www/capacitor/results/rfid/DataField.js +16 -0
- package/www/capacitor/results/rfid/Extension.js +14 -0
- package/www/capacitor/results/rfid/File.js +39 -0
- package/www/capacitor/results/rfid/FileData.js +18 -0
- package/www/capacitor/results/rfid/RFIDAccessControlProcedureType.js +10 -0
- package/www/capacitor/results/rfid/RFIDCertificateType.js +13 -0
- package/www/capacitor/results/rfid/RFIDDataFileType.js +98 -0
- package/www/capacitor/results/rfid/RFIDSessionData.js +76 -0
- package/www/capacitor/results/rfid/RFIDValidity.js +16 -0
- package/www/capacitor/results/rfid/RFIDValue.js +20 -0
- package/www/capacitor/results/rfid/SecurityObject.js +31 -0
- package/www/capacitor/results/rfid/SecurityObjectCertificates.js +14 -0
- package/www/capacitor/results/rfid/SignerInfo.js +57 -0
- package/www/capacitor/results/status/CheckResult.js +5 -0
- package/www/capacitor/results/status/OpticalStatus.js +30 -0
- package/www/capacitor/results/status/RFIDStatus.js +26 -0
- package/www/capacitor/results/status/ResultsStatus.js +28 -0
- package/www/capacitor/results/visible_digital_seals/BytesData.js +18 -0
- package/www/capacitor/results/visible_digital_seals/LDSParsingErrorCodes.js +134 -0
- package/www/capacitor/results/visible_digital_seals/LDSParsingNotificationCodes.js +232 -0
- package/www/capacitor/results/visible_digital_seals/VDSNCData.js +40 -0
- package/www/capacitor/results/visual_results/Comparison.js +19 -0
- package/www/capacitor/results/visual_results/FieldType.js +658 -0
- package/www/capacitor/results/visual_results/GraphicField.js +33 -0
- package/www/capacitor/results/visual_results/GraphicFieldType.js +25 -0
- package/www/capacitor/results/visual_results/GraphicResult.js +22 -0
- package/www/capacitor/results/visual_results/LCID.js +174 -0
- package/www/capacitor/results/visual_results/Lights.js +11 -0
- package/www/capacitor/results/visual_results/RFIDOrigin.js +18 -0
- package/www/capacitor/results/visual_results/Rect.js +18 -0
- package/www/capacitor/results/visual_results/Symbol.js +18 -0
- package/www/capacitor/results/visual_results/TextField.js +68 -0
- package/www/capacitor/results/visual_results/TextResult.js +42 -0
- package/www/capacitor/results/visual_results/TextSource.js +19 -0
- package/www/capacitor/results/visual_results/Validity.js +17 -0
- package/www/capacitor/results/visual_results/Value.js +39 -0
- package/www/capacitor/rfid/PAAttribute.js +17 -0
- package/www/capacitor/rfid/PAResourcesIssuer.js +27 -0
- package/www/capacitor/rfid/PKDCertificate.js +54 -0
- package/www/capacitor/rfid/RFIDErrorCodes.js +123 -0
- package/www/capacitor/rfid/RFIDNotification.js +60 -0
- package/www/capacitor/rfid/TAChallenge.js +23 -0
- package/www/capacitor/rfid/TccParams.js +24 -0
- package/www/cordova.js +9816 -0
- package/www/react-native/config/InitConfig.js +25 -0
- package/www/react-native/config/OnlineProcessingConfig.js +41 -0
- package/www/react-native/config/RFIDConfig.js +31 -0
- package/www/react-native/config/RecognizeConfig.js +103 -0
- package/www/react-native/config/ScannerConfig.js +38 -0
- package/www/react-native/index.js +486 -0
- package/www/react-native/info/DocReaderException.js +57 -0
- package/www/react-native/info/DocReaderScenario.js +71 -0
- package/www/react-native/info/DocReaderVersion.js +23 -0
- package/www/react-native/info/DocumentsDatabase.js +27 -0
- package/www/react-native/info/License.js +22 -0
- package/www/react-native/info/PrepareProgress.js +23 -0
- package/www/react-native/info/RFIDException.js +19 -0
- package/www/react-native/internal/bridge.js +98 -0
- package/www/react-native/params/Functionality.js +303 -0
- package/www/react-native/params/customization/Customization.js +550 -0
- package/www/react-native/params/customization/CustomizationColors.js +74 -0
- package/www/react-native/params/customization/CustomizationFonts.js +40 -0
- package/www/react-native/params/customization/CustomizationImages.js +25 -0
- package/www/react-native/params/customization/Font.js +28 -0
- package/www/react-native/params/process_params/AuthenticityParams.js +129 -0
- package/www/react-native/params/process_params/BackendProcessingConfig.js +25 -0
- package/www/react-native/params/process_params/FaceApiParams.js +38 -0
- package/www/react-native/params/process_params/FaceApiSearchParams.js +21 -0
- package/www/react-native/params/process_params/GlaresCheckParams.js +18 -0
- package/www/react-native/params/process_params/ImageQA.js +97 -0
- package/www/react-native/params/process_params/LivenessParams.js +67 -0
- package/www/react-native/params/process_params/ProcessParams.js +570 -0
- package/www/react-native/params/process_params/RfidParams.js +15 -0
- package/www/react-native/params/rfid_scenario/DTCDataGroups.js +53 -0
- package/www/react-native/params/rfid_scenario/EDLDataGroups.js +116 -0
- package/www/react-native/params/rfid_scenario/EIDDataGroups.js +165 -0
- package/www/react-native/params/rfid_scenario/EPassportDataGroups.js +130 -0
- package/www/react-native/params/rfid_scenario/RFIDScenario.js +493 -0
- package/www/react-native/results/DocumentType.js +285 -0
- package/www/react-native/results/Position.js +60 -0
- package/www/react-native/results/Results.js +318 -0
- package/www/react-native/results/TransactionInfo.js +16 -0
- package/www/react-native/results/authenticity/Authenticity.js +23 -0
- package/www/react-native/results/authenticity/AuthenticityCheck.js +33 -0
- package/www/react-native/results/authenticity/AuthenticityElement.js +27 -0
- package/www/react-native/results/authenticity/AuthenticityResult.js +26 -0
- package/www/react-native/results/authenticity/CheckDiagnose.js +124 -0
- package/www/react-native/results/authenticity/SecurityFeatureType.js +59 -0
- package/www/react-native/results/barcode/BarcodeField.js +24 -0
- package/www/react-native/results/barcode/BarcodeResult.js +24 -0
- package/www/react-native/results/barcode/BarcodeStatus.js +33 -0
- package/www/react-native/results/barcode/BarcodeType.js +21 -0
- package/www/react-native/results/barcode/PDF417Info.js +16 -0
- package/www/react-native/results/image_quality/ImageQuality.js +31 -0
- package/www/react-native/results/image_quality/ImageQualityCheckType.js +19 -0
- package/www/react-native/results/image_quality/ImageQualityGroup.js +30 -0
- package/www/react-native/results/rfid/AccessControlProcedureType.js +21 -0
- package/www/react-native/results/rfid/Application.js +47 -0
- package/www/react-native/results/rfid/Attribute.js +16 -0
- package/www/react-native/results/rfid/Authority.js +28 -0
- package/www/react-native/results/rfid/CardProperties.js +38 -0
- package/www/react-native/results/rfid/CertificateChain.js +51 -0
- package/www/react-native/results/rfid/CertificateData.js +14 -0
- package/www/react-native/results/rfid/DataField.js +16 -0
- package/www/react-native/results/rfid/Extension.js +14 -0
- package/www/react-native/results/rfid/File.js +39 -0
- package/www/react-native/results/rfid/FileData.js +18 -0
- package/www/react-native/results/rfid/RFIDAccessControlProcedureType.js +10 -0
- package/www/react-native/results/rfid/RFIDCertificateType.js +13 -0
- package/www/react-native/results/rfid/RFIDDataFileType.js +98 -0
- package/www/react-native/results/rfid/RFIDSessionData.js +76 -0
- package/www/react-native/results/rfid/RFIDValidity.js +16 -0
- package/www/react-native/results/rfid/RFIDValue.js +20 -0
- package/www/react-native/results/rfid/SecurityObject.js +31 -0
- package/www/react-native/results/rfid/SecurityObjectCertificates.js +14 -0
- package/www/react-native/results/rfid/SignerInfo.js +57 -0
- package/www/react-native/results/status/CheckResult.js +5 -0
- package/www/react-native/results/status/OpticalStatus.js +30 -0
- package/www/react-native/results/status/RFIDStatus.js +26 -0
- package/www/react-native/results/status/ResultsStatus.js +28 -0
- package/www/react-native/results/visible_digital_seals/BytesData.js +18 -0
- package/www/react-native/results/visible_digital_seals/LDSParsingErrorCodes.js +134 -0
- package/www/react-native/results/visible_digital_seals/LDSParsingNotificationCodes.js +232 -0
- package/www/react-native/results/visible_digital_seals/VDSNCData.js +40 -0
- package/www/react-native/results/visual_results/Comparison.js +19 -0
- package/www/react-native/results/visual_results/FieldType.js +658 -0
- package/www/react-native/results/visual_results/GraphicField.js +33 -0
- package/www/react-native/results/visual_results/GraphicFieldType.js +25 -0
- package/www/react-native/results/visual_results/GraphicResult.js +22 -0
- package/www/react-native/results/visual_results/LCID.js +174 -0
- package/www/react-native/results/visual_results/Lights.js +11 -0
- package/www/react-native/results/visual_results/RFIDOrigin.js +18 -0
- package/www/react-native/results/visual_results/Rect.js +18 -0
- package/www/react-native/results/visual_results/Symbol.js +18 -0
- package/www/react-native/results/visual_results/TextField.js +68 -0
- package/www/react-native/results/visual_results/TextResult.js +42 -0
- package/www/react-native/results/visual_results/TextSource.js +19 -0
- package/www/react-native/results/visual_results/Validity.js +17 -0
- package/www/react-native/results/visual_results/Value.js +39 -0
- package/www/react-native/rfid/PAAttribute.js +17 -0
- package/www/react-native/rfid/PAResourcesIssuer.js +27 -0
- package/www/react-native/rfid/PKDCertificate.js +54 -0
- package/www/react-native/rfid/RFIDErrorCodes.js +123 -0
- package/www/react-native/rfid/RFIDNotification.js +60 -0
- package/www/react-native/rfid/TAChallenge.js +23 -0
- package/www/react-native/rfid/TccParams.js +24 -0
- package/www/types/config/InitConfig.d.ts +63 -0
- package/www/types/config/OnlineProcessingConfig.d.ts +22 -0
- package/www/types/config/RFIDConfig.d.ts +131 -0
- package/www/types/config/RecognizeConfig.d.ts +119 -0
- package/www/types/config/ScannerConfig.d.ts +54 -0
- package/www/types/index.d.ts +421 -0
- package/www/types/info/DocReaderException.d.ts +79 -0
- package/www/types/info/DocReaderScenario.d.ts +90 -0
- package/www/types/info/DocReaderVersion.d.ts +28 -0
- package/www/types/info/DocumentsDatabase.d.ts +42 -0
- package/www/types/info/License.d.ts +23 -0
- package/www/types/info/PrepareProgress.d.ts +15 -0
- package/www/types/info/RFIDException.d.ts +8 -0
- package/www/types/params/Functionality.d.ts +316 -0
- package/www/types/params/customization/Customization.d.ts +558 -0
- package/www/types/params/customization/CustomizationColors.d.ts +16 -0
- package/www/types/params/customization/CustomizationFonts.d.ts +13 -0
- package/www/types/params/customization/CustomizationImages.d.ts +12 -0
- package/www/types/params/customization/Font.d.ts +36 -0
- package/www/types/params/process_params/AuthenticityParams.d.ts +30 -0
- package/www/types/params/process_params/BackendProcessingConfig.d.ts +25 -0
- package/www/types/params/process_params/FaceApiParams.d.ts +68 -0
- package/www/types/params/process_params/FaceApiSearchParams.d.ts +35 -0
- package/www/types/params/process_params/GlaresCheckParams.d.ts +26 -0
- package/www/types/params/process_params/ImageQA.d.ts +79 -0
- package/www/types/params/process_params/LivenessParams.d.ts +20 -0
- package/www/types/params/process_params/ProcessParams.d.ts +465 -0
- package/www/types/params/process_params/RfidParams.d.ts +19 -0
- package/www/types/params/rfid_scenario/DTCDataGroups.d.ts +13 -0
- package/www/types/params/rfid_scenario/EDLDataGroups.d.ts +22 -0
- package/www/types/params/rfid_scenario/EIDDataGroups.d.ts +29 -0
- package/www/types/params/rfid_scenario/EPassportDataGroups.d.ts +24 -0
- package/www/types/params/rfid_scenario/RFIDScenario.d.ts +167 -0
- package/www/types/results/DocumentType.d.ts +525 -0
- package/www/types/results/Position.d.ts +50 -0
- package/www/types/results/Results.d.ts +283 -0
- package/www/types/results/TransactionInfo.d.ts +9 -0
- package/www/types/results/authenticity/Authenticity.d.ts +67 -0
- package/www/types/results/authenticity/AuthenticityCheck.d.ts +23 -0
- package/www/types/results/authenticity/AuthenticityElement.d.ts +26 -0
- package/www/types/results/authenticity/AuthenticityResult.d.ts +16 -0
- package/www/types/results/authenticity/CheckDiagnose.d.ts +229 -0
- package/www/types/results/authenticity/SecurityFeatureType.d.ts +100 -0
- package/www/types/results/barcode/BarcodeField.d.ts +37 -0
- package/www/types/results/barcode/BarcodeResult.d.ts +14 -0
- package/www/types/results/barcode/BarcodeStatus.d.ts +66 -0
- package/www/types/results/barcode/BarcodeType.d.ts +45 -0
- package/www/types/results/barcode/PDF417Info.d.ts +15 -0
- package/www/types/results/image_quality/ImageQuality.d.ts +18 -0
- package/www/types/results/image_quality/ImageQualityCheckType.d.ts +30 -0
- package/www/types/results/image_quality/ImageQualityGroup.d.ts +17 -0
- package/www/types/results/rfid/AccessControlProcedureType.d.ts +21 -0
- package/www/types/results/rfid/Application.d.ts +44 -0
- package/www/types/results/rfid/Attribute.d.ts +9 -0
- package/www/types/results/rfid/Authority.d.ts +11 -0
- package/www/types/results/rfid/CardProperties.d.ts +48 -0
- package/www/types/results/rfid/CertificateChain.d.ts +28 -0
- package/www/types/results/rfid/CertificateData.d.ts +7 -0
- package/www/types/results/rfid/DataField.d.ts +9 -0
- package/www/types/results/rfid/Extension.d.ts +7 -0
- package/www/types/results/rfid/File.d.ts +22 -0
- package/www/types/results/rfid/FileData.d.ts +9 -0
- package/www/types/results/rfid/RFIDAccessControlProcedureType.d.ts +18 -0
- package/www/types/results/rfid/RFIDCertificateType.d.ts +13 -0
- package/www/types/results/rfid/RFIDDataFileType.d.ts +101 -0
- package/www/types/results/rfid/RFIDSessionData.d.ts +48 -0
- package/www/types/results/rfid/RFIDValidity.d.ts +9 -0
- package/www/types/results/rfid/RFIDValue.d.ts +10 -0
- package/www/types/results/rfid/SecurityObject.d.ts +28 -0
- package/www/types/results/rfid/SecurityObjectCertificates.d.ts +8 -0
- package/www/types/results/rfid/SignerInfo.d.ts +41 -0
- package/www/types/results/status/CheckResult.d.ts +8 -0
- package/www/types/results/status/OpticalStatus.d.ts +29 -0
- package/www/types/results/status/RFIDStatus.d.ts +22 -0
- package/www/types/results/status/ResultsStatus.d.ts +24 -0
- package/www/types/results/visible_digital_seals/BytesData.d.ts +9 -0
- package/www/types/results/visible_digital_seals/LDSParsingErrorCodes.d.ts +132 -0
- package/www/types/results/visible_digital_seals/LDSParsingNotificationCodes.d.ts +230 -0
- package/www/types/results/visible_digital_seals/VDSNCData.d.ts +35 -0
- package/www/types/results/visual_results/Comparison.d.ts +15 -0
- package/www/types/results/visual_results/FieldType.d.ts +1310 -0
- package/www/types/results/visual_results/GraphicField.d.ts +29 -0
- package/www/types/results/visual_results/GraphicFieldType.d.ts +52 -0
- package/www/types/results/visual_results/GraphicResult.d.ts +10 -0
- package/www/types/results/visual_results/LCID.d.ts +173 -0
- package/www/types/results/visual_results/Lights.d.ts +23 -0
- package/www/types/results/visual_results/RFIDOrigin.d.ts +10 -0
- package/www/types/results/visual_results/Rect.d.ts +9 -0
- package/www/types/results/visual_results/Symbol.d.ts +14 -0
- package/www/types/results/visual_results/TextField.d.ts +40 -0
- package/www/types/results/visual_results/TextResult.d.ts +23 -0
- package/www/types/results/visual_results/TextSource.d.ts +15 -0
- package/www/types/results/visual_results/Validity.d.ts +13 -0
- package/www/types/results/visual_results/Value.d.ts +27 -0
- package/www/types/rfid/PAAttribute.d.ts +4 -0
- package/www/types/rfid/PAResourcesIssuer.d.ts +7 -0
- package/www/types/rfid/PKDCertificate.d.ts +34 -0
- package/www/types/rfid/RFIDErrorCodes.d.ts +121 -0
- package/www/types/rfid/RFIDNotification.d.ts +153 -0
- package/www/types/rfid/TAChallenge.d.ts +7 -0
- package/www/types/rfid/TccParams.d.ts +25 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ResultType } from "../Results";
|
|
2
|
+
import { GraphicFieldType } from "./GraphicFieldType";
|
|
3
|
+
import { Lights } from "./Lights";
|
|
4
|
+
import { Rect } from './Rect';
|
|
5
|
+
|
|
6
|
+
/** Structure, describing single graphic field extracted. */
|
|
7
|
+
export declare class GraphicField {
|
|
8
|
+
/** Identifies zone whence data is extracted. */
|
|
9
|
+
readonly sourceType: ResultType;
|
|
10
|
+
/** Graphic field logical type. */
|
|
11
|
+
readonly fieldType: GraphicFieldType;
|
|
12
|
+
/** Graphic field symbolic name. */
|
|
13
|
+
readonly fieldName: string;
|
|
14
|
+
/** Light type. */
|
|
15
|
+
readonly light: Lights;
|
|
16
|
+
/** Light symbolic name. */
|
|
17
|
+
readonly lightName: string;
|
|
18
|
+
/** An index of the document page whence the graphic field is extracted. */
|
|
19
|
+
readonly pageIndex: number;
|
|
20
|
+
/** Original page index. */
|
|
21
|
+
readonly originalPageIndex: number;
|
|
22
|
+
/** An image. */
|
|
23
|
+
readonly value?: string;
|
|
24
|
+
/** Field area coordinates on the general image. */
|
|
25
|
+
readonly fieldRect?: Rect;
|
|
26
|
+
|
|
27
|
+
/** Allows you to deserialize object. */
|
|
28
|
+
static fromJson(jsonObject: any): GraphicField | null;
|
|
29
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enumeration contains identifiers that determine the logical type
|
|
3
|
+
* of the graphic data obtained while reading the document filling fields or barcodes.
|
|
4
|
+
*/
|
|
5
|
+
export declare enum GraphicFieldType {
|
|
6
|
+
/** Photo of the document owner. */
|
|
7
|
+
PORTRAIT = 201,
|
|
8
|
+
/** Fingerprint of the document owner. */
|
|
9
|
+
FINGERPR = 202,
|
|
10
|
+
/** Iris of the document owner. */
|
|
11
|
+
EYE = 203,
|
|
12
|
+
/** Signature of the document owner. */
|
|
13
|
+
SIGNATURE = 204,
|
|
14
|
+
/** Barcode image. */
|
|
15
|
+
BAR_CODE = 205,
|
|
16
|
+
/** Image of the citizenship proving document. */
|
|
17
|
+
PROOF_OF_CITIZENSHIP = 206,
|
|
18
|
+
/** Document image. */
|
|
19
|
+
DOCUMENT_IMAGE = 207,
|
|
20
|
+
/** Color dynamic area in the document. */
|
|
21
|
+
COLOR_DYNAMIC = 209,
|
|
22
|
+
/** Ghost portrait. */
|
|
23
|
+
GHOST_PORTRAIT = 210,
|
|
24
|
+
/** Stamp. */
|
|
25
|
+
STAMP = 211,
|
|
26
|
+
/** Portrait of child. */
|
|
27
|
+
PORTRAIT_OF_CHILD = 212,
|
|
28
|
+
/** Contact chip. */
|
|
29
|
+
CONTACT_CHIP = 213,
|
|
30
|
+
/** Other image type. */
|
|
31
|
+
OTHER = 250,
|
|
32
|
+
/** Fingerprint, left thumb. */
|
|
33
|
+
FINGER_LEFT_THUMB = 300,
|
|
34
|
+
/** Fingerprint, left index. */
|
|
35
|
+
FINGER_LEFT_INDEX = 301,
|
|
36
|
+
/** Fingerprint, left middle. */
|
|
37
|
+
FINGER_LEFT_MIDDLE = 302,
|
|
38
|
+
/** Fingerprint, left ring. */
|
|
39
|
+
FINGER_LEFT_RING = 303,
|
|
40
|
+
/** Fingerprint, left little. */
|
|
41
|
+
FINGER_LEFT_LITTLE = 304,
|
|
42
|
+
/** Fingerprint, right thumb. */
|
|
43
|
+
FINGER_RIGHT_THUMB = 305,
|
|
44
|
+
/** Fingerprint, right index. */
|
|
45
|
+
FINGER_RIGHT_INDEX = 306,
|
|
46
|
+
/** Fingerprint, right middle. */
|
|
47
|
+
FINGER_RIGHT_MIDDLE = 307,
|
|
48
|
+
/** Fingerprint, right ring. */
|
|
49
|
+
FINGER_RIGHT_RING = 308,
|
|
50
|
+
/** Fingerprint, right little. */
|
|
51
|
+
FINGER_RIGHT_LITTLE = 309
|
|
52
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GraphicField } from './GraphicField';
|
|
2
|
+
|
|
3
|
+
/** Structure, containing all graphic fields extracted. */
|
|
4
|
+
export declare class GraphicResult {
|
|
5
|
+
/** An array of graphic results. */
|
|
6
|
+
readonly fields: GraphicField[];
|
|
7
|
+
|
|
8
|
+
/** Allows you to deserialize object. */
|
|
9
|
+
static fromJson(jsonObject: any): GraphicResult | null;
|
|
10
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
/** Enumeration contains a language ID that identifies a particular language. */
|
|
2
|
+
export declare enum LCID {
|
|
3
|
+
LATIN = 0,
|
|
4
|
+
ABKHAZIAN_CYRILLIC = 10011,
|
|
5
|
+
AFRIKAANS = 1078,
|
|
6
|
+
ALBANIAN = 1052,
|
|
7
|
+
AMHARIC = 1118,
|
|
8
|
+
ARABIC_ALGERIA = 5121,
|
|
9
|
+
ARABIC_BAHRAIN = 15361,
|
|
10
|
+
ARABIC_EGYPT = 3073,
|
|
11
|
+
ARABIC_IRAQ = 2049,
|
|
12
|
+
ARABIC_JORDAN = 11265,
|
|
13
|
+
ARABIC_KUWAIT = 13313,
|
|
14
|
+
ARABIC_LEBANON = 12289,
|
|
15
|
+
ARABIC_LIBYA = 4097,
|
|
16
|
+
ARABIC_MOROCCO = 6145,
|
|
17
|
+
ARABIC_OMAN = 8193,
|
|
18
|
+
ARABIC_QATAR = 16385,
|
|
19
|
+
ARABIC_SAUDI_ARABIA = 1025,
|
|
20
|
+
ARABIC_SYRIA = 10241,
|
|
21
|
+
ARABIC_TUNISIA = 7169,
|
|
22
|
+
ARABIC_UAE = 14337,
|
|
23
|
+
ARABIC_YEMEN = 9217,
|
|
24
|
+
ARABIC_ARMENIAN = 1067,
|
|
25
|
+
ARABIC_WORLD = 4096,
|
|
26
|
+
AZERI_CYRILIC = 2092,
|
|
27
|
+
AZERI_LATIN = 1068,
|
|
28
|
+
ASSAMESE = 1101,
|
|
29
|
+
BASQUE = 1069,
|
|
30
|
+
BANK_CARD = 10003,
|
|
31
|
+
BANK_CARD_CVV2 = 10004,
|
|
32
|
+
BANK_CARD_NAME = 10002,
|
|
33
|
+
BANK_CARD_NUMBER = 10000,
|
|
34
|
+
BANK_CARD_VALID_THRU = 10001,
|
|
35
|
+
BELARUSIAN = 1059,
|
|
36
|
+
BENGALI_BANGLADESH = 2117,
|
|
37
|
+
BENGALI_INDIA = 1093,
|
|
38
|
+
BULGARIAN = 1026,
|
|
39
|
+
CATALAN = 1027,
|
|
40
|
+
CHINESE_HONGKONG_SAR = 3076,
|
|
41
|
+
CHINESE_MACAO_SAR = 5124,
|
|
42
|
+
CHINESE = 2052,
|
|
43
|
+
CHINESE_SINGAPORE = 4100,
|
|
44
|
+
CHINESE_TAIWAN = 1028,
|
|
45
|
+
CROATIAN = 1050,
|
|
46
|
+
CZECH = 1029,
|
|
47
|
+
DANISH = 1030,
|
|
48
|
+
DIVEHI = 1125,
|
|
49
|
+
DUTCH_BELGIUM = 2067,
|
|
50
|
+
DUTCH_NETHERLANDS = 1043,
|
|
51
|
+
ENGLISH_AUSTRALIA = 3081,
|
|
52
|
+
ENGLISH_BELIZE = 10249,
|
|
53
|
+
ENGLISH_CANADA = 4105,
|
|
54
|
+
ENGLISH_CARRIBEAN = 9225,
|
|
55
|
+
ENGLISH_IRELAND = 6153,
|
|
56
|
+
ENGLISH_JAMAICA = 8201,
|
|
57
|
+
ENGLISH_NEW_ZEALAND = 5129,
|
|
58
|
+
ENGLISH_PHILIPPINES = 13321,
|
|
59
|
+
ENGLISH_SOUTH_AFRICA = 7177,
|
|
60
|
+
ENGLISH_TRINIDAD = 11273,
|
|
61
|
+
ENGLISH_UK = 2057,
|
|
62
|
+
ENGLISH_US = 1033,
|
|
63
|
+
ENGLISH_ZIMBABWE = 12297,
|
|
64
|
+
ESTONIAN = 1061,
|
|
65
|
+
FAEROESE = 1080,
|
|
66
|
+
FARSI = 1065,
|
|
67
|
+
FINNISH = 1035,
|
|
68
|
+
FRENCH_BELGIUM = 2060,
|
|
69
|
+
FRENCH_CANADA = 3084,
|
|
70
|
+
FRENCH_FRANCE = 1036,
|
|
71
|
+
FRENCH_LUXEMBOURG = 5132,
|
|
72
|
+
FRENCH_MONACO = 6156,
|
|
73
|
+
FRENCH_SWITZERLAND = 4108,
|
|
74
|
+
FYRO_MACEDONIAN = 1071,
|
|
75
|
+
GALICIAN = 1110,
|
|
76
|
+
GEORGIAN = 1079,
|
|
77
|
+
GERMAN_AUSTRIA = 3079,
|
|
78
|
+
GERMAN_GERMANY = 1031,
|
|
79
|
+
GERMAN_LIECHTENSTEIN = 5127,
|
|
80
|
+
GERMAN_LUXEMBOURG = 4103,
|
|
81
|
+
GERMAN_SWITZERLAND = 2055,
|
|
82
|
+
GREEK = 1032,
|
|
83
|
+
GUJARATI = 1095,
|
|
84
|
+
HEBREW = 1037,
|
|
85
|
+
HINDI_INDIA = 1081,
|
|
86
|
+
HUNGARIAN = 1038,
|
|
87
|
+
ICELANDIC = 1039,
|
|
88
|
+
INDONESIAN = 1057,
|
|
89
|
+
ITALIAN_ITALY = 1040,
|
|
90
|
+
ITALIAN_SWITZERLAND = 2064,
|
|
91
|
+
JAPANESE = 1041,
|
|
92
|
+
KANNADA = 1099,
|
|
93
|
+
KASHMIRI = 1120,
|
|
94
|
+
KAZAKH = 1087,
|
|
95
|
+
KONKANI = 1111,
|
|
96
|
+
KOREAN = 1042,
|
|
97
|
+
KYRGYZ_CYRILICK = 1088,
|
|
98
|
+
LAO = 1108,
|
|
99
|
+
LATVIAN = 1062,
|
|
100
|
+
LITHUANIAN = 1063,
|
|
101
|
+
MALAY_MALAYSIA = 1086,
|
|
102
|
+
MALAY_BRUNEI_DARUSSALAM = 2110,
|
|
103
|
+
MARATHI = 1102,
|
|
104
|
+
MONGOLIAN_CYRILIC = 1104,
|
|
105
|
+
NORWEGIAN_BOKMAL = 1044,
|
|
106
|
+
NORWEGIAN_NYORSK = 2068,
|
|
107
|
+
PASHTO = 1123,
|
|
108
|
+
POLISH = 1045,
|
|
109
|
+
PORTUGUESE_BRAZIL = 1046,
|
|
110
|
+
PORTUGUESE_PORTUGAL = 2070,
|
|
111
|
+
PUNJABI = 1094,
|
|
112
|
+
RHAETO_ROMANIC = 1047,
|
|
113
|
+
ROMANIAN = 1048,
|
|
114
|
+
RUSSIAN = 1049,
|
|
115
|
+
SANSKRIT = 1103,
|
|
116
|
+
SERBIAN_CYRILIC = 3098,
|
|
117
|
+
SERBIAN_LATIN = 2074,
|
|
118
|
+
SINDHI = 2137,
|
|
119
|
+
SINDHI_INDIA = 1113,
|
|
120
|
+
SINHALA = 1115,
|
|
121
|
+
SLOVAK = 1051,
|
|
122
|
+
SLOVENIAN = 1060,
|
|
123
|
+
SPANISH_ARGENTINA = 11274,
|
|
124
|
+
SPANISH_BOLIVIA = 16394,
|
|
125
|
+
SPANISH_CHILE = 13322,
|
|
126
|
+
SPANICH_COLOMBIA = 9226,
|
|
127
|
+
SPANISH_COSTA_RICA = 5130,
|
|
128
|
+
SPANISH_DOMINICAN_REPUBLIC = 7178,
|
|
129
|
+
SPANISH_ECUADOR = 12298,
|
|
130
|
+
SPANISH_EL_SALVADOR = 17418,
|
|
131
|
+
SPANISH_GUATEMALA = 4106,
|
|
132
|
+
SPANISH_HONDURAS = 18442,
|
|
133
|
+
SPANISH_MEXICO = 2058,
|
|
134
|
+
SPANISH_NICARAGUA = 19466,
|
|
135
|
+
SPANISH_PANAMA = 6154,
|
|
136
|
+
SPANISH_PARAGUAY = 15370,
|
|
137
|
+
SPANISH_PERU = 10250,
|
|
138
|
+
SPANISH_PUERTO_RICO = 20490,
|
|
139
|
+
SPANISH_TRADITIONAL_SORT = 1034,
|
|
140
|
+
SPANISH_INTERNATIONAL_SORT = 3082,
|
|
141
|
+
SPANISH_URUGUAY = 14346,
|
|
142
|
+
SPANISH_VENEZUELA = 8202,
|
|
143
|
+
SWAHILI = 1089,
|
|
144
|
+
SWEDISH = 1053,
|
|
145
|
+
SWEDISH_FINLAND = 2077,
|
|
146
|
+
SYRIAC = 1114,
|
|
147
|
+
TAMIL = 1097,
|
|
148
|
+
TATAR = 1092,
|
|
149
|
+
TELUGU = 1098,
|
|
150
|
+
THAI_THAILAND = 1054,
|
|
151
|
+
TURKISH = 1055,
|
|
152
|
+
TAJIK_CYRILLIC = 1064,
|
|
153
|
+
TURKMEN = 1090,
|
|
154
|
+
UKRAINIAN = 1058,
|
|
155
|
+
URDU = 1056,
|
|
156
|
+
UZBEK_CYRILIC = 2115,
|
|
157
|
+
UZBEK_LATIN = 1091,
|
|
158
|
+
VIETNAMESE = 1066,
|
|
159
|
+
CTC_SIMPLIFIED = 50001,
|
|
160
|
+
CTC_TRADITIONAL = 50002,
|
|
161
|
+
MALTESE = 1082,
|
|
162
|
+
BURMESE = 1109,
|
|
163
|
+
KHMER = 1107,
|
|
164
|
+
KARAKALPAK_LATIN = 10012,
|
|
165
|
+
MALAYALAM = 1100,
|
|
166
|
+
NEPALI = 1121,
|
|
167
|
+
ORIYA = 1096,
|
|
168
|
+
URDU_DETECTION = 10560
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export declare namespace LCID {
|
|
172
|
+
function getTranslation(value: LCID): Promise<string>;
|
|
173
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enumeration contains a set of identifiers used for identifying the
|
|
3
|
+
* document reader possibilities, specifying lighting schemes for scanning, etc.
|
|
4
|
+
*/
|
|
5
|
+
export declare enum Lights {
|
|
6
|
+
/** Light off. */
|
|
7
|
+
NONE = 0,
|
|
8
|
+
/** General UV light scheme. */
|
|
9
|
+
UV = 128,
|
|
10
|
+
/** General white light scheme. */
|
|
11
|
+
WHITE_FULL = 6,
|
|
12
|
+
IR = 16777216,
|
|
13
|
+
/** Upper/lower lighters of IR light scheme. */
|
|
14
|
+
IR_TOP = 8,
|
|
15
|
+
/** Side lighters of IR light scheme. */
|
|
16
|
+
IR_SIDE = 16,
|
|
17
|
+
/** Upper/lower and side lighters of IR light scheme. */
|
|
18
|
+
IR_FULL = 24,
|
|
19
|
+
/** OVD light for hologram visualization. */
|
|
20
|
+
OVD = 67108864,
|
|
21
|
+
/** Combined light for {@link WHITE_FULL} and {@link OVD}. */
|
|
22
|
+
WHITE_FULL_OVD = 67108870
|
|
23
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Structure containing rfid origin values. */
|
|
2
|
+
export declare class RFIDOrigin {
|
|
3
|
+
readonly dg: number;
|
|
4
|
+
readonly dgTag: number;
|
|
5
|
+
readonly entryView: number;
|
|
6
|
+
readonly tagEntry: number;
|
|
7
|
+
|
|
8
|
+
/** Allows you to deserialize object. */
|
|
9
|
+
static fromJson(jsonObject: any): RFIDOrigin | null;
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Rect } from './Rect';
|
|
2
|
+
|
|
3
|
+
/** Structure describing single value of the field. */
|
|
4
|
+
export declare class Symbol {
|
|
5
|
+
/** ASCII code of symbol. */
|
|
6
|
+
readonly code: number;
|
|
7
|
+
/** Bounds result of the particular value. */
|
|
8
|
+
readonly rect?: Rect;
|
|
9
|
+
/** Symbol recognition probability (0–100, %). */
|
|
10
|
+
readonly probability: number;
|
|
11
|
+
|
|
12
|
+
/** Allows you to deserialize object. */
|
|
13
|
+
static fromJson(jsonObject: any): Symbol | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { FieldType } from "./FieldType";
|
|
2
|
+
import { LCID } from "./LCID";
|
|
3
|
+
import { Value } from './Value';
|
|
4
|
+
import { CheckResult } from '../status/CheckResult';
|
|
5
|
+
import { Comparison } from './Comparison';
|
|
6
|
+
import { Validity } from './Validity';
|
|
7
|
+
|
|
8
|
+
/** Serves for storing information from one text data field. */
|
|
9
|
+
export declare class TextField {
|
|
10
|
+
/** Textual field logical type. */
|
|
11
|
+
readonly fieldType: FieldType;
|
|
12
|
+
/** Textual field symbolic name. */
|
|
13
|
+
readonly fieldName: string;
|
|
14
|
+
/**
|
|
15
|
+
* ID of language-culture to differentiate one field of the same type from
|
|
16
|
+
* another (for example Belarus Passport Page # 31 – Belarusian and Russian
|
|
17
|
+
* fields of the same type).
|
|
18
|
+
*/
|
|
19
|
+
readonly lcid: LCID;
|
|
20
|
+
/** LCID symbolic name. */
|
|
21
|
+
readonly lcidName: string;
|
|
22
|
+
/** Value from the field. */
|
|
23
|
+
readonly value?: string;
|
|
24
|
+
readonly getValue?: Value;
|
|
25
|
+
/** An array of values. */
|
|
26
|
+
readonly values: Value[];
|
|
27
|
+
/** Textual field check result. */
|
|
28
|
+
readonly status: CheckResult;
|
|
29
|
+
/** List of all comparison statuses for this field type. */
|
|
30
|
+
readonly comparisonList: Comparison[];
|
|
31
|
+
/** List of all validity statuses for this field type. */
|
|
32
|
+
readonly validityList: Validity[];
|
|
33
|
+
/** Comparison result of the field. */
|
|
34
|
+
readonly comparisonStatus: CheckResult;
|
|
35
|
+
/** Validity result of the field */
|
|
36
|
+
readonly validityStatus: CheckResult;
|
|
37
|
+
|
|
38
|
+
/** Allows you to deserialize object. */
|
|
39
|
+
static fromJson(jsonObject: any): TextField | null;
|
|
40
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CheckResult } from "../status/CheckResult";
|
|
2
|
+
import { TextSource } from './TextSource';
|
|
3
|
+
import { TextField } from './TextField';
|
|
4
|
+
|
|
5
|
+
/** Structure, containing all text data extracted and recognized from the document. */
|
|
6
|
+
export declare class TextResult {
|
|
7
|
+
/** Textual fields check result. */
|
|
8
|
+
readonly status: CheckResult;
|
|
9
|
+
/** Comparison status of all text fields. */
|
|
10
|
+
readonly comparisonStatus: CheckResult;
|
|
11
|
+
/** Validity status of all text fields. */
|
|
12
|
+
readonly validityStatus: CheckResult;
|
|
13
|
+
/**
|
|
14
|
+
* List of all available origin source with overall validity
|
|
15
|
+
* status of all text fields of a particular source type.
|
|
16
|
+
*/
|
|
17
|
+
readonly availableSourceList: TextSource[];
|
|
18
|
+
/** An array of textual results. */
|
|
19
|
+
readonly fields: TextField[];
|
|
20
|
+
|
|
21
|
+
/** Allows you to deserialize object. */
|
|
22
|
+
static fromJson(jsonObject: any): TextResult | null;
|
|
23
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ResultType } from "../Results";
|
|
2
|
+
import { CheckResult } from '../status/CheckResult';
|
|
3
|
+
|
|
4
|
+
/** Structure describing single value of the field. */
|
|
5
|
+
export declare class TextSource {
|
|
6
|
+
/** The value's origin source. */
|
|
7
|
+
readonly sourceType: ResultType;
|
|
8
|
+
/** The value's origin source string description. */
|
|
9
|
+
readonly source?: string;
|
|
10
|
+
/** Overall validity status of all text fields of this source type. */
|
|
11
|
+
readonly validityStatus: CheckResult;
|
|
12
|
+
|
|
13
|
+
/** Allows you to deserialize object. */
|
|
14
|
+
static fromJson(jsonObject: any): TextSource | null;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ResultType } from "../Results";
|
|
2
|
+
import { CheckResult } from '../status/CheckResult';
|
|
3
|
+
|
|
4
|
+
/** Structure describing single value of the field. */
|
|
5
|
+
export declare class Validity {
|
|
6
|
+
/** The value's origin source. */
|
|
7
|
+
readonly sourceType: ResultType;
|
|
8
|
+
/** Overall validity status of all text fields of this particular field. */
|
|
9
|
+
readonly status: CheckResult;
|
|
10
|
+
|
|
11
|
+
/** Allows you to deserialize object. */
|
|
12
|
+
static fromJson(jsonObject: any): Validity | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ResultType } from "../Results";
|
|
2
|
+
import { Rect } from './Rect';
|
|
3
|
+
import { RFIDOrigin } from './RFIDOrigin';
|
|
4
|
+
import { Symbol } from './Symbol';
|
|
5
|
+
|
|
6
|
+
/** Structure describing single value of the field. */
|
|
7
|
+
export declare class Value {
|
|
8
|
+
/** Identifies zone whence data is extracted. */
|
|
9
|
+
readonly sourceType: ResultType;
|
|
10
|
+
/** A value. */
|
|
11
|
+
readonly value?: string;
|
|
12
|
+
/** An original value. */
|
|
13
|
+
readonly originalValue?: string;
|
|
14
|
+
/** An index of the document page whence the textual field is extracted. */
|
|
15
|
+
readonly pageIndex: number;
|
|
16
|
+
/** Field rectangular area coordinates on the image. */
|
|
17
|
+
readonly boundRect?: Rect;
|
|
18
|
+
/** RFID origin data. Only for the 'RFID' source. */
|
|
19
|
+
readonly rfidOrigin?: RFIDOrigin;
|
|
20
|
+
/** List of all symbols for this value. */
|
|
21
|
+
readonly originalSymbols: Symbol[];
|
|
22
|
+
/** Textual field recognition probability (0 - 100, %). */
|
|
23
|
+
readonly probability: number;
|
|
24
|
+
|
|
25
|
+
/** Allows you to deserialize object. */
|
|
26
|
+
static fromJson(jsonObject: any): Value | null;
|
|
27
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/** Class contains information about PKD certificate. */
|
|
2
|
+
export declare class PKDCertificate {
|
|
3
|
+
/** Certificate base64 string. */
|
|
4
|
+
readonly binaryData: string;
|
|
5
|
+
/** Indicates type of certificate. */
|
|
6
|
+
readonly resourceType: PKDResourceType;
|
|
7
|
+
/** Private key base64 string. */
|
|
8
|
+
readonly privateKey: string | null;
|
|
9
|
+
|
|
10
|
+
constructor(binaryData: string, resourceType: PKDResourceType, options?: { privateKey?: string | null });
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export declare enum PKDResourceType {
|
|
14
|
+
/** Certificate file contents (.pem, .cer, .crt, .der). */
|
|
15
|
+
CERTIFICATE_PA = 0,
|
|
16
|
+
/** Certificate file contents (.cvcert) and private key file contents (.pkcs8). */
|
|
17
|
+
CERTIFICATE_TA = 1,
|
|
18
|
+
/** LDIF file contents (.ldif). */
|
|
19
|
+
LDIF = 2,
|
|
20
|
+
/** CRL file contents (.crl). */
|
|
21
|
+
CRL = 3,
|
|
22
|
+
/** Master List (.ml, .mls). */
|
|
23
|
+
ML = 4,
|
|
24
|
+
/** Defect List (.dl, .dls, .dfl). */
|
|
25
|
+
DEFL = 5,
|
|
26
|
+
/** Deviance List (.dl, .dls, .dvl). */
|
|
27
|
+
DEVL = 6,
|
|
28
|
+
/** Black List (.bl, .bls). */
|
|
29
|
+
BL = 7
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export declare namespace PKDResourceType {
|
|
33
|
+
function getType(value: string): PKDResourceType;
|
|
34
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
export declare enum RFIDErrorCodes {
|
|
2
|
+
UNDEFINED = 0,
|
|
3
|
+
NO_ERROR = 1,
|
|
4
|
+
ALREADY_DONE = 2,
|
|
5
|
+
FAILED = -1,
|
|
6
|
+
NO_CHIP_DETECTED = -2147418111,
|
|
7
|
+
NOT_AVAILABLE = -2147418110,
|
|
8
|
+
INVALID_PARAMETER = -2147418108,
|
|
9
|
+
NOT_INITIALIZED = -2147418107,
|
|
10
|
+
NOT_ENOUGH_MEMORY = -2147418106,
|
|
11
|
+
INVALID_DIRECTORY = -2147418104,
|
|
12
|
+
UNKNOWN_COMMAND = -2147418103,
|
|
13
|
+
FILE_IO_ERROR = -2147418102,
|
|
14
|
+
BUSY = -2147418101,
|
|
15
|
+
OLD_FIRMWARE = -2147418100,
|
|
16
|
+
PCSC_FAILED = -2147352576,
|
|
17
|
+
PCSC_READER_NOT_AVAILABLE = -2147352575,
|
|
18
|
+
PCSC_CANT_CONNECT_CARD = -2147352574,
|
|
19
|
+
PCSC_CARD_IS_NOT_CONNECTED = -2147352573,
|
|
20
|
+
PCSC_OPERATION_CANCELLED = -2147352572,
|
|
21
|
+
PCSC_CARD_IS_BUSY = -2147352571,
|
|
22
|
+
PCSC_FAILED_SCARD = -2147352570,
|
|
23
|
+
PCSC_EXT_LE_FAILED = -2147352560,
|
|
24
|
+
LAYER6_SECURITY_MANAGER = -2046820352,
|
|
25
|
+
LAYER6_APP_SELECTION_FAILURE = -2046820351,
|
|
26
|
+
LAYER6_MUTUAL_AUTH_MAC_FAIL = -2046819840,
|
|
27
|
+
LAYER6_MUTUAL_AUTH_ENC_FAIL = -2046819839,
|
|
28
|
+
LAYER6_MUTUAL_AUTH_FAILURE = -2046819838,
|
|
29
|
+
LAYER6_MUTUAL_AUTH_FAILURE_DATA = -2046819837,
|
|
30
|
+
LAYER6_SM_DO_8E_MISSING = -2046819584,
|
|
31
|
+
LAYER6_SM_DO_87_MISSING = -2046819583,
|
|
32
|
+
LAYER6_SM_DO_99_MISSING = -2046819582,
|
|
33
|
+
LAYER6_SM_MAC_INCORRECT = -2046819581,
|
|
34
|
+
LAYER6_SM_DO_87_INCORRECT = -2046819580,
|
|
35
|
+
LAYER6_NON_TLV_RESPONSE_DATA = -2046819328,
|
|
36
|
+
LAYER6_WRONG_RND_ICC_LENGTH = -2046819327,
|
|
37
|
+
LAYER6_INT_AUTH_FAILURE = -2046819326,
|
|
38
|
+
LAYER6_MSE_SET_KAT_FAILURE = -2046819325,
|
|
39
|
+
LAYER6_MSE_SET_DST_FAILURE = -2046819324,
|
|
40
|
+
LAYER6_PSO_CERTIFICATE_FAILURE = -2046819323,
|
|
41
|
+
LAYER6_MSE_SET_AT_FAILURE = -2046819322,
|
|
42
|
+
LAYER6_GET_CHALLENGE_FAILURE = -2046819321,
|
|
43
|
+
LAYER6_EXT_AUTH_FAILURE = -2046819320,
|
|
44
|
+
LAYER6_GENERAL_AUTH_FAILURE = -2046819319,
|
|
45
|
+
LAYER6_FILE_NOT_FOUND = -2147456638,
|
|
46
|
+
LAYER6_FILE_EOF1 = -2147458142,
|
|
47
|
+
LAYER6_FILE_EOF2 = -2147456256,
|
|
48
|
+
LAYER6_INCORRECT_PARAMS = -2147456640,
|
|
49
|
+
LAYER6_NO_REFERENCE_DATA = -2147456632,
|
|
50
|
+
LAYER6_PWD_SUSPEND = -2147458143,
|
|
51
|
+
LAYER6_PWD_BLOCKED = -2147458144,
|
|
52
|
+
LAYER6_PWD_DEACTIVATED = -2147458141,
|
|
53
|
+
LAYER6_PWD_BLOCKED2 = -2147457437,
|
|
54
|
+
LAYER6_PWD_DEACTIVATED2 = -2147457436,
|
|
55
|
+
LAYER6_PWD_SUSPEND2 = -2147457435,
|
|
56
|
+
LAYER6_PWD_FAILED = -2146380864,
|
|
57
|
+
NOT_PERFORMED = -2100080640,
|
|
58
|
+
SESSION_IS_CLOSED = -2100080639,
|
|
59
|
+
SESSION_TERMINAL_UNSUPPORTED_OPERATION = -2100080638,
|
|
60
|
+
SESSION_TERMINAL_TYPE_UNKNOWN = -2100080624,
|
|
61
|
+
SESSION_TERMINAL_TYPE_BAD_CERTIFICATE = -2100080623,
|
|
62
|
+
SESSION_TERMINAL_TYPE_NOT_SET = -2100080622,
|
|
63
|
+
SESSION_PROCEDURE_TYPE_UNKNOWN = -2100080621,
|
|
64
|
+
Session_Procedure_Type_Unsupported = -2100080620,
|
|
65
|
+
SESSION_PROCEDURE_TYPE_NOT_SET = -2100080619,
|
|
66
|
+
SESSION_ACCESS_KEY_UNKNOWN_TYPE = -2100080618,
|
|
67
|
+
SESSION_ACCESS_KEY_UNSUPPORTED_SM_TYPE = -2100080617,
|
|
68
|
+
SESSION_ACCESS_KEY_INCORRECT_SM_TYPE = -2100080616,
|
|
69
|
+
SESSION_ACCESS_KEY_RESTRICTED = -2100080615,
|
|
70
|
+
SESSION_ACCESS_KEY_INCORRECT_DATA = -2100080614,
|
|
71
|
+
SESSION_ACCESS_KEY_NOT_SET = -2100080613,
|
|
72
|
+
SESSION_PWD_MANAGEMENT_NOT_AUTHORIZED = -2100080612,
|
|
73
|
+
SESSION_ACCESS_CONTROL_UNKNOWN_TYPE = -2100080608,
|
|
74
|
+
SESSION_ACCESS_CONTROL_REQUIRES_SM = -2100080607,
|
|
75
|
+
SESSION_ACCESS_CONTROL_REQUIRES_PACE = -2100080606,
|
|
76
|
+
SESSION_ACCESS_CONTROL_REQUIRES_CA_KEYS = -2100080605,
|
|
77
|
+
SESSION_ACCESS_CONTROL_REQUIRES_TA = -2100080604,
|
|
78
|
+
SESSION_ACCESS_CONTROL_REQUIRES_CA = -2100080603,
|
|
79
|
+
SESSION_ACCESS_CONTROL_INCORRECT_OPTION_CA = -2100080602,
|
|
80
|
+
SESSION_ACCESS_CONTROL_CA_FAILED = -2100080601,
|
|
81
|
+
SESSION_ACCESS_CONTROL_TA_FAILED = -2100080600,
|
|
82
|
+
SESSION_ACCESS_CONTROL_AA_FAILED = -2100080599,
|
|
83
|
+
SESSION_ACCESS_CONTROL_RI_FAILED = -2100080598,
|
|
84
|
+
SESSION_PA_SIGNATURE_CHECK_FAILED = -2100080592,
|
|
85
|
+
SESSION_PA_HASH_CHECK_FAILED = -2100080591,
|
|
86
|
+
SESSION_INVALID_AUX_DATA_DATE_OF_EXPIRY = -2100080576,
|
|
87
|
+
SESSION_INVALID_AUX_DATA_DATE_OF_BIRTH = -2100080575,
|
|
88
|
+
SESSION_INVALID_AUX_DATA_COMMUNITY_ID = -2100080574,
|
|
89
|
+
SESSION_E_SIGN_REQUIRES_APP_SELECTION = -2100080560,
|
|
90
|
+
SESSION_E_SIGN_PIN_NOT_SET = -2100080559,
|
|
91
|
+
SESSION_E_SIGN_PIN_NOT_VERIFIED = -2100080558,
|
|
92
|
+
SESSION_INCORRECT_DATA = -2100080544,
|
|
93
|
+
SESSION_FILE_NOT_ENOUGH_DATA = -2099949568,
|
|
94
|
+
SESSION_FILE_INCORRECT_DATA = -2099884032,
|
|
95
|
+
SESSION_FILE_UNEXPECTED_DATA = -2099818496,
|
|
96
|
+
SESSION_FILE_CONTENTS_UNEXPECTED_DATA = -2099752960,
|
|
97
|
+
SESSION_FILE_WRONG_TAG = -2099687424,
|
|
98
|
+
SESSION_FILE_CANT_USE_DATA = -2099621888,
|
|
99
|
+
SESSION_FILE_CANT_READ_DATA = -2099556352,
|
|
100
|
+
SESSION_FILE_ACCESS_DENIED = -2099490816,
|
|
101
|
+
LAYER34_NO_ERROR = -2080374784,
|
|
102
|
+
LAYER34_TIME_OUT = -2080309248,
|
|
103
|
+
LAYER34_COLLISION = -2080243712,
|
|
104
|
+
LAYER34_CRC = -2080178176,
|
|
105
|
+
LAYER34_DATA_INTEGRITY = -2080112640,
|
|
106
|
+
LAYER34_DATA_LENGTH = -2080047104,
|
|
107
|
+
Layer34_RFU = -2079981568,
|
|
108
|
+
LAYER34_COLLISION_TOO_MANY = -2079916032,
|
|
109
|
+
LAYER34_PROTOCOL_B = -2079850496,
|
|
110
|
+
LAYER34_DATA_CONTENTS = -2079784960,
|
|
111
|
+
LAYER34_PROTOCOL = -2079719424,
|
|
112
|
+
LAYER34_GLOBAL_TIME_OUT = -2079653888,
|
|
113
|
+
LAYER34_MIFARE_AUTH = -2079588352,
|
|
114
|
+
LAYER34_SAM_ERROR = -2079522816,
|
|
115
|
+
LAYER34_SAM_COLLISION = -2079457280,
|
|
116
|
+
LAYER34_SAM_ACKNOWLEDGE = -2079391744
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export declare namespace RFIDErrorCodes {
|
|
120
|
+
function getTranslation(value: RFIDErrorCodes): Promise<string>;
|
|
121
|
+
}
|