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