@microblink/blinkid-react-native 7.7.0 → 8000.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) 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 -249
  6. package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdSerializationUtilities.kt +109 -31
  7. package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkidReactNativeModule.kt +39 -31
  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 +7535 -2758
  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 +17584 -4445
  15. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.private.swiftinterface +352 -122
  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 +352 -122
  18. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/_CodeSignature/CodeResources +17 -28
  19. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/conan.xcconfig +3 -3
  20. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/BlinkID +0 -0
  21. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/BlinkID-Swift.h +42778 -33224
  22. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/BlinkID.h +2 -1
  23. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Info.plist +0 -0
  24. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.abi.json +17584 -4445
  25. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +352 -122
  26. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  27. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.swiftinterface +352 -122
  28. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.abi.json +17584 -4445
  29. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +352 -122
  30. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  31. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +352 -122
  32. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/_CodeSignature/CodeResources +27 -38
  33. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/conan.xcconfig +3 -3
  34. package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeDirectory +0 -0
  35. package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeResources +276 -276
  36. package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeSignature +0 -0
  37. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX +0 -0
  38. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Assets.car +0 -0
  39. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Info.plist +0 -0
  40. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ak.lproj/Localizable.strings +0 -0
  41. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/am.lproj/Localizable.strings +0 -0
  42. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ar.lproj/Localizable.strings +0 -0
  43. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/bn.lproj/Localizable.strings +0 -0
  44. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/cs.lproj/Localizable.strings +0 -0
  45. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/da.lproj/Localizable.strings +0 -0
  46. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/de.lproj/Localizable.strings +0 -0
  47. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/el.lproj/Localizable.strings +0 -0
  48. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en-GB.lproj/Localizable.strings +0 -0
  49. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en.lproj/Localizable.strings +0 -0
  50. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es-MX.lproj/Localizable.strings +0 -0
  51. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es.lproj/Localizable.strings +0 -0
  52. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fa.lproj/Localizable.strings +0 -0
  53. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fi.lproj/Localizable.strings +0 -0
  54. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fil.lproj/Localizable.strings +0 -0
  55. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr-CA.lproj/Localizable.strings +0 -0
  56. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr.lproj/Localizable.strings +0 -0
  57. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ha.lproj/Localizable.strings +0 -0
  58. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/he.lproj/Localizable.strings +0 -0
  59. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hi.lproj/Localizable.strings +0 -0
  60. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hr.lproj/Localizable.strings +0 -0
  61. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hu.lproj/Localizable.strings +0 -0
  62. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/id.lproj/Localizable.strings +0 -0
  63. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/is.lproj/Localizable.strings +0 -0
  64. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/it.lproj/Localizable.strings +0 -0
  65. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ja.lproj/Localizable.strings +0 -0
  66. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ka-GE.lproj/Localizable.strings +0 -0
  67. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/kk.lproj/Localizable.strings +0 -0
  68. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/km-KH.lproj/Localizable.strings +0 -0
  69. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ko.lproj/Localizable.strings +0 -0
  70. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/lv.lproj/Localizable.strings +0 -0
  71. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ms.lproj/Localizable.strings +0 -0
  72. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nb.lproj/Localizable.strings +0 -0
  73. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ne.lproj/Localizable.strings +0 -0
  74. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nl.lproj/Localizable.strings +0 -0
  75. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pl.lproj/Localizable.strings +0 -0
  76. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ps-AF.lproj/Localizable.strings +0 -0
  77. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt-BR.lproj/Localizable.strings +0 -0
  78. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt.lproj/Localizable.strings +0 -0
  79. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ro.lproj/Localizable.strings +0 -0
  80. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ru.lproj/Localizable.strings +0 -0
  81. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/si.lproj/Localizable.strings +0 -0
  82. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sk.lproj/Localizable.strings +0 -0
  83. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sl.lproj/Localizable.strings +0 -0
  84. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sr.lproj/Localizable.strings +0 -0
  85. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sv.lproj/Localizable.strings +0 -0
  86. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sw.lproj/Localizable.strings +0 -0
  87. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/th.lproj/Localizable.strings +0 -0
  88. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/tr.lproj/Localizable.strings +0 -0
  89. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uk.lproj/Localizable.strings +0 -0
  90. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ur.lproj/Localizable.strings +0 -0
  91. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uz.lproj/Localizable.strings +0 -0
  92. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/vi.lproj/Localizable.strings +0 -0
  93. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/yo.lproj/Localizable.strings +0 -0
  94. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hans.lproj/Localizable.strings +0 -0
  95. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hant.lproj/Localizable.strings +0 -0
  96. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Info.plist +0 -0
  97. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.abi.json +2551 -1166
  98. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.package.swiftinterface +60 -24
  99. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.private.swiftinterface +60 -24
  100. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  101. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.swiftinterface +60 -24
  102. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX +0 -0
  103. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Assets.car +0 -0
  104. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Info.plist +0 -0
  105. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeDirectory +0 -0
  106. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeResources +114 -114
  107. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ak.lproj/Localizable.strings +0 -0
  108. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/am.lproj/Localizable.strings +0 -0
  109. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ar.lproj/Localizable.strings +0 -0
  110. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/bn.lproj/Localizable.strings +0 -0
  111. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/cs.lproj/Localizable.strings +0 -0
  112. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/da.lproj/Localizable.strings +0 -0
  113. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/de.lproj/Localizable.strings +0 -0
  114. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/el.lproj/Localizable.strings +0 -0
  115. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en-GB.lproj/Localizable.strings +0 -0
  116. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en.lproj/Localizable.strings +0 -0
  117. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es-MX.lproj/Localizable.strings +0 -0
  118. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es.lproj/Localizable.strings +0 -0
  119. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fa.lproj/Localizable.strings +0 -0
  120. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fi.lproj/Localizable.strings +0 -0
  121. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fil.lproj/Localizable.strings +0 -0
  122. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr-CA.lproj/Localizable.strings +0 -0
  123. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr.lproj/Localizable.strings +0 -0
  124. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ha.lproj/Localizable.strings +0 -0
  125. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/he.lproj/Localizable.strings +0 -0
  126. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hi.lproj/Localizable.strings +0 -0
  127. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hr.lproj/Localizable.strings +0 -0
  128. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hu.lproj/Localizable.strings +0 -0
  129. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/id.lproj/Localizable.strings +0 -0
  130. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/is.lproj/Localizable.strings +0 -0
  131. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/it.lproj/Localizable.strings +0 -0
  132. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ja.lproj/Localizable.strings +0 -0
  133. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ka-GE.lproj/Localizable.strings +0 -0
  134. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/kk.lproj/Localizable.strings +0 -0
  135. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/km-KH.lproj/Localizable.strings +0 -0
  136. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ko.lproj/Localizable.strings +0 -0
  137. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/lv.lproj/Localizable.strings +0 -0
  138. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ms.lproj/Localizable.strings +0 -0
  139. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nb.lproj/Localizable.strings +0 -0
  140. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ne.lproj/Localizable.strings +0 -0
  141. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nl.lproj/Localizable.strings +0 -0
  142. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pl.lproj/Localizable.strings +0 -0
  143. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ps-AF.lproj/Localizable.strings +0 -0
  144. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt-BR.lproj/Localizable.strings +0 -0
  145. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt.lproj/Localizable.strings +0 -0
  146. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ro.lproj/Localizable.strings +0 -0
  147. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ru.lproj/Localizable.strings +0 -0
  148. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/si.lproj/Localizable.strings +0 -0
  149. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sk.lproj/Localizable.strings +0 -0
  150. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sl.lproj/Localizable.strings +0 -0
  151. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sr.lproj/Localizable.strings +0 -0
  152. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sv.lproj/Localizable.strings +0 -0
  153. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sw.lproj/Localizable.strings +0 -0
  154. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/th.lproj/Localizable.strings +0 -0
  155. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/tr.lproj/Localizable.strings +0 -0
  156. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uk.lproj/Localizable.strings +0 -0
  157. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ur.lproj/Localizable.strings +0 -0
  158. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uz.lproj/Localizable.strings +0 -0
  159. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/vi.lproj/Localizable.strings +0 -0
  160. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/yo.lproj/Localizable.strings +0 -0
  161. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hans.lproj/Localizable.strings +0 -0
  162. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hant.lproj/Localizable.strings +0 -0
  163. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Info.plist +0 -0
  164. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.abi.json +2551 -1166
  165. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +60 -24
  166. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +60 -24
  167. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  168. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.swiftinterface +60 -24
  169. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.abi.json +2551 -1166
  170. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +60 -24
  171. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +60 -24
  172. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  173. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +60 -24
  174. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/_CodeSignature/CodeResources +1 -1
  175. package/ios/Serialization/BlinkIdDeserializationUtils.swift +492 -0
  176. package/ios/{BlinkIdSerializationUtilities.swift → Serialization/BlinkIdSerializationUtils.swift} +246 -256
  177. package/lib/module/NativeBlinkidReactNative.js.map +1 -1
  178. package/lib/module/blinkIdResult.js +1 -822
  179. package/lib/module/blinkIdResult.js.map +1 -1
  180. package/lib/module/blinkIdSettings.js +1 -496
  181. package/lib/module/blinkIdSettings.js.map +1 -1
  182. package/lib/module/index.js +81 -17
  183. package/lib/module/index.js.map +1 -1
  184. package/lib/module/types.js +694 -3406
  185. package/lib/module/types.js.map +1 -1
  186. package/lib/typescript/src/NativeBlinkidReactNative.d.ts +26 -5
  187. package/lib/typescript/src/NativeBlinkidReactNative.d.ts.map +1 -1
  188. package/lib/typescript/src/blinkIdResult.d.ts +12 -20
  189. package/lib/typescript/src/blinkIdResult.d.ts.map +1 -1
  190. package/lib/typescript/src/blinkIdSettings.d.ts +36 -297
  191. package/lib/typescript/src/blinkIdSettings.d.ts.map +1 -1
  192. package/lib/typescript/src/index.d.ts +38 -10
  193. package/lib/typescript/src/index.d.ts.map +1 -1
  194. package/lib/typescript/src/types.d.ts +960 -1182
  195. package/lib/typescript/src/types.d.ts.map +1 -1
  196. package/package.json +5 -4
  197. package/src/NativeBlinkidReactNative.ts +28 -5
  198. package/src/blinkIdResult.ts +13 -466
  199. package/src/blinkIdSettings.ts +53 -373
  200. package/src/index.tsx +208 -35
  201. package/src/types.ts +1116 -1442
  202. package/android/.gradle/8.9/checksums/checksums.lock +0 -0
  203. package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
  204. package/android/.gradle/8.9/checksums/sha1-checksums.bin +0 -0
  205. package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
  206. package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
  207. package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
  208. package/android/.gradle/8.9/gc.properties +0 -0
  209. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  210. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  211. package/android/.gradle/vcs-1/gc.properties +0 -0
  212. package/android/.project +0 -28
  213. package/ios/BlinkIdDeserializationUtilities.swift +0 -374
  214. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/MBSampleBufferWrapper.h +0 -28
  215. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/MBSampleBufferWrapper.h +0 -28
  216. package/lib/module/blinkIdUtilities.js +0 -21
  217. package/lib/module/blinkIdUtilities.js.map +0 -1
  218. package/lib/typescript/src/blinkIdUtilities.d.ts +0 -8
  219. package/lib/typescript/src/blinkIdUtilities.d.ts.map +0 -1
  220. package/src/android/.project +0 -28
  221. 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
  *
