@microblink/blinkid-react-native 7.7.0 → 8001.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BlinkidReactNative.podspec +2 -1
- package/README.md +621 -281
- package/android/build.gradle +56 -4
- package/android/gradle.properties +3 -4
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdClassInfoIdMappings.kt +33 -0
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdDeserializationUtilities.kt +370 -258
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdSerializationUtilities.kt +149 -41
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkidReactNativeModule.kt +54 -31
- package/ios/BlinkidReactNative.mm +49 -52
- package/ios/BlinkidReactNativeModule.swift +114 -57
- package/ios/Frameworks/BlinkID.xcframework/Info.plist +5 -9
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/BlinkID +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/BlinkID.h +893 -13
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Info.plist +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/{arm64-apple-ios.private.swiftinterface → arm64.swiftinterface} +2421 -2076
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/module.modulemap +1 -7
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/PrivacyInfo.xcprivacy +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/BlinkID +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/BlinkID.h +893 -13
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Info.plist +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/{arm64-apple-ios-simulator.swiftinterface → arm64.swiftinterface} +2421 -2076
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/{x86_64-apple-ios-simulator.private.swiftinterface → x86_64.swiftinterface} +2421 -2076
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/module.modulemap +1 -7
- package/ios/Frameworks/BlinkIDUX.xcframework/Info.plist +5 -5
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeResources +276 -276
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Assets.car +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Info.plist +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ak.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/am.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ar.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/bn.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/cs.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/da.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/de.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/el.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en-GB.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es-MX.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fa.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fil.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr-CA.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ha.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/he.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hu.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/id.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/is.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/it.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ja.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ka-GE.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/kk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/km-KH.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ko.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/lv.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ms.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nb.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ne.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ps-AF.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt-BR.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ro.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ru.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/si.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sv.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sw.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/th.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/tr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ur.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uz.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/vi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/yo.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hans.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hant.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Info.plist +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.abi.json +3860 -1881
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.package.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.private.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Assets.car +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Info.plist +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeResources +114 -114
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ak.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/am.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ar.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/bn.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/cs.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/da.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/de.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/el.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en-GB.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es-MX.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fa.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fil.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr-CA.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ha.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/he.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hu.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/id.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/is.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/it.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ja.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ka-GE.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/kk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/km-KH.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ko.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/lv.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ms.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nb.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ne.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ps-AF.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt-BR.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ro.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ru.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/si.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sv.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sw.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/th.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/tr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ur.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uz.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/vi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/yo.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hans.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hant.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Info.plist +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.abi.json +3860 -1881
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.abi.json +3860 -1881
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/_CodeSignature/CodeResources +1 -1
- package/ios/Serialization/BlinkIdDeserializationUtils.swift +614 -0
- package/ios/{BlinkIdSerializationUtilities.swift → Serialization/BlinkIdSerializationUtils.swift} +294 -255
- package/lib/module/NativeBlinkidReactNative.js.map +1 -1
- package/lib/module/blinkIdResult.js +1 -822
- package/lib/module/blinkIdResult.js.map +1 -1
- package/lib/module/blinkIdSettings.js +1 -496
- package/lib/module/blinkIdSettings.js.map +1 -1
- package/lib/module/index.js +94 -17
- package/lib/module/index.js.map +1 -1
- package/lib/module/types.js +715 -3373
- package/lib/module/types.js.map +1 -1
- package/lib/typescript/src/NativeBlinkidReactNative.d.ts +36 -5
- package/lib/typescript/src/NativeBlinkidReactNative.d.ts.map +1 -1
- package/lib/typescript/src/blinkIdResult.d.ts +17 -20
- package/lib/typescript/src/blinkIdResult.d.ts.map +1 -1
- package/lib/typescript/src/blinkIdSettings.d.ts +195 -317
- package/lib/typescript/src/blinkIdSettings.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +48 -10
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/types.d.ts +1062 -1210
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/package.json +5 -4
- package/src/NativeBlinkidReactNative.ts +39 -5
- package/src/blinkIdResult.ts +19 -466
- package/src/blinkIdSettings.ts +218 -389
- package/src/index.tsx +221 -35
- package/src/types.ts +1253 -1463
- package/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.9/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.project +0 -28
- package/ios/BlinkIdDeserializationUtilities.swift +0 -374
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/BlinkID-Swift.h +0 -43937
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/MBSampleBufferWrapper.h +0 -28
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.abi.json +0 -78651
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.swiftinterface +0 -2304
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/module.private.modulemap +0 -12
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/PrivateHeaders/SwiftCxxBridge.hpp +0 -19
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/_CodeSignature/CodeResources +0 -245
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/conan.xcconfig +0 -40
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/BlinkID-Swift.h +0 -87870
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/MBSampleBufferWrapper.h +0 -28
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -78651
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -2304
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -78651
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -2304
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/module.private.modulemap +0 -12
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/PrivateHeaders/SwiftCxxBridge.hpp +0 -19
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/_CodeSignature/CodeResources +0 -300
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/conan.xcconfig +0 -40
- package/lib/module/blinkIdUtilities.js +0 -21
- package/lib/module/blinkIdUtilities.js.map +0 -1
- package/lib/typescript/src/blinkIdUtilities.d.ts +0 -8
- package/lib/typescript/src/blinkIdUtilities.d.ts.map +0 -1
- package/src/android/.project +0 -28
- package/src/blinkIdUtilities.ts +0 -20
package/lib/module/types.js
CHANGED
|
@@ -1,179 +1,96 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { BlinkIdUtilities } from "./blinkIdUtilities.js";
|
|
4
|
-
|
|
5
3
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* To set the document information, use {@link DocumentFilter}.
|
|
9
|
-
* The recognition results of the excluded documents will not be returned.
|
|
10
|
-
* If using the standard BlinkID UX, an alert will be displayed that the document will not be scanned.
|
|
4
|
+
* Specifies whether the input image is already cropped, likely cropped, or not
|
|
5
|
+
* cropped.
|
|
11
6
|
*
|
|
12
|
-
*
|
|
7
|
+
* - `"not-cropped"`: The image is considered raw and goes through document
|
|
8
|
+
* detection and perspective correction.
|
|
9
|
+
* - `"unknown"`: The image may already be cropped. The recognizer first tries
|
|
10
|
+
* cropped processing and falls back to detection if extraction fails.
|
|
11
|
+
* - `"cropped"`: The input image must contain only the cropped and
|
|
12
|
+
* perspective-corrected document.
|
|
13
13
|
*/
|
|
14
|
-
export class ClassFilter {
|
|
15
|
-
/**
|
|
16
|
-
* Document classes that will be explicitly accepted by this filter.
|
|
17
|
-
* Only documents belonging to the specified classes will be processed. All other documents will be rejected.
|
|
18
|
-
*
|
|
19
|
-
* If this list is empty, no restrictions are applied, and documents will be accepted unless explicitly excluded by `excludeDocuments`.
|
|
20
|
-
*
|
|
21
|
-
* Example usage:
|
|
22
|
-
*
|
|
23
|
-
* ```
|
|
24
|
-
* final classFilter = ClassFilter();
|
|
25
|
-
* classFilter.includeDocuments = [
|
|
26
|
-
* DocumentFilter.country(Country.Usa),
|
|
27
|
-
* DocumentFilter.countryType(Country.Croatia, DocumentType.Id),
|
|
28
|
-
* ];
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* NOTE: from the example above, the class filter is set to only accept all documents from USA, and Croatian IDs.
|
|
35
|
-
* All other documents will be rejected.
|
|
36
|
-
*
|
|
37
|
-
* Rules can be combined, for example, to set all three properties (Country Region, Type), two (e.g., Country and Type) or just one (e.g, Region).
|
|
38
|
-
*
|
|
39
|
-
* See {@link DocumentFilter} for setting the combinations.
|
|
40
|
-
*/
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Document classes that will be explicitly rejected by this filter.
|
|
44
|
-
* Documents belonging to the specified classes will not be processed. Other documents, not included with `excludeDocuments` will be accepted.
|
|
45
|
-
*
|
|
46
|
-
* If this array is empty, no restrictions are applied, and documents will be excluded only if not present in `includeDocuments`.
|
|
47
|
-
*
|
|
48
|
-
* Example usage:
|
|
49
|
-
*
|
|
50
|
-
* ```
|
|
51
|
-
* final classFilter = ClassFilter();
|
|
52
|
-
* classFilter.excludeDocuments = [
|
|
53
|
-
* DocumentFilter.country(Country.Usa),
|
|
54
|
-
* DocumentFilter.countryType(Country.Croatia, DocumentType.Id),
|
|
55
|
-
* ];
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* ```
|
|
59
|
-
*
|
|
60
|
-
* NOTE: from the example above, the class filter is set to only exclude all documents from USA, and Croatian IDs.
|
|
61
|
-
* All other classes will be accepted.
|
|
62
|
-
*
|
|
63
|
-
* Rules can be combined, for example, to set all three properties (Country Region, Type), two (e.g., Country and Type) or just one (e.g, Region).
|
|
64
|
-
*
|
|
65
|
-
* See {@link DocumentFilter} for setting the combinations.
|
|
66
|
-
*/
|
|
67
14
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Controls how the best input image is selected from a pool of stable frames.
|
|
17
|
+
*
|
|
18
|
+
* Before the best-quality image is selected, a sequence of stable input images
|
|
19
|
+
* must be collected. An input image is considered stable when image analysis
|
|
20
|
+
* results are consistent across consecutive frames. A larger pool increases the
|
|
21
|
+
* likelihood of capturing a high-quality image but may introduce a slight delay.
|
|
22
|
+
*
|
|
23
|
+
* - `"single-image"`: Selects the first acceptable stable input image.
|
|
24
|
+
* - `"optimize-for-speed"`: Faster processing; may select a lower-quality image
|
|
25
|
+
* because a smaller pool of stable input images is considered.
|
|
26
|
+
* - `"balanced"`: Trade-off between quality and speed.
|
|
27
|
+
* - `"optimize-for-quality"`: Slower processing to select a high-quality input
|
|
28
|
+
* image because a larger pool of stable input images is considered.
|
|
29
|
+
*
|
|
30
|
+
* Applicable only to `Video` input sources.
|
|
31
|
+
*/
|
|
78
32
|
|
|
79
33
|
/**
|
|
80
|
-
*
|
|
34
|
+
* Settings for the barcode extraction module.
|
|
35
|
+
*
|
|
36
|
+
* This module manages the detection and data extraction from various 1D and 2D
|
|
37
|
+
* barcode formats (such as PDF417, QR codes, and various retail codes).
|
|
81
38
|
*
|
|
82
|
-
*
|
|
39
|
+
* It can operate as a standalone module or in combination with document capture.
|
|
83
40
|
*/
|
|
84
|
-
export class DocumentFilter {
|
|
85
|
-
/**
|
|
86
|
-
* If set, only specified country will pass the filter criteria.
|
|
87
|
-
* Otherwise, issuing country will not betaken into account.
|
|
88
|
-
*/
|
|
89
41
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
42
|
+
/*
|
|
43
|
+
* Settings for the document capture module.
|
|
44
|
+
*
|
|
45
|
+
* This module is responsible for the initial document detection, image extraction
|
|
46
|
+
* (such as face and document images), and image quality validation (blur, glare,
|
|
47
|
+
* and lighting checks).
|
|
48
|
+
*/
|
|
94
49
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
50
|
+
/*
|
|
51
|
+
* Settings for the MRZ (Machine Readable Zone) extraction module.
|
|
52
|
+
*
|
|
53
|
+
* This module is dedicated to the detection and parsing of machine-readable
|
|
54
|
+
* zone typically found on passports, visas, and identity cards.
|
|
55
|
+
*/
|
|
99
56
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
* All parameters are optional, and do not need to be added.
|
|
110
|
-
* The filter can be set to be more generic (for example, to only accept document from USA):
|
|
111
|
-
* ```
|
|
112
|
-
* DocumentFilter(Country.Usa);
|
|
113
|
-
* ```
|
|
114
|
-
* or, it can be set to be more specific (for example, to specifically accept USA drivers licenses from California):
|
|
115
|
-
* ```
|
|
116
|
-
* DocumentFilter(Country.Usa, Region.California, DocumentType.Dl);
|
|
117
|
-
* ```
|
|
118
|
-
*/
|
|
119
|
-
constructor(country, region, documentType) {
|
|
120
|
-
this.country = country;
|
|
121
|
-
this.region = region;
|
|
122
|
-
this.documentType = documentType;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
57
|
+
/*
|
|
58
|
+
* Settings for the VIZ (Visual Inspection Zone) extraction module.
|
|
59
|
+
*
|
|
60
|
+
* This module is responsible for extracting data from the document's
|
|
61
|
+
* visual fields.
|
|
62
|
+
*
|
|
63
|
+
* It supports features such as character validation for increased accuracy,
|
|
64
|
+
* signature image extraction, and data aggregation across multiple video frames.
|
|
65
|
+
*/
|
|
125
66
|
|
|
126
67
|
/**
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
* The
|
|
68
|
+
* ClassFilter represents the document filter used to determine which documents will be processed.
|
|
69
|
+
* Document information ({@link CountryID}, {@link RegionID}, {@link DocumentTypeID}) is evaluated
|
|
70
|
+
* with the content set in the filter, and their inclusion or exclusion depends on the defined rules.
|
|
71
|
+
* To set the document information, use {@link DocumentFilter}.
|
|
72
|
+
* The recognition results of the excluded documents will not be returned.
|
|
73
|
+
* If using the standard BlinkID UX, an alert will be displayed that the document will not be scanned.
|
|
132
74
|
*
|
|
133
|
-
*
|
|
75
|
+
* By default, the ClassFilter is turned off, and all documents will be included.
|
|
134
76
|
*/
|
|
135
|
-
export class DocumentRules {
|
|
136
|
-
/**
|
|
137
|
-
* Specified fields will overrule our document class field rules if filter conditions are met.
|
|
138
|
-
*
|
|
139
|
-
* See {@link DocumentFilter} for more information.
|
|
140
|
-
*/
|
|
141
77
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
78
|
+
/*
|
|
79
|
+
* A resolver that provides custom [RedactionSettings] for a scanned document
|
|
80
|
+
* based on its detected class information.
|
|
81
|
+
*
|
|
82
|
+
* Add the resolver when you need per-document redaction behavior — for example,
|
|
83
|
+
* anonymizing different fields depending on the document's country or type. The resolver
|
|
84
|
+
* is invoked by the SDK immediately before the scanning result is finalized.
|
|
85
|
+
*
|
|
86
|
+
* If not added, the SDK will use the default [RedactionSettings] for a given document class.
|
|
87
|
+
*/
|
|
147
88
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
* The more detailed document filter will have priority over the other.
|
|
154
|
-
*
|
|
155
|
-
* Document fields are validated using internal rules that define mandatory fields for the scanned document class.
|
|
156
|
-
* Defines custom rules for specific document class.
|
|
157
|
-
*
|
|
158
|
-
* When defining {@link DocumentRules}, the {@link DocumentFilter} paramter is optionally set to specify the document to which the rule applies, and a `fields` with
|
|
159
|
-
* the appropriate `alphabetType` should be specified as mandatory for that document.
|
|
160
|
-
* If a `fields` is set to a field that is optional for that document or does not exist on it, all fields on the document become optional.
|
|
161
|
-
* If a `fields` is set to a field with an incorrect alphabetType, all fields on the document become optional.
|
|
162
|
-
* If a `fields` is set to a field that doesn’t exist in the internal rules, that rule is ignored.
|
|
163
|
-
* When adding multiple `fields`, any field that does not match our rules is ignored. Only fields that comply with our rules are set as mandatory.
|
|
164
|
-
* If the documentFilter fields `country`, `region`, or `type` are set to `null`, all supported values for those fields will be considered.
|
|
165
|
-
* For example, if `country = null`, the rule will apply to all supported countries in BlinkID.
|
|
166
|
-
*
|
|
167
|
-
* @param fields - specifies the list of {@link DetailedFieldType} for overruling our class field rules.
|
|
168
|
-
* This parameter is mandatory.
|
|
169
|
-
* @param documentFilter - specifies the {@link DocumentFilter} to specify the document to which the rule applies.
|
|
170
|
-
* This parameter is optional.
|
|
171
|
-
*/
|
|
172
|
-
constructor(fields, documentFilter) {
|
|
173
|
-
this.fields = fields;
|
|
174
|
-
this.documentFilter = documentFilter;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
89
|
+
/**
|
|
90
|
+
* Represents the document filter.
|
|
91
|
+
*
|
|
92
|
+
* Used with other classes like the {@link ClassFilter}, {@link DocumentRules} and the {@link RedactionSettings}.
|
|
93
|
+
*/
|
|
177
94
|
|
|
178
95
|
/**
|
|
179
96
|
* Represents the detailed field type.
|
|
@@ -206,46 +123,9 @@ export class DetailedFieldType {
|
|
|
206
123
|
}
|
|
207
124
|
|
|
208
125
|
/**
|
|
209
|
-
* Represents the document
|
|
126
|
+
* Represents the document redaction settings.
|
|
210
127
|
*
|
|
211
128
|
*/
|
|
212
|
-
export class DocumentAnonymizationSettings {
|
|
213
|
-
/**
|
|
214
|
-
* Document fields that will be anonymized.
|
|
215
|
-
*
|
|
216
|
-
*/
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* Specified fields will be anonymized if filter conditions are met.
|
|
220
|
-
*
|
|
221
|
-
*/
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* Document number anonymization settings.
|
|
225
|
-
*
|
|
226
|
-
*/
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
*
|
|
230
|
-
* @param fields - specifies the document fields that will be anonymized. This parameter is mandatory.
|
|
231
|
-
*
|
|
232
|
-
* @param documentFilter - specifies the document filter.
|
|
233
|
-
*
|
|
234
|
-
* If the conditions of the filter are met, fields of those documents will be anonymized.
|
|
235
|
-
* This parameter is mandatory.
|
|
236
|
-
* @param documentNumberAnonymizationSettings - specifies the document number anonymization settings.
|
|
237
|
-
*
|
|
238
|
-
* If this parameter is set, it will anonymize the document number, even if the document number is not set in the `fields` parameter.
|
|
239
|
-
* If the default constructor for {@link DocumentNumberAnonymizationSettings} is used, all of the digits within the document number will be anonymized.
|
|
240
|
-
*
|
|
241
|
-
* This parameter is optional.
|
|
242
|
-
*/
|
|
243
|
-
constructor(fields, documentFilter, documentNumberAnonymizationSettings) {
|
|
244
|
-
this.fields = fields;
|
|
245
|
-
this.documentFilter = documentFilter;
|
|
246
|
-
this.documentNumberAnonymizationSettings = documentNumberAnonymizationSettings;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
129
|
|
|
250
130
|
/**
|
|
251
131
|
* Represents the document number anonymization settings.
|
|
@@ -257,188 +137,42 @@ export class DocumentAnonymizationSettings {
|
|
|
257
137
|
*
|
|
258
138
|
* If any parameter is `undefined`, the value of the parameter will be set to `0`.
|
|
259
139
|
*/
|
|
260
|
-
export class DocumentNumberAnonymizationSettings {
|
|
261
|
-
/**
|
|
262
|
-
* Defines how many digits at the beginning of the document number remain visible after anonymization.
|
|
263
|
-
*
|
|
264
|
-
*/
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* Defines how many digits at the end of the document number remain visible after anonymization.
|
|
268
|
-
*
|
|
269
|
-
*/
|
|
270
140
|
|
|
271
|
-
constructor(prefixDigitsVisible = 0, suffixDigitsVisible = 0) {
|
|
272
|
-
this.prefixDigitsVisible = prefixDigitsVisible;
|
|
273
|
-
this.suffixDigitsVisible = suffixDigitsVisible;
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
141
|
/**
|
|
277
|
-
*
|
|
278
|
-
* document groups.
|
|
142
|
+
* Document country classification from {@link DocumentClassInfo}.
|
|
279
143
|
*
|
|
280
|
-
*
|
|
144
|
+
* When the value is known at SDK build time, both {@link id} and {@link rawValue}
|
|
145
|
+
* are populated. For OTA-supported / unknown documents, {@link id} may be omitted
|
|
146
|
+
* while {@link rawValue} is still set. A missing country is represented by omitting
|
|
147
|
+
* {@link DocumentClassInfo.country} entirely (native `"NONE"`).
|
|
281
148
|
*/
|
|
282
|
-
export class RecognitionModeFilter {
|
|
283
|
-
/**
|
|
284
|
-
* Enable scanning of MRZ IDs.
|
|
285
|
-
*
|
|
286
|
-
*/
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* Enable scanning of visa MRZ.
|
|
290
|
-
*
|
|
291
|
-
*/
|
|
292
|
-
|
|
293
|
-
/**
|
|
294
|
-
* Enable scanning of Passport MRZ.
|
|
295
|
-
*
|
|
296
|
-
*/
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* Enable scanning of Photo ID.
|
|
300
|
-
*
|
|
301
|
-
*/
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
* Enable scanning of barcode IDs.
|
|
305
|
-
*
|
|
306
|
-
*/
|
|
307
149
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
150
|
+
/**
|
|
151
|
+
* Document region classification from {@link DocumentClassInfo}.
|
|
152
|
+
*
|
|
153
|
+
* See {@link Country} for how {@link id} vs {@link rawValue} are filled.
|
|
154
|
+
*/
|
|
312
155
|
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
this.enableBarcodeId = true;
|
|
319
|
-
this.enableFullDocumentRecognition = true;
|
|
320
|
-
}
|
|
321
|
-
}
|
|
156
|
+
/**
|
|
157
|
+
* Document type classification from {@link DocumentClassInfo}.
|
|
158
|
+
*
|
|
159
|
+
* See {@link Country} for how {@link id} vs {@link rawValue} are filled.
|
|
160
|
+
*/
|
|
322
161
|
|
|
323
162
|
/**
|
|
324
163
|
* Represents the document class information.
|
|
325
164
|
*
|
|
326
165
|
*/
|
|
327
|
-
export class DocumentClassInfo {
|
|
328
|
-
/**
|
|
329
|
-
* The document country.
|
|
330
|
-
*
|
|
331
|
-
* See {@link Country} for more information.
|
|
332
|
-
*/
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* The document region.
|
|
336
|
-
*
|
|
337
|
-
* See {@link Region} for more information.
|
|
338
|
-
*/
|
|
339
|
-
|
|
340
|
-
/**
|
|
341
|
-
* The type of the scanned document.
|
|
342
|
-
*
|
|
343
|
-
* See {@link DocumentType} for more information.
|
|
344
|
-
*/
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* Flag that indicates if the document class information is empty
|
|
348
|
-
*
|
|
349
|
-
*/
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* The name of the country that issued the scanned document.
|
|
353
|
-
*
|
|
354
|
-
*/
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* The ISO numeric code of the country that issued the scanned document.
|
|
358
|
-
*
|
|
359
|
-
*/
|
|
360
|
-
|
|
361
|
-
/**
|
|
362
|
-
* The 2 letter ISO code of the country that issued the scanned document.
|
|
363
|
-
*
|
|
364
|
-
*/
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* The 3 letter ISO code of the country that issued the scanned document.
|
|
368
|
-
*
|
|
369
|
-
*/
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
*
|
|
373
|
-
* @param nativeDocumentClassInfo
|
|
374
|
-
*
|
|
375
|
-
*/
|
|
376
|
-
constructor(nativeDocumentClassInfo) {
|
|
377
|
-
this.country = nativeDocumentClassInfo.country;
|
|
378
|
-
this.region = nativeDocumentClassInfo.region;
|
|
379
|
-
this.documentType = nativeDocumentClassInfo.documentType;
|
|
380
|
-
this.empty = nativeDocumentClassInfo.empty;
|
|
381
|
-
this.countryName = nativeDocumentClassInfo.countryName;
|
|
382
|
-
this.isoNumericCountryCode = nativeDocumentClassInfo.isoNumericCountryCode;
|
|
383
|
-
this.isoAlpha2CountryCode = nativeDocumentClassInfo.isoAlpha2CountryCode;
|
|
384
|
-
this.isoAlpha3CountryCode = nativeDocumentClassInfo.isoAlpha3CountryCode;
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
166
|
|
|
388
167
|
/**
|
|
389
168
|
* Represents the result of the data match.
|
|
390
169
|
*
|
|
391
170
|
*/
|
|
392
|
-
export class DataMatchResult {
|
|
393
|
-
/**
|
|
394
|
-
* The state of the data match on the whole document.
|
|
395
|
-
*
|
|
396
|
-
* See {@link DataMatchState} for more information.
|
|
397
|
-
*/
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* The data match state of each field.
|
|
401
|
-
*
|
|
402
|
-
* See {@link DataMatchResultField} for more information.
|
|
403
|
-
*/
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
*
|
|
407
|
-
* @param nativeDataMatchResult
|
|
408
|
-
*/
|
|
409
|
-
constructor(nativeDataMatchResult) {
|
|
410
|
-
this.overallState = nativeDataMatchResult.overallState != undefined ? nativeDataMatchResult.overallState : undefined;
|
|
411
|
-
this.states = nativeDataMatchResult.states;
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
171
|
|
|
415
172
|
/**
|
|
416
173
|
* Represents the state of the field in the data match.
|
|
417
174
|
*
|
|
418
175
|
*/
|
|
419
|
-
export class DataMatchResultField {
|
|
420
|
-
/**
|
|
421
|
-
* The type of the field.
|
|
422
|
-
*
|
|
423
|
-
* See {@link DataMatchField} for more information.
|
|
424
|
-
*/
|
|
425
|
-
|
|
426
|
-
/**
|
|
427
|
-
* The state of the field.
|
|
428
|
-
*
|
|
429
|
-
* See {@link DataMatchState} for more information.
|
|
430
|
-
*/
|
|
431
|
-
|
|
432
|
-
/**
|
|
433
|
-
*
|
|
434
|
-
* @param nativeDataMatchResultField
|
|
435
|
-
*
|
|
436
|
-
*/
|
|
437
|
-
constructor(nativeDataMatchResultField) {
|
|
438
|
-
this.field = nativeDataMatchResultField.field;
|
|
439
|
-
this.state = nativeDataMatchResultField.state;
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
176
|
|
|
443
177
|
/**
|
|
444
178
|
* Represents the multi-alphabet string result extracted from the OCR.
|
|
@@ -446,2148 +180,93 @@ export class DataMatchResultField {
|
|
|
446
180
|
* The result contains the extracted strings, their locations, and the sides of the extracted strings.
|
|
447
181
|
*
|
|
448
182
|
*/
|
|
449
|
-
export class StringResult {
|
|
450
|
-
/**
|
|
451
|
-
* All strings separated by new line
|
|
452
|
-
*
|
|
453
|
-
*/
|
|
454
|
-
|
|
455
|
-
/**
|
|
456
|
-
* String for field in latin alphabet
|
|
457
|
-
*
|
|
458
|
-
*/
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* String for field in arabic alphabet
|
|
462
|
-
*
|
|
463
|
-
*/
|
|
464
|
-
|
|
465
|
-
/**
|
|
466
|
-
* String for field in cyrillic alphabet
|
|
467
|
-
*
|
|
468
|
-
*/
|
|
469
|
-
|
|
470
|
-
/**
|
|
471
|
-
* String for field in greek alphabet
|
|
472
|
-
*
|
|
473
|
-
*/
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* Document field location.
|
|
477
|
-
*
|
|
478
|
-
* See {@link Location} for more information.
|
|
479
|
-
*/
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* The document side where the field is located.
|
|
483
|
-
*
|
|
484
|
-
* See {@link Side} for more information.
|
|
485
|
-
*/
|
|
486
|
-
|
|
487
|
-
/**
|
|
488
|
-
*
|
|
489
|
-
* @param nativeStringResult
|
|
490
|
-
*
|
|
491
|
-
*/
|
|
492
|
-
constructor(nativeStringResult) {
|
|
493
|
-
this.value = nativeStringResult.value;
|
|
494
|
-
this.latin = nativeStringResult.latin;
|
|
495
|
-
this.cyrillic = nativeStringResult.cyrillic;
|
|
496
|
-
this.arabic = nativeStringResult.arabic;
|
|
497
|
-
this.greek = nativeStringResult.greek;
|
|
498
|
-
this.location = nativeStringResult.location != undefined ? new Location(nativeStringResult.location) : undefined;
|
|
499
|
-
this.side = nativeStringResult.side != undefined ? new Side(nativeStringResult.side) : undefined;
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
183
|
|
|
503
184
|
/**
|
|
504
185
|
* Represents the rectangle location of each document field
|
|
505
186
|
*
|
|
506
187
|
*/
|
|
507
|
-
export class Rectangle {
|
|
508
|
-
/**
|
|
509
|
-
* X location
|
|
510
|
-
*
|
|
511
|
-
*/
|
|
512
|
-
|
|
513
|
-
/**
|
|
514
|
-
* Y location
|
|
515
|
-
*
|
|
516
|
-
*/
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* Rectangle width
|
|
520
|
-
*
|
|
521
|
-
*/
|
|
522
|
-
|
|
523
|
-
/**
|
|
524
|
-
* Rectangle height.
|
|
525
|
-
*
|
|
526
|
-
*/
|
|
527
|
-
|
|
528
|
-
/**
|
|
529
|
-
*
|
|
530
|
-
* @param nativeRectangle
|
|
531
|
-
*
|
|
532
|
-
*/
|
|
533
|
-
constructor(nativeRectangle) {
|
|
534
|
-
this.x = nativeRectangle.x;
|
|
535
|
-
this.y = nativeRectangle.y;
|
|
536
|
-
this.width = nativeRectangle.width;
|
|
537
|
-
this.height = nativeRectangle.height;
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
188
|
|
|
541
189
|
/**
|
|
542
190
|
* Represents the information about the location of an element within a document or image.
|
|
543
191
|
*
|
|
544
192
|
*/
|
|
545
|
-
export class Location {
|
|
546
|
-
/**
|
|
547
|
-
* Rectangle location of the result extracted from the OCR in the latin alphabet.
|
|
548
|
-
*
|
|
549
|
-
*/
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* Rectangle location of the result extracted from the OCR in the arabic alphabet.
|
|
553
|
-
*
|
|
554
|
-
*/
|
|
555
|
-
|
|
556
|
-
/**
|
|
557
|
-
* Rectangle location of the result extracted from the OCR in the cyrillic alphabet.
|
|
558
|
-
*
|
|
559
|
-
*/
|
|
560
|
-
|
|
561
|
-
/**
|
|
562
|
-
* Rectangle location of the result extracted from the OCR in the greek alphabet.
|
|
563
|
-
*
|
|
564
|
-
*/
|
|
565
|
-
|
|
566
|
-
/**
|
|
567
|
-
*
|
|
568
|
-
* @param nativeLocation
|
|
569
|
-
*
|
|
570
|
-
*/
|
|
571
|
-
constructor(nativeLocation) {
|
|
572
|
-
this.latin = nativeLocation.latin != undefined ? new Rectangle(nativeLocation.latin) : undefined;
|
|
573
|
-
this.arabic = nativeLocation.arabic != undefined ? new Rectangle(nativeLocation.arabic) : undefined;
|
|
574
|
-
this.cyrillic = nativeLocation.cyrillic != undefined ? new Rectangle(nativeLocation.cyrillic) : undefined;
|
|
575
|
-
this.greek = nativeLocation.greek != undefined ? new Rectangle(nativeLocation.greek) : undefined;
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
193
|
|
|
579
194
|
/**
|
|
580
|
-
*
|
|
195
|
+
* Scanning side on which the specific result is located.
|
|
581
196
|
*
|
|
582
197
|
*/
|
|
583
|
-
export class Side {
|
|
584
|
-
/**
|
|
585
|
-
* Document side of the result extracted from the OCR in the latin alphabet.
|
|
586
|
-
*
|
|
587
|
-
*/
|
|
588
|
-
|
|
589
|
-
/**
|
|
590
|
-
* Document side of the result extracted from the OCR in the arabic alphabet.
|
|
591
|
-
*
|
|
592
|
-
*/
|
|
593
|
-
|
|
594
|
-
/**
|
|
595
|
-
* Document side of the result extracted from the OCR in the cyrillic alphabet.
|
|
596
|
-
*
|
|
597
|
-
*/
|
|
598
|
-
|
|
599
|
-
/**
|
|
600
|
-
* Document side of the result extracted from the OCR in the cyrillic alphabet.
|
|
601
|
-
*
|
|
602
|
-
*/
|
|
603
|
-
|
|
604
|
-
/**
|
|
605
|
-
*
|
|
606
|
-
* @param nativeSide
|
|
607
|
-
*
|
|
608
|
-
*/
|
|
609
|
-
constructor(nativeSide) {
|
|
610
|
-
this.latin = nativeSide.latin;
|
|
611
|
-
this.arabic = nativeSide.arabic;
|
|
612
|
-
this.cyrillic = nativeSide.cyrillic;
|
|
613
|
-
this.greek = nativeSide.greek;
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
198
|
|
|
617
199
|
/**
|
|
618
200
|
* Represents the result of the date extraction.
|
|
619
201
|
*
|
|
620
202
|
* Contains the extracted date, along with additional date information.
|
|
621
203
|
*/
|
|
622
|
-
export class DateResult {
|
|
623
|
-
/**
|
|
624
|
-
* The extracted date information.
|
|
625
|
-
*
|
|
626
|
-
* See {@link Date} for more information.
|
|
627
|
-
*/
|
|
628
|
-
|
|
629
|
-
/**
|
|
630
|
-
* Original string representation of the date which has been extracted.
|
|
631
|
-
*
|
|
632
|
-
* Depending of the information source, it can either be of type {@link StringResult} or `string`.
|
|
633
|
-
*/
|
|
634
|
-
|
|
635
|
-
/**
|
|
636
|
-
* Indicates that date does not appear on the document
|
|
637
|
-
* but is filled by our internal domain knowledge.
|
|
638
|
-
*/
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* Indicates whether date was successfully parsed.
|
|
642
|
-
*
|
|
643
|
-
*/
|
|
644
|
-
|
|
645
|
-
constructor(nativeDateResult) {
|
|
646
|
-
this.date = nativeDateResult.date;
|
|
647
|
-
this.originalString = BlinkIdUtilities.handleStringType(nativeDateResult.originalString);
|
|
648
|
-
this.isFilledByDomainKnowledge = nativeDateResult.isFilledByDomainKnowledge;
|
|
649
|
-
this.successfullyParsed = nativeDateResult.successfullyParsed;
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
204
|
|
|
653
205
|
/**
|
|
654
206
|
* Represents the extracted date.
|
|
655
207
|
*
|
|
656
208
|
*/
|
|
657
|
-
export class Date {
|
|
658
|
-
/**
|
|
659
|
-
* Day of the month.
|
|
660
|
-
*
|
|
661
|
-
* The first day of the month has value 1.
|
|
662
|
-
*/
|
|
663
|
-
|
|
664
|
-
/**
|
|
665
|
-
* Month of the year.
|
|
666
|
-
*
|
|
667
|
-
* The first month of the year has value 1.
|
|
668
|
-
*/
|
|
669
|
-
|
|
670
|
-
/**
|
|
671
|
-
* Full year.
|
|
672
|
-
*
|
|
673
|
-
*/
|
|
674
|
-
|
|
675
|
-
/**
|
|
676
|
-
*
|
|
677
|
-
* @param nativeDate
|
|
678
|
-
*/
|
|
679
|
-
constructor(nativeDate) {
|
|
680
|
-
this.day = nativeDate.day;
|
|
681
|
-
this.month = nativeDate.month;
|
|
682
|
-
this.year = nativeDate.year;
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
209
|
|
|
686
210
|
/**
|
|
687
211
|
* Represents detailed extracted information about the driver license.
|
|
688
212
|
*
|
|
689
213
|
*/
|
|
690
|
-
export class DriverLicenseDetailedInfo {
|
|
691
|
-
/**
|
|
692
|
-
* The restrictions to driving privileges for the United States driver license owner.
|
|
693
|
-
*
|
|
694
|
-
* Depending of the information source, it can either be of type {@link StringResult} or `String`.
|
|
695
|
-
*/
|
|
696
|
-
|
|
697
|
-
/**
|
|
698
|
-
* The additional privileges granted to the US driver license owner.
|
|
699
|
-
*
|
|
700
|
-
* Depending of the information source, it can either be of type {@link StringResult} or `String`.
|
|
701
|
-
*/
|
|
702
|
-
|
|
703
|
-
/**
|
|
704
|
-
* The type of vehicle the driver license owner has privilege to drive.
|
|
705
|
-
*
|
|
706
|
-
* Depending of the information source, it can either be of type {@link StringResult} or `String`.
|
|
707
|
-
*/
|
|
708
|
-
|
|
709
|
-
/**
|
|
710
|
-
* The driver license conditions.
|
|
711
|
-
*
|
|
712
|
-
* Depending of the information source, it can either be of type {@link StringResult} or `String`.
|
|
713
|
-
*/
|
|
714
|
-
|
|
715
|
-
/**
|
|
716
|
-
* The additional information on vehicle class.
|
|
717
|
-
*
|
|
718
|
-
* See {@link VehicleClassInfo} for more information.
|
|
719
|
-
*/
|
|
720
|
-
|
|
721
|
-
constructor(nativeDriverLicenseDetailedInfo) {
|
|
722
|
-
this.restrictions = BlinkIdUtilities.handleStringType(nativeDriverLicenseDetailedInfo.restrictions);
|
|
723
|
-
this.endorsements = BlinkIdUtilities.handleStringType(nativeDriverLicenseDetailedInfo.endorsements);
|
|
724
|
-
this.vehicleClass = BlinkIdUtilities.handleStringType(nativeDriverLicenseDetailedInfo.vehicleClass);
|
|
725
|
-
this.vehicleClassesInfo = nativeDriverLicenseDetailedInfo.vehicleClassesInfo;
|
|
726
|
-
}
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
/**
|
|
730
|
-
* Represents the information about the vehicle class extraction.
|
|
731
|
-
*
|
|
732
|
-
*/
|
|
733
|
-
export class VehicleClassInfo {
|
|
734
|
-
/**
|
|
735
|
-
* The type of driver licence.
|
|
736
|
-
*
|
|
737
|
-
* Depending of the information source, it can either be of type {@link StringResult} or `string`.
|
|
738
|
-
*/
|
|
739
|
-
|
|
740
|
-
/**
|
|
741
|
-
* The type of vehicle the driver license owner has privilege to drive.
|
|
742
|
-
*
|
|
743
|
-
* Depending of the information source, it can either be of type {@link StringResult} or `String`.
|
|
744
|
-
*/
|
|
745
|
-
|
|
746
|
-
/**
|
|
747
|
-
* The date since licence is effective.
|
|
748
|
-
*
|
|
749
|
-
* See {@link DateResult} for more information.
|
|
750
|
-
*/
|
|
751
|
-
|
|
752
|
-
/**
|
|
753
|
-
* The date of expiry of licence.
|
|
754
|
-
*
|
|
755
|
-
* See {@link DateResult} for more information.
|
|
756
|
-
*/
|
|
757
|
-
|
|
758
|
-
constructor(nativeVehicleClassInfo) {
|
|
759
|
-
this.licenceType = BlinkIdUtilities.handleStringType(nativeVehicleClassInfo.licenceType);
|
|
760
|
-
this.vehicleClass = BlinkIdUtilities.handleStringType(nativeVehicleClassInfo.vehicleClass);
|
|
761
|
-
this.effectiveDate = nativeVehicleClassInfo.effectiveDate;
|
|
762
|
-
this.expiryDate = nativeVehicleClassInfo.expiryDate;
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
/**
|
|
767
|
-
* Information about the dependent.
|
|
768
|
-
*
|
|
769
|
-
*/
|
|
770
|
-
export class DependentInfo {
|
|
771
|
-
/**
|
|
772
|
-
* The date of birth of the dependent.
|
|
773
|
-
*
|
|
774
|
-
*/
|
|
775
|
-
|
|
776
|
-
/**
|
|
777
|
-
* The sex or gender of the dependent.
|
|
778
|
-
*
|
|
779
|
-
*/
|
|
780
|
-
|
|
781
|
-
/**
|
|
782
|
-
* The document number of the dependent.
|
|
783
|
-
*
|
|
784
|
-
*/
|
|
785
|
-
|
|
786
|
-
/**
|
|
787
|
-
* The full name of the dependent.
|
|
788
|
-
*
|
|
789
|
-
*/
|
|
790
|
-
|
|
791
|
-
/**
|
|
792
|
-
* Checks if the dependent's information is empty.
|
|
793
|
-
*
|
|
794
|
-
*/
|
|
795
|
-
|
|
796
|
-
constructor(nativeDependentInfo) {
|
|
797
|
-
this.dateOfBirth = nativeDependentInfo.dateOfBirth;
|
|
798
|
-
this.sex = nativeDependentInfo.sex;
|
|
799
|
-
this.documentNumber = nativeDependentInfo.documentNumber;
|
|
800
|
-
this.fullName = nativeDependentInfo.fullName;
|
|
801
|
-
this.empty = nativeDependentInfo.empty;
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
/**
|
|
806
|
-
* Represents the result of the image crop transformation with additional details.
|
|
807
|
-
*
|
|
808
|
-
*/
|
|
809
|
-
export class DetailedCroppedImageResult {
|
|
810
|
-
/**
|
|
811
|
-
* The cropped image in the Base64 format
|
|
812
|
-
*
|
|
813
|
-
*/
|
|
814
|
-
|
|
815
|
-
/**
|
|
816
|
-
* The document side that was cropped.
|
|
817
|
-
*
|
|
818
|
-
*/
|
|
819
|
-
|
|
820
|
-
/**
|
|
821
|
-
* The location of the cropped image in the transformed image of the document.
|
|
822
|
-
*
|
|
823
|
-
*/
|
|
824
|
-
|
|
825
|
-
/**
|
|
826
|
-
*
|
|
827
|
-
* @param nativeDetailedCroppedImageResult
|
|
828
|
-
*
|
|
829
|
-
*/
|
|
830
|
-
constructor(nativeDetailedCroppedImageResult) {
|
|
831
|
-
this.image = nativeDetailedCroppedImageResult.image;
|
|
832
|
-
this.side = nativeDetailedCroppedImageResult.side != undefined ? nativeDetailedCroppedImageResult.side : undefined;
|
|
833
|
-
this.location = nativeDetailedCroppedImageResult.location != undefined ? new Rectangle(nativeDetailedCroppedImageResult.location) : undefined;
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
/**
|
|
838
|
-
* Represents the result of scanning a single side of the document.
|
|
839
|
-
*
|
|
840
|
-
* Contains the data extracted from the Visual Inspection Zone, Machine Readable Zone,
|
|
841
|
-
* barcode, the input image, and the cropped document, face, and signature images.
|
|
842
|
-
*/
|
|
843
|
-
export class SingleSideScanningResult {
|
|
844
|
-
/**
|
|
845
|
-
* The data extracted from the Visual Inspection Zone.
|
|
846
|
-
*
|
|
847
|
-
*/
|
|
848
|
-
|
|
849
|
-
/**
|
|
850
|
-
* The data extracted from the Machine Readable Zone.
|
|
851
|
-
*
|
|
852
|
-
*/
|
|
853
|
-
|
|
854
|
-
/**
|
|
855
|
-
* The data extracted from the barcode.
|
|
856
|
-
*
|
|
857
|
-
*/
|
|
858
|
-
|
|
859
|
-
/**
|
|
860
|
-
* The input image in the Base64 format.
|
|
861
|
-
*
|
|
862
|
-
*/
|
|
863
|
-
|
|
864
|
-
/**
|
|
865
|
-
* The input image containing parsable barcode in the Base64 format.
|
|
866
|
-
*
|
|
867
|
-
*/
|
|
868
|
-
|
|
869
|
-
/**
|
|
870
|
-
* The cropped document image in the Base64 format.
|
|
871
|
-
*
|
|
872
|
-
*/
|
|
873
|
-
|
|
874
|
-
/**
|
|
875
|
-
* The cropped face image with additional info.
|
|
876
|
-
*
|
|
877
|
-
*/
|
|
878
|
-
|
|
879
|
-
/**
|
|
880
|
-
* The cropped signature image with additional info.
|
|
881
|
-
*
|
|
882
|
-
*/
|
|
883
|
-
|
|
884
|
-
/**
|
|
885
|
-
*
|
|
886
|
-
* @param nativeSingleSideScanningResult - specifies the single side scanning result obtained from the native SDK.
|
|
887
|
-
*
|
|
888
|
-
*/
|
|
889
|
-
constructor(nativeSingleSideScanningResult) {
|
|
890
|
-
this.viz = nativeSingleSideScanningResult.viz;
|
|
891
|
-
this.mrz = nativeSingleSideScanningResult.mrz;
|
|
892
|
-
this.barcode = nativeSingleSideScanningResult.barcode;
|
|
893
|
-
this.inputImage = nativeSingleSideScanningResult.inputImage;
|
|
894
|
-
this.barcodeInputImage = nativeSingleSideScanningResult.barcodeInputImage;
|
|
895
|
-
this.documentImage = nativeSingleSideScanningResult.documentImage;
|
|
896
|
-
this.faceImage = nativeSingleSideScanningResult.faceImage;
|
|
897
|
-
this.signatureImage = nativeSingleSideScanningResult.signatureImage;
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
214
|
|
|
901
215
|
/**
|
|
902
|
-
* Represents the
|
|
903
|
-
*
|
|
904
|
-
*/
|
|
905
|
-
export class VizResult {
|
|
906
|
-
/**
|
|
907
|
-
* The first name of the document owner.
|
|
908
|
-
*
|
|
909
|
-
*/
|
|
910
|
-
|
|
911
|
-
/**
|
|
912
|
-
* The last name of the document owner.
|
|
913
|
-
*
|
|
914
|
-
*/
|
|
915
|
-
|
|
916
|
-
/**
|
|
917
|
-
* The full name of the document owner.
|
|
918
|
-
*
|
|
919
|
-
*/
|
|
920
|
-
|
|
921
|
-
/**
|
|
922
|
-
* The additional name information of the document owner.
|
|
923
|
-
*
|
|
924
|
-
*/
|
|
925
|
-
|
|
926
|
-
/**
|
|
927
|
-
* The localized name of the document owner.
|
|
928
|
-
*
|
|
929
|
-
*/
|
|
930
|
-
|
|
931
|
-
/**
|
|
932
|
-
* The fathers name of the document owner.
|
|
933
|
-
*
|
|
934
|
-
*/
|
|
935
|
-
|
|
936
|
-
/**
|
|
937
|
-
* The mothers name of the document owner.
|
|
938
|
-
*
|
|
939
|
-
*/
|
|
940
|
-
|
|
941
|
-
/**
|
|
942
|
-
* The address of the document owner.
|
|
943
|
-
*
|
|
944
|
-
*/
|
|
945
|
-
|
|
946
|
-
/**
|
|
947
|
-
* The additional address information of the document owner.
|
|
948
|
-
*
|
|
949
|
-
*/
|
|
950
|
-
|
|
951
|
-
/**
|
|
952
|
-
* The one more additional address information of the document owner.
|
|
953
|
-
*
|
|
954
|
-
*/
|
|
955
|
-
|
|
956
|
-
/**
|
|
957
|
-
* The place of birth of the document owner.
|
|
958
|
-
*
|
|
959
|
-
*/
|
|
960
|
-
|
|
961
|
-
/**
|
|
962
|
-
* The nationality of the document owner.
|
|
963
|
-
*
|
|
964
|
-
*/
|
|
965
|
-
|
|
966
|
-
/**
|
|
967
|
-
* The race of the document owner.
|
|
968
|
-
*
|
|
969
|
-
*/
|
|
970
|
-
|
|
971
|
-
/**
|
|
972
|
-
* The religion of the document owner.
|
|
973
|
-
*
|
|
974
|
-
*/
|
|
975
|
-
|
|
976
|
-
/**
|
|
977
|
-
* The profession of the document owner.
|
|
978
|
-
*
|
|
979
|
-
*/
|
|
980
|
-
|
|
981
|
-
/**
|
|
982
|
-
* The marital status of the document owner.
|
|
983
|
-
*
|
|
984
|
-
*/
|
|
985
|
-
|
|
986
|
-
/**
|
|
987
|
-
* The residential status of the document owner.
|
|
988
|
-
*
|
|
989
|
-
*/
|
|
990
|
-
|
|
991
|
-
/**
|
|
992
|
-
* The employer of the document owner.
|
|
993
|
-
*
|
|
994
|
-
*/
|
|
995
|
-
|
|
996
|
-
/**
|
|
997
|
-
* The sex of the document owner.
|
|
998
|
-
*
|
|
999
|
-
*/
|
|
1000
|
-
|
|
1001
|
-
/**
|
|
1002
|
-
* The sponsor of the document owner.
|
|
1003
|
-
*
|
|
1004
|
-
*/
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* The blood type of the document owner.
|
|
1008
|
-
*
|
|
1009
|
-
*/
|
|
1010
|
-
|
|
1011
|
-
/**
|
|
1012
|
-
* The date of birth of the document owner.
|
|
1013
|
-
*
|
|
1014
|
-
*/
|
|
1015
|
-
|
|
1016
|
-
/**
|
|
1017
|
-
* The date of issue of the document.
|
|
1018
|
-
*
|
|
1019
|
-
*/
|
|
1020
|
-
|
|
1021
|
-
/**
|
|
1022
|
-
* The date of expiry of the document.
|
|
1023
|
-
*
|
|
1024
|
-
*/
|
|
1025
|
-
|
|
1026
|
-
/**
|
|
1027
|
-
* The date of entry of the document owner.
|
|
1028
|
-
*
|
|
1029
|
-
*/
|
|
1030
|
-
|
|
1031
|
-
/**
|
|
1032
|
-
* The locality code of the document owner.
|
|
1033
|
-
*
|
|
1034
|
-
*/
|
|
1035
|
-
|
|
1036
|
-
/**
|
|
1037
|
-
* The maiden name of the document owner.
|
|
1038
|
-
*
|
|
1039
|
-
*/
|
|
1040
|
-
|
|
1041
|
-
/**
|
|
1042
|
-
* The municipality code of the document owner.
|
|
1043
|
-
*
|
|
1044
|
-
*/
|
|
1045
|
-
|
|
1046
|
-
/**
|
|
1047
|
-
* The municipality of registration of the document owner.
|
|
1048
|
-
*
|
|
1049
|
-
*/
|
|
1050
|
-
|
|
1051
|
-
/**
|
|
1052
|
-
* The polling station code of the document owner.
|
|
1053
|
-
*
|
|
1054
|
-
*/
|
|
1055
|
-
|
|
1056
|
-
/**
|
|
1057
|
-
* The registration center code of the document owner.
|
|
1058
|
-
*
|
|
1059
|
-
*/
|
|
1060
|
-
|
|
1061
|
-
/**
|
|
1062
|
-
* The section code of the document owner.
|
|
1063
|
-
*
|
|
1064
|
-
*/
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* The state code of the document owner.
|
|
1068
|
-
*
|
|
1069
|
-
*/
|
|
1070
|
-
|
|
1071
|
-
/**
|
|
1072
|
-
* The state of the document owner.
|
|
1073
|
-
*
|
|
1074
|
-
*/
|
|
1075
|
-
|
|
1076
|
-
/**
|
|
1077
|
-
* Determines if date of expiry is permanent.
|
|
1078
|
-
*
|
|
1079
|
-
*/
|
|
1080
|
-
|
|
1081
|
-
/**
|
|
1082
|
-
* The document number.
|
|
1083
|
-
*
|
|
1084
|
-
*/
|
|
1085
|
-
|
|
1086
|
-
/**
|
|
1087
|
-
* The personal identification number.
|
|
1088
|
-
*
|
|
1089
|
-
*/
|
|
1090
|
-
|
|
1091
|
-
/**
|
|
1092
|
-
* The additional number of the document.
|
|
1093
|
-
*
|
|
1094
|
-
*/
|
|
1095
|
-
|
|
1096
|
-
/**
|
|
1097
|
-
* The one more additional number of the document.
|
|
1098
|
-
*
|
|
1099
|
-
*/
|
|
1100
|
-
|
|
1101
|
-
/**
|
|
1102
|
-
* The additional personal identification number.
|
|
1103
|
-
*
|
|
1104
|
-
*/
|
|
1105
|
-
|
|
1106
|
-
/**
|
|
1107
|
-
* The issuing authority of the document.
|
|
1108
|
-
*
|
|
1109
|
-
*/
|
|
1110
|
-
|
|
1111
|
-
/**
|
|
1112
|
-
* The visa type of the document.
|
|
1113
|
-
*
|
|
1114
|
-
*/
|
|
1115
|
-
|
|
1116
|
-
/**
|
|
1117
|
-
* The driver license detailed info.
|
|
1118
|
-
*
|
|
1119
|
-
*/
|
|
1120
|
-
|
|
1121
|
-
/**
|
|
1122
|
-
* The transcription of the document subtype.
|
|
1123
|
-
*
|
|
1124
|
-
*/
|
|
1125
|
-
|
|
1126
|
-
/**
|
|
1127
|
-
* The remarks on the residence permit.
|
|
1128
|
-
*
|
|
1129
|
-
*/
|
|
1130
|
-
|
|
1131
|
-
/**
|
|
1132
|
-
* The residence permit type.
|
|
1133
|
-
*/
|
|
1134
|
-
|
|
1135
|
-
/**
|
|
1136
|
-
* The manufacturing year.
|
|
1137
|
-
*
|
|
1138
|
-
*/
|
|
1139
|
-
|
|
1140
|
-
/**
|
|
1141
|
-
* The vehicle type.
|
|
1142
|
-
*
|
|
1143
|
-
*/
|
|
1144
|
-
|
|
1145
|
-
/**
|
|
1146
|
-
* The eligibility category.
|
|
1147
|
-
*
|
|
1148
|
-
*/
|
|
1149
|
-
|
|
1150
|
-
/**
|
|
1151
|
-
* The specific document validity.
|
|
1152
|
-
*
|
|
1153
|
-
*/
|
|
1154
|
-
|
|
1155
|
-
/**
|
|
1156
|
-
* The dependents info.
|
|
1157
|
-
*
|
|
1158
|
-
*/
|
|
1159
|
-
|
|
1160
|
-
/**
|
|
1161
|
-
* The vehicle owner.
|
|
1162
|
-
*
|
|
1163
|
-
*/
|
|
1164
|
-
|
|
1165
|
-
/**
|
|
1166
|
-
* The country code of the document owner.
|
|
1167
|
-
*
|
|
1168
|
-
*/
|
|
1169
|
-
|
|
1170
|
-
/**
|
|
1171
|
-
* The certificate number of the document owner.
|
|
1172
|
-
*
|
|
1173
|
-
*/
|
|
1174
|
-
|
|
1175
|
-
/**
|
|
1176
|
-
* The national insurance number of the document owner.
|
|
1177
|
-
*
|
|
1178
|
-
*/
|
|
1179
|
-
|
|
1180
|
-
/**
|
|
1181
|
-
* The effective date of the document.
|
|
1182
|
-
*/
|
|
1183
|
-
|
|
1184
|
-
/**
|
|
1185
|
-
* The parents info.
|
|
1186
|
-
*
|
|
1187
|
-
* See {@link ParentInfo} for more information.
|
|
1188
|
-
*/
|
|
1189
|
-
|
|
1190
|
-
/**
|
|
1191
|
-
* The husband name of the document owner.
|
|
1192
|
-
*/
|
|
1193
|
-
|
|
1194
|
-
/**
|
|
1195
|
-
* The legal status of the document owner.
|
|
1196
|
-
*/
|
|
1197
|
-
|
|
1198
|
-
/**
|
|
1199
|
-
* The social security status of the document owner.
|
|
1200
|
-
*/
|
|
1201
|
-
|
|
1202
|
-
/**
|
|
1203
|
-
* The work restriction of the document owner.
|
|
1204
|
-
*/
|
|
1205
|
-
|
|
1206
|
-
/**
|
|
1207
|
-
*
|
|
1208
|
-
* @param nativeVizResult
|
|
1209
|
-
*
|
|
1210
|
-
*/
|
|
1211
|
-
constructor(nativeVizResult) {
|
|
1212
|
-
this.firstName = nativeVizResult.firstName;
|
|
1213
|
-
this.lastName = nativeVizResult.lastName;
|
|
1214
|
-
this.fullName = nativeVizResult.fullName;
|
|
1215
|
-
this.additionalNameInformation = nativeVizResult.additionalNameInformation;
|
|
1216
|
-
this.localizedName = nativeVizResult.localizedName;
|
|
1217
|
-
this.fathersName = nativeVizResult.fathersName;
|
|
1218
|
-
this.mothersName = nativeVizResult.mothersName;
|
|
1219
|
-
this.address = nativeVizResult.address;
|
|
1220
|
-
this.additionalAddressInformation = nativeVizResult.additionalAddressInformation;
|
|
1221
|
-
this.additionalOptionalAddressInformation = nativeVizResult.additionalOptionalAddressInformation;
|
|
1222
|
-
this.placeOfBirth = nativeVizResult.placeOfBirth;
|
|
1223
|
-
this.nationality = nativeVizResult.nationality;
|
|
1224
|
-
this.race = nativeVizResult.race;
|
|
1225
|
-
this.religion = nativeVizResult.religion;
|
|
1226
|
-
this.profession = nativeVizResult.profession;
|
|
1227
|
-
this.maritalStatus = nativeVizResult.maritalStatus;
|
|
1228
|
-
this.residentialStatus = nativeVizResult.residentialStatus;
|
|
1229
|
-
this.employer = nativeVizResult.employer;
|
|
1230
|
-
this.sex = nativeVizResult.sex;
|
|
1231
|
-
this.sponsor = nativeVizResult.sponsor;
|
|
1232
|
-
this.bloodType = nativeVizResult.bloodType;
|
|
1233
|
-
this.dateOfBirth = nativeVizResult.dateOfBirth;
|
|
1234
|
-
this.dateOfIssue = nativeVizResult.dateOfIssue;
|
|
1235
|
-
this.dateOfExpiry = nativeVizResult.dateOfExpiry;
|
|
1236
|
-
this.dateOfEntry = nativeVizResult.dateOfEntry;
|
|
1237
|
-
this.localityCode = nativeVizResult.localityCode;
|
|
1238
|
-
this.maidenName = nativeVizResult.maidenName;
|
|
1239
|
-
this.municipalityCode = nativeVizResult.municipalityCode;
|
|
1240
|
-
this.municipalityOfRegistration = nativeVizResult.municipalityOfRegistration;
|
|
1241
|
-
this.pollingStationCode = nativeVizResult.pollingStationCode;
|
|
1242
|
-
this.registrationCenterCode = nativeVizResult.registrationCenterCode;
|
|
1243
|
-
this.sectionCode = nativeVizResult.sectionCode;
|
|
1244
|
-
this.stateCode = nativeVizResult.stateCode;
|
|
1245
|
-
this.stateName = nativeVizResult.stateName;
|
|
1246
|
-
this.dateOfExpiryPermanent = nativeVizResult.dateOfExpiryPermanent;
|
|
1247
|
-
this.documentNumber = nativeVizResult.documentNumber;
|
|
1248
|
-
this.personalIdNumber = nativeVizResult.personalIdNumber;
|
|
1249
|
-
this.documentAdditionalNumber = nativeVizResult.documentAdditionalNumber;
|
|
1250
|
-
this.documentOptionalAdditionalNumber = nativeVizResult.documentOptionalAdditionalNumber;
|
|
1251
|
-
this.additionalPersonalIdNumber = nativeVizResult.additionalPersonalIdNumber;
|
|
1252
|
-
this.issuingAuthority = nativeVizResult.issuingAuthority;
|
|
1253
|
-
this.visaType = nativeVizResult.visaType;
|
|
1254
|
-
this.driverLicenseDetailedInfo = nativeVizResult.driverLicenseDetailedInfo;
|
|
1255
|
-
this.documentSubtype = nativeVizResult.documentSubtype;
|
|
1256
|
-
this.remarks = nativeVizResult.remarks;
|
|
1257
|
-
this.residencePermitType = nativeVizResult.residencePermitType;
|
|
1258
|
-
this.manufacturingYear = nativeVizResult.manufacturingYear;
|
|
1259
|
-
this.vehicleType = nativeVizResult.vehicleType;
|
|
1260
|
-
this.eligibilityCategory = nativeVizResult.eligibilityCategory;
|
|
1261
|
-
this.specificDocumentValidity = nativeVizResult.specificDocumentValidity;
|
|
1262
|
-
this.dependentsInfo = nativeVizResult.dependentsInfo;
|
|
1263
|
-
this.vehicleOwner = nativeVizResult.vehicleOwner;
|
|
1264
|
-
this.countryCode = nativeVizResult.countryCode;
|
|
1265
|
-
this.certificateNumber = nativeVizResult.certificateNumber;
|
|
1266
|
-
this.nationalInsuranceNumber = nativeVizResult.nationalInsuranceNumber;
|
|
1267
|
-
this.effectiveDate = nativeVizResult.effectiveDate;
|
|
1268
|
-
this.parentsInfo = nativeVizResult.parentsInfo;
|
|
1269
|
-
this.husbandName = nativeVizResult.husbandName;
|
|
1270
|
-
this.legalStatus = nativeVizResult.legalStatus;
|
|
1271
|
-
this.socialSecurityStatus = nativeVizResult.socialSecurityStatus;
|
|
1272
|
-
this.workRestriction = nativeVizResult.workRestriction;
|
|
1273
|
-
}
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
/**
|
|
1277
|
-
* Represents the result of the MRZ recognition.
|
|
1278
|
-
*
|
|
1279
|
-
*/
|
|
1280
|
-
export class MrzResult {
|
|
1281
|
-
/**
|
|
1282
|
-
* The entire Machine Readable Zone text from ID.
|
|
1283
|
-
*
|
|
1284
|
-
*/
|
|
1285
|
-
|
|
1286
|
-
/**
|
|
1287
|
-
* The document code. Document code contains two characters.
|
|
1288
|
-
* For MRTD the first character shall be A, C or I.
|
|
1289
|
-
*
|
|
1290
|
-
* The second character shall be discretion of the issuing State or organization except
|
|
1291
|
-
* that V shall not be used, and `C` shall not be used after `A` except in the crew member certificate.
|
|
1292
|
-
*
|
|
1293
|
-
* On machine-readable passports (MRP) first character shall be `P` to designate an MRP. One additional
|
|
1294
|
-
* letter may be used, at the discretion of the issuing State or organization, to designate a particular
|
|
1295
|
-
* MRP.
|
|
1296
|
-
*
|
|
1297
|
-
* If the second character position is not used for this purpose, it shall be filled by the filter character.
|
|
1298
|
-
*/
|
|
1299
|
-
|
|
1300
|
-
/**
|
|
1301
|
-
* Three-letter or two-letter code which indicate the issuing State. Three-letter codes are based
|
|
1302
|
-
* on Aplha-3 codes for entities specified in ISO 3166-1, with extensions for certain States.
|
|
1303
|
-
*
|
|
1304
|
-
* Two-letter codes are based on Aplha-2 codes for entities specified in ISO 3166-1, with extensions for certain States.
|
|
1305
|
-
*/
|
|
1306
|
-
|
|
1307
|
-
/**
|
|
1308
|
-
* The document number.
|
|
1309
|
-
*
|
|
1310
|
-
*/
|
|
1311
|
-
|
|
1312
|
-
/**
|
|
1313
|
-
* The first optional data. Empty string if not available.
|
|
1314
|
-
*
|
|
1315
|
-
*/
|
|
1316
|
-
|
|
1317
|
-
/**
|
|
1318
|
-
* The second optional data. Empty string if not available.
|
|
1319
|
-
*
|
|
1320
|
-
*/
|
|
1321
|
-
|
|
1322
|
-
/**
|
|
1323
|
-
* The gender of the document holder.
|
|
1324
|
-
*
|
|
1325
|
-
* Gender is specified by use of the single initial.
|
|
1326
|
-
*/
|
|
1327
|
-
|
|
1328
|
-
/**
|
|
1329
|
-
* The nationality of the document holder represented by a three-letter or two-letter code.
|
|
1330
|
-
*
|
|
1331
|
-
* Three-letter codes are based on Alpha-3 codes for entities specified in ISO 3166-1, with extensions for certain States.
|
|
1332
|
-
*
|
|
1333
|
-
* Two-letter codes are based on Aplha-2 codes for entities specified in ISO 3166-1, with extensions for certain States.
|
|
1334
|
-
*/
|
|
1335
|
-
|
|
1336
|
-
/**
|
|
1337
|
-
* The primary indentifier.
|
|
1338
|
-
*
|
|
1339
|
-
* If there is more than one component, they are separated with space.
|
|
1340
|
-
*/
|
|
1341
|
-
|
|
1342
|
-
/**
|
|
1343
|
-
* The secondary identifier.
|
|
1344
|
-
*
|
|
1345
|
-
* If there is more than one component, they are separated with space.
|
|
1346
|
-
*/
|
|
1347
|
-
|
|
1348
|
-
/**
|
|
1349
|
-
* The full issuer name that is expanded from the three-letter or two-letter code which indicate
|
|
1350
|
-
* the issuing State.
|
|
1351
|
-
*
|
|
1352
|
-
*/
|
|
1353
|
-
|
|
1354
|
-
/**
|
|
1355
|
-
* The full nationality of the document holder, which is expanded from the three-letter or two-letter
|
|
1356
|
-
* nationality code.
|
|
1357
|
-
*/
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* Whether the MRZ is verified.
|
|
1361
|
-
*
|
|
1362
|
-
* If the MRZ is verified, it means that all check digits are correct.
|
|
1363
|
-
*/
|
|
1364
|
-
|
|
1365
|
-
/**
|
|
1366
|
-
* The date of birth of the document holder.
|
|
1367
|
-
*
|
|
1368
|
-
*/
|
|
1369
|
-
|
|
1370
|
-
/**
|
|
1371
|
-
* The date of expiry of the document.
|
|
1372
|
-
*
|
|
1373
|
-
*/
|
|
1374
|
-
|
|
1375
|
-
/**
|
|
1376
|
-
* The type of the document.
|
|
1377
|
-
*
|
|
1378
|
-
*/
|
|
1379
|
-
|
|
1380
|
-
/**
|
|
1381
|
-
* The sanitized first optional data.
|
|
1382
|
-
*
|
|
1383
|
-
* Result without additional '<' characters if they exist.
|
|
1384
|
-
*/
|
|
1385
|
-
|
|
1386
|
-
/**
|
|
1387
|
-
* The sanitized second optional data.
|
|
1388
|
-
*
|
|
1389
|
-
* Result without additional '<' characters if they exist.
|
|
1390
|
-
*/
|
|
1391
|
-
|
|
1392
|
-
/**
|
|
1393
|
-
* The sanitized nationality.
|
|
1394
|
-
*
|
|
1395
|
-
* Result without additional '<' characters if they exist.
|
|
1396
|
-
*/
|
|
1397
|
-
|
|
1398
|
-
/**
|
|
1399
|
-
* The sanitized issuer.
|
|
1400
|
-
*
|
|
1401
|
-
* Result without additional '<' characters if they exist.
|
|
1402
|
-
*/
|
|
1403
|
-
|
|
1404
|
-
/**
|
|
1405
|
-
* The sanitized document code.
|
|
1406
|
-
*
|
|
1407
|
-
* Result without additional '<' characters if they exist.
|
|
1408
|
-
*/
|
|
1409
|
-
|
|
1410
|
-
/**
|
|
1411
|
-
* The sanitized document number.
|
|
1412
|
-
*
|
|
1413
|
-
* Result without additional '<' characters if they exist.
|
|
1414
|
-
*/
|
|
1415
|
-
|
|
1416
|
-
/**
|
|
1417
|
-
*
|
|
1418
|
-
* @param nativeMrzResult
|
|
1419
|
-
*
|
|
1420
|
-
*/
|
|
1421
|
-
constructor(nativeMrzResult) {
|
|
1422
|
-
this.rawMRZString = nativeMrzResult.rawMRZString;
|
|
1423
|
-
this.documentCode = nativeMrzResult.documentCode;
|
|
1424
|
-
this.issuer = nativeMrzResult.issuer;
|
|
1425
|
-
this.documentNumber = nativeMrzResult.documentNumber;
|
|
1426
|
-
this.opt1 = nativeMrzResult.opt1;
|
|
1427
|
-
this.opt2 = nativeMrzResult.opt2;
|
|
1428
|
-
this.gender = nativeMrzResult.gender;
|
|
1429
|
-
this.nationality = nativeMrzResult.nationality;
|
|
1430
|
-
this.primaryID = nativeMrzResult.primaryID;
|
|
1431
|
-
this.secondaryID = nativeMrzResult.secondaryID;
|
|
1432
|
-
this.issuerName = nativeMrzResult.issuerName;
|
|
1433
|
-
this.nationalityName = nativeMrzResult.nationalityName;
|
|
1434
|
-
this.verified = nativeMrzResult.verified;
|
|
1435
|
-
this.dateOfBirth = nativeMrzResult.dateOfBirth;
|
|
1436
|
-
this.dateOfExpiry = nativeMrzResult.dateOfExpiry;
|
|
1437
|
-
this.documentType = nativeMrzResult.documentType;
|
|
1438
|
-
this.sanitizedOpt1 = nativeMrzResult.sanitizedOpt1;
|
|
1439
|
-
this.sanitizedOpt2 = nativeMrzResult.sanitizedOpt2;
|
|
1440
|
-
this.sanitizedNationality = nativeMrzResult.sanitizedNationality;
|
|
1441
|
-
this.sanitizedIssuer = nativeMrzResult.sanitizedIssuer;
|
|
1442
|
-
this.sanitizedDocumentCode = nativeMrzResult.sanitizedDocumentCode;
|
|
1443
|
-
this.sanitizedDocumentNumber = nativeMrzResult.sanitizedDocumentNumber;
|
|
1444
|
-
}
|
|
1445
|
-
}
|
|
1446
|
-
|
|
1447
|
-
/**
|
|
1448
|
-
* Represents the data extracted from the barcode.
|
|
1449
|
-
*
|
|
1450
|
-
*/
|
|
1451
|
-
export class BarcodeResult {
|
|
1452
|
-
/**
|
|
1453
|
-
* The raw, unparsed barcode data.
|
|
1454
|
-
*
|
|
1455
|
-
*/
|
|
1456
|
-
|
|
1457
|
-
/**
|
|
1458
|
-
* The first name of the document owner.
|
|
1459
|
-
*
|
|
1460
|
-
*/
|
|
1461
|
-
|
|
1462
|
-
/**
|
|
1463
|
-
* The middle name of the document owner.
|
|
1464
|
-
*
|
|
1465
|
-
*/
|
|
1466
|
-
|
|
1467
|
-
/**
|
|
1468
|
-
* The last name of the document owner.
|
|
1469
|
-
*
|
|
1470
|
-
*/
|
|
1471
|
-
|
|
1472
|
-
/**
|
|
1473
|
-
* The full name of the document owner.
|
|
1474
|
-
*
|
|
1475
|
-
*/
|
|
1476
|
-
|
|
1477
|
-
/**
|
|
1478
|
-
* The additional name information of the document owner.
|
|
1479
|
-
*
|
|
1480
|
-
*/
|
|
1481
|
-
|
|
1482
|
-
/**
|
|
1483
|
-
* The address of the document owner.
|
|
1484
|
-
*
|
|
1485
|
-
*/
|
|
1486
|
-
|
|
1487
|
-
/**
|
|
1488
|
-
* The place of birth of the document owner.
|
|
1489
|
-
*
|
|
1490
|
-
*/
|
|
1491
|
-
|
|
1492
|
-
/**
|
|
1493
|
-
* The nationality of the document owner.
|
|
1494
|
-
*
|
|
1495
|
-
*/
|
|
1496
|
-
|
|
1497
|
-
/**
|
|
1498
|
-
* The race of the document owner.
|
|
1499
|
-
*
|
|
1500
|
-
*/
|
|
1501
|
-
|
|
1502
|
-
/**
|
|
1503
|
-
* The religion of the document owner.
|
|
1504
|
-
*
|
|
1505
|
-
*/
|
|
1506
|
-
|
|
1507
|
-
/**
|
|
1508
|
-
* The profession of the document owner.
|
|
1509
|
-
*
|
|
1510
|
-
*/
|
|
1511
|
-
|
|
1512
|
-
/**
|
|
1513
|
-
* The marital status of the document owner.
|
|
1514
|
-
*
|
|
1515
|
-
*/
|
|
1516
|
-
|
|
1517
|
-
/**
|
|
1518
|
-
* The residential status of the document owner.
|
|
1519
|
-
*
|
|
1520
|
-
*/
|
|
1521
|
-
|
|
1522
|
-
/**
|
|
1523
|
-
* The employer of the document owner.
|
|
1524
|
-
*
|
|
1525
|
-
*/
|
|
1526
|
-
|
|
1527
|
-
/**
|
|
1528
|
-
* The sex of the document owner.
|
|
1529
|
-
*
|
|
1530
|
-
*/
|
|
1531
|
-
|
|
1532
|
-
/**
|
|
1533
|
-
* The date of birth of the document owner.
|
|
1534
|
-
*
|
|
1535
|
-
*/
|
|
1536
|
-
|
|
1537
|
-
/**
|
|
1538
|
-
* The date of issue of the document.
|
|
1539
|
-
*
|
|
1540
|
-
*/
|
|
1541
|
-
|
|
1542
|
-
/**
|
|
1543
|
-
* The date of expiry of the document.
|
|
1544
|
-
*
|
|
1545
|
-
*/
|
|
1546
|
-
|
|
1547
|
-
/**
|
|
1548
|
-
* The document number.
|
|
1549
|
-
*
|
|
1550
|
-
*/
|
|
1551
|
-
|
|
1552
|
-
/**
|
|
1553
|
-
* The personal identification number.
|
|
1554
|
-
*
|
|
1555
|
-
*/
|
|
1556
|
-
|
|
1557
|
-
/**
|
|
1558
|
-
* The additional number of the document.
|
|
1559
|
-
*
|
|
1560
|
-
*/
|
|
1561
|
-
|
|
1562
|
-
/**
|
|
1563
|
-
* The issuing authority of the document.
|
|
1564
|
-
*
|
|
1565
|
-
*/
|
|
1566
|
-
|
|
1567
|
-
/**
|
|
1568
|
-
* The details about the address of the document owner.
|
|
1569
|
-
*
|
|
1570
|
-
*/
|
|
1571
|
-
|
|
1572
|
-
/**
|
|
1573
|
-
* The driver license detailed info.
|
|
1574
|
-
*
|
|
1575
|
-
*/
|
|
1576
|
-
|
|
1577
|
-
/**
|
|
1578
|
-
* Document specific extended elements that contain all barcode fields in their original form.
|
|
1579
|
-
*
|
|
1580
|
-
* Currently this is only filled for AAMVACompliant documents.
|
|
1581
|
-
*/
|
|
1582
|
-
|
|
1583
|
-
/**
|
|
1584
|
-
* Indicates whether the barcode was successfully parsed.
|
|
1585
|
-
*/
|
|
1586
|
-
|
|
1587
|
-
/**
|
|
1588
|
-
*
|
|
1589
|
-
* @param nativeBarcodeResult
|
|
1590
|
-
*/
|
|
1591
|
-
constructor(nativeBarcodeResult) {
|
|
1592
|
-
this.barcodeData = nativeBarcodeResult.barcodeData;
|
|
1593
|
-
this.firstName = nativeBarcodeResult.firstName;
|
|
1594
|
-
this.middleName = nativeBarcodeResult.middleName;
|
|
1595
|
-
this.lastName = nativeBarcodeResult.lastName;
|
|
1596
|
-
this.fullName = nativeBarcodeResult.fullName;
|
|
1597
|
-
this.additionalNameInformation = nativeBarcodeResult.additionalNameInformation;
|
|
1598
|
-
this.address = nativeBarcodeResult.address;
|
|
1599
|
-
this.placeOfBirth = nativeBarcodeResult.placeOfBirth;
|
|
1600
|
-
this.nationality = nativeBarcodeResult.nationality;
|
|
1601
|
-
this.race = nativeBarcodeResult.race;
|
|
1602
|
-
this.religion = nativeBarcodeResult.religion;
|
|
1603
|
-
this.profession = nativeBarcodeResult.profession;
|
|
1604
|
-
this.maritalStatus = nativeBarcodeResult.maritalStatus;
|
|
1605
|
-
this.residentialStatus = nativeBarcodeResult.residentialStatus;
|
|
1606
|
-
this.employer = nativeBarcodeResult.employer;
|
|
1607
|
-
this.sex = nativeBarcodeResult.sex;
|
|
1608
|
-
this.dateOfBirth = nativeBarcodeResult.dateOfBirth;
|
|
1609
|
-
this.dateOfIssue = nativeBarcodeResult.dateOfIssue;
|
|
1610
|
-
this.dateOfExpiry = nativeBarcodeResult.dateOfExpiry;
|
|
1611
|
-
this.documentNumber = nativeBarcodeResult.documentNumber;
|
|
1612
|
-
this.personalIdNumber = nativeBarcodeResult.personalIdNumber;
|
|
1613
|
-
this.documentAdditionalNumber = nativeBarcodeResult.documentAdditionalNumber;
|
|
1614
|
-
this.issuingAuthority = nativeBarcodeResult.issuingAuthority;
|
|
1615
|
-
this.addressDetailedInfo = nativeBarcodeResult.addressDetailedInfo;
|
|
1616
|
-
this.driverLicenseDetailedInfo = nativeBarcodeResult.driverLicenseDetailedInfo;
|
|
1617
|
-
this.extendedElements = nativeBarcodeResult.extendedElements;
|
|
1618
|
-
this.parsed = nativeBarcodeResult.parsed;
|
|
1619
|
-
}
|
|
1620
|
-
}
|
|
1621
|
-
|
|
1622
|
-
/**
|
|
1623
|
-
* Represents the raw, unparsed data extracted from a scanned barcode.
|
|
1624
|
-
*
|
|
1625
|
-
*/
|
|
1626
|
-
export class BarcodeData {
|
|
1627
|
-
/**
|
|
1628
|
-
* Type of the scanned barcode.
|
|
1629
|
-
*
|
|
1630
|
-
*/
|
|
1631
|
-
|
|
1632
|
-
/**
|
|
1633
|
-
* Raw bytes of the barcode content.
|
|
1634
|
-
*
|
|
1635
|
-
*/
|
|
1636
|
-
|
|
1637
|
-
/**
|
|
1638
|
-
* String representation of the barcode content.
|
|
1639
|
-
*
|
|
1640
|
-
*/
|
|
1641
|
-
|
|
1642
|
-
/**
|
|
1643
|
-
* Whether the barcode data is uncertain, i.e. if scanned barcode was incomplete or has parts of it missing.
|
|
1644
|
-
*
|
|
1645
|
-
*/
|
|
1646
|
-
|
|
1647
|
-
/**
|
|
1648
|
-
*
|
|
1649
|
-
* @param nativeBarcodeData - specifies the barcode data obtained from the native SDK.
|
|
1650
|
-
*/
|
|
1651
|
-
constructor(nativeBarcodeData) {
|
|
1652
|
-
this.barcodeType = nativeBarcodeData.barcodeType;
|
|
1653
|
-
this.rawData = nativeBarcodeData.rawData;
|
|
1654
|
-
this.stringData = nativeBarcodeData.stringData;
|
|
1655
|
-
this.uncertain = nativeBarcodeData.uncertain;
|
|
1656
|
-
}
|
|
1657
|
-
}
|
|
1658
|
-
|
|
1659
|
-
/**
|
|
1660
|
-
* Detailed information about the address.
|
|
1661
|
-
*
|
|
1662
|
-
*/
|
|
1663
|
-
export class AddressDetailedInfo {
|
|
1664
|
-
/**
|
|
1665
|
-
* he address street portion of the document owner.
|
|
1666
|
-
*
|
|
1667
|
-
*/
|
|
1668
|
-
|
|
1669
|
-
/**
|
|
1670
|
-
* The address postal code portion of the document owner.
|
|
1671
|
-
*
|
|
1672
|
-
*/
|
|
1673
|
-
|
|
1674
|
-
/**
|
|
1675
|
-
* The address city portion of the document owner.
|
|
1676
|
-
*
|
|
1677
|
-
*/
|
|
1678
|
-
|
|
1679
|
-
/**
|
|
1680
|
-
* The address jurisdiction code portion of the document owner.
|
|
1681
|
-
*
|
|
1682
|
-
*/
|
|
1683
|
-
|
|
1684
|
-
/**
|
|
1685
|
-
*
|
|
1686
|
-
* @param nativeAddressDetailedInfo - specificies the address detailed info obtained from the native SDK.
|
|
1687
|
-
*
|
|
1688
|
-
*/
|
|
1689
|
-
constructor(nativeAddressDetailedInfo) {
|
|
1690
|
-
this.street = nativeAddressDetailedInfo.street;
|
|
1691
|
-
this.postalCode = nativeAddressDetailedInfo.postalCode;
|
|
1692
|
-
this.city = nativeAddressDetailedInfo.city;
|
|
1693
|
-
this.jurisdiction = nativeAddressDetailedInfo.jurisdiction;
|
|
1694
|
-
}
|
|
1695
|
-
}
|
|
1696
|
-
/**
|
|
1697
|
-
* Represents the fields present in the barcode.
|
|
1698
|
-
* Currently this is only used for AAMVACompliant documents.
|
|
1699
|
-
*/
|
|
1700
|
-
export class BarcodeExtendedElements {
|
|
1701
|
-
/**
|
|
1702
|
-
* Mandatory on all AAMVA and Magnetic barcodes.
|
|
1703
|
-
* On compact barcodes, use kFullAddress.
|
|
1704
|
-
*
|
|
1705
|
-
* City portion of the cardholder address.
|
|
1706
|
-
*/
|
|
1707
|
-
|
|
1708
|
-
/**
|
|
1709
|
-
* Mandatory on all AAMVA and Magnetic barcodes.
|
|
1710
|
-
* On compact barcodes, use kFullAddress.
|
|
1711
|
-
*
|
|
1712
|
-
* State portion of the cardholder address.
|
|
1713
|
-
*/
|
|
1714
|
-
|
|
1715
|
-
/**
|
|
1716
|
-
* Mandatory on all AAMVA and Magnetic barcodes.
|
|
1717
|
-
* On compact barcodes, use kFullAddress.
|
|
1718
|
-
*
|
|
1719
|
-
* Postal code portion of the cardholder address in the U.S. and Canada.
|
|
1720
|
-
* If the trailing portion of the postal code in the U.S. is not known, zeros can be used
|
|
1721
|
-
* to fill the trailing set of numbers up to nine (9) digits.
|
|
1722
|
-
*/
|
|
1723
|
-
|
|
1724
|
-
/**
|
|
1725
|
-
* Mandatory on all AAMVA and Magnetic barcodes.
|
|
1726
|
-
* On compact barcodes, use kFullAddress.
|
|
1727
|
-
*
|
|
1728
|
-
* Street portion of the cardholder address.
|
|
1729
|
-
* The place where the registered driver of a vehicle (individual or corporation)
|
|
1730
|
-
* may be contacted such as a house number, street address, etc.
|
|
1731
|
-
*/
|
|
1732
|
-
|
|
1733
|
-
/**
|
|
1734
|
-
* Optional on all AAMVA barcodes.
|
|
1735
|
-
* On Compact barcodes, use kFullAddress.
|
|
1736
|
-
*
|
|
1737
|
-
* Second line of street portion of the cardholder address.
|
|
1738
|
-
*/
|
|
1739
|
-
|
|
1740
|
-
/**
|
|
1741
|
-
* Optional on AAMVA 01. (MMDDCCYY format)
|
|
1742
|
-
*
|
|
1743
|
-
* ALTERNATIVE DATES(S) given as date of birth.
|
|
1744
|
-
*/
|
|
1745
|
-
|
|
1746
|
-
/**
|
|
1747
|
-
* Optional on all AAMVA and Compact barcodes.
|
|
1748
|
-
* Other family name by which the cardholder is known.
|
|
1749
|
-
*/
|
|
1750
|
-
|
|
1751
|
-
/**
|
|
1752
|
-
* Optional on all AAMVA and Compact barcodes.
|
|
1753
|
-
*
|
|
1754
|
-
* Other name by which the cardholder is known. ALTERNATIVE NAME(S) of the individual
|
|
1755
|
-
* holding the Driver License or ID.
|
|
1756
|
-
*
|
|
1757
|
-
* The Name field contains up to four portions, separated with the "," delimiter:
|
|
1758
|
-
* AKA Last Name (required)
|
|
1759
|
-
* , (required)
|
|
1760
|
-
* AKA First Name (required)
|
|
1761
|
-
* , (required if other name portions follow, otherwise optional)
|
|
1762
|
-
* AKA Middle Name(s) (optional)
|
|
1763
|
-
* , (required if other name portions follow, otherwise optional)
|
|
1764
|
-
* AKA Suffix (optional)
|
|
1765
|
-
* , (optional)
|
|
1766
|
-
*
|
|
1767
|
-
* If the individual has more than one AKA middle name they are separated with space.
|
|
1768
|
-
*/
|
|
1769
|
-
|
|
1770
|
-
/**
|
|
1771
|
-
* Optional on all AAMVA and Compact barcodes.
|
|
1772
|
-
*
|
|
1773
|
-
* Other given name by which the cardholder is known
|
|
1774
|
-
*/
|
|
1775
|
-
|
|
1776
|
-
/**
|
|
1777
|
-
* Optional on AAMVA 01 barcodes.
|
|
1778
|
-
*
|
|
1779
|
-
* ALTERNATIVE MIDDLE NAME(s) or INITIALS of the individual holding the Driver License or ID.
|
|
1780
|
-
* Hyphenated names acceptable, spaces between names acceptable, but no other
|
|
1781
|
-
* use of special symbols.
|
|
1782
|
-
*/
|
|
1783
|
-
|
|
1784
|
-
/**
|
|
1785
|
-
* Optional on AAMVA 01 barcodes.
|
|
1786
|
-
*
|
|
1787
|
-
* ALTERNATIVE PREFIX to Driver Name. Freeform as defined by issuing jurisdiction.
|
|
1788
|
-
*/
|
|
1789
|
-
|
|
1790
|
-
/**
|
|
1791
|
-
* Optional on AAMVA version 01.
|
|
1792
|
-
*
|
|
1793
|
-
* Driver "AKA" Social Security Number. FORMAT SAME AS DRIVER SOC SEC NUM. ALTERNATIVE NUMBERS(S) used as SS NUM.
|
|
1794
|
-
*/
|
|
1795
|
-
|
|
1796
|
-
/**
|
|
1797
|
-
* Optional on all AAMVA and Compact barcodes.
|
|
1798
|
-
*
|
|
1799
|
-
* Other suffix by which the cardholder is known.
|
|
1800
|
-
* The Suffix Code Portion, if submitted, can contain only the Suffix Codes
|
|
1801
|
-
* shown in the following table (e.g., Andrew Johnson, III = JOHNSON@ANDREW@@3RD):
|
|
1802
|
-
*
|
|
1803
|
-
* Suffix Meaning or Synonym
|
|
1804
|
-
* JR Junior
|
|
1805
|
-
* SR Senior or Esquire 1ST First
|
|
1806
|
-
* 2ND Second
|
|
1807
|
-
* 3RD Third
|
|
1808
|
-
* 4TH Fourth
|
|
1809
|
-
* 5TH Fifth
|
|
1810
|
-
* 6TH Sixth
|
|
1811
|
-
* 7TH Seventh
|
|
1812
|
-
* 8TH Eighth
|
|
1813
|
-
* 9TH Ninth
|
|
1814
|
-
*/
|
|
1815
|
-
|
|
1816
|
-
/**
|
|
1817
|
-
* Optional on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
|
|
1818
|
-
*
|
|
1819
|
-
* A string of letters and/or numbers that identifies when, where, and by whom a driver's
|
|
1820
|
-
* license/ID card was made. If audit information is not used on the card or the MRT, it
|
|
1821
|
-
* must be included in the driver record.
|
|
1822
|
-
*/
|
|
1823
|
-
|
|
1824
|
-
/**
|
|
1825
|
-
* Optional on AAMVA 04, 05, 06, 07, 08 and Compact barcodes.
|
|
1826
|
-
*
|
|
1827
|
-
* DHS required field that indicates date of the most recent version change or
|
|
1828
|
-
* modification to the visible format of the DL/ID. (MMDDCCYY format)
|
|
1829
|
-
*/
|
|
1830
|
-
|
|
1831
|
-
/**
|
|
1832
|
-
* Optional on AAMVA 04, 05, 06, 07, 08 and Compact barcodes.
|
|
1833
|
-
*
|
|
1834
|
-
* DHS required field that indicates compliance: "M" = materially compliant,
|
|
1835
|
-
* "F" = fully compliant, and, "N" = non-compliant.
|
|
1836
|
-
*/
|
|
1837
|
-
|
|
1838
|
-
/**
|
|
1839
|
-
* Mandatory on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
|
|
1840
|
-
*
|
|
1841
|
-
* Country in which DL/ID is issued. U.S. = USA, Canada = CAN.
|
|
1842
|
-
*/
|
|
1843
|
-
|
|
1844
|
-
/**
|
|
1845
|
-
* Mandatory on all AAMVA, Magnetic and Compact barcodes.
|
|
1846
|
-
*
|
|
1847
|
-
* Family name of the cardholder. (Family name is sometimes also called "last name" or "surname.")
|
|
1848
|
-
* Collect full name for record, print as many characters as possible on portrait side of DL/ID.
|
|
1849
|
-
*/
|
|
1850
|
-
|
|
1851
|
-
/**
|
|
1852
|
-
* Mandatory on all AAMVA and Compact barcodes.
|
|
1853
|
-
*
|
|
1854
|
-
* The number assigned or calculated by the issuing authority.
|
|
1855
|
-
*/
|
|
1856
|
-
|
|
1857
|
-
/**
|
|
1858
|
-
* Mandatory on all AAMVA, Magnetic and Compact barcodes.
|
|
1859
|
-
*
|
|
1860
|
-
* First name of the cardholder.
|
|
1861
|
-
*/
|
|
1862
|
-
|
|
1863
|
-
/**
|
|
1864
|
-
* Mandatory on all AAMVA, Magnetic and Compact barcodes.
|
|
1865
|
-
*
|
|
1866
|
-
* Full name of the individual holding the Driver's License or ID.
|
|
1867
|
-
*
|
|
1868
|
-
* The Name field contains up to four portions, separated with the "," delimiter:
|
|
1869
|
-
* Last Name (required)
|
|
1870
|
-
* , (required)
|
|
1871
|
-
* First Name (required)
|
|
1872
|
-
* , (required if other name portions follow, otherwise optional)
|
|
1873
|
-
* Middle Name(s) (optional)
|
|
1874
|
-
* , (required if other name portions follow, otherwise optional)
|
|
1875
|
-
* Suffix (optional)
|
|
1876
|
-
* , (optional)
|
|
1877
|
-
*
|
|
1878
|
-
* If the individual has more than one middle name they are separated with space.
|
|
1879
|
-
*/
|
|
1880
|
-
|
|
1881
|
-
/**
|
|
1882
|
-
* Mandatory on AAMVA 04, 05, 06, 07, 08 barcodes.
|
|
1883
|
-
* Optional on AAMVA 01, 02, 03, Magnetic and Compcat barcodes.
|
|
1884
|
-
*
|
|
1885
|
-
* Middle name(s) of the cardholder. In the case of multiple middle names they
|
|
1886
|
-
* shall be separated by space " ".
|
|
1887
|
-
*/
|
|
1888
|
-
|
|
1889
|
-
/**
|
|
1890
|
-
* Optional on compact barcodes.
|
|
1891
|
-
*
|
|
1892
|
-
* Document discriminator.
|
|
1893
|
-
*/
|
|
1894
|
-
|
|
1895
|
-
/**
|
|
1896
|
-
* Mandatory on all AAMVA, Magnetic and Compact barcodes.
|
|
1897
|
-
*
|
|
1898
|
-
* Date on which the cardholder was born. (MMDDCCYY format)
|
|
1899
|
-
*/
|
|
1900
|
-
|
|
1901
|
-
/**
|
|
1902
|
-
* Mandatory on AAMVA 02, 03, 04, 05, 06, 07, 08 and Magnetic barcodes.
|
|
1903
|
-
* Optional on Compact barcodes.
|
|
1904
|
-
*
|
|
1905
|
-
* Number must uniquely identify a particular document issued to that customer
|
|
1906
|
-
* from others that may have been issued in the past. This number may serve
|
|
1907
|
-
* multiple purposes of document discrimination, audit info, and/or inventory control.
|
|
1908
|
-
*/
|
|
1909
|
-
|
|
1910
|
-
/**
|
|
1911
|
-
* Mandatory on all AAMVA, Magnetic and Compact barcodes.
|
|
1912
|
-
*
|
|
1913
|
-
* Date on which the document expires. (MMDDCCYY format)
|
|
1914
|
-
* If the document is non expiring then "Non expiring" is written in this field.
|
|
1915
|
-
*/
|
|
1916
|
-
|
|
1917
|
-
/**
|
|
1918
|
-
* Optional on Magnetic barcodes.
|
|
1919
|
-
*
|
|
1920
|
-
* Month on which the driving and identification privileges granted by the document are no longer valid.
|
|
1921
|
-
*/
|
|
1922
|
-
|
|
1923
|
-
/**
|
|
1924
|
-
* Mandatory on all AAMVA and Compact barcodes.
|
|
1925
|
-
*
|
|
1926
|
-
* Date on which the document was issued. (MMDDCCYY format)
|
|
1927
|
-
*/
|
|
1928
|
-
|
|
1929
|
-
/**
|
|
1930
|
-
* Optional on Magnetic barcodes.
|
|
1931
|
-
*
|
|
1932
|
-
* Field that indicates that the driving and identification privileges granted by the
|
|
1933
|
-
* document are nonexpiring = "1".
|
|
1934
|
-
*/
|
|
1935
|
-
|
|
1936
|
-
/**
|
|
1937
|
-
* Mandatory on all driver's licenses.
|
|
1938
|
-
* All barcodes which are using 3-track magnetic stripe encoding used in the interest of smoothing a transition from legacy documents
|
|
1939
|
-
* shall be designated as "Magnetic". All barcodes which are using compact encoding
|
|
1940
|
-
* compliant with ISO/IEC 18013-2 shall be designated as "Compact". All barcodes (majority)
|
|
1941
|
-
* compliant with Mandatory PDF417 Bar Code of the American Association of Motor Vehicle
|
|
1942
|
-
* Administrators (AAMVA) Card Design Standard from AAMVA DL/ID-2000 standard to DL/ID-2013
|
|
1943
|
-
* shall be designated as "AAMVA".
|
|
1944
|
-
*/
|
|
1945
|
-
|
|
1946
|
-
/**
|
|
1947
|
-
* Mandatory on AAMVA 02, 03, 04, 05, 06, 07, 08 barcodes.
|
|
1948
|
-
* Optional on AAMVA 01, Magnetic and Compact barcodes.
|
|
1949
|
-
*
|
|
1950
|
-
* Color of cardholder's eyes. (ANSI D-20 codes)
|
|
1951
|
-
* Code Description
|
|
1952
|
-
* BLK Black
|
|
1953
|
-
* BLU Blue
|
|
1954
|
-
* BRO Brown
|
|
1955
|
-
* GRY Gray
|
|
1956
|
-
* GRN Green
|
|
1957
|
-
* HAZ Hazel
|
|
1958
|
-
* MAR Maroon
|
|
1959
|
-
* PNK Pink
|
|
1960
|
-
* DIC Dichromatic
|
|
1961
|
-
* UNK Unknown
|
|
1962
|
-
*/
|
|
1963
|
-
|
|
1964
|
-
/**
|
|
1965
|
-
* Mandatory on AAMVA 04, 05, 06, 07, 08 barcodes.
|
|
1966
|
-
* Optional on Compact barcodes.
|
|
1967
|
-
* A code that indicates whether a field has been truncated (T), has not been
|
|
1968
|
-
* truncated (N), or – unknown whether truncated (U).
|
|
1969
|
-
*/
|
|
1970
|
-
|
|
1971
|
-
/**
|
|
1972
|
-
* Mandatory on AAMVA versions 02 and 03.
|
|
1973
|
-
*
|
|
1974
|
-
* Federally established codes for vehicle categories, endorsements, and restrictions
|
|
1975
|
-
* that are generally applicable to commercial motor vehicles. If the vehicle is not a
|
|
1976
|
-
* commercial vehicle, "NONE" is to be entered.
|
|
1977
|
-
*/
|
|
1978
|
-
|
|
1979
|
-
/**
|
|
1980
|
-
* Mandatory on AAMVA 04, 05, 06, 07, 08 barcodes.
|
|
1981
|
-
* Optional on Compact barcodes.
|
|
1982
|
-
*
|
|
1983
|
-
* A code that indicates whether a field has been truncated (T), has not been
|
|
1984
|
-
* truncated (N), or – unknown whether truncated (U).
|
|
1985
|
-
*/
|
|
1986
|
-
|
|
1987
|
-
/**
|
|
1988
|
-
* Mandatory on all AAMVA and Magnetic barcodes.
|
|
1989
|
-
* Optional on Compact barcodes.
|
|
1990
|
-
*
|
|
1991
|
-
* Full address of the individual holding the Driver's License or ID.
|
|
1992
|
-
*
|
|
1993
|
-
* The full address field contains up to four portions, separated with the "," delimiter:
|
|
1994
|
-
* Street Address (required)
|
|
1995
|
-
* , (required if other address portions follow, otherwise optional)
|
|
1996
|
-
* City (optional)
|
|
1997
|
-
* , (required if other address portions follow, otherwise optional)
|
|
1998
|
-
* Jurisdiction Code (optional)
|
|
1999
|
-
* , (required if other address portions follow, otherwise optional)
|
|
2000
|
-
* ZIP - Postal Code (optional)
|
|
2001
|
-
*/
|
|
2002
|
-
|
|
2003
|
-
/**
|
|
2004
|
-
* Optional on all AAMVA, Magnetic and Compact barcodes.
|
|
2005
|
-
*
|
|
2006
|
-
* Bald, black, blonde, brown, gray, red/auburn, sandy, white, unknown. If the issuing
|
|
2007
|
-
* jurisdiction wishes to abbreviate colors, the three-character codes provided in ANSI D20 must be
|
|
2008
|
-
* used.
|
|
2009
|
-
*
|
|
2010
|
-
* Code Description
|
|
2011
|
-
* BAL Bald
|
|
2012
|
-
* BLK Black
|
|
2013
|
-
* BLN Blond
|
|
2014
|
-
* BRO Brown
|
|
2015
|
-
* GRY Grey
|
|
2016
|
-
* RED Red/Auburn
|
|
2017
|
-
* SDY Sandy
|
|
2018
|
-
* WHI White
|
|
2019
|
-
* UNK Unknown
|
|
2020
|
-
*/
|
|
2021
|
-
|
|
2022
|
-
/**
|
|
2023
|
-
* Mandatory on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
|
|
2024
|
-
* Optional on AAMVA 01 and Magnetic barcodes.
|
|
2025
|
-
*
|
|
2026
|
-
* Height of cardholder, either in Inches or in Centimeters.
|
|
2027
|
-
*
|
|
2028
|
-
* Inches (in): number of inches followed by " in"
|
|
2029
|
-
* example: 6'1'' = "73 in"
|
|
2030
|
-
*
|
|
2031
|
-
* Centimeters (cm): number of centimeters followed by " cm"
|
|
2032
|
-
* example: 181 centimeters = "181 cm"
|
|
2033
|
-
*/
|
|
2034
|
-
|
|
2035
|
-
/**
|
|
2036
|
-
* Mandatory on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
|
|
2037
|
-
* Optional on AAMVA 01 and Magnetic barcodes.
|
|
2038
|
-
*
|
|
2039
|
-
* Height of cardholder in Inches.
|
|
2040
|
-
* Example: 5'9'' = "69".
|
|
2041
|
-
*
|
|
2042
|
-
*/
|
|
2043
|
-
|
|
2044
|
-
/**
|
|
2045
|
-
* Mandatory on AAMVA 02, 03, 04, 05, 06, 07, 08 Compact barcodes.
|
|
2046
|
-
* Optional on AAMVA 01 and Magnetic barcodes.
|
|
2047
|
-
*
|
|
2048
|
-
* Height of cardholder in Centimeters.
|
|
2049
|
-
* Example: 180 Centimeters = "180".
|
|
2050
|
-
*/
|
|
2051
|
-
|
|
2052
|
-
/**
|
|
2053
|
-
* Mandatory on all AAMVA, Magnetic and Compact barcodes.
|
|
2054
|
-
*
|
|
2055
|
-
* This number uniquely identifies the issuing jurisdiction and can
|
|
2056
|
-
* be obtained by contacting the ISO Issuing Authority (AAMVA)
|
|
2057
|
-
*/
|
|
2058
|
-
|
|
2059
|
-
/**
|
|
2060
|
-
* Optional on all AAMVA barcodes.
|
|
2061
|
-
* Mandatory on Compact barcodes.
|
|
2062
|
-
*
|
|
2063
|
-
* Jurisdictions may define a subfile to contain jurisdiction-specific information.
|
|
2064
|
-
* These subfiles are designated with the first character of “Z” and the second
|
|
2065
|
-
* character is the first letter of the jurisdiction's name. For example, "ZC" would
|
|
2066
|
-
* be the designator for a California or Colorado jurisdiction-defined subfile, "ZQ"
|
|
2067
|
-
* would be the designator for a Quebec jurisdiction-defined subfile. In the case of
|
|
2068
|
-
* a jurisdiction-defined subfile that has a first letter that could be more than
|
|
2069
|
-
* one jurisdiction (e.g. California, Colorado, Connecticut) then other data, like
|
|
2070
|
-
* the IIN or address, must be examined to determine the jurisdiction.
|
|
2071
|
-
*
|
|
2072
|
-
*/
|
|
2073
|
-
|
|
2074
|
-
/**
|
|
2075
|
-
* Optional on all AAMVA and Magnetic barcodes.
|
|
2076
|
-
*
|
|
2077
|
-
* Name of issuing jurisdiction, for example: Alabama, Alaska ...
|
|
2078
|
-
*/
|
|
2079
|
-
|
|
2080
|
-
/**
|
|
2081
|
-
* Mandatory on all AAMVA barcodes.
|
|
2082
|
-
* Optional on Magnetic barcodes.
|
|
2083
|
-
*
|
|
2084
|
-
* Jurisdiction-specific codes that represent additional privileges
|
|
2085
|
-
* granted to the cardholder beyond the vehicle class (such as transportation of
|
|
2086
|
-
* passengers, hazardous materials, operation of motorcycles, etc.).
|
|
2087
|
-
*/
|
|
2088
|
-
|
|
2089
|
-
/**
|
|
2090
|
-
* Optional on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
|
|
2091
|
-
*
|
|
2092
|
-
* Text that explains the jurisdiction-specific code(s) that indicates additional
|
|
2093
|
-
* driving privileges granted to the cardholder beyond the vehicle class.
|
|
2094
|
-
*/
|
|
2095
|
-
|
|
2096
|
-
/**
|
|
2097
|
-
* Optional on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
|
|
2098
|
-
*
|
|
2099
|
-
* Text describing the jurisdiction-specific restriction code(s) that curtail driving privileges.
|
|
2100
|
-
*/
|
|
2101
|
-
|
|
2102
|
-
/**
|
|
2103
|
-
* Mandatory on all AAMVA barcodes.
|
|
2104
|
-
* Optional on Magnetic barcodes.
|
|
2105
|
-
*
|
|
2106
|
-
* Jurisdiction-specific codes that represent additional privileges
|
|
2107
|
-
* granted to the cardholder beyond the vehicle class (such as transportation of
|
|
2108
|
-
* passengers, hazardous materials, operation of motorcycles, etc.).
|
|
2109
|
-
*/
|
|
2110
|
-
|
|
2111
|
-
/**
|
|
2112
|
-
* Mandatory on all AAMVA and Magnetic barcodes.
|
|
2113
|
-
*
|
|
2114
|
-
* Jurisdiction-specific vehicle class / group code, designating the type
|
|
2115
|
-
* of vehicle the cardholder has privilege to drive.
|
|
2116
|
-
*/
|
|
2117
|
-
|
|
2118
|
-
/**
|
|
2119
|
-
* Optional on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
|
|
2120
|
-
*
|
|
2121
|
-
* Text that explains the jurisdiction-specific code(s) for classifications
|
|
2122
|
-
* of vehicles cardholder is authorized to drive.
|
|
2123
|
-
*/
|
|
2124
|
-
|
|
2125
|
-
/**
|
|
2126
|
-
* Mandatory on all AAMVA and Compact barcodes.
|
|
2127
|
-
* Optional on Magnetic barcodes.
|
|
2128
|
-
*
|
|
2129
|
-
* Jurisdiction Version Number: This is a decimal value between 0 and 99 that
|
|
2130
|
-
* specifies the jurisdiction version level of the PDF417 barcode format.
|
|
2131
|
-
* Notwithstanding iterations of this standard, jurisdictions implement incremental
|
|
2132
|
-
* changes to their barcodes, including new jurisdiction-specific data, compression
|
|
2133
|
-
* algorithms for digitized images, digital signatures, or new truncation
|
|
2134
|
-
* conventions used for names and addresses. Each change to the barcode format
|
|
2135
|
-
* within each AAMVA version (above) must be noted, beginning with Jurisdiction
|
|
2136
|
-
* Version 00.
|
|
2137
|
-
*/
|
|
2138
|
-
|
|
2139
|
-
/**
|
|
2140
|
-
* Optional on AAMVA 04, 05, 06, 07, 08 and Compact barcodes.
|
|
2141
|
-
*
|
|
2142
|
-
* DHS required field that indicates that the cardholder has temporary lawful status = "1".
|
|
2143
|
-
*/
|
|
2144
|
-
|
|
2145
|
-
/**
|
|
2146
|
-
* Optional on AAMVA version 01.
|
|
2147
|
-
*
|
|
2148
|
-
* Medical Indicator/Codes.
|
|
2149
|
-
* STATE SPECIFIC. Freeform, Standard "TBD"
|
|
2150
|
-
*/
|
|
2151
|
-
|
|
2152
|
-
/**
|
|
2153
|
-
* Mandatory on AAMVA 04, 05, 06, 07, 08 barcodes.
|
|
2154
|
-
*
|
|
2155
|
-
* A code that indicates whether a field has been truncated (T), has not been
|
|
2156
|
-
* truncated (N), or – unknown whether truncated (U).
|
|
2157
|
-
*/
|
|
2158
|
-
|
|
2159
|
-
/**
|
|
2160
|
-
* Optional on AAMVA 01 barcodes.
|
|
2161
|
-
*
|
|
2162
|
-
* PREFIX to Driver Name. Freeform as defined by issuing jurisdiction.
|
|
2163
|
-
*/
|
|
2164
|
-
|
|
2165
|
-
/**
|
|
2166
|
-
* Mandatory on AAMVA 02 barcodes.
|
|
2167
|
-
* Optional on AAMVA 01, 03, 04, 05, 06, 07, 08, Magnetic and Compact barcodes.
|
|
2168
|
-
*
|
|
2169
|
-
* Name Suffix (If jurisdiction participates in systems requiring name suffix (PDPS, CDLIS, etc.),
|
|
2170
|
-
* the suffix must be collected and displayed on the DL/ID and in the MRT).
|
|
2171
|
-
* - JR (Junior)
|
|
2172
|
-
* - SR (Senior)
|
|
2173
|
-
* - 1ST or I (First)
|
|
2174
|
-
* - 2ND or II (Second)
|
|
2175
|
-
* - 3RD or III (Third)
|
|
2176
|
-
* - 4TH or IV (Fourth)
|
|
2177
|
-
* - 5TH or V (Fifth)
|
|
2178
|
-
* - 6TH or VI (Sixth)
|
|
2179
|
-
* - 7TH or VII (Seventh)
|
|
2180
|
-
* - 8TH or VIII (Eighth)
|
|
2181
|
-
* - 9TH or IX (Ninth)
|
|
2182
|
-
*/
|
|
2183
|
-
|
|
2184
|
-
/**
|
|
2185
|
-
* Optional on AAMVA version 01.
|
|
2186
|
-
*
|
|
2187
|
-
* Non-Resident Indicator. "Y". Used by some jurisdictions to indicate holder of the document is a non-resident.
|
|
2188
|
-
*/
|
|
2189
|
-
|
|
2190
|
-
/**
|
|
2191
|
-
* Optional on AAMVA version 01.
|
|
2192
|
-
*
|
|
2193
|
-
* Number of duplicate cards issued for a license or ID if any.
|
|
2194
|
-
*/
|
|
2195
|
-
|
|
2196
|
-
/**
|
|
2197
|
-
* Optional on AAMVA 01, 06, 07, 08 barcodes.
|
|
2198
|
-
*
|
|
2199
|
-
* Field that indicates that the cardholder is an organ donor = "1".
|
|
2200
|
-
*/
|
|
2201
|
-
|
|
2202
|
-
/**
|
|
2203
|
-
* Optional on AAMVA version 01 barcodes.
|
|
2204
|
-
*
|
|
2205
|
-
* Driver Permit Expiration Date. MMDDCCYY format. Date permit expires.
|
|
2206
|
-
*/
|
|
2207
|
-
|
|
2208
|
-
/**
|
|
2209
|
-
* Optional on AAMVA version 01 barcodes..
|
|
2210
|
-
*
|
|
2211
|
-
* Type of permit.
|
|
2212
|
-
*/
|
|
2213
|
-
|
|
2214
|
-
/**
|
|
2215
|
-
* Optional on AAMVA version 01 barcodes..
|
|
2216
|
-
*
|
|
2217
|
-
* Driver Permit Issue Date. MMDDCCYY format. Date permit was issued.
|
|
2218
|
-
*/
|
|
2219
|
-
|
|
2220
|
-
/**
|
|
2221
|
-
* Optional on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
|
|
2222
|
-
*
|
|
2223
|
-
* Country and municipality and/or state/province.
|
|
2224
|
-
*/
|
|
2225
|
-
|
|
2226
|
-
/**
|
|
2227
|
-
* Optional on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
|
|
2228
|
-
*
|
|
2229
|
-
* Codes for race or ethnicity of the cardholder, as defined in ANSI D20.
|
|
2230
|
-
*
|
|
2231
|
-
* Race:
|
|
2232
|
-
* Code Description
|
|
2233
|
-
* AI Alaskan or American Indian (Having Origins in Any of The Original Peoples of
|
|
2234
|
-
* North America, and Maintaining Cultural Identification Through Tribal
|
|
2235
|
-
* Affiliation of Community Recognition)
|
|
2236
|
-
* AP Asian or Pacific Islander (Having Origins in Any of the Original Peoples of
|
|
2237
|
-
* the Far East, Southeast Asia, or Pacific Islands. This Includes China, India,
|
|
2238
|
-
* Japan, Korea, the Philippines Islands, and Samoa)
|
|
2239
|
-
* BK Black (Having Origins in Any of the Black Racial Groups of Africa)
|
|
2240
|
-
* W White (Having Origins in Any of The Original Peoples of Europe, North Africa,
|
|
2241
|
-
* or the Middle East)
|
|
2242
|
-
*
|
|
2243
|
-
* Ethnicity:
|
|
2244
|
-
* Code Description
|
|
2245
|
-
* H Hispanic Origin (A Person of Mexican, Puerto Rican, Cuban, Central or South
|
|
2246
|
-
* American or Other Spanish Culture or Origin, Regardless of Race)
|
|
2247
|
-
* O Not of Hispanic Origin (Any Person Other Than Hispanic)
|
|
2248
|
-
* U Unknown
|
|
2249
|
-
*/
|
|
2250
|
-
|
|
2251
|
-
/**
|
|
2252
|
-
* Optional on AAMVA version 01.
|
|
2253
|
-
*
|
|
2254
|
-
* Driver Residence City
|
|
2255
|
-
*/
|
|
2256
|
-
|
|
2257
|
-
/**
|
|
2258
|
-
* Optional on AAMVA 01 barcodes.
|
|
2259
|
-
*
|
|
2260
|
-
* Full residence address of the individual holding the Driver's License or ID.
|
|
2261
|
-
* The full address field contains up to four portions, separated with the "," delimiter:
|
|
2262
|
-
* Residence Street Address (required)
|
|
2263
|
-
* , (required if other address portions follow, otherwise optional)
|
|
2264
|
-
* Residence City (optional)
|
|
2265
|
-
* , (required if other address portions follow, otherwise optional)
|
|
2266
|
-
* Residence Jurisdiction Code (optional)
|
|
2267
|
-
* , (required if other address portions follow, otherwise optional)
|
|
2268
|
-
* Residence ZIP - Residence Postal Code (optional)
|
|
2269
|
-
*/
|
|
2270
|
-
|
|
2271
|
-
/**
|
|
2272
|
-
* Optional on AAMVA version 01.
|
|
2273
|
-
*
|
|
2274
|
-
* Driver Residence Jurisdiction Code.
|
|
2275
|
-
*/
|
|
2276
|
-
|
|
2277
|
-
/**
|
|
2278
|
-
* Optional on AAMVA 01 barcodes.
|
|
2279
|
-
*
|
|
2280
|
-
* Driver Residence Postal Code.
|
|
2281
|
-
*/
|
|
2282
|
-
|
|
2283
|
-
/**
|
|
2284
|
-
* Optional on AAMVA version 01.
|
|
2285
|
-
*
|
|
2286
|
-
* Driver Residence Street Address 1.
|
|
2287
|
-
*/
|
|
2288
|
-
|
|
2289
|
-
/**
|
|
2290
|
-
* Optional on AAMVA version 01.
|
|
2291
|
-
*
|
|
2292
|
-
* Driver Residence Street Address 2.
|
|
2293
|
-
*/
|
|
2294
|
-
|
|
2295
|
-
/**
|
|
2296
|
-
* Optional on Magnetic barcodes.
|
|
2297
|
-
*
|
|
2298
|
-
* Security version being used.
|
|
2299
|
-
*/
|
|
2300
|
-
|
|
2301
|
-
/**
|
|
2302
|
-
* Mandatory on all AAMVA, Magnetic barcodes.
|
|
2303
|
-
* Optional on Compact barcodes.
|
|
2304
|
-
*
|
|
2305
|
-
* Gender of the cardholder. 1 = male, 2 = female.
|
|
2306
|
-
*/
|
|
2307
|
-
|
|
2308
|
-
/**
|
|
2309
|
-
* Optional on AAMVA version 01.
|
|
2310
|
-
*
|
|
2311
|
-
* The number assigned to the individual by the Social Security Administration.
|
|
2312
|
-
*/
|
|
2313
|
-
|
|
2314
|
-
/**
|
|
2315
|
-
* Optional on all AAMVA barcodes.
|
|
2316
|
-
*
|
|
2317
|
-
* Standard endorsement code(s) for cardholder. See codes in D20. This data element is a
|
|
2318
|
-
* placeholder for future efforts to standardize endorsement codes.
|
|
2319
|
-
*
|
|
2320
|
-
* Code Description
|
|
2321
|
-
* H Hazardous Material - This endorsement is required for the operation of any vehicle
|
|
2322
|
-
* transporting hazardous materials requiring placarding, as defined by U.S.
|
|
2323
|
-
* Department of Transportation regulations.
|
|
2324
|
-
* L Motorcycles – Including Mopeds/Motorized Bicycles.
|
|
2325
|
-
*
|
|
2326
|
-
* N Tank - This endorsement is required for the operation of any vehicle transporting,
|
|
2327
|
-
* as its primary cargo, any liquid or gaseous material within a tank attached to the vehicle.
|
|
2328
|
-
*
|
|
2329
|
-
* O Other Jurisdiction Specific Endorsement(s) - This code indicates one or more
|
|
2330
|
-
* additional jurisdiction assigned endorsements.
|
|
2331
|
-
*
|
|
2332
|
-
* P Passenger - This endorsement is required for the operation of any vehicle used for
|
|
2333
|
-
* transportation of sixteen or more occupants, including the driver.
|
|
2334
|
-
*
|
|
2335
|
-
* S School Bus - This endorsement is required for the operation of a school bus. School bus means a
|
|
2336
|
-
* CMV used to transport pre-primary, primary, or secondary school students from home to school,
|
|
2337
|
-
* from school to home, or to and from school sponsored events. School bus does not include a
|
|
2338
|
-
* bus used as common carrier (49 CRF 383.5).
|
|
2339
|
-
*
|
|
2340
|
-
* T Doubles/Triples - This endorsement is required for the operation of any vehicle that would be
|
|
2341
|
-
* referred to as a double or triple.
|
|
2342
|
-
*
|
|
2343
|
-
* X Combined Tank/HAZ-MAT - This endorsement may be issued to any driver who qualifies for
|
|
2344
|
-
* both the N and H endorsements.
|
|
2345
|
-
*/
|
|
2346
|
-
|
|
2347
|
-
/**
|
|
2348
|
-
* Optional on all AAMVA barcodes.
|
|
2349
|
-
*
|
|
2350
|
-
* Standard restriction code(s) for cardholder. See codes in D20. This data element is a placeholder
|
|
2351
|
-
* for future efforts to standardize restriction codes.
|
|
2352
|
-
*
|
|
2353
|
-
* Code Description
|
|
2354
|
-
* B Corrective Lenses
|
|
2355
|
-
* C Mechanical Devices (Special Brakes, Hand Controls, or Other Adaptive Devices)
|
|
2356
|
-
* D Prosthetic Aid
|
|
2357
|
-
* E Automatic Transmission
|
|
2358
|
-
* F Outside Mirror
|
|
2359
|
-
* G Limit to Daylight Only
|
|
2360
|
-
* H Limit to Employment
|
|
2361
|
-
* I Limited Other
|
|
2362
|
-
* J Other
|
|
2363
|
-
* K CDL Intrastate Only
|
|
2364
|
-
* L Vehicles without air brakes
|
|
2365
|
-
* M Except Class A bus
|
|
2366
|
-
* N Except Class A and Class B bus
|
|
2367
|
-
* O Except Tractor-Trailer
|
|
2368
|
-
* V Medical Variance Documentation Required
|
|
2369
|
-
* W Farm Waiver
|
|
2370
|
-
*/
|
|
2371
|
-
|
|
2372
|
-
/**
|
|
2373
|
-
* Optional on all AAMVA barcodes.
|
|
2374
|
-
* Mandatory on Compact barcodes.
|
|
2375
|
-
*
|
|
2376
|
-
* Standard vehicle classification code(s) for cardholder. This data element is a
|
|
2377
|
-
* placeholder for future efforts to standardize vehicle classifications.
|
|
2378
|
-
*/
|
|
2379
|
-
|
|
2380
|
-
/**
|
|
2381
|
-
* Mandatory on all driver's licenses.
|
|
2382
|
-
*
|
|
2383
|
-
* AAMVA Version Number: This is a decimal value between 0 and 99 that
|
|
2384
|
-
* specifies the version level of the PDF417 bar code format. Version "0" and "00"
|
|
2385
|
-
* is reserved for bar codes printed to the specification of the American Association
|
|
2386
|
-
* of Motor Vehicle Administrators (AAMVA) prior to the adoption of the AAMVA DL/ID-2000
|
|
2387
|
-
* standard.
|
|
2388
|
-
*
|
|
2389
|
-
* - All barcodes compliant with AAMVA DL/ID-2000 standard shall be designated Version "01."
|
|
2390
|
-
* - All barcodes compliant with AAMVA Card Design Specification version 1.0, dated 09-2003
|
|
2391
|
-
* shall be designated Version "02."
|
|
2392
|
-
* - All barcodes compliant with AAMVA Card Design Specification version 2.0, dated 03-2005
|
|
2393
|
-
* shall be designated Version "03."
|
|
2394
|
-
* - All barcodes compliant with AAMVA Card Design Standard version 1.0, dated 07-2009
|
|
2395
|
-
* shall be designated Version "04."
|
|
2396
|
-
* - All barcodes compliant with AAMVA Card Design Standard version 1.0, dated 07-2010
|
|
2397
|
-
* shall be designated Version "05."
|
|
2398
|
-
* - All barcodes compliant with AAMVA Card Design Standard version 1.0, dated 07-2011
|
|
2399
|
-
* shall be designated Version "06".
|
|
2400
|
-
* - All barcodes compliant with AAMVA Card Design Standard version 1.0, dated 06-2012
|
|
2401
|
-
* shall be designated Version "07".
|
|
2402
|
-
* - All barcodes compliant with this current AAMVA standard shall be designated "08".
|
|
2403
|
-
*
|
|
2404
|
-
* Should a need arise requiring major revision to the format, this field provides the
|
|
2405
|
-
* means to accommodate additional revision.
|
|
2406
|
-
*
|
|
2407
|
-
* If the document type is not "AAMVA", this field defines the version number of the
|
|
2408
|
-
* given document type's standard.
|
|
2409
|
-
*/
|
|
2410
|
-
|
|
2411
|
-
/**
|
|
2412
|
-
* Optional on AAMVA 05, 06, 07, 08 barcodes.
|
|
2413
|
-
* Date on which the cardholder turns 18 years old. (MMDDCCYY format)
|
|
2414
|
-
*/
|
|
2415
|
-
|
|
2416
|
-
/**
|
|
2417
|
-
* Optional on AAMVA 05, 06, 07, 08 barcodes.
|
|
2418
|
-
*
|
|
2419
|
-
* Date on which the cardholder turns 19 years old. (MMDDCCYY format)
|
|
2420
|
-
*/
|
|
2421
|
-
|
|
2422
|
-
/**
|
|
2423
|
-
* Optional on AAMVA 05, 06, 07, 08 barcodes.
|
|
2424
|
-
*
|
|
2425
|
-
* Date on which the cardholder turns 21 years old. (MMDDCCYY format)
|
|
2426
|
-
*/
|
|
216
|
+
* Represents the information about the vehicle class extraction.
|
|
217
|
+
*
|
|
218
|
+
*/
|
|
2427
219
|
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
*/
|
|
220
|
+
/**
|
|
221
|
+
* Information about the dependent.
|
|
222
|
+
*
|
|
223
|
+
*/
|
|
2433
224
|
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
*/
|
|
225
|
+
/**
|
|
226
|
+
* Represents the result of the image crop transformation with additional details.
|
|
227
|
+
*
|
|
228
|
+
*/
|
|
2439
229
|
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
230
|
+
/**
|
|
231
|
+
* Represents the result of scanning a single side of the document.
|
|
232
|
+
*
|
|
233
|
+
* Contains the data extracted from the Visual Inspection Zone, Machine Readable Zone,
|
|
234
|
+
* barcode, the input image, and the cropped document, face, and signature images.
|
|
235
|
+
*/
|
|
2446
236
|
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
* Cardholder weight in pounds Example: 185 lb = "185"
|
|
2452
|
-
*/
|
|
237
|
+
/**
|
|
238
|
+
* Represents the result of the Visual Inspection Zone of a document.
|
|
239
|
+
*
|
|
240
|
+
*/
|
|
2453
241
|
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
* Indicates the approximate weight range of the cardholder:
|
|
2459
|
-
* 0 = up to 31 kg (up to 70 lbs)
|
|
2460
|
-
* 1 = 32 – 45 kg (71 – 100 lbs)
|
|
2461
|
-
* 2 = 46 - 59 kg (101 – 130 lbs)
|
|
2462
|
-
* 3 = 60 - 70 kg (131 – 160 lbs)
|
|
2463
|
-
* 4 = 71 - 86 kg (161 – 190 lbs)
|
|
2464
|
-
* 5 = 87 - 100 kg (191 – 220 lbs)
|
|
2465
|
-
* 6 = 101 - 113 kg (221 – 250 lbs)
|
|
2466
|
-
* 7 = 114 - 127 kg (251 – 280 lbs)
|
|
2467
|
-
* 8 = 128 – 145 kg (281 – 320 lbs)
|
|
2468
|
-
* 9 = 146+ kg (321+ lbs)
|
|
2469
|
-
*/
|
|
242
|
+
/**
|
|
243
|
+
* Represents the result of the MRZ recognition.
|
|
244
|
+
*
|
|
245
|
+
*/
|
|
2470
246
|
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
*
|
|
2476
|
-
* It is located immediately after the IIN and the variable metadata structure in the PDF417 barcode data structure.
|
|
2477
|
-
*
|
|
2478
|
-
*
|
|
2479
|
-
* For example: ANSI 636010090002DL00410267ZF03080067DLDAQS1234567812300000000000000 ^^ | | | +-- SubField Designator (DL, ID, EN, etc.) +----- IIN (636010)
|
|
2480
|
-
*/
|
|
247
|
+
/**
|
|
248
|
+
* Represents the data extracted from the barcode.
|
|
249
|
+
*
|
|
250
|
+
*/
|
|
2481
251
|
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
constructor(nativeBarcodeExtendedElements) {
|
|
2487
|
-
this.addressCity = nativeBarcodeExtendedElements.addressCity;
|
|
2488
|
-
this.addressJurisdictionCode = nativeBarcodeExtendedElements.addressJurisdictionCode;
|
|
2489
|
-
this.addressPostalCode = nativeBarcodeExtendedElements.addressPostalCode;
|
|
2490
|
-
this.addressStreet = nativeBarcodeExtendedElements.addressStreet;
|
|
2491
|
-
this.addressStreet2 = nativeBarcodeExtendedElements.addressStreet2;
|
|
2492
|
-
this.akaDateOfBirth = nativeBarcodeExtendedElements.akaDateOfBirth;
|
|
2493
|
-
this.akaFamilyName = nativeBarcodeExtendedElements.akaFamilyName;
|
|
2494
|
-
this.akaFullName = nativeBarcodeExtendedElements.akaFullName;
|
|
2495
|
-
this.akaGivenName = nativeBarcodeExtendedElements.akaGivenName;
|
|
2496
|
-
this.akaMiddleName = nativeBarcodeExtendedElements.akaMiddleName;
|
|
2497
|
-
this.akaPrefixName = nativeBarcodeExtendedElements.akaPrefixName;
|
|
2498
|
-
this.akaSocialSecurityNumber = nativeBarcodeExtendedElements.akaSocialSecurityNumber;
|
|
2499
|
-
this.akaSuffixName = nativeBarcodeExtendedElements.akaSuffixName;
|
|
2500
|
-
this.auditInformation = nativeBarcodeExtendedElements.auditInformation;
|
|
2501
|
-
this.cardRevisionDate = nativeBarcodeExtendedElements.cardRevisionDate;
|
|
2502
|
-
this.complianceType = nativeBarcodeExtendedElements.complianceType;
|
|
2503
|
-
this.countryIdentification = nativeBarcodeExtendedElements.countryIdentification;
|
|
2504
|
-
this.customerFamilyName = nativeBarcodeExtendedElements.customerFamilyName;
|
|
2505
|
-
this.customerIdNumber = nativeBarcodeExtendedElements.customerIdNumber;
|
|
2506
|
-
this.customerFirstName = nativeBarcodeExtendedElements.customerFirstName;
|
|
2507
|
-
this.customerFullName = nativeBarcodeExtendedElements.customerFullName;
|
|
2508
|
-
this.customerMiddleName = nativeBarcodeExtendedElements.customerMiddleName;
|
|
2509
|
-
this.dataDiscriminator = nativeBarcodeExtendedElements.dataDiscriminator;
|
|
2510
|
-
this.dateOfBirth = nativeBarcodeExtendedElements.dateOfBirth;
|
|
2511
|
-
this.documentDiscriminator = nativeBarcodeExtendedElements.documentDiscriminator;
|
|
2512
|
-
this.documentExpirationDate = nativeBarcodeExtendedElements.documentExpirationDate;
|
|
2513
|
-
this.documentExpirationMonth = nativeBarcodeExtendedElements.documentExpirationMonth;
|
|
2514
|
-
this.documentIssueDate = nativeBarcodeExtendedElements.documentIssueDate;
|
|
2515
|
-
this.documentNonexpiring = nativeBarcodeExtendedElements.documentNonexpiring;
|
|
2516
|
-
this.documentType = nativeBarcodeExtendedElements.documentType;
|
|
2517
|
-
this.eyeColor = nativeBarcodeExtendedElements.eyeColor;
|
|
2518
|
-
this.familyNameTruncation = nativeBarcodeExtendedElements.familyNameTruncation;
|
|
2519
|
-
this.federalCommercialVehicleCodes = nativeBarcodeExtendedElements.federalCommercialVehicleCodes;
|
|
2520
|
-
this.firstNameTruncation = nativeBarcodeExtendedElements.firstNameTruncation;
|
|
2521
|
-
this.fullAddress = nativeBarcodeExtendedElements.fullAddress;
|
|
2522
|
-
this.hairColor = nativeBarcodeExtendedElements.hairColor;
|
|
2523
|
-
this.height = nativeBarcodeExtendedElements.height;
|
|
2524
|
-
this.heightIn = nativeBarcodeExtendedElements.heightIn;
|
|
2525
|
-
this.heightCm = nativeBarcodeExtendedElements.heightCm;
|
|
2526
|
-
this.issuerIdentificationNumber = nativeBarcodeExtendedElements.issuerIdentificationNumber;
|
|
2527
|
-
this.issuingJurisdiction = nativeBarcodeExtendedElements.issuingJurisdiction;
|
|
2528
|
-
this.issuingJurisdictionName = nativeBarcodeExtendedElements.issuingJurisdictionName;
|
|
2529
|
-
this.jurisdictionEndorsementCodes = nativeBarcodeExtendedElements.jurisdictionEndorsementCodes;
|
|
2530
|
-
this.jurisdictionEndorsmentCodeDescription = nativeBarcodeExtendedElements.jurisdictionEndorsmentCodeDescription;
|
|
2531
|
-
this.jurisdictionRestrictionCodeDescription = nativeBarcodeExtendedElements.jurisdictionRestrictionCodeDescription;
|
|
2532
|
-
this.jurisdictionRestrictionCodes = nativeBarcodeExtendedElements.jurisdictionRestrictionCodes;
|
|
2533
|
-
this.jurisdictionVehicleClass = nativeBarcodeExtendedElements.jurisdictionVehicleClass;
|
|
2534
|
-
this.jurisdictionVehicleClassificationDescription = nativeBarcodeExtendedElements.jurisdictionVehicleClassificationDescription;
|
|
2535
|
-
this.jurisdictionVersionNumber = nativeBarcodeExtendedElements.jurisdictionVersionNumber;
|
|
2536
|
-
this.limitedDurationDocument = nativeBarcodeExtendedElements.limitedDurationDocument;
|
|
2537
|
-
this.medicalIndicator = nativeBarcodeExtendedElements.medicalIndicator;
|
|
2538
|
-
this.middleNameTruncation = nativeBarcodeExtendedElements.middleNameTruncation;
|
|
2539
|
-
this.namePrefix = nativeBarcodeExtendedElements.namePrefix;
|
|
2540
|
-
this.nameSuffix = nativeBarcodeExtendedElements.nameSuffix;
|
|
2541
|
-
this.nonResident = nativeBarcodeExtendedElements.nonResident;
|
|
2542
|
-
this.numberOfDuplicates = nativeBarcodeExtendedElements.numberOfDuplicates;
|
|
2543
|
-
this.organDonor = nativeBarcodeExtendedElements.organDonor;
|
|
2544
|
-
this.permitExpirationDate = nativeBarcodeExtendedElements.permitExpirationDate;
|
|
2545
|
-
this.permitIdentifier = nativeBarcodeExtendedElements.permitIdentifier;
|
|
2546
|
-
this.permitIssueDate = nativeBarcodeExtendedElements.permitIssueDate;
|
|
2547
|
-
this.placeOfBirth = nativeBarcodeExtendedElements.placeOfBirth;
|
|
2548
|
-
this.raceEthnicity = nativeBarcodeExtendedElements.raceEthnicity;
|
|
2549
|
-
this.residenceCity = nativeBarcodeExtendedElements.residenceCity;
|
|
2550
|
-
this.residenceFullAddress = nativeBarcodeExtendedElements.residenceFullAddress;
|
|
2551
|
-
this.residenceJurisdictionCode = nativeBarcodeExtendedElements.residenceJurisdictionCode;
|
|
2552
|
-
this.residencePostalCode = nativeBarcodeExtendedElements.residencePostalCode;
|
|
2553
|
-
this.residenceStreetAddress = nativeBarcodeExtendedElements.residenceStreetAddress;
|
|
2554
|
-
this.residenceStreetAddress2 = nativeBarcodeExtendedElements.residenceStreetAddress2;
|
|
2555
|
-
this.securityVersion = nativeBarcodeExtendedElements.securityVersion;
|
|
2556
|
-
this.sex = nativeBarcodeExtendedElements.sex;
|
|
2557
|
-
this.socialSecurityNumber = nativeBarcodeExtendedElements.socialSecurityNumber;
|
|
2558
|
-
this.standardEndorsementCode = nativeBarcodeExtendedElements.standardEndorsementCode;
|
|
2559
|
-
this.standardRestrictionCode = nativeBarcodeExtendedElements.standardRestrictionCode;
|
|
2560
|
-
this.standardVehicleClassification = nativeBarcodeExtendedElements.standardVehicleClassification;
|
|
2561
|
-
this.standardVersionNumber = nativeBarcodeExtendedElements.standardVersionNumber;
|
|
2562
|
-
this.under18 = nativeBarcodeExtendedElements.under18;
|
|
2563
|
-
this.under19 = nativeBarcodeExtendedElements.under19;
|
|
2564
|
-
this.under21 = nativeBarcodeExtendedElements.under21;
|
|
2565
|
-
this.uniqueCustomerId = nativeBarcodeExtendedElements.uniqueCustomerId;
|
|
2566
|
-
this.veteran = nativeBarcodeExtendedElements.veteran;
|
|
2567
|
-
this.weightKilograms = nativeBarcodeExtendedElements.weightKilograms;
|
|
2568
|
-
this.weightPounds = nativeBarcodeExtendedElements.weightPounds;
|
|
2569
|
-
this.weightRange = nativeBarcodeExtendedElements.weightRange;
|
|
2570
|
-
this.subFieldDesignator = nativeBarcodeExtendedElements.subFieldDesignator;
|
|
2571
|
-
}
|
|
2572
|
-
}
|
|
252
|
+
/**
|
|
253
|
+
* Represents the raw, unparsed data extracted from a scanned barcode.
|
|
254
|
+
*
|
|
255
|
+
*/
|
|
2573
256
|
|
|
2574
257
|
/**
|
|
2575
|
-
*
|
|
258
|
+
* Detailed information about the address.
|
|
259
|
+
*
|
|
2576
260
|
*/
|
|
2577
|
-
export class ParentInfo {
|
|
2578
|
-
/**
|
|
2579
|
-
* The first name of one of the document owner's parents.
|
|
2580
|
-
*/
|
|
2581
261
|
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
262
|
+
/**
|
|
263
|
+
* Represents the fields present in the barcode.
|
|
264
|
+
* Currently this is only used for AAMVACompliant documents.
|
|
265
|
+
*/
|
|
2585
266
|
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
}
|
|
2590
|
-
}
|
|
267
|
+
/**
|
|
268
|
+
* The results of parents info.
|
|
269
|
+
*/
|
|
2591
270
|
|
|
2592
271
|
/**
|
|
2593
272
|
* Represents the mode of document scanning.
|
|
@@ -2595,48 +274,11 @@ export class ParentInfo {
|
|
|
2595
274
|
* This enum class defines whether the scanning process is limited to a single
|
|
2596
275
|
* side of the document or includes multiple sides, automatically identifying how many sides need to be scanned.
|
|
2597
276
|
*/
|
|
2598
|
-
export let ScanningMode = /*#__PURE__*/function (ScanningMode) {
|
|
2599
|
-
/**
|
|
2600
|
-
* Specifies the scanning process to be for single side only.
|
|
2601
|
-
*
|
|
2602
|
-
*/
|
|
2603
|
-
ScanningMode[ScanningMode["Single"] = 0] = "Single";
|
|
2604
|
-
/**
|
|
2605
|
-
* The default `ScanningMode`.
|
|
2606
|
-
*
|
|
2607
|
-
* Automatically determines the number of sides to scan.
|
|
2608
|
-
*/
|
|
2609
|
-
ScanningMode[ScanningMode["Automatic"] = 1] = "Automatic";
|
|
2610
|
-
return ScanningMode;
|
|
2611
|
-
}({});
|
|
2612
277
|
|
|
2613
278
|
/**
|
|
2614
279
|
* Represents the type of the alphabet used in the document.
|
|
2615
280
|
*
|
|
2616
281
|
*/
|
|
2617
|
-
export let AlphabetType = /*#__PURE__*/function (AlphabetType) {
|
|
2618
|
-
/**
|
|
2619
|
-
* The Latin alphabet type
|
|
2620
|
-
*
|
|
2621
|
-
*/
|
|
2622
|
-
AlphabetType["Latin"] = "latin";
|
|
2623
|
-
/**
|
|
2624
|
-
* The Arabic alphabet type
|
|
2625
|
-
*
|
|
2626
|
-
*/
|
|
2627
|
-
AlphabetType["Arabic"] = "arabic";
|
|
2628
|
-
/**
|
|
2629
|
-
* The Cyrillic alphabet type
|
|
2630
|
-
*
|
|
2631
|
-
*/
|
|
2632
|
-
AlphabetType["Cyrillic"] = "cyrillic";
|
|
2633
|
-
/**
|
|
2634
|
-
* The Greek alphabet type
|
|
2635
|
-
*
|
|
2636
|
-
*/
|
|
2637
|
-
AlphabetType["Greek"] = "greek";
|
|
2638
|
-
return AlphabetType;
|
|
2639
|
-
}({});
|
|
2640
282
|
|
|
2641
283
|
/**
|
|
2642
284
|
* Represents the different levels of detection sensitivity.
|
|
@@ -2647,933 +289,633 @@ export let AlphabetType = /*#__PURE__*/function (AlphabetType) {
|
|
|
2647
289
|
* The levels range from turning detection
|
|
2648
290
|
* off completely to setting various levels of sensitivity (`Low`, `Mid`, `High`).
|
|
2649
291
|
*/
|
|
2650
|
-
export let DetectionLevel = /*#__PURE__*/function (DetectionLevel) {
|
|
2651
|
-
/**
|
|
2652
|
-
* Disables the `DetectionLevel`
|
|
2653
|
-
*
|
|
2654
|
-
*/
|
|
2655
|
-
DetectionLevel[DetectionLevel["Off"] = 0] = "Off";
|
|
2656
|
-
/**
|
|
2657
|
-
* Sets the `DetectionLevel` to be less sensitive.
|
|
2658
|
-
*
|
|
2659
|
-
*/
|
|
2660
|
-
DetectionLevel[DetectionLevel["Low"] = 1] = "Low";
|
|
2661
|
-
/**
|
|
2662
|
-
* The default `DetectionLevel` sensitivity.
|
|
2663
|
-
*
|
|
2664
|
-
*/
|
|
2665
|
-
DetectionLevel[DetectionLevel["Mid"] = 2] = "Mid";
|
|
2666
|
-
/**
|
|
2667
|
-
* Sets the `DetectionLevel` to be highly sensitive.
|
|
2668
|
-
*
|
|
2669
|
-
*/
|
|
2670
|
-
DetectionLevel[DetectionLevel["High"] = 3] = "High";
|
|
2671
|
-
return DetectionLevel;
|
|
2672
|
-
}({});
|
|
2673
292
|
|
|
2674
293
|
/**
|
|
2675
294
|
* Represents level of anonymization performed on the scanning result.
|
|
2676
295
|
*
|
|
2677
296
|
*/
|
|
2678
|
-
export let AnonymizationMode = /*#__PURE__*/function (AnonymizationMode) {
|
|
2679
|
-
/**
|
|
2680
|
-
* Anonymization will not be performed.
|
|
2681
|
-
*
|
|
2682
|
-
*/
|
|
2683
|
-
AnonymizationMode["None"] = "none";
|
|
2684
|
-
/**
|
|
2685
|
-
* Full document image is anonymized with black boxes covering sensitive data.
|
|
2686
|
-
*
|
|
2687
|
-
*/
|
|
2688
|
-
AnonymizationMode["ImageOnly"] = "imageOnly";
|
|
2689
|
-
/**
|
|
2690
|
-
* Result fields containing sensitive data are removed from result.
|
|
2691
|
-
*
|
|
2692
|
-
*/
|
|
2693
|
-
AnonymizationMode["ResultFieldsOnly"] = "resultFieldsOnly";
|
|
2694
|
-
/**
|
|
2695
|
-
* This mode is combination of `imageOnly` and `resultFieldsOnly` modes.
|
|
2696
|
-
*
|
|
2697
|
-
*/
|
|
2698
|
-
AnonymizationMode["FullResult"] = "fullResult";
|
|
2699
|
-
return AnonymizationMode;
|
|
2700
|
-
}({});
|
|
2701
|
-
|
|
2702
|
-
/**
|
|
2703
|
-
* Represents possible recognition modes.
|
|
2704
|
-
*
|
|
2705
|
-
*/
|
|
2706
|
-
export let RecognitionMode = /*#__PURE__*/function (RecognitionMode) {
|
|
2707
|
-
/**
|
|
2708
|
-
* No recognition performed.
|
|
2709
|
-
*
|
|
2710
|
-
*/
|
|
2711
|
-
RecognitionMode["None"] = "none";
|
|
2712
|
-
/**
|
|
2713
|
-
* Recognition of mrz document (does not include visa and passport).
|
|
2714
|
-
*
|
|
2715
|
-
*/
|
|
2716
|
-
RecognitionMode["MrzId"] = "mrzId";
|
|
2717
|
-
/**
|
|
2718
|
-
* Recognition of visa mrz.
|
|
2719
|
-
*
|
|
2720
|
-
*/
|
|
2721
|
-
RecognitionMode["MrzVisa"] = "mrzVisa";
|
|
2722
|
-
/**
|
|
2723
|
-
* Recognition of passport mrz.
|
|
2724
|
-
*
|
|
2725
|
-
*/
|
|
2726
|
-
RecognitionMode["MrzPassport"] = "mrzPassport";
|
|
2727
|
-
/*
|
|
2728
|
-
* Recognition of documents that have face photo on the front.
|
|
2729
|
-
*
|
|
2730
|
-
*/
|
|
2731
|
-
RecognitionMode["PhotoId"] = "photoId";
|
|
2732
|
-
/**
|
|
2733
|
-
* Detailed document recognition.
|
|
2734
|
-
*
|
|
2735
|
-
*/
|
|
2736
|
-
RecognitionMode["FullRecognition"] = "fullRecognition";
|
|
2737
|
-
/**
|
|
2738
|
-
* Recognition of barcode document.
|
|
2739
|
-
*
|
|
2740
|
-
*/
|
|
2741
|
-
RecognitionMode["BarcodeId"] = "barcodeId";
|
|
2742
|
-
return RecognitionMode;
|
|
2743
|
-
}({});
|
|
2744
|
-
|
|
2745
|
-
/**
|
|
2746
|
-
* Define document side where the document field is located.
|
|
2747
|
-
*
|
|
2748
|
-
*/
|
|
2749
|
-
export let DocumentSide = /*#__PURE__*/function (DocumentSide) {
|
|
2750
|
-
/**
|
|
2751
|
-
* The field is located on the front side of the document
|
|
2752
|
-
*
|
|
2753
|
-
*/
|
|
2754
|
-
DocumentSide[DocumentSide["Front"] = 0] = "Front";
|
|
2755
|
-
/**
|
|
2756
|
-
* The field is located on the back side of the document
|
|
2757
|
-
*
|
|
2758
|
-
*/
|
|
2759
|
-
DocumentSide[DocumentSide["Back"] = 1] = "Back";
|
|
2760
|
-
return DocumentSide;
|
|
2761
|
-
}({});
|
|
2762
297
|
|
|
2763
298
|
/**
|
|
2764
299
|
* Represents the type of scanned barcode
|
|
2765
300
|
*
|
|
2766
301
|
*/
|
|
2767
|
-
export let BarcodeType = /*#__PURE__*/function (BarcodeType) {
|
|
2768
|
-
/**
|
|
2769
|
-
* No barcode was scanned
|
|
2770
|
-
*
|
|
2771
|
-
*/
|
|
2772
|
-
BarcodeType[BarcodeType["None"] = 0] = "None";
|
|
2773
|
-
/**
|
|
2774
|
-
* QR code was scanned
|
|
2775
|
-
*
|
|
2776
|
-
*/
|
|
2777
|
-
BarcodeType[BarcodeType["QrCode"] = 1] = "QrCode";
|
|
2778
|
-
/**
|
|
2779
|
-
* Data Matrix 2D barcode was scanned
|
|
2780
|
-
*
|
|
2781
|
-
*/
|
|
2782
|
-
BarcodeType[BarcodeType["DataMatrix"] = 2] = "DataMatrix";
|
|
2783
|
-
/**
|
|
2784
|
-
* UPC E barcode was scanned
|
|
2785
|
-
*
|
|
2786
|
-
*/
|
|
2787
|
-
BarcodeType[BarcodeType["Upce"] = 3] = "Upce";
|
|
2788
|
-
/**
|
|
2789
|
-
* UPC A barcode was scanned
|
|
2790
|
-
*
|
|
2791
|
-
*/
|
|
2792
|
-
BarcodeType[BarcodeType["Upca"] = 4] = "Upca";
|
|
2793
|
-
/**
|
|
2794
|
-
* EAN 8 barcode was scanned
|
|
2795
|
-
*
|
|
2796
|
-
*/
|
|
2797
|
-
BarcodeType[BarcodeType["Ean8"] = 5] = "Ean8";
|
|
2798
|
-
/**
|
|
2799
|
-
* EAN 13 barcode was scanned
|
|
2800
|
-
*
|
|
2801
|
-
*/
|
|
2802
|
-
BarcodeType[BarcodeType["Ean13"] = 6] = "Ean13";
|
|
2803
|
-
/**
|
|
2804
|
-
* Code 128 barcode was scanned
|
|
2805
|
-
*
|
|
2806
|
-
*/
|
|
2807
|
-
BarcodeType[BarcodeType["Code128"] = 7] = "Code128";
|
|
2808
|
-
/**
|
|
2809
|
-
* Code 39 barcode was scanned
|
|
2810
|
-
*
|
|
2811
|
-
*/
|
|
2812
|
-
BarcodeType[BarcodeType["Code39"] = 8] = "Code39";
|
|
2813
|
-
/**
|
|
2814
|
-
* ITF barcode was scanned
|
|
2815
|
-
*
|
|
2816
|
-
*/
|
|
2817
|
-
BarcodeType[BarcodeType["Itf"] = 9] = "Itf";
|
|
2818
|
-
/**
|
|
2819
|
-
* Aztec 2D barcode was scanned
|
|
2820
|
-
*
|
|
2821
|
-
*/
|
|
2822
|
-
BarcodeType[BarcodeType["Aztec"] = 10] = "Aztec";
|
|
2823
|
-
/**
|
|
2824
|
-
* PDF417 2D barcode was scanned
|
|
2825
|
-
*
|
|
2826
|
-
*/
|
|
2827
|
-
BarcodeType[BarcodeType["Pdf417"] = 11] = "Pdf417";
|
|
2828
|
-
return BarcodeType;
|
|
2829
|
-
}({});
|
|
2830
302
|
|
|
2831
303
|
/**
|
|
2832
304
|
* Represents the document type found on the Machine Readable Zone
|
|
2833
305
|
*
|
|
2834
306
|
*/
|
|
2835
|
-
export let MRZDocumentType = /*#__PURE__*/function (MRZDocumentType) {
|
|
2836
|
-
/**
|
|
2837
|
-
* Document type was not identified.
|
|
2838
|
-
*
|
|
2839
|
-
*/
|
|
2840
|
-
MRZDocumentType[MRZDocumentType["Unknown"] = 0] = "Unknown";
|
|
2841
|
-
/**
|
|
2842
|
-
* Identity card
|
|
2843
|
-
*
|
|
2844
|
-
*/
|
|
2845
|
-
MRZDocumentType[MRZDocumentType["IdentityCard"] = 1] = "IdentityCard";
|
|
2846
|
-
/**
|
|
2847
|
-
* Passport
|
|
2848
|
-
*
|
|
2849
|
-
*/
|
|
2850
|
-
MRZDocumentType[MRZDocumentType["Passport"] = 2] = "Passport";
|
|
2851
|
-
/**
|
|
2852
|
-
* VISA
|
|
2853
|
-
*
|
|
2854
|
-
*/
|
|
2855
|
-
MRZDocumentType[MRZDocumentType["Visa"] = 3] = "Visa";
|
|
2856
|
-
/**
|
|
2857
|
-
* Green card
|
|
2858
|
-
*
|
|
2859
|
-
*/
|
|
2860
|
-
MRZDocumentType[MRZDocumentType["GreenCard"] = 4] = "GreenCard";
|
|
2861
|
-
/**
|
|
2862
|
-
* IIM13P Pass
|
|
2863
|
-
*
|
|
2864
|
-
*/
|
|
2865
|
-
MRZDocumentType[MRZDocumentType["MysPassIMM13P"] = 5] = "MysPassIMM13P";
|
|
2866
|
-
/**
|
|
2867
|
-
* Driver license
|
|
2868
|
-
*
|
|
2869
|
-
*/
|
|
2870
|
-
MRZDocumentType[MRZDocumentType["DriverLicense"] = 6] = "DriverLicense";
|
|
2871
|
-
/**
|
|
2872
|
-
* Internal travel document
|
|
2873
|
-
*
|
|
2874
|
-
*/
|
|
2875
|
-
MRZDocumentType[MRZDocumentType["InternalTravelDocument"] = 7] = "InternalTravelDocument";
|
|
2876
|
-
/**
|
|
2877
|
-
* Border crossing card
|
|
2878
|
-
*
|
|
2879
|
-
*/
|
|
2880
|
-
MRZDocumentType[MRZDocumentType["BorderCrossingCard"] = 8] = "BorderCrossingCard";
|
|
2881
|
-
return MRZDocumentType;
|
|
2882
|
-
}({});
|
|
2883
307
|
|
|
2884
308
|
/**
|
|
2885
309
|
* Represents the side of the document being scanned.
|
|
2886
310
|
*
|
|
2887
311
|
*/
|
|
2888
|
-
|
|
2889
|
-
/**
|
|
2890
|
-
* The first side of the scanned document
|
|
2891
|
-
*
|
|
2892
|
-
*/
|
|
2893
|
-
ScanningSide[ScanningSide["First"] = 0] = "First";
|
|
2894
|
-
/**
|
|
2895
|
-
* The second side of the scanned document
|
|
2896
|
-
*
|
|
2897
|
-
*/
|
|
2898
|
-
ScanningSide[ScanningSide["Second"] = 1] = "Second";
|
|
2899
|
-
return ScanningSide;
|
|
2900
|
-
}(ScanningSide || {});
|
|
312
|
+
|
|
2901
313
|
/**
|
|
2902
314
|
* Represents the type of the field used in data match.
|
|
2903
315
|
*
|
|
2904
316
|
*/
|
|
2905
|
-
export let DataMatchField = /*#__PURE__*/function (DataMatchField) {
|
|
2906
|
-
/**
|
|
2907
|
-
* The date of birth field.
|
|
2908
|
-
*
|
|
2909
|
-
*/
|
|
2910
|
-
DataMatchField[DataMatchField["DateOfBirth"] = 0] = "DateOfBirth";
|
|
2911
|
-
/**
|
|
2912
|
-
* The date of expiry field.
|
|
2913
|
-
*
|
|
2914
|
-
*/
|
|
2915
|
-
DataMatchField[DataMatchField["DateOfExpiry"] = 1] = "DateOfExpiry";
|
|
2916
|
-
/**
|
|
2917
|
-
* The document number field.
|
|
2918
|
-
*
|
|
2919
|
-
*/
|
|
2920
|
-
DataMatchField[DataMatchField["DocumentNumber"] = 2] = "DocumentNumber";
|
|
2921
|
-
/**
|
|
2922
|
-
* The document additional number field.
|
|
2923
|
-
*
|
|
2924
|
-
*/
|
|
2925
|
-
DataMatchField[DataMatchField["DocumentAdditionalNumber"] = 3] = "DocumentAdditionalNumber";
|
|
2926
|
-
/**
|
|
2927
|
-
* The document optional additional number field.
|
|
2928
|
-
*
|
|
2929
|
-
*/
|
|
2930
|
-
DataMatchField[DataMatchField["DocumentOptionalAdditionalNumber"] = 4] = "DocumentOptionalAdditionalNumber";
|
|
2931
|
-
/**
|
|
2932
|
-
* The personal ID number field.
|
|
2933
|
-
*
|
|
2934
|
-
*/
|
|
2935
|
-
DataMatchField[DataMatchField["PersonalIdNumber"] = 5] = "PersonalIdNumber";
|
|
2936
|
-
return DataMatchField;
|
|
2937
|
-
}({});
|
|
2938
317
|
|
|
2939
318
|
/**
|
|
2940
319
|
* Represents the state of the data match.
|
|
2941
320
|
*
|
|
2942
321
|
*/
|
|
2943
|
-
export let DataMatchState = /*#__PURE__*/function (DataMatchState) {
|
|
2944
|
-
/**
|
|
2945
|
-
* Data matching has not been performed.
|
|
2946
|
-
*
|
|
2947
|
-
*/
|
|
2948
|
-
DataMatchState[DataMatchState["NotPerformed"] = 0] = "NotPerformed";
|
|
2949
|
-
/**
|
|
2950
|
-
* Data does not match.
|
|
2951
|
-
*
|
|
2952
|
-
*/
|
|
2953
|
-
DataMatchState[DataMatchState["Failed"] = 1] = "Failed";
|
|
2954
|
-
/**
|
|
2955
|
-
* Data does match.
|
|
2956
|
-
*
|
|
2957
|
-
*/
|
|
2958
|
-
DataMatchState[DataMatchState["Success"] = 2] = "Success";
|
|
2959
|
-
return DataMatchState;
|
|
2960
|
-
}({});
|
|
2961
322
|
|
|
2962
323
|
/**
|
|
2963
324
|
* Document country.
|
|
2964
325
|
*
|
|
2965
326
|
*/
|
|
2966
|
-
export
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
}({});
|
|
327
|
+
export const CountryID = {
|
|
328
|
+
None: "none",
|
|
329
|
+
Albania: "albania",
|
|
330
|
+
Algeria: "algeria",
|
|
331
|
+
Argentina: "argentina",
|
|
332
|
+
Australia: "australia",
|
|
333
|
+
Austria: "austria",
|
|
334
|
+
Azerbaijan: "azerbaijan",
|
|
335
|
+
Bahrain: "bahrain",
|
|
336
|
+
Bangladesh: "bangladesh",
|
|
337
|
+
Belgium: "belgium",
|
|
338
|
+
BosniaAndHerzegovina: "bosniaAndHerzegovina",
|
|
339
|
+
Brunei: "brunei",
|
|
340
|
+
Bulgaria: "bulgaria",
|
|
341
|
+
Bambodia: "bambodia",
|
|
342
|
+
Canada: "canada",
|
|
343
|
+
Chile: "chile",
|
|
344
|
+
Colombia: "colombia",
|
|
345
|
+
CostaRica: "costaRica",
|
|
346
|
+
Croatia: "croatia",
|
|
347
|
+
Cyprus: "cyprus",
|
|
348
|
+
Czechia: "czechia",
|
|
349
|
+
Denmark: "denmark",
|
|
350
|
+
DominicanRepublic: "dominicanRepublic",
|
|
351
|
+
Egypt: "egypt",
|
|
352
|
+
Estonia: "estonia",
|
|
353
|
+
Finland: "finland",
|
|
354
|
+
France: "france",
|
|
355
|
+
Georgia: "georgia",
|
|
356
|
+
Germany: "germany",
|
|
357
|
+
Ghana: "ghana",
|
|
358
|
+
Greece: "greece",
|
|
359
|
+
Guatemala: "guatemala",
|
|
360
|
+
HongKong: "hongKong",
|
|
361
|
+
Hungary: "hungary",
|
|
362
|
+
India: "india",
|
|
363
|
+
Indonesia: "indonesia",
|
|
364
|
+
Ireland: "ireland",
|
|
365
|
+
Israel: "israel",
|
|
366
|
+
Italy: "italy",
|
|
367
|
+
Jordan: "jordan",
|
|
368
|
+
Kazakhstan: "kazakhstan",
|
|
369
|
+
Kenya: "kenya",
|
|
370
|
+
Kosovo: "kosovo",
|
|
371
|
+
Kuwait: "kuwait",
|
|
372
|
+
Latvia: "latvia",
|
|
373
|
+
Lithuania: "lithuania",
|
|
374
|
+
Malaysia: "malaysia",
|
|
375
|
+
Maldives: "maldives",
|
|
376
|
+
Malta: "malta",
|
|
377
|
+
Mauritius: "mauritius",
|
|
378
|
+
Mexico: "mexico",
|
|
379
|
+
Morocco: "morocco",
|
|
380
|
+
Netherlands: "netherlands",
|
|
381
|
+
NewZealand: "newZealand",
|
|
382
|
+
Nigeria: "nigeria",
|
|
383
|
+
Pakistan: "pakistan",
|
|
384
|
+
Panama: "panama",
|
|
385
|
+
Paraguay: "paraguay",
|
|
386
|
+
Philippines: "philippines",
|
|
387
|
+
Poland: "poland",
|
|
388
|
+
Portugal: "portugal",
|
|
389
|
+
PuertoRico: "puertoRico",
|
|
390
|
+
Qatar: "qatar",
|
|
391
|
+
Romania: "romania",
|
|
392
|
+
Russia: "russia",
|
|
393
|
+
SaudiArabia: "saudiArabia",
|
|
394
|
+
Serbia: "serbia",
|
|
395
|
+
Singapore: "singapore",
|
|
396
|
+
Slovakia: "slovakia",
|
|
397
|
+
Slovenia: "slovenia",
|
|
398
|
+
SouthAfrica: "southAfrica",
|
|
399
|
+
Spain: "spain",
|
|
400
|
+
Sweden: "sweden",
|
|
401
|
+
Switzerland: "switzerland",
|
|
402
|
+
Taiwan: "taiwan",
|
|
403
|
+
Thailand: "thailand",
|
|
404
|
+
Tunisia: "tunisia",
|
|
405
|
+
Turkey: "turkey",
|
|
406
|
+
UAE: "uae",
|
|
407
|
+
Ganda: "gganda",
|
|
408
|
+
UK: "uk",
|
|
409
|
+
Ukraine: "ukraine",
|
|
410
|
+
USA: "usa",
|
|
411
|
+
Vietnam: "vietnam",
|
|
412
|
+
Brazil: "brazil",
|
|
413
|
+
Norway: "norway",
|
|
414
|
+
Oman: "oman",
|
|
415
|
+
Ecuador: "ecuador",
|
|
416
|
+
ElSalvador: "elSalvador",
|
|
417
|
+
SriLanka: "sriLanka",
|
|
418
|
+
Peru: "peru",
|
|
419
|
+
Uruguay: "uruguay",
|
|
420
|
+
Bahamas: "bahamas",
|
|
421
|
+
Bermuda: "bermuda",
|
|
422
|
+
Bolivia: "bolivia",
|
|
423
|
+
China: "china",
|
|
424
|
+
EuropeanUnion: "europeanUnion",
|
|
425
|
+
Haiti: "haiti",
|
|
426
|
+
Honduras: "honduras",
|
|
427
|
+
Iceland: "iceland",
|
|
428
|
+
Japan: "japan",
|
|
429
|
+
Luxembourg: "luxembourg",
|
|
430
|
+
Montenegro: "montenegro",
|
|
431
|
+
Nicaragua: "nicaragua",
|
|
432
|
+
SouthKorea: "southKorea",
|
|
433
|
+
Venezuela: "venezuela",
|
|
434
|
+
Afghanistan: "afghanistan",
|
|
435
|
+
AlandIslands: "alandIslands",
|
|
436
|
+
AmericanSamoa: "americanSamoa",
|
|
437
|
+
Andorra: "andorra",
|
|
438
|
+
Angola: "angola",
|
|
439
|
+
Anguilla: "anguilla",
|
|
440
|
+
Antartica: "antarctica",
|
|
441
|
+
AntiguaAndBarbuda: "antiguaAndBarbuda",
|
|
442
|
+
Armenia: "armenia",
|
|
443
|
+
Aruba: "aruba",
|
|
444
|
+
BailiwickOfGuernsey: "bailiwickOfGuernsey",
|
|
445
|
+
BailiwickOfJersey: "bailiwickOfJersey",
|
|
446
|
+
Barbados: "barbados",
|
|
447
|
+
Belarus: "belarus",
|
|
448
|
+
Belize: "belize",
|
|
449
|
+
Benin: "benin",
|
|
450
|
+
Bhutan: "bhutan",
|
|
451
|
+
BonaireSaintEustatiusAndSaba: "bonaireSaintEustatiusAndSaba",
|
|
452
|
+
Botswana: "botswana",
|
|
453
|
+
BouvetIsland: "bouvetIsland",
|
|
454
|
+
BritishIndianOceanTerritory: "britishIndianOceanTerritory",
|
|
455
|
+
BurkinaFaso: "burkinaFaso",
|
|
456
|
+
Burundi: "burundi",
|
|
457
|
+
Cameroon: "cameroon",
|
|
458
|
+
CapeVerde: "capeVerde",
|
|
459
|
+
CaribbeanNetherlands: "caribbeanNetherlands",
|
|
460
|
+
CaymanIslands: "caymanIslands",
|
|
461
|
+
CentralAfricanRepublic: "centralAfricanRepublic",
|
|
462
|
+
Chad: "chad",
|
|
463
|
+
ChristmasIsland: "christmasIsland",
|
|
464
|
+
CocosIslands: "cocosIslands",
|
|
465
|
+
Comoros: "comoros",
|
|
466
|
+
Congo: "congo",
|
|
467
|
+
CookIslands: "cookIslands",
|
|
468
|
+
Cuba: "cuba",
|
|
469
|
+
Curacao: "curacao",
|
|
470
|
+
DemocraticRepublicOfTheCongo: "democraticRepublicOfTheCongo",
|
|
471
|
+
Djibouti: "djibouti",
|
|
472
|
+
Dominica: "dominica",
|
|
473
|
+
EastTimor: "eastTimor",
|
|
474
|
+
EquatorialGuinea: "equatorialGuinea",
|
|
475
|
+
Eritrea: "eritrea",
|
|
476
|
+
Ethiopia: "ethiopia",
|
|
477
|
+
FalklandIslands: "falklandIslands",
|
|
478
|
+
FaroeIslands: "faroeIslands",
|
|
479
|
+
FederatedStatesOfMicronesia: "federatedStatesOfMicronesia",
|
|
480
|
+
Fiji: "fiji",
|
|
481
|
+
FrenchGuiana: "frenchGuiana",
|
|
482
|
+
FrenchPolynesia: "frenchPolynesia",
|
|
483
|
+
FrenchSouthernTerritories: "frenchSouthernTerritories",
|
|
484
|
+
Gabon: "gabon",
|
|
485
|
+
Gambia: "gambia",
|
|
486
|
+
Gibraltar: "gibraltar",
|
|
487
|
+
Greenland: "greenland",
|
|
488
|
+
Grenada: "grenada",
|
|
489
|
+
Guadeloupe: "guadeloupe",
|
|
490
|
+
Guam: "guam",
|
|
491
|
+
Guinea: "guinea",
|
|
492
|
+
GuineaBissau: "guineaBissau",
|
|
493
|
+
Guyana: "guyana",
|
|
494
|
+
HeardIslandAndMcdonaldIslands: "heardIslandAndMcdonaldIslands",
|
|
495
|
+
Iran: "iran",
|
|
496
|
+
Iraq: "iraq",
|
|
497
|
+
IsleOfMan: "isleOfMan",
|
|
498
|
+
IvoryCoast: "ivoryCoast",
|
|
499
|
+
Jamaica: "jamaica",
|
|
500
|
+
Kiribati: "kiribati",
|
|
501
|
+
Kyrgyzstan: "kyrgyzstan",
|
|
502
|
+
Laos: "laos",
|
|
503
|
+
Lebanon: "lebanon",
|
|
504
|
+
Lesotho: "lesotho",
|
|
505
|
+
Liberia: "liberia",
|
|
506
|
+
Libya: "libya",
|
|
507
|
+
Liechtenstein: "liechtenstein",
|
|
508
|
+
Macau: "macau",
|
|
509
|
+
Madagascar: "madagascar",
|
|
510
|
+
Malawi: "malawi",
|
|
511
|
+
Mali: "mali",
|
|
512
|
+
MarshallIslands: "marshallIslands",
|
|
513
|
+
Martinique: "martinique",
|
|
514
|
+
Mauritania: "mauritania",
|
|
515
|
+
Mayotte: "mayotte",
|
|
516
|
+
Moldova: "moldova",
|
|
517
|
+
Monaco: "monaco",
|
|
518
|
+
Mongolia: "mongolia",
|
|
519
|
+
Montserrat: "montserrat",
|
|
520
|
+
Mozambique: "mozambique",
|
|
521
|
+
Myanmar: "myanmar",
|
|
522
|
+
Namibia: "namibia",
|
|
523
|
+
Nauru: "nauru",
|
|
524
|
+
Nepal: "nepal",
|
|
525
|
+
NewCaledonia: "newCaledonia",
|
|
526
|
+
Niger: "niger",
|
|
527
|
+
Niue: "niue",
|
|
528
|
+
NorfolkIsland: "norfolkIsland",
|
|
529
|
+
NorthernCyprus: "northernCyprus",
|
|
530
|
+
NorthernMarianaIslands: "northernMarianaIslands",
|
|
531
|
+
NorthKorea: "northKorea",
|
|
532
|
+
NorthMacedonia: "northMacedonia",
|
|
533
|
+
Palau: "palau",
|
|
534
|
+
Palestine: "palestine",
|
|
535
|
+
PapuaNewGuinea: "papuaNewGuinea",
|
|
536
|
+
Pitcairn: "pitcairn",
|
|
537
|
+
Reunion: "reunion",
|
|
538
|
+
Rwanda: "rwanda",
|
|
539
|
+
SaintBarthelemy: "saintBarthelemy",
|
|
540
|
+
SaintHelenaAscensionAndTristianDaCunha: "saintHelenaAscensionAndTristianDaCunha",
|
|
541
|
+
SaintKittsAndNevis: "saintKittsAndNevis",
|
|
542
|
+
SaintLucia: "saintLucia",
|
|
543
|
+
SaintMartin: "saintMartin",
|
|
544
|
+
SaintPierreAndMiquelon: "saintPierreAndMiquelon",
|
|
545
|
+
SaintVincentAndTheGrenadines: "saintVincentAndTheGrenadines",
|
|
546
|
+
Samoa: "samoa",
|
|
547
|
+
SanMarino: "sanMarino",
|
|
548
|
+
SaoTomeAndPrincipe: "saoTomeAndPrincipe",
|
|
549
|
+
Senegal: "senegal",
|
|
550
|
+
Seychelles: "seychelles",
|
|
551
|
+
SierraLeone: "sierraLeone",
|
|
552
|
+
SintMaarten: "sintMaarten",
|
|
553
|
+
SolomonIslands: "solomonIslands",
|
|
554
|
+
Somalia: "somalia",
|
|
555
|
+
SouthGeorgiaAndTheSouthSandwichIslands: "southGeorgiaAndTheSouthSandwichIslands",
|
|
556
|
+
SouthSudan: "southSudan",
|
|
557
|
+
Sudan: "sudan",
|
|
558
|
+
Suriname: "suriname",
|
|
559
|
+
SvalbardAndJanMayen: "svalbardAndJanMayen",
|
|
560
|
+
Eswatini: "eswatini",
|
|
561
|
+
Syria: "syria",
|
|
562
|
+
Tajikistan: "tajikistan",
|
|
563
|
+
Tanzania: "tanzania",
|
|
564
|
+
Togo: "togo",
|
|
565
|
+
Tokelau: "tokelau",
|
|
566
|
+
Tonga: "tonga",
|
|
567
|
+
TrinidadAndTobago: "trinidadAndTobago",
|
|
568
|
+
Turkmenistan: "turkmenistan",
|
|
569
|
+
TurksAndCaicosIslands: "turksAndCaicosIslands",
|
|
570
|
+
Tuvalu: "tuvalu",
|
|
571
|
+
UnitedStatesMinorOutlyingIslands: "unitedStatesMinorOutlyingIslands",
|
|
572
|
+
Uzbekistan: "uzbekistan",
|
|
573
|
+
Vanuatu: "vanuatu",
|
|
574
|
+
VaticanCity: "vaticanCity",
|
|
575
|
+
VirginIslandsBritish: "virginIslandsBritish",
|
|
576
|
+
VirginIslandsOfTheUnitedStates: "virginIslandsOfTheUnitedStates",
|
|
577
|
+
WallisAndFutuna: "wallisAndFutuna",
|
|
578
|
+
WesternSahara: "westernSahara",
|
|
579
|
+
Yemen: "yemen",
|
|
580
|
+
Yugoslavia: "yugoslavia",
|
|
581
|
+
Zambia: "zambia",
|
|
582
|
+
Zimbabwe: "zimbabwe",
|
|
583
|
+
SchengenArea: "schengenArea",
|
|
584
|
+
SaintThomasAndPrince: "saintThomasAndPrince"
|
|
585
|
+
};
|
|
3226
586
|
/**
|
|
3227
587
|
* Document region.
|
|
3228
588
|
*/
|
|
3229
|
-
export
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
}({});
|
|
3382
|
-
|
|
589
|
+
export const RegionID = {
|
|
590
|
+
None: "none",
|
|
591
|
+
Alabama: "alabama",
|
|
592
|
+
Alaska: "alaska",
|
|
593
|
+
Alberta: "alberta",
|
|
594
|
+
Arizona: "arizona",
|
|
595
|
+
Arkansas: "arkansas",
|
|
596
|
+
AustralianCapitalTerritory: "australianCapitalTerritory",
|
|
597
|
+
BritishColumbia: "britishColumbia",
|
|
598
|
+
California: "california",
|
|
599
|
+
Colorado: "colorado",
|
|
600
|
+
Connecticut: "connecticut",
|
|
601
|
+
Delaware: "delaware",
|
|
602
|
+
DistrictOfColumbia: "districtOfColumbia",
|
|
603
|
+
Florida: "florida",
|
|
604
|
+
Georgia: "georgia",
|
|
605
|
+
Hawaii: "hawaii",
|
|
606
|
+
Idaho: "idaho",
|
|
607
|
+
Illinois: "illinois",
|
|
608
|
+
Indiana: "indiana",
|
|
609
|
+
Iowa: "iowa",
|
|
610
|
+
Kansas: "kansas",
|
|
611
|
+
Kentucky: "kentucky",
|
|
612
|
+
Louisiana: "louisiana",
|
|
613
|
+
Maine: "maine",
|
|
614
|
+
Manitoba: "manitoba",
|
|
615
|
+
Maryland: "maryland",
|
|
616
|
+
Massachusetts: "massachusetts",
|
|
617
|
+
Michigan: "michigan",
|
|
618
|
+
Minnesota: "minnesota",
|
|
619
|
+
Mississippi: "mississippi",
|
|
620
|
+
Missouri: "missouri",
|
|
621
|
+
Montana: "montana",
|
|
622
|
+
Nebraska: "nebraska",
|
|
623
|
+
Nevada: "nevada",
|
|
624
|
+
NewBrunswick: "newBrunswick",
|
|
625
|
+
NewHampshire: "newHampshire",
|
|
626
|
+
NewJersey: "newJersey",
|
|
627
|
+
NewMexico: "newMexico",
|
|
628
|
+
NewSouthWales: "newSouthWales",
|
|
629
|
+
NewYork: "newYork",
|
|
630
|
+
NorthernTerritory: "northernTerritory",
|
|
631
|
+
NorthCarolina: "northCarolina",
|
|
632
|
+
NorthDakota: "northDakota",
|
|
633
|
+
NovaScotia: "novaScotia",
|
|
634
|
+
Ohio: "ohio",
|
|
635
|
+
Oklahoma: "oklahoma",
|
|
636
|
+
Ontario: "ontario",
|
|
637
|
+
Oregon: "oregon",
|
|
638
|
+
Pennsylvania: "pennsylvania",
|
|
639
|
+
Quebec: "quebec",
|
|
640
|
+
Queensland: "queensland",
|
|
641
|
+
RhodeIsland: "rhodeIsland",
|
|
642
|
+
Saskatchewan: "saskatchewan",
|
|
643
|
+
SouthAustralia: "southAustralia",
|
|
644
|
+
SouthCarolina: "southCarolina",
|
|
645
|
+
SouthDakota: "southDakota",
|
|
646
|
+
Tasmania: "tasmania",
|
|
647
|
+
Tennessee: "tennessee",
|
|
648
|
+
Texas: "texas",
|
|
649
|
+
Utah: "utah",
|
|
650
|
+
Vermont: "vermont",
|
|
651
|
+
Victoria: "victoria",
|
|
652
|
+
Virginia: "virginia",
|
|
653
|
+
Washington: "washington",
|
|
654
|
+
WesternAustralia: "westernAustralia",
|
|
655
|
+
WestVirginia: "westVirginia",
|
|
656
|
+
Wisconsin: "wisconsin",
|
|
657
|
+
Wyoming: "wyoming",
|
|
658
|
+
Yukon: "yukon",
|
|
659
|
+
CiudadDeMexico: "ciudadDeMexico",
|
|
660
|
+
Jalisco: "jalisco",
|
|
661
|
+
NewfoundlandAndLabrador: "newfoundlandAndLabrador",
|
|
662
|
+
NuevoLeon: "nuevoLeon",
|
|
663
|
+
BajaCalifornia: "bajaCalifornia",
|
|
664
|
+
Chihuahua: "chihuahua",
|
|
665
|
+
Guanajuato: "guanajuato",
|
|
666
|
+
Guerrero: "guerrero",
|
|
667
|
+
Mexico: "mexico",
|
|
668
|
+
Michoacan: "michoacan",
|
|
669
|
+
NewYorkCity: "newYorkCity",
|
|
670
|
+
Tamaulipas: "tamaulipas",
|
|
671
|
+
Veracruz: "veracruz",
|
|
672
|
+
Chiapas: "chiapas",
|
|
673
|
+
Coahuila: "coahuila",
|
|
674
|
+
Durago: "durango",
|
|
675
|
+
GuerreroCocula: "guerreroCocula",
|
|
676
|
+
GuerreroJuchitan: "guerreroJuchitan",
|
|
677
|
+
GuerreroTepecoacuilco: "guerreroTepecoacuilco",
|
|
678
|
+
GuerreroTlacoapa: "guerreroTlacoapa",
|
|
679
|
+
Gujarat: "gujarat",
|
|
680
|
+
Hidalgo: "hidalgo",
|
|
681
|
+
Karnataka: "karnataka",
|
|
682
|
+
Kerala: "kerala",
|
|
683
|
+
KhyberPakhtunkhwa: "khyberPakhtunkhwa",
|
|
684
|
+
MadhyaPradesh: "madhyaPradesh",
|
|
685
|
+
Maharashtra: "maharashtra",
|
|
686
|
+
Morelos: "morelos",
|
|
687
|
+
Nayarit: "nayarit",
|
|
688
|
+
Oaxaca: "oaxaca",
|
|
689
|
+
Puebla: "puebla",
|
|
690
|
+
Punjab: "punjab",
|
|
691
|
+
Queretaro: "queretaro",
|
|
692
|
+
SanLuisPotosi: "sanLuisPotosi",
|
|
693
|
+
Sinaloa: "sinaloa",
|
|
694
|
+
Sonora: "sonora",
|
|
695
|
+
Tabasco: "tabasco",
|
|
696
|
+
TamilNadu: "tamilNadu",
|
|
697
|
+
Yucatan: "yucatan",
|
|
698
|
+
Zacatecas: "zacatecas",
|
|
699
|
+
Aguascalientes: "aguascalientes",
|
|
700
|
+
BajaCaliforniaSur: "bajaCaliforniaSur",
|
|
701
|
+
Campeche: "campeche",
|
|
702
|
+
Colima: "colima",
|
|
703
|
+
QuintanaRooBenitoJuarez: "quintanaRooBenitoJuarez",
|
|
704
|
+
QuintanaRoo: "quintanaRoo",
|
|
705
|
+
QuintanaRooSolidaridad: "quintanaRooSolidaridad",
|
|
706
|
+
Tlaxcala: "tlaxcala",
|
|
707
|
+
QuintanaRooCozumel: "quintanaRooCozumel",
|
|
708
|
+
SaoPaolo: "saoPaolo",
|
|
709
|
+
RioDeJaneiro: "rioDeJaneiro",
|
|
710
|
+
RioGrandeDoSul: "rioGrandeDoSul",
|
|
711
|
+
NorthwestTerritories: "northwestTerritories",
|
|
712
|
+
Nunavut: "nunavut",
|
|
713
|
+
PrinceEdwardIsland: "princeEdwardIsland",
|
|
714
|
+
DistritoFederal: "distritoFederal",
|
|
715
|
+
Maranhao: "maranhao",
|
|
716
|
+
MatoGrosso: "matoGrosso",
|
|
717
|
+
MinasGerais: "minasGerais",
|
|
718
|
+
Para: "para",
|
|
719
|
+
Parana: "parana",
|
|
720
|
+
Pernambuco: "pernambuco",
|
|
721
|
+
SantaCatarina: "santaCatarina",
|
|
722
|
+
AndhraPradesh: "andhraPradesh",
|
|
723
|
+
Ceara: "ceara",
|
|
724
|
+
Goias: "goias",
|
|
725
|
+
GuerreroAcapulcoDeJuarez: "guerreroAcapulcoDeJuarez",
|
|
726
|
+
Haryana: "haryana",
|
|
727
|
+
Sergipe: "sergipe",
|
|
728
|
+
Alagoas: "alagoas",
|
|
729
|
+
Bangsamoro: "bangsamoro",
|
|
730
|
+
Telangana: "telangana",
|
|
731
|
+
Acre: "acre",
|
|
732
|
+
EspiritoSanto: "espiritoSanto",
|
|
733
|
+
MatoGrossoDoSul: "matoGrossoDoSul",
|
|
734
|
+
Paraiba: "paraiba",
|
|
735
|
+
Piaui: "piaui",
|
|
736
|
+
RioGrandeDoNorte: "rioGrandeDoNorte",
|
|
737
|
+
Tocantins: "tocantins",
|
|
738
|
+
Odisha: "odisha",
|
|
739
|
+
Uttarakhand: "uttarakhand"
|
|
740
|
+
};
|
|
3383
741
|
/**
|
|
3384
742
|
* Document type.
|
|
3385
743
|
*
|
|
3386
744
|
*/
|
|
3387
|
-
export
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
}
|
|
3481
|
-
|
|
745
|
+
export const DocumentTypeID = {
|
|
746
|
+
None: "none",
|
|
747
|
+
ConsularId: "consularId",
|
|
748
|
+
Dl: "dl",
|
|
749
|
+
DlPublicServicesCard: "dlPublicServicesCard",
|
|
750
|
+
EmploymentPass: "employmentPass",
|
|
751
|
+
FinCard: "finCard",
|
|
752
|
+
Id: "id",
|
|
753
|
+
MultipurposeId: "multipurposeId",
|
|
754
|
+
MyKad: "myKad",
|
|
755
|
+
MyKid: "myKid",
|
|
756
|
+
MyPr: "myPR",
|
|
757
|
+
MyTentera: "myTentera",
|
|
758
|
+
PanCard: "panCard",
|
|
759
|
+
ProfessionalId: "professionalId",
|
|
760
|
+
PublicServicesCard: "publicServicesCard",
|
|
761
|
+
ResidencePermit: "residencePermit",
|
|
762
|
+
ResidentId: "residentId",
|
|
763
|
+
TemporaryResidencePermit: "temporaryResidencePermit",
|
|
764
|
+
VoterId: "voterId",
|
|
765
|
+
WorkPermit: "workPermit",
|
|
766
|
+
IKad: "iKad",
|
|
767
|
+
MilitaryId: "militaryId",
|
|
768
|
+
MyKas: "myKas",
|
|
769
|
+
DocialSecurityCard: "docialSecurityCard",
|
|
770
|
+
HealthInsuranceCard: "healthInsuranceCard",
|
|
771
|
+
Passport: "passport",
|
|
772
|
+
SPass: "sPass",
|
|
773
|
+
AddressCard: "addressCard",
|
|
774
|
+
AlienId: "alienId",
|
|
775
|
+
AlienPassport: "alienPassport",
|
|
776
|
+
GreenCard: "greenCard",
|
|
777
|
+
MinorsId: "minorsId",
|
|
778
|
+
PostalId: "postalId",
|
|
779
|
+
ProfessionalDl: "professionalDl",
|
|
780
|
+
TaxId: "taxId",
|
|
781
|
+
WeaponPermit: "weaponPermit",
|
|
782
|
+
Visa: "visa",
|
|
783
|
+
BorderCrossingCard: "borderCrossingCard",
|
|
784
|
+
DriverCard: "driverCard",
|
|
785
|
+
GlobalEntryCard: "globalEntryCard",
|
|
786
|
+
MyPolis: "mypolis",
|
|
787
|
+
NexusCard: "nexusCard",
|
|
788
|
+
PassportCard: "passportCard",
|
|
789
|
+
ProofOfAgeCard: "proofOfAgeCard",
|
|
790
|
+
RefugeeId: "refugeeId",
|
|
791
|
+
TribalId: "tribalId",
|
|
792
|
+
VeteranId: "veteranId",
|
|
793
|
+
CitizenshipCertificate: "citizenshipCertificate",
|
|
794
|
+
MyNumberCard: "myNumberCard",
|
|
795
|
+
ConsularPassport: "consularPassport",
|
|
796
|
+
MinorsPassport: "minorsPassport",
|
|
797
|
+
MinorsPublicServicesCard: "minorsPublicServicesCard",
|
|
798
|
+
DrivingPrivilegeCard: "drivingPrivilegeCard",
|
|
799
|
+
AsylumRequest: "asylumRequest",
|
|
800
|
+
DriverQualificationCard: "driverQualificationCard",
|
|
801
|
+
ProvisionalDl: "provisionalDl",
|
|
802
|
+
RefugeePassport: "refugeePassport",
|
|
803
|
+
SpecialId: "specialId",
|
|
804
|
+
UniformedServicesId: "uniformedServicesId",
|
|
805
|
+
ImmigrantVisa: "immigrantVisa",
|
|
806
|
+
ConsularVoterId: "consularVoterId",
|
|
807
|
+
TwicCard: "twicCard",
|
|
808
|
+
ExitEntryPermit: "exitEntryPermit",
|
|
809
|
+
MainlandTravelPermitTaiwan: "mainlandTravelPermitTaiwan",
|
|
810
|
+
NbiClearance: "nbiClearance",
|
|
811
|
+
ProofOfRegistration: "proofOfRegistration",
|
|
812
|
+
TemporaryProtectionPermit: "temporaryProtectionPermit",
|
|
813
|
+
AfghanCitizenCard: "afghanCitizenCard",
|
|
814
|
+
Eid: "eid",
|
|
815
|
+
Pass: "pass",
|
|
816
|
+
SisId: "sisId",
|
|
817
|
+
AsicCard: "asicCard",
|
|
818
|
+
BidoonCard: "bidoonCard",
|
|
819
|
+
InterimHealthInsuranceCard: "interimHealthInsuranceCard",
|
|
820
|
+
NonVoterId: "nonVoterId",
|
|
821
|
+
ReciprocalHealthInsuranceCard: "reciprocalHealthInsuranceCard",
|
|
822
|
+
VehicleRegistration: "vehicleRegistration",
|
|
823
|
+
EsaadCard: "esaadCard",
|
|
824
|
+
RegistrationCertificate: "registrationCertificate",
|
|
825
|
+
MedicalMarijuanaId: "medicalMarijuanaId",
|
|
826
|
+
NonCardTribalId: "nonCardTribalId",
|
|
827
|
+
DiplomaticId: "diplomaticId",
|
|
828
|
+
EmergencyPassport: "emergencyPassport",
|
|
829
|
+
TemporaryPassport: "temporaryPassport",
|
|
830
|
+
MetisFederationCard: "metisFederationCard",
|
|
831
|
+
SocialSecurityCard: "socialSecurityCard",
|
|
832
|
+
AdrCertificate: "adrCertificate",
|
|
833
|
+
NinCard: "ninCard",
|
|
834
|
+
MysssCard: "mysssCard",
|
|
835
|
+
GendarmerieId: "gendarmerieId",
|
|
836
|
+
PoliceId: "policeId",
|
|
837
|
+
OriginCard: "originCard"
|
|
838
|
+
};
|
|
3482
839
|
/**
|
|
3483
840
|
* Represents all possible field types that can be extracted from the document.
|
|
3484
841
|
*
|
|
3485
842
|
*/
|
|
3486
|
-
export
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
}({});
|
|
843
|
+
export const FieldType = {
|
|
844
|
+
AdditionalAddressInformation: "additionalAddressInformation",
|
|
845
|
+
AdditionalNameInformation: "additionalNameInformation",
|
|
846
|
+
AdditionalOptionalAddressInformation: "additionalOptionalAddressInformation",
|
|
847
|
+
AdditionalPersonalIdNumber: "additionalPersonalIdNumber",
|
|
848
|
+
Address: "address",
|
|
849
|
+
ClassEffectiveDate: "classEffectiveDate",
|
|
850
|
+
ClassExpiryDate: "classExpiryDate",
|
|
851
|
+
Conditions: "conditions",
|
|
852
|
+
DateOfBirth: "dateOfBirth",
|
|
853
|
+
DateOfExpiry: "dateOfExpiry",
|
|
854
|
+
DateOfIssue: "dateOfIssue",
|
|
855
|
+
DocumentAdditionalNumber: "documentAdditionalNumber",
|
|
856
|
+
DocumentOptionalAdditionalNumber: "documentOptionalAdditionalNumber",
|
|
857
|
+
DocumentNumber: "documentNumber",
|
|
858
|
+
Employer: "employer",
|
|
859
|
+
Endorsements: "endorsements",
|
|
860
|
+
FathersName: "fathersName",
|
|
861
|
+
FirstName: "firstName",
|
|
862
|
+
FullName: "fullName",
|
|
863
|
+
IssuingAuthority: "issuingAuthority",
|
|
864
|
+
LastName: "lastName",
|
|
865
|
+
LicenseType: "licenceType",
|
|
866
|
+
LocalizedName: "localizedName",
|
|
867
|
+
MaritalStatus: "maritalStatus",
|
|
868
|
+
MothersName: "mothersName",
|
|
869
|
+
Mrz: "mrz",
|
|
870
|
+
Nationality: "nationality",
|
|
871
|
+
PersonalIdNumber: "personalIdNumber",
|
|
872
|
+
PlaceOfBirth: "placeOfBirth",
|
|
873
|
+
Profession: "profession",
|
|
874
|
+
Race: "race",
|
|
875
|
+
Religion: "religion",
|
|
876
|
+
ResidentialStatus: "residentialStatus",
|
|
877
|
+
Restriction: "restrictions",
|
|
878
|
+
Sex: "sex",
|
|
879
|
+
VehicleClass: "vehicleClass",
|
|
880
|
+
BloodType: "bloodType",
|
|
881
|
+
Sponsor: "sponsor",
|
|
882
|
+
VisaType: "visaType",
|
|
883
|
+
DocumentSubtype: "documentSubtype",
|
|
884
|
+
Remarks: "remarks",
|
|
885
|
+
ResidencePermitType: "residencePermitType",
|
|
886
|
+
ManufacturingYear: "manufacturingYear",
|
|
887
|
+
VehicleType: "vehicleType",
|
|
888
|
+
DependentDateOfBirth: "dependentDateOfBirth",
|
|
889
|
+
DependentSex: "dependentSex",
|
|
890
|
+
DependentDocumentNumber: "dependentDocumentNumber",
|
|
891
|
+
DependentFullName: "dependentFullName",
|
|
892
|
+
EligibilityCategory: "eligibilityCategory",
|
|
893
|
+
SpecificDocumentValidity: "specificDocumentValidity",
|
|
894
|
+
VehicleOwner: "vehicleOwner",
|
|
895
|
+
nationalInsuranceNumber: "nationalInsuranceNumber",
|
|
896
|
+
CountryCode: "countryCode",
|
|
897
|
+
CertificateNumber: "certificateNumber",
|
|
898
|
+
MunicipalityOfRegistration: "municipalityOfRegistration",
|
|
899
|
+
LocalityCode: "localityCode",
|
|
900
|
+
MaidenName: "maidenName",
|
|
901
|
+
StateCode: "stateCode",
|
|
902
|
+
DateOfEntry: "dateOfEntry",
|
|
903
|
+
MunicipalityCode: "municipalityCode",
|
|
904
|
+
PollingStationCode: "pollingStationCode",
|
|
905
|
+
SectionCode: "sectionCode",
|
|
906
|
+
RegistrationCenterCode: "registrationCenterCode",
|
|
907
|
+
StateName: "stateName",
|
|
908
|
+
EffectiveDate: "effectiveDate",
|
|
909
|
+
ParentsLastName: "parentsLastName",
|
|
910
|
+
ParentsFirstName: "parentsFirstName",
|
|
911
|
+
WorkRestriction: "workRestriction",
|
|
912
|
+
SocialSecurityStatus: "socialSecurityStatus",
|
|
913
|
+
LegalStatus: "legalStatus",
|
|
914
|
+
HusbandName: "husbandName",
|
|
915
|
+
CardAccessNumber: "cardAccessNumber",
|
|
916
|
+
ParentFullName: "parentFullName",
|
|
917
|
+
Ethnicity: "ethnicity"
|
|
918
|
+
};
|
|
3563
919
|
|
|
3564
920
|
/** An enum indicating preffered camera position for document capturing. */
|
|
3565
|
-
export let PreferredCamera = /*#__PURE__*/function (PreferredCamera) {
|
|
3566
|
-
/**
|
|
3567
|
-
* Use the back-facing camera
|
|
3568
|
-
*
|
|
3569
|
-
* This is the default value
|
|
3570
|
-
*/
|
|
3571
|
-
PreferredCamera["Back"] = "back";
|
|
3572
|
-
/**
|
|
3573
|
-
* Use the front-facing camera
|
|
3574
|
-
*
|
|
3575
|
-
*/
|
|
3576
|
-
PreferredCamera["Front"] = "front";
|
|
3577
|
-
return PreferredCamera;
|
|
3578
|
-
}({});
|
|
3579
921
|
//# sourceMappingURL=types.js.map
|