@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,3 +1,54 @@
1
+ /**
2
+ * Settings for the barcode extraction module.
3
+ *
4
+ * This module manages the detection and data extraction from various 1D and 2D
5
+ * barcode formats (such as PDF417, QR codes, and various retail codes).
6
+ *
7
+ * It can operate as a standalone module or in combination with document capture.
8
+ */
9
+ export type BarcodeModuleSettings = {
10
+ presenceMandatory: boolean;
11
+ barcodeImageReturnEnabled: boolean;
12
+ pdf417ScanningEnabled: boolean;
13
+ qrScanningEnabled: boolean;
14
+ upceScanningEnabled: boolean;
15
+ upcaScanningEnabled: boolean;
16
+ code128ScanningEnabled: boolean;
17
+ code39ScanningEnabled: boolean;
18
+ ean8ScanningEnabled: boolean;
19
+ ean13ScanningEnabled: boolean;
20
+ itfScanningEnabled: boolean;
21
+ dataMatrixScanningEnabled: boolean;
22
+ };
23
+ export type DocumentCaptureModuleSettings = {
24
+ inputImageCropped: boolean;
25
+ unsupportedDocumentsAllowed: boolean;
26
+ secondSideWithNoExtractableDataSkipped: boolean;
27
+ passportDataPageScanOnly: boolean;
28
+ faceImageExtractionEnabled: boolean;
29
+ faceImagePresenceMandatory: boolean;
30
+ inputImageReturnEnabled: boolean;
31
+ documentImageReturnEnabled: boolean;
32
+ inputImageMargin?: number;
33
+ dotsPerInch: number;
34
+ extensionFactor: number;
35
+ blurSensitivityLevel: SensitivityLevel;
36
+ imageWithBlurRejected: boolean;
37
+ glareSensitivityLevel: SensitivityLevel;
38
+ imageWithGlareRejected: boolean;
39
+ tiltSensitivityLevel: SensitivityLevel;
40
+ imageWithPoorLightingRejected: boolean;
41
+ imageWithHandOcclusionRejected: boolean;
42
+ };
43
+ export type MrzModuleSettings = {
44
+ presenceMandatory: boolean;
45
+ };
46
+ export type VizModuleSettings = {
47
+ presenceMandatory: boolean;
48
+ signatureImageExtractionEnabled: boolean;
49
+ characterValidationEnabled: boolean;
50
+ resultAggregationEnabled: boolean;
51
+ };
1
52
  /**
2
53
  * ClassFilter represents the document filter used to determine which documents will be processed.
3
54
  * Document information (Country, Region, Type) is evaluated with the content set in the filter, and their inclusion or exclusion depends on the defined rules.
@@ -7,7 +58,7 @@
7
58
  *
8
59
  * By default, the ClassFilter is turned off, and all documents will be included.
9
60
  */
10
- export declare class ClassFilter {
61
+ export type ClassFilter = {
11
62
  /**
12
63
  * Document classes that will be explicitly accepted by this filter.
13
64
  * Only documents belonging to the specified classes will be processed. All other documents will be rejected.
@@ -61,19 +112,16 @@ export declare class ClassFilter {
61
112
  * See {@link DocumentFilter} for setting the combinations.
62
113
  */
63
114
  excludeDocuments?: DocumentFilter[];
64
- /**
65
- *
66
- * @param includeDocuments - specifies which document classes that will be explicitly accepted by this filter.
67
- * @param excludeDocuments - specifies which document classes that will be explicitly rejected by this filter.
68
- */
69
- constructor(includeDocuments?: DocumentFilter[], excludeDocuments?: DocumentFilter[]);
70
- }
115
+ };
116
+ export type RedactionSettingsResolver = {
117
+ documentRedactionList: RedactionSettings[];
118
+ };
71
119
  /**
72
120
  * Represents the document filter.
73
121
  *
74
- * Used with other classes like the {@link ClassFilter}, {@link DocumentRules} and the {@link DocumentAnonymizationSettings}.
122
+ * Used with other classes like the {@link ClassFilter}, {@link DocumentRules} and the {@link RedactionSettings}.
75
123
  */
76
- export declare class DocumentFilter {
124
+ export type DocumentFilter = {
77
125
  /**
78
126
  * If set, only specified country will pass the filter criteria.
79
127
  * Otherwise, issuing country will not betaken into account.
@@ -89,75 +137,7 @@ export declare class DocumentFilter {
89
137
  * Otherwise, issuing type will not be taken into account.
90
138
  */
91
139
  documentType?: DocumentType;
92
- /**
93
- *
94
- * @param country - specifies the {@link Country} that will pass the filter criteria.
95
- *
96
- * @param region - specifies the {@link Region} that will pass the filter criteria.
97
- *
98
- * @param documentType - specifies the {@link DocumentType} that will pass the filter criteria.
99
- *
100
- *
101
- * All parameters are optional, and do not need to be added.
102
- * The filter can be set to be more generic (for example, to only accept document from USA):
103
- * ```
104
- * DocumentFilter(Country.Usa);
105
- * ```
106
- * or, it can be set to be more specific (for example, to specifically accept USA drivers licenses from California):
107
- * ```
108
- * DocumentFilter(Country.Usa, Region.California, DocumentType.Dl);
109
- * ```
110
- */
111
- constructor(country?: Country, region?: Region, documentType?: DocumentType);
112
- }
113
- /**
114
- * Represents the custom document rules.
115
- *
116
- * This setting allows users to narrow down our internal rules on mandatory fields. All undefined fields will become optional.
117
- * It is not possible to mark fields as mandatory if they cannot theoretically appear on the document.
118
- * The more detailed document filter will have priority over the other.
119
- *
120
- * Document fields are validated using internal rules that define mandatory fields for the scanned document class.
121
- */
122
- export declare class DocumentRules {
123
- /**
124
- * Specified fields will overrule our document class field rules if filter conditions are met.
125
- *
126
- * See {@link DocumentFilter} for more information.
127
- */
128
- documentFilter?: DocumentFilter;
129
- /**
130
- * Fields to overrule our class field rules.
131
- *
132
- * See {@link DetailedFieldType} for more information.
133
- */
134
- fields: DetailedFieldType[];
135
- /**
136
- * Represents the custom document rules.
137
- *
138
- * This setting allows users to narrow down our internal rules on mandatory fields. All undefined fields will become optional.
139
- * It is not possible to mark fields as mandatory if they cannot theoretically appear on the document.
140
- * The more detailed document filter will have priority over the other.
141
- *
142
- * Document fields are validated using internal rules that define mandatory fields for the scanned document class.
143
- * Defines custom rules for specific document class.
144
- *
145
- * When defining {@link DocumentRules}, the {@link DocumentFilter} paramter is optionally set to specify the document to which the rule applies, and a `fields` with
146
- * the appropriate `alphabetType` should be specified as mandatory for that document.
147
- * 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.
148
- * If a `fields` is set to a field with an incorrect alphabetType, all fields on the document become optional.
149
- * If a `fields` is set to a field that doesn’t exist in the internal rules, that rule is ignored.
150
- * 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.
151
- * If the documentFilter fields `country`, `region`, or `type` are set to `null`, all supported values for those fields will be considered.
152
- * For example, if `country = null`, the rule will apply to all supported countries in BlinkID.
153
- *
154
- * @param fields - specifies the list of {@link DetailedFieldType} for overruling our class field rules.
155
- * This parameter is mandatory.
156
- * @param documentFilter - specifies the {@link DocumentFilter} to specify the document to which the rule applies.
157
- * This parameter is optional.
158
- */
159
- constructor(fields: DetailedFieldType[], documentFilter?: DocumentFilter);
160
- }
140
+ };
161
141
  /**
162
142
  * Represents the detailed field type.
163
143
  *
@@ -185,42 +165,32 @@ export declare class DetailedFieldType {
185
165
  constructor(fieldType: FieldType, alphabetType: AlphabetType);
186
166
  }
187
167
  /**
188
- * Represents the document anonymization settings.
168
+ * Represents the document redaction settings.
189
169
  *
190
170
  */
191
- export declare class DocumentAnonymizationSettings {
171
+ export type RedactionSettings = {
192
172
  /**
193
- * Document fields that will be anonymized.
194
- *
173
+ * The mode of redaction applied to the document.
195
174
  */
196
- fields: FieldType[];
175
+ mode: RedactionMode;
197
176
  /**
198
- * Specified fields will be anonymized if filter conditions are met.
177
+ * Document fields that will be anonymized.
199
178
  *
200
179
  */
201
- documentFilter?: DocumentFilter;
180
+ fields: FieldType[];
202
181
  /**
203
182
  * Document number anonymization settings.
204
183
  *
205
184
  */
206
- documentNumberAnonymizationSettings?: DocumentNumberAnonymizationSettings;
185
+ documentNumberRedactionSettings?: DocumentNumberRedactionSettings;
186
+ redactMrzResult: boolean;
187
+ redactBarcodeResult: boolean;
207
188
  /**
189
+ * Specified fields will be anonymized if filter conditions are met.
208
190
  *
209
- * @param fields - specifies the document fields that will be anonymized. This parameter is mandatory.
210
- *
211
- * @param documentFilter - specifies the document filter.
212
- *
213
- * If the conditions of the filter are met, fields of those documents will be anonymized.
214
- * This parameter is mandatory.
215
- * @param documentNumberAnonymizationSettings - specifies the document number anonymization settings.
216
- *
217
- * If this parameter is set, it will anonymize the document number, even if the document number is not set in the `fields` parameter.
218
- * If the default constructor for {@link DocumentNumberAnonymizationSettings} is used, all of the digits within the document number will be anonymized.
219
- *
220
- * This parameter is optional.
221
191
  */
222
- constructor(fields: FieldType[], documentFilter?: DocumentFilter, documentNumberAnonymizationSettings?: DocumentNumberAnonymizationSettings);
223
- }
192
+ documentFilter?: DocumentFilter;
193
+ };
224
194
  /**
225
195
  * Represents the document number anonymization settings.
226
196
  *
@@ -231,7 +201,7 @@ export declare class DocumentAnonymizationSettings {
231
201
  *
232
202
  * If any parameter is `undefined`, the value of the parameter will be set to `0`.
233
203
  */
234
- export declare class DocumentNumberAnonymizationSettings {
204
+ export type DocumentNumberRedactionSettings = {
235
205
  /**
236
206
  * Defines how many digits at the beginning of the document number remain visible after anonymization.
237
207
  *
@@ -242,52 +212,12 @@ export declare class DocumentNumberAnonymizationSettings {
242
212
  *
243
213
  */
244
214
  suffixDigitsVisible?: number;
245
- constructor(prefixDigitsVisible?: number, suffixDigitsVisible?: number);
246
- }
247
- /**
248
- * Represents the configuration used to enable/disable recognition of specific
249
- * document groups.
250
- *
251
- * By default all modes are enabled.
252
- */
253
- export declare class RecognitionModeFilter {
254
- /**
255
- * Enable scanning of MRZ IDs.
256
- *
257
- */
258
- enableMrzId: boolean;
259
- /**
260
- * Enable scanning of visa MRZ.
261
- *
262
- */
263
- enableMrzVisa: boolean;
264
- /**
265
- * Enable scanning of Passport MRZ.
266
- *
267
- */
268
- enableMrzPassport: boolean;
269
- /**
270
- * Enable scanning of Photo ID.
271
- *
272
- */
273
- enablePhotoId: boolean;
274
- /**
275
- * Enable scanning of barcode IDs.
276
- *
277
- */
278
- enableBarcodeId: boolean;
279
- /**
280
- * Enable full document recognition.
281
- *
282
- */
283
- enableFullDocumentRecognition: boolean;
284
- constructor();
285
- }
215
+ };
286
216
  /**
287
217
  * Represents the document class information.
288
218
  *
289
219
  */
290
- export declare class DocumentClassInfo {
220
+ export type DocumentClassInfo = {
291
221
  /**
292
222
  * The document country.
293
223
  *
@@ -331,18 +261,12 @@ export declare class DocumentClassInfo {
331
261
  *
332
262
  */
333
263
  isoAlpha3CountryCode?: string;
334
- /**
335
- *
336
- * @param nativeDocumentClassInfo
337
- *
338
- */
339
- constructor(nativeDocumentClassInfo: any);
340
- }
264
+ };
341
265
  /**
342
266
  * Represents the result of the data match.
343
267
  *
344
268
  */
345
- export declare class DataMatchResult {
269
+ export type DataMatchResult = {
346
270
  /**
347
271
  * The state of the data match on the whole document.
348
272
  *
@@ -355,17 +279,12 @@ export declare class DataMatchResult {
355
279
  * See {@link DataMatchResultField} for more information.
356
280
  */
357
281
  states?: DataMatchResultField[];
358
- /**
359
- *
360
- * @param nativeDataMatchResult
361
- */
362
- constructor(nativeDataMatchResult: any);
363
- }
282
+ };
364
283
  /**
365
284
  * Represents the state of the field in the data match.
366
285
  *
367
286
  */