@@ -1076,18 +949,12 @@ export declare class VizResult {
1076
949
  * The work restriction of the document owner.
1077
950
  */
1078
951
  workRestriction?: StringResult;
1079
- /**
1080
- *
1081
- * @param nativeVizResult
1082
- *
1083
- */
1084
- constructor(nativeVizResult: any);
1085
- }
952
+ };
1086
953
  /**
1087
954
  * Represents the result of the MRZ recognition.
1088
955
  *
1089
956
  */
1090
- export declare class MrzResult {
957
+ export type MrzResult = {
1091
958
  /**
1092
959
  * The entire Machine Readable Zone text from ID.
1093
960
  *
@@ -1223,18 +1090,12 @@ export declare class MrzResult {
1223
1090
  * Result without additional '<' characters if they exist.
1224
1091
  */
1225
1092
  sanitizedDocumentNumber?: string;
1226
- /**
1227
- *
1228
- * @param nativeMrzResult
1229
- *
1230
- */
1231
- constructor(nativeMrzResult: any);
1232
- }
1093
+ };
1233
1094
  /**
1234
1095
  * Represents the data extracted from the barcode.
1235
1096
  *
1236
1097
  */
1237
- export declare class BarcodeResult {
1098
+ export type BarcodeResult = {
1238
1099
  /**
1239
1100
  * The raw, unparsed barcode data.
1240
1101
  *
@@ -1370,17 +1231,12 @@ export declare class BarcodeResult {
1370
1231
  * Indicates whether the barcode was successfully parsed.
1371
1232
  */
1372
1233
  parsed?: boolean;
1373
- /**
1374
- *
1375
- * @param nativeBarcodeResult
1376
- */
1377
- constructor(nativeBarcodeResult: any);
1378
- }
1234
+ };
1379
1235
  /**
1380
1236
  * Represents the raw, unparsed data extracted from a scanned barcode.
1381
1237
  *
1382
1238
  */
