@microblink/blinkid-react-native 7.7.0 → 8000.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 +490 -282
- package/android/build.gradle +56 -4
- package/android/gradle.properties +3 -4
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdDeserializationUtilities.kt +312 -249
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdSerializationUtilities.kt +109 -31
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkidReactNativeModule.kt +39 -31
- package/ios/BlinkidReactNative.mm +42 -52
- package/ios/BlinkidReactNativeModule.swift +92 -57
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/BlinkID +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/BlinkID-Swift.h +7535 -2758
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/BlinkID.h +2 -1
- 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-apple-ios.abi.json +17584 -4445
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.private.swiftinterface +352 -122
- 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 +352 -122
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/_CodeSignature/CodeResources +17 -28
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/conan.xcconfig +3 -3
- 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-Swift.h +42778 -33224
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/BlinkID.h +2 -1
- 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-apple-ios-simulator.abi.json +17584 -4445
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +352 -122
- 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/arm64-apple-ios-simulator.swiftinterface +352 -122
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.abi.json +17584 -4445
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +352 -122
- 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 +352 -122
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/_CodeSignature/CodeResources +27 -38
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/conan.xcconfig +3 -3
- 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 +2551 -1166
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.package.swiftinterface +60 -24
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.private.swiftinterface +60 -24
- 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 +60 -24
- 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 +2551 -1166
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +60 -24
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +60 -24
- 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 +60 -24
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.abi.json +2551 -1166
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +60 -24
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +60 -24
- 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 +60 -24
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/_CodeSignature/CodeResources +1 -1
- package/ios/Serialization/BlinkIdDeserializationUtils.swift +492 -0
- package/ios/{BlinkIdSerializationUtilities.swift → Serialization/BlinkIdSerializationUtils.swift} +246 -256
- 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 +81 -17
- package/lib/module/index.js.map +1 -1
- package/lib/module/types.js +694 -3406
- package/lib/module/types.js.map +1 -1
- package/lib/typescript/src/NativeBlinkidReactNative.d.ts +26 -5
- package/lib/typescript/src/NativeBlinkidReactNative.d.ts.map +1 -1
- package/lib/typescript/src/blinkIdResult.d.ts +12 -20
- package/lib/typescript/src/blinkIdResult.d.ts.map +1 -1
- package/lib/typescript/src/blinkIdSettings.d.ts +36 -297
- package/lib/typescript/src/blinkIdSettings.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +38 -10
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/types.d.ts +960 -1182
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/package.json +5 -4
- package/src/NativeBlinkidReactNative.ts +28 -5
- package/src/blinkIdResult.ts +13 -466
- package/src/blinkIdSettings.ts +53 -373
- package/src/index.tsx +208 -35
- package/src/types.ts +1116 -1442
- 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/MBSampleBufferWrapper.h +0 -28
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/MBSampleBufferWrapper.h +0 -28
- 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/src/types.ts
CHANGED
|
@@ -1,4 +1,361 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Settings for the barcode extraction module.
|
|
3
|
+
*
|
|
4
|
+
* This module manages the detection and data extraction from various 1D and 2D
|
|
5
|
+
* barcode formats (such as PDF417, QR codes, and various retail codes).
|
|
6
|
+
*
|
|
7
|
+
* It can operate as a standalone module or in combination with document capture.
|
|
8
|
+
*/
|
|
9
|
+
export type BarcodeModuleSettings = {
|
|
10
|
+
/*
|
|
11
|
+
* If set to true, barcode presence becomes mandatory for the scanned document.
|
|
12
|
+
* For [ScanningMode.single], the barcode must be present on the scanned side.
|
|
13
|
+
* For [ScanningMode.automatic], the barcode must be present on one of the scanned sides.
|
|
14
|
+
*
|
|
15
|
+
* In case of a timeout and advancement to the next step in the scanning flow,
|
|
16
|
+
* if a barcode is detected on the scanned side but cannot be extracted,
|
|
17
|
+
* the presence requirement is considered fulfilled. As a result, barcode extraction
|
|
18
|
+
* will no longer be a requirement to complete the scan on next side.
|
|
19
|
+
*/
|
|
20
|
+
presenceMandatory: boolean;
|
|
21
|
+
|
|
22
|
+
/*
|
|
23
|
+
* Indicates whether the barcode image should be returned in the result.
|
|
24
|
+
*
|
|
25
|
+
* The DPI setting and the extension factor do not affect returned barcode image.
|
|
26
|
+
*/
|
|
27
|
+
barcodeImageReturnEnabled: boolean;
|
|
28
|
+
/*
|
|
29
|
+
* Enables the scanning and processing of Pdf417 barcodes.
|
|
30
|
+
*
|
|
31
|
+
* The current analyzer model flags a barcode as "present" if either a `PDF417` or a `QR` code is detected.
|
|
32
|
+
* Because the model does not distinguish between the two types at this stage, a conflict can occur:
|
|
33
|
+
* if `PDF417` is enabled but `QR` is disabled, the analyzer may trigger for a `QR` code, causing the process to hang.
|
|
34
|
+
* To prevent this, `pdf417ScanningEnabled` and `qrScanningEnabled` must be enabled together.
|
|
35
|
+
*/
|
|
36
|
+
pdf417ScanningEnabled: boolean;
|
|
37
|
+
/*
|
|
38
|
+
* Enables the scanning and processing of QR barcodes.
|
|
39
|
+
*
|
|
40
|
+
* The current analyzer model flags a barcode as "present" if either a `PDF417` or a `QR` code is detected.
|
|
41
|
+
* Because the model does not distinguish between the two types at this stage, a conflict can occur:
|
|
42
|
+
* if `PDF417` is enabled but `QR` is disabled, the analyzer may trigger for a `QR` code, causing the process to hang.
|
|
43
|
+
*
|
|
44
|
+
* To prevent this, `qrScanningEnabled` and `pdf417ScanningEnabled` must be enabled together.
|
|
45
|
+
*/
|
|
46
|
+
qrScanningEnabled: boolean;
|
|
47
|
+
|
|
48
|
+
/*
|
|
49
|
+
* Enables the scanning and processing of UPC-E barcodes.
|
|
50
|
+
*
|
|
51
|
+
* This setting can be enabled only if `documentCaptureEnabled` is disabled.
|
|
52
|
+
*/
|
|
53
|
+
upceScanningEnabled: boolean;
|
|
54
|
+
|
|
55
|
+
/*
|
|
56
|
+
* Enables the scanning and processing of UPC-A barcodes.
|
|
57
|
+
*
|
|
58
|
+
* This setting can be enabled only if `documentCaptureEnabled` is disabled.
|
|
59
|
+
*/
|
|
60
|
+
upcaScanningEnabled: boolean;
|
|
61
|
+
|
|
62
|
+
/*
|
|
63
|
+
* Enables the scanning and processing of Code-128 barcodes.
|
|
64
|
+
*
|
|
65
|
+
* This setting can be enabled only if `documentCaptureEnabled` is disabled.
|
|
66
|
+
*/
|
|
67
|
+
code128ScanningEnabled: boolean;
|
|
68
|
+
|
|
69
|
+
/*
|
|
70
|
+
* Enables the scanning and processing of Code-39 barcodes.
|
|
71
|
+
*
|
|
72
|
+
* This setting can be enabled only if `documentCaptureEnabled` is disabled.
|
|
73
|
+
*/
|
|
74
|
+
code39ScanningEnabled: boolean;
|
|
75
|
+
|
|
76
|
+
/*
|
|
77
|
+
* Enables the scanning and processing of EAN-8 barcodes.
|
|
78
|
+
*
|
|
79
|
+
* This setting can be enabled only if `documentCaptureEnabled` is disabled.
|
|
80
|
+
*/
|
|
81
|
+
ean8ScanningEnabled: boolean;
|
|
82
|
+
|
|
83
|
+
/*
|
|
84
|
+
* Enables the scanning and processing of EAN-13 barcodes.
|
|
85
|
+
*
|
|
86
|
+
* This setting can be enabled only if `documentCaptureEnabled` is disabled.
|
|
87
|
+
*/
|
|
88
|
+
ean13ScanningEnabled: boolean;
|
|
89
|
+
|
|
90
|
+
/*
|
|
91
|
+
* Enables the scanning and processing of ITF barcodes.
|
|
92
|
+
*
|
|
93
|
+
* This setting can be enabled only if `documentCaptureEnabled` is disabled.
|
|
94
|
+
*/
|
|
95
|
+
itfScanningEnabled: boolean;
|
|
96
|
+
|
|
97
|
+
/*
|
|
98
|
+
* Enables the scanning and processing of DataMatrix barcodes.
|
|
99
|
+
*
|
|
100
|
+
* This setting can be enabled only if `documentCaptureEnabled` is disabled.
|
|
101
|
+
*/
|
|
102
|
+
dataMatrixScanningEnabled: boolean;
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
/*
|
|
106
|
+
* Settings for the document capture module.
|
|
107
|
+
*
|
|
108
|
+
* This module is responsible for the initial document detection, image extraction
|
|
109
|
+
* (such as face and document images), and image quality validation (blur, glare,
|
|
110
|
+
* and lighting checks).
|
|
111
|
+
*/
|
|
112
|
+
export type DocumentCaptureModuleSettings = {
|
|
113
|
+
/*
|
|
114
|
+
* Indicates whether the input image is already cropped and perspective-corrected.
|
|
115
|
+
*
|
|
116
|
+
* Requires the input image to consist solely of the cropped document image with perspective correction applied.
|
|
117
|
+
* This only applies to images from the DirectAPI method of scanning — with images from the default scanning, the setting will be ignored.
|
|
118
|
+
*/
|
|
119
|
+
inputImageCropped: boolean;
|
|
120
|
+
|
|
121
|
+
/*
|
|
122
|
+
* Enables the scanning and processing of unsupported document types.
|
|
123
|
+
*
|
|
124
|
+
* A document is considered unsupported if its classification result is `OTHER`.
|
|
125
|
+
*/
|
|
126
|
+
unsupportedDocumentsAllowed: boolean;
|
|
127
|
+
|
|
128
|
+
/*
|
|
129
|
+
* Indicates whether the back side scan should be skipped if the document supports only image capture on that side.
|
|
130
|
+
*
|
|
131
|
+
* Some documents have a back side that is supported but contains no extractable data (no MRZ, Barcode, etc.).
|
|
132
|
+
* These sides will be "captured only".
|
|
133
|
+
*
|
|
134
|
+
* If set to `true` (default), the scanning process will stop after the front side for such documents.
|
|
135
|
+
* If set to `false`, the back side will be captured, even though no data extraction is performed.
|
|
136
|
+
*/
|
|
137
|
+
secondSideWithNoExtractableDataSkipped: boolean;
|
|
138
|
+
|
|
139
|
+
/*
|
|
140
|
+
* Indicates whether only the passport data page should be scanned.
|
|
141
|
+
*
|
|
142
|
+
* Scan only the data page (page containing `MRZ`) of the passport.
|
|
143
|
+
*
|
|
144
|
+
* If set to `false`, it will be required to scan the second page of certain passports.
|
|
145
|
+
*/
|
|
146
|
+
passportDataPageScanOnly: boolean;
|
|
147
|
+
|
|
148
|
+
/*
|
|
149
|
+
* Enables the extraction of the document's face image.
|
|
150
|
+
*
|
|
151
|
+
* If a face image is present on the document, extraction becomes mandatory if supported.
|
|
152
|
+
*
|
|
153
|
+
* For supported documents, the requirement for its presence is determined by document rules.
|
|
154
|
+
* For unsupported documents, presence is optional.
|
|
155
|
+
*/
|
|
156
|
+
faceImageExtractionEnabled: boolean;
|
|
157
|
+
|
|
158
|
+
/*
|
|
159
|
+
* If set to `true`, face image presence will be mandatory for the scanned document.
|
|
160
|
+
*
|
|
161
|
+
* For [ScanningMode.automatic], document side with the face image must be scanned first.
|
|
162
|
+
*
|
|
163
|
+
* In case of a timeout and advancement to the next step in the scanning flow,
|
|
164
|
+
* if a face image is detected on the scanned side but cannot be extracted,
|
|
165
|
+
* the presence requirement is considered fulfilled. As a result, face image extraction
|
|
166
|
+
* will no longer be required to complete the scan on the next side.
|
|
167
|
+
*/
|
|
168
|
+
faceImagePresenceMandatory: boolean;
|
|
169
|
+
|
|
170
|
+
/*
|
|
171
|
+
* Indicates whether input images should be returned in the result.
|
|
172
|
+
*
|
|
173
|
+
* Saves the input images at the moment of data extraction or timeout.
|
|
174
|
+
* This significantly increases memory consumption. Scanning performance is not affected.
|
|
175
|
+
*/
|
|
176
|
+
inputImageReturnEnabled: boolean;
|
|
177
|
+
|
|
178
|
+
/*
|
|
179
|
+
* Indicates whether the cropped document image should be returned in the result.
|
|
180
|
+
*
|
|
181
|
+
*/
|
|
182
|
+
documentImageReturnEnabled: boolean;
|
|
183
|
+
|
|
184
|
+
/*
|
|
185
|
+
* Defines the minimum required margin (in percentage) between the edge of the input image and the document.
|
|
186
|
+
*
|
|
187
|
+
* This setting is implemented to comply with regulations in certain countries that mandate documents
|
|
188
|
+
* to be stored with adequate margins in the image.
|
|
189
|
+
*
|
|
190
|
+
* Default value is `0.02`.
|
|
191
|
+
* The setting is applicable only when using images from `Video` source.
|
|
192
|
+
* The setting is ignored if `inputImageCropped == true`.
|
|
193
|
+
*
|
|
194
|
+
* Allowed minimal value is `0.0` and maximum value is `1.0`.
|
|
195
|
+
*/
|
|
196
|
+
inputImageMargin?: number;
|
|
197
|
+
|
|
198
|
+
/*
|
|
199
|
+
* The DPI value for the cropped document, face and signature image.
|
|
200
|
+
*
|
|
201
|
+
* Allowed minimal value is `100` and maximum value is `400`.
|
|
202
|
+
*/
|
|
203
|
+
dotsPerInch: number;
|
|
204
|
+
|
|
205
|
+
/*
|
|
206
|
+
* The extension factor for the cropped document image. Applicable only to document images.
|
|
207
|
+
* Allowed minimal value is `0.0` and maximum value is `1.0`.
|
|
208
|
+
*
|
|
209
|
+
*/
|
|
210
|
+
extensionFactor: number;
|
|
211
|
+
|
|
212
|
+
/*
|
|
213
|
+
* The sensitivity of blur detection in the document image.
|
|
214
|
+
*
|
|
215
|
+
* Defines the severity of blur detected in the document image.
|
|
216
|
+
*
|
|
217
|
+
* Low – less sensitive to blur; if something is detected as blur, it is almost certainly actual blur,
|
|
218
|
+
* but some amount of blur may not be detected.
|
|
219
|
+
*
|
|
220
|
+
* High – highly sensitive to blur; it may detect blur even if it only resembles blur.
|
|
221
|
+
*
|
|
222
|
+
* See {@link SensitivityLevel} for more information
|
|
223
|
+
*/
|
|
224
|
+
blurSensitivityLevel: SensitivityLevel;
|
|
225
|
+
|
|
226
|
+
/*
|
|
227
|
+
* Indicates whether images with detected blur should be rejected.
|
|
228
|
+
*
|
|
229
|
+
* If `true`, images with detected blur will be excluded from further processing.
|
|
230
|
+
*
|
|
231
|
+
* If `false`, images will still be processed and blur status will be reported in the result.
|
|
232
|
+
*/
|
|
233
|
+
imageWithBlurRejected: boolean;
|
|
234
|
+
|
|
235
|
+
/*
|
|
236
|
+
* The sensitivity of glare detection in the document image.
|
|
237
|
+
*
|
|
238
|
+
* Low – less sensitive to glare.
|
|
239
|
+
* High – highly sensitive to glare.
|
|
240
|
+
* See {@link SensitivityLevel} for more information
|
|
241
|
+
*/
|
|
242
|
+
glareSensitivityLevel: SensitivityLevel;
|
|
243
|
+
|
|
244
|
+
/*
|
|
245
|
+
* Indicates whether images with detected glare should be rejected.
|
|
246
|
+
*
|
|
247
|
+
* If `true`, images with detected glare will be excluded from further processing.
|
|
248
|
+
*
|
|
249
|
+
* If `false`, images will still be processed and glare status will be reported in the result.
|
|
250
|
+
*/
|
|
251
|
+
imageWithGlareRejected: boolean;
|
|
252
|
+
|
|
253
|
+
/*
|
|
254
|
+
* The sensitivity of allowed detected tilt of the document in the image.
|
|
255
|
+
*
|
|
256
|
+
* Low – less sensitive to tilt.
|
|
257
|
+
* High – highly sensitive to tilt.
|
|
258
|
+
* See {@link SensitivityLevel} for more information
|
|
259
|
+
*/
|
|
260
|
+
tiltSensitivityLevel: SensitivityLevel;
|
|
261
|
+
|
|
262
|
+
/*
|
|
263
|
+
* Indicates whether images with poor lighting conditions should be rejected.
|
|
264
|
+
*
|
|
265
|
+
* Poor lighting conditions are represented as either `tooBright` or `tooDark`.
|
|
266
|
+
*
|
|
267
|
+
* If `true`, such images will be excluded from further processing.
|
|
268
|
+
*/
|
|
269
|
+
imageWithPoorLightingRejected: boolean;
|
|
270
|
+
|
|
271
|
+
/*
|
|
272
|
+
* Indicates whether images occluded by a hand should be rejected.
|
|
273
|
+
*
|
|
274
|
+
* If `true`, occluded images will be excluded from further processing.
|
|
275
|
+
*
|
|
276
|
+
* This setting is applicable only if `inputImageCropped == false`.
|
|
277
|
+
*/
|
|
278
|
+
imageWithHandOcclusionRejected: boolean;
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
/*
|
|
282
|
+
* Settings for the MRZ (Machine Readable Zone) extraction module.
|
|
283
|
+
*
|
|
284
|
+
* This module is dedicated to the detection and parsing of machine-readable
|
|
285
|
+
* zone typically found on passports, visas, and identity cards.
|
|
286
|
+
*/
|
|
287
|
+
export type MrzModuleSettings = {
|
|
288
|
+
/*
|
|
289
|
+
* If set to `true`, MRZ presence becomes mandatory for the scanned document
|
|
290
|
+
* regardless of the document rules.
|
|
291
|
+
*
|
|
292
|
+
* For [ScanningMode.single], the MRZ must be present on the scanned side.
|
|
293
|
+
* For [ScanningMode.automatic], the MRZ must be present on one of the scanned sides.
|
|
294
|
+
*
|
|
295
|
+
* In case of a timeout and advancement to the next step in the scanning flow,
|
|
296
|
+
* if an MRZ is detected on the scanned side but cannot be extracted,
|
|
297
|
+
* the presence requirement is considered fulfilled. As a result, MRZ extraction
|
|
298
|
+
* will no longer be required to complete the scan on the next side.
|
|
299
|
+
*/
|
|
300
|
+
presenceMandatory: boolean;
|
|
301
|
+
};
|
|
302
|
+
|
|
303
|
+
/*
|
|
304
|
+
* Settings for the VIZ (Visual Inspection Zone) extraction module.
|
|
305
|
+
*
|
|
306
|
+
* This module is responsible for extracting data from the document's
|
|
307
|
+
* visual fields.
|
|
308
|
+
*
|
|
309
|
+
* It supports features such as character validation for increased accuracy,
|
|
310
|
+
* signature image extraction, and data aggregation across multiple video frames.
|
|
311
|
+
*/
|
|
312
|
+
export type VizModuleSettings = {
|
|
313
|
+
/*
|
|
314
|
+
* If set to true, Viz presence becomes mandatory for the scanned document.
|
|
315
|
+
*
|
|
316
|
+
* For {@link ScanningMode.single}, the Viz must be present on the scanned side.
|
|
317
|
+
* Only the front side of supported documents can be scanned.
|
|
318
|
+
*
|
|
319
|
+
* For {@link ScanningMode.automatic}, this setting won't affect the default behaviour;
|
|
320
|
+
* front side must be scanned first followed by the back side.
|
|
321
|
+
*
|
|
322
|
+
* In case of a timeout and advancement to the next step in the scanning flow,
|
|
323
|
+
* if a Viz was not extracted fully from a front side, we'll proceed to extract Viz
|
|
324
|
+
* from the back side, if present.
|
|
325
|
+
*/
|
|
326
|
+
presenceMandatory: boolean;
|
|
327
|
+
|
|
328
|
+
/*
|
|
329
|
+
* Enables the extraction of the document's signature image if supported.
|
|
330
|
+
*
|
|
331
|
+
* For supported documents, signature image extraction is determined by document rules.
|
|
332
|
+
* For unsupported documents, extraction won't be performed.
|
|
333
|
+
*/
|
|
334
|
+
signatureImageExtractionEnabled: boolean;
|
|
335
|
+
|
|
336
|
+
/*
|
|
337
|
+
* Indicates whether character validation is enabled.
|
|
338
|
+
*
|
|
339
|
+
* Allow only results containing expected characters for a given field.
|
|
340
|
+
* Each field is validated against a set of rules.
|
|
341
|
+
* All fields have to be successfully validated in order to successfully scan a document.
|
|
342
|
+
* Setting is used to improve scanning accuracy.
|
|
343
|
+
*/
|
|
344
|
+
characterValidationEnabled: boolean;
|
|
345
|
+
|
|
346
|
+
/*
|
|
347
|
+
* Indicates whether the aggregation of data from multiple input images is enabled.
|
|
348
|
+
*
|
|
349
|
+
* Disabling this setting will yield higher-quality captured images, but it may slow down the scanning process due to the additional
|
|
350
|
+
* effort required to find the optimal image.
|
|
351
|
+
*
|
|
352
|
+
* Enabling this setting will simplify the extraction process, but the extracted data will be aggregated from multiple images instead
|
|
353
|
+
* of being sourced from a single image.
|
|
354
|
+
*
|
|
355
|
+
* This only applies to images from `Video` input image source - for images from `Photo` source, setting will be ignored.
|
|
356
|
+
*/
|
|
357
|
+
resultAggregationEnabled: boolean;
|
|
358
|
+
};
|
|
2
359
|
|
|
3
360
|
/**
|
|
4
361
|
* ClassFilter represents the document filter used to determine which documents will be processed.
|
|
@@ -9,7 +366,7 @@ import { BlinkIdUtilities } from "./blinkIdUtilities";
|
|
|
9
366
|
*
|
|
10
367
|
* By default, the ClassFilter is turned off, and all documents will be included.
|
|
11
368
|
*/
|
|
12
|
-
export
|
|
369
|
+
export type ClassFilter = {
|
|
13
370
|
/**
|
|
14
371
|
* Document classes that will be explicitly accepted by this filter.
|
|
15
372
|
* Only documents belonging to the specified classes will be processed. All other documents will be rejected.
|
|
@@ -63,27 +420,40 @@ export class ClassFilter {
|
|
|
63
420
|
* See {@link DocumentFilter} for setting the combinations.
|
|
64
421
|
*/
|
|
65
422
|
excludeDocuments?: DocumentFilter[];
|
|
423
|
+
};
|
|
66
424
|
|
|
67
|
-
|
|
425
|
+
/*
|
|
426
|
+
* A resolver that provides custom [RedactionSettings] for a scanned document
|
|
427
|
+
* based on its detected class information.
|
|
428
|
+
*
|
|
429
|
+
* Add the resolver when you need per-document redaction behavior — for example,
|
|
430
|
+
* anonymizing different fields depending on the document's country or type. The resolver
|
|
431
|
+
* is invoked by the SDK immediately before the scanning result is finalized.
|
|
432
|
+
*
|
|
433
|
+
* If not added, the SDK will use the default [RedactionSettings] for a given document class.
|
|
434
|
+
*/
|
|
435
|
+
export type RedactionSettingsResolver = {
|
|
436
|
+
/*
|
|
437
|
+
* A list of redaction configurations evaluated by the SDK.
|
|
438
|
+
*
|
|
439
|
+
* Each [RedactionSettings] entry can target specific document classes
|
|
440
|
+
* using [RedactionSettings.documentFilter].
|
|
441
|
+
*
|
|
442
|
+
* During scanning, the SDK selects the first matching configuration
|
|
443
|
+
* for the detected document class and applies its redaction rules.
|
|
68
444
|
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
445
|
+
* If no matching configuration is found, the default SDK redaction
|
|
446
|
+
* behavior is used.
|
|
71
447
|
*/
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
excludeDocuments?: DocumentFilter[],
|
|
75
|
-
) {
|
|
76
|
-
this.includeDocuments = includeDocuments;
|
|
77
|
-
this.excludeDocuments = excludeDocuments;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
448
|
+
documentRedactionList: RedactionSettings[];
|
|
449
|
+
};
|
|
80
450
|
|
|
81
451
|
/**
|
|
82
452
|
* Represents the document filter.
|
|
83
453
|
*
|
|
84
|
-
* Used with other classes like the {@link ClassFilter}, {@link DocumentRules} and the {@link
|
|
454
|
+
* Used with other classes like the {@link ClassFilter}, {@link DocumentRules} and the {@link RedactionSettings}.
|
|
85
455
|
*/
|
|
86
|
-
export
|
|
456
|
+
export type DocumentFilter = {
|
|
87
457
|
/**
|
|
88
458
|
* If set, only specified country will pass the filter criteria.
|
|
89
459
|
* Otherwise, issuing country will not betaken into account.
|
|
@@ -101,86 +471,7 @@ export class DocumentFilter {
|
|
|
101
471
|
* Otherwise, issuing type will not be taken into account.
|
|
102
472
|
*/
|
|
103
473
|
documentType?: DocumentType;
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* @param country - specifies the {@link Country} that will pass the filter criteria.
|
|
108
|
-
*
|
|
109
|
-
* @param region - specifies the {@link Region} that will pass the filter criteria.
|
|
110
|
-
*
|
|
111
|
-
* @param documentType - specifies the {@link DocumentType} that will pass the filter criteria.
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
* All parameters are optional, and do not need to be added.
|
|
115
|
-
* The filter can be set to be more generic (for example, to only accept document from USA):
|
|
116
|
-
* ```
|
|
117
|
-
* DocumentFilter(Country.Usa);
|
|
118
|
-
* ```
|
|
119
|
-
* or, it can be set to be more specific (for example, to specifically accept USA drivers licenses from California):
|
|
120
|
-
* ```
|
|
121
|
-
* DocumentFilter(Country.Usa, Region.California, DocumentType.Dl);
|
|
122
|
-
* ```
|
|
123
|
-
*/
|
|
124
|
-
constructor(country?: Country, region?: Region, documentType?: DocumentType) {
|
|
125
|
-
this.country = country;
|
|
126
|
-
this.region = region;
|
|
127
|
-
this.documentType = documentType;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* Represents the custom document rules.
|
|
133
|
-
*
|
|
134
|
-
* This setting allows users to narrow down our internal rules on mandatory fields. All undefined fields will become optional.
|
|
135
|
-
* It is not possible to mark fields as mandatory if they cannot theoretically appear on the document.
|
|
136
|
-
* The more detailed document filter will have priority over the other.
|
|
137
|
-
*
|
|
138
|
-
* Document fields are validated using internal rules that define mandatory fields for the scanned document class.
|
|
139
|
-
*/
|
|
140
|
-
export class DocumentRules {
|
|
141
|
-
/**
|
|
142
|
-
* Specified fields will overrule our document class field rules if filter conditions are met.
|
|
143
|
-
*
|
|
144
|
-
* See {@link DocumentFilter} for more information.
|
|
145
|
-
*/
|
|
146
|
-
documentFilter?: DocumentFilter;
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* Fields to overrule our class field rules.
|
|
150
|
-
*
|
|
151
|
-
* See {@link DetailedFieldType} for more information.
|
|
152
|
-
*/
|
|
153
|
-
fields: DetailedFieldType[];
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* Represents the custom document rules.
|
|
157
|
-
*
|
|
158
|
-
* This setting allows users to narrow down our internal rules on mandatory fields. All undefined fields will become optional.
|
|
159
|
-
* It is not possible to mark fields as mandatory if they cannot theoretically appear on the document.
|
|
160
|
-
* The more detailed document filter will have priority over the other.
|
|
161
|
-
*
|
|
162
|
-
* Document fields are validated using internal rules that define mandatory fields for the scanned document class.
|
|
163
|
-
* Defines custom rules for specific document class.
|
|
164
|
-
*
|
|
165
|
-
* When defining {@link DocumentRules}, the {@link DocumentFilter} paramter is optionally set to specify the document to which the rule applies, and a `fields` with
|
|
166
|
-
* the appropriate `alphabetType` should be specified as mandatory for that document.
|
|
167
|
-
* 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.
|
|
168
|
-
* If a `fields` is set to a field with an incorrect alphabetType, all fields on the document become optional.
|
|
169
|
-
* If a `fields` is set to a field that doesn’t exist in the internal rules, that rule is ignored.
|
|
170
|
-
* 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.
|
|
171
|
-
* If the documentFilter fields `country`, `region`, or `type` are set to `null`, all supported values for those fields will be considered.
|
|
172
|
-
* For example, if `country = null`, the rule will apply to all supported countries in BlinkID.
|
|
173
|
-
*
|
|
174
|
-
* @param fields - specifies the list of {@link DetailedFieldType} for overruling our class field rules.
|
|
175
|
-
* This parameter is mandatory.
|
|
176
|
-
* @param documentFilter - specifies the {@link DocumentFilter} to specify the document to which the rule applies.
|
|
177
|
-
* This parameter is optional.
|
|
178
|
-
*/
|
|
179
|
-
constructor(fields: DetailedFieldType[], documentFilter?: DocumentFilter) {
|
|
180
|
-
this.fields = fields;
|
|
181
|
-
this.documentFilter = documentFilter;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
474
|
+
};
|
|
184
475
|
|
|
185
476
|
/**
|
|
186
477
|
* Represents the detailed field type.
|
|
@@ -215,54 +506,47 @@ export class DetailedFieldType {
|
|
|
215
506
|
}
|
|
216
507
|
|
|
217
508
|
/**
|
|
218
|
-
* Represents the document
|
|
509
|
+
* Represents the document redaction settings.
|
|
219
510
|
*
|
|
220
511
|
*/
|
|
221
|
-
export
|
|
512
|
+
export type RedactionSettings = {
|
|
222
513
|
/**
|
|
223
|
-
*
|
|
224
|
-
*
|
|
514
|
+
* The mode of redaction applied to the document.
|
|
225
515
|
*/
|
|
226
|
-
|
|
516
|
+
mode: RedactionMode;
|
|
227
517
|
|
|
228
518
|
/**
|
|
229
|
-
*
|
|
519
|
+
* Document fields that will be anonymized.
|
|
230
520
|
*
|
|
231
521
|
*/
|
|
232
|
-
|
|
522
|
+
fields: FieldType[];
|
|
233
523
|
|
|
234
524
|
/**
|
|
235
525
|
* Document number anonymization settings.
|
|
236
526
|
*
|
|
237
527
|
*/
|
|
238
|
-
|
|
528
|
+
documentNumberRedactionSettings?: DocumentNumberRedactionSettings;
|
|
239
529
|
|
|
240
|
-
|
|
241
|
-
*
|
|
242
|
-
* @param fields - specifies the document fields that will be anonymized. This parameter is mandatory.
|
|
243
|
-
*
|
|
244
|
-
* @param documentFilter - specifies the document filter.
|
|
530
|
+
/*
|
|
531
|
+
* If true, whole Mrz result will be redacted.
|
|
245
532
|
*
|
|
246
|
-
*
|
|
247
|
-
|
|
248
|
-
|
|
533
|
+
* Default: `false`
|
|
534
|
+
*/
|
|
535
|
+
redactMrzResult: boolean;
|
|
536
|
+
|
|
537
|
+
/*
|
|
538
|
+
* If true, whole Barcode result will be redacted.
|
|
249
539
|
*
|
|
250
|
-
*
|
|
251
|
-
|
|
540
|
+
* Default: `false`
|
|
541
|
+
*/
|
|
542
|
+
redactBarcodeResult: boolean;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Specified fields will be anonymized if filter conditions are met.
|
|
252
546
|
*
|
|
253
|
-
* This parameter is optional.
|
|
254
547
|
*/
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
documentFilter?: DocumentFilter,
|
|
258
|
-
documentNumberAnonymizationSettings?: DocumentNumberAnonymizationSettings,
|
|
259
|
-
) {
|
|
260
|
-
this.fields = fields;
|
|
261
|
-
this.documentFilter = documentFilter;
|
|
262
|
-
this.documentNumberAnonymizationSettings =
|
|
263
|
-
documentNumberAnonymizationSettings;
|
|
264
|
-
}
|
|
265
|
-
}
|
|
548
|
+
documentFilter?: DocumentFilter;
|
|
549
|
+
};
|
|
266
550
|
|
|
267
551
|
/**
|
|
268
552
|
* Represents the document number anonymization settings.
|
|
@@ -274,7 +558,7 @@ export class DocumentAnonymizationSettings {
|
|
|
274
558
|
*
|
|
275
559
|
* If any parameter is `undefined`, the value of the parameter will be set to `0`.
|
|
276
560
|
*/
|
|
277
|
-
export
|
|
561
|
+
export type DocumentNumberRedactionSettings = {
|
|
278
562
|
/**
|
|
279
563
|
* Defines how many digits at the beginning of the document number remain visible after anonymization.
|
|
280
564
|
*
|
|
@@ -286,73 +570,13 @@ export class DocumentNumberAnonymizationSettings {
|
|
|
286
570
|
*
|
|
287
571
|
*/
|
|
288
572
|
suffixDigitsVisible?: number;
|
|
289
|
-
|
|
290
|
-
constructor(
|
|
291
|
-
prefixDigitsVisible: number = 0,
|
|
292
|
-
suffixDigitsVisible: number = 0,
|
|
293
|
-
) {
|
|
294
|
-
this.prefixDigitsVisible = prefixDigitsVisible;
|
|
295
|
-
this.suffixDigitsVisible = suffixDigitsVisible;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
/**
|
|
299
|
-
* Represents the configuration used to enable/disable recognition of specific
|
|
300
|
-
* document groups.
|
|
301
|
-
*
|
|
302
|
-
* By default all modes are enabled.
|
|
303
|
-
*/
|
|
304
|
-
export class RecognitionModeFilter {
|
|
305
|
-
/**
|
|
306
|
-
* Enable scanning of MRZ IDs.
|
|
307
|
-
*
|
|
308
|
-
*/
|
|
309
|
-
enableMrzId: boolean;
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* Enable scanning of visa MRZ.
|
|
313
|
-
*
|
|
314
|
-
*/
|
|
315
|
-
enableMrzVisa: boolean;
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* Enable scanning of Passport MRZ.
|
|
319
|
-
*
|
|
320
|
-
*/
|
|
321
|
-
enableMrzPassport: boolean;
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* Enable scanning of Photo ID.
|
|
325
|
-
*
|
|
326
|
-
*/
|
|
327
|
-
enablePhotoId: boolean;
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* Enable scanning of barcode IDs.
|
|
331
|
-
*
|
|
332
|
-
*/
|
|
333
|
-
enableBarcodeId: boolean;
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* Enable full document recognition.
|
|
337
|
-
*
|
|
338
|
-
*/
|
|
339
|
-
enableFullDocumentRecognition: boolean;
|
|
340
|
-
|
|
341
|
-
constructor() {
|
|
342
|
-
this.enableMrzId = true;
|
|
343
|
-
this.enableMrzVisa = true;
|
|
344
|
-
this.enableMrzPassport = true;
|
|
345
|
-
this.enablePhotoId = true;
|
|
346
|
-
this.enableBarcodeId = true;
|
|
347
|
-
this.enableFullDocumentRecognition = true;
|
|
348
|
-
}
|
|
349
|
-
}
|
|
573
|
+
};
|
|
350
574
|
|
|
351
575
|
/**
|
|
352
576
|
* Represents the document class information.
|
|
353
577
|
*
|
|
354
578
|
*/
|
|
355
|
-
export
|
|
579
|
+
export type DocumentClassInfo = {
|
|
356
580
|
/**
|
|
357
581
|
* The document country.
|
|
358
582
|
*
|
|
@@ -402,29 +626,13 @@ export class DocumentClassInfo {
|
|
|
402
626
|
*
|
|
403
627
|
*/
|
|
404
628
|
isoAlpha3CountryCode?: string;
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
*
|
|
408
|
-
* @param nativeDocumentClassInfo
|
|
409
|
-
*
|
|
410
|
-
*/
|
|
411
|
-
constructor(nativeDocumentClassInfo: any) {
|
|
412
|
-
this.country = nativeDocumentClassInfo.country;
|
|
413
|
-
this.region = nativeDocumentClassInfo.region;
|
|
414
|
-
this.documentType = nativeDocumentClassInfo.documentType;
|
|
415
|
-
this.empty = nativeDocumentClassInfo.empty;
|
|
416
|
-
this.countryName = nativeDocumentClassInfo.countryName;
|
|
417
|
-
this.isoNumericCountryCode = nativeDocumentClassInfo.isoNumericCountryCode;
|
|
418
|
-
this.isoAlpha2CountryCode = nativeDocumentClassInfo.isoAlpha2CountryCode;
|
|
419
|
-
this.isoAlpha3CountryCode = nativeDocumentClassInfo.isoAlpha3CountryCode;
|
|
420
|
-
}
|
|
421
|
-
}
|
|
629
|
+
};
|
|
422
630
|
|
|
423
631
|
/**
|
|
424
632
|
* Represents the result of the data match.
|
|
425
633
|
*
|
|
426
634
|
*/
|
|
427
|
-
export
|
|
635
|
+
export type DataMatchResult = {
|
|
428
636
|
/**
|
|
429
637
|
* The state of the data match on the whole document.
|
|
430
638
|
*
|
|
@@ -438,25 +646,13 @@ export class DataMatchResult {
|
|
|
438
646
|
* See {@link DataMatchResultField} for more information.
|
|
439
647
|
*/
|
|
440
648
|
states?: DataMatchResultField[];
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
*
|
|
444
|
-
* @param nativeDataMatchResult
|
|
445
|
-
*/
|
|
446
|
-
constructor(nativeDataMatchResult: any) {
|
|
447
|
-
this.overallState =
|
|
448
|
-
nativeDataMatchResult.overallState != undefined
|
|
449
|
-
? (nativeDataMatchResult.overallState as DataMatchState)
|
|
450
|
-
: undefined;
|
|
451
|
-
this.states = nativeDataMatchResult.states;
|
|
452
|
-
}
|
|
453
|
-
}
|
|
649
|
+
};
|
|
454
650
|
|
|
455
651
|
/**
|
|
456
652
|
* Represents the state of the field in the data match.
|
|
457
653
|
*
|
|
458
654
|
*/
|
|
459
|
-
export
|
|
655
|
+
export type DataMatchResultField = {
|
|
460
656
|
/**
|
|
461
657
|
* The type of the field.
|
|
462
658
|
*
|
|
@@ -469,17 +665,7 @@ export class DataMatchResultField {
|
|
|
469
665
|
* See {@link DataMatchState} for more information.
|
|
470
666
|
*/
|
|
471
667
|
state?: DataMatchState;
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
*
|
|
475
|
-
* @param nativeDataMatchResultField
|
|
476
|
-
*
|
|
477
|
-
*/
|
|
478
|
-
constructor(nativeDataMatchResultField: any) {
|
|
479
|
-
this.field = nativeDataMatchResultField.field;
|
|
480
|
-
this.state = nativeDataMatchResultField.state;
|
|
481
|
-
}
|
|
482
|
-
}
|
|
668
|
+
};
|
|
483
669
|
|
|
484
670
|
/**
|
|
485
671
|
* Represents the multi-alphabet string result extracted from the OCR.
|
|
@@ -487,7 +673,7 @@ export class DataMatchResultField {
|
|
|
487
673
|
* The result contains the extracted strings, their locations, and the sides of the extracted strings.
|
|
488
674
|
*
|
|
489
675
|
*/
|
|
490
|
-
export
|
|
676
|
+
export type StringResult = {
|
|
491
677
|
/**
|
|
492
678
|
* All strings separated by new line
|
|
493
679
|
*
|
|
@@ -531,34 +717,13 @@ export class StringResult {
|
|
|
531
717
|
* See {@link Side} for more information.
|
|
532
718
|
*/
|
|
533
719
|
side?: Side;
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
*
|
|
537
|
-
* @param nativeStringResult
|
|
538
|
-
*
|
|
539
|
-
*/
|
|
540
|
-
constructor(nativeStringResult: any) {
|
|
541
|
-
this.value = nativeStringResult.value;
|
|
542
|
-
this.latin = nativeStringResult.latin;
|
|
543
|
-
this.cyrillic = nativeStringResult.cyrillic;
|
|
544
|
-
this.arabic = nativeStringResult.arabic;
|
|
545
|
-
this.greek = nativeStringResult.greek;
|
|
546
|
-
this.location =
|
|
547
|
-
nativeStringResult.location != undefined
|
|
548
|
-
? new Location(nativeStringResult.location)
|
|
549
|
-
: undefined;
|
|
550
|
-
this.side =
|
|
551
|
-
nativeStringResult.side != undefined
|
|
552
|
-
? new Side(nativeStringResult.side)
|
|
553
|
-
: undefined;
|
|
554
|
-
}
|
|
555
|
-
}
|
|
720
|
+
};
|
|
556
721
|
|
|
557
722
|
/**
|
|
558
723
|
* Represents the rectangle location of each document field
|
|
559
724
|
*
|
|
560
725
|
*/
|
|
561
|
-
export
|
|
726
|
+
export type Rectangle = {
|
|
562
727
|
/**
|
|
563
728
|
* X location
|
|
564
729
|
*
|
|
@@ -582,25 +747,13 @@ export class Rectangle {
|
|
|
582
747
|
*
|
|
583
748
|
*/
|
|
584
749
|
height?: number;
|
|
585
|
-
|
|
586
|
-
/**
|
|
587
|
-
*
|
|
588
|
-
* @param nativeRectangle
|
|
589
|
-
*
|
|
590
|
-
*/
|
|
591
|
-
constructor(nativeRectangle: any) {
|
|
592
|
-
this.x = nativeRectangle.x;
|
|
593
|
-
this.y = nativeRectangle.y;
|
|
594
|
-
this.width = nativeRectangle.width;
|
|
595
|
-
this.height = nativeRectangle.height;
|
|
596
|
-
}
|
|
597
|
-
}
|
|
750
|
+
};
|
|
598
751
|
|
|
599
752
|
/**
|
|
600
753
|
* Represents the information about the location of an element within a document or image.
|
|
601
754
|
*
|
|
602
755
|
*/
|
|
603
|
-
export
|
|
756
|
+
export type Location = {
|
|
604
757
|
/**
|
|
605
758
|
* Rectangle location of the result extracted from the OCR in the latin alphabet.
|
|
606
759
|
*
|
|
@@ -624,80 +777,44 @@ export class Location {
|
|
|
624
777
|
*
|
|
625
778
|
*/
|
|
626
779
|
greek?: Rectangle;
|
|
627
|
-
|
|
628
|
-
/**
|
|
629
|
-
*
|
|
630
|
-
* @param nativeLocation
|
|
631
|
-
*
|
|
632
|
-
*/
|
|
633
|
-
constructor(nativeLocation: any) {
|
|
634
|
-
this.latin =
|
|
635
|
-
nativeLocation.latin != undefined
|
|
636
|
-
? new Rectangle(nativeLocation.latin)
|
|
637
|
-
: undefined;
|
|
638
|
-
this.arabic =
|
|
639
|
-
nativeLocation.arabic != undefined
|
|
640
|
-
? new Rectangle(nativeLocation.arabic)
|
|
641
|
-
: undefined;
|
|
642
|
-
this.cyrillic =
|
|
643
|
-
nativeLocation.cyrillic != undefined
|
|
644
|
-
? new Rectangle(nativeLocation.cyrillic)
|
|
645
|
-
: undefined;
|
|
646
|
-
this.greek =
|
|
647
|
-
nativeLocation.greek != undefined
|
|
648
|
-
? new Rectangle(nativeLocation.greek)
|
|
649
|
-
: undefined;
|
|
650
|
-
}
|
|
651
|
-
}
|
|
780
|
+
};
|
|
652
781
|
|
|
653
782
|
/**
|
|
654
|
-
*
|
|
783
|
+
* Scanning side on which the specific result is located.
|
|
655
784
|
*
|
|
656
785
|
*/
|
|
657
|
-
export
|
|
786
|
+
export type Side = {
|
|
658
787
|
/**
|
|
659
|
-
*
|
|
788
|
+
* Scanning side of the result extracted from the OCR in the latin alphabet.
|
|
660
789
|
*
|
|
661
790
|
*/
|
|
662
|
-
latin?:
|
|
791
|
+
latin?: ScanningSide;
|
|
663
792
|
|
|
664
793
|
/**
|
|
665
|
-
*
|
|
794
|
+
* Scanning side of the result extracted from the OCR in the arabic alphabet.
|
|
666
795
|
*
|
|
667
796
|
*/
|
|
668
|
-
arabic?:
|
|
797
|
+
arabic?: ScanningSide;
|
|
669
798
|
|
|
670
799
|
/**
|
|
671
|
-
*
|
|
800
|
+
* Scanning side of the result extracted from the OCR in the cyrillic alphabet.
|
|
672
801
|
*
|
|
673
802
|
*/
|
|
674
|
-
cyrillic?:
|
|
803
|
+
cyrillic?: ScanningSide;
|
|
675
804
|
|
|
676
805
|
/**
|
|
677
|
-
*
|
|
806
|
+
* Scanning side of the result extracted from the OCR in the greek alphabet.
|
|
678
807
|
*
|
|
679
808
|
*/
|
|
680
|
-
greek?:
|
|
681
|
-
|
|
682
|
-
/**
|
|
683
|
-
*
|
|
684
|
-
* @param nativeSide
|
|
685
|
-
*
|
|
686
|
-
*/
|
|
687
|
-
constructor(nativeSide: any) {
|
|
688
|
-
this.latin = nativeSide.latin;
|
|
689
|
-
this.arabic = nativeSide.arabic;
|
|
690
|
-
this.cyrillic = nativeSide.cyrillic;
|
|
691
|
-
this.greek = nativeSide.greek;
|
|
692
|
-
}
|
|
693
|
-
}
|
|
809
|
+
greek?: ScanningSide;
|
|
810
|
+
};
|
|
694
811
|
|
|
695
812
|
/**
|
|
696
813
|
* Represents the result of the date extraction.
|
|
697
814
|
*
|
|
698
815
|
* Contains the extracted date, along with additional date information.
|
|
699
816
|
*/
|
|
700
|
-
export
|
|
817
|
+
export type DateResult<T> = {
|
|
701
818
|
/**
|
|
702
819
|
* The extracted date information.
|
|
703
820
|
*
|
|
@@ -723,22 +840,13 @@ export class DateResult<T> {
|
|
|
723
840
|
*
|
|
724
841
|
*/
|
|
725
842
|
successfullyParsed?: boolean;
|
|
726
|
-
|
|
727
|
-
constructor(nativeDateResult: any) {
|
|
728
|
-
this.date = nativeDateResult.date;
|
|
729
|
-
this.originalString = BlinkIdUtilities.handleStringType<T>(
|
|
730
|
-
nativeDateResult.originalString,
|
|
731
|
-
);
|
|
732
|
-
this.isFilledByDomainKnowledge = nativeDateResult.isFilledByDomainKnowledge;
|
|
733
|
-
this.successfullyParsed = nativeDateResult.successfullyParsed;
|
|
734
|
-
}
|
|
735
|
-
}
|
|
843
|
+
};
|
|
736
844
|
|
|
737
845
|
/**
|
|
738
846
|
* Represents the extracted date.
|
|
739
847
|
*
|
|
740
848
|
*/
|
|
741
|
-
export
|
|
849
|
+
export type Date = {
|
|
742
850
|
/**
|
|
743
851
|
* Day of the month.
|
|
744
852
|
*
|
|
@@ -757,23 +865,13 @@ export class Date {
|
|
|
757
865
|
*
|
|
758
866
|
*/
|
|
759
867
|
year?: number;
|
|
760
|
-
|
|
761
|
-
/**
|
|
762
|
-
*
|
|
763
|
-
* @param nativeDate
|
|
764
|
-
*/
|
|
765
|
-
constructor(nativeDate: any) {
|
|
766
|
-
this.day = nativeDate.day;
|
|
767
|
-
this.month = nativeDate.month;
|
|
768
|
-
this.year = nativeDate.year;
|
|
769
|
-
}
|
|
770
|
-
}
|
|
868
|
+
};
|
|
771
869
|
|
|
772
870
|
/**
|
|
773
871
|
* Represents detailed extracted information about the driver license.
|
|
774
872
|
*
|
|
775
873
|
*/
|
|
776
|
-
export
|
|
874
|
+
export type DriverLicenseDetailedInfo<T> = {
|
|
777
875
|
/**
|
|
778
876
|
* The restrictions to driving privileges for the United States driver license owner.
|
|
779
877
|
*
|
|
@@ -806,27 +904,13 @@ export class DriverLicenseDetailedInfo<T> {
|
|
|
806
904
|
* See {@link VehicleClassInfo} for more information.
|
|
807
905
|
*/
|
|
808
906
|
vehicleClassesInfo?: VehicleClassInfo<T>[];
|
|
809
|
-
|
|
810
|
-
constructor(nativeDriverLicenseDetailedInfo: any) {
|
|
811
|
-
this.restrictions = BlinkIdUtilities.handleStringType(
|
|
812
|
-
nativeDriverLicenseDetailedInfo.restrictions,
|
|
813
|
-
);
|
|
814
|
-
this.endorsements = BlinkIdUtilities.handleStringType(
|
|
815
|
-
nativeDriverLicenseDetailedInfo.endorsements,
|
|
816
|
-
);
|
|
817
|
-
this.vehicleClass = BlinkIdUtilities.handleStringType(
|
|
818
|
-
nativeDriverLicenseDetailedInfo.vehicleClass,
|
|
819
|
-
);
|
|
820
|
-
this.vehicleClassesInfo =
|
|
821
|
-
nativeDriverLicenseDetailedInfo.vehicleClassesInfo;
|
|
822
|
-
}
|
|
823
|
-
}
|
|
907
|
+
};
|
|
824
908
|
|
|
825
909
|
/**
|
|
826
910
|
* Represents the information about the vehicle class extraction.
|
|
827
911
|
*
|
|
828
912
|
*/
|
|
829
|
-
export
|
|
913
|
+
export type VehicleClassInfo<T> = {
|
|
830
914
|
/**
|
|
831
915
|
* The type of driver licence.
|
|
832
916
|
*
|
|
@@ -852,24 +936,13 @@ export class VehicleClassInfo<T> {
|
|
|
852
936
|
* See {@link DateResult} for more information.
|
|
853
937
|
*/
|
|
854
938
|
expiryDate?: DateResult<T>;
|
|
855
|
-
|
|
856
|
-
constructor(nativeVehicleClassInfo: any) {
|
|
857
|
-
this.licenceType = BlinkIdUtilities.handleStringType<T>(
|
|
858
|
-
nativeVehicleClassInfo.licenceType,
|
|
859
|
-
);
|
|
860
|
-
this.vehicleClass = BlinkIdUtilities.handleStringType<T>(
|
|
861
|
-
nativeVehicleClassInfo.vehicleClass,
|
|
862
|
-
);
|
|
863
|
-
this.effectiveDate = nativeVehicleClassInfo.effectiveDate;
|
|
864
|
-
this.expiryDate = nativeVehicleClassInfo.expiryDate;
|
|
865
|
-
}
|
|
866
|
-
}
|
|
939
|
+
};
|
|
867
940
|
|
|
868
941
|
/**
|
|
869
942
|
* Information about the dependent.
|
|
870
943
|
*
|
|
871
944
|
*/
|
|
872
|
-
export
|
|
945
|
+
export type DependentInfo = {
|
|
873
946
|
/**
|
|
874
947
|
* The date of birth of the dependent.
|
|
875
948
|
*
|
|
@@ -899,21 +972,13 @@ export class DependentInfo {
|
|
|
899
972
|
*
|
|
900
973
|
*/
|
|
901
974
|
empty?: boolean;
|
|
902
|
-
|
|
903
|
-
constructor(nativeDependentInfo: any) {
|
|
904
|
-
this.dateOfBirth = nativeDependentInfo.dateOfBirth;
|
|
905
|
-
this.sex = nativeDependentInfo.sex;
|
|
906
|
-
this.documentNumber = nativeDependentInfo.documentNumber;
|
|
907
|
-
this.fullName = nativeDependentInfo.fullName;
|
|
908
|
-
this.empty = nativeDependentInfo.empty;
|
|
909
|
-
}
|
|
910
|
-
}
|
|
975
|
+
};
|
|
911
976
|
|
|
912
977
|
/**
|
|
913
978
|
* Represents the result of the image crop transformation with additional details.
|
|
914
979
|
*
|
|
915
980
|
*/
|
|
916
|
-
export
|
|
981
|
+
export type DetailedCroppedImageResult = {
|
|
917
982
|
/**
|
|
918
983
|
* The cropped image in the Base64 format
|
|
919
984
|
*
|
|
@@ -931,24 +996,7 @@ export class DetailedCroppedImageResult {
|
|
|
931
996
|
*
|
|
932
997
|
*/
|
|
933
998
|
location?: Rectangle;
|
|
934
|
-
|
|
935
|
-
/**
|
|
936
|
-
*
|
|
937
|
-
* @param nativeDetailedCroppedImageResult
|
|
938
|
-
*
|
|
939
|
-
*/
|
|
940
|
-
constructor(nativeDetailedCroppedImageResult: any) {
|
|
941
|
-
this.image = nativeDetailedCroppedImageResult.image;
|
|
942
|
-
this.side =
|
|
943
|
-
nativeDetailedCroppedImageResult.side != undefined
|
|
944
|
-
? (nativeDetailedCroppedImageResult.side as ScanningSide)
|
|
945
|
-
: undefined;
|
|
946
|
-
this.location =
|
|
947
|
-
nativeDetailedCroppedImageResult.location != undefined
|
|
948
|
-
? new Rectangle(nativeDetailedCroppedImageResult.location)
|
|
949
|
-
: undefined;
|
|
950
|
-
}
|
|
951
|
-
}
|
|
999
|
+
};
|
|
952
1000
|
|
|
953
1001
|
/**
|
|
954
1002
|
* Represents the result of scanning a single side of the document.
|
|
@@ -956,7 +1004,7 @@ export class DetailedCroppedImageResult {
|
|
|
956
1004
|
* Contains the data extracted from the Visual Inspection Zone, Machine Readable Zone,
|
|
957
1005
|
* barcode, the input image, and the cropped document, face, and signature images.
|
|
958
1006
|
*/
|
|
959
|
-
export
|
|
1007
|
+
export type SingleSideScanningResult = {
|
|
960
1008
|
/**
|
|
961
1009
|
* The data extracted from the Visual Inspection Zone.
|
|
962
1010
|
*
|
|
@@ -982,10 +1030,11 @@ export class SingleSideScanningResult {
|
|
|
982
1030
|
inputImage?: string;
|
|
983
1031
|
|
|
984
1032
|
/**
|
|
985
|
-
* The
|
|
1033
|
+
* The cropped barcode image in the Base64 format when
|
|
1034
|
+
* {@link BarcodeModuleSettings.barcodeImageReturnEnabled} is enabled.
|
|
986
1035
|
*
|
|
987
1036
|
*/
|
|
988
|
-
|
|
1037
|
+
barcodeImage?: string;
|
|
989
1038
|
|
|
990
1039
|
/**
|
|
991
1040
|
* The cropped document image in the Base64 format.
|
|
@@ -1004,29 +1053,13 @@ export class SingleSideScanningResult {
|
|
|
1004
1053
|
*
|
|
1005
1054
|
*/
|
|
1006
1055
|
signatureImage?: DetailedCroppedImageResult;
|
|
1007
|
-
|
|
1008
|
-
/**
|
|
1009
|
-
*
|
|
1010
|
-
* @param nativeSingleSideScanningResult - specifies the single side scanning result obtained from the native SDK.
|
|
1011
|
-
*
|
|
1012
|
-
*/
|
|
1013
|
-
constructor(nativeSingleSideScanningResult: any) {
|
|
1014
|
-
this.viz = nativeSingleSideScanningResult.viz;
|
|
1015
|
-
this.mrz = nativeSingleSideScanningResult.mrz;
|
|
1016
|
-
this.barcode = nativeSingleSideScanningResult.barcode;
|
|
1017
|
-
this.inputImage = nativeSingleSideScanningResult.inputImage;
|
|
1018
|
-
this.barcodeInputImage = nativeSingleSideScanningResult.barcodeInputImage;
|
|
1019
|
-
this.documentImage = nativeSingleSideScanningResult.documentImage;
|
|
1020
|
-
this.faceImage = nativeSingleSideScanningResult.faceImage;
|
|
1021
|
-
this.signatureImage = nativeSingleSideScanningResult.signatureImage;
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1056
|
+
};
|
|
1024
1057
|
|
|
1025
1058
|
/**
|
|
1026
1059
|
* Represents the result of the Visual Inspection Zone of a document.
|
|
1027
1060
|
*
|
|
1028
1061
|
*/
|
|
1029
|
-
export
|
|
1062
|
+
export type VizResult = {
|
|
1030
1063
|
/**
|
|
1031
1064
|
* The first name of the document owner.
|
|
1032
1065
|
*
|
|
@@ -1243,6 +1276,11 @@ export class VizResult {
|
|
|
1243
1276
|
*/
|
|
1244
1277
|
documentNumber?: StringResult;
|
|
1245
1278
|
|
|
1279
|
+
/**
|
|
1280
|
+
* The card access number
|
|
1281
|
+
*/
|
|
1282
|
+
cardAccessNumber?: StringResult;
|
|
1283
|
+
|
|
1246
1284
|
/**
|
|
1247
1285
|
* The personal identification number.
|
|
1248
1286
|
*
|
|
@@ -1387,87 +1425,13 @@ export class VizResult {
|
|
|
1387
1425
|
* The work restriction of the document owner.
|
|
1388
1426
|
*/
|
|
1389
1427
|
workRestriction?: StringResult;
|
|
1390
|
-
|
|
1391
|
-
/**
|
|
1392
|
-
*
|
|
1393
|
-
* @param nativeVizResult
|
|
1394
|
-
*
|
|
1395
|
-
*/
|
|
1396
|
-
constructor(nativeVizResult: any) {
|
|
1397
|
-
this.firstName = nativeVizResult.firstName;
|
|
1398
|
-
this.lastName = nativeVizResult.lastName;
|
|
1399
|
-
this.fullName = nativeVizResult.fullName;
|
|
1400
|
-
this.additionalNameInformation = nativeVizResult.additionalNameInformation;
|
|
1401
|
-
this.localizedName = nativeVizResult.localizedName;
|
|
1402
|
-
this.fathersName = nativeVizResult.fathersName;
|
|
1403
|
-
this.mothersName = nativeVizResult.mothersName;
|
|
1404
|
-
this.address = nativeVizResult.address;
|
|
1405
|
-
this.additionalAddressInformation =
|
|
1406
|
-
nativeVizResult.additionalAddressInformation;
|
|
1407
|
-
this.additionalOptionalAddressInformation =
|
|
1408
|
-
nativeVizResult.additionalOptionalAddressInformation;
|
|
1409
|
-
this.placeOfBirth = nativeVizResult.placeOfBirth;
|
|
1410
|
-
this.nationality = nativeVizResult.nationality;
|
|
1411
|
-
this.race = nativeVizResult.race;
|
|
1412
|
-
this.religion = nativeVizResult.religion;
|
|
1413
|
-
this.profession = nativeVizResult.profession;
|
|
1414
|
-
this.maritalStatus = nativeVizResult.maritalStatus;
|
|
1415
|
-
this.residentialStatus = nativeVizResult.residentialStatus;
|
|
1416
|
-
this.employer = nativeVizResult.employer;
|
|
1417
|
-
this.sex = nativeVizResult.sex;
|
|
1418
|
-
this.sponsor = nativeVizResult.sponsor;
|
|
1419
|
-
this.bloodType = nativeVizResult.bloodType;
|
|
1420
|
-
this.dateOfBirth = nativeVizResult.dateOfBirth;
|
|
1421
|
-
this.dateOfIssue = nativeVizResult.dateOfIssue;
|
|
1422
|
-
this.dateOfExpiry = nativeVizResult.dateOfExpiry;
|
|
1423
|
-
this.dateOfEntry = nativeVizResult.dateOfEntry;
|
|
1424
|
-
this.localityCode = nativeVizResult.localityCode;
|
|
1425
|
-
this.maidenName = nativeVizResult.maidenName;
|
|
1426
|
-
this.municipalityCode = nativeVizResult.municipalityCode;
|
|
1427
|
-
this.municipalityOfRegistration =
|
|
1428
|
-
nativeVizResult.municipalityOfRegistration;
|
|
1429
|
-
this.pollingStationCode = nativeVizResult.pollingStationCode;
|
|
1430
|
-
this.registrationCenterCode = nativeVizResult.registrationCenterCode;
|
|
1431
|
-
this.sectionCode = nativeVizResult.sectionCode;
|
|
1432
|
-
this.stateCode = nativeVizResult.stateCode;
|
|
1433
|
-
this.stateName = nativeVizResult.stateName;
|
|
1434
|
-
this.dateOfExpiryPermanent = nativeVizResult.dateOfExpiryPermanent;
|
|
1435
|
-
this.documentNumber = nativeVizResult.documentNumber;
|
|
1436
|
-
this.personalIdNumber = nativeVizResult.personalIdNumber;
|
|
1437
|
-
this.documentAdditionalNumber = nativeVizResult.documentAdditionalNumber;
|
|
1438
|
-
this.documentOptionalAdditionalNumber =
|
|
1439
|
-
nativeVizResult.documentOptionalAdditionalNumber;
|
|
1440
|
-
this.additionalPersonalIdNumber =
|
|
1441
|
-
nativeVizResult.additionalPersonalIdNumber;
|
|
1442
|
-
this.issuingAuthority = nativeVizResult.issuingAuthority;
|
|
1443
|
-
this.visaType = nativeVizResult.visaType;
|
|
1444
|
-
this.driverLicenseDetailedInfo = nativeVizResult.driverLicenseDetailedInfo;
|
|
1445
|
-
this.documentSubtype = nativeVizResult.documentSubtype;
|
|
1446
|
-
this.remarks = nativeVizResult.remarks;
|
|
1447
|
-
this.residencePermitType = nativeVizResult.residencePermitType;
|
|
1448
|
-
this.manufacturingYear = nativeVizResult.manufacturingYear;
|
|
1449
|
-
this.vehicleType = nativeVizResult.vehicleType;
|
|
1450
|
-
this.eligibilityCategory = nativeVizResult.eligibilityCategory;
|
|
1451
|
-
this.specificDocumentValidity = nativeVizResult.specificDocumentValidity;
|
|
1452
|
-
this.dependentsInfo = nativeVizResult.dependentsInfo;
|
|
1453
|
-
this.vehicleOwner = nativeVizResult.vehicleOwner;
|
|
1454
|
-
this.countryCode = nativeVizResult.countryCode;
|
|
1455
|
-
this.certificateNumber = nativeVizResult.certificateNumber;
|
|
1456
|
-
this.nationalInsuranceNumber = nativeVizResult.nationalInsuranceNumber;
|
|
1457
|
-
this.effectiveDate = nativeVizResult.effectiveDate;
|
|
1458
|
-
this.parentsInfo = nativeVizResult.parentsInfo;
|
|
1459
|
-
this.husbandName = nativeVizResult.husbandName;
|
|
1460
|
-
this.legalStatus = nativeVizResult.legalStatus;
|
|
1461
|
-
this.socialSecurityStatus = nativeVizResult.socialSecurityStatus;
|
|
1462
|
-
this.workRestriction = nativeVizResult.workRestriction;
|
|
1463
|
-
}
|
|
1464
|
-
}
|
|
1428
|
+
};
|
|
1465
1429
|
|
|
1466
1430
|
/**
|
|
1467
1431
|
* Represents the result of the MRZ recognition.
|
|
1468
1432
|
*
|
|
1469
1433
|
*/
|
|
1470
|
-
export
|
|
1434
|
+
export type MrzResult = {
|
|
1471
1435
|
/**
|
|
1472
1436
|
* The entire Machine Readable Zone text from ID.
|
|
1473
1437
|
*
|
|
@@ -1620,43 +1584,13 @@ export class MrzResult {
|
|
|
1620
1584
|
* Result without additional '<' characters if they exist.
|
|
1621
1585
|
*/
|
|
1622
1586
|
sanitizedDocumentNumber?: string;
|
|
1623
|
-
|
|
1624
|
-
/**
|
|
1625
|
-
*
|
|
1626
|
-
* @param nativeMrzResult
|
|
1627
|
-
*
|
|
1628
|
-
*/
|
|
1629
|
-
constructor(nativeMrzResult: any) {
|
|
1630
|
-
this.rawMRZString = nativeMrzResult.rawMRZString;
|
|
1631
|
-
this.documentCode = nativeMrzResult.documentCode;
|
|
1632
|
-
this.issuer = nativeMrzResult.issuer;
|
|
1633
|
-
this.documentNumber = nativeMrzResult.documentNumber;
|
|
1634
|
-
this.opt1 = nativeMrzResult.opt1;
|
|
1635
|
-
this.opt2 = nativeMrzResult.opt2;
|
|
1636
|
-
this.gender = nativeMrzResult.gender;
|
|
1637
|
-
this.nationality = nativeMrzResult.nationality;
|
|
1638
|
-
this.primaryID = nativeMrzResult.primaryID;
|
|
1639
|
-
this.secondaryID = nativeMrzResult.secondaryID;
|
|
1640
|
-
this.issuerName = nativeMrzResult.issuerName;
|
|
1641
|
-
this.nationalityName = nativeMrzResult.nationalityName;
|
|
1642
|
-
this.verified = nativeMrzResult.verified;
|
|
1643
|
-
this.dateOfBirth = nativeMrzResult.dateOfBirth;
|
|
1644
|
-
this.dateOfExpiry = nativeMrzResult.dateOfExpiry;
|
|
1645
|
-
this.documentType = nativeMrzResult.documentType;
|
|
1646
|
-
this.sanitizedOpt1 = nativeMrzResult.sanitizedOpt1;
|
|
1647
|
-
this.sanitizedOpt2 = nativeMrzResult.sanitizedOpt2;
|
|
1648
|
-
this.sanitizedNationality = nativeMrzResult.sanitizedNationality;
|
|
1649
|
-
this.sanitizedIssuer = nativeMrzResult.sanitizedIssuer;
|
|
1650
|
-
this.sanitizedDocumentCode = nativeMrzResult.sanitizedDocumentCode;
|
|
1651
|
-
this.sanitizedDocumentNumber = nativeMrzResult.sanitizedDocumentNumber;
|
|
1652
|
-
}
|
|
1653
|
-
}
|
|
1587
|
+
};
|
|
1654
1588
|
|
|
1655
1589
|
/**
|
|
1656
1590
|
* Represents the data extracted from the barcode.
|
|
1657
1591
|
*
|
|
1658
1592
|
*/
|
|
1659
|
-
export
|
|
1593
|
+
export type BarcodeResult = {
|
|
1660
1594
|
/**
|
|
1661
1595
|
* The raw, unparsed barcode data.
|
|
1662
1596
|
*
|
|
@@ -1817,50 +1751,13 @@ export class BarcodeResult {
|
|
|
1817
1751
|
* Indicates whether the barcode was successfully parsed.
|
|
1818
1752
|
*/
|
|
1819
1753
|
parsed?: boolean;
|
|
1820
|
-
|
|
1821
|
-
/**
|
|
1822
|
-
*
|
|
1823
|
-
* @param nativeBarcodeResult
|
|
1824
|
-
*/
|
|
1825
|
-
constructor(nativeBarcodeResult: any) {
|
|
1826
|
-
this.barcodeData = nativeBarcodeResult.barcodeData;
|
|
1827
|
-
this.firstName = nativeBarcodeResult.firstName;
|
|
1828
|
-
this.middleName = nativeBarcodeResult.middleName;
|
|
1829
|
-
this.lastName = nativeBarcodeResult.lastName;
|
|
1830
|
-
this.fullName = nativeBarcodeResult.fullName;
|
|
1831
|
-
this.additionalNameInformation =
|
|
1832
|
-
nativeBarcodeResult.additionalNameInformation;
|
|
1833
|
-
this.address = nativeBarcodeResult.address;
|
|
1834
|
-
this.placeOfBirth = nativeBarcodeResult.placeOfBirth;
|
|
1835
|
-
this.nationality = nativeBarcodeResult.nationality;
|
|
1836
|
-
this.race = nativeBarcodeResult.race;
|
|
1837
|
-
this.religion = nativeBarcodeResult.religion;
|
|
1838
|
-
this.profession = nativeBarcodeResult.profession;
|
|
1839
|
-
this.maritalStatus = nativeBarcodeResult.maritalStatus;
|
|
1840
|
-
this.residentialStatus = nativeBarcodeResult.residentialStatus;
|
|
1841
|
-
this.employer = nativeBarcodeResult.employer;
|
|
1842
|
-
this.sex = nativeBarcodeResult.sex;
|
|
1843
|
-
this.dateOfBirth = nativeBarcodeResult.dateOfBirth;
|
|
1844
|
-
this.dateOfIssue = nativeBarcodeResult.dateOfIssue;
|
|
1845
|
-
this.dateOfExpiry = nativeBarcodeResult.dateOfExpiry;
|
|
1846
|
-
this.documentNumber = nativeBarcodeResult.documentNumber;
|
|
1847
|
-
this.personalIdNumber = nativeBarcodeResult.personalIdNumber;
|
|
1848
|
-
this.documentAdditionalNumber =
|
|
1849
|
-
nativeBarcodeResult.documentAdditionalNumber;
|
|
1850
|
-
this.issuingAuthority = nativeBarcodeResult.issuingAuthority;
|
|
1851
|
-
this.addressDetailedInfo = nativeBarcodeResult.addressDetailedInfo;
|
|
1852
|
-
this.driverLicenseDetailedInfo =
|
|
1853
|
-
nativeBarcodeResult.driverLicenseDetailedInfo;
|
|
1854
|
-
this.extendedElements = nativeBarcodeResult.extendedElements;
|
|
1855
|
-
this.parsed = nativeBarcodeResult.parsed;
|
|
1856
|
-
}
|
|
1857
|
-
}
|
|
1754
|
+
};
|
|
1858
1755
|
|
|
1859
1756
|
/**
|
|
1860
1757
|
* Represents the raw, unparsed data extracted from a scanned barcode.
|
|
1861
1758
|
*
|
|
1862
1759
|
*/
|
|
1863
|
-
export
|
|
1760
|
+
export type BarcodeData = {
|
|
1864
1761
|
/**
|
|
1865
1762
|
* Type of the scanned barcode.
|
|
1866
1763
|
*
|
|
@@ -1884,24 +1781,13 @@ export class BarcodeData {
|
|
|
1884
1781
|
*
|
|
1885
1782
|
*/
|
|
1886
1783
|
uncertain?: boolean;
|
|
1887
|
-
|
|
1888
|
-
/**
|
|
1889
|
-
*
|
|
1890
|
-
* @param nativeBarcodeData - specifies the barcode data obtained from the native SDK.
|
|
1891
|
-
*/
|
|
1892
|
-
constructor(nativeBarcodeData: any) {
|
|
1893
|
-
this.barcodeType = nativeBarcodeData.barcodeType;
|
|
1894
|
-
this.rawData = nativeBarcodeData.rawData;
|
|
1895
|
-
this.stringData = nativeBarcodeData.stringData;
|
|
1896
|
-
this.uncertain = nativeBarcodeData.uncertain;
|
|
1897
|
-
}
|
|
1898
|
-
}
|
|
1784
|
+
};
|
|
1899
1785
|
|
|
1900
1786
|
/**
|
|
1901
1787
|
* Detailed information about the address.
|
|
1902
1788
|
*
|
|
1903
1789
|
*/
|
|
1904
|
-
export
|
|
1790
|
+
export type AddressDetailedInfo = {
|
|
1905
1791
|
/**
|
|
1906
1792
|
* he address street portion of the document owner.
|
|
1907
1793
|
*
|
|
@@ -1925,24 +1811,12 @@ export class AddressDetailedInfo {
|
|
|
1925
1811
|
*
|
|
1926
1812
|
*/
|
|
1927
1813
|
jurisdiction?: string;
|
|
1928
|
-
|
|
1929
|
-
/**
|
|
1930
|
-
*
|
|
1931
|
-
* @param nativeAddressDetailedInfo - specificies the address detailed info obtained from the native SDK.
|
|
1932
|
-
*
|
|
1933
|
-
*/
|
|
1934
|
-
constructor(nativeAddressDetailedInfo: any) {
|
|
1935
|
-
this.street = nativeAddressDetailedInfo.street;
|
|
1936
|
-
this.postalCode = nativeAddressDetailedInfo.postalCode;
|
|
1937
|
-
this.city = nativeAddressDetailedInfo.city;
|
|
1938
|
-
this.jurisdiction = nativeAddressDetailedInfo.jurisdiction;
|
|
1939
|
-
}
|
|
1940
|
-
}
|
|
1814
|
+
};
|
|
1941
1815
|
/**
|
|
1942
1816
|
* Represents the fields present in the barcode.
|
|
1943
1817
|
* Currently this is only used for AAMVACompliant documents.
|
|
1944
1818
|
*/
|
|
1945
|
-
export
|
|
1819
|
+
export type BarcodeExtendedElements = {
|
|
1946
1820
|
/**
|
|
1947
1821
|
* Mandatory on all AAMVA and Magnetic barcodes.
|
|
1948
1822
|
* On compact barcodes, use kFullAddress.
|
|
@@ -2806,136 +2680,12 @@ export class BarcodeExtendedElements {
|
|
|
2806
2680
|
* For example: ANSI 636010090002DL00410267ZF03080067DLDAQS1234567812300000000000000 ^^ | | | +-- SubField Designator (DL, ID, EN, etc.) +----- IIN (636010)
|
|
2807
2681
|
*/
|
|
2808
2682
|
subFieldDesignator?: string;
|
|
2809
|
-
|
|
2810
|
-
/**
|
|
2811
|
-
*
|
|
2812
|
-
* @param nativeBarcodeExtendedElements - specifies the extended barcode elements obtained from the native SDK.
|
|
2813
|
-
*/
|
|
2814
|
-
constructor(nativeBarcodeExtendedElements: any) {
|
|
2815
|
-
this.addressCity = nativeBarcodeExtendedElements.addressCity;
|
|
2816
|
-
this.addressJurisdictionCode =
|
|
2817
|
-
nativeBarcodeExtendedElements.addressJurisdictionCode;
|
|
2818
|
-
this.addressPostalCode = nativeBarcodeExtendedElements.addressPostalCode;
|
|
2819
|
-
this.addressStreet = nativeBarcodeExtendedElements.addressStreet;
|
|
2820
|
-
this.addressStreet2 = nativeBarcodeExtendedElements.addressStreet2;
|
|
2821
|
-
this.akaDateOfBirth = nativeBarcodeExtendedElements.akaDateOfBirth;
|
|
2822
|
-
this.akaFamilyName = nativeBarcodeExtendedElements.akaFamilyName;
|
|
2823
|
-
this.akaFullName = nativeBarcodeExtendedElements.akaFullName;
|
|
2824
|
-
this.akaGivenName = nativeBarcodeExtendedElements.akaGivenName;
|
|
2825
|
-
this.akaMiddleName = nativeBarcodeExtendedElements.akaMiddleName;
|
|
2826
|
-
this.akaPrefixName = nativeBarcodeExtendedElements.akaPrefixName;
|
|
2827
|
-
this.akaSocialSecurityNumber =
|
|
2828
|
-
nativeBarcodeExtendedElements.akaSocialSecurityNumber;
|
|
2829
|
-
this.akaSuffixName = nativeBarcodeExtendedElements.akaSuffixName;
|
|
2830
|
-
this.auditInformation = nativeBarcodeExtendedElements.auditInformation;
|
|
2831
|
-
this.cardRevisionDate = nativeBarcodeExtendedElements.cardRevisionDate;
|
|
2832
|
-
this.complianceType = nativeBarcodeExtendedElements.complianceType;
|
|
2833
|
-
this.countryIdentification =
|
|
2834
|
-
nativeBarcodeExtendedElements.countryIdentification;
|
|
2835
|
-
this.customerFamilyName = nativeBarcodeExtendedElements.customerFamilyName;
|
|
2836
|
-
this.customerIdNumber = nativeBarcodeExtendedElements.customerIdNumber;
|
|
2837
|
-
this.customerFirstName = nativeBarcodeExtendedElements.customerFirstName;
|
|
2838
|
-
this.customerFullName = nativeBarcodeExtendedElements.customerFullName;
|
|
2839
|
-
this.customerMiddleName = nativeBarcodeExtendedElements.customerMiddleName;
|
|
2840
|
-
this.dataDiscriminator = nativeBarcodeExtendedElements.dataDiscriminator;
|
|
2841
|
-
this.dateOfBirth = nativeBarcodeExtendedElements.dateOfBirth;
|
|
2842
|
-
this.documentDiscriminator =
|
|
2843
|
-
nativeBarcodeExtendedElements.documentDiscriminator;
|
|
2844
|
-
this.documentExpirationDate =
|
|
2845
|
-
nativeBarcodeExtendedElements.documentExpirationDate;
|
|
2846
|
-
this.documentExpirationMonth =
|
|
2847
|
-
nativeBarcodeExtendedElements.documentExpirationMonth;
|
|
2848
|
-
this.documentIssueDate = nativeBarcodeExtendedElements.documentIssueDate;
|
|
2849
|
-
this.documentNonexpiring =
|
|
2850
|
-
nativeBarcodeExtendedElements.documentNonexpiring;
|
|
2851
|
-
this.documentType = nativeBarcodeExtendedElements.documentType;
|
|
2852
|
-
this.eyeColor = nativeBarcodeExtendedElements.eyeColor;
|
|
2853
|
-
this.familyNameTruncation =
|
|
2854
|
-
nativeBarcodeExtendedElements.familyNameTruncation;
|
|
2855
|
-
this.federalCommercialVehicleCodes =
|
|
2856
|
-
nativeBarcodeExtendedElements.federalCommercialVehicleCodes;
|
|
2857
|
-
this.firstNameTruncation =
|
|
2858
|
-
nativeBarcodeExtendedElements.firstNameTruncation;
|
|
2859
|
-
this.fullAddress = nativeBarcodeExtendedElements.fullAddress;
|
|
2860
|
-
this.hairColor = nativeBarcodeExtendedElements.hairColor;
|
|
2861
|
-
this.height = nativeBarcodeExtendedElements.height;
|
|
2862
|
-
this.heightIn = nativeBarcodeExtendedElements.heightIn;
|
|
2863
|
-
this.heightCm = nativeBarcodeExtendedElements.heightCm;
|
|
2864
|
-
this.issuerIdentificationNumber =
|
|
2865
|
-
nativeBarcodeExtendedElements.issuerIdentificationNumber;
|
|
2866
|
-
this.issuingJurisdiction =
|
|
2867
|
-
nativeBarcodeExtendedElements.issuingJurisdiction;
|
|
2868
|
-
this.issuingJurisdictionName =
|
|
2869
|
-
nativeBarcodeExtendedElements.issuingJurisdictionName;
|
|
2870
|
-
this.jurisdictionEndorsementCodes =
|
|
2871
|
-
nativeBarcodeExtendedElements.jurisdictionEndorsementCodes;
|
|
2872
|
-
this.jurisdictionEndorsmentCodeDescription =
|
|
2873
|
-
nativeBarcodeExtendedElements.jurisdictionEndorsmentCodeDescription;
|
|
2874
|
-
this.jurisdictionRestrictionCodeDescription =
|
|
2875
|
-
nativeBarcodeExtendedElements.jurisdictionRestrictionCodeDescription;
|
|
2876
|
-
this.jurisdictionRestrictionCodes =
|
|
2877
|
-
nativeBarcodeExtendedElements.jurisdictionRestrictionCodes;
|
|
2878
|
-
this.jurisdictionVehicleClass =
|
|
2879
|
-
nativeBarcodeExtendedElements.jurisdictionVehicleClass;
|
|
2880
|
-
this.jurisdictionVehicleClassificationDescription =
|
|
2881
|
-
nativeBarcodeExtendedElements.jurisdictionVehicleClassificationDescription;
|
|
2882
|
-
this.jurisdictionVersionNumber =
|
|
2883
|
-
nativeBarcodeExtendedElements.jurisdictionVersionNumber;
|
|
2884
|
-
this.limitedDurationDocument =
|
|
2885
|
-
nativeBarcodeExtendedElements.limitedDurationDocument;
|
|
2886
|
-
this.medicalIndicator = nativeBarcodeExtendedElements.medicalIndicator;
|
|
2887
|
-
this.middleNameTruncation =
|
|
2888
|
-
nativeBarcodeExtendedElements.middleNameTruncation;
|
|
2889
|
-
this.namePrefix = nativeBarcodeExtendedElements.namePrefix;
|
|
2890
|
-
this.nameSuffix = nativeBarcodeExtendedElements.nameSuffix;
|
|
2891
|
-
this.nonResident = nativeBarcodeExtendedElements.nonResident;
|
|
2892
|
-
this.numberOfDuplicates = nativeBarcodeExtendedElements.numberOfDuplicates;
|
|
2893
|
-
this.organDonor = nativeBarcodeExtendedElements.organDonor;
|
|
2894
|
-
this.permitExpirationDate =
|
|
2895
|
-
nativeBarcodeExtendedElements.permitExpirationDate;
|
|
2896
|
-
this.permitIdentifier = nativeBarcodeExtendedElements.permitIdentifier;
|
|
2897
|
-
this.permitIssueDate = nativeBarcodeExtendedElements.permitIssueDate;
|
|
2898
|
-
this.placeOfBirth = nativeBarcodeExtendedElements.placeOfBirth;
|
|
2899
|
-
this.raceEthnicity = nativeBarcodeExtendedElements.raceEthnicity;
|
|
2900
|
-
this.residenceCity = nativeBarcodeExtendedElements.residenceCity;
|
|
2901
|
-
this.residenceFullAddress =
|
|
2902
|
-
nativeBarcodeExtendedElements.residenceFullAddress;
|
|
2903
|
-
this.residenceJurisdictionCode =
|
|
2904
|
-
nativeBarcodeExtendedElements.residenceJurisdictionCode;
|
|
2905
|
-
this.residencePostalCode =
|
|
2906
|
-
nativeBarcodeExtendedElements.residencePostalCode;
|
|
2907
|
-
this.residenceStreetAddress =
|
|
2908
|
-
nativeBarcodeExtendedElements.residenceStreetAddress;
|
|
2909
|
-
this.residenceStreetAddress2 =
|
|
2910
|
-
nativeBarcodeExtendedElements.residenceStreetAddress2;
|
|
2911
|
-
this.securityVersion = nativeBarcodeExtendedElements.securityVersion;
|
|
2912
|
-
this.sex = nativeBarcodeExtendedElements.sex;
|
|
2913
|
-
this.socialSecurityNumber =
|
|
2914
|
-
nativeBarcodeExtendedElements.socialSecurityNumber;
|
|
2915
|
-
this.standardEndorsementCode =
|
|
2916
|
-
nativeBarcodeExtendedElements.standardEndorsementCode;
|
|
2917
|
-
this.standardRestrictionCode =
|
|
2918
|
-
nativeBarcodeExtendedElements.standardRestrictionCode;
|
|
2919
|
-
this.standardVehicleClassification =
|
|
2920
|
-
nativeBarcodeExtendedElements.standardVehicleClassification;
|
|
2921
|
-
this.standardVersionNumber =
|
|
2922
|
-
nativeBarcodeExtendedElements.standardVersionNumber;
|
|
2923
|
-
this.under18 = nativeBarcodeExtendedElements.under18;
|
|
2924
|
-
this.under19 = nativeBarcodeExtendedElements.under19;
|
|
2925
|
-
this.under21 = nativeBarcodeExtendedElements.under21;
|
|
2926
|
-
this.uniqueCustomerId = nativeBarcodeExtendedElements.uniqueCustomerId;
|
|
2927
|
-
this.veteran = nativeBarcodeExtendedElements.veteran;
|
|
2928
|
-
this.weightKilograms = nativeBarcodeExtendedElements.weightKilograms;
|
|
2929
|
-
this.weightPounds = nativeBarcodeExtendedElements.weightPounds;
|
|
2930
|
-
this.weightRange = nativeBarcodeExtendedElements.weightRange;
|
|
2931
|
-
this.subFieldDesignator = nativeBarcodeExtendedElements.subFieldDesignator;
|
|
2932
|
-
}
|
|
2933
|
-
}
|
|
2683
|
+
};
|
|
2934
2684
|
|
|
2935
2685
|
/**
|
|
2936
2686
|
* The results of parents info.
|
|
2937
2687
|
*/
|
|
2938
|
-
export
|
|
2688
|
+
export type ParentInfo = {
|
|
2939
2689
|
/**
|
|
2940
2690
|
* The first name of one of the document owner's parents.
|
|
2941
2691
|
*/
|
|
@@ -2945,12 +2695,7 @@ export class ParentInfo {
|
|
|
2945
2695
|
* The last name of one of the document owner's parents.
|
|
2946
2696
|
*/
|
|
2947
2697
|
lastName?: StringResult;
|
|
2948
|
-
|
|
2949
|
-
constructor(nativeParentInfo: any) {
|
|
2950
|
-
this.firstName = nativeParentInfo.firstName;
|
|
2951
|
-
this.lastName = nativeParentInfo.lastName;
|
|
2952
|
-
}
|
|
2953
|
-
}
|
|
2698
|
+
};
|
|
2954
2699
|
|
|
2955
2700
|
/**
|
|
2956
2701
|
* Represents the mode of document scanning.
|
|
@@ -2958,50 +2703,48 @@ export class ParentInfo {
|
|
|
2958
2703
|
* This enum class defines whether the scanning process is limited to a single
|
|
2959
2704
|
* side of the document or includes multiple sides, automatically identifying how many sides need to be scanned.
|
|
2960
2705
|
*/
|
|
2961
|
-
export
|
|
2706
|
+
export type ScanningMode =
|
|
2962
2707
|
/**
|
|
2963
2708
|
* Specifies the scanning process to be for single side only.
|
|
2964
2709
|
*
|
|
2965
2710
|
*/
|
|
2966
|
-
|
|
2711
|
+
| "single"
|
|
2967
2712
|
|
|
2968
2713
|
/**
|
|
2969
2714
|
* The default `ScanningMode`.
|
|
2970
2715
|
*
|
|
2971
2716
|
* Automatically determines the number of sides to scan.
|
|
2972
2717
|
*/
|
|
2973
|
-
|
|
2974
|
-
}
|
|
2718
|
+
| "automatic";
|
|
2975
2719
|
|
|
2976
2720
|
/**
|
|
2977
2721
|
* Represents the type of the alphabet used in the document.
|
|
2978
2722
|
*
|
|
2979
2723
|
*/
|
|
2980
|
-
export
|
|
2724
|
+
export type AlphabetType =
|
|
2981
2725
|
/**
|
|
2982
2726
|
* The Latin alphabet type
|
|
2983
2727
|
*
|
|
2984
2728
|
*/
|
|
2985
|
-
|
|
2729
|
+
| "latin"
|
|
2986
2730
|
|
|
2987
2731
|
/**
|
|
2988
2732
|
* The Arabic alphabet type
|
|
2989
2733
|
*
|
|
2990
2734
|
*/
|
|
2991
|
-
|
|
2735
|
+
| "arabic"
|
|
2992
2736
|
|
|
2993
2737
|
/**
|
|
2994
2738
|
* The Cyrillic alphabet type
|
|
2995
2739
|
*
|
|
2996
2740
|
*/
|
|
2997
|
-
|
|
2741
|
+
| "cyrillic"
|
|
2998
2742
|
|
|
2999
2743
|
/**
|
|
3000
2744
|
* The Greek alphabet type
|
|
3001
2745
|
*
|
|
3002
2746
|
*/
|
|
3003
|
-
|
|
3004
|
-
}
|
|
2747
|
+
| "greek";
|
|
3005
2748
|
|
|
3006
2749
|
/**
|
|
3007
2750
|
* Represents the different levels of detection sensitivity.
|
|
@@ -3012,1530 +2755,1461 @@ export enum AlphabetType {
|
|
|
3012
2755
|
* The levels range from turning detection
|
|
3013
2756
|
* off completely to setting various levels of sensitivity (`Low`, `Mid`, `High`).
|
|
3014
2757
|
*/
|
|
3015
|
-
export
|
|
2758
|
+
export type SensitivityLevel =
|
|
3016
2759
|
/**
|
|
3017
2760
|
* Disables the `DetectionLevel`
|
|
3018
2761
|
*
|
|
3019
2762
|
*/
|
|
3020
|
-
|
|
2763
|
+
| "off"
|
|
3021
2764
|
|
|
3022
2765
|
/**
|
|
3023
2766
|
* Sets the `DetectionLevel` to be less sensitive.
|
|
3024
2767
|
*
|
|
3025
2768
|
*/
|
|
3026
|
-
|
|
2769
|
+
| "low"
|
|
3027
2770
|
|
|
3028
2771
|
/**
|
|
3029
2772
|
* The default `DetectionLevel` sensitivity.
|
|
3030
2773
|
*
|
|
3031
2774
|
*/
|
|
3032
|
-
|
|
2775
|
+
| "mid"
|
|
3033
2776
|
|
|
3034
2777
|
/**
|
|
3035
2778
|
* Sets the `DetectionLevel` to be highly sensitive.
|
|
3036
2779
|
*
|
|
3037
2780
|
*/
|
|
3038
|
-
|
|
3039
|
-
}
|
|
2781
|
+
| "high";
|
|
3040
2782
|
|
|
3041
2783
|
/**
|
|
3042
2784
|
* Represents level of anonymization performed on the scanning result.
|
|
3043
2785
|
*
|
|
3044
2786
|
*/
|
|
3045
|
-
export
|
|
2787
|
+
export type RedactionMode =
|
|
3046
2788
|
/**
|
|
3047
2789
|
* Anonymization will not be performed.
|
|
3048
2790
|
*
|
|
3049
2791
|
*/
|
|
3050
|
-
|
|
2792
|
+
| "none"
|
|
3051
2793
|
|
|
3052
2794
|
/**
|
|
3053
2795
|
* Full document image is anonymized with black boxes covering sensitive data.
|
|
3054
2796
|
*
|
|
3055
2797
|
*/
|
|
3056
|
-
|
|
2798
|
+
| "imageOnly"
|
|
3057
2799
|
|
|
3058
2800
|
/**
|
|
3059
2801
|
* Result fields containing sensitive data are removed from result.
|
|
3060
2802
|
*
|
|
3061
2803
|
*/
|
|
3062
|
-
|
|
2804
|
+
| "resultFieldsOnly"
|
|
3063
2805
|
|
|
3064
2806
|
/**
|
|
3065
2807
|
* This mode is combination of `imageOnly` and `resultFieldsOnly` modes.
|
|
3066
2808
|
*
|
|
3067
2809
|
*/
|
|
3068
|
-
|
|
3069
|
-
}
|
|
3070
|
-
|
|
3071
|
-
/**
|
|
3072
|
-
* Represents possible recognition modes.
|
|
3073
|
-
*
|
|
3074
|
-
*/
|
|
3075
|
-
export const enum RecognitionMode {
|
|
3076
|
-
/**
|
|
3077
|
-
* No recognition performed.
|
|
3078
|
-
*
|
|
3079
|
-
*/
|
|
3080
|
-
None = "none",
|
|
3081
|
-
|
|
3082
|
-
/**
|
|
3083
|
-
* Recognition of mrz document (does not include visa and passport).
|
|
3084
|
-
*
|
|
3085
|
-
*/
|
|
3086
|
-
MrzId = "mrzId",
|
|
3087
|
-
|
|
3088
|
-
/**
|
|
3089
|
-
* Recognition of visa mrz.
|
|
3090
|
-
*
|
|
3091
|
-
*/
|
|
3092
|
-
MrzVisa = "mrzVisa",
|
|
3093
|
-
|
|
3094
|
-
/**
|
|
3095
|
-
* Recognition of passport mrz.
|
|
3096
|
-
*
|
|
3097
|
-
*/
|
|
3098
|
-
|
|
3099
|
-
MrzPassport = "mrzPassport",
|
|
3100
|
-
|
|
3101
|
-
/*
|
|
3102
|
-
* Recognition of documents that have face photo on the front.
|
|
3103
|
-
*
|
|
3104
|
-
*/
|
|
3105
|
-
PhotoId = "photoId",
|
|
3106
|
-
|
|
3107
|
-
/**
|
|
3108
|
-
* Detailed document recognition.
|
|
3109
|
-
*
|
|
3110
|
-
*/
|
|
3111
|
-
FullRecognition = "fullRecognition",
|
|
3112
|
-
|
|
3113
|
-
/**
|
|
3114
|
-
* Recognition of barcode document.
|
|
3115
|
-
*
|
|
3116
|
-
*/
|
|
3117
|
-
BarcodeId = "barcodeId",
|
|
3118
|
-
}
|
|
3119
|
-
|
|
3120
|
-
/**
|
|
3121
|
-
* Define document side where the document field is located.
|
|
3122
|
-
*
|
|
3123
|
-
*/
|
|
3124
|
-
export enum DocumentSide {
|
|
3125
|
-
/**
|
|
3126
|
-
* The field is located on the front side of the document
|
|
3127
|
-
*
|
|
3128
|
-
*/
|
|
3129
|
-
Front = 0,
|
|
3130
|
-
|
|
3131
|
-
/**
|
|
3132
|
-
* The field is located on the back side of the document
|
|
3133
|
-
*
|
|
3134
|
-
*/
|
|
3135
|
-
Back = 1,
|
|
3136
|
-
}
|
|
2810
|
+
| "fullResult";
|
|
3137
2811
|
|
|
3138
2812
|
/**
|
|
3139
2813
|
* Represents the type of scanned barcode
|
|
3140
2814
|
*
|
|
3141
2815
|
*/
|
|
3142
|
-
export
|
|
2816
|
+
export type BarcodeType =
|
|
3143
2817
|
/**
|
|
3144
2818
|
* No barcode was scanned
|
|
3145
2819
|
*
|
|
3146
2820
|
*/
|
|
3147
|
-
|
|
2821
|
+
| "none"
|
|
3148
2822
|
|
|
3149
2823
|
/**
|
|
3150
2824
|
* QR code was scanned
|
|
3151
2825
|
*
|
|
3152
2826
|
*/
|
|
3153
|
-
|
|
2827
|
+
| "qrCode"
|
|
3154
2828
|
|
|
3155
2829
|
/**
|
|
3156
2830
|
* Data Matrix 2D barcode was scanned
|
|
3157
2831
|
*
|
|
3158
2832
|
*/
|
|
3159
|
-
|
|
2833
|
+
| "dataMatrix"
|
|
3160
2834
|
|
|
3161
2835
|
/**
|
|
3162
2836
|
* UPC E barcode was scanned
|
|
3163
2837
|
*
|
|
3164
2838
|
*/
|
|
3165
|
-
|
|
2839
|
+
| "upce"
|
|
3166
2840
|
|
|
3167
2841
|
/**
|
|
3168
2842
|
* UPC A barcode was scanned
|
|
3169
2843
|
*
|
|
3170
2844
|
*/
|
|
3171
|
-
|
|
2845
|
+
| "upca"
|
|
3172
2846
|
|
|
3173
2847
|
/**
|
|
3174
2848
|
* EAN 8 barcode was scanned
|
|
3175
2849
|
*
|
|
3176
2850
|
*/
|
|
3177
|
-
|
|
2851
|
+
| "ean8"
|
|
3178
2852
|
|
|
3179
2853
|
/**
|
|
3180
2854
|
* EAN 13 barcode was scanned
|
|
3181
2855
|
*
|
|
3182
2856
|
*/
|
|
3183
|
-
|
|
2857
|
+
| "ean13"
|
|
3184
2858
|
|
|
3185
2859
|
/**
|
|
3186
2860
|
* Code 128 barcode was scanned
|
|
3187
2861
|
*
|
|
3188
2862
|
*/
|
|
3189
|
-
|
|
2863
|
+
| "code128"
|
|
3190
2864
|
|
|
3191
2865
|
/**
|
|
3192
2866
|
* Code 39 barcode was scanned
|
|
3193
2867
|
*
|
|
3194
2868
|
*/
|
|
3195
|
-
|
|
2869
|
+
| "code39"
|
|
3196
2870
|
|
|
3197
2871
|
/**
|
|
3198
2872
|
* ITF barcode was scanned
|
|
3199
2873
|
*
|
|
3200
2874
|
*/
|
|
3201
|
-
|
|
2875
|
+
| "itf"
|
|
3202
2876
|
|
|
3203
2877
|
/**
|
|
3204
2878
|
* Aztec 2D barcode was scanned
|
|
3205
2879
|
*
|
|
3206
2880
|
*/
|
|
3207
|
-
|
|
2881
|
+
| "aztec"
|
|
3208
2882
|
|
|
3209
2883
|
/**
|
|
3210
2884
|
* PDF417 2D barcode was scanned
|
|
3211
2885
|
*
|
|
3212
2886
|
*/
|
|
3213
|
-
|
|
3214
|
-
}
|
|
2887
|
+
| "pdf417";
|
|
3215
2888
|
|
|
3216
2889
|
/**
|
|
3217
2890
|
* Represents the document type found on the Machine Readable Zone
|
|
3218
2891
|
*
|
|
3219
2892
|
*/
|
|
3220
|
-
export
|
|
2893
|
+
export type MRZDocumentType =
|
|
3221
2894
|
/**
|
|
3222
2895
|
* Document type was not identified.
|
|
3223
2896
|
*
|
|
3224
2897
|
*/
|
|
3225
|
-
|
|
2898
|
+
| "unknown"
|
|
3226
2899
|
|
|
3227
2900
|
/**
|
|
3228
2901
|
* Identity card
|
|
3229
2902
|
*
|
|
3230
2903
|
*/
|
|
3231
|
-
|
|
2904
|
+
| "identityCard"
|
|
3232
2905
|
|
|
3233
2906
|
/**
|
|
3234
2907
|
* Passport
|
|
3235
2908
|
*
|
|
3236
2909
|
*/
|
|
3237
|
-
|
|
2910
|
+
| "passport"
|
|
3238
2911
|
|
|
3239
2912
|
/**
|
|
3240
2913
|
* VISA
|
|
3241
2914
|
*
|
|
3242
2915
|
*/
|
|
3243
|
-
|
|
2916
|
+
| "visa"
|
|
3244
2917
|
|
|
3245
2918
|
/**
|
|
3246
2919
|
* Green card
|
|
3247
2920
|
*
|
|
3248
2921
|
*/
|
|
3249
|
-
|
|
2922
|
+
| "greenCard"
|
|
3250
2923
|
|
|
3251
2924
|
/**
|
|
3252
2925
|
* IIM13P Pass
|
|
3253
2926
|
*
|
|
3254
2927
|
*/
|
|
3255
|
-
|
|
2928
|
+
| "mysPassIMM13P"
|
|
3256
2929
|
|
|
3257
2930
|
/**
|
|
3258
2931
|
* Driver license
|
|
3259
2932
|
*
|
|
3260
2933
|
*/
|
|
3261
|
-
|
|
2934
|
+
| "driverLicense"
|
|
3262
2935
|
|
|
3263
2936
|
/**
|
|
3264
2937
|
* Internal travel document
|
|
3265
2938
|
*
|
|
3266
2939
|
*/
|
|
3267
|
-
|
|
2940
|
+
| "internalTravelDocument"
|
|
3268
2941
|
|
|
3269
2942
|
/**
|
|
3270
2943
|
* Border crossing card
|
|
3271
2944
|
*
|
|
3272
2945
|
*/
|
|
3273
|
-
|
|
3274
|
-
}
|
|
2946
|
+
| "borderCrossingCard";
|
|
3275
2947
|
|
|
3276
2948
|
/**
|
|
3277
2949
|
* Represents the side of the document being scanned.
|
|
3278
2950
|
*
|
|
3279
2951
|
*/
|
|
3280
|
-
|
|
2952
|
+
export type ScanningSide =
|
|
3281
2953
|
/**
|
|
3282
2954
|
* The first side of the scanned document
|
|
3283
2955
|
*
|
|
3284
2956
|
*/
|
|
3285
|
-
|
|
2957
|
+
| "first"
|
|
3286
2958
|
|
|
3287
2959
|
/**
|
|
3288
2960
|
* The second side of the scanned document
|
|
3289
2961
|
*
|
|
3290
2962
|
*/
|
|
3291
|
-
|
|
3292
|
-
}
|
|
2963
|
+
| "second";
|
|
3293
2964
|
|
|
3294
2965
|
/**
|
|
3295
2966
|
* Represents the type of the field used in data match.
|
|
3296
2967
|
*
|
|
3297
2968
|
*/
|
|
3298
|
-
export
|
|
2969
|
+
export type DataMatchField =
|
|
3299
2970
|
/**
|
|
3300
2971
|
* The date of birth field.
|
|
3301
2972
|
*
|
|
3302
2973
|
*/
|
|
3303
|
-
|
|
2974
|
+
| "dateOfBirth"
|
|
3304
2975
|
|
|
3305
2976
|
/**
|
|
3306
2977
|
* The date of expiry field.
|
|
3307
2978
|
*
|
|
3308
2979
|
*/
|
|
3309
|
-
|
|
2980
|
+
| "dateOfExpiry"
|
|
3310
2981
|
|
|
3311
2982
|
/**
|
|
3312
2983
|
* The document number field.
|
|
3313
2984
|
*
|
|
3314
2985
|
*/
|
|
3315
|
-
|
|
2986
|
+
| "documentNumber"
|
|
3316
2987
|
|
|
3317
2988
|
/**
|
|
3318
2989
|
* The document additional number field.
|
|
3319
2990
|
*
|
|
3320
2991
|
*/
|
|
3321
|
-
|
|
2992
|
+
| "documentAdditionalNumber"
|
|
3322
2993
|
|
|
3323
2994
|
/**
|
|
3324
2995
|
* The document optional additional number field.
|
|
3325
2996
|
*
|
|
3326
2997
|
*/
|
|
3327
|
-
|
|
2998
|
+
| "documentOptionalAdditionalNumber"
|
|
3328
2999
|
|
|
3329
3000
|
/**
|
|
3330
3001
|
* The personal ID number field.
|
|
3331
3002
|
*
|
|
3332
3003
|
*/
|
|
3333
|
-
|
|
3334
|
-
PersonalIdNumber = 5,
|
|
3335
|
-
}
|
|
3004
|
+
| "personalIdNumber";
|
|
3336
3005
|
|
|
3337
3006
|
/**
|
|
3338
3007
|
* Represents the state of the data match.
|
|
3339
3008
|
*
|
|
3340
3009
|
*/
|
|
3341
|
-
export
|
|
3010
|
+
export type DataMatchState =
|
|
3342
3011
|
/**
|
|
3343
3012
|
* Data matching has not been performed.
|
|
3344
3013
|
*
|
|
3345
3014
|
*/
|
|
3346
|
-
|
|
3015
|
+
| "notPerformed"
|
|
3347
3016
|
|
|
3348
3017
|
/**
|
|
3349
3018
|
* Data does not match.
|
|
3350
3019
|
*
|
|
3351
3020
|
*/
|
|
3352
|
-
|
|
3021
|
+
| "failed"
|
|
3353
3022
|
|
|
3354
3023
|
/**
|
|
3355
3024
|
* Data does match.
|
|
3356
3025
|
*
|
|
3357
3026
|
*/
|
|
3358
|
-
|
|
3359
|
-
}
|
|
3027
|
+
| "success";
|
|
3360
3028
|
|
|
3361
3029
|
/**
|
|
3362
3030
|
* Document country.
|
|
3363
3031
|
*
|
|
3364
3032
|
*/
|
|
3365
|
-
export
|
|
3366
|
-
None
|
|
3033
|
+
export const Country = {
|
|
3034
|
+
None: "none",
|
|
3367
3035
|
|
|
3368
|
-
Albania
|
|
3036
|
+
Albania: "albania",
|
|
3369
3037
|
|
|
3370
|
-
Algeria
|
|
3038
|
+
Algeria: "algeria",
|
|
3371
3039
|
|
|
3372
|
-
Argentina
|
|
3040
|
+
Argentina: "argentina",
|
|
3373
3041
|
|
|
3374
|
-
Australia
|
|
3042
|
+
Australia: "australia",
|
|
3375
3043
|
|
|
3376
|
-
Austria
|
|
3044
|
+
Austria: "austria",
|
|
3377
3045
|
|
|
3378
|
-
Azerbaijan
|
|
3046
|
+
Azerbaijan: "azerbaijan",
|
|
3379
3047
|
|
|
3380
|
-
Bahrain
|
|
3048
|
+
Bahrain: "bahrain",
|
|
3381
3049
|
|
|
3382
|
-
Bangladesh
|
|
3050
|
+
Bangladesh: "bangladesh",
|
|
3383
3051
|
|
|
3384
|
-
Belgium
|
|
3052
|
+
Belgium: "belgium",
|
|
3385
3053
|
|
|
3386
|
-
BosniaAndHerzegovina
|
|
3054
|
+
BosniaAndHerzegovina: "bosniaAndHerzegovina",
|
|
3387
3055
|
|
|
3388
|
-
Brunei
|
|
3056
|
+
Brunei: "brunei",
|
|
3389
3057
|
|
|
3390
|
-
Bulgaria
|
|
3058
|
+
Bulgaria: "bulgaria",
|
|
3391
3059
|
|
|
3392
|
-
Bambodia
|
|
3060
|
+
Bambodia: "bambodia",
|
|
3393
3061
|
|
|
3394
|
-
Canada
|
|
3062
|
+
Canada: "canada",
|
|
3395
3063
|
|
|
3396
|
-
Chile
|
|
3064
|
+
Chile: "chile",
|
|
3397
3065
|
|
|
3398
|
-
Colombia
|
|
3066
|
+
Colombia: "colombia",
|
|
3399
3067
|
|
|
3400
|
-
CostaRica
|
|
3068
|
+
CostaRica: "costaRica",
|
|
3401
3069
|
|
|
3402
|
-
Croatia
|
|
3070
|
+
Croatia: "croatia",
|
|
3403
3071
|
|
|
3404
|
-
Cyprus
|
|
3072
|
+
Cyprus: "cyprus",
|
|
3405
3073
|
|
|
3406
|
-
Czechia
|
|
3074
|
+
Czechia: "czechia",
|
|
3407
3075
|
|
|
3408
|
-
Denmark
|
|
3076
|
+
Denmark: "denmark",
|
|
3409
3077
|
|
|
3410
|
-
DominicanRepublic
|
|
3078
|
+
DominicanRepublic: "dominicanRepublic",
|
|
3411
3079
|
|
|
3412
|
-
Egypt
|
|
3080
|
+
Egypt: "egypt",
|
|
3413
3081
|
|
|
3414
|
-
Estonia
|
|
3082
|
+
Estonia: "estonia",
|
|
3415
3083
|
|
|
3416
|
-
Finland
|
|
3084
|
+
Finland: "finland",
|
|
3417
3085
|
|
|
3418
|
-
France
|
|
3086
|
+
France: "france",
|
|
3419
3087
|
|
|
3420
|
-
Georgia
|
|
3088
|
+
Georgia: "georgia",
|
|
3421
3089
|
|
|
3422
|
-
Germany
|
|
3090
|
+
Germany: "germany",
|
|
3423
3091
|
|
|
3424
|
-
Ghana
|
|
3092
|
+
Ghana: "ghana",
|
|
3425
3093
|
|
|
3426
|
-
Greece
|
|
3094
|
+
Greece: "greece",
|
|
3427
3095
|
|
|
3428
|
-
Guatemala
|
|
3096
|
+
Guatemala: "guatemala",
|
|
3429
3097
|
|
|
3430
|
-
HongKong
|
|
3098
|
+
HongKong: "hongKong",
|
|
3431
3099
|
|
|
3432
|
-
Hungary
|
|
3100
|
+
Hungary: "hungary",
|
|
3433
3101
|
|
|
3434
|
-
India
|
|
3102
|
+
India: "india",
|
|
3435
3103
|
|
|
3436
|
-
Indonesia
|
|
3104
|
+
Indonesia: "indonesia",
|
|
3437
3105
|
|
|
3438
|
-
Ireland
|
|
3106
|
+
Ireland: "ireland",
|
|
3439
3107
|
|
|
3440
|
-
Israel
|
|
3108
|
+
Israel: "israel",
|
|
3441
3109
|
|
|
3442
|
-
Italy
|
|
3110
|
+
Italy: "italy",
|
|
3443
3111
|
|
|
3444
|
-
Jordan
|
|
3112
|
+
Jordan: "jordan",
|
|
3445
3113
|
|
|
3446
|
-
Kazakhstan
|
|
3114
|
+
Kazakhstan: "kazakhstan",
|
|
3447
3115
|
|
|
3448
|
-
Kenya
|
|
3116
|
+
Kenya: "kenya",
|
|
3449
3117
|
|
|
3450
|
-
Kosovo
|
|
3118
|
+
Kosovo: "kosovo",
|
|
3451
3119
|
|
|
3452
|
-
Kuwait
|
|
3120
|
+
Kuwait: "kuwait",
|
|
3453
3121
|
|
|
3454
|
-
Latvia
|
|
3122
|
+
Latvia: "latvia",
|
|
3455
3123
|
|
|
3456
|
-
Lithuania
|
|
3124
|
+
Lithuania: "lithuania",
|
|
3457
3125
|
|
|
3458
|
-
Malaysia
|
|
3126
|
+
Malaysia: "malaysia",
|
|
3459
3127
|
|
|
3460
|
-
Maldives
|
|
3128
|
+
Maldives: "maldives",
|
|
3461
3129
|
|
|
3462
|
-
Malta
|
|
3130
|
+
Malta: "malta",
|
|
3463
3131
|
|
|
3464
|
-
Mauritius
|
|
3132
|
+
Mauritius: "mauritius",
|
|
3465
3133
|
|
|
3466
|
-
Mexico
|
|
3134
|
+
Mexico: "mexico",
|
|
3467
3135
|
|
|
3468
|
-
Morocco
|
|
3136
|
+
Morocco: "morocco",
|
|
3469
3137
|
|
|
3470
|
-
Netherlands
|
|
3138
|
+
Netherlands: "netherlands",
|
|
3471
3139
|
|
|
3472
|
-
NewZealand
|
|
3140
|
+
NewZealand: "newZealand",
|
|
3473
3141
|
|
|
3474
|
-
Nigeria
|
|
3142
|
+
Nigeria: "nigeria",
|
|
3475
3143
|
|
|
3476
|
-
Pakistan
|
|
3144
|
+
Pakistan: "pakistan",
|
|
3477
3145
|
|
|
3478
|
-
Panama
|
|
3146
|
+
Panama: "panama",
|
|
3479
3147
|
|
|
3480
|
-
Paraguay
|
|
3148
|
+
Paraguay: "paraguay",
|
|
3481
3149
|
|
|
3482
|
-
Philippines
|
|
3150
|
+
Philippines: "philippines",
|
|
3483
3151
|
|
|
3484
|
-
Poland
|
|
3152
|
+
Poland: "poland",
|
|
3485
3153
|
|
|
3486
|
-
Portugal
|
|
3154
|
+
Portugal: "portugal",
|
|
3487
3155
|
|
|
3488
|
-
PuertoRico
|
|
3156
|
+
PuertoRico: "puertoRico",
|
|
3489
3157
|
|
|
3490
|
-
Qatar
|
|
3158
|
+
Qatar: "qatar",
|
|
3491
3159
|
|
|
3492
|
-
Romania
|
|
3160
|
+
Romania: "romania",
|
|
3493
3161
|
|
|
3494
|
-
Russia
|
|
3162
|
+
Russia: "russia",
|
|
3495
3163
|
|
|
3496
|
-
SaudiArabia
|
|
3164
|
+
SaudiArabia: "saudiArabia",
|
|
3497
3165
|
|
|
3498
|
-
Serbia
|
|
3166
|
+
Serbia: "serbia",
|
|
3499
3167
|
|
|
3500
|
-
Singapore
|
|
3168
|
+
Singapore: "singapore",
|
|
3501
3169
|
|
|
3502
|
-
Slovakia
|
|
3170
|
+
Slovakia: "slovakia",
|
|
3503
3171
|
|
|
3504
|
-
Slovenia
|
|
3172
|
+
Slovenia: "slovenia",
|
|
3505
3173
|
|
|
3506
|
-
SouthAfrica
|
|
3174
|
+
SouthAfrica: "southAfrica",
|
|
3507
3175
|
|
|
3508
|
-
Spain
|
|
3176
|
+
Spain: "spain",
|
|
3509
3177
|
|
|
3510
|
-
Sweden
|
|
3178
|
+
Sweden: "sweden",
|
|
3511
3179
|
|
|
3512
|
-
Switzerland
|
|
3180
|
+
Switzerland: "switzerland",
|
|
3513
3181
|
|
|
3514
|
-
Taiwan
|
|
3182
|
+
Taiwan: "taiwan",
|
|
3515
3183
|
|
|
3516
|
-
Thailand
|
|
3184
|
+
Thailand: "thailand",
|
|
3517
3185
|
|
|
3518
|
-
Tunisia
|
|
3186
|
+
Tunisia: "tunisia",
|
|
3519
3187
|
|
|
3520
|
-
Turkey
|
|
3188
|
+
Turkey: "turkey",
|
|
3521
3189
|
|
|
3522
|
-
UAE
|
|
3190
|
+
UAE: "uae",
|
|
3523
3191
|
|
|
3524
|
-
Ganda
|
|
3192
|
+
Ganda: "gganda",
|
|
3525
3193
|
|
|
3526
|
-
UK
|
|
3194
|
+
UK: "uk",
|
|
3527
3195
|
|
|
3528
|
-
Ukraine
|
|
3196
|
+
Ukraine: "ukraine",
|
|
3529
3197
|
|
|
3530
|
-
USA
|
|
3198
|
+
USA: "usa",
|
|
3531
3199
|
|
|
3532
|
-
Vietnam
|
|
3200
|
+
Vietnam: "vietnam",
|
|
3533
3201
|
|
|
3534
|
-
Brazil
|
|
3202
|
+
Brazil: "brazil",
|
|
3535
3203
|
|
|
3536
|
-
Norway
|
|
3204
|
+
Norway: "norway",
|
|
3537
3205
|
|
|
3538
|
-
Oman
|
|
3206
|
+
Oman: "oman",
|
|
3539
3207
|
|
|
3540
|
-
Ecuador
|
|
3208
|
+
Ecuador: "ecuador",
|
|
3541
3209
|
|
|
3542
|
-
ElSalvador
|
|
3210
|
+
ElSalvador: "elSalvador",
|
|
3543
3211
|
|
|
3544
|
-
SriLanka
|
|
3212
|
+
SriLanka: "sriLanka",
|
|
3545
3213
|
|
|
3546
|
-
Peru
|
|
3214
|
+
Peru: "peru",
|
|
3547
3215
|
|
|
3548
|
-
Uruguay
|
|
3216
|
+
Uruguay: "uruguay",
|
|
3549
3217
|
|
|
3550
|
-
Bahamas
|
|
3218
|
+
Bahamas: "bahamas",
|
|
3551
3219
|
|
|
3552
|
-
Bermuda
|
|
3220
|
+
Bermuda: "bermuda",
|
|
3553
3221
|
|
|
3554
|
-
Bolivia
|
|
3222
|
+
Bolivia: "bolivia",
|
|
3555
3223
|
|
|
3556
|
-
China
|
|
3224
|
+
China: "china",
|
|
3557
3225
|
|
|
3558
|
-
EuropeanUnion
|
|
3226
|
+
EuropeanUnion: "europeanUnion",
|
|
3559
3227
|
|
|
3560
|
-
Haiti
|
|
3228
|
+
Haiti: "haiti",
|
|
3561
3229
|
|
|
3562
|
-
Honduras
|
|
3230
|
+
Honduras: "honduras",
|
|
3563
3231
|
|
|
3564
|
-
Iceland
|
|
3232
|
+
Iceland: "iceland",
|
|
3565
3233
|
|
|
3566
|
-
Japan
|
|
3234
|
+
Japan: "japan",
|
|
3567
3235
|
|
|
3568
|
-
Luxembourg
|
|
3236
|
+
Luxembourg: "luxembourg",
|
|
3569
3237
|
|
|
3570
|
-
Montenegro
|
|
3238
|
+
Montenegro: "montenegro",
|
|
3571
3239
|
|
|
3572
|
-
Nicaragua
|
|
3240
|
+
Nicaragua: "nicaragua",
|
|
3573
3241
|
|
|
3574
|
-
SouthKorea
|
|
3242
|
+
SouthKorea: "southKorea",
|
|
3575
3243
|
|
|
3576
|
-
Venezuela
|
|
3244
|
+
Venezuela: "venezuela",
|
|
3577
3245
|
|
|
3578
|
-
Afghanistan
|
|
3246
|
+
Afghanistan: "afghanistan",
|
|
3579
3247
|
|
|
3580
|
-
AlandIslands
|
|
3248
|
+
AlandIslands: "alandIslands",
|
|
3581
3249
|
|
|
3582
|
-
AmericanSamoa
|
|
3250
|
+
AmericanSamoa: "americanSamoa",
|
|
3583
3251
|
|
|
3584
|
-
Andorra
|
|
3252
|
+
Andorra: "andorra",
|
|
3585
3253
|
|
|
3586
|
-
Angola
|
|
3254
|
+
Angola: "angola",
|
|
3587
3255
|
|
|
3588
|
-
Anguilla
|
|
3256
|
+
Anguilla: "anguilla",
|
|
3589
3257
|
|
|
3590
|
-
Antartica
|
|
3258
|
+
Antartica: "antarctica",
|
|
3591
3259
|
|
|
3592
|
-
AntiguaAndBarbuda
|
|
3260
|
+
AntiguaAndBarbuda: "antiguaAndBarbuda",
|
|
3593
3261
|
|
|
3594
|
-
Armenia
|
|
3262
|
+
Armenia: "armenia",
|
|
3595
3263
|
|
|
3596
|
-
Aruba
|
|
3264
|
+
Aruba: "aruba",
|
|
3597
3265
|
|
|
3598
|
-
BailiwickOfGuernsey
|
|
3266
|
+
BailiwickOfGuernsey: "bailiwickOfGuernsey",
|
|
3599
3267
|
|
|
3600
|
-
BailiwickOfJersey
|
|
3268
|
+
BailiwickOfJersey: "bailiwickOfJersey",
|
|
3601
3269
|
|
|
3602
|
-
Barbados
|
|
3270
|
+
Barbados: "barbados",
|
|
3603
3271
|
|
|
3604
|
-
Belarus
|
|
3272
|
+
Belarus: "belarus",
|
|
3605
3273
|
|
|
3606
|
-
Belize
|
|
3274
|
+
Belize: "belize",
|
|
3607
3275
|
|
|
3608
|
-
Benin
|
|
3276
|
+
Benin: "benin",
|
|
3609
3277
|
|
|
3610
|
-
Bhutan
|
|
3278
|
+
Bhutan: "bhutan",
|
|
3611
3279
|
|
|
3612
|
-
BonaireSaintEustatiusAndSaba
|
|
3280
|
+
BonaireSaintEustatiusAndSaba: "bonaireSaintEustatiusAndSaba",
|
|
3613
3281
|
|
|
3614
|
-
Botswana
|
|
3282
|
+
Botswana: "botswana",
|
|
3615
3283
|
|
|
3616
|
-
BouvetIsland
|
|
3284
|
+
BouvetIsland: "bouvetIsland",
|
|
3617
3285
|
|
|
3618
|
-
BritishIndianOceanTerritory
|
|
3286
|
+
BritishIndianOceanTerritory: "britishIndianOceanTerritory",
|
|
3619
3287
|
|
|
3620
|
-
BurkinaFaso
|
|
3288
|
+
BurkinaFaso: "burkinaFaso",
|
|
3621
3289
|
|
|
3622
|
-
Burundi
|
|
3290
|
+
Burundi: "burundi",
|
|
3623
3291
|
|
|
3624
|
-
Cameroon
|
|
3292
|
+
Cameroon: "cameroon",
|
|
3625
3293
|
|
|
3626
|
-
CapeVerde
|
|
3294
|
+
CapeVerde: "capeVerde",
|
|
3627
3295
|
|
|
3628
|
-
CaribbeanNetherlands
|
|
3296
|
+
CaribbeanNetherlands: "caribbeanNetherlands",
|
|
3629
3297
|
|
|
3630
|
-
CaymanIslands
|
|
3298
|
+
CaymanIslands: "caymanIslands",
|
|
3631
3299
|
|
|
3632
|
-
CentralAfricanRepublic
|
|
3300
|
+
CentralAfricanRepublic: "centralAfricanRepublic",
|
|
3633
3301
|
|
|
3634
|
-
Chad
|
|
3302
|
+
Chad: "chad",
|
|
3635
3303
|
|
|
3636
|
-
ChristmasIsland
|
|
3304
|
+
ChristmasIsland: "christmasIsland",
|
|
3637
3305
|
|
|
3638
|
-
CocosIslands
|
|
3306
|
+
CocosIslands: "cocosIslands",
|
|
3639
3307
|
|
|
3640
|
-
Comoros
|
|
3308
|
+
Comoros: "comoros",
|
|
3641
3309
|
|
|
3642
|
-
Congo
|
|
3310
|
+
Congo: "congo",
|
|
3643
3311
|
|
|
3644
|
-
CookIslands
|
|
3312
|
+
CookIslands: "cookIslands",
|
|
3645
3313
|
|
|
3646
|
-
Cuba
|
|
3314
|
+
Cuba: "cuba",
|
|
3647
3315
|
|
|
3648
|
-
Curacao
|
|
3316
|
+
Curacao: "curacao",
|
|
3649
3317
|
|
|
3650
|
-
DemocraticRepublicOfTheCongo
|
|
3318
|
+
DemocraticRepublicOfTheCongo: "democraticRepublicOfTheCongo",
|
|
3651
3319
|
|
|
3652
|
-
Djibouti
|
|
3320
|
+
Djibouti: "djibouti",
|
|
3653
3321
|
|
|
3654
|
-
Dominica
|
|
3322
|
+
Dominica: "dominica",
|
|
3655
3323
|
|
|
3656
|
-
EastTimor
|
|
3324
|
+
EastTimor: "eastTimor",
|
|
3657
3325
|
|
|
3658
|
-
EquatorialGuinea
|
|
3326
|
+
EquatorialGuinea: "equatorialGuinea",
|
|
3659
3327
|
|
|
3660
|
-
Eritrea
|
|
3328
|
+
Eritrea: "eritrea",
|
|
3661
3329
|
|
|
3662
|
-
Ethiopia
|
|
3330
|
+
Ethiopia: "ethiopia",
|
|
3663
3331
|
|
|
3664
|
-
FalklandIslands
|
|
3332
|
+
FalklandIslands: "falklandIslands",
|
|
3665
3333
|
|
|
3666
|
-
FaroeIslands
|
|
3334
|
+
FaroeIslands: "faroeIslands",
|
|
3667
3335
|
|
|
3668
|
-
FederatedStatesOfMicronesia
|
|
3336
|
+
FederatedStatesOfMicronesia: "federatedStatesOfMicronesia",
|
|
3669
3337
|
|
|
3670
|
-
Fiji
|
|
3338
|
+
Fiji: "fiji",
|
|
3671
3339
|
|
|
3672
|
-
FrenchGuiana
|
|
3340
|
+
FrenchGuiana: "frenchGuiana",
|
|
3673
3341
|
|
|
3674
|
-
FrenchPolynesia
|
|
3342
|
+
FrenchPolynesia: "frenchPolynesia",
|
|
3675
3343
|
|
|
3676
|
-
FrenchSouthernTerritories
|
|
3344
|
+
FrenchSouthernTerritories: "frenchSouthernTerritories",
|
|
3677
3345
|
|
|
3678
|
-
Gabon
|
|
3346
|
+
Gabon: "gabon",
|
|
3679
3347
|
|
|
3680
|
-
Gambia
|
|
3348
|
+
Gambia: "gambia",
|
|
3681
3349
|
|
|
3682
|
-
Gibraltar
|
|
3350
|
+
Gibraltar: "gibraltar",
|
|
3683
3351
|
|
|
3684
|
-
Greenland
|
|
3352
|
+
Greenland: "greenland",
|
|
3685
3353
|
|
|
3686
|
-
Grenada
|
|
3354
|
+
Grenada: "grenada",
|
|
3687
3355
|
|
|
3688
|
-
Guadeloupe
|
|
3356
|
+
Guadeloupe: "guadeloupe",
|
|
3689
3357
|
|
|
3690
|
-
Guam
|
|
3358
|
+
Guam: "guam",
|
|
3691
3359
|
|
|
3692
|
-
Guinea
|
|
3360
|
+
Guinea: "guinea",
|
|
3693
3361
|
|
|
3694
|
-
GuineaBissau
|
|
3362
|
+
GuineaBissau: "guineaBissau",
|
|
3695
3363
|
|
|
3696
|
-
Guyana
|
|
3364
|
+
Guyana: "guyana",
|
|
3697
3365
|
|
|
3698
|
-
HeardIslandAndMcdonaldIslands
|
|
3366
|
+
HeardIslandAndMcdonaldIslands: "heardIslandAndMcdonaldIslands",
|
|
3699
3367
|
|
|
3700
|
-
Iran
|
|
3368
|
+
Iran: "iran",
|
|
3701
3369
|
|
|
3702
|
-
Iraq
|
|
3370
|
+
Iraq: "iraq",
|
|
3703
3371
|
|
|
3704
|
-
IsleOfMan
|
|
3372
|
+
IsleOfMan: "isleOfMan",
|
|
3705
3373
|
|
|
3706
|
-
IvoryCoast
|
|
3374
|
+
IvoryCoast: "ivoryCoast",
|
|
3707
3375
|
|
|
3708
|
-
Jamaica
|
|
3376
|
+
Jamaica: "jamaica",
|
|
3709
3377
|
|
|
3710
|
-
Kiribati
|
|
3378
|
+
Kiribati: "kiribati",
|
|
3711
3379
|
|
|
3712
|
-
Kyrgyzstan
|
|
3380
|
+
Kyrgyzstan: "kyrgyzstan",
|
|
3713
3381
|
|
|
3714
|
-
Laos
|
|
3382
|
+
Laos: "laos",
|
|
3715
3383
|
|
|
3716
|
-
Lebanon
|
|
3384
|
+
Lebanon: "lebanon",
|
|
3717
3385
|
|
|
3718
|
-
Lesotho
|
|
3386
|
+
Lesotho: "lesotho",
|
|
3719
3387
|
|
|
3720
|
-
Liberia
|
|
3388
|
+
Liberia: "liberia",
|
|
3721
3389
|
|
|
3722
|
-
Libya
|
|
3390
|
+
Libya: "libya",
|
|
3723
3391
|
|
|
3724
|
-
Liechtenstein
|
|
3392
|
+
Liechtenstein: "liechtenstein",
|
|
3725
3393
|
|
|
3726
|
-
Macau
|
|
3394
|
+
Macau: "macau",
|
|
3727
3395
|
|
|
3728
|
-
Madagascar
|
|
3396
|
+
Madagascar: "madagascar",
|
|
3729
3397
|
|
|
3730
|
-
Malawi
|
|
3398
|
+
Malawi: "malawi",
|
|
3731
3399
|
|
|
3732
|
-
Mali
|
|
3400
|
+
Mali: "mali",
|
|
3733
3401
|
|
|
3734
|
-
MarshallIslands
|
|
3402
|
+
MarshallIslands: "marshallIslands",
|
|
3735
3403
|
|
|
3736
|
-
Martinique
|
|
3404
|
+
Martinique: "martinique",
|
|
3737
3405
|
|
|
3738
|
-
Mauritania
|
|
3406
|
+
Mauritania: "mauritania",
|
|
3739
3407
|
|
|
3740
|
-
Mayotte
|
|
3408
|
+
Mayotte: "mayotte",
|
|
3741
3409
|
|
|
3742
|
-
Moldova
|
|
3410
|
+
Moldova: "moldova",
|
|
3743
3411
|
|
|
3744
|
-
Monaco
|
|
3412
|
+
Monaco: "monaco",
|
|
3745
3413
|
|
|
3746
|
-
Mongolia
|
|
3414
|
+
Mongolia: "mongolia",
|
|
3747
3415
|
|
|
3748
|
-
Montserrat
|
|
3416
|
+
Montserrat: "montserrat",
|
|
3749
3417
|
|
|
3750
|
-
Mozambique
|
|
3418
|
+
Mozambique: "mozambique",
|
|
3751
3419
|
|
|
3752
|
-
Myanmar
|
|
3420
|
+
Myanmar: "myanmar",
|
|
3753
3421
|
|
|
3754
|
-
Namibia
|
|
3422
|
+
Namibia: "namibia",
|
|
3755
3423
|
|
|
3756
|
-
Nauru
|
|
3424
|
+
Nauru: "nauru",
|
|
3757
3425
|
|
|
3758
|
-
Nepal
|
|
3426
|
+
Nepal: "nepal",
|
|
3759
3427
|
|
|
3760
|
-
NewCaledonia
|
|
3428
|
+
NewCaledonia: "newCaledonia",
|
|
3761
3429
|
|
|
3762
|
-
Niger
|
|
3430
|
+
Niger: "niger",
|
|
3763
3431
|
|
|
3764
|
-
Niue
|
|
3432
|
+
Niue: "niue",
|
|
3765
3433
|
|
|
3766
|
-
NorfolkIsland
|
|
3434
|
+
NorfolkIsland: "norfolkIsland",
|
|
3767
3435
|
|
|
3768
|
-
NorthernCyprus
|
|
3436
|
+
NorthernCyprus: "northernCyprus",
|
|
3769
3437
|
|
|
3770
|
-
NorthernMarianaIslands
|
|
3438
|
+
NorthernMarianaIslands: "northernMarianaIslands",
|
|
3771
3439
|
|
|
3772
|
-
NorthKorea
|
|
3440
|
+
NorthKorea: "northKorea",
|
|
3773
3441
|
|
|
3774
|
-
NorthMacedonia
|
|
3442
|
+
NorthMacedonia: "northMacedonia",
|
|
3775
3443
|
|
|
3776
|
-
Palau
|
|
3444
|
+
Palau: "palau",
|
|
3777
3445
|
|
|
3778
|
-
Palestine
|
|
3446
|
+
Palestine: "palestine",
|
|
3779
3447
|
|
|
3780
|
-
PapuaNewGuinea
|
|
3448
|
+
PapuaNewGuinea: "papuaNewGuinea",
|
|
3781
3449
|
|
|
3782
|
-
Pitcairn
|
|
3450
|
+
Pitcairn: "pitcairn",
|
|
3783
3451
|
|
|
3784
|
-
Reunion
|
|
3452
|
+
Reunion: "reunion",
|
|
3785
3453
|
|
|
3786
|
-
Rwanda
|
|
3454
|
+
Rwanda: "rwanda",
|
|
3787
3455
|
|
|
3788
|
-
SaintBarthelemy
|
|
3456
|
+
SaintBarthelemy: "saintBarthelemy",
|
|
3789
3457
|
|
|
3790
|
-
SaintHelenaAscensionAndTristianDaCunha
|
|
3458
|
+
SaintHelenaAscensionAndTristianDaCunha:
|
|
3459
|
+
"saintHelenaAscensionAndTristianDaCunha",
|
|
3791
3460
|
|
|
3792
|
-
SaintKittsAndNevis
|
|
3461
|
+
SaintKittsAndNevis: "saintKittsAndNevis",
|
|
3793
3462
|
|
|
3794
|
-
SaintLucia
|
|
3463
|
+
SaintLucia: "saintLucia",
|
|
3795
3464
|
|
|
3796
|
-
SaintMartin
|
|
3465
|
+
SaintMartin: "saintMartin",
|
|
3797
3466
|
|
|
3798
|
-
SaintPierreAndMiquelon
|
|
3467
|
+
SaintPierreAndMiquelon: "saintPierreAndMiquelon",
|
|
3799
3468
|
|
|
3800
|
-
SaintVincentAndTheGrenadines
|
|
3469
|
+
SaintVincentAndTheGrenadines: "saintVincentAndTheGrenadines",
|
|
3801
3470
|
|
|
3802
|
-
Samoa
|
|
3471
|
+
Samoa: "samoa",
|
|
3803
3472
|
|
|
3804
|
-
SanMarino
|
|
3473
|
+
SanMarino: "sanMarino",
|
|
3805
3474
|
|
|
3806
|
-
SaoTomeAndPrincipe
|
|
3475
|
+
SaoTomeAndPrincipe: "saoTomeAndPrincipe",
|
|
3807
3476
|
|
|
3808
|
-
Senegal
|
|
3477
|
+
Senegal: "senegal",
|
|
3809
3478
|
|
|
3810
|
-
Seychelles
|
|
3479
|
+
Seychelles: "seychelles",
|
|
3811
3480
|
|
|
3812
|
-
SierraLeone
|
|
3481
|
+
SierraLeone: "sierraLeone",
|
|
3813
3482
|
|
|
3814
|
-
SintMaarten
|
|
3483
|
+
SintMaarten: "sintMaarten",
|
|
3815
3484
|
|
|
3816
|
-
SolomonIslands
|
|
3485
|
+
SolomonIslands: "solomonIslands",
|
|
3817
3486
|
|
|
3818
|
-
Somalia
|
|
3487
|
+
Somalia: "somalia",
|
|
3819
3488
|
|
|
3820
|
-
SouthGeorgiaAndTheSouthSandwichIslands
|
|
3489
|
+
SouthGeorgiaAndTheSouthSandwichIslands:
|
|
3490
|
+
"southGeorgiaAndTheSouthSandwichIslands",
|
|
3821
3491
|
|
|
3822
|
-
SouthSudan
|
|
3492
|
+
SouthSudan: "southSudan",
|
|
3823
3493
|
|
|
3824
|
-
Sudan
|
|
3494
|
+
Sudan: "sudan",
|
|
3825
3495
|
|
|
3826
|
-
Suriname
|
|
3496
|
+
Suriname: "suriname",
|
|
3827
3497
|
|
|
3828
|
-
SvalbardAndJanMayen
|
|
3498
|
+
SvalbardAndJanMayen: "svalbardAndJanMayen",
|
|
3829
3499
|
|
|
3830
|
-
Eswatini
|
|
3500
|
+
Eswatini: "eswatini",
|
|
3831
3501
|
|
|
3832
|
-
Syria
|
|
3502
|
+
Syria: "syria",
|
|
3833
3503
|
|
|
3834
|
-
Tajikistan
|
|
3504
|
+
Tajikistan: "tajikistan",
|
|
3835
3505
|
|
|
3836
|
-
Tanzania
|
|
3506
|
+
Tanzania: "tanzania",
|
|
3837
3507
|
|
|
3838
|
-
Togo
|
|
3508
|
+
Togo: "togo",
|
|
3839
3509
|
|
|
3840
|
-
Tokelau
|
|
3510
|
+
Tokelau: "tokelau",
|
|
3841
3511
|
|
|
3842
|
-
Tonga
|
|
3512
|
+
Tonga: "tonga",
|
|
3843
3513
|
|
|
3844
|
-
TrinidadAndTobago
|
|
3514
|
+
TrinidadAndTobago: "trinidadAndTobago",
|
|
3845
3515
|
|
|
3846
|
-
Turkmenistan
|
|
3516
|
+
Turkmenistan: "turkmenistan",
|
|
3847
3517
|
|
|
3848
|
-
TurksAndCaicosIslands
|
|
3518
|
+
TurksAndCaicosIslands: "turksAndCaicosIslands",
|
|
3849
3519
|
|
|
3850
|
-
Tuvalu
|
|
3520
|
+
Tuvalu: "tuvalu",
|
|
3851
3521
|
|
|
3852
|
-
UnitedStatesMinorOutlyingIslands
|
|
3522
|
+
UnitedStatesMinorOutlyingIslands: "unitedStatesMinorOutlyingIslands",
|
|
3853
3523
|
|
|
3854
|
-
Uzbekistan
|
|
3524
|
+
Uzbekistan: "uzbekistan",
|
|
3855
3525
|
|
|
3856
|
-
Vanuatu
|
|
3526
|
+
Vanuatu: "vanuatu",
|
|
3857
3527
|
|
|
3858
|
-
VaticanCity
|
|
3528
|
+
VaticanCity: "vaticanCity",
|
|
3859
3529
|
|
|
3860
|
-
VirginIslandsBritish
|
|
3530
|
+
VirginIslandsBritish: "virginIslandsBritish",
|
|
3861
3531
|
|
|
3862
|
-
|
|
3532
|
+
VirginIslandsOfTheUnitedStates: "virginIslandsOfTheUnitedStates",
|
|
3863
3533
|
|
|
3864
|
-
WallisAndFutuna
|
|
3534
|
+
WallisAndFutuna: "wallisAndFutuna",
|
|
3865
3535
|
|
|
3866
|
-
WesternSahara
|
|
3536
|
+
WesternSahara: "westernSahara",
|
|
3867
3537
|
|
|
3868
|
-
Yemen
|
|
3538
|
+
Yemen: "yemen",
|
|
3869
3539
|
|
|
3870
|
-
Yugoslavia
|
|
3540
|
+
Yugoslavia: "yugoslavia",
|
|
3871
3541
|
|
|
3872
|
-
Zambia
|
|
3542
|
+
Zambia: "zambia",
|
|
3873
3543
|
|
|
3874
|
-
Zimbabwe
|
|
3544
|
+
Zimbabwe: "zimbabwe",
|
|
3875
3545
|
|
|
3876
|
-
SchengenArea
|
|
3546
|
+
SchengenArea: "schengenArea",
|
|
3547
|
+
|
|
3548
|
+
SaintThomasAndPrince: "saintThomasAndPrince",
|
|
3549
|
+
} as const;
|
|
3550
|
+
|
|
3551
|
+
export type Country = (typeof Country)[keyof typeof Country];
|
|
3877
3552
|
|
|
3878
|
-
SaintThomasAndPrince = "saintThomasAndPrince",
|
|
3879
|
-
}
|
|
3880
3553
|
/**
|
|
3881
3554
|
* Document region.
|
|
3882
3555
|
*/
|
|
3883
|
-
export
|
|
3884
|
-
None
|
|
3556
|
+
export const Region = {
|
|
3557
|
+
None: "none",
|
|
3885
3558
|
|
|
3886
|
-
Alabama
|
|
3559
|
+
Alabama: "alabama",
|
|
3887
3560
|
|
|
3888
|
-
Alaska
|
|
3561
|
+
Alaska: "alaska",
|
|
3889
3562
|
|
|
3890
|
-
Alberta
|
|
3563
|
+
Alberta: "alberta",
|
|
3891
3564
|
|
|
3892
|
-
Arizona
|
|
3565
|
+
Arizona: "arizona",
|
|
3893
3566
|
|
|
3894
|
-
Arkansas
|
|
3567
|
+
Arkansas: "arkansas",
|
|
3895
3568
|
|
|
3896
|
-
AustralianCapitalTerritory
|
|
3569
|
+
AustralianCapitalTerritory: "australianCapitalTerritory",
|
|
3897
3570
|
|
|
3898
|
-
BritishColumbia
|
|
3571
|
+
BritishColumbia: "britishColumbia",
|
|
3899
3572
|
|
|
3900
|
-
California
|
|
3573
|
+
California: "california",
|
|
3901
3574
|
|
|
3902
|
-
Colorado
|
|
3575
|
+
Colorado: "colorado",
|
|
3903
3576
|
|
|
3904
|
-
Connecticut
|
|
3577
|
+
Connecticut: "connecticut",
|
|
3905
3578
|
|
|
3906
|
-
Delaware
|
|
3579
|
+
Delaware: "delaware",
|
|
3907
3580
|
|
|
3908
|
-
DistrictOfColumbia
|
|
3581
|
+
DistrictOfColumbia: "districtOfColumbia",
|
|
3909
3582
|
|
|
3910
|
-
Florida
|
|
3583
|
+
Florida: "florida",
|
|
3911
3584
|
|
|
3912
|
-
Georgia
|
|
3585
|
+
Georgia: "georgia",
|
|
3913
3586
|
|
|
3914
|
-
Hawaii
|
|
3587
|
+
Hawaii: "hawaii",
|
|
3915
3588
|
|
|
3916
|
-
Idaho
|
|
3589
|
+
Idaho: "idaho",
|
|
3917
3590
|
|
|
3918
|
-
Illinois
|
|
3591
|
+
Illinois: "illinois",
|
|
3919
3592
|
|
|
3920
|
-
Indiana
|
|
3593
|
+
Indiana: "indiana",
|
|
3921
3594
|
|
|
3922
|
-
Iowa
|
|
3595
|
+
Iowa: "iowa",
|
|
3923
3596
|
|
|
3924
|
-
Kansas
|
|
3597
|
+
Kansas: "kansas",
|
|
3925
3598
|
|
|
3926
|
-
Kentucky
|
|
3599
|
+
Kentucky: "kentucky",
|
|
3927
3600
|
|
|
3928
|
-
Louisiana
|
|
3601
|
+
Louisiana: "louisiana",
|
|
3929
3602
|
|
|
3930
|
-
Maine
|
|
3603
|
+
Maine: "maine",
|
|
3931
3604
|
|
|
3932
|
-
Manitoba
|
|
3605
|
+
Manitoba: "manitoba",
|
|
3933
3606
|
|
|
3934
|
-
Maryland
|
|
3607
|
+
Maryland: "maryland",
|
|
3935
3608
|
|
|
3936
|
-
Massachusetts
|
|
3609
|
+
Massachusetts: "massachusetts",
|
|
3937
3610
|
|
|
3938
|
-
Michigan
|
|
3611
|
+
Michigan: "michigan",
|
|
3939
3612
|
|
|
3940
|
-
Minnesota
|
|
3613
|
+
Minnesota: "minnesota",
|
|
3941
3614
|
|
|
3942
|
-
Mississippi
|
|
3615
|
+
Mississippi: "mississippi",
|
|
3943
3616
|
|
|
3944
|
-
Missouri
|
|
3617
|
+
Missouri: "missouri",
|
|
3945
3618
|
|
|
3946
|
-
Montana
|
|
3619
|
+
Montana: "montana",
|
|
3947
3620
|
|
|
3948
|
-
Nebraska
|
|
3621
|
+
Nebraska: "nebraska",
|
|
3949
3622
|
|
|
3950
|
-
Nevada
|
|
3623
|
+
Nevada: "nevada",
|
|
3951
3624
|
|
|
3952
|
-
NewBrunswick
|
|
3625
|
+
NewBrunswick: "newBrunswick",
|
|
3953
3626
|
|
|
3954
|
-
NewHampshire
|
|
3627
|
+
NewHampshire: "newHampshire",
|
|
3955
3628
|
|
|
3956
|
-
NewJersey
|
|
3629
|
+
NewJersey: "newJersey",
|
|
3957
3630
|
|
|
3958
|
-
NewMexico
|
|
3631
|
+
NewMexico: "newMexico",
|
|
3959
3632
|
|
|
3960
|
-
NewSouthWales
|
|
3633
|
+
NewSouthWales: "newSouthWales",
|
|
3961
3634
|
|
|
3962
|
-
NewYork
|
|
3635
|
+
NewYork: "newYork",
|
|
3963
3636
|
|
|
3964
|
-
NorthernTerritory
|
|
3637
|
+
NorthernTerritory: "northernTerritory",
|
|
3965
3638
|
|
|
3966
|
-
NorthCarolina
|
|
3639
|
+
NorthCarolina: "northCarolina",
|
|
3967
3640
|
|
|
3968
|
-
NorthDakota
|
|
3641
|
+
NorthDakota: "northDakota",
|
|
3969
3642
|
|
|
3970
|
-
NovaScotia
|
|
3643
|
+
NovaScotia: "novaScotia",
|
|
3971
3644
|
|
|
3972
|
-
Ohio
|
|
3645
|
+
Ohio: "ohio",
|
|
3973
3646
|
|
|
3974
|
-
Oklahoma
|
|
3647
|
+
Oklahoma: "oklahoma",
|
|
3975
3648
|
|
|
3976
|
-
Ontario
|
|
3649
|
+
Ontario: "ontario",
|
|
3977
3650
|
|
|
3978
|
-
Oregon
|
|
3651
|
+
Oregon: "oregon",
|
|
3979
3652
|
|
|
3980
|
-
Pennsylvania
|
|
3653
|
+
Pennsylvania: "pennsylvania",
|
|
3981
3654
|
|
|
3982
|
-
Quebec
|
|
3655
|
+
Quebec: "quebec",
|
|
3983
3656
|
|
|
3984
|
-
Queensland
|
|
3657
|
+
Queensland: "queensland",
|
|
3985
3658
|
|
|
3986
|
-
RhodeIsland
|
|
3659
|
+
RhodeIsland: "rhodeIsland",
|
|
3987
3660
|
|
|
3988
|
-
Saskatchewan
|
|
3661
|
+
Saskatchewan: "saskatchewan",
|
|
3989
3662
|
|
|
3990
|
-
SouthAustralia
|
|
3663
|
+
SouthAustralia: "southAustralia",
|
|
3991
3664
|
|
|
3992
|
-
SouthCarolina
|
|
3665
|
+
SouthCarolina: "southCarolina",
|
|
3993
3666
|
|
|
3994
|
-
SouthDakota
|
|
3667
|
+
SouthDakota: "southDakota",
|
|
3995
3668
|
|
|
3996
|
-
Tasmania
|
|
3669
|
+
Tasmania: "tasmania",
|
|
3997
3670
|
|
|
3998
|
-
Tennessee
|
|
3671
|
+
Tennessee: "tennessee",
|
|
3999
3672
|
|
|
4000
|
-
Texas
|
|
3673
|
+
Texas: "texas",
|
|
4001
3674
|
|
|
4002
|
-
Utah
|
|
3675
|
+
Utah: "utah",
|
|
4003
3676
|
|
|
4004
|
-
Vermont
|
|
3677
|
+
Vermont: "vermont",
|
|
4005
3678
|
|
|
4006
|
-
Victoria
|
|
3679
|
+
Victoria: "victoria",
|
|
4007
3680
|
|
|
4008
|
-
Virginia
|
|
3681
|
+
Virginia: "virginia",
|
|
4009
3682
|
|
|
4010
|
-
Washington
|
|
3683
|
+
Washington: "washington",
|
|
4011
3684
|
|
|
4012
|
-
WesternAustralia
|
|
3685
|
+
WesternAustralia: "westernAustralia",
|
|
4013
3686
|
|
|
4014
|
-
WestVirginia
|
|
3687
|
+
WestVirginia: "westVirginia",
|
|
4015
3688
|
|
|
4016
|
-
Wisconsin
|
|
3689
|
+
Wisconsin: "wisconsin",
|
|
4017
3690
|
|
|
4018
|
-
Wyoming
|
|
3691
|
+
Wyoming: "wyoming",
|
|
4019
3692
|
|
|
4020
|
-
Yukon
|
|
3693
|
+
Yukon: "yukon",
|
|
4021
3694
|
|
|
4022
|
-
CiudadDeMexico
|
|
3695
|
+
CiudadDeMexico: "ciudadDeMexico",
|
|
4023
3696
|
|
|
4024
|
-
Jalisco
|
|
3697
|
+
Jalisco: "jalisco",
|
|
4025
3698
|
|
|
4026
|
-
NewfoundlandAndLabrador
|
|
3699
|
+
NewfoundlandAndLabrador: "newfoundlandAndLabrador",
|
|
4027
3700
|
|
|
4028
|
-
NuevoLeon
|
|
3701
|
+
NuevoLeon: "nuevoLeon",
|
|
4029
3702
|
|
|
4030
|
-
BajaCalifornia
|
|
3703
|
+
BajaCalifornia: "bajaCalifornia",
|
|
4031
3704
|
|
|
4032
|
-
Chihuahua
|
|
3705
|
+
Chihuahua: "chihuahua",
|
|
4033
3706
|
|
|
4034
|
-
Guanajuato
|
|
3707
|
+
Guanajuato: "guanajuato",
|
|
4035
3708
|
|
|
4036
|
-
Guerrero
|
|
3709
|
+
Guerrero: "guerrero",
|
|
4037
3710
|
|
|
4038
|
-
Mexico
|
|
3711
|
+
Mexico: "mexico",
|
|
4039
3712
|
|
|
4040
|
-
Michoacan
|
|
3713
|
+
Michoacan: "michoacan",
|
|
4041
3714
|
|
|
4042
|
-
NewYorkCity
|
|
3715
|
+
NewYorkCity: "newYorkCity",
|
|
4043
3716
|
|
|
4044
|
-
Tamaulipas
|
|
3717
|
+
Tamaulipas: "tamaulipas",
|
|
4045
3718
|
|
|
4046
|
-
Veracruz
|
|
3719
|
+
Veracruz: "veracruz",
|
|
4047
3720
|
|
|
4048
|
-
Chiapas
|
|
3721
|
+
Chiapas: "chiapas",
|
|
4049
3722
|
|
|
4050
|
-
Coahuila
|
|
3723
|
+
Coahuila: "coahuila",
|
|
4051
3724
|
|
|
4052
|
-
Durago
|
|
3725
|
+
Durago: "durango",
|
|
4053
3726
|
|
|
4054
|
-
GuerreroCocula
|
|
3727
|
+
GuerreroCocula: "guerreroCocula",
|
|
4055
3728
|
|
|
4056
|
-
GuerreroJuchitan
|
|
3729
|
+
GuerreroJuchitan: "guerreroJuchitan",
|
|
4057
3730
|
|
|
4058
|
-
GuerreroTepecoacuilco
|
|
3731
|
+
GuerreroTepecoacuilco: "guerreroTepecoacuilco",
|
|
4059
3732
|
|
|
4060
|
-
GuerreroTlacoapa
|
|
3733
|
+
GuerreroTlacoapa: "guerreroTlacoapa",
|
|
4061
3734
|
|
|
4062
|
-
Gujarat
|
|
3735
|
+
Gujarat: "gujarat",
|
|
4063
3736
|
|
|
4064
|
-
Hidalgo
|
|
3737
|
+
Hidalgo: "hidalgo",
|
|
4065
3738
|
|
|
4066
|
-
Karnataka
|
|
3739
|
+
Karnataka: "karnataka",
|
|
4067
3740
|
|
|
4068
|
-
Kerala
|
|
3741
|
+
Kerala: "kerala",
|
|
4069
3742
|
|
|
4070
|
-
KhyberPakhtunkhwa
|
|
3743
|
+
KhyberPakhtunkhwa: "khyberPakhtunkhwa",
|
|
4071
3744
|
|
|
4072
|
-
MadhyaPradesh
|
|
3745
|
+
MadhyaPradesh: "madhyaPradesh",
|
|
4073
3746
|
|
|
4074
|
-
Maharashtra
|
|
3747
|
+
Maharashtra: "maharashtra",
|
|
4075
3748
|
|
|
4076
|
-
Morelos
|
|
3749
|
+
Morelos: "morelos",
|
|
4077
3750
|
|
|
4078
|
-
Nayarit
|
|
3751
|
+
Nayarit: "nayarit",
|
|
4079
3752
|
|
|
4080
|
-
Oaxaca
|
|
3753
|
+
Oaxaca: "oaxaca",
|
|
4081
3754
|
|
|
4082
|
-
Puebla
|
|
3755
|
+
Puebla: "puebla",
|
|
4083
3756
|
|
|
4084
|
-
Punjab
|
|
3757
|
+
Punjab: "punjab",
|
|
4085
3758
|
|
|
4086
|
-
Queretaro
|
|
3759
|
+
Queretaro: "queretaro",
|
|
4087
3760
|
|
|
4088
|
-
SanLuisPotosi
|
|
3761
|
+
SanLuisPotosi: "sanLuisPotosi",
|
|
4089
3762
|
|
|
4090
|
-
Sinaloa
|
|
3763
|
+
Sinaloa: "sinaloa",
|
|
4091
3764
|
|
|
4092
|
-
Sonora
|
|
3765
|
+
Sonora: "sonora",
|
|
4093
3766
|
|
|
4094
|
-
Tabasco
|
|
3767
|
+
Tabasco: "tabasco",
|
|
4095
3768
|
|
|
4096
|
-
TamilNadu
|
|
3769
|
+
TamilNadu: "tamilNadu",
|
|
4097
3770
|
|
|
4098
|
-
Yucatan
|
|
3771
|
+
Yucatan: "yucatan",
|
|
4099
3772
|
|
|
4100
|
-
Zacatecas
|
|
3773
|
+
Zacatecas: "zacatecas",
|
|
4101
3774
|
|
|
4102
|
-
Aguascalientes
|
|
3775
|
+
Aguascalientes: "aguascalientes",
|
|
4103
3776
|
|
|
4104
|
-
BajaCaliforniaSur
|
|
3777
|
+
BajaCaliforniaSur: "bajaCaliforniaSur",
|
|
4105
3778
|
|
|
4106
|
-
Campeche
|
|
3779
|
+
Campeche: "campeche",
|
|
4107
3780
|
|
|
4108
|
-
Colima
|
|
3781
|
+
Colima: "colima",
|
|
4109
3782
|
|
|
4110
|
-
QuintanaRooBenitoJuarez
|
|
3783
|
+
QuintanaRooBenitoJuarez: "quintanaRooBenitoJuarez",
|
|
4111
3784
|
|
|
4112
|
-
QuintanaRoo
|
|
3785
|
+
QuintanaRoo: "quintanaRoo",
|
|
4113
3786
|
|
|
4114
|
-
QuintanaRooSolidaridad
|
|
3787
|
+
QuintanaRooSolidaridad: "quintanaRooSolidaridad",
|
|
4115
3788
|
|
|
4116
|
-
Tlaxcala
|
|
3789
|
+
Tlaxcala: "tlaxcala",
|
|
4117
3790
|
|
|
4118
|
-
QuintanaRooCozumel
|
|
3791
|
+
QuintanaRooCozumel: "quintanaRooCozumel",
|
|
4119
3792
|
|
|
4120
|
-
SanPaolo
|
|
3793
|
+
SanPaolo: "saoPaolo",
|
|
4121
3794
|
|
|
4122
|
-
RioDeJaniero
|
|
3795
|
+
RioDeJaniero: "rioDeJaneiro",
|
|
4123
3796
|
|
|
4124
|
-
RioGrandeDoSul
|
|
3797
|
+
RioGrandeDoSul: "rioGrandeDoSul",
|
|
4125
3798
|
|
|
4126
|
-
NorthWestTerritories
|
|
3799
|
+
NorthWestTerritories: "northWestTerritories",
|
|
4127
3800
|
|
|
4128
|
-
Nunavut
|
|
3801
|
+
Nunavut: "nunavut",
|
|
4129
3802
|
|
|
4130
|
-
PrinceEdwardIsland
|
|
3803
|
+
PrinceEdwardIsland: "princeEdwardIsland",
|
|
4131
3804
|
|
|
4132
|
-
DistritoFederal
|
|
3805
|
+
DistritoFederal: "distritoFederal",
|
|
4133
3806
|
|
|
4134
|
-
Maranhao
|
|
3807
|
+
Maranhao: "maranhao",
|
|
4135
3808
|
|
|
4136
|
-
MatoGrosso
|
|
3809
|
+
MatoGrosso: "matoGrosso",
|
|
4137
3810
|
|
|
4138
|
-
MinasGerais
|
|
3811
|
+
MinasGerais: "minasGerais",
|
|
4139
3812
|
|
|
4140
|
-
Para
|
|
3813
|
+
Para: "para",
|
|
4141
3814
|
|
|
4142
|
-
Parana
|
|
3815
|
+
Parana: "parana",
|
|
4143
3816
|
|
|
4144
|
-
Pernambuco
|
|
3817
|
+
Pernambuco: "pernambuco",
|
|
4145
3818
|
|
|
4146
|
-
SantaCatarina
|
|
3819
|
+
SantaCatarina: "santaCatarina",
|
|
4147
3820
|
|
|
4148
|
-
AndhraPradesh
|
|
3821
|
+
AndhraPradesh: "andhraPradesh",
|
|
4149
3822
|
|
|
4150
|
-
Ceara
|
|
3823
|
+
Ceara: "ceara",
|
|
4151
3824
|
|
|
4152
|
-
Goias
|
|
3825
|
+
Goias: "goias",
|
|
4153
3826
|
|
|
4154
|
-
GuerreroAcapulcoDeJuarez
|
|
3827
|
+
GuerreroAcapulcoDeJuarez: "guerreroAcapulcoDeJuarez",
|
|
4155
3828
|
|
|
4156
|
-
Haryana
|
|
3829
|
+
Haryana: "haryana",
|
|
4157
3830
|
|
|
4158
|
-
Sergipe
|
|
3831
|
+
Sergipe: "sergipe",
|
|
4159
3832
|
|
|
4160
|
-
Alagos
|
|
3833
|
+
Alagos: "alagos",
|
|
4161
3834
|
|
|
4162
|
-
Bangsamoro
|
|
3835
|
+
Bangsamoro: "bangsamoro",
|
|
4163
3836
|
|
|
4164
|
-
Telangana
|
|
3837
|
+
Telangana: "telangana",
|
|
4165
3838
|
|
|
4166
|
-
Acre
|
|
3839
|
+
Acre: "acre",
|
|
4167
3840
|
|
|
4168
|
-
EspiritoSanto
|
|
3841
|
+
EspiritoSanto: "espiritoSanto",
|
|
4169
3842
|
|
|
4170
|
-
MatoGrossoDoSul
|
|
3843
|
+
MatoGrossoDoSul: "matoGrossoDoSul",
|
|
4171
3844
|
|
|
4172
|
-
Paraiba
|
|
3845
|
+
Paraiba: "paraiba",
|
|
4173
3846
|
|
|
4174
|
-
Piaui
|
|
3847
|
+
Piaui: "piaui",
|
|
4175
3848
|
|
|
4176
|
-
RioGrandeDoNorte
|
|
3849
|
+
RioGrandeDoNorte: "rioGrandeDoNorte",
|
|
4177
3850
|
|
|
4178
|
-
Tocantins
|
|
3851
|
+
Tocantins: "tocantins",
|
|
4179
3852
|
|
|
4180
|
-
Odisha
|
|
3853
|
+
Odisha: "odisha",
|
|
4181
3854
|
|
|
4182
|
-
Uttarakhand
|
|
4183
|
-
}
|
|
3855
|
+
Uttarakhand: "uttarakhand",
|
|
3856
|
+
} as const;
|
|
3857
|
+
|
|
3858
|
+
export type Region = (typeof Region)[keyof typeof Region];
|
|
4184
3859
|
|
|
4185
3860
|
/**
|
|
4186
3861
|
* Document type.
|
|
4187
3862
|
*
|
|
4188
3863
|
*/
|
|
4189
|
-
export
|
|
4190
|
-
None
|
|
3864
|
+
export const DocumentType = {
|
|
3865
|
+
None: "none",
|
|
4191
3866
|
|
|
4192
|
-
ConsularId
|
|
3867
|
+
ConsularId: "consularId",
|
|
4193
3868
|
|
|
4194
|
-
Dl
|
|
3869
|
+
Dl: "dl",
|
|
4195
3870
|
|
|
4196
|
-
DlPublicServicesCard
|
|
3871
|
+
DlPublicServicesCard: "dlPublicServicesCard",
|
|
4197
3872
|
|
|
4198
|
-
EmploymentPass
|
|
3873
|
+
EmploymentPass: "employmentPass",
|
|
4199
3874
|
|
|
4200
|
-
FinCard
|
|
3875
|
+
FinCard: "finCard",
|
|
4201
3876
|
|
|
4202
|
-
Id
|
|
3877
|
+
Id: "id",
|
|
4203
3878
|
|
|
4204
|
-
MultipurposeId
|
|
3879
|
+
MultipurposeId: "multipurposeId",
|
|
4205
3880
|
|
|
4206
|
-
MyKad
|
|
3881
|
+
MyKad: "myKad",
|
|
4207
3882
|
|
|
4208
|
-
MyKid
|
|
3883
|
+
MyKid: "myKid",
|
|
4209
3884
|
|
|
4210
|
-
MyPr
|
|
3885
|
+
MyPr: "myPR",
|
|
4211
3886
|
|
|
4212
|
-
MyTentera
|
|
3887
|
+
MyTentera: "myTentera",
|
|
4213
3888
|
|
|
4214
|
-
PanCard
|
|
3889
|
+
PanCard: "panCard",
|
|
4215
3890
|
|
|
4216
|
-
ProfessionalId
|
|
3891
|
+
ProfessionalId: "professionalId",
|
|
4217
3892
|
|
|
4218
|
-
PublicServicesCard
|
|
3893
|
+
PublicServicesCard: "publicServicesCard",
|
|
4219
3894
|
|
|
4220
|
-
ResidencePermit
|
|
3895
|
+
ResidencePermit: "residencePermit",
|
|
4221
3896
|
|
|
4222
|
-
ResidentId
|
|
3897
|
+
ResidentId: "residentId",
|
|
4223
3898
|
|
|
4224
|
-
TemporaryResidencePermit
|
|
3899
|
+
TemporaryResidencePermit: "temporaryResidencePermit",
|
|
4225
3900
|
|
|
4226
|
-
VoterId
|
|
3901
|
+
VoterId: "voterId",
|
|
4227
3902
|
|
|
4228
|
-
WorkPermit
|
|
3903
|
+
WorkPermit: "workPermit",
|
|
4229
3904
|
|
|
4230
|
-
IKad
|
|
3905
|
+
IKad: "iKad",
|
|
4231
3906
|
|
|
4232
|
-
MilitaryId
|
|
3907
|
+
MilitaryId: "militaryId",
|
|
4233
3908
|
|
|
4234
|
-
MyKas
|
|
3909
|
+
MyKas: "myKas",
|
|
4235
3910
|
|
|
4236
|
-
DocialSecurityCard
|
|
3911
|
+
DocialSecurityCard: "docialSecurityCard",
|
|
4237
3912
|
|
|
4238
|
-
HealthInsuranceCard
|
|
3913
|
+
HealthInsuranceCard: "healthInsuranceCard",
|
|
4239
3914
|
|
|
4240
|
-
Passport
|
|
3915
|
+
Passport: "passport",
|
|
4241
3916
|
|
|
4242
|
-
SPass
|
|
3917
|
+
SPass: "sPass",
|
|
4243
3918
|
|
|
4244
|
-
AddressCard
|
|
3919
|
+
AddressCard: "addressCard",
|
|
4245
3920
|
|
|
4246
|
-
AlienId
|
|
3921
|
+
AlienId: "alienId",
|
|
4247
3922
|
|
|
4248
|
-
AlienPassport
|
|
3923
|
+
AlienPassport: "alienPassport",
|
|
4249
3924
|
|
|
4250
|
-
GreenCard
|
|
3925
|
+
GreenCard: "greenCard",
|
|
4251
3926
|
|
|
4252
|
-
MinorsId
|
|
3927
|
+
MinorsId: "minorsId",
|
|
4253
3928
|
|
|
4254
|
-
PostalId
|
|
3929
|
+
PostalId: "postalId",
|
|
4255
3930
|
|
|
4256
|
-
ProfessionalDl
|
|
3931
|
+
ProfessionalDl: "professionalDl",
|
|
4257
3932
|
|
|
4258
|
-
TaxId
|
|
3933
|
+
TaxId: "taxId",
|
|
4259
3934
|
|
|
4260
|
-
WeaponPermit
|
|
3935
|
+
WeaponPermit: "weaponPermit",
|
|
4261
3936
|
|
|
4262
|
-
Visa
|
|
3937
|
+
Visa: "visa",
|
|
4263
3938
|
|
|
4264
|
-
BorderCrossingCard
|
|
3939
|
+
BorderCrossingCard: "borderCrossingCard",
|
|
4265
3940
|
|
|
4266
|
-
DriverCard
|
|
3941
|
+
DriverCard: "driverCard",
|
|
4267
3942
|
|
|
4268
|
-
GlobalEntryCard
|
|
3943
|
+
GlobalEntryCard: "globalEntryCard",
|
|
4269
3944
|
|
|
4270
|
-
MyPolis
|
|
3945
|
+
MyPolis: "mypolis",
|
|
4271
3946
|
|
|
4272
|
-
NexusCard
|
|
3947
|
+
NexusCard: "nexusCard",
|
|
4273
3948
|
|
|
4274
|
-
PassportCard
|
|
3949
|
+
PassportCard: "passportCard",
|
|
4275
3950
|
|
|
4276
|
-
ProofOfAgeCard
|
|
3951
|
+
ProofOfAgeCard: "proofOfAgeCard",
|
|
4277
3952
|
|
|
4278
|
-
RefugeeId
|
|
3953
|
+
RefugeeId: "refugeeId",
|
|
4279
3954
|
|
|
4280
|
-
TribalId
|
|
3955
|
+
TribalId: "tribalId",
|
|
4281
3956
|
|
|
4282
|
-
VeteranId
|
|
3957
|
+
VeteranId: "veteranId",
|
|
4283
3958
|
|
|
4284
|
-
CitizenshipCertificate
|
|
3959
|
+
CitizenshipCertificate: "citizenshipCertificate",
|
|
4285
3960
|
|
|
4286
|
-
MyNumberCard
|
|
3961
|
+
MyNumberCard: "myNumberCard",
|
|
4287
3962
|
|
|
4288
|
-
ConsularPassport
|
|
3963
|
+
ConsularPassport: "consularPassport",
|
|
4289
3964
|
|
|
4290
|
-
MinorsPassport
|
|
3965
|
+
MinorsPassport: "minorsPassport",
|
|
4291
3966
|
|
|
4292
|
-
MinorsPublicServicesCard
|
|
3967
|
+
MinorsPublicServicesCard: "minorsPublicServicesCard",
|
|
4293
3968
|
|
|
4294
|
-
DrivingPriviligeCard
|
|
3969
|
+
DrivingPriviligeCard: "drivingPriviligeCard",
|
|
4295
3970
|
|
|
4296
|
-
AsylumRequest
|
|
3971
|
+
AsylumRequest: "asylumRequest",
|
|
4297
3972
|
|
|
4298
|
-
DriverQualificationCard
|
|
3973
|
+
DriverQualificationCard: "driverQualificationCard",
|
|
4299
3974
|
|
|
4300
|
-
ProvisionalDl
|
|
3975
|
+
ProvisionalDl: "provisionalDl",
|
|
4301
3976
|
|
|
4302
|
-
RefugeePassport
|
|
3977
|
+
RefugeePassport: "refugeePassport",
|
|
4303
3978
|
|
|
4304
|
-
SpecialId
|
|
3979
|
+
SpecialId: "specialId",
|
|
4305
3980
|
|
|
4306
|
-
UniformedServicesId
|
|
3981
|
+
UniformedServicesId: "uniformedServicesId",
|
|
4307
3982
|
|
|
4308
|
-
ImmigrantVisa
|
|
3983
|
+
ImmigrantVisa: "immigrantVisa",
|
|
4309
3984
|
|
|
4310
|
-
ConsularVoterId
|
|
3985
|
+
ConsularVoterId: "consularVoterId",
|
|
4311
3986
|
|
|
4312
|
-
TwicCard
|
|
3987
|
+
TwicCard: "twicCard",
|
|
4313
3988
|
|
|
4314
|
-
ExitEntryPermit
|
|
3989
|
+
ExitEntryPermit: "exitEntryPermit",
|
|
4315
3990
|
|
|
4316
|
-
MainlandTravelPermitTaiwan
|
|
3991
|
+
MainlandTravelPermitTaiwan: "mainlandTravelPermitTaiwan",
|
|
4317
3992
|
|
|
4318
|
-
NbiClearance
|
|
3993
|
+
NbiClearance: "nbiClearance",
|
|
4319
3994
|
|
|
4320
|
-
ProofOfRegistration
|
|
3995
|
+
ProofOfRegistration: "proofOfRegistration",
|
|
4321
3996
|
|
|
4322
|
-
TemporaryProtectionPermit
|
|
3997
|
+
TemporaryProtectionPermit: "temporaryProtectionPermit",
|
|
4323
3998
|
|
|
4324
|
-
AfghanCitizenCard
|
|
3999
|
+
AfghanCitizenCard: "afghanCitizenCard",
|
|
4325
4000
|
|
|
4326
|
-
EId
|
|
4001
|
+
EId: "eId",
|
|
4327
4002
|
|
|
4328
|
-
Pass
|
|
4003
|
+
Pass: "pass",
|
|
4329
4004
|
|
|
4330
|
-
SisId
|
|
4005
|
+
SisId: "sisId",
|
|
4331
4006
|
|
|
4332
|
-
AsicCard
|
|
4007
|
+
AsicCard: "asicCard",
|
|
4333
4008
|
|
|
4334
|
-
BidoonCard
|
|
4009
|
+
BidoonCard: "bidoonCard",
|
|
4335
4010
|
|
|
4336
|
-
InterimHealthInsuranceCard
|
|
4011
|
+
InterimHealthInsuranceCard: "interimHealthInsuranceCard",
|
|
4337
4012
|
|
|
4338
|
-
NonVoterId
|
|
4013
|
+
NonVoterId: "nonVoterId",
|
|
4339
4014
|
|
|
4340
|
-
ReciprocalHealthInsuranceCard
|
|
4015
|
+
ReciprocalHealthInsuranceCard: "reciprocalHealthInsuranceCard",
|
|
4341
4016
|
|
|
4342
|
-
VehicleRegistration
|
|
4017
|
+
VehicleRegistration: "vehicleRegistration",
|
|
4343
4018
|
|
|
4344
|
-
EsaadCard
|
|
4019
|
+
EsaadCard: "esaadCard",
|
|
4345
4020
|
|
|
4346
|
-
RegistrationCertificate
|
|
4021
|
+
RegistrationCertificate: "registrationCertificate",
|
|
4347
4022
|
|
|
4348
|
-
MedicalMarijuanaId
|
|
4023
|
+
MedicalMarijuanaId: "medicalMarijuanaId",
|
|
4349
4024
|
|
|
4350
|
-
NonCardTribalId
|
|
4025
|
+
NonCardTribalId: "nonCardTribalId",
|
|
4351
4026
|
|
|
4352
|
-
DiplomaticId
|
|
4027
|
+
DiplomaticId: "diplomaticId",
|
|
4353
4028
|
|
|
4354
|
-
EmergencyPassport
|
|
4029
|
+
EmergencyPassport: "emergencyPassport",
|
|
4355
4030
|
|
|
4356
|
-
TemporaryPassport
|
|
4031
|
+
TemporaryPassport: "temporaryPassport",
|
|
4357
4032
|
|
|
4358
|
-
MetisFederationCard
|
|
4033
|
+
MetisFederationCard: "metisFederationCard",
|
|
4359
4034
|
|
|
4360
|
-
SocialSecurityCard
|
|
4035
|
+
SocialSecurityCard: "socialSecurityCard",
|
|
4361
4036
|
|
|
4362
|
-
AdrCertificate
|
|
4037
|
+
AdrCertificate: "adrCertificate",
|
|
4363
4038
|
|
|
4364
|
-
NinCard
|
|
4039
|
+
NinCard: "ninCard",
|
|
4365
4040
|
|
|
4366
|
-
MysssCard
|
|
4041
|
+
MysssCard: "mysssCard",
|
|
4367
4042
|
|
|
4368
|
-
GendarmerieId
|
|
4043
|
+
GendarmerieId: "gendarmerieId",
|
|
4369
4044
|
|
|
4370
|
-
PoliceId
|
|
4371
|
-
}
|
|
4045
|
+
PoliceId: "policeId",
|
|
4372
4046
|
|
|
4047
|
+
OriginCard: "originCard",
|
|
4048
|
+
} as const;
|
|
4049
|
+
export type DocumentType = (typeof DocumentType)[keyof typeof DocumentType];
|
|
4373
4050
|
/**
|
|
4374
4051
|
* Represents all possible field types that can be extracted from the document.
|
|
4375
4052
|
*
|
|
4376
4053
|
*/
|
|
4377
|
-
export
|
|
4378
|
-
AdditionalAddressInformation
|
|
4054
|
+
export const FieldType = {
|
|
4055
|
+
AdditionalAddressInformation: "additionalAddressInformation",
|
|
4379
4056
|
|
|
4380
|
-
AdditionalNameInformation
|
|
4057
|
+
AdditionalNameInformation: "additionalNameInformation",
|
|
4381
4058
|
|
|
4382
|
-
AdditionalOptionalAddressInformation
|
|
4059
|
+
AdditionalOptionalAddressInformation: "additionalOptionalAddressInformation",
|
|
4383
4060
|
|
|
4384
|
-
AdditionalPersonalIdNumber
|
|
4061
|
+
AdditionalPersonalIdNumber: "additionalPersonalIdNumber",
|
|
4385
4062
|
|
|
4386
|
-
Address
|
|
4063
|
+
Address: "address",
|
|
4387
4064
|
|
|
4388
|
-
ClassEffectiveDate
|
|
4065
|
+
ClassEffectiveDate: "classEffectiveDate",
|
|
4389
4066
|
|
|
4390
|
-
ClassExpiryDate
|
|
4067
|
+
ClassExpiryDate: "classExpiryDate",
|
|
4391
4068
|
|
|
4392
|
-
Conditions
|
|
4069
|
+
Conditions: "conditions",
|
|
4393
4070
|
|
|
4394
|
-
DateOfBirth
|
|
4071
|
+
DateOfBirth: "dateOfBirth",
|
|
4395
4072
|
|
|
4396
|
-
DateOfExpiry
|
|
4073
|
+
DateOfExpiry: "dateOfExpiry",
|
|
4397
4074
|
|
|
4398
|
-
DateOfIssue
|
|
4075
|
+
DateOfIssue: "dateOfIssue",
|
|
4399
4076
|
|
|
4400
|
-
DocumentAdditionalNumber
|
|
4077
|
+
DocumentAdditionalNumber: "documentAdditionalNumber",
|
|
4401
4078
|
|
|
4402
|
-
DocumentOptionalAdditionalNumber
|
|
4079
|
+
DocumentOptionalAdditionalNumber: "documentOptionalAdditionalNumber",
|
|
4403
4080
|
|
|
4404
|
-
DocumentNumber
|
|
4081
|
+
DocumentNumber: "documentNumber",
|
|
4405
4082
|
|
|
4406
|
-
Employer
|
|
4083
|
+
Employer: "employer",
|
|
4407
4084
|
|
|
4408
|
-
Endorsements
|
|
4085
|
+
Endorsements: "endorsements",
|
|
4409
4086
|
|
|
4410
|
-
FathersName
|
|
4087
|
+
FathersName: "fathersName",
|
|
4411
4088
|
|
|
4412
|
-
FirstName
|
|
4089
|
+
FirstName: "firstName",
|
|
4413
4090
|
|
|
4414
|
-
FullName
|
|
4091
|
+
FullName: "fullName",
|
|
4415
4092
|
|
|
4416
|
-
IssuingAuthority
|
|
4093
|
+
IssuingAuthority: "issuingAuthority",
|
|
4417
4094
|
|
|
4418
|
-
LastName
|
|
4095
|
+
LastName: "lastName",
|
|
4419
4096
|
|
|
4420
|
-
LicenseType
|
|
4097
|
+
LicenseType: "licenceType",
|
|
4421
4098
|
|
|
4422
|
-
LocalizedName
|
|
4099
|
+
LocalizedName: "localizedName",
|
|
4423
4100
|
|
|
4424
|
-
MaritalStatus
|
|
4101
|
+
MaritalStatus: "maritalStatus",
|
|
4425
4102
|
|
|
4426
|
-
MothersName
|
|
4103
|
+
MothersName: "mothersName",
|
|
4427
4104
|
|
|
4428
|
-
Mrz
|
|
4105
|
+
Mrz: "mrz",
|
|
4429
4106
|
|
|
4430
|
-
Nationality
|
|
4107
|
+
Nationality: "nationality",
|
|
4431
4108
|
|
|
4432
|
-
PersonalIdNumber
|
|
4109
|
+
PersonalIdNumber: "personalIdNumber",
|
|
4433
4110
|
|
|
4434
|
-
PlaceOfBirth
|
|
4111
|
+
PlaceOfBirth: "placeOfBirth",
|
|
4435
4112
|
|
|
4436
|
-
Profession
|
|
4113
|
+
Profession: "profession",
|
|
4437
4114
|
|
|
4438
|
-
Race
|
|
4115
|
+
Race: "race",
|
|
4439
4116
|
|
|
4440
|
-
Religion
|
|
4117
|
+
Religion: "religion",
|
|
4441
4118
|
|
|
4442
|
-
ResidentialStatus
|
|
4119
|
+
ResidentialStatus: "residentialStatus",
|
|
4443
4120
|
|
|
4444
|
-
Restriction
|
|
4121
|
+
Restriction: "restrictions",
|
|
4445
4122
|
|
|
4446
|
-
Sex
|
|
4123
|
+
Sex: "sex",
|
|
4447
4124
|
|
|
4448
|
-
VehicleClass
|
|
4125
|
+
VehicleClass: "vehicleClass",
|
|
4449
4126
|
|
|
4450
|
-
BloodType
|
|
4127
|
+
BloodType: "bloodType",
|
|
4451
4128
|
|
|
4452
|
-
Sponsor
|
|
4129
|
+
Sponsor: "sponsor",
|
|
4453
4130
|
|
|
4454
|
-
VisaType
|
|
4131
|
+
VisaType: "visaType",
|
|
4455
4132
|
|
|
4456
|
-
DocumentSubtype
|
|
4133
|
+
DocumentSubtype: "documentSubtype",
|
|
4457
4134
|
|
|
4458
|
-
Remarks
|
|
4135
|
+
Remarks: "remarks",
|
|
4459
4136
|
|
|
4460
|
-
ResidencePermitType
|
|
4137
|
+
ResidencePermitType: "residencePermitType",
|
|
4461
4138
|
|
|
4462
|
-
ManufacturingYear
|
|
4139
|
+
ManufacturingYear: "manufacturingYear",
|
|
4463
4140
|
|
|
4464
|
-
VehicleType
|
|
4141
|
+
VehicleType: "vehicleType",
|
|
4465
4142
|
|
|
4466
|
-
DependentDateOfBirth
|
|
4143
|
+
DependentDateOfBirth: "dependentDateOfBirth",
|
|
4467
4144
|
|
|
4468
|
-
DependentSex
|
|
4145
|
+
DependentSex: "dependentSex",
|
|
4469
4146
|
|
|
4470
|
-
DependentDocumentNumber
|
|
4147
|
+
DependentDocumentNumber: "dependentDocumentNumber",
|
|
4471
4148
|
|
|
4472
|
-
DependentFullName
|
|
4149
|
+
DependentFullName: "dependentFullName",
|
|
4473
4150
|
|
|
4474
|
-
EligibilityCategory
|
|
4151
|
+
EligibilityCategory: "eligibilityCategory",
|
|
4475
4152
|
|
|
4476
|
-
SpecificDocumentValidity
|
|
4153
|
+
SpecificDocumentValidity: "specificDocumentValidity",
|
|
4477
4154
|
|
|
4478
|
-
VehicleOwner
|
|
4155
|
+
VehicleOwner: "vehicleOwner",
|
|
4479
4156
|
|
|
4480
|
-
nationalInsuranceNumber
|
|
4157
|
+
nationalInsuranceNumber: "nationalInsuranceNumber",
|
|
4481
4158
|
|
|
4482
|
-
CountryCode
|
|
4159
|
+
CountryCode: "countryCode",
|
|
4483
4160
|
|
|
4484
|
-
CertificateNumber
|
|
4161
|
+
CertificateNumber: "certificateNumber",
|
|
4485
4162
|
|
|
4486
|
-
MunicipalityOfRegistration
|
|
4163
|
+
MunicipalityOfRegistration: "municipalityOfRegistration",
|
|
4487
4164
|
|
|
4488
|
-
LocalityCode
|
|
4165
|
+
LocalityCode: "localityCode",
|
|
4489
4166
|
|
|
4490
|
-
MaidenName
|
|
4167
|
+
MaidenName: "maidenName",
|
|
4491
4168
|
|
|
4492
|
-
StateCode
|
|
4169
|
+
StateCode: "stateCode",
|
|
4493
4170
|
|
|
4494
|
-
DateOfEntry
|
|
4171
|
+
DateOfEntry: "dateOfEntry",
|
|
4495
4172
|
|
|
4496
|
-
MunicipalityCode
|
|
4173
|
+
MunicipalityCode: "municipalityCode",
|
|
4497
4174
|
|
|
4498
|
-
PollingStationCode
|
|
4175
|
+
PollingStationCode: "pollingStationCode",
|
|
4499
4176
|
|
|
4500
|
-
SectionCode
|
|
4177
|
+
SectionCode: "sectionCode",
|
|
4501
4178
|
|
|
4502
|
-
RegistrationCenterCode
|
|
4179
|
+
RegistrationCenterCode: "registrationCenterCode",
|
|
4503
4180
|
|
|
4504
|
-
StateName
|
|
4181
|
+
StateName: "stateName",
|
|
4505
4182
|
|
|
4506
|
-
EffectiveDate
|
|
4183
|
+
EffectiveDate: "effectiveDate",
|
|
4507
4184
|
|
|
4508
|
-
ParentsLastName
|
|
4185
|
+
ParentsLastName: "parentsLastName",
|
|
4509
4186
|
|
|
4510
|
-
|
|
4187
|
+
ParentsFirstName: "parentsFirstName",
|
|
4511
4188
|
|
|
4512
|
-
|
|
4189
|
+
WorkRestriction: "workRestriction",
|
|
4513
4190
|
|
|
4514
|
-
|
|
4191
|
+
SocialSecurityStatus: "socialSecurityStatus",
|
|
4515
4192
|
|
|
4516
|
-
|
|
4193
|
+
LegalStatus: "legalStatus",
|
|
4517
4194
|
|
|
4518
|
-
|
|
4195
|
+
HusbandName: "husbandName",
|
|
4519
4196
|
|
|
4520
|
-
|
|
4197
|
+
CardAccessNumber: "cardAccessNumber",
|
|
4198
|
+
} as const;
|
|
4521
4199
|
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
ChinPermanentExpiry = "chinPermanentExpiry",
|
|
4525
|
-
}
|
|
4200
|
+
export type FieldType = (typeof FieldType)[keyof typeof FieldType];
|
|
4526
4201
|
|
|
4527
4202
|
/** An enum indicating preffered camera position for document capturing. */
|
|
4528
|
-
export
|
|
4203
|
+
export type PreferredCamera =
|
|
4529
4204
|
/**
|
|
4530
4205
|
* Use the back-facing camera
|
|
4531
4206
|
*
|
|
4532
4207
|
* This is the default value
|
|
4533
4208
|
*/
|
|
4534
|
-
|
|
4209
|
+
| "back"
|
|
4535
4210
|
|
|
4536
4211
|
/**
|
|
4537
4212
|
* Use the front-facing camera
|
|
4538
4213
|
*
|
|
4539
4214
|
*/
|
|
4540
|
-
|
|
4541
|
-
}
|
|
4215
|
+
| "front";
|