368
- export declare class DataMatchResultField {
287
+ export type DataMatchResultField = {
369
288
  /**
370
289
  * The type of the field.
371
290
  *
@@ -378,20 +297,14 @@ export declare class DataMatchResultField {
378
297
  * See {@link DataMatchState} for more information.
379
298
  */
380
299
  state?: DataMatchState;
381
- /**
382
- *
383
- * @param nativeDataMatchResultField
384
- *
385
- */
386
- constructor(nativeDataMatchResultField: any);
387
- }
300
+ };
388
301
  /**
389
302
  * Represents the multi-alphabet string result extracted from the OCR.
390
303
  *
391
304
  * The result contains the extracted strings, their locations, and the sides of the extracted strings.
392
305
  *
393
306
  */
394
- export declare class StringResult {
307
+ export type StringResult = {
395
308
  /**
396
309
  * All strings separated by new line
397
310
  *
@@ -429,18 +342,12 @@ export declare class StringResult {
429
342
  * See {@link Side} for more information.
430
343
  */
431
344
  side?: Side;
432
- /**
433
- *
434
- * @param nativeStringResult
435
- *
436
- */
437
- constructor(nativeStringResult: any);
438
- }
345
+ };
439
346
  /**
440
347
  * Represents the rectangle location of each document field
441
348
  *
442
349
  */
443
- export declare class Rectangle {
350
+ export type Rectangle = {
444
351
  /**
445
352
  * X location
446
353
  *
@@ -461,18 +368,12 @@ export declare class Rectangle {
461
368
  *
462
369
  */
463
370
  height?: number;
464
- /**
465
- *
466
- * @param nativeRectangle
467
- *
468
- */
469
- constructor(nativeRectangle: any);
470
- }
371
+ };
471
372
  /**
472
373
  * Represents the information about the location of an element within a document or image.
473
374
  *
474
375
  */
475
- export declare class Location {
376
+ export type Location = {
476
377
  /**
477
378
  * Rectangle location of the result extracted from the OCR in the latin alphabet.
478
379
  *
@@ -493,51 +394,39 @@ export declare class Location {
493
394
  *
494
395
  */
495
396
  greek?: Rectangle;
496
- /**
497
- *
498
- * @param nativeLocation
499
- *
500
- */
501
- constructor(nativeLocation: any);
502
- }
397
+ };
503
398
  /**
504
- * Side of the document on which the specific result is located.
399
+ * Scanning side on which the specific result is located.
505
400
  *
506
401
  */
507
- export declare class Side {
402
+ export type Side = {
508
403
  /**
509
- * Document side of the result extracted from the OCR in the latin alphabet.
404
+ * Scanning side of the result extracted from the OCR in the latin alphabet.
510
405
  *
511
406
  */
512
- latin?: DocumentSide;
407
+ latin?: ScanningSide;
513
408
  /**
514
- * Document side of the result extracted from the OCR in the arabic alphabet.
409
+ * Scanning side of the result extracted from the OCR in the arabic alphabet.
515
410
  *
516
411
  */
517
- arabic?: DocumentSide;
412
+ arabic?: ScanningSide;
518
413
  /**
519
- * Document side of the result extracted from the OCR in the cyrillic alphabet.
414
+ * Scanning side of the result extracted from the OCR in the cyrillic alphabet.
520
415
  *
521
416
  */
522
- cyrillic?: DocumentSide;
417
+ cyrillic?: ScanningSide;
523
418
  /**
524
- * Document side of the result extracted from the OCR in the cyrillic alphabet.
419
+ * Scanning side of the result extracted from the OCR in the greek alphabet.
525
420
  *
526
421
  */
527
- greek?: DocumentSide;
528
- /**
529
- *
530
- * @param nativeSide
531
- *
532
- */
533
- constructor(nativeSide: any);
534
- }
422
+ greek?: ScanningSide;
423
+ };
535
424
  /**
536
425
  * Represents the result of the date extraction.
537
426
  *
538
427
  * Contains the extracted date, along with additional date information.
539
428
  */
540
- export declare class DateResult<T> {
429
+ export type DateResult<T> = {
541
430
  /**
542
431
  * The extracted date information.
543
432
  *
@@ -560,13 +449,12 @@ export declare class DateResult<T> {
560
449
  *
561
450
  */
562
451
  successfullyParsed?: boolean;
563
- constructor(nativeDateResult: any);
564
- }
452
+ };
565
453
  /**
566
454
  * Represents the extracted date.
567
455
  *
568
456
  */
569
- export declare class Date {
457
+ export type Date = {
570
458
  /**
571
459
  * Day of the month.
572
460
  *
@@ -584,17 +472,12 @@ export declare class Date {
584
472
  *
585
473
  */
586
474
  year?: number;
587
- /**
588
- *
589
- * @param nativeDate
590
- */
591
- constructor(nativeDate: any);
592
- }
475
+ };
593
476
  /**
594
477
  * Represents detailed extracted information about the driver license.
595
478
  *
596
479
  */
597
- export declare class DriverLicenseDetailedInfo<T> {
480
+ export type DriverLicenseDetailedInfo<T> = {
598
481
  /**
599
482
  * The restrictions to driving privileges for the United States driver license owner.
600
483
  *
@@ -625,13 +508,12 @@ export declare class DriverLicenseDetailedInfo<T> {
625
508
  * See {@link VehicleClassInfo} for more information.
626
509
  */
627
510
  vehicleClassesInfo?: VehicleClassInfo<T>[];
628
- constructor(nativeDriverLicenseDetailedInfo: any);
629
- }
511
+ };
630
512
  /**
631
513
  * Represents the information about the vehicle class extraction.
632
514
  *
633
515
  */
634
- export declare class VehicleClassInfo<T> {
516
+ export type VehicleClassInfo<T> = {
635
517
  /**
636
518
  * The type of driver licence.
637
519
  *
@@ -656,13 +538,12 @@ export declare class VehicleClassInfo<T> {
656
538
  * See {@link DateResult} for more information.
657
539
  */
658
540
  expiryDate?: DateResult<T>;
659
- constructor(nativeVehicleClassInfo: any);
660
- }
541
+ };
661
542
  /**
662
543
  * Information about the dependent.
663
544
  *
664
545
  */
665
- export declare class DependentInfo {
546
+ export type DependentInfo = {
666
547
  /**
667
548
  * The date of birth of the dependent.
668
549
  *
@@ -688,13 +569,12 @@ export declare class DependentInfo {
688
569
  *
689
570
  */
690
571
  empty?: boolean;
691
- constructor(nativeDependentInfo: any);
692
- }
572
+ };
693
573
  /**
694
574
  * Represents the result of the image crop transformation with additional details.
695
575
  *
696
576
  */
697
- export declare class DetailedCroppedImageResult {
577
+ export type DetailedCroppedImageResult = {
698
578
  /**
699
579
  * The cropped image in the Base64 format
700
580
  *
@@ -710,20 +590,14 @@ export declare class DetailedCroppedImageResult {
710
590
  *
711
591
  */
712
592
  location?: Rectangle;
713
- /**
714
- *
715
- * @param nativeDetailedCroppedImageResult
716
- *
717
- */
718
- constructor(nativeDetailedCroppedImageResult: any);
719
- }
593
+ };
720
594
  /**
721
595
  * Represents the result of scanning a single side of the document.
722
596
  *
723
597
  * Contains the data extracted from the Visual Inspection Zone, Machine Readable Zone,
724
598
  * barcode, the input image, and the cropped document, face, and signature images.
725
599
  */
726
- export declare class SingleSideScanningResult {
600
+ export type SingleSideScanningResult = {
727
601
  /**
728
602
  * The data extracted from the Visual Inspection Zone.
729
603
  *
@@ -745,10 +619,11 @@ export declare class SingleSideScanningResult {
745
619
  */
746
620
  inputImage?: string;
747
621
  /**
748
- * The input image containing parsable barcode in the Base64 format.
622
+ * The cropped barcode image in the Base64 format when
623
+ * {@link BarcodeModuleSettings.barcodeImageReturnEnabled} is enabled.
749
624
  *
750
625
  */
751
- barcodeInputImage?: string;
626
+ barcodeImage?: string;
752
627
  /**
753
628
  * The cropped document image in the Base64 format.
754
629
  *
@@ -764,18 +639,12 @@ export declare class SingleSideScanningResult {
764
639
  *
765
640
  */
766
641
  signatureImage?: DetailedCroppedImageResult;
767
- /**
768
- *
769
- * @param nativeSingleSideScanningResult - specifies the single side scanning result obtained from the native SDK.
770
- *
771
- */
772
- constructor(nativeSingleSideScanningResult: any);
773
- }
642
+ };
774
643
  /**
775
644
  * Represents the result of the Visual Inspection Zone of a document.
776
645
  *
777
646
  */
778
- export declare class VizResult {
647
+ export type VizResult = {
779
648
  /**
780
649
  * The first name of the document owner.
781
650
  *
@@ -956,6 +825,10 @@ export declare class VizResult {
956
825
  *
957
826
  */
958
827
  documentNumber?: StringResult;
828
+ /**
829
+ * The card access number
830
+ */
831
+ cardAccessNumber?: StringResult;
959
832
  /**
960
833
  * The personal identification number.
961
834
  *
@@ -1051,17 +924,37 @@ export declare class VizResult {
1051
924
  */
1052
925
  nationalInsuranceNumber?: StringResult;
1053
926
  /**
927
+ * The effective date of the document.
928
+ */
929
+ effectiveDate?: DateResult<StringResult>;
930
+ /**
931
+ * The parents info.
1054
932
  *
1055
- * @param nativeVizResult
1056
- *
933
+ * See {@link ParentInfo} for more information.
1057
934
  */
1058
- constructor(nativeVizResult: any);
1059
- }
935
+ parentsInfo?: ParentInfo[];
936
+ /**
937
+ * The husband name of the document owner.
938
+ */
939
+ husbandName?: StringResult;
940
+ /**
941
+ * The legal status of the document owner.
942
+ */
943
+ legalStatus?: StringResult;
944
+ /**
945
+ * The social security status of the document owner.
946
+ */
947
+ socialSecurityStatus?: StringResult;
948
+ /**
949
+ * The work restriction of the document owner.
950
+ */
951
+ workRestriction?: StringResult;
952
+ };
1060
953
  /**
1061
954
  * Represents the result of the MRZ recognition.
1062
955
  *
1063
956
  */
1064
- export declare class MrzResult {
957
+ export type MrzResult = {
1065
958
  /**
1066
959
  * The entire Machine Readable Zone text from ID.
1067
960
  *
@@ -1197,18 +1090,12 @@ export declare class MrzResult {
1197
1090
  * Result without additional '<' characters if they exist.
1198
1091
  */
1199
1092
  sanitizedDocumentNumber?: string;
1200
- /**
1201
- *
1202
- * @param nativeMrzResult
1203
- *
1204
- */
1205
- constructor(nativeMrzResult: any);
1206
- }
1093
+ };
1207
1094
  /**
1208
1095
  * Represents the data extracted from the barcode.
1209
1096
  *
1210
1097
  */
1211
- export declare class BarcodeResult {
1098
+ export type BarcodeResult = {
1212
1099
  /**
1213
1100
  * The raw, unparsed barcode data.
1214
1101
  *
@@ -1344,17 +1231,12 @@ export declare class BarcodeResult {
1344
1231
  * Indicates whether the barcode was successfully parsed.
1345
1232
  */
1346
1233
  parsed?: boolean;
1347
- /**
1348
- *
1349
- * @param nativeBarcodeResult
1350
- */
1351
- constructor(nativeBarcodeResult: any);
1352
- }
1234
+ };
1353
1235
  /**
1354
1236
  * Represents the raw, unparsed data extracted from a scanned barcode.
1355
1237
  *
1356
1238
  */
1357
- export declare class BarcodeData {
1239
+ export type BarcodeData = {
1358
1240
  /**
1359
1241
  * Type of the scanned barcode.
1360
1242
  *
@@ -1375,17 +1257,12 @@ export declare class BarcodeData {
1375
1257
  *
1376
1258
  */
1377
1259
  uncertain?: boolean;
1378
- /**
1379
- *
1380
- * @param nativeBarcodeData - specifies the barcode data obtained from the native SDK.
1381
- */
1382
- constructor(nativeBarcodeData: any);
1383
- }
1260
+ };
1384
1261
  /**
1385
1262
  * Detailed information about the address.
1386
1263
  *
1387
1264
  */
1388
- export declare class AddressDetailedInfo {
1265
+ export type AddressDetailedInfo = {
1389
1266
  /**
1390
1267
  * he address street portion of the document owner.
1391
1268
  *
@@ -1406,18 +1283,12 @@ export declare class AddressDetailedInfo {
1406
1283
  *
1407
1284
  */
1408
1285
  jurisdiction?: string;
1409
- /**
1410
- *
1411
- * @param nativeAddressDetailedInfo - specificies the address detailed info obtained from the native SDK.
1412
- *
1413
- */
1414
- constructor(nativeAddressDetailedInfo: any);
1415
- }
1286
+ };
1416
1287
  /**
1417
1288
  * Represents the fields present in the barcode.
1418
1289
  * Currently this is only used for AAMVACompliant documents.
1419
1290
  */
1420
- export declare class BarcodeExtendedElements {
1291
+ export type BarcodeExtendedElements = {
1421
1292
  /**
1422
1293
  * Mandatory on all AAMVA and Magnetic barcodes.
1423
1294
  * On compact barcodes, use kFullAddress.
@@ -2200,57 +2071,63 @@ export declare class BarcodeExtendedElements {
2200
2071
  * For example: ANSI 636010090002DL00410267ZF03080067DLDAQS1234567812300000000000000 ^^ | | | +-- SubField Designator (DL, ID, EN, etc.) +----- IIN (636010)
2201
2072
  */
2202
2073
  subFieldDesignator?: string;
2074
+ };
2075
+ /**
2076
+ * The results of parents info.
2077
+ */
2078
+ export type ParentInfo = {
2203
2079
  /**
2204
- *
2205
- * @param nativeBarcodeExtendedElements - specifies the extended barcode elements obtained from the native SDK.
2080
+ * The first name of one of the document owner's parents.
2206
2081
  */
2207
- constructor(nativeBarcodeExtendedElements: any);
2208
- }
2082
+ firstName?: StringResult;
2083
+ /**
2084
+ * The last name of one of the document owner's parents.
2085
+ */
2086
+ lastName?: StringResult;
2087
+ };
2209
2088
  /**
2210
2089
  * Represents the mode of document scanning.
2211
2090
  *
2212
2091
  * This enum class defines whether the scanning process is limited to a single
2213
2092
  * side of the document or includes multiple sides, automatically identifying how many sides need to be scanned.
2214
2093
  */
2215
- export declare enum ScanningMode {
2216
- /**
2217
- * Specifies the scanning process to be for single side only.
2218
- *
2219
- */
2220
- Single = 0,
2221
- /**
2222
- * The default `ScanningMode`.
2223
- *
2224
- * Automatically determines the number of sides to scan.
2225
- */
2226
- Automatic = 1
2227
- }
2094
+ export type ScanningMode =
2095
+ /**
2096
+ * Specifies the scanning process to be for single side only.
2097
+ *
2098
+ */
2099
+ "single"
2100
+ /**
2101
+ * The default `ScanningMode`.
2102
+ *
2103
+ * Automatically determines the number of sides to scan.
2104
+ */
2105
+ | "automatic";
2228
2106
  /**
2229
2107
  * Represents the type of the alphabet used in the document.
2230
2108
  *
2231
2109
  */
2232
- export declare enum AlphabetType {
2233
- /**
2234
- * The Latin alphabet type
2235
- *
2236
- */
2237
- Latin = "latin",
2238
- /**
2239
- * The Arabic alphabet type
2240
- *
2241
- */
2242
- Arabic = "arabic",
2243
- /**
2244
- * The Cyrillic alphabet type
2245
- *
2246
- */
2247
- Cyrillic = "cyrillic",
2248
- /**
2249
- * The Greek alphabet type
2250
- *
2251
- */
2252
- Greek = "greek"
2253
- }
2110
+ export type AlphabetType =
2111
+ /**
2112
+ * The Latin alphabet type
2113
+ *
2114
+ */
2115
+ "latin"
2116
+ /**
2117
+ * The Arabic alphabet type
2118
+ *
2119
+ */
2120
+ | "arabic"
2121
+ /**
2122
+ * The Cyrillic alphabet type
2123
+ *
2124
+ */
2125
+ | "cyrillic"
2126
+ /**
2127
+ * The Greek alphabet type
2128
+ *
2129
+ */
2130
+ | "greek";
2254
2131
  /**
2255
2132
  * Represents the different levels of detection sensitivity.
2256
2133
  *
@@ -2260,880 +2137,846 @@ export declare enum AlphabetType {
2260
2137
  * The levels range from turning detection
2261
2138
  * off completely to setting various levels of sensitivity (`Low`, `Mid`, `High`).
2262
2139
  */
2263
- export declare enum DetectionLevel {
2264
- /**
2265
- * Disables the `DetectionLevel`
2266
- *
2267
- */
2268
- Off = 0,
2269
- /**
2270
- * Sets the `DetectionLevel` to be less sensitive.
2271
- *
2272
- */
2273
- Low = 1,
2274
- /**
2275
- * The default `DetectionLevel` sensitivity.
2276
- *
2277
- */
2278
- Mid = 2,
2279
- /**
2280
- * Sets the `DetectionLevel` to be highly sensitive.
2281
- *
2282
- */
2283
- High = 3
2284
- }
2140
+ export type SensitivityLevel =
2141
+ /**
2142
+ * Disables the `DetectionLevel`
2143
+ *
2144
+ */
2145
+ "off"
2146
+ /**
2147
+ * Sets the `DetectionLevel` to be less sensitive.
2148
+ *
2149
+ */
2150
+ | "low"
2151
+ /**
2152
+ * The default `DetectionLevel` sensitivity.
2153
+ *
2154
+ */
2155
+ | "mid"
2156
+ /**
2157
+ * Sets the `DetectionLevel` to be highly sensitive.
2158
+ *
2159
+ */
2160
+ | "high";
2285
2161
  /**
2286
2162
  * Represents level of anonymization performed on the scanning result.
2287
2163
  *
2288
2164
  */
2289
- export declare enum AnonymizationMode {
2290
- /**
2291
- * Anonymization will not be performed.
2292
- *
2293
- */
2294
- None = "none",
2295
- /**
2296
- * Full document image is anonymized with black boxes covering sensitive data.
2297
- *
2298
- */
2299
- ImageOnly = "imageOnly",
2300
- /**
2301
- * Result fields containing sensitive data are removed from result.
2302
- *
2303
- */
2304
- ResultFieldsOnly = "resultFieldsOnly",
2305
- /**
2306
- * This mode is combination of `imageOnly` and `resultFieldsOnly` modes.
2307
- *
2308
- */
2309
- FullResult = "fullResult"
2310
- }
2165
+ export type RedactionMode =
2311
2166
  /**
2312
- * Represents possible recognition modes.
2167
+ * Anonymization will not be performed.
2313
2168
  *
2314
2169
  */
2315
- export declare const enum RecognitionMode {
2316
- /**
2317
- * No recognition performed.
2318
- *
2319
- */
2320
- None = "none",
2321
- /**
2322
- * Recognition of mrz document (does not include visa and passport).
2323
- *
2324
- */
2325
- MrzId = "mrzId",
2326
- /**
2327
- * Recognition of visa mrz.
2328
- *
2329
- */
2330
- MrzVisa = "mrzVisa",
2331
- /**
2332
- * Recognition of passport mrz.
2333
- *
2334
- */
2335
- MrzPassport = "mrzPassport",
2336
- PhotoId = "photoId",
2337
- /**
2338
- * Detailed document recognition.
2339
- *
2340
- */
2341
- FullRecognition = "fullRecognition",
2342
- /**
2343
- * Recognition of barcode document.
2344
- *
2345
- */
2346
- BarcodeId = "barcodeId"
2347
- }
2170
+ "none"
2348
2171
  /**
2349
- * Define document side where the document field is located.
2172
+ * Full document image is anonymized with black boxes covering sensitive data.
2350
2173
  *
2351
2174
  */
2352
- export declare enum DocumentSide {
2353
- /**
2354
- * The field is located on the front side of the document
2355
- *
2356
- */
2357
- Front = 0,
2358
- /**
2359
- * The field is located on the back side of the document
2360
- *
2361
- */
2362
- Back = 1
2363
- }
2175
+ | "imageOnly"
2176
+ /**
2177
+ * Result fields containing sensitive data are removed from result.
2178
+ *
2179
+ */
2180
+ | "resultFieldsOnly"
2181
+ /**
2182
+ * This mode is combination of `imageOnly` and `resultFieldsOnly` modes.
2183
+ *
2184
+ */
2185
+ | "fullResult";
2364
2186
  /**
2365
2187
  * Represents the type of scanned barcode
2366
2188
  *
2367
2189
  */
2368
- export declare enum BarcodeType {
2369
- /**
2370
- * No barcode was scanned
2371
- *
2372
- */
2373
- None = 0,
2374
- /**
2375
- * QR code was scanned
2376
- *
2377
- */
2378
- QrCode = 1,
2379
- /**
2380
- * Data Matrix 2D barcode was scanned
2381
- *
2382
- */
2383
- DataMatrix = 2,
2384
- /**
2385
- * UPC E barcode was scanned
2386
- *
2387
- */
2388
- Upce = 3,
2389
- /**
2390
- * UPC A barcode was scanned
2391
- *
2392
- */
2393
- Upca = 4,
2394
- /**
2395
- * EAN 8 barcode was scanned
2396
- *
2397
- */
2398
- Ean8 = 5,
2399
- /**
2400
- * EAN 13 barcode was scanned
2401
- *
2402
- */
2403
- Ean13 = 6,
2404
- /**
2405
- * Code 128 barcode was scanned
2406
- *
2407
- */
2408
- Code128 = 7,
2409
- /**
2410
- * Code 39 barcode was scanned
2411
- *
2412
- */
2413
- Code39 = 8,
2414
- /**
2415
- * ITF barcode was scanned
2416
- *
2417
- */
2418
- Itf = 9,
2419
- /**
2420
- * Aztec 2D barcode was scanned
2421
- *
2422
- */
2423
- Aztec = 10,
2424
- /**
2425
- * PDF417 2D barcode was scanned
2426
- *
2427
- */
2428
- Pdf417 = 11
2429
- }
2190
+ export type BarcodeType =
2191
+ /**
2192
+ * No barcode was scanned
2193
+ *
2194
+ */
2195
+ "none"
2196
+ /**
2197
+ * QR code was scanned
2198
+ *
2199
+ */
2200
+ | "qrCode"
2201
+ /**
2202
+ * Data Matrix 2D barcode was scanned
2203
+ *
2204
+ */
2205
+ | "dataMatrix"
2206
+ /**
2207
+ * UPC E barcode was scanned
2208
+ *
2209
+ */
2210
+ | "upce"
2211
+ /**
2212
+ * UPC A barcode was scanned
2213
+ *
2214
+ */
2215
+ | "upca"
2216
+ /**
2217
+ * EAN 8 barcode was scanned
2218
+ *
2219
+ */
2220
+ | "ean8"
2221
+ /**
2222
+ * EAN 13 barcode was scanned
2223
+ *
2224
+ */
2225
+ | "ean13"
2226
+ /**
2227
+ * Code 128 barcode was scanned
2228
+ *
2229
+ */
2230
+ | "code128"
2231
+ /**
2232
+ * Code 39 barcode was scanned
2233
+ *
2234
+ */
2235
+ | "code39"
2236
+ /**
2237
+ * ITF barcode was scanned
2238
+ *
2239
+ */
2240
+ | "itf"
2241
+ /**
2242
+ * Aztec 2D barcode was scanned
2243
+ *
2244
+ */
2245
+ | "aztec"
2246
+ /**
2247
+ * PDF417 2D barcode was scanned
2248
+ *
2249
+ */
2250
+ | "pdf417";
2430
2251
  /**
2431
2252
  * Represents the document type found on the Machine Readable Zone
2432
2253
  *
2433
2254
  */
2434
- export declare enum MRZDocumentType {
2435
- /**
2436
- * Document type was not identified.
2437
- *
2438
- */
2439
- Unknown = 0,
2440
- /**
2441
- * Identity card
2442
- *
2443
- */
2444
- IdentityCard = 1,
2445
- /**
2446
- * Passport
2447
- *
2448
- */
2449
- Passport = 2,
2450
- /**
2451
- * VISA
2452
- *
2453
- */
2454
- Visa = 3,
2455
- /**
2456
- * Green card
2457
- *
2458
- */
2459
- GreenCard = 4,
2460
- /**
2461
- * IIM13P Pass
2462
- *
2463
- */
2464
- MysPassIMM13P = 5,
2465
- /**
2466
- * Driver license
2467
- *
2468
- */
2469
- DriverLicense = 6,
2470
- /**
2471
- * Internal travel document
2472
- *
2473
- */
2474
- InternalTravelDocument = 7,
2475
- /**
2476
- * Border crossing card
2477
- *
2478
- */
2479
- BorderCrossingCard = 8
2480
- }
2255
+ export type MRZDocumentType =
2256
+ /**
2257
+ * Document type was not identified.
2258
+ *
2259
+ */
2260
+ "unknown"
2261
+ /**
2262
+ * Identity card
2263
+ *
2264
+ */
2265
+ | "identityCard"
2266
+ /**
2267
+ * Passport
2268
+ *
2269
+ */
2270
+ | "passport"
2271
+ /**
2272
+ * VISA
2273
+ *
2274
+ */
2275
+ | "visa"
2276
+ /**
2277
+ * Green card
2278
+ *
2279
+ */
2280
+ | "greenCard"
2281
+ /**
2282
+ * IIM13P Pass
2283
+ *
2284
+ */
2285
+ | "mysPassIMM13P"
2286
+ /**
2287
+ * Driver license
2288
+ *
2289
+ */
2290
+ | "driverLicense"
2291
+ /**
2292
+ * Internal travel document
2293
+ *
2294
+ */
2295
+ | "internalTravelDocument"
2296
+ /**
2297
+ * Border crossing card
2298
+ *
2299
+ */
2300
+ | "borderCrossingCard";
2481
2301
  /**
2482
2302
  * Represents the side of the document being scanned.
2483
2303
  *
2484
2304
  */
2485
- declare enum ScanningSide {
2486
- /**
2487
- * The first side of the scanned document
2488
- *
2489
- */
2490
- First = 0,
2491
- /**
2492
- * The second side of the scanned document
2493
- *
2494
- */
2495
- Second = 1
2496
- }
2305
+ export type ScanningSide =
2306
+ /**
2307
+ * The first side of the scanned document
2308
+ *
2309
+ */
2310
+ "first"
2311
+ /**
2312
+ * The second side of the scanned document
2313
+ *
2314
+ */
2315
+ | "second";
2497
2316
  /**
2498
2317
  * Represents the type of the field used in data match.
2499
2318
  *
2500
2319
  */
2501
- export declare enum DataMatchField {
2502
- /**
2503
- * The date of birth field.
2504
- *
2505
- */
2506
- DateOfBirth = 0,
2507
- /**
2508
- * The date of expiry field.
2509
- *
2510
- */
2511
- DateOfExpiry = 1,
2512
- /**
2513
- * The document number field.
2514
- *
2515
- */
2516
- DocumentNumber = 2,
2517
- /**
2518
- * The document additional number field.
2519
- *
2520
- */
2521
- DocumentAdditionalNumber = 3,
2522
- /**
2523
- * The document optional additional number field.
2524
- *
2525
- */
2526
- DocumentOptionalAdditionalNumber = 4,
2527
- /**
2528
- * The personal ID number field.
2529
- *
2530
- */
2531
- PersonalIdNumber = 5
2532
- }
2320
+ export type DataMatchField =
2321
+ /**
2322
+ * The date of birth field.
2323
+ *
2324
+ */
2325
+ "dateOfBirth"
2326
+ /**
2327
+ * The date of expiry field.
2328
+ *
2329
+ */
2330
+ | "dateOfExpiry"
2331
+ /**
2332
+ * The document number field.
2333
+ *
2334
+ */
2335
+ | "documentNumber"
2336
+ /**
2337
+ * The document additional number field.
2338
+ *
2339
+ */
2340
+ | "documentAdditionalNumber"
2341
+ /**
2342
+ * The document optional additional number field.
2343
+ *
2344
+ */
2345
+ | "documentOptionalAdditionalNumber"
2346
+ /**
2347
+ * The personal ID number field.
2348
+ *
2349
+ */
2350
+ | "personalIdNumber";
2533
2351
  /**
2534
2352
  * Represents the state of the data match.
2535
2353
  *
2536
2354
  */
2537
- export declare enum DataMatchState {
2538
- /**
2539
- * Data matching has not been performed.
2540
- *
2541
- */
2542
- NotPerformed = 0,
2543
- /**
2544
- * Data does not match.
2545
- *
2546
- */
2547
- Failed = 1,
2548
- /**
2549
- * Data does match.
2550
- *
2551
- */
2552
- Success = 2
2553
- }
2355
+ export type DataMatchState =
2356
+ /**
2357
+ * Data matching has not been performed.
2358
+ *
2359
+ */
2360
+ "notPerformed"
2361
+ /**
2362
+ * Data does not match.
2363
+ *
2364
+ */
2365
+ | "failed"
2366
+ /**
2367
+ * Data does match.
2368
+ *
2369
+ */
2370
+ | "success";
2554
2371
  /**
2555
2372
  * Document country.
2556
2373
  *
2557
2374
  */
2558
- export declare enum Country {
2559
- None = "none",
2560
- Albania = "albania",
2561
- Algeria = "algeria",
2562
- Argentina = "argentina",
2563
- Australia = "australia",
2564
- Austria = "austria",
2565
- Azerbaijan = "azerbaijan",
2566
- Bahrain = "bahrain",
2567
- Bangladesh = "bangladesh",
2568
- Belgium = "belgium",
2569
- BosniaAndHerzegovina = "bosniaAndHerzegovina",
2570
- Brunei = "brunei",
2571
- Bulgaria = "bulgaria",
2572
- Bambodia = "bambodia",
2573
- Canada = "canada",
2574
- Chile = "chile",
2575
- Colombia = "colombia",
2576
- CostaRica = "costaRica",
2577
- Croatia = "croatia",
2578
- Cyprus = "cyprus",
2579
- Czechia = "czechia",
2580
- Denmark = "denmark",
2581
- DominicanRepublic = "dominicanRepublic",
2582
- Egypt = "egypt",
2583
- Estonia = "estonia",
2584
- Finland = "finland",
2585
- France = "france",
2586
- Georgia = "georgia",
2587
- Germany = "germany",
2588
- Ghana = "ghana",
2589
- Greece = "greece",
2590
- Guatemala = "guatemala",
2591
- HongKong = "hongKong",
2592
- Hungary = "hungary",
2593
- India = "india",
2594
- Indonesia = "indonesia",
2595
- Ireland = "ireland",
2596
- Israel = "israel",
2597
- Italy = "italy",
2598
- Jordan = "jordan",
2599
- Kazakhstan = "kazakhstan",
2600
- Kenya = "kenya",
2601
- Kosovo = "kosovo",
2602
- Kuwait = "kuwait",
2603
- Latvia = "latvia",
2604
- Lithuania = "lithuania",
2605
- Malaysia = "malaysia",
2606
- Maldives = "maldives",
2607
- Malta = "malta",
2608
- Mauritius = "mauritius",
2609
- Mexico = "mexico",
2610
- Morocco = "morocco",
2611
- Netherlands = "netherlands",
2612
- NewZealand = "newZealand",
2613
- Nigeria = "nigeria",
2614
- Pakistan = "pakistan",
2615
- Panama = "panama",
2616
- Paraguay = "paraguay",
2617
- Philippines = "philippines",
2618
- Poland = "poland",
2619
- Portugal = "portugal",
2620
- PuertoRico = "puertoRico",
2621
- Qatar = "qatar",
2622
- Romania = "romania",
2623
- Russia = "russia",
2624
- SaudiArabia = "saudiArabia",
2625
- Serbia = "serbia",
2626
- Singapore = "singapore",
2627
- Slovakia = "slovakia",
2628
- Slovenia = "slovenia",
2629
- SouthAfrica = "southAfrica",
2630
- Spain = "spain",
2631
- Sweden = "sweden",
2632
- Switzerland = "switzerland",
2633
- Taiwan = "taiwan",
2634
- Thailand = "thailand",
2635
- Tunisia = "tunisia",
2636
- Turkey = "turkey",
2637
- UAE = "uae",
2638
- Ganda = "gganda",
2639
- UK = "uk",
2640
- Ukraine = "ukraine",
2641
- USA = "usa",
2642
- Vietnam = "vietnam",
2643
- Brazil = "brazil",
2644
- Norway = "norway",
2645
- Oman = "oman",
2646
- Ecuador = "ecuador",
2647
- ElSalvador = "elSalvador",
2648
- SriLanka = "sriLanka",
2649
- Peru = "peru",
2650
- Uruguay = "uruguay",
2651
- Bahamas = "bahamas",
2652
- Bermuda = "bermuda",
2653
- Bolivia = "bolivia",
2654
- China = "china",
2655
- EuropeanUnion = "europeanUnion",
2656
- Haiti = "haiti",
2657
- Honduras = "honduras",
2658
- Iceland = "iceland",
2659
- Japan = "japan",
2660
- Luxembourg = "luxembourg",
2661
- Montenegro = "montenegro",
2662
- Nicaragua = "nicaragua",
2663
- SouthKorea = "southKorea",
2664
- Venezuela = "venezuela",
2665
- Afghanistan = "afghanistan",
2666
- AlandIslands = "alandIslands",
2667
- AmericanSamoa = "americanSamoa",
2668
- Andorra = "andorra",
2669
- Angola = "angola",
2670
- Anguilla = "anguilla",
2671
- Antartica = "antarctica",
2672
- AntiguaAndBarbuda = "antiguaAndBarbuda",
2673
- Armenia = "armenia",
2674
- Aruba = "aruba",
2675
- BailiwickOfGuernsey = "bailiwickOfGuernsey",
2676
- BailiwickOfJersey = "bailiwickOfJersey",
2677
- Barbados = "barbados",
2678
- Belarus = "belarus",
2679
- Belize = "belize",
2680
- Benin = "benin",
2681
- Bhutan = "bhutan",
2682
- BonaireSaintEustatiusAndSaba = "bonaireSaintEustatiusAndSaba",
2683
- Botswana = "botswana",
2684
- BouvetIsland = "bouvetIsland",
2685
- BritishIndianOceanTerritory = "britishIndianOceanTerritory",
2686
- BurkinaFaso = "burkinaFaso",
2687
- Burundi = "burundi",
2688
- Cameroon = "cameroon",
2689
- CapeVerde = "capeVerde",
2690
- CaribbeanNetherlands = "caribbeanNetherlands",
2691
- CaymanIslands = "caymanIslands",
2692
- CentralAfricanRepublic = "centralAfricanRepublic",
2693
- Chad = "chad",
2694
- ChristmasIsland = "christmasIsland",
2695
- CocosIslands = "cocosIslands",
2696
- Comoros = "comoros",
2697
- Congo = "congo",
2698
- CookIslands = "cookIslands",
2699
- Cuba = "cuba",
2700
- Curacao = "curacao",
2701
- DemocraticRepublicOfTheCongo = "democraticRepublicOfTheCongo",
2702
- Djibouti = "djibouti",
2703
- Dominica = "dominica",
2704
- EastTimor = "eastTimor",
2705
- EquatorialGuinea = "equatorialGuinea",
2706
- Eritrea = "eritrea",
2707
- Ethiopia = "ethiopia",
2708
- FalklandIslands = "falklandIslands",
2709
- FaroeIslands = "faroeIslands",
2710
- FederatedStatesOfMicronesia = "federatedStatesOfMicronesia",
2711
- Fiji = "fiji",
2712
- FrenchGuiana = "frenchGuiana",
2713
- FrenchPolynesia = "frenchPolynesia",
2714
- FrenchSouthernTerritories = "frenchSouthernTerritories",
2715
- Gabon = "gabon",
2716
- Gambia = "gambia",
2717
- Gibraltar = "gibraltar",
2718
- Greenland = "greenland",
2719
- Grenada = "grenada",
2720
- Guadeloupe = "guadeloupe",
2721
- Guam = "guam",
2722
- Guinea = "guinea",
2723
- GuineaBissau = "guineaBissau",
2724
- Guyana = "guyana",
2725
- HeardIslandAndMcdonaldIslands = "heardIslandAndMcdonaldIslands",
2726
- Iran = "iran",
2727
- Iraq = "iraq",
2728
- IsleOfMan = "isleOfMan",
2729
- IvoryCoast = "ivoryCoast",
2730
- Jamaica = "jamaica",
2731
- Kiribati = "kiribati",
2732
- Kyrgyzstan = "kyrgyzstan",
2733
- Laos = "laos",
2734
- Lebanon = "lebanon",
2735
- Lesotho = "lesotho",
2736
- Liberia = "liberia",
2737
- Libya = "libya",
2738
- Liechtenstein = "liechtenstein",
2739
- Macau = "macau",
2740
- Madagascar = "madagascar",
2741
- Malawi = "malawi",
2742
- Mali = "mali",
2743
- MarshallIslands = "marshallIslands",
2744
- Martinique = "martinique",
2745
- Mauritania = "mauritania",
2746
- Mayotte = "mayotte",
2747
- Moldova = "moldova",
2748
- Monaco = "monaco",
2749
- Mongolia = "mongolia",
2750
- Montserrat = "montserrat",
2751
- Mozambique = "mozambique",
2752
- Myanmar = "myanmar",
2753
- Namibia = "namibia",
2754
- Nauru = "nauru",
2755
- Nepal = "nepal",
2756
- NewCaledonia = "newCaledonia",
2757
- Niger = "niger",
2758
- Niue = "niue",
2759
- NorfolkIsland = "norfolkIsland",
2760
- NorthernCyprus = "northernCyprus",
2761
- NorthernMarianaIslands = "northernMarianaIslands",
2762
- NorthKorea = "northKorea",
2763
- NorthMacedonia = "northMacedonia",
2764
- Palau = "palau",
2765
- Palestine = "palestine",
2766
- PapuaNewGuinea = "papuaNewGuinea",
2767
- Pitcairn = "pitcairn",
2768
- Reunion = "reunion",
2769
- Rwanda = "rwanda",
2770
- SaintBarthelemy = "saintBarthelemy",
2771
- SaintHelenaAscensionAndTristianDaCunha = "saintHelenaAscensionAndTristianDaCunha",
2772
- SaintKittsAndNevis = "saintKittsAndNevis",
2773
- SaintLucia = "saintLucia",
2774
- SaintMartin = "saintMartin",
2775
- SaintPierreAndMiquelon = "saintPierreAndMiquelon",
2776
- SaintVincentAndTheGrenadines = "saintVincentAndTheGrenadines",
2777
- Samoa = "samoa",
2778
- SanMarino = "sanMarino",
2779
- SaoTomeAndPrincipe = "saoTomeAndPrincipe",
2780
- Senegal = "senegal",
2781
- Seychelles = "seychelles",
2782
- SierraLeone = "sierraLeone",
2783
- SintMaarten = "sintMaarten",
2784
- SolomonIslands = "solomonIslands",
2785
- Somalia = "somalia",
2786
- SouthGeorgiaAndTheSouthSandwichIslands = "southGeorgiaAndTheSouthSandwichIslands",
2787
- SouthSudan = "southSudan",
2788
- Sudan = "sudan",
2789
- Suriname = "suriname",
2790
- SvalbardAndJanMayen = "svalbardAndJanMayen",
2791
- Eswatini = "eswatini",
2792
- Syria = "syria",
2793
- Tajikistan = "tajikistan",
2794
- Tanzania = "tanzania",
2795
- Togo = "togo",
2796
- Tokelau = "tokelau",
2797
- Tonga = "tonga",
2798
- TrinidadAndTobago = "trinidadAndTobago",
2799
- Turkmenistan = "turkmenistan",
2800
- TurksAndCaicosIslands = "turksAndCaicosIslands",
2801
- Tuvalu = "tuvalu",
2802
- UnitedStatesMinorOutlyingIslands = "unitedStatesMinorOutlyingIslands",
2803
- Uzbekistan = "uzbekistan",
2804
- Vanuatu = "vanuatu",
2805
- VaticanCity = "vaticanCity",
2806
- VirginIslandsBritish = "virginIslandsBritish",
2807
- VirginIslandsUs = "virginIslandsUs",
2808
- WallisAndFutuna = "wallisAndFutuna",
2809
- WesternSahara = "westernSahara",
2810
- Yemen = "yemen",
2811
- Yugoslavia = "yugoslavia",
2812
- Zambia = "zambia",
2813
- Zimbabwe = "zimbabwe",
2814
- SchengenArea = "schengenArea"
2815
- }
2375
+ export declare const Country: {
2376
+ readonly None: "none";
2377
+ readonly Albania: "albania";
2378
+ readonly Algeria: "algeria";
2379
+ readonly Argentina: "argentina";
2380
+ readonly Australia: "australia";
2381
+ readonly Austria: "austria";
2382
+ readonly Azerbaijan: "azerbaijan";
2383
+ readonly Bahrain: "bahrain";
2384
+ readonly Bangladesh: "bangladesh";
2385
+ readonly Belgium: "belgium";
2386
+ readonly BosniaAndHerzegovina: "bosniaAndHerzegovina";
2387
+ readonly Brunei: "brunei";
2388
+ readonly Bulgaria: "bulgaria";
2389
+ readonly Bambodia: "bambodia";
2390
+ readonly Canada: "canada";
2391
+ readonly Chile: "chile";
2392
+ readonly Colombia: "colombia";
2393
+ readonly CostaRica: "costaRica";
2394
+ readonly Croatia: "croatia";
2395
+ readonly Cyprus: "cyprus";
2396
+ readonly Czechia: "czechia";
2397
+ readonly Denmark: "denmark";
2398
+ readonly DominicanRepublic: "dominicanRepublic";
2399
+ readonly Egypt: "egypt";
2400
+ readonly Estonia: "estonia";
2401
+ readonly Finland: "finland";
2402
+ readonly France: "france";
2403
+ readonly Georgia: "georgia";
2404
+ readonly Germany: "germany";
2405
+ readonly Ghana: "ghana";
2406
+ readonly Greece: "greece";
2407
+ readonly Guatemala: "guatemala";
2408
+ readonly HongKong: "hongKong";
2409
+ readonly Hungary: "hungary";
2410
+ readonly India: "india";
2411
+ readonly Indonesia: "indonesia";
2412
+ readonly Ireland: "ireland";
2413
+ readonly Israel: "israel";
2414
+ readonly Italy: "italy";
2415
+ readonly Jordan: "jordan";
2416
+ readonly Kazakhstan: "kazakhstan";
2417
+ readonly Kenya: "kenya";
2418
+ readonly Kosovo: "kosovo";
2419
+ readonly Kuwait: "kuwait";
2420
+ readonly Latvia: "latvia";
2421
+ readonly Lithuania: "lithuania";
2422
+ readonly Malaysia: "malaysia";
2423
+ readonly Maldives: "maldives";
2424
+ readonly Malta: "malta";
2425
+ readonly Mauritius: "mauritius";
2426
+ readonly Mexico: "mexico";
2427
+ readonly Morocco: "morocco";
2428
+ readonly Netherlands: "netherlands";
2429
+ readonly NewZealand: "newZealand";
2430
+ readonly Nigeria: "nigeria";
2431
+ readonly Pakistan: "pakistan";
2432
+ readonly Panama: "panama";
2433
+ readonly Paraguay: "paraguay";
2434
+ readonly Philippines: "philippines";
2435
+ readonly Poland: "poland";
2436
+ readonly Portugal: "portugal";
2437
+ readonly PuertoRico: "puertoRico";
2438
+ readonly Qatar: "qatar";
2439
+ readonly Romania: "romania";
2440
+ readonly Russia: "russia";
2441
+ readonly SaudiArabia: "saudiArabia";
2442
+ readonly Serbia: "serbia";
2443
+ readonly Singapore: "singapore";
2444
+ readonly Slovakia: "slovakia";
2445
+ readonly Slovenia: "slovenia";
2446
+ readonly SouthAfrica: "southAfrica";
2447
+ readonly Spain: "spain";
2448
+ readonly Sweden: "sweden";
2449
+ readonly Switzerland: "switzerland";
2450
+ readonly Taiwan: "taiwan";
2451
+ readonly Thailand: "thailand";
2452
+ readonly Tunisia: "tunisia";
2453
+ readonly Turkey: "turkey";
2454
+ readonly UAE: "uae";
2455
+ readonly Ganda: "gganda";
2456
+ readonly UK: "uk";
2457
+ readonly Ukraine: "ukraine";
2458
+ readonly USA: "usa";
2459
+ readonly Vietnam: "vietnam";
2460
+ readonly Brazil: "brazil";
2461
+ readonly Norway: "norway";
2462
+ readonly Oman: "oman";
2463
+ readonly Ecuador: "ecuador";
2464
+ readonly ElSalvador: "elSalvador";
2465
+ readonly SriLanka: "sriLanka";
2466
+ readonly Peru: "peru";
2467
+ readonly Uruguay: "uruguay";
2468
+ readonly Bahamas: "bahamas";
2469
+ readonly Bermuda: "bermuda";
2470
+ readonly Bolivia: "bolivia";
2471
+ readonly China: "china";
2472
+ readonly EuropeanUnion: "europeanUnion";
2473
+ readonly Haiti: "haiti";
2474
+ readonly Honduras: "honduras";
2475
+ readonly Iceland: "iceland";
2476
+ readonly Japan: "japan";
2477
+ readonly Luxembourg: "luxembourg";
2478
+ readonly Montenegro: "montenegro";
2479
+ readonly Nicaragua: "nicaragua";
2480
+ readonly SouthKorea: "southKorea";
2481
+ readonly Venezuela: "venezuela";
2482
+ readonly Afghanistan: "afghanistan";
2483
+ readonly AlandIslands: "alandIslands";
2484
+ readonly AmericanSamoa: "americanSamoa";
2485
+ readonly Andorra: "andorra";
2486
+ readonly Angola: "angola";
2487
+ readonly Anguilla: "anguilla";
2488
+ readonly Antartica: "antarctica";
2489
+ readonly AntiguaAndBarbuda: "antiguaAndBarbuda";
2490
+ readonly Armenia: "armenia";
2491
+ readonly Aruba: "aruba";
2492
+ readonly BailiwickOfGuernsey: "bailiwickOfGuernsey";
2493
+ readonly BailiwickOfJersey: "bailiwickOfJersey";
2494
+ readonly Barbados: "barbados";
2495
+ readonly Belarus: "belarus";
2496
+ readonly Belize: "belize";
2497
+ readonly Benin: "benin";
2498
+ readonly Bhutan: "bhutan";
2499
+ readonly BonaireSaintEustatiusAndSaba: "bonaireSaintEustatiusAndSaba";
2500
+ readonly Botswana: "botswana";
2501
+ readonly BouvetIsland: "bouvetIsland";
2502
+ readonly BritishIndianOceanTerritory: "britishIndianOceanTerritory";
2503
+ readonly BurkinaFaso: "burkinaFaso";
2504
+ readonly Burundi: "burundi";
2505
+ readonly Cameroon: "cameroon";
2506
+ readonly CapeVerde: "capeVerde";
2507
+ readonly CaribbeanNetherlands: "caribbeanNetherlands";
2508
+ readonly CaymanIslands: "caymanIslands";
2509
+ readonly CentralAfricanRepublic: "centralAfricanRepublic";
2510
+ readonly Chad: "chad";
2511
+ readonly ChristmasIsland: "christmasIsland";
2512
+ readonly CocosIslands: "cocosIslands";
2513
+ readonly Comoros: "comoros";
2514
+ readonly Congo: "congo";
2515
+ readonly CookIslands: "cookIslands";
2516
+ readonly Cuba: "cuba";
2517
+ readonly Curacao: "curacao";
2518
+ readonly DemocraticRepublicOfTheCongo: "democraticRepublicOfTheCongo";
2519
+ readonly Djibouti: "djibouti";
2520
+ readonly Dominica: "dominica";
2521
+ readonly EastTimor: "eastTimor";
2522
+ readonly EquatorialGuinea: "equatorialGuinea";
2523
+ readonly Eritrea: "eritrea";
2524
+ readonly Ethiopia: "ethiopia";
2525
+ readonly FalklandIslands: "falklandIslands";
2526
+ readonly FaroeIslands: "faroeIslands";
2527
+ readonly FederatedStatesOfMicronesia: "federatedStatesOfMicronesia";
2528
+ readonly Fiji: "fiji";
2529
+ readonly FrenchGuiana: "frenchGuiana";
2530
+ readonly FrenchPolynesia: "frenchPolynesia";
2531
+ readonly FrenchSouthernTerritories: "frenchSouthernTerritories";
2532
+ readonly Gabon: "gabon";
2533
+ readonly Gambia: "gambia";
2534
+ readonly Gibraltar: "gibraltar";
2535
+ readonly Greenland: "greenland";
2536
+ readonly Grenada: "grenada";
2537
+ readonly Guadeloupe: "guadeloupe";
2538
+ readonly Guam: "guam";
2539
+ readonly Guinea: "guinea";
2540
+ readonly GuineaBissau: "guineaBissau";
2541
+ readonly Guyana: "guyana";
2542
+ readonly HeardIslandAndMcdonaldIslands: "heardIslandAndMcdonaldIslands";
2543
+ readonly Iran: "iran";
2544
+ readonly Iraq: "iraq";
2545
+ readonly IsleOfMan: "isleOfMan";
2546
+ readonly IvoryCoast: "ivoryCoast";
2547
+ readonly Jamaica: "jamaica";
2548
+ readonly Kiribati: "kiribati";
2549
+ readonly Kyrgyzstan: "kyrgyzstan";
2550
+ readonly Laos: "laos";
2551
+ readonly Lebanon: "lebanon";
2552
+ readonly Lesotho: "lesotho";
2553
+ readonly Liberia: "liberia";
2554
+ readonly Libya: "libya";
2555
+ readonly Liechtenstein: "liechtenstein";
2556
+ readonly Macau: "macau";
2557
+ readonly Madagascar: "madagascar";
2558
+ readonly Malawi: "malawi";
2559
+ readonly Mali: "mali";
2560
+ readonly MarshallIslands: "marshallIslands";
2561
+ readonly Martinique: "martinique";
2562
+ readonly Mauritania: "mauritania";
2563
+ readonly Mayotte: "mayotte";
2564
+ readonly Moldova: "moldova";
2565
+ readonly Monaco: "monaco";
2566
+ readonly Mongolia: "mongolia";
2567
+ readonly Montserrat: "montserrat";
2568
+ readonly Mozambique: "mozambique";
2569
+ readonly Myanmar: "myanmar";
2570
+ readonly Namibia: "namibia";
2571
+ readonly Nauru: "nauru";
2572
+ readonly Nepal: "nepal";
2573
+ readonly NewCaledonia: "newCaledonia";
2574
+ readonly Niger: "niger";
2575
+ readonly Niue: "niue";
2576
+ readonly NorfolkIsland: "norfolkIsland";
2577
+ readonly NorthernCyprus: "northernCyprus";
2578
+ readonly NorthernMarianaIslands: "northernMarianaIslands";
2579
+ readonly NorthKorea: "northKorea";
2580
+ readonly NorthMacedonia: "northMacedonia";
2581
+ readonly Palau: "palau";
2582
+ readonly Palestine: "palestine";
2583
+ readonly PapuaNewGuinea: "papuaNewGuinea";
2584
+ readonly Pitcairn: "pitcairn";
2585
+ readonly Reunion: "reunion";
2586
+ readonly Rwanda: "rwanda";
2587
+ readonly SaintBarthelemy: "saintBarthelemy";
2588
+ readonly SaintHelenaAscensionAndTristianDaCunha: "saintHelenaAscensionAndTristianDaCunha";
2589
+ readonly SaintKittsAndNevis: "saintKittsAndNevis";
2590
+ readonly SaintLucia: "saintLucia";
2591
+ readonly SaintMartin: "saintMartin";
2592
+ readonly SaintPierreAndMiquelon: "saintPierreAndMiquelon";
2593
+ readonly SaintVincentAndTheGrenadines: "saintVincentAndTheGrenadines";
2594
+ readonly Samoa: "samoa";
2595
+ readonly SanMarino: "sanMarino";
2596
+ readonly SaoTomeAndPrincipe: "saoTomeAndPrincipe";
2597
+ readonly Senegal: "senegal";
2598
+ readonly Seychelles: "seychelles";
2599
+ readonly SierraLeone: "sierraLeone";
2600
+ readonly SintMaarten: "sintMaarten";
2601
+ readonly SolomonIslands: "solomonIslands";
2602
+ readonly Somalia: "somalia";
2603
+ readonly SouthGeorgiaAndTheSouthSandwichIslands: "southGeorgiaAndTheSouthSandwichIslands";
2604
+ readonly SouthSudan: "southSudan";
2605
+ readonly Sudan: "sudan";
2606
+ readonly Suriname: "suriname";
2607
+ readonly SvalbardAndJanMayen: "svalbardAndJanMayen";
2608
+ readonly Eswatini: "eswatini";
2609
+ readonly Syria: "syria";
2610
+ readonly Tajikistan: "tajikistan";
2611
+ readonly Tanzania: "tanzania";
2612
+ readonly Togo: "togo";
2613
+ readonly Tokelau: "tokelau";
2614
+ readonly Tonga: "tonga";
2615
+ readonly TrinidadAndTobago: "trinidadAndTobago";
2616
+ readonly Turkmenistan: "turkmenistan";
2617
+ readonly TurksAndCaicosIslands: "turksAndCaicosIslands";
2618
+ readonly Tuvalu: "tuvalu";
2619
+ readonly UnitedStatesMinorOutlyingIslands: "unitedStatesMinorOutlyingIslands";
2620
+ readonly Uzbekistan: "uzbekistan";
2621
+ readonly Vanuatu: "vanuatu";
2622
+ readonly VaticanCity: "vaticanCity";
2623
+ readonly VirginIslandsBritish: "virginIslandsBritish";
2624
+ readonly VirginIslandsOfTheUnitedStates: "virginIslandsOfTheUnitedStates";
2625
+ readonly WallisAndFutuna: "wallisAndFutuna";
2626
+ readonly WesternSahara: "westernSahara";
2627
+ readonly Yemen: "yemen";
2628
+ readonly Yugoslavia: "yugoslavia";
2629
+ readonly Zambia: "zambia";
2630
+ readonly Zimbabwe: "zimbabwe";
2631
+ readonly SchengenArea: "schengenArea";
2632
+ readonly SaintThomasAndPrince: "saintThomasAndPrince";
2633
+ };
2634
+ export type Country = (typeof Country)[keyof typeof Country];
2816
2635
  /**
2817
2636
  * Document region.
2818
2637
  */
2819
- export declare enum Region {
2820
- None = "none",
2821
- Alabama = "alabama",
2822
- Alaska = "alaska",
2823
- Alberta = "alberta",
2824
- Arizona = "arizona",
2825
- Arkansas = "arkansas",
2826
- AustralianCapitalTerritory = "australianCapitalTerritory",
2827
- BritishColumbia = "britishColumbia",
2828
- California = "california",
2829
- Colorado = "colorado",
2830
- Connecticut = "connecticut",
2831
- Delaware = "delaware",
2832
- DistrictOfColumbia = "districtOfColumbia",
2833
- Florida = "florida",
2834
- Georgia = "georgia",
2835
- Hawaii = "hawaii",
2836
- Idaho = "idaho",
2837
- Illinois = "illinois",
2838
- Indiana = "indiana",
2839
- Iowa = "iowa",
2840
- Kansas = "kansas",
2841
- Kentucky = "kentucky",
2842
- Louisiana = "louisiana",
2843
- Maine = "maine",
2844
- Manitoba = "manitoba",
2845
- Maryland = "maryland",
2846
- Massachusetts = "massachusetts",
2847
- Michigan = "michigan",
2848
- Minnesota = "minnesota",
2849
- Mississippi = "mississippi",
2850
- Missouri = "missouri",
2851
- Montana = "montana",
2852
- Nebraska = "nebraska",
2853
- Nevada = "nevada",
2854
- NewBrunswick = "newBrunswick",
2855
- NewHampshire = "newHampshire",
2856
- NewJersey = "newJersey",
2857
- NewMexico = "newMexico",
2858
- NewSouthWales = "newSouthWales",
2859
- NewYork = "newYork",
2860
- NorthernTerritory = "northernTerritory",
2861
- NorthCarolina = "northCarolina",
2862
- NorthDakota = "northDakota",
2863
- NovaScotia = "novaScotia",
2864
- Ohio = "ohio",
2865
- Oklahoma = "oklahoma",
2866
- Ontario = "ontario",
2867
- Oregon = "oregon",
2868
- Pennsylvania = "pennsylvania",
2869
- Quebec = "quebec",
2870
- Queensland = "queensland",
2871
- RhodeIsland = "rhodeIsland",
2872
- Saskatchewan = "saskatchewan",
2873
- SouthAustralia = "southAustralia",
2874
- SouthCarolina = "southCarolina",
2875
- SouthDakota = "southDakota",
2876
- Tasmania = "tasmania",
2877
- Tennessee = "tennessee",
2878
- Texas = "texas",
2879
- Utah = "utah",
2880
- Vermont = "vermont",
2881
- Victoria = "victoria",
2882
- Virginia = "virginia",
2883
- Washington = "washington",
2884
- WesternAustralia = "westernAustralia",
2885
- WestVirginia = "westVirginia",
2886
- Wisconsin = "wisconsin",
2887
- Wyoming = "wyoming",
2888
- Yukon = "yukon",
2889
- CiudadDeMexico = "ciudadDeMexico",
2890
- Jalisco = "jalisco",
2891
- NewfoundlandAndLabrador = "newfoundlandAndLabrador",
2892
- NuevoLeon = "nuevoLeon",
2893
- BajaCalifornia = "bajaCalifornia",
2894
- Chihuahua = "chihuahua",
2895
- Guanajuato = "guanajuato",
2896
- Guerrero = "guerrero",
2897
- Mexico = "mexico",
2898
- Michoacan = "michoacan",
2899
- NewYorkCity = "newYorkCity",
2900
- Tamaulipas = "tamaulipas",
2901
- Veracruz = "veracruz",
2902
- Chiapas = "chiapas",
2903
- Coahuila = "coahuila",
2904
- Durago = "durango",
2905
- GuerreroCocula = "guerreroCocula",
2906
- GuerreroJuchitan = "guerreroJuchitan",
2907
- GuerreroTepecoacuilco = "guerreroTepecoacuilco",
2908
- GuerreroTlacoapa = "guerreroTlacoapa",
2909
- Gujarat = "gujarat",
2910
- Hidalgo = "hidalgo",
2911
- Karnataka = "karnataka",
2912
- Kerala = "kerala",
2913
- KhyberPakhtunkhwa = "khyberPakhtunkhwa",
2914
- MadhyaPradesh = "madhyaPradesh",
2915
- Maharashtra = "maharashtra",
2916
- Morelos = "morelos",
2917
- Nayarit = "nayarit",
2918
- Oaxaca = "oaxaca",
2919
- Puebla = "puebla",
2920
- Punjab = "punjab",
2921
- Queretaro = "queretaro",
2922
- SanLuisPotosi = "sanLuisPotosi",
2923
- Sinaloa = "sinaloa",
2924
- Sonora = "sonora",
2925
- Tabasco = "tabasco",
2926
- TamilNadu = "tamilNadu",
2927
- Yucatan = "yucatan",
2928
- Zacatecas = "zacatecas",
2929
- Aguascalientes = "aguascalientes",
2930
- BajaCaliforniaSur = "bajaCaliforniaSur",
2931
- Campeche = "campeche",
2932
- Colima = "colima",
2933
- QuintanaRooBenitoJuarez = "quintanaRooBenitoJuarez",
2934
- QuintanaRoo = "quintanaRoo",
2935
- QuintanaRooSolidaridad = "quintanaRooSolidaridad",
2936
- Tlaxcala = "tlaxcala",
2937
- QuintanaRooCozumel = "quintanaRooCozumel",
2938
- SanPaolo = "saoPaolo",
2939
- RioDeJaniero = "rioDeJaneiro",
2940
- RioGrandeDoSul = "rioGrandeDoSul",
2941
- NorthWestTerritories = "northWestTerritories",
2942
- Nunavut = "nunavut",
2943
- PrinceEdwardIsland = "princeEdwardIsland",
2944
- DistritoFederal = "distritoFederal",
2945
- Maranhao = "maranhao",
2946
- MatoGrosso = "matoGrosso",
2947
- MinasGerais = "minasGerais",
2948
- Para = "para",
2949
- Parana = "parana",
2950
- Pernambuco = "pernambuco",
2951
- SantaCatarina = "santaCatarina",
2952
- AndhraPradesh = "andhraPradesh",
2953
- Ceara = "ceara",
2954
- Goias = "goias",
2955
- GuerreroAcapulcoDeJuarez = "guerreroAcapulcoDeJuarez",
2956
- Haryana = "haryana",
2957
- Sergipe = "sergipe",
2958
- Alagos = "alagos",
2959
- Bangsamoro = "bangsamoro",
2960
- Telangana = "telangana"
2961
- }
2638
+ export declare const Region: {
2639
+ readonly None: "none";
2640
+ readonly Alabama: "alabama";
2641
+ readonly Alaska: "alaska";
2642
+ readonly Alberta: "alberta";
2643
+ readonly Arizona: "arizona";
2644
+ readonly Arkansas: "arkansas";
2645
+ readonly AustralianCapitalTerritory: "australianCapitalTerritory";
2646
+ readonly BritishColumbia: "britishColumbia";
2647
+ readonly California: "california";
2648
+ readonly Colorado: "colorado";
2649
+ readonly Connecticut: "connecticut";
2650
+ readonly Delaware: "delaware";
2651
+ readonly DistrictOfColumbia: "districtOfColumbia";
2652
+ readonly Florida: "florida";
2653
+ readonly Georgia: "georgia";
2654
+ readonly Hawaii: "hawaii";
2655
+ readonly Idaho: "idaho";
2656
+ readonly Illinois: "illinois";
2657
+ readonly Indiana: "indiana";
2658
+ readonly Iowa: "iowa";
2659
+ readonly Kansas: "kansas";
2660
+ readonly Kentucky: "kentucky";
2661
+ readonly Louisiana: "louisiana";
2662
+ readonly Maine: "maine";
2663
+ readonly Manitoba: "manitoba";
2664
+ readonly Maryland: "maryland";
2665
+ readonly Massachusetts: "massachusetts";
2666
+ readonly Michigan: "michigan";
2667
+ readonly Minnesota: "minnesota";
2668
+ readonly Mississippi: "mississippi";
2669
+ readonly Missouri: "missouri";
2670
+ readonly Montana: "montana";
2671
+ readonly Nebraska: "nebraska";
2672
+ readonly Nevada: "nevada";
2673
+ readonly NewBrunswick: "newBrunswick";
2674
+ readonly NewHampshire: "newHampshire";
2675
+ readonly NewJersey: "newJersey";
2676
+ readonly NewMexico: "newMexico";
2677
+ readonly NewSouthWales: "newSouthWales";
2678
+ readonly NewYork: "newYork";
2679
+ readonly NorthernTerritory: "northernTerritory";
2680
+ readonly NorthCarolina: "northCarolina";
2681
+ readonly NorthDakota: "northDakota";
2682
+ readonly NovaScotia: "novaScotia";
2683
+ readonly Ohio: "ohio";
2684
+ readonly Oklahoma: "oklahoma";
2685
+ readonly Ontario: "ontario";
2686
+ readonly Oregon: "oregon";
2687
+ readonly Pennsylvania: "pennsylvania";
2688
+ readonly Quebec: "quebec";
2689
+ readonly Queensland: "queensland";
2690
+ readonly RhodeIsland: "rhodeIsland";
2691
+ readonly Saskatchewan: "saskatchewan";
2692
+ readonly SouthAustralia: "southAustralia";
2693
+ readonly SouthCarolina: "southCarolina";
2694
+ readonly SouthDakota: "southDakota";
2695
+ readonly Tasmania: "tasmania";
2696
+ readonly Tennessee: "tennessee";
2697
+ readonly Texas: "texas";
2698
+ readonly Utah: "utah";
2699
+ readonly Vermont: "vermont";
2700
+ readonly Victoria: "victoria";
2701
+ readonly Virginia: "virginia";
2702
+ readonly Washington: "washington";
2703
+ readonly WesternAustralia: "westernAustralia";
2704
+ readonly WestVirginia: "westVirginia";
2705
+ readonly Wisconsin: "wisconsin";
2706
+ readonly Wyoming: "wyoming";
2707
+ readonly Yukon: "yukon";
2708
+ readonly CiudadDeMexico: "ciudadDeMexico";
2709
+ readonly Jalisco: "jalisco";
2710
+ readonly NewfoundlandAndLabrador: "newfoundlandAndLabrador";
2711
+ readonly NuevoLeon: "nuevoLeon";
2712
+ readonly BajaCalifornia: "bajaCalifornia";
2713
+ readonly Chihuahua: "chihuahua";
2714
+ readonly Guanajuato: "guanajuato";
2715
+ readonly Guerrero: "guerrero";
2716
+ readonly Mexico: "mexico";
2717
+ readonly Michoacan: "michoacan";
2718
+ readonly NewYorkCity: "newYorkCity";
2719
+ readonly Tamaulipas: "tamaulipas";
2720
+ readonly Veracruz: "veracruz";
2721
+ readonly Chiapas: "chiapas";
2722
+ readonly Coahuila: "coahuila";
2723
+ readonly Durago: "durango";
2724
+ readonly GuerreroCocula: "guerreroCocula";
2725
+ readonly GuerreroJuchitan: "guerreroJuchitan";
2726
+ readonly GuerreroTepecoacuilco: "guerreroTepecoacuilco";
2727
+ readonly GuerreroTlacoapa: "guerreroTlacoapa";
2728
+ readonly Gujarat: "gujarat";
2729
+ readonly Hidalgo: "hidalgo";
2730
+ readonly Karnataka: "karnataka";
2731
+ readonly Kerala: "kerala";
2732
+ readonly KhyberPakhtunkhwa: "khyberPakhtunkhwa";
2733
+ readonly MadhyaPradesh: "madhyaPradesh";
2734
+ readonly Maharashtra: "maharashtra";
2735
+ readonly Morelos: "morelos";
2736
+ readonly Nayarit: "nayarit";
2737
+ readonly Oaxaca: "oaxaca";
2738
+ readonly Puebla: "puebla";
2739
+ readonly Punjab: "punjab";
2740
+ readonly Queretaro: "queretaro";
2741
+ readonly SanLuisPotosi: "sanLuisPotosi";
2742
+ readonly Sinaloa: "sinaloa";
2743
+ readonly Sonora: "sonora";
2744
+ readonly Tabasco: "tabasco";
2745
+ readonly TamilNadu: "tamilNadu";
2746
+ readonly Yucatan: "yucatan";
2747
+ readonly Zacatecas: "zacatecas";
2748
+ readonly Aguascalientes: "aguascalientes";
2749
+ readonly BajaCaliforniaSur: "bajaCaliforniaSur";
2750
+ readonly Campeche: "campeche";
2751
+ readonly Colima: "colima";
2752
+ readonly QuintanaRooBenitoJuarez: "quintanaRooBenitoJuarez";
2753
+ readonly QuintanaRoo: "quintanaRoo";
2754
+ readonly QuintanaRooSolidaridad: "quintanaRooSolidaridad";
2755
+ readonly Tlaxcala: "tlaxcala";
2756
+ readonly QuintanaRooCozumel: "quintanaRooCozumel";
2757
+ readonly SanPaolo: "saoPaolo";
2758
+ readonly RioDeJaniero: "rioDeJaneiro";
2759
+ readonly RioGrandeDoSul: "rioGrandeDoSul";
2760
+ readonly NorthWestTerritories: "northWestTerritories";
2761
+ readonly Nunavut: "nunavut";
2762
+ readonly PrinceEdwardIsland: "princeEdwardIsland";
2763
+ readonly DistritoFederal: "distritoFederal";
2764
+ readonly Maranhao: "maranhao";
2765
+ readonly MatoGrosso: "matoGrosso";
2766
+ readonly MinasGerais: "minasGerais";
2767
+ readonly Para: "para";
2768
+ readonly Parana: "parana";
2769
+ readonly Pernambuco: "pernambuco";
2770
+ readonly SantaCatarina: "santaCatarina";
2771
+ readonly AndhraPradesh: "andhraPradesh";
2772
+ readonly Ceara: "ceara";
2773
+ readonly Goias: "goias";
2774
+ readonly GuerreroAcapulcoDeJuarez: "guerreroAcapulcoDeJuarez";
2775
+ readonly Haryana: "haryana";
2776
+ readonly Sergipe: "sergipe";
2777
+ readonly Alagos: "alagos";
2778
+ readonly Bangsamoro: "bangsamoro";
2779
+ readonly Telangana: "telangana";
2780
+ readonly Acre: "acre";
2781
+ readonly EspiritoSanto: "espiritoSanto";
2782
+ readonly MatoGrossoDoSul: "matoGrossoDoSul";
2783
+ readonly Paraiba: "paraiba";
2784
+ readonly Piaui: "piaui";
2785
+ readonly RioGrandeDoNorte: "rioGrandeDoNorte";
2786
+ readonly Tocantins: "tocantins";
2787
+ readonly Odisha: "odisha";
2788
+ readonly Uttarakhand: "uttarakhand";
2789
+ };
2790
+ export type Region = (typeof Region)[keyof typeof Region];
2962
2791
  /**
2963
2792
  * Document type.
2964
2793
  *
2965
2794
  */
2966
- export declare enum DocumentType {
2967
- None = "none",
2968
- ConsularId = "consularId",
2969
- Dl = "dl",
2970
- DlPublicServicesCard = "dlPublicServicesCard",
2971
- EmploymentPass = "employmentPass",
2972
- FinCard = "finCard",
2973
- Id = "id",
2974
- MultipurposeId = "multipurposeId",
2975
- MyKad = "myKad",
2976
- MyKid = "myKid",
2977
- MyPr = "myPR",
2978
- MyTentera = "myTentera",
2979
- PanCard = "panCard",
2980
- ProfessionalId = "professionalId",
2981
- PublicServicesCard = "publicServicesCard",
2982
- ResidencePermit = "residencePermit",
2983
- ResidentId = "residentId",
2984
- TemporaryResidencePermit = "temporaryResidencePermit",
2985
- VoterId = "voterId",
2986
- WorkPermit = "workPermit",
2987
- IKad = "iKad",
2988
- MilitaryId = "militaryId",
2989
- MyKas = "myKas",
2990
- DocialSecurityCard = "docialSecurityCard",
2991
- HealthInsuranceCard = "healthInsuranceCard",
2992
- Passport = "passport",
2993
- SPass = "sPass",
2994
- AddressCard = "addressCard",
2995
- AlienId = "alienId",
2996
- AlienPassport = "alienPassport",
2997
- GreenCard = "greenCard",
2998
- MinorsId = "minorsId",
2999
- PostalId = "postalId",
3000
- ProfessionalDl = "professionalDl",
3001
- TaxId = "taxId",
3002
- WeaponPermit = "weaponPermit",
3003
- Visa = "visa",
3004
- BorderCrossingCard = "borderCrossingCard",
3005
- DriverCard = "driverCard",
3006
- GlobalEntryCard = "globalEntryCard",
3007
- MyPolis = "mypolis",
3008
- NexusCard = "nexusCard",
3009
- PassportCard = "passportCard",
3010
- ProofOfAgeCard = "proofOfAgeCard",
3011
- RefugeeId = "refugeeId",
3012
- TribalId = "tribalId",
3013
- VeteranId = "veteranId",
3014
- CitizenshipCertificate = "citizenshipCertificate",
3015
- MyNumberCard = "myNumberCard",
3016
- ConsularPassport = "consularPassport",
3017
- MinorsPassport = "minorsPassport",
3018
- MinorsPublicServicesCard = "minorsPublicServicesCard",
3019
- DrivingPriviligeCard = "drivingPriviligeCard",
3020
- AsylumRequest = "asylumRequest",
3021
- DriverQualificationCard = "driverQualificationCard",
3022
- ProvisionalDl = "provisionalDl",
3023
- RefugeePassport = "refugeePassport",
3024
- SpecialId = "specialId",
3025
- UniformedServicesId = "uniformedServicesId",
3026
- ImmigrantVisa = "immigrantVisa",
3027
- ConsularVoterId = "consularVoterId",
3028
- TwicCard = "twicCard",
3029
- ExitEntryPermit = "exitEntryPermit",
3030
- MainlandTravelPermitTaiwan = "mainlandTravelPermitTaiwan",
3031
- NbiClearance = "nbiClearance",
3032
- ProofOfRegistration = "proofOfRegistration",
3033
- TemporaryProtectionPermit = "temporaryProtectionPermit",
3034
- AfghanCitizenCard = "afghanCitizenCard",
3035
- EId = "eId",
3036
- Pass = "pass",
3037
- SisId = "sisId",
3038
- AsicCard = "asicCard",
3039
- BidoonCard = "bidoonCard",
3040
- InterimHealthInsuranceCard = "interimHealthInsuranceCard",
3041
- NonVoterId = "nonVoterId",
3042
- ReciprocalHealthInsuranceCard = "reciprocalHealthInsuranceCard",
3043
- VehicleRegistration = "vehicleRegistration",
3044
- EsaadCard = "esaadCard",
3045
- RegistrationCertificate = "registrationCertificate",
3046
- MedicalMarijuanaId = "medicalMarijuanaId",
3047
- NonCardTribalId = "nonCardTribalId",
3048
- DiplomaticId = "diplomaticId",
3049
- EmergencyPassport = "emergencyPassport",
3050
- temporaryPassport = "temporaryPassport",
3051
- metisFederationCard = "metisFederationCard",
3052
- adrCertificate = "adrCertificate"
3053
- }
2795
+ export declare const DocumentType: {
2796
+ readonly None: "none";
2797
+ readonly ConsularId: "consularId";
2798
+ readonly Dl: "dl";
2799
+ readonly DlPublicServicesCard: "dlPublicServicesCard";
2800
+ readonly EmploymentPass: "employmentPass";
2801
+ readonly FinCard: "finCard";
2802
+ readonly Id: "id";
2803
+ readonly MultipurposeId: "multipurposeId";
2804
+ readonly MyKad: "myKad";
2805
+ readonly MyKid: "myKid";
2806
+ readonly MyPr: "myPR";
2807
+ readonly MyTentera: "myTentera";
2808
+ readonly PanCard: "panCard";
2809
+ readonly ProfessionalId: "professionalId";
2810
+ readonly PublicServicesCard: "publicServicesCard";
2811
+ readonly ResidencePermit: "residencePermit";
2812
+ readonly ResidentId: "residentId";
2813
+ readonly TemporaryResidencePermit: "temporaryResidencePermit";
2814
+ readonly VoterId: "voterId";
2815
+ readonly WorkPermit: "workPermit";
2816
+ readonly IKad: "iKad";
2817
+ readonly MilitaryId: "militaryId";
2818
+ readonly MyKas: "myKas";
2819
+ readonly DocialSecurityCard: "docialSecurityCard";
2820
+ readonly HealthInsuranceCard: "healthInsuranceCard";
2821
+ readonly Passport: "passport";
2822
+ readonly SPass: "sPass";
2823
+ readonly AddressCard: "addressCard";
2824
+ readonly AlienId: "alienId";
2825
+ readonly AlienPassport: "alienPassport";
2826
+ readonly GreenCard: "greenCard";
2827
+ readonly MinorsId: "minorsId";
2828
+ readonly PostalId: "postalId";
2829
+ readonly ProfessionalDl: "professionalDl";
2830
+ readonly TaxId: "taxId";
2831
+ readonly WeaponPermit: "weaponPermit";
2832
+ readonly Visa: "visa";
2833
+ readonly BorderCrossingCard: "borderCrossingCard";
2834
+ readonly DriverCard: "driverCard";
2835
+ readonly GlobalEntryCard: "globalEntryCard";
2836
+ readonly MyPolis: "mypolis";
2837
+ readonly NexusCard: "nexusCard";
2838
+ readonly PassportCard: "passportCard";
2839
+ readonly ProofOfAgeCard: "proofOfAgeCard";
2840
+ readonly RefugeeId: "refugeeId";
2841
+ readonly TribalId: "tribalId";
2842
+ readonly VeteranId: "veteranId";
2843
+ readonly CitizenshipCertificate: "citizenshipCertificate";
2844
+ readonly MyNumberCard: "myNumberCard";
2845
+ readonly ConsularPassport: "consularPassport";
2846
+ readonly MinorsPassport: "minorsPassport";
2847
+ readonly MinorsPublicServicesCard: "minorsPublicServicesCard";
2848
+ readonly DrivingPriviligeCard: "drivingPriviligeCard";
2849
+ readonly AsylumRequest: "asylumRequest";
2850
+ readonly DriverQualificationCard: "driverQualificationCard";
2851
+ readonly ProvisionalDl: "provisionalDl";
2852
+ readonly RefugeePassport: "refugeePassport";
2853
+ readonly SpecialId: "specialId";
2854
+ readonly UniformedServicesId: "uniformedServicesId";
2855
+ readonly ImmigrantVisa: "immigrantVisa";
2856
+ readonly ConsularVoterId: "consularVoterId";
2857
+ readonly TwicCard: "twicCard";
2858
+ readonly ExitEntryPermit: "exitEntryPermit";
2859
+ readonly MainlandTravelPermitTaiwan: "mainlandTravelPermitTaiwan";
2860
+ readonly NbiClearance: "nbiClearance";
2861
+ readonly ProofOfRegistration: "proofOfRegistration";
2862
+ readonly TemporaryProtectionPermit: "temporaryProtectionPermit";
2863
+ readonly AfghanCitizenCard: "afghanCitizenCard";
2864
+ readonly EId: "eId";
2865
+ readonly Pass: "pass";
2866
+ readonly SisId: "sisId";
2867
+ readonly AsicCard: "asicCard";
2868
+ readonly BidoonCard: "bidoonCard";
2869
+ readonly InterimHealthInsuranceCard: "interimHealthInsuranceCard";
2870
+ readonly NonVoterId: "nonVoterId";
2871
+ readonly ReciprocalHealthInsuranceCard: "reciprocalHealthInsuranceCard";
2872
+ readonly VehicleRegistration: "vehicleRegistration";
2873
+ readonly EsaadCard: "esaadCard";
2874
+ readonly RegistrationCertificate: "registrationCertificate";
2875
+ readonly MedicalMarijuanaId: "medicalMarijuanaId";
2876
+ readonly NonCardTribalId: "nonCardTribalId";
2877
+ readonly DiplomaticId: "diplomaticId";
2878
+ readonly EmergencyPassport: "emergencyPassport";
2879
+ readonly TemporaryPassport: "temporaryPassport";
2880
+ readonly MetisFederationCard: "metisFederationCard";
2881
+ readonly SocialSecurityCard: "socialSecurityCard";
2882
+ readonly AdrCertificate: "adrCertificate";
2883
+ readonly NinCard: "ninCard";
2884
+ readonly MysssCard: "mysssCard";
2885
+ readonly GendarmerieId: "gendarmerieId";
2886
+ readonly PoliceId: "policeId";
2887
+ readonly OriginCard: "originCard";
2888
+ };
2889
+ export type DocumentType = (typeof DocumentType)[keyof typeof DocumentType];
3054
2890
  /**
3055
2891
  * Represents all possible field types that can be extracted from the document.
3056
2892
  *
3057
2893
  */
3058
- export declare enum FieldType {
3059
- AdditionalAddressInformation = "additionalAddressInformation",
3060
- AdditionalNameInformation = "additionalNameInformation",
3061
- AdditionalOptionalAddressInformation = "additionalOptionalAddressInformation",
3062
- AdditionalPersonalIdNumber = "additionalPersonalIdNumber",
3063
- Address = "address",
3064
- ClassEffectiveDate = "classEffectiveDate",
3065
- ClassExpiryDate = "classExpiryDate",
3066
- Conditions = "conditions",
3067
- DateOfBirth = "dateOfBirth",
3068
- DateOfExpiry = "dateOfExpiry",
3069
- DateOfIssue = "dateOfIssue",
3070
- DocumentAdditionalNumber = "documentAdditionalNumber",
3071
- DocumentOptionalAdditionalNumber = "documentOptionalAdditionalNumber",
3072
- DocumentNumber = "documentNumber",
3073
- Employer = "employer",
3074
- Endorsements = "endorsements",
3075
- FathersName = "fathersName",
3076
- FirstName = "firstName",
3077
- FullName = "fullName",
3078
- IssuingAuthority = "issuingAuthority",
3079
- LastName = "lastName",
3080
- LicenseType = "licenceType",
3081
- LocalizedName = "localizedName",
3082
- MaritalStatus = "maritalStatus",
3083
- MothersName = "mothersName",
3084
- Mrz = "mrz",
3085
- Nationality = "nationality",
3086
- PersonalIdNumber = "personalIdNumber",
3087
- PlaceOfBirth = "placeOfBirth",
3088
- Profession = "profession",
3089
- Race = "race",
3090
- Religion = "religion",
3091
- ResidentialStatus = "residentialStatus",
3092
- Restriction = "restrictions",
3093
- Sex = "sex",
3094
- VehicleClass = "vehicleClass",
3095
- BloodType = "bloodType",
3096
- Sponsor = "sponsor",
3097
- VisaType = "visaType",
3098
- DocumentSubtype = "documentSubtype",
3099
- Remarks = "remarks",
3100
- ResidencePermitType = "residencePermitType",
3101
- ManufacturingYear = "manufacturingYear",
3102
- VehicleType = "vehicleType",
3103
- DependentDateOfBirth = "dependentDateOfBirth",
3104
- DependentSex = "dependentSex",
3105
- DependentDocumentNumber = "dependentDocumentNumber",
3106
- DependentFullName = "dependentFullName",
3107
- EligibilityCategory = "eligibilityCategory",
3108
- SpecificDocumentValidity = "specificDocumentValidity",
3109
- VehicleOwner = "vehicleOwner",
3110
- nationalInsuranceNumber = "nationalInsuranceNumber",
3111
- CountryCode = "countryCode",
3112
- CertificateNumber = "certificateNumber",
3113
- MunicipalityOfRegistration = "municipalityOfRegistration",
3114
- LocalityCode = "localityCode",
3115
- MaidenName = "maidenName",
3116
- StateCode = "stateCode",
3117
- DateOfEntry = "dateOfEntry",
3118
- MunicipalityCode = "municipalityCode",
3119
- PollingStationCode = "pollingStationCode",
3120
- SectionCode = "sectionCode",
3121
- RegistrationCenterCode = "registrationCenterCode",
3122
- StateName = "stateName"
3123
- }
2894
+ export declare const FieldType: {
2895
+ readonly AdditionalAddressInformation: "additionalAddressInformation";
2896
+ readonly AdditionalNameInformation: "additionalNameInformation";
2897
+ readonly AdditionalOptionalAddressInformation: "additionalOptionalAddressInformation";
2898
+ readonly AdditionalPersonalIdNumber: "additionalPersonalIdNumber";
2899
+ readonly Address: "address";
2900
+ readonly ClassEffectiveDate: "classEffectiveDate";
2901
+ readonly ClassExpiryDate: "classExpiryDate";
2902
+ readonly Conditions: "conditions";
2903
+ readonly DateOfBirth: "dateOfBirth";
2904
+ readonly DateOfExpiry: "dateOfExpiry";
2905
+ readonly DateOfIssue: "dateOfIssue";
2906
+ readonly DocumentAdditionalNumber: "documentAdditionalNumber";
2907
+ readonly DocumentOptionalAdditionalNumber: "documentOptionalAdditionalNumber";
2908
+ readonly DocumentNumber: "documentNumber";
2909
+ readonly Employer: "employer";
2910
+ readonly Endorsements: "endorsements";
2911
+ readonly FathersName: "fathersName";
2912
+ readonly FirstName: "firstName";
2913
+ readonly FullName: "fullName";
2914
+ readonly IssuingAuthority: "issuingAuthority";
2915
+ readonly LastName: "lastName";
2916
+ readonly LicenseType: "licenceType";
2917
+ readonly LocalizedName: "localizedName";
2918
+ readonly MaritalStatus: "maritalStatus";
2919
+ readonly MothersName: "mothersName";
2920
+ readonly Mrz: "mrz";
2921
+ readonly Nationality: "nationality";
2922
+ readonly PersonalIdNumber: "personalIdNumber";
2923
+ readonly PlaceOfBirth: "placeOfBirth";
2924
+ readonly Profession: "profession";
2925
+ readonly Race: "race";
2926
+ readonly Religion: "religion";
2927
+ readonly ResidentialStatus: "residentialStatus";
2928
+ readonly Restriction: "restrictions";
2929
+ readonly Sex: "sex";
2930
+ readonly VehicleClass: "vehicleClass";
2931
+ readonly BloodType: "bloodType";
2932
+ readonly Sponsor: "sponsor";
2933
+ readonly VisaType: "visaType";
2934
+ readonly DocumentSubtype: "documentSubtype";
2935
+ readonly Remarks: "remarks";
2936
+ readonly ResidencePermitType: "residencePermitType";
2937
+ readonly ManufacturingYear: "manufacturingYear";
2938
+ readonly VehicleType: "vehicleType";
2939
+ readonly DependentDateOfBirth: "dependentDateOfBirth";
2940
+ readonly DependentSex: "dependentSex";
2941
+ readonly DependentDocumentNumber: "dependentDocumentNumber";
2942
+ readonly DependentFullName: "dependentFullName";
2943
+ readonly EligibilityCategory: "eligibilityCategory";
2944
+ readonly SpecificDocumentValidity: "specificDocumentValidity";
2945
+ readonly VehicleOwner: "vehicleOwner";
2946
+ readonly nationalInsuranceNumber: "nationalInsuranceNumber";
2947
+ readonly CountryCode: "countryCode";
2948
+ readonly CertificateNumber: "certificateNumber";
2949
+ readonly MunicipalityOfRegistration: "municipalityOfRegistration";
2950
+ readonly LocalityCode: "localityCode";
2951
+ readonly MaidenName: "maidenName";
2952
+ readonly StateCode: "stateCode";
2953
+ readonly DateOfEntry: "dateOfEntry";
2954
+ readonly MunicipalityCode: "municipalityCode";
2955
+ readonly PollingStationCode: "pollingStationCode";
2956
+ readonly SectionCode: "sectionCode";
2957
+ readonly RegistrationCenterCode: "registrationCenterCode";
2958
+ readonly StateName: "stateName";
2959
+ readonly EffectiveDate: "effectiveDate";
2960
+ readonly ParentsLastName: "parentsLastName";
2961
+ readonly ParentsFirstName: "parentsFirstName";
2962
+ readonly WorkRestriction: "workRestriction";
2963
+ readonly SocialSecurityStatus: "socialSecurityStatus";
2964
+ readonly LegalStatus: "legalStatus";
2965
+ readonly HusbandName: "husbandName";
2966
+ readonly CardAccessNumber: "cardAccessNumber";
2967
+ };
2968
+ export type FieldType = (typeof FieldType)[keyof typeof FieldType];
3124
2969
  /** An enum indicating preffered camera position for document capturing. */
3125
- export declare enum PreferredCamera {
3126
- /**
3127
- * Use the back-facing camera
3128
- *
3129
- * This is the default value
3130
- */
3131
- Back = "back",
3132
- /**
3133
- * Use the front-facing camera
3134
- *
3135
- */
3136
- Front = "front"
3137
- }
3138
- export {};
2970
+ export type PreferredCamera =
2971
+ /**
2972
+ * Use the back-facing camera
2973
+ *
2974
+ * This is the default value
2975
+ */
2976
+ "back"
2977
+ /**
2978
+ * Use the front-facing camera
2979
+ *
2980
+ */
2981
+ | "front";
3139
2982
  //# sourceMappingURL=types.d.ts.map