1383
- export declare class BarcodeData {
1239
+ export type BarcodeData = {
1384
1240
  /**
1385
1241
  * Type of the scanned barcode.
1386
1242
  *
@@ -1401,17 +1257,12 @@ export declare class BarcodeData {
1401
1257
  *
1402
1258
  */
1403
1259
  uncertain?: boolean;
1404
- /**
1405
- *
1406
- * @param nativeBarcodeData - specifies the barcode data obtained from the native SDK.
1407
- */
1408
- constructor(nativeBarcodeData: any);
1409
- }
1260
+ };
1410
1261
  /**
1411
1262
  * Detailed information about the address.
1412
1263
  *
1413
1264
  */
1414
- export declare class AddressDetailedInfo {
1265
+ export type AddressDetailedInfo = {
1415
1266
  /**
1416
1267
  * he address street portion of the document owner.
1417
1268
  *
@@ -1432,18 +1283,12 @@ export declare class AddressDetailedInfo {
1432
1283
  *
1433
1284
  */
1434
1285
  jurisdiction?: string;
1435
- /**
1436
- *
1437
- * @param nativeAddressDetailedInfo - specificies the address detailed info obtained from the native SDK.
1438
- *
1439
- */
1440
- constructor(nativeAddressDetailedInfo: any);
1441
- }
1286
+ };
1442
1287
  /**
1443
1288
  * Represents the fields present in the barcode.
1444
1289
  * Currently this is only used for AAMVACompliant documents.
1445
1290
  */
1446
- export declare class BarcodeExtendedElements {
1291
+ export type BarcodeExtendedElements = {
1447
1292
  /**
1448
1293
  * Mandatory on all AAMVA and Magnetic barcodes.
1449
1294
  * On compact barcodes, use kFullAddress.
@@ -2226,16 +2071,11 @@ export declare class BarcodeExtendedElements {
2226
2071
  * For example: ANSI 636010090002DL00410267ZF03080067DLDAQS1234567812300000000000000 ^^ | | | +-- SubField Designator (DL, ID, EN, etc.) +----- IIN (636010)
2227
2072
  */
2228
2073
  subFieldDesignator?: string;
2229
- /**
2230
- *
2231
- * @param nativeBarcodeExtendedElements - specifies the extended barcode elements obtained from the native SDK.
2232
- */
2233
- constructor(nativeBarcodeExtendedElements: any);
2234
- }
2074
+ };
2235
2075
  /**
2236
2076
  * The results of parents info.
2237
2077
  */
2238
- export declare class ParentInfo {
2078
+ export type ParentInfo = {
2239
2079
  /**
2240
2080
  * The first name of one of the document owner's parents.
2241
2081
  */
@@ -2244,53 +2084,50 @@ export declare class ParentInfo {
2244
2084
  * The last name of one of the document owner's parents.
2245
2085
  */
2246
2086
  lastName?: StringResult;
2247
- constructor(nativeParentInfo: any);
2248
- }
2087
+ };
2249
2088
  /**
2250
2089
  * Represents the mode of document scanning.
2251
2090
  *
2252
2091
  * This enum class defines whether the scanning process is limited to a single
2253
2092
  * side of the document or includes multiple sides, automatically identifying how many sides need to be scanned.
2254
2093
  */
2255
- export declare enum ScanningMode {
2256
- /**
2257
- * Specifies the scanning process to be for single side only.
2258
- *
2259
- */
2260
- Single = 0,
2261
- /**
2262
- * The default `ScanningMode`.
2263
- *
2264
- * Automatically determines the number of sides to scan.
2265
- */
2266
- Automatic = 1
2267
- }
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";
2268
2106
  /**
2269
2107
  * Represents the type of the alphabet used in the document.
2270
2108
  *
2271
2109
  */
2272
- export declare enum AlphabetType {
2273
- /**
2274
- * The Latin alphabet type
2275
- *
2276
- */
2277
- Latin = "latin",
2278
- /**
2279
- * The Arabic alphabet type
2280
- *
2281
- */
2282
- Arabic = "arabic",
2283
- /**
2284
- * The Cyrillic alphabet type
2285
- *
2286
- */
2287
- Cyrillic = "cyrillic",
2288
- /**
2289
- * The Greek alphabet type
2290
- *
2291
- */
2292
- Greek = "greek"
2293
- }
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";
2294
2131
  /**
2295
2132
  * Represents the different levels of detection sensitivity.
2296
2133
  *
@@ -2300,905 +2137,846 @@ export declare enum AlphabetType {
2300
2137
  * The levels range from turning detection
2301
2138
  * off completely to setting various levels of sensitivity (`Low`, `Mid`, `High`).
2302
2139
  */
2303
- export declare enum DetectionLevel {
2304
- /**
2305
- * Disables the `DetectionLevel`
2306
- *
2307
- */
2308
- Off = 0,
2309
- /**
2310
- * Sets the `DetectionLevel` to be less sensitive.
2311
- *
2312
- */
2313
- Low = 1,
2314
- /**
2315
- * The default `DetectionLevel` sensitivity.
2316
- *
2317
- */
2318
- Mid = 2,
2319
- /**
2320
- * Sets the `DetectionLevel` to be highly sensitive.
2321
- *
2322
- */
2323
- High = 3
2324
- }
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";
2325
2161
  /**
2326
2162
  * Represents level of anonymization performed on the scanning result.
2327
2163
  *
2328
2164
  */
2329
- export declare enum AnonymizationMode {
2330
- /**
2331
- * Anonymization will not be performed.
2332
- *
2333
- */
2334
- None = "none",
2335
- /**
2336
- * Full document image is anonymized with black boxes covering sensitive data.
2337
- *
2338
- */
2339
- ImageOnly = "imageOnly",
2340
- /**
2341
- * Result fields containing sensitive data are removed from result.
2342
- *
2343
- */
2344
- ResultFieldsOnly = "resultFieldsOnly",
2345
- /**
2346
- * This mode is combination of `imageOnly` and `resultFieldsOnly` modes.
2347
- *
2348
- */
2349
- FullResult = "fullResult"
2350
- }
2165
+ export type RedactionMode =
2351
2166
  /**
2352
- * Represents possible recognition modes.
2167
+ * Anonymization will not be performed.
2353
2168
  *
2354
2169
  */
2355
- export declare const enum RecognitionMode {
2356
- /**
2357
- * No recognition performed.
2358
- *
2359
- */
2360
- None = "none",
2361
- /**
2362
- * Recognition of mrz document (does not include visa and passport).
2363
- *
2364
- */
2365
- MrzId = "mrzId",
2366
- /**
2367
- * Recognition of visa mrz.
2368
- *
2369
- */
2370
- MrzVisa = "mrzVisa",
2371
- /**
2372
- * Recognition of passport mrz.
2373
- *
2374
- */
2375
- MrzPassport = "mrzPassport",
2376
- PhotoId = "photoId",
2377
- /**
2378
- * Detailed document recognition.
2379
- *
2380
- */
2381
- FullRecognition = "fullRecognition",
2382
- /**
2383
- * Recognition of barcode document.
2384
- *
2385
- */
2386
- BarcodeId = "barcodeId"
2387
- }
2170
+ "none"
2388
2171
  /**
2389
- * Define document side where the document field is located.
2172
+ * Full document image is anonymized with black boxes covering sensitive data.
2390
2173
  *
2391
2174
  */
2392
- export declare enum DocumentSide {
2393
- /**
2394
- * The field is located on the front side of the document
2395
- *
2396
- */
2397
- Front = 0,
2398
- /**
2399
- * The field is located on the back side of the document
2400
- *
2401
- */
2402
- Back = 1
2403
- }
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";
2404
2186
  /**
2405
2187
  * Represents the type of scanned barcode
2406
2188
  *
2407
2189
  */
2408
- export declare enum BarcodeType {
2409
- /**
2410
- * No barcode was scanned
2411
- *
2412
- */
2413
- None = 0,
2414
- /**
2415
- * QR code was scanned
2416
- *
2417
- */
2418
- QrCode = 1,
2419
- /**
2420
- * Data Matrix 2D barcode was scanned
2421
- *
2422
- */
2423
- DataMatrix = 2,
2424
- /**
2425
- * UPC E barcode was scanned
2426
- *
2427
- */
2428
- Upce = 3,
2429
- /**
2430
- * UPC A barcode was scanned
2431
- *
2432
- */
2433
- Upca = 4,
2434
- /**
2435
- * EAN 8 barcode was scanned
2436
- *
2437
- */
2438
- Ean8 = 5,
2439
- /**
2440
- * EAN 13 barcode was scanned
2441
- *
2442
- */
2443
- Ean13 = 6,
2444
- /**
2445
- * Code 128 barcode was scanned
2446
- *
2447
- */
2448
- Code128 = 7,
2449
- /**
2450
- * Code 39 barcode was scanned
2451
- *
2452
- */
2453
- Code39 = 8,
2454
- /**
2455
- * ITF barcode was scanned
2456
- *
2457
- */
2458
- Itf = 9,
2459
- /**
2460
- * Aztec 2D barcode was scanned
2461
- *
2462
- */
2463
- Aztec = 10,
2464
- /**
2465
- * PDF417 2D barcode was scanned
2466
- *
2467
- */
2468
- Pdf417 = 11
2469
- }
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";
2470
2251
  /**
2471
2252
  * Represents the document type found on the Machine Readable Zone
2472
2253
  *
2473
2254
  */
2474
- export declare enum MRZDocumentType {
2475
- /**
2476
- * Document type was not identified.
2477
- *
2478
- */
2479
- Unknown = 0,
2480
- /**
2481
- * Identity card
2482
- *
2483
- */
2484
- IdentityCard = 1,
2485
- /**
2486
- * Passport
2487
- *
2488
- */
2489
- Passport = 2,
2490
- /**
2491
- * VISA
2492
- *
2493
- */
2494
- Visa = 3,
2495
- /**
2496
- * Green card
2497
- *
2498
- */
2499
- GreenCard = 4,
2500
- /**
2501
- * IIM13P Pass
2502
- *
2503
- */
2504
- MysPassIMM13P = 5,
2505
- /**
2506
- * Driver license
2507
- *
2508
- */
2509
- DriverLicense = 6,
2510
- /**
2511
- * Internal travel document
2512
- *
2513
- */
2514
- InternalTravelDocument = 7,
2515
- /**
2516
- * Border crossing card
2517
- *
2518
- */
2519
- BorderCrossingCard = 8
2520
- }
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";
2521
2301
  /**
2522
2302
  * Represents the side of the document being scanned.
2523
2303
  *
2524
2304
  */
2525
- declare enum ScanningSide {
2526
- /**
2527
- * The first side of the scanned document
2528
- *
2529
- */
2530
- First = 0,
2531
- /**
2532
- * The second side of the scanned document
2533
- *
2534
- */
2535
- Second = 1
2536
- }
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";
2537
2316
  /**
2538
2317
  * Represents the type of the field used in data match.
2539
2318
  *
2540
2319
  */
2541
- export declare enum DataMatchField {
2542
- /**
2543
- * The date of birth field.
2544
- *
2545
- */
2546
- DateOfBirth = 0,
2547
- /**
2548
- * The date of expiry field.
2549
- *
2550
- */
2551
- DateOfExpiry = 1,
2552
- /**
2553
- * The document number field.
2554
- *
2555
- */
2556
- DocumentNumber = 2,
2557
- /**
2558
- * The document additional number field.
2559
- *
2560
- */
2561
- DocumentAdditionalNumber = 3,
2562
- /**
2563
- * The document optional additional number field.
2564
- *
2565
- */
2566
- DocumentOptionalAdditionalNumber = 4,
2567
- /**
2568
- * The personal ID number field.
2569
- *
2570
- */
2571
- PersonalIdNumber = 5
2572
- }
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";
2573
2351
  /**
2574
2352
  * Represents the state of the data match.
2575
2353
  *
2576
2354
  */
2577
- export declare enum DataMatchState {
2578
- /**
2579
- * Data matching has not been performed.
2580
- *
2581
- */
2582
- NotPerformed = 0,
2583
- /**
2584
- * Data does not match.
2585
- *
2586
- */
2587
- Failed = 1,
2588
- /**
2589
- * Data does match.
2590
- *
2591
- */
2592
- Success = 2
2593
- }
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";
2594
2371
  /**
2595
2372
  * Document country.
2596
2373
  *
2597
2374
  */
2598
- export declare enum Country {
2599
- None = "none",
2600
- Albania = "albania",
2601
- Algeria = "algeria",
2602
- Argentina = "argentina",
2603
- Australia = "australia",
2604
- Austria = "austria",
2605
- Azerbaijan = "azerbaijan",
2606
- Bahrain = "bahrain",
2607
- Bangladesh = "bangladesh",
2608
- Belgium = "belgium",
2609
- BosniaAndHerzegovina = "bosniaAndHerzegovina",
2610
- Brunei = "brunei",
2611
- Bulgaria = "bulgaria",
2612
- Bambodia = "bambodia",
2613
- Canada = "canada",
2614
- Chile = "chile",
2615
- Colombia = "colombia",
2616
- CostaRica = "costaRica",
2617
- Croatia = "croatia",
2618
- Cyprus = "cyprus",
2619
- Czechia = "czechia",
2620
- Denmark = "denmark",
2621
- DominicanRepublic = "dominicanRepublic",
2622
- Egypt = "egypt",
2623
- Estonia = "estonia",
2624
- Finland = "finland",
2625
- France = "france",
2626
- Georgia = "georgia",
2627
- Germany = "germany",
2628
- Ghana = "ghana",
2629
- Greece = "greece",
2630
- Guatemala = "guatemala",
2631
- HongKong = "hongKong",
2632
- Hungary = "hungary",
2633
- India = "india",
2634
- Indonesia = "indonesia",
2635
- Ireland = "ireland",
2636
- Israel = "israel",
2637
- Italy = "italy",
2638
- Jordan = "jordan",
2639
- Kazakhstan = "kazakhstan",
2640
- Kenya = "kenya",
2641
- Kosovo = "kosovo",
2642
- Kuwait = "kuwait",
2643
- Latvia = "latvia",
2644
- Lithuania = "lithuania",
2645
- Malaysia = "malaysia",
2646
- Maldives = "maldives",
2647
- Malta = "malta",
2648
- Mauritius = "mauritius",
2649
- Mexico = "mexico",
2650
- Morocco = "morocco",
2651
- Netherlands = "netherlands",
2652
- NewZealand = "newZealand",
2653
- Nigeria = "nigeria",
2654
- Pakistan = "pakistan",
2655
- Panama = "panama",
2656
- Paraguay = "paraguay",
2657
- Philippines = "philippines",
2658
- Poland = "poland",
2659
- Portugal = "portugal",
2660
- PuertoRico = "puertoRico",
2661
- Qatar = "qatar",
2662
- Romania = "romania",
2663
- Russia = "russia",
2664
- SaudiArabia = "saudiArabia",
2665
- Serbia = "serbia",
2666
- Singapore = "singapore",
2667
- Slovakia = "slovakia",
2668
- Slovenia = "slovenia",
2669
- SouthAfrica = "southAfrica",
2670
- Spain = "spain",
2671
- Sweden = "sweden",
2672
- Switzerland = "switzerland",
2673
- Taiwan = "taiwan",
2674
- Thailand = "thailand",
2675
- Tunisia = "tunisia",
2676
- Turkey = "turkey",
2677
- UAE = "uae",
2678
- Ganda = "gganda",
2679
- UK = "uk",
2680
- Ukraine = "ukraine",
2681
- USA = "usa",
2682
- Vietnam = "vietnam",
2683
- Brazil = "brazil",
2684
- Norway = "norway",
2685
- Oman = "oman",
2686
- Ecuador = "ecuador",
2687
- ElSalvador = "elSalvador",
2688
- SriLanka = "sriLanka",
2689
- Peru = "peru",
2690
- Uruguay = "uruguay",
2691
- Bahamas = "bahamas",
2692
- Bermuda = "bermuda",
2693
- Bolivia = "bolivia",
2694
- China = "china",
2695
- EuropeanUnion = "europeanUnion",
2696
- Haiti = "haiti",
2697
- Honduras = "honduras",
2698
- Iceland = "iceland",
2699
- Japan = "japan",
2700
- Luxembourg = "luxembourg",
2701
- Montenegro = "montenegro",
2702
- Nicaragua = "nicaragua",
2703
- SouthKorea = "southKorea",
2704
- Venezuela = "venezuela",
2705
- Afghanistan = "afghanistan",
2706
- AlandIslands = "alandIslands",
2707
- AmericanSamoa = "americanSamoa",
2708
- Andorra = "andorra",
2709
- Angola = "angola",
2710
- Anguilla = "anguilla",
2711
- Antartica = "antarctica",
2712
- AntiguaAndBarbuda = "antiguaAndBarbuda",
2713
- Armenia = "armenia",
2714
- Aruba = "aruba",
2715
- BailiwickOfGuernsey = "bailiwickOfGuernsey",
2716
- BailiwickOfJersey = "bailiwickOfJersey",
2717
- Barbados = "barbados",
2718
- Belarus = "belarus",
2719
- Belize = "belize",
2720
- Benin = "benin",
2721
- Bhutan = "bhutan",
2722
- BonaireSaintEustatiusAndSaba = "bonaireSaintEustatiusAndSaba",
2723
- Botswana = "botswana",
2724
- BouvetIsland = "bouvetIsland",
2725
- BritishIndianOceanTerritory = "britishIndianOceanTerritory",
2726
- BurkinaFaso = "burkinaFaso",
2727
- Burundi = "burundi",
2728
- Cameroon = "cameroon",
2729
- CapeVerde = "capeVerde",
2730
- CaribbeanNetherlands = "caribbeanNetherlands",
2731
- CaymanIslands = "caymanIslands",
2732
- CentralAfricanRepublic = "centralAfricanRepublic",
2733
- Chad = "chad",
2734
- ChristmasIsland = "christmasIsland",
2735
- CocosIslands = "cocosIslands",
2736
- Comoros = "comoros",
2737
- Congo = "congo",
2738
- CookIslands = "cookIslands",
2739
- Cuba = "cuba",
2740
- Curacao = "curacao",
2741
- DemocraticRepublicOfTheCongo = "democraticRepublicOfTheCongo",
2742
- Djibouti = "djibouti",
2743
- Dominica = "dominica",
2744
- EastTimor = "eastTimor",
2745
- EquatorialGuinea = "equatorialGuinea",
2746
- Eritrea = "eritrea",
2747
- Ethiopia = "ethiopia",
2748
- FalklandIslands = "falklandIslands",
2749
- FaroeIslands = "faroeIslands",
2750
- FederatedStatesOfMicronesia = "federatedStatesOfMicronesia",
2751
- Fiji = "fiji",
2752
- FrenchGuiana = "frenchGuiana",
2753
- FrenchPolynesia = "frenchPolynesia",
2754
- FrenchSouthernTerritories = "frenchSouthernTerritories",
2755
- Gabon = "gabon",
2756
- Gambia = "gambia",
2757
- Gibraltar = "gibraltar",
2758
- Greenland = "greenland",
2759
- Grenada = "grenada",
2760
- Guadeloupe = "guadeloupe",
2761
- Guam = "guam",
2762
- Guinea = "guinea",
2763
- GuineaBissau = "guineaBissau",
2764
- Guyana = "guyana",
2765
- HeardIslandAndMcdonaldIslands = "heardIslandAndMcdonaldIslands",
2766
- Iran = "iran",
2767
- Iraq = "iraq",
2768
- IsleOfMan = "isleOfMan",
2769
- IvoryCoast = "ivoryCoast",
2770
- Jamaica = "jamaica",
2771
- Kiribati = "kiribati",
2772
- Kyrgyzstan = "kyrgyzstan",
2773
- Laos = "laos",
2774
- Lebanon = "lebanon",
2775
- Lesotho = "lesotho",
2776
- Liberia = "liberia",
2777
- Libya = "libya",
2778
- Liechtenstein = "liechtenstein",
2779
- Macau = "macau",
2780
- Madagascar = "madagascar",
2781
- Malawi = "malawi",
2782
- Mali = "mali",
2783
- MarshallIslands = "marshallIslands",
2784
- Martinique = "martinique",
2785
- Mauritania = "mauritania",
2786
- Mayotte = "mayotte",
2787
- Moldova = "moldova",
2788
- Monaco = "monaco",
2789
- Mongolia = "mongolia",
2790
- Montserrat = "montserrat",
2791
- Mozambique = "mozambique",
2792
- Myanmar = "myanmar",
2793
- Namibia = "namibia",
2794
- Nauru = "nauru",
2795
- Nepal = "nepal",
2796
- NewCaledonia = "newCaledonia",
2797
- Niger = "niger",
2798
- Niue = "niue",
2799
- NorfolkIsland = "norfolkIsland",
2800
- NorthernCyprus = "northernCyprus",
2801
- NorthernMarianaIslands = "northernMarianaIslands",
2802
- NorthKorea = "northKorea",
2803
- NorthMacedonia = "northMacedonia",
2804
- Palau = "palau",
2805
- Palestine = "palestine",
2806
- PapuaNewGuinea = "papuaNewGuinea",
2807
- Pitcairn = "pitcairn",
2808
- Reunion = "reunion",
2809
- Rwanda = "rwanda",
2810
- SaintBarthelemy = "saintBarthelemy",
2811
- SaintHelenaAscensionAndTristianDaCunha = "saintHelenaAscensionAndTristianDaCunha",
2812
- SaintKittsAndNevis = "saintKittsAndNevis",
2813
- SaintLucia = "saintLucia",
2814
- SaintMartin = "saintMartin",
2815
- SaintPierreAndMiquelon = "saintPierreAndMiquelon",
2816
- SaintVincentAndTheGrenadines = "saintVincentAndTheGrenadines",
2817
- Samoa = "samoa",
2818
- SanMarino = "sanMarino",
2819
- SaoTomeAndPrincipe = "saoTomeAndPrincipe",
2820
- Senegal = "senegal",
2821
- Seychelles = "seychelles",
2822
- SierraLeone = "sierraLeone",
2823
- SintMaarten = "sintMaarten",
2824
- SolomonIslands = "solomonIslands",
2825
- Somalia = "somalia",
2826
- SouthGeorgiaAndTheSouthSandwichIslands = "southGeorgiaAndTheSouthSandwichIslands",
2827
- SouthSudan = "southSudan",
2828
- Sudan = "sudan",
2829
- Suriname = "suriname",
2830
- SvalbardAndJanMayen = "svalbardAndJanMayen",
2831
- Eswatini = "eswatini",
2832
- Syria = "syria",
2833
- Tajikistan = "tajikistan",
2834
- Tanzania = "tanzania",
2835
- Togo = "togo",
2836
- Tokelau = "tokelau",
2837
- Tonga = "tonga",
2838
- TrinidadAndTobago = "trinidadAndTobago",
2839
- Turkmenistan = "turkmenistan",
2840
- TurksAndCaicosIslands = "turksAndCaicosIslands",
2841
- Tuvalu = "tuvalu",
2842
- UnitedStatesMinorOutlyingIslands = "unitedStatesMinorOutlyingIslands",
2843
- Uzbekistan = "uzbekistan",
2844
- Vanuatu = "vanuatu",
2845
- VaticanCity = "vaticanCity",
2846
- VirginIslandsBritish = "virginIslandsBritish",
2847
- VirginIslandsUs = "virginIslandsUs",
2848
- WallisAndFutuna = "wallisAndFutuna",
2849
- WesternSahara = "westernSahara",
2850
- Yemen = "yemen",
2851
- Yugoslavia = "yugoslavia",
2852
- Zambia = "zambia",
2853
- Zimbabwe = "zimbabwe",
2854
- SchengenArea = "schengenArea",
2855
- SaintThomasAndPrince = "saintThomasAndPrince"
2856
- }
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];
2857
2635
  /**
2858
2636
  * Document region.
2859
2637
  */
2860
- export declare enum Region {
2861
- None = "none",
2862
- Alabama = "alabama",
2863
- Alaska = "alaska",
2864
- Alberta = "alberta",
2865
- Arizona = "arizona",
2866
- Arkansas = "arkansas",
2867
- AustralianCapitalTerritory = "australianCapitalTerritory",
2868
- BritishColumbia = "britishColumbia",
2869
- California = "california",
2870
- Colorado = "colorado",
2871
- Connecticut = "connecticut",
2872
- Delaware = "delaware",
2873
- DistrictOfColumbia = "districtOfColumbia",
2874
- Florida = "florida",
2875
- Georgia = "georgia",
2876
- Hawaii = "hawaii",
2877
- Idaho = "idaho",
2878
- Illinois = "illinois",
2879
- Indiana = "indiana",
2880
- Iowa = "iowa",
2881
- Kansas = "kansas",
2882
- Kentucky = "kentucky",
2883
- Louisiana = "louisiana",
2884
- Maine = "maine",
2885
- Manitoba = "manitoba",
2886
- Maryland = "maryland",
2887
- Massachusetts = "massachusetts",
2888
- Michigan = "michigan",
2889
- Minnesota = "minnesota",
2890
- Mississippi = "mississippi",
2891
- Missouri = "missouri",
2892
- Montana = "montana",
2893
- Nebraska = "nebraska",
2894
- Nevada = "nevada",
2895
- NewBrunswick = "newBrunswick",
2896
- NewHampshire = "newHampshire",
2897
- NewJersey = "newJersey",
2898
- NewMexico = "newMexico",
2899
- NewSouthWales = "newSouthWales",
2900
- NewYork = "newYork",
2901
- NorthernTerritory = "northernTerritory",
2902
- NorthCarolina = "northCarolina",
2903
- NorthDakota = "northDakota",
2904
- NovaScotia = "novaScotia",
2905
- Ohio = "ohio",
2906
- Oklahoma = "oklahoma",
2907
- Ontario = "ontario",
2908
- Oregon = "oregon",
2909
- Pennsylvania = "pennsylvania",
2910
- Quebec = "quebec",
2911
- Queensland = "queensland",
2912
- RhodeIsland = "rhodeIsland",
2913
- Saskatchewan = "saskatchewan",
2914
- SouthAustralia = "southAustralia",
2915
- SouthCarolina = "southCarolina",
2916
- SouthDakota = "southDakota",
2917
- Tasmania = "tasmania",
2918
- Tennessee = "tennessee",
2919
- Texas = "texas",
2920
- Utah = "utah",
2921
- Vermont = "vermont",
2922
- Victoria = "victoria",
2923
- Virginia = "virginia",
2924
- Washington = "washington",
2925
- WesternAustralia = "westernAustralia",
2926
- WestVirginia = "westVirginia",
2927
- Wisconsin = "wisconsin",
2928
- Wyoming = "wyoming",
2929
- Yukon = "yukon",
2930
- CiudadDeMexico = "ciudadDeMexico",
2931
- Jalisco = "jalisco",
2932
- NewfoundlandAndLabrador = "newfoundlandAndLabrador",
2933
- NuevoLeon = "nuevoLeon",
2934
- BajaCalifornia = "bajaCalifornia",
2935
- Chihuahua = "chihuahua",
2936
- Guanajuato = "guanajuato",
2937
- Guerrero = "guerrero",
2938
- Mexico = "mexico",
2939
- Michoacan = "michoacan",
2940
- NewYorkCity = "newYorkCity",
2941
- Tamaulipas = "tamaulipas",
2942
- Veracruz = "veracruz",
2943
- Chiapas = "chiapas",
2944
- Coahuila = "coahuila",
2945
- Durago = "durango",
2946
- GuerreroCocula = "guerreroCocula",
2947
- GuerreroJuchitan = "guerreroJuchitan",
2948
- GuerreroTepecoacuilco = "guerreroTepecoacuilco",
2949
- GuerreroTlacoapa = "guerreroTlacoapa",
2950
- Gujarat = "gujarat",
2951
- Hidalgo = "hidalgo",
2952
- Karnataka = "karnataka",
2953
- Kerala = "kerala",
2954
- KhyberPakhtunkhwa = "khyberPakhtunkhwa",
2955
- MadhyaPradesh = "madhyaPradesh",
2956
- Maharashtra = "maharashtra",
2957
- Morelos = "morelos",
2958
- Nayarit = "nayarit",
2959
- Oaxaca = "oaxaca",
2960
- Puebla = "puebla",
2961
- Punjab = "punjab",
2962
- Queretaro = "queretaro",
2963
- SanLuisPotosi = "sanLuisPotosi",
2964
- Sinaloa = "sinaloa",
2965
- Sonora = "sonora",
2966
- Tabasco = "tabasco",
2967
- TamilNadu = "tamilNadu",
2968
- Yucatan = "yucatan",
2969
- Zacatecas = "zacatecas",
2970
- Aguascalientes = "aguascalientes",
2971
- BajaCaliforniaSur = "bajaCaliforniaSur",
2972
- Campeche = "campeche",
2973
- Colima = "colima",
2974
- QuintanaRooBenitoJuarez = "quintanaRooBenitoJuarez",
2975
- QuintanaRoo = "quintanaRoo",
2976
- QuintanaRooSolidaridad = "quintanaRooSolidaridad",
2977
- Tlaxcala = "tlaxcala",
2978
- QuintanaRooCozumel = "quintanaRooCozumel",
2979
- SanPaolo = "saoPaolo",
2980
- RioDeJaniero = "rioDeJaneiro",
2981
- RioGrandeDoSul = "rioGrandeDoSul",
2982
- NorthWestTerritories = "northWestTerritories",
2983
- Nunavut = "nunavut",
2984
- PrinceEdwardIsland = "princeEdwardIsland",
2985
- DistritoFederal = "distritoFederal",
2986
- Maranhao = "maranhao",
2987
- MatoGrosso = "matoGrosso",
2988
- MinasGerais = "minasGerais",
2989
- Para = "para",
2990
- Parana = "parana",
2991
- Pernambuco = "pernambuco",
2992
- SantaCatarina = "santaCatarina",
2993
- AndhraPradesh = "andhraPradesh",
2994
- Ceara = "ceara",
2995
- Goias = "goias",
2996
- GuerreroAcapulcoDeJuarez = "guerreroAcapulcoDeJuarez",
2997
- Haryana = "haryana",
2998
- Sergipe = "sergipe",
2999
- Alagos = "alagos",
3000
- Bangsamoro = "bangsamoro",
3001
- Telangana = "telangana",
3002
- Acre = "acre",
3003
- EspiritoSanto = "espiritoSanto",
3004
- MatoGrossoDoSul = "matoGrossoDoSul",
3005
- Paraiba = "paraiba",
3006
- Piaui = "piaui",
3007
- RioGrandeDoNorte = "rioGrandeDoNorte",
3008
- Tocantins = "tocantins",
3009
- Odisha = "odisha",
3010
- Uttarakhand = "uttarakhand"
3011
- }
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];
3012
2791
  /**
3013
2792
  * Document type.
3014
2793
  *
3015
2794
  */
3016
- export declare enum DocumentType {
3017
- None = "none",
3018
- ConsularId = "consularId",
3019
- Dl = "dl",
3020
- DlPublicServicesCard = "dlPublicServicesCard",
3021
- EmploymentPass = "employmentPass",
3022
- FinCard = "finCard",
3023
- Id = "id",
3024
- MultipurposeId = "multipurposeId",
3025
- MyKad = "myKad",
3026
- MyKid = "myKid",
3027
- MyPr = "myPR",
3028
- MyTentera = "myTentera",
3029
- PanCard = "panCard",
3030
- ProfessionalId = "professionalId",
3031
- PublicServicesCard = "publicServicesCard",
3032
- ResidencePermit = "residencePermit",
3033
- ResidentId = "residentId",
3034
- TemporaryResidencePermit = "temporaryResidencePermit",
3035
- VoterId = "voterId",
3036
- WorkPermit = "workPermit",
3037
- IKad = "iKad",
3038
- MilitaryId = "militaryId",
3039
- MyKas = "myKas",
3040
- DocialSecurityCard = "docialSecurityCard",
3041
- HealthInsuranceCard = "healthInsuranceCard",
3042
- Passport = "passport",
3043
- SPass = "sPass",
3044
- AddressCard = "addressCard",
3045
- AlienId = "alienId",
3046
- AlienPassport = "alienPassport",
3047
- GreenCard = "greenCard",
3048
- MinorsId = "minorsId",
3049
- PostalId = "postalId",
3050
- ProfessionalDl = "professionalDl",
3051
- TaxId = "taxId",
3052
- WeaponPermit = "weaponPermit",
3053
- Visa = "visa",
3054
- BorderCrossingCard = "borderCrossingCard",
3055
- DriverCard = "driverCard",
3056
- GlobalEntryCard = "globalEntryCard",
3057
- MyPolis = "mypolis",
3058
- NexusCard = "nexusCard",
3059
- PassportCard = "passportCard",
3060
- ProofOfAgeCard = "proofOfAgeCard",
3061
- RefugeeId = "refugeeId",
3062
- TribalId = "tribalId",
3063
- VeteranId = "veteranId",
3064
- CitizenshipCertificate = "citizenshipCertificate",
3065
- MyNumberCard = "myNumberCard",
3066
- ConsularPassport = "consularPassport",
3067
- MinorsPassport = "minorsPassport",
3068
- MinorsPublicServicesCard = "minorsPublicServicesCard",
3069
- DrivingPriviligeCard = "drivingPriviligeCard",
3070
- AsylumRequest = "asylumRequest",
3071
- DriverQualificationCard = "driverQualificationCard",
3072
- ProvisionalDl = "provisionalDl",
3073
- RefugeePassport = "refugeePassport",
3074
- SpecialId = "specialId",
3075
- UniformedServicesId = "uniformedServicesId",
3076
- ImmigrantVisa = "immigrantVisa",
3077
- ConsularVoterId = "consularVoterId",
3078
- TwicCard = "twicCard",
3079
- ExitEntryPermit = "exitEntryPermit",
3080
- MainlandTravelPermitTaiwan = "mainlandTravelPermitTaiwan",
3081
- NbiClearance = "nbiClearance",
3082
- ProofOfRegistration = "proofOfRegistration",
3083
- TemporaryProtectionPermit = "temporaryProtectionPermit",
3084
- AfghanCitizenCard = "afghanCitizenCard",
3085
- EId = "eId",
3086
- Pass = "pass",
3087
- SisId = "sisId",
3088
- AsicCard = "asicCard",
3089
- BidoonCard = "bidoonCard",
3090
- InterimHealthInsuranceCard = "interimHealthInsuranceCard",
3091
- NonVoterId = "nonVoterId",
3092
- ReciprocalHealthInsuranceCard = "reciprocalHealthInsuranceCard",
3093
- VehicleRegistration = "vehicleRegistration",
3094
- EsaadCard = "esaadCard",
3095
- RegistrationCertificate = "registrationCertificate",
3096
- MedicalMarijuanaId = "medicalMarijuanaId",
3097
- NonCardTribalId = "nonCardTribalId",
3098
- DiplomaticId = "diplomaticId",
3099
- EmergencyPassport = "emergencyPassport",
3100
- TemporaryPassport = "temporaryPassport",
3101
- MetisFederationCard = "metisFederationCard",
3102
- SocialSecurityCard = "socialSecurityCard",
3103
- AdrCertificate = "adrCertificate",
3104
- NinCard = "ninCard",
3105
- MysssCard = "mysssCard",
3106
- GendarmerieId = "gendarmerieId",
3107
- PoliceId = "policeId"
3108
- }
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];
3109
2890
  /**
3110
2891
  * Represents all possible field types that can be extracted from the document.
3111
2892
  *
3112
2893
  */
3113
- export declare enum FieldType {
3114
- AdditionalAddressInformation = "additionalAddressInformation",
3115
- AdditionalNameInformation = "additionalNameInformation",
3116
- AdditionalOptionalAddressInformation = "additionalOptionalAddressInformation",
3117
- AdditionalPersonalIdNumber = "additionalPersonalIdNumber",
3118
- Address = "address",
3119
- ClassEffectiveDate = "classEffectiveDate",
3120
- ClassExpiryDate = "classExpiryDate",
3121
- Conditions = "conditions",
3122
- DateOfBirth = "dateOfBirth",
3123
- DateOfExpiry = "dateOfExpiry",
3124
- DateOfIssue = "dateOfIssue",
3125
- DocumentAdditionalNumber = "documentAdditionalNumber",
3126
- DocumentOptionalAdditionalNumber = "documentOptionalAdditionalNumber",
3127
- DocumentNumber = "documentNumber",
3128
- Employer = "employer",
3129
- Endorsements = "endorsements",
3130
- FathersName = "fathersName",
3131
- FirstName = "firstName",
3132
- FullName = "fullName",
3133
- IssuingAuthority = "issuingAuthority",
3134
- LastName = "lastName",
3135
- LicenseType = "licenceType",
3136
- LocalizedName = "localizedName",
3137
- MaritalStatus = "maritalStatus",
3138
- MothersName = "mothersName",
3139
- Mrz = "mrz",
3140
- Nationality = "nationality",
3141
- PersonalIdNumber = "personalIdNumber",
3142
- PlaceOfBirth = "placeOfBirth",
3143
- Profession = "profession",
3144
- Race = "race",
3145
- Religion = "religion",
3146
- ResidentialStatus = "residentialStatus",
3147
- Restriction = "restrictions",
3148
- Sex = "sex",
3149
- VehicleClass = "vehicleClass",
3150
- BloodType = "bloodType",
3151
- Sponsor = "sponsor",
3152
- VisaType = "visaType",
3153
- DocumentSubtype = "documentSubtype",
3154
- Remarks = "remarks",
3155
- ResidencePermitType = "residencePermitType",
3156
- ManufacturingYear = "manufacturingYear",
3157
- VehicleType = "vehicleType",
3158
- DependentDateOfBirth = "dependentDateOfBirth",
3159
- DependentSex = "dependentSex",
3160
- DependentDocumentNumber = "dependentDocumentNumber",
3161
- DependentFullName = "dependentFullName",
3162
- EligibilityCategory = "eligibilityCategory",
3163
- SpecificDocumentValidity = "specificDocumentValidity",
3164
- VehicleOwner = "vehicleOwner",
3165
- nationalInsuranceNumber = "nationalInsuranceNumber",
3166
- CountryCode = "countryCode",
3167
- CertificateNumber = "certificateNumber",
3168
- MunicipalityOfRegistration = "municipalityOfRegistration",
3169
- LocalityCode = "localityCode",
3170
- MaidenName = "maidenName",
3171
- StateCode = "stateCode",
3172
- DateOfEntry = "dateOfEntry",
3173
- MunicipalityCode = "municipalityCode",
3174
- PollingStationCode = "pollingStationCode",
3175
- SectionCode = "sectionCode",
3176
- RegistrationCenterCode = "registrationCenterCode",
3177
- StateName = "stateName",
3178
- EffectiveDate = "effectiveDate",
3179
- ParentsLastName = "parentsLastName",
3180
- ParentsLastName2 = "parentsLastName2",
3181
- ParentsFirstName = "parentsFirstName",
3182
- ParentsFirstName2 = "parentsFirstName2",
3183
- WorkRestriction = "workRestriction",
3184
- SocialSecurityStatus = "socialSecurityStatus",
3185
- LegalStatus = "legalStatus",
3186
- HusbandName = "husbandName",
3187
- ChinPermanentExpiry = "chinPermanentExpiry"
3188
- }
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];
3189
2969
  /** An enum indicating preffered camera position for document capturing. */
3190
- export declare enum PreferredCamera {
3191
- /**
3192
- * Use the back-facing camera
3193
- *
3194
- * This is the default value
3195
- */
3196
- Back = "back",
3197
- /**
3198
- * Use the front-facing camera
3199
- *
3200
- */
3201
- Front = "front"
3202
- }
3203
- 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";
3204
2982
  //# sourceMappingURL=types.d.ts.map