react-native-scanbot-barcode-scanner-sdk 7.1.2-rc.2 → 8.0.0-rc.1

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 (682) hide show
  1. package/LICENSE +1 -1
  2. package/Libraries.txt +437 -17
  3. package/README.md +32 -34
  4. package/RNScanbotBarcodeSDK.podspec +3 -2
  5. package/android/gradle.properties +3 -3
  6. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkModule.kt +117 -69
  7. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkPluginResultDelegate.kt +3 -2
  8. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/ScanbotBarcodeScannerView.kt +76 -50
  9. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/ScanbotBarcodeScannerViewEvents.kt +24 -1
  10. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/ScanbotBarcodeScannerViewManager.kt +66 -55
  11. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/models/ScanbotBarcodeScannerModels.kt +1 -1
  12. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/extensions/Extensions.kt +19 -0
  13. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerLegacyView.h +8 -7
  14. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerLegacyView.m +92 -221
  15. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerView.h +12 -8
  16. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerView.mm +147 -317
  17. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewController+Utils.swift +74 -0
  18. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewController.swift +429 -0
  19. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewManager.mm +17 -23
  20. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewOperators.h +95 -0
  21. package/ios/ScanbotBarcodeSdk.m +58 -76
  22. package/ios/ScanbotBarcodeSdkPluginResultDelegate.m +2 -6
  23. package/lib/commonjs/Barcode.js +51 -0
  24. package/lib/commonjs/Barcode.js.map +1 -0
  25. package/lib/commonjs/ImageProcessor.js +24 -0
  26. package/lib/commonjs/ImageProcessor.js.map +1 -0
  27. package/lib/commonjs/Sdk.js +57 -0
  28. package/lib/commonjs/Sdk.js.map +1 -0
  29. package/lib/commonjs/{component → components}/barcode-camera-view/ScanbotBarcodeCameraView.js +14 -9
  30. package/lib/commonjs/components/barcode-camera-view/ScanbotBarcodeCameraView.js.map +1 -0
  31. package/lib/commonjs/components/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js.map +1 -0
  32. package/lib/commonjs/components/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js.map +1 -0
  33. package/lib/commonjs/{component/barcode-camera-view → components}/index.js +3 -3
  34. package/lib/commonjs/components/index.js.map +1 -0
  35. package/lib/commonjs/components/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +1 -0
  36. package/lib/commonjs/impl/BarcodeScannerImpl.js +59 -0
  37. package/lib/commonjs/impl/BarcodeScannerImpl.js.map +1 -0
  38. package/lib/commonjs/impl/ImageProcessorImpl.js +20 -0
  39. package/lib/commonjs/impl/ImageProcessorImpl.js.map +1 -0
  40. package/lib/commonjs/impl/SdkImpl.js +27 -0
  41. package/lib/commonjs/impl/SdkImpl.js.map +1 -0
  42. package/lib/commonjs/impl/index.js +39 -0
  43. package/lib/commonjs/impl/index.js.map +1 -0
  44. package/lib/commonjs/impl/scanbotBarcodeSDKModule.js +22 -0
  45. package/lib/commonjs/impl/scanbotBarcodeSDKModule.js.map +1 -0
  46. package/lib/commonjs/index.js +18 -162
  47. package/lib/commonjs/index.js.map +1 -1
  48. package/lib/commonjs/types/base/SdkConfiguration.js +106 -0
  49. package/lib/commonjs/types/base/SdkConfiguration.js.map +1 -0
  50. package/lib/commonjs/{base/barcodeSDKConfigurations.js → types/base/customTypes.js} +1 -1
  51. package/lib/commonjs/types/base/customTypes.js.map +1 -0
  52. package/lib/commonjs/types/base/errors.js +139 -0
  53. package/lib/commonjs/types/base/errors.js.map +1 -0
  54. package/lib/commonjs/types/base/index.js +50 -0
  55. package/lib/commonjs/types/base/index.js.map +1 -0
  56. package/lib/commonjs/types/base/utils.js +59 -0
  57. package/lib/commonjs/types/base/utils.js.map +1 -0
  58. package/lib/commonjs/{barcode → types/core/barcode}/BarcodeConfigurationTypes.js +244 -74
  59. package/lib/commonjs/types/core/barcode/BarcodeConfigurationTypes.js.map +1 -0
  60. package/lib/commonjs/{barcode → types/core/barcode}/BarcodeDocumentTypes.js +62 -10
  61. package/lib/commonjs/types/core/barcode/BarcodeDocumentTypes.js.map +1 -0
  62. package/lib/commonjs/{barcode → types/core/barcode}/BarcodeScannerTypes.js +39 -28
  63. package/lib/commonjs/types/core/barcode/BarcodeScannerTypes.js.map +1 -0
  64. package/lib/commonjs/{barcode → types/core/barcode}/BarcodeTypes.js +31 -12
  65. package/lib/commonjs/types/core/barcode/BarcodeTypes.js.map +1 -0
  66. package/lib/commonjs/types/core/barcode/index.js.map +1 -0
  67. package/lib/commonjs/types/core/camera/Camera.js +23 -0
  68. package/lib/commonjs/types/core/camera/Camera.js.map +1 -0
  69. package/lib/commonjs/types/core/camera/index.js +17 -0
  70. package/lib/commonjs/types/core/camera/index.js.map +1 -0
  71. package/lib/commonjs/types/core/common/CommonTypes.js +29 -0
  72. package/lib/commonjs/types/core/common/CommonTypes.js.map +1 -0
  73. package/lib/commonjs/{utils/json → types/core/common}/JsonSerializationTypes.js +2 -3
  74. package/lib/commonjs/types/core/common/JsonSerializationTypes.js.map +1 -0
  75. package/lib/commonjs/types/core/common/index.js +28 -0
  76. package/lib/commonjs/types/core/common/index.js.map +1 -0
  77. package/lib/commonjs/{documents → types/core/generic_document}/BarcodeDocumentModel.js +1131 -160
  78. package/lib/commonjs/types/core/generic_document/BarcodeDocumentModel.js.map +1 -0
  79. package/lib/commonjs/{documents → types/core/generic_document}/CommonFieldType.js +6 -3
  80. package/lib/commonjs/types/core/generic_document/CommonFieldType.js.map +1 -0
  81. package/lib/commonjs/{documents → types/core/generic_document}/GenericDocument.js +13 -18
  82. package/lib/commonjs/types/core/generic_document/GenericDocument.js.map +1 -0
  83. package/lib/commonjs/types/core/generic_document/index.js.map +1 -0
  84. package/lib/commonjs/{utils → types/core}/geometry/Geometry.js +4 -8
  85. package/lib/commonjs/types/core/geometry/Geometry.js.map +1 -0
  86. package/lib/commonjs/types/core/geometry/index.js +17 -0
  87. package/lib/commonjs/types/core/geometry/index.js.map +1 -0
  88. package/lib/commonjs/{imageRef → types/core/image}/ImageRefTypes.js +157 -69
  89. package/lib/commonjs/types/core/image/ImageRefTypes.js.map +1 -0
  90. package/lib/commonjs/types/core/image/ImageTypes.js +41 -0
  91. package/lib/commonjs/types/core/image/ImageTypes.js.map +1 -0
  92. package/lib/commonjs/{imageRef → types/core/image}/image.js +54 -50
  93. package/lib/commonjs/types/core/image/image.js.map +1 -0
  94. package/lib/commonjs/{imageRef → types/core/image}/index.js +0 -11
  95. package/lib/commonjs/types/core/image/index.js.map +1 -0
  96. package/lib/commonjs/types/core/index.js +105 -0
  97. package/lib/commonjs/types/core/index.js.map +1 -0
  98. package/lib/commonjs/types/core/licensing/LicensingTypes.js +239 -0
  99. package/lib/commonjs/types/core/licensing/LicensingTypes.js.map +1 -0
  100. package/lib/commonjs/types/core/licensing/index.js +17 -0
  101. package/lib/commonjs/types/core/licensing/index.js.map +1 -0
  102. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/ArTrackingOverlayConfiguration.js +8 -14
  103. package/lib/commonjs/types/core/ui_v2/barcode/ArTrackingOverlayConfiguration.js.map +1 -0
  104. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeInfoMapping.js +4 -8
  105. package/lib/commonjs/types/core/ui_v2/barcode/BarcodeInfoMapping.js.map +1 -0
  106. package/lib/commonjs/types/core/ui_v2/barcode/BarcodeItemMapper.js.map +1 -0
  107. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerScreenConfiguration.js +17 -19
  108. package/lib/commonjs/types/core/ui_v2/barcode/BarcodeScannerScreenConfiguration.js.map +1 -0
  109. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerUiResult.js +3 -6
  110. package/lib/commonjs/types/core/ui_v2/barcode/BarcodeScannerUiResult.js.map +1 -0
  111. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeTextLocalization.js +1 -3
  112. package/lib/commonjs/types/core/ui_v2/barcode/BarcodeTextLocalization.js.map +1 -0
  113. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeUseCase.js +6 -6
  114. package/lib/commonjs/types/core/ui_v2/barcode/BarcodeUseCase.js.map +1 -0
  115. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/FindAndPickScanningModeUseCase.js +6 -9
  116. package/lib/commonjs/types/core/ui_v2/barcode/FindAndPickScanningModeUseCase.js.map +1 -0
  117. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/MultipleScanningModeUseCase.js +11 -14
  118. package/lib/commonjs/types/core/ui_v2/barcode/MultipleScanningModeUseCase.js.map +1 -0
  119. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/SingleScanningModeUseCase.js +4 -6
  120. package/lib/commonjs/types/core/ui_v2/barcode/SingleScanningModeUseCase.js.map +1 -0
  121. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/ActionBarConfiguration.js +2 -4
  122. package/lib/commonjs/types/core/ui_v2/common/ActionBarConfiguration.js.map +1 -0
  123. package/lib/commonjs/types/core/ui_v2/common/BottomBarConfiguration.js +23 -0
  124. package/lib/commonjs/types/core/ui_v2/common/BottomBarConfiguration.js.map +1 -0
  125. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/CameraConfiguration.js +11 -3
  126. package/lib/commonjs/types/core/ui_v2/common/CameraConfiguration.js.map +1 -0
  127. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/CameraPermission.js +2 -4
  128. package/lib/commonjs/types/core/ui_v2/common/CameraPermission.js.map +1 -0
  129. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/Common.js +20 -35
  130. package/lib/commonjs/types/core/ui_v2/common/Common.js.map +1 -0
  131. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/NavigationBarConfiguration.js +1 -0
  132. package/lib/commonjs/types/core/ui_v2/common/NavigationBarConfiguration.js.map +1 -0
  133. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/ScanCompletionOverlay.js +2 -4
  134. package/lib/commonjs/types/core/ui_v2/common/ScanCompletionOverlay.js.map +1 -0
  135. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/ScanbotAlertDialog.js +2 -4
  136. package/lib/commonjs/types/core/ui_v2/common/ScanbotAlertDialog.js.map +1 -0
  137. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/TopBarConfiguration.js +4 -4
  138. package/lib/commonjs/types/core/ui_v2/common/TopBarConfiguration.js.map +1 -0
  139. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/UserGuidanceConfiguration.js +3 -6
  140. package/lib/commonjs/types/core/ui_v2/common/UserGuidanceConfiguration.js.map +1 -0
  141. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/ViewFinderConfiguration.js +14 -19
  142. package/lib/commonjs/types/core/ui_v2/common/ViewFinderConfiguration.js.map +1 -0
  143. package/lib/commonjs/{ui_v2 → types/core/ui_v2}/index.js +15 -15
  144. package/lib/commonjs/types/core/ui_v2/index.js.map +1 -0
  145. package/lib/commonjs/{imageRef → types/core/utils}/ObjectPoolTypes.js +2 -4
  146. package/lib/commonjs/types/core/utils/ObjectPoolTypes.js.map +1 -0
  147. package/lib/commonjs/types/core/utils/index.js +28 -0
  148. package/lib/commonjs/types/core/utils/index.js.map +1 -0
  149. package/lib/commonjs/types/core/utils/utils.js +10 -0
  150. package/lib/commonjs/types/core/utils/utils.js.map +1 -0
  151. package/lib/commonjs/types/index.js +28 -0
  152. package/lib/commonjs/types/index.js.map +1 -0
  153. package/lib/module/Barcode.js +45 -0
  154. package/lib/module/Barcode.js.map +1 -0
  155. package/lib/module/ImageProcessor.js +19 -0
  156. package/lib/module/ImageProcessor.js.map +1 -0
  157. package/lib/module/Sdk.js +51 -0
  158. package/lib/module/Sdk.js.map +1 -0
  159. package/lib/module/{component → components}/barcode-camera-view/ScanbotBarcodeCameraView.js +10 -4
  160. package/lib/module/components/barcode-camera-view/ScanbotBarcodeCameraView.js.map +1 -0
  161. package/lib/module/components/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js.map +1 -0
  162. package/lib/module/components/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js.map +1 -0
  163. package/lib/module/components/index.js +4 -0
  164. package/lib/module/components/index.js.map +1 -0
  165. package/lib/module/components/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +1 -0
  166. package/lib/module/impl/BarcodeScannerImpl.js +53 -0
  167. package/lib/module/impl/BarcodeScannerImpl.js.map +1 -0
  168. package/lib/module/impl/ImageProcessorImpl.js +15 -0
  169. package/lib/module/impl/ImageProcessorImpl.js.map +1 -0
  170. package/lib/module/impl/SdkImpl.js +22 -0
  171. package/lib/module/impl/SdkImpl.js.map +1 -0
  172. package/lib/module/impl/index.js +4 -0
  173. package/lib/module/impl/index.js.map +1 -0
  174. package/lib/module/impl/scanbotBarcodeSDKModule.js +16 -0
  175. package/lib/module/impl/scanbotBarcodeSDKModule.js.map +1 -0
  176. package/lib/module/index.js +5 -119
  177. package/lib/module/index.js.map +1 -1
  178. package/lib/module/types/base/SdkConfiguration.js +100 -0
  179. package/lib/module/types/base/SdkConfiguration.js.map +1 -0
  180. package/lib/module/types/base/customTypes.js +2 -0
  181. package/lib/module/types/base/customTypes.js.map +1 -0
  182. package/lib/module/types/base/errors.js +119 -0
  183. package/lib/module/types/base/errors.js.map +1 -0
  184. package/lib/module/types/base/index.js +5 -0
  185. package/lib/module/types/base/index.js.map +1 -0
  186. package/lib/module/types/base/utils.js +52 -0
  187. package/lib/module/types/base/utils.js.map +1 -0
  188. package/lib/module/{barcode → types/core/barcode}/BarcodeConfigurationTypes.js +244 -76
  189. package/lib/module/types/core/barcode/BarcodeConfigurationTypes.js.map +1 -0
  190. package/lib/module/{barcode → types/core/barcode}/BarcodeDocumentTypes.js +60 -9
  191. package/lib/module/types/core/barcode/BarcodeDocumentTypes.js.map +1 -0
  192. package/lib/module/{barcode → types/core/barcode}/BarcodeScannerTypes.js +39 -28
  193. package/lib/module/types/core/barcode/BarcodeScannerTypes.js.map +1 -0
  194. package/lib/module/{barcode → types/core/barcode}/BarcodeTypes.js +30 -11
  195. package/lib/module/types/core/barcode/BarcodeTypes.js.map +1 -0
  196. package/lib/module/types/core/barcode/index.js.map +1 -0
  197. package/lib/module/types/core/camera/Camera.js +17 -0
  198. package/lib/module/types/core/camera/Camera.js.map +1 -0
  199. package/lib/module/types/core/camera/index.js +2 -0
  200. package/lib/module/types/core/camera/index.js.map +1 -0
  201. package/lib/module/types/core/common/CommonTypes.js +23 -0
  202. package/lib/module/types/core/common/CommonTypes.js.map +1 -0
  203. package/lib/module/{utils/json → types/core/common}/JsonSerializationTypes.js +2 -4
  204. package/lib/module/types/core/common/JsonSerializationTypes.js.map +1 -0
  205. package/lib/module/types/core/common/index.js +3 -0
  206. package/lib/module/types/core/common/index.js.map +1 -0
  207. package/lib/module/{documents → types/core/generic_document}/BarcodeDocumentModel.js +1129 -159
  208. package/lib/module/types/core/generic_document/BarcodeDocumentModel.js.map +1 -0
  209. package/lib/module/{documents → types/core/generic_document}/CommonFieldType.js +6 -3
  210. package/lib/module/types/core/generic_document/CommonFieldType.js.map +1 -0
  211. package/lib/module/{documents → types/core/generic_document}/GenericDocument.js +13 -18
  212. package/lib/module/types/core/generic_document/GenericDocument.js.map +1 -0
  213. package/lib/module/types/core/generic_document/index.js.map +1 -0
  214. package/lib/module/{utils → types/core}/geometry/Geometry.js +4 -9
  215. package/lib/module/types/core/geometry/Geometry.js.map +1 -0
  216. package/lib/module/types/core/geometry/index.js +2 -0
  217. package/lib/module/types/core/geometry/index.js.map +1 -0
  218. package/lib/module/{imageRef → types/core/image}/ImageRefTypes.js +156 -68
  219. package/lib/module/types/core/image/ImageRefTypes.js.map +1 -0
  220. package/lib/module/types/core/image/ImageTypes.js +35 -0
  221. package/lib/module/types/core/image/ImageTypes.js.map +1 -0
  222. package/lib/module/{imageRef → types/core/image}/image.js +54 -49
  223. package/lib/module/types/core/image/image.js.map +1 -0
  224. package/lib/module/{imageRef → types/core/image}/index.js +0 -1
  225. package/lib/module/types/core/image/index.js.map +1 -0
  226. package/lib/module/types/core/index.js +10 -0
  227. package/lib/module/types/core/index.js.map +1 -0
  228. package/lib/module/types/core/licensing/LicensingTypes.js +233 -0
  229. package/lib/module/types/core/licensing/LicensingTypes.js.map +1 -0
  230. package/lib/module/types/core/licensing/index.js +2 -0
  231. package/lib/module/types/core/licensing/index.js.map +1 -0
  232. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/ArTrackingOverlayConfiguration.js +8 -14
  233. package/lib/module/types/core/ui_v2/barcode/ArTrackingOverlayConfiguration.js.map +1 -0
  234. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeInfoMapping.js +4 -9
  235. package/lib/module/types/core/ui_v2/barcode/BarcodeInfoMapping.js.map +1 -0
  236. package/lib/module/types/core/ui_v2/barcode/BarcodeItemMapper.js.map +1 -0
  237. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerScreenConfiguration.js +17 -19
  238. package/lib/module/types/core/ui_v2/barcode/BarcodeScannerScreenConfiguration.js.map +1 -0
  239. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerUiResult.js +3 -7
  240. package/lib/module/types/core/ui_v2/barcode/BarcodeScannerUiResult.js.map +1 -0
  241. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeTextLocalization.js +1 -4
  242. package/lib/module/types/core/ui_v2/barcode/BarcodeTextLocalization.js.map +1 -0
  243. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeUseCase.js +6 -6
  244. package/lib/module/types/core/ui_v2/barcode/BarcodeUseCase.js.map +1 -0
  245. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/FindAndPickScanningModeUseCase.js +6 -9
  246. package/lib/module/types/core/ui_v2/barcode/FindAndPickScanningModeUseCase.js.map +1 -0
  247. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/MultipleScanningModeUseCase.js +11 -14
  248. package/lib/module/types/core/ui_v2/barcode/MultipleScanningModeUseCase.js.map +1 -0
  249. package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/SingleScanningModeUseCase.js +4 -6
  250. package/lib/module/types/core/ui_v2/barcode/SingleScanningModeUseCase.js.map +1 -0
  251. package/lib/module/{ui_v2 → types/core/ui_v2}/common/ActionBarConfiguration.js +2 -4
  252. package/lib/module/types/core/ui_v2/common/ActionBarConfiguration.js.map +1 -0
  253. package/lib/module/types/core/ui_v2/common/BottomBarConfiguration.js +17 -0
  254. package/lib/module/types/core/ui_v2/common/BottomBarConfiguration.js.map +1 -0
  255. package/lib/module/{ui_v2 → types/core/ui_v2}/common/CameraConfiguration.js +11 -4
  256. package/lib/module/types/core/ui_v2/common/CameraConfiguration.js.map +1 -0
  257. package/lib/module/{ui_v2 → types/core/ui_v2}/common/CameraPermission.js +2 -5
  258. package/lib/module/types/core/ui_v2/common/CameraPermission.js.map +1 -0
  259. package/lib/module/{ui_v2 → types/core/ui_v2}/common/Common.js +20 -36
  260. package/lib/module/types/core/ui_v2/common/Common.js.map +1 -0
  261. package/lib/module/{ui_v2 → types/core/ui_v2}/common/NavigationBarConfiguration.js +1 -0
  262. package/lib/module/types/core/ui_v2/common/NavigationBarConfiguration.js.map +1 -0
  263. package/lib/module/{ui_v2 → types/core/ui_v2}/common/ScanCompletionOverlay.js +2 -4
  264. package/lib/module/types/core/ui_v2/common/ScanCompletionOverlay.js.map +1 -0
  265. package/lib/module/{ui_v2 → types/core/ui_v2}/common/ScanbotAlertDialog.js +2 -4
  266. package/lib/module/types/core/ui_v2/common/ScanbotAlertDialog.js.map +1 -0
  267. package/lib/module/{ui_v2 → types/core/ui_v2}/common/TopBarConfiguration.js +4 -4
  268. package/lib/module/types/core/ui_v2/common/TopBarConfiguration.js.map +1 -0
  269. package/lib/module/{ui_v2 → types/core/ui_v2}/common/UserGuidanceConfiguration.js +3 -6
  270. package/lib/module/types/core/ui_v2/common/UserGuidanceConfiguration.js.map +1 -0
  271. package/lib/module/{ui_v2 → types/core/ui_v2}/common/ViewFinderConfiguration.js +14 -19
  272. package/lib/module/types/core/ui_v2/common/ViewFinderConfiguration.js.map +1 -0
  273. package/lib/module/{ui_v2 → types/core/ui_v2}/index.js +2 -2
  274. package/lib/module/types/core/ui_v2/index.js.map +1 -0
  275. package/lib/module/{imageRef → types/core/utils}/ObjectPoolTypes.js +2 -5
  276. package/lib/module/types/core/utils/ObjectPoolTypes.js.map +1 -0
  277. package/lib/module/types/core/utils/index.js +3 -0
  278. package/lib/module/types/core/utils/index.js.map +1 -0
  279. package/lib/module/types/core/utils/utils.js +8 -0
  280. package/lib/module/types/core/utils/utils.js.map +1 -0
  281. package/lib/module/types/index.js +3 -0
  282. package/lib/module/types/index.js.map +1 -0
  283. package/lib/typescript/src/Barcode.d.ts +47 -0
  284. package/lib/typescript/src/Barcode.d.ts.map +1 -0
  285. package/lib/typescript/src/ImageProcessor.d.ts +12 -0
  286. package/lib/typescript/src/ImageProcessor.d.ts.map +1 -0
  287. package/lib/typescript/src/Sdk.d.ts +58 -0
  288. package/lib/typescript/src/Sdk.d.ts.map +1 -0
  289. package/lib/typescript/src/components/barcode-camera-view/ScanbotBarcodeCameraView.d.ts.map +1 -0
  290. package/lib/typescript/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewProperties.d.ts +17 -12
  291. package/lib/typescript/src/components/barcode-camera-view/ScanbotBarcodeCameraViewProperties.d.ts.map +1 -0
  292. package/lib/typescript/src/components/barcode-camera-view/ScanbotBarcodeCameraViewTypes.d.ts.map +1 -0
  293. package/lib/typescript/src/components/index.d.ts +4 -0
  294. package/lib/typescript/src/components/index.d.ts.map +1 -0
  295. package/lib/typescript/src/{component → components}/spec/ScanbotBarcodeScannerViewNativeComponent.d.ts +6 -0
  296. package/lib/typescript/src/components/spec/ScanbotBarcodeScannerViewNativeComponent.d.ts.map +1 -0
  297. package/lib/typescript/src/impl/BarcodeScannerImpl.d.ts +2 -0
  298. package/lib/typescript/src/impl/BarcodeScannerImpl.d.ts.map +1 -0
  299. package/lib/typescript/src/impl/ImageProcessorImpl.d.ts +2 -0
  300. package/lib/typescript/src/impl/ImageProcessorImpl.d.ts.map +1 -0
  301. package/lib/typescript/src/impl/SdkImpl.d.ts +2 -0
  302. package/lib/typescript/src/impl/SdkImpl.d.ts.map +1 -0
  303. package/lib/typescript/src/impl/index.d.ts +4 -0
  304. package/lib/typescript/src/impl/index.d.ts.map +1 -0
  305. package/lib/typescript/src/impl/scanbotBarcodeSDKModule.d.ts +2 -0
  306. package/lib/typescript/src/impl/scanbotBarcodeSDKModule.d.ts.map +1 -0
  307. package/lib/typescript/src/index.d.ts +5 -66
  308. package/lib/typescript/src/index.d.ts.map +1 -1
  309. package/lib/typescript/src/types/base/SdkConfiguration.d.ts +74 -0
  310. package/lib/typescript/src/types/base/SdkConfiguration.d.ts.map +1 -0
  311. package/lib/typescript/src/types/base/customTypes.d.ts +15 -0
  312. package/lib/typescript/src/types/base/customTypes.d.ts.map +1 -0
  313. package/lib/typescript/src/types/base/errors.d.ts +55 -0
  314. package/lib/typescript/src/types/base/errors.d.ts.map +1 -0
  315. package/lib/typescript/src/types/base/index.d.ts +5 -0
  316. package/lib/typescript/src/types/base/index.d.ts.map +1 -0
  317. package/lib/typescript/src/types/base/utils.d.ts +3 -0
  318. package/lib/typescript/src/types/base/utils.d.ts.map +1 -0
  319. package/lib/typescript/src/{barcode → types/core/barcode}/BarcodeConfigurationTypes.d.ts +203 -36
  320. package/lib/typescript/src/types/core/barcode/BarcodeConfigurationTypes.d.ts.map +1 -0
  321. package/lib/typescript/src/types/core/barcode/BarcodeDocumentTypes.d.ts +117 -0
  322. package/lib/typescript/src/types/core/barcode/BarcodeDocumentTypes.d.ts.map +1 -0
  323. package/lib/typescript/src/{barcode → types/core/barcode}/BarcodeScannerTypes.d.ts +68 -21
  324. package/lib/typescript/src/types/core/barcode/BarcodeScannerTypes.d.ts.map +1 -0
  325. package/lib/typescript/src/{barcode → types/core/barcode}/BarcodeTypes.d.ts +390 -13
  326. package/lib/typescript/src/types/core/barcode/BarcodeTypes.d.ts.map +1 -0
  327. package/lib/typescript/src/types/core/barcode/index.d.ts.map +1 -0
  328. package/lib/typescript/src/types/core/camera/Camera.d.ts +26 -0
  329. package/lib/typescript/src/types/core/camera/Camera.d.ts.map +1 -0
  330. package/lib/typescript/src/types/core/camera/index.d.ts +2 -0
  331. package/lib/typescript/src/types/core/camera/index.d.ts.map +1 -0
  332. package/lib/typescript/src/types/core/common/CommonTypes.d.ts +36 -0
  333. package/lib/typescript/src/types/core/common/CommonTypes.d.ts.map +1 -0
  334. package/lib/typescript/src/{utils/json → types/core/common}/JsonSerializationTypes.d.ts +13 -4
  335. package/lib/typescript/src/types/core/common/JsonSerializationTypes.d.ts.map +1 -0
  336. package/lib/typescript/src/types/core/common/index.d.ts +3 -0
  337. package/lib/typescript/src/types/core/common/index.d.ts.map +1 -0
  338. package/lib/typescript/src/types/core/generic_document/BarcodeDocumentModel.d.ts +2360 -0
  339. package/lib/typescript/src/types/core/generic_document/BarcodeDocumentModel.d.ts.map +1 -0
  340. package/lib/typescript/src/types/core/generic_document/CommonFieldType.d.ts +176 -0
  341. package/lib/typescript/src/types/core/generic_document/CommonFieldType.d.ts.map +1 -0
  342. package/lib/typescript/src/{documents → types/core/generic_document}/GenericDocument.d.ts +82 -14
  343. package/lib/typescript/src/types/core/generic_document/GenericDocument.d.ts.map +1 -0
  344. package/lib/typescript/src/types/core/generic_document/index.d.ts.map +1 -0
  345. package/lib/typescript/src/{utils → types/core}/geometry/Geometry.d.ts +6 -5
  346. package/lib/typescript/src/types/core/geometry/Geometry.d.ts.map +1 -0
  347. package/lib/typescript/src/types/core/geometry/index.d.ts +2 -0
  348. package/lib/typescript/src/types/core/geometry/index.d.ts.map +1 -0
  349. package/lib/typescript/src/{imageRef → types/core/image}/ImageRefTypes.d.ts +208 -40
  350. package/lib/typescript/src/types/core/image/ImageRefTypes.d.ts.map +1 -0
  351. package/lib/typescript/src/types/core/image/ImageTypes.d.ts +63 -0
  352. package/lib/typescript/src/types/core/image/ImageTypes.d.ts.map +1 -0
  353. package/lib/typescript/src/{imageRef → types/core/image}/image.d.ts +6 -10
  354. package/lib/typescript/src/types/core/image/image.d.ts.map +1 -0
  355. package/lib/typescript/src/{imageRef → types/core/image}/index.d.ts +0 -1
  356. package/lib/typescript/src/types/core/image/index.d.ts.map +1 -0
  357. package/lib/typescript/src/types/core/index.d.ts +10 -0
  358. package/lib/typescript/src/types/core/index.d.ts.map +1 -0
  359. package/lib/typescript/src/types/core/licensing/LicensingTypes.d.ts +243 -0
  360. package/lib/typescript/src/types/core/licensing/LicensingTypes.d.ts.map +1 -0
  361. package/lib/typescript/src/types/core/licensing/index.d.ts +2 -0
  362. package/lib/typescript/src/types/core/licensing/index.d.ts.map +1 -0
  363. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/ArTrackingOverlayConfiguration.d.ts +27 -10
  364. package/lib/typescript/src/types/core/ui_v2/barcode/ArTrackingOverlayConfiguration.d.ts.map +1 -0
  365. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeInfoMapping.d.ts +6 -6
  366. package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeInfoMapping.d.ts.map +1 -0
  367. package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeItemMapper.d.ts.map +1 -0
  368. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerScreenConfiguration.d.ts +14 -14
  369. package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeScannerScreenConfiguration.d.ts.map +1 -0
  370. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerUiResult.d.ts +4 -4
  371. package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeScannerUiResult.d.ts.map +1 -0
  372. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeTextLocalization.d.ts +2 -2
  373. package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeTextLocalization.d.ts.map +1 -0
  374. package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeUseCase.d.ts +8 -0
  375. package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeUseCase.d.ts.map +1 -0
  376. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/FindAndPickScanningModeUseCase.d.ts +6 -6
  377. package/lib/typescript/src/types/core/ui_v2/barcode/FindAndPickScanningModeUseCase.d.ts.map +1 -0
  378. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/MultipleScanningModeUseCase.d.ts +42 -15
  379. package/lib/typescript/src/types/core/ui_v2/barcode/MultipleScanningModeUseCase.d.ts.map +1 -0
  380. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/SingleScanningModeUseCase.d.ts +5 -5
  381. package/lib/typescript/src/types/core/ui_v2/barcode/SingleScanningModeUseCase.d.ts.map +1 -0
  382. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/ActionBarConfiguration.d.ts +3 -3
  383. package/lib/typescript/src/types/core/ui_v2/common/ActionBarConfiguration.d.ts.map +1 -0
  384. package/lib/typescript/src/types/core/ui_v2/common/BottomBarConfiguration.d.ts +26 -0
  385. package/lib/typescript/src/types/core/ui_v2/common/BottomBarConfiguration.d.ts.map +1 -0
  386. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/CameraConfiguration.d.ts +25 -5
  387. package/lib/typescript/src/types/core/ui_v2/common/CameraConfiguration.d.ts.map +1 -0
  388. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/CameraPermission.d.ts +4 -4
  389. package/lib/typescript/src/types/core/ui_v2/common/CameraPermission.d.ts.map +1 -0
  390. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/Common.d.ts +55 -24
  391. package/lib/typescript/src/types/core/ui_v2/common/Common.d.ts.map +1 -0
  392. package/lib/typescript/src/types/core/ui_v2/common/NavigationBarConfiguration.d.ts +26 -0
  393. package/lib/typescript/src/types/core/ui_v2/common/NavigationBarConfiguration.d.ts.map +1 -0
  394. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/ScanCompletionOverlay.d.ts +3 -3
  395. package/lib/typescript/src/types/core/ui_v2/common/ScanCompletionOverlay.d.ts.map +1 -0
  396. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/ScanbotAlertDialog.d.ts +3 -3
  397. package/lib/typescript/src/types/core/ui_v2/common/ScanbotAlertDialog.d.ts.map +1 -0
  398. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/TopBarConfiguration.d.ts +33 -7
  399. package/lib/typescript/src/types/core/ui_v2/common/TopBarConfiguration.d.ts.map +1 -0
  400. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/UserGuidanceConfiguration.d.ts +4 -4
  401. package/lib/typescript/src/types/core/ui_v2/common/UserGuidanceConfiguration.d.ts.map +1 -0
  402. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/ViewFinderConfiguration.d.ts +7 -7
  403. package/lib/typescript/src/types/core/ui_v2/common/ViewFinderConfiguration.d.ts.map +1 -0
  404. package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/index.d.ts +2 -2
  405. package/lib/typescript/src/types/core/ui_v2/index.d.ts.map +1 -0
  406. package/lib/typescript/src/{imageRef → types/core/utils}/ObjectPoolTypes.d.ts +3 -3
  407. package/lib/typescript/src/types/core/utils/ObjectPoolTypes.d.ts.map +1 -0
  408. package/lib/typescript/src/types/core/utils/index.d.ts +3 -0
  409. package/lib/typescript/src/types/core/utils/index.d.ts.map +1 -0
  410. package/lib/typescript/src/types/core/utils/utils.d.ts +28 -0
  411. package/lib/typescript/src/types/core/utils/utils.d.ts.map +1 -0
  412. package/lib/typescript/src/types/index.d.ts +3 -0
  413. package/lib/typescript/src/types/index.d.ts.map +1 -0
  414. package/package.json +13 -13
  415. package/src/Barcode.ts +67 -0
  416. package/src/ImageProcessor.ts +18 -0
  417. package/src/Sdk.ts +53 -0
  418. package/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraView.tsx +13 -4
  419. package/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewProperties.ts +22 -14
  420. package/src/components/index.ts +3 -0
  421. package/src/{component → components}/spec/ScanbotBarcodeScannerViewNativeComponent.ts +3 -0
  422. package/src/impl/BarcodeScannerImpl.ts +115 -0
  423. package/src/impl/ImageProcessorImpl.ts +14 -0
  424. package/src/impl/SdkImpl.ts +28 -0
  425. package/src/impl/index.ts +3 -0
  426. package/src/impl/scanbotBarcodeSDKModule.ts +22 -0
  427. package/src/index.ts +5 -178
  428. package/src/types/base/SdkConfiguration.ts +120 -0
  429. package/src/types/base/customTypes.ts +14 -0
  430. package/src/types/base/errors.ts +158 -0
  431. package/src/types/base/index.ts +4 -0
  432. package/src/types/base/utils.ts +53 -0
  433. package/src/{barcode → types/core/barcode}/BarcodeConfigurationTypes.ts +294 -83
  434. package/src/types/core/barcode/BarcodeDocumentTypes.ts +218 -0
  435. package/src/{barcode → types/core/barcode}/BarcodeScannerTypes.ts +91 -44
  436. package/src/{barcode → types/core/barcode}/BarcodeTypes.ts +315 -19
  437. package/src/types/core/camera/Camera.ts +33 -0
  438. package/src/types/core/camera/index.ts +1 -0
  439. package/src/types/core/common/CommonTypes.ts +43 -0
  440. package/src/{utils/json → types/core/common}/JsonSerializationTypes.ts +16 -5
  441. package/src/types/core/common/index.ts +2 -0
  442. package/src/{documents → types/core/generic_document}/BarcodeDocumentModel.ts +1524 -172
  443. package/src/{documents → types/core/generic_document}/CommonFieldType.ts +96 -7
  444. package/src/{documents → types/core/generic_document}/GenericDocument.ts +77 -28
  445. package/src/{utils → types/core}/geometry/Geometry.ts +6 -8
  446. package/src/types/core/geometry/index.ts +1 -0
  447. package/src/{imageRef → types/core/image}/ImageRefTypes.ts +277 -83
  448. package/src/types/core/image/ImageTypes.ts +78 -0
  449. package/src/{imageRef → types/core/image}/image.ts +44 -76
  450. package/src/{imageRef → types/core/image}/index.ts +0 -1
  451. package/src/types/core/index.ts +9 -0
  452. package/src/types/core/licensing/LicensingTypes.ts +377 -0
  453. package/src/types/core/licensing/index.ts +1 -0
  454. package/src/{ui_v2 → types/core/ui_v2}/barcode/ArTrackingOverlayConfiguration.ts +28 -17
  455. package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeInfoMapping.ts +6 -9
  456. package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerScreenConfiguration.ts +18 -25
  457. package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerUiResult.ts +5 -7
  458. package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeTextLocalization.ts +2 -3
  459. package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeUseCase.ts +6 -5
  460. package/src/{ui_v2 → types/core/ui_v2}/barcode/FindAndPickScanningModeUseCase.ts +17 -19
  461. package/src/{ui_v2 → types/core/ui_v2}/barcode/MultipleScanningModeUseCase.ts +50 -25
  462. package/src/{ui_v2 → types/core/ui_v2}/barcode/SingleScanningModeUseCase.ts +9 -10
  463. package/src/{ui_v2 → types/core/ui_v2}/common/ActionBarConfiguration.ts +3 -4
  464. package/src/types/core/ui_v2/common/BottomBarConfiguration.ts +33 -0
  465. package/src/{ui_v2 → types/core/ui_v2}/common/CameraConfiguration.ts +33 -7
  466. package/src/{ui_v2 → types/core/ui_v2}/common/CameraPermission.ts +4 -5
  467. package/src/{ui_v2 → types/core/ui_v2}/common/Common.ts +62 -41
  468. package/src/{ui_v2 → types/core/ui_v2}/common/NavigationBarConfiguration.ts +19 -2
  469. package/src/{ui_v2 → types/core/ui_v2}/common/ScanCompletionOverlay.ts +3 -4
  470. package/src/{ui_v2 → types/core/ui_v2}/common/ScanbotAlertDialog.ts +3 -4
  471. package/src/{ui_v2 → types/core/ui_v2}/common/TopBarConfiguration.ts +37 -13
  472. package/src/{ui_v2 → types/core/ui_v2}/common/UserGuidanceConfiguration.ts +4 -6
  473. package/src/{ui_v2 → types/core/ui_v2}/common/ViewFinderConfiguration.ts +15 -17
  474. package/src/{ui_v2 → types/core/ui_v2}/index.ts +2 -4
  475. package/src/{imageRef → types/core/utils}/ObjectPoolTypes.ts +3 -4
  476. package/src/types/core/utils/index.ts +2 -0
  477. package/src/types/core/utils/utils.ts +45 -0
  478. package/src/types/index.ts +2 -0
  479. package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/extensions/IntExtensions.kt +0 -7
  480. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewControllerWrapper.h +0 -121
  481. package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewControllerWrapper.m +0 -307
  482. package/lib/commonjs/barcode/BarcodeConfigurationTypes.js.map +0 -1
  483. package/lib/commonjs/barcode/BarcodeDocumentTypes.js.map +0 -1
  484. package/lib/commonjs/barcode/BarcodeScannerTypes.js.map +0 -1
  485. package/lib/commonjs/barcode/BarcodeTypes.js.map +0 -1
  486. package/lib/commonjs/barcode/index.js.map +0 -1
  487. package/lib/commonjs/base/barcodeSDKConfigurations.js.map +0 -1
  488. package/lib/commonjs/base/barcodeSDKTypes.js +0 -2
  489. package/lib/commonjs/base/barcodeSDKTypes.js.map +0 -1
  490. package/lib/commonjs/base/index.js +0 -28
  491. package/lib/commonjs/base/index.js.map +0 -1
  492. package/lib/commonjs/component/barcode-camera-view/ScanbotBarcodeCameraView.js.map +0 -1
  493. package/lib/commonjs/component/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js.map +0 -1
  494. package/lib/commonjs/component/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js.map +0 -1
  495. package/lib/commonjs/component/barcode-camera-view/index.js.map +0 -1
  496. package/lib/commonjs/component/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +0 -1
  497. package/lib/commonjs/documents/BarcodeDocumentModel.js.map +0 -1
  498. package/lib/commonjs/documents/CommonFieldType.js.map +0 -1
  499. package/lib/commonjs/documents/GenericDocument.js.map +0 -1
  500. package/lib/commonjs/documents/index.js.map +0 -1
  501. package/lib/commonjs/imageRef/ImageRefTypes.js.map +0 -1
  502. package/lib/commonjs/imageRef/ImageTypes.js +0 -24
  503. package/lib/commonjs/imageRef/ImageTypes.js.map +0 -1
  504. package/lib/commonjs/imageRef/ObjectPoolTypes.js.map +0 -1
  505. package/lib/commonjs/imageRef/image.js.map +0 -1
  506. package/lib/commonjs/imageRef/index.js.map +0 -1
  507. package/lib/commonjs/ui_v2/barcode/ArTrackingOverlayConfiguration.js.map +0 -1
  508. package/lib/commonjs/ui_v2/barcode/BarcodeInfoMapping.js.map +0 -1
  509. package/lib/commonjs/ui_v2/barcode/BarcodeItemMapper.js.map +0 -1
  510. package/lib/commonjs/ui_v2/barcode/BarcodeScannerConfiguration.js +0 -179
  511. package/lib/commonjs/ui_v2/barcode/BarcodeScannerConfiguration.js.map +0 -1
  512. package/lib/commonjs/ui_v2/barcode/BarcodeScannerScreenConfiguration.js.map +0 -1
  513. package/lib/commonjs/ui_v2/barcode/BarcodeScannerUiResult.js.map +0 -1
  514. package/lib/commonjs/ui_v2/barcode/BarcodeTextLocalization.js.map +0 -1
  515. package/lib/commonjs/ui_v2/barcode/BarcodeUseCase.js.map +0 -1
  516. package/lib/commonjs/ui_v2/barcode/FindAndPickScanningModeUseCase.js.map +0 -1
  517. package/lib/commonjs/ui_v2/barcode/MultipleScanningModeUseCase.js.map +0 -1
  518. package/lib/commonjs/ui_v2/barcode/SingleScanningModeUseCase.js.map +0 -1
  519. package/lib/commonjs/ui_v2/common/ActionBarConfiguration.js.map +0 -1
  520. package/lib/commonjs/ui_v2/common/CameraConfiguration.js.map +0 -1
  521. package/lib/commonjs/ui_v2/common/CameraPermission.js.map +0 -1
  522. package/lib/commonjs/ui_v2/common/Common.js.map +0 -1
  523. package/lib/commonjs/ui_v2/common/NavigationBarConfiguration.js.map +0 -1
  524. package/lib/commonjs/ui_v2/common/ScanCompletionOverlay.js.map +0 -1
  525. package/lib/commonjs/ui_v2/common/ScanbotAlertDialog.js.map +0 -1
  526. package/lib/commonjs/ui_v2/common/TopBarConfiguration.js.map +0 -1
  527. package/lib/commonjs/ui_v2/common/UserGuidanceConfiguration.js.map +0 -1
  528. package/lib/commonjs/ui_v2/common/ViewFinderConfiguration.js.map +0 -1
  529. package/lib/commonjs/ui_v2/index.js.map +0 -1
  530. package/lib/commonjs/utils/geometry/Geometry.js.map +0 -1
  531. package/lib/commonjs/utils/index.js +0 -39
  532. package/lib/commonjs/utils/index.js.map +0 -1
  533. package/lib/commonjs/utils/json/JsonSerializationTypes.js.map +0 -1
  534. package/lib/commonjs/utils/utils.js +0 -31
  535. package/lib/commonjs/utils/utils.js.map +0 -1
  536. package/lib/module/barcode/BarcodeConfigurationTypes.js.map +0 -1
  537. package/lib/module/barcode/BarcodeDocumentTypes.js.map +0 -1
  538. package/lib/module/barcode/BarcodeScannerTypes.js.map +0 -1
  539. package/lib/module/barcode/BarcodeTypes.js.map +0 -1
  540. package/lib/module/barcode/index.js.map +0 -1
  541. package/lib/module/base/barcodeSDKConfigurations.js +0 -2
  542. package/lib/module/base/barcodeSDKConfigurations.js.map +0 -1
  543. package/lib/module/base/barcodeSDKTypes.js +0 -2
  544. package/lib/module/base/barcodeSDKTypes.js.map +0 -1
  545. package/lib/module/base/index.js +0 -3
  546. package/lib/module/base/index.js.map +0 -1
  547. package/lib/module/component/barcode-camera-view/ScanbotBarcodeCameraView.js.map +0 -1
  548. package/lib/module/component/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js.map +0 -1
  549. package/lib/module/component/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js.map +0 -1
  550. package/lib/module/component/barcode-camera-view/index.js +0 -4
  551. package/lib/module/component/barcode-camera-view/index.js.map +0 -1
  552. package/lib/module/component/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +0 -1
  553. package/lib/module/documents/BarcodeDocumentModel.js.map +0 -1
  554. package/lib/module/documents/CommonFieldType.js.map +0 -1
  555. package/lib/module/documents/GenericDocument.js.map +0 -1
  556. package/lib/module/documents/index.js.map +0 -1
  557. package/lib/module/imageRef/ImageRefTypes.js.map +0 -1
  558. package/lib/module/imageRef/ImageTypes.js +0 -18
  559. package/lib/module/imageRef/ImageTypes.js.map +0 -1
  560. package/lib/module/imageRef/ObjectPoolTypes.js.map +0 -1
  561. package/lib/module/imageRef/image.js.map +0 -1
  562. package/lib/module/imageRef/index.js.map +0 -1
  563. package/lib/module/ui_v2/barcode/ArTrackingOverlayConfiguration.js.map +0 -1
  564. package/lib/module/ui_v2/barcode/BarcodeInfoMapping.js.map +0 -1
  565. package/lib/module/ui_v2/barcode/BarcodeItemMapper.js.map +0 -1
  566. package/lib/module/ui_v2/barcode/BarcodeScannerConfiguration.js +0 -173
  567. package/lib/module/ui_v2/barcode/BarcodeScannerConfiguration.js.map +0 -1
  568. package/lib/module/ui_v2/barcode/BarcodeScannerScreenConfiguration.js.map +0 -1
  569. package/lib/module/ui_v2/barcode/BarcodeScannerUiResult.js.map +0 -1
  570. package/lib/module/ui_v2/barcode/BarcodeTextLocalization.js.map +0 -1
  571. package/lib/module/ui_v2/barcode/BarcodeUseCase.js.map +0 -1
  572. package/lib/module/ui_v2/barcode/FindAndPickScanningModeUseCase.js.map +0 -1
  573. package/lib/module/ui_v2/barcode/MultipleScanningModeUseCase.js.map +0 -1
  574. package/lib/module/ui_v2/barcode/SingleScanningModeUseCase.js.map +0 -1
  575. package/lib/module/ui_v2/common/ActionBarConfiguration.js.map +0 -1
  576. package/lib/module/ui_v2/common/CameraConfiguration.js.map +0 -1
  577. package/lib/module/ui_v2/common/CameraPermission.js.map +0 -1
  578. package/lib/module/ui_v2/common/Common.js.map +0 -1
  579. package/lib/module/ui_v2/common/NavigationBarConfiguration.js.map +0 -1
  580. package/lib/module/ui_v2/common/ScanCompletionOverlay.js.map +0 -1
  581. package/lib/module/ui_v2/common/ScanbotAlertDialog.js.map +0 -1
  582. package/lib/module/ui_v2/common/TopBarConfiguration.js.map +0 -1
  583. package/lib/module/ui_v2/common/UserGuidanceConfiguration.js.map +0 -1
  584. package/lib/module/ui_v2/common/ViewFinderConfiguration.js.map +0 -1
  585. package/lib/module/ui_v2/index.js.map +0 -1
  586. package/lib/module/utils/geometry/Geometry.js.map +0 -1
  587. package/lib/module/utils/index.js +0 -4
  588. package/lib/module/utils/index.js.map +0 -1
  589. package/lib/module/utils/json/JsonSerializationTypes.js.map +0 -1
  590. package/lib/module/utils/utils.js +0 -22
  591. package/lib/module/utils/utils.js.map +0 -1
  592. package/lib/typescript/src/barcode/BarcodeConfigurationTypes.d.ts.map +0 -1
  593. package/lib/typescript/src/barcode/BarcodeDocumentTypes.d.ts +0 -50
  594. package/lib/typescript/src/barcode/BarcodeDocumentTypes.d.ts.map +0 -1
  595. package/lib/typescript/src/barcode/BarcodeScannerTypes.d.ts.map +0 -1
  596. package/lib/typescript/src/barcode/BarcodeTypes.d.ts.map +0 -1
  597. package/lib/typescript/src/barcode/index.d.ts.map +0 -1
  598. package/lib/typescript/src/base/barcodeSDKConfigurations.d.ts +0 -60
  599. package/lib/typescript/src/base/barcodeSDKConfigurations.d.ts.map +0 -1
  600. package/lib/typescript/src/base/barcodeSDKTypes.d.ts +0 -46
  601. package/lib/typescript/src/base/barcodeSDKTypes.d.ts.map +0 -1
  602. package/lib/typescript/src/base/index.d.ts +0 -3
  603. package/lib/typescript/src/base/index.d.ts.map +0 -1
  604. package/lib/typescript/src/component/barcode-camera-view/ScanbotBarcodeCameraView.d.ts.map +0 -1
  605. package/lib/typescript/src/component/barcode-camera-view/ScanbotBarcodeCameraViewProperties.d.ts.map +0 -1
  606. package/lib/typescript/src/component/barcode-camera-view/ScanbotBarcodeCameraViewTypes.d.ts.map +0 -1
  607. package/lib/typescript/src/component/barcode-camera-view/index.d.ts +0 -4
  608. package/lib/typescript/src/component/barcode-camera-view/index.d.ts.map +0 -1
  609. package/lib/typescript/src/component/spec/ScanbotBarcodeScannerViewNativeComponent.d.ts.map +0 -1
  610. package/lib/typescript/src/documents/BarcodeDocumentModel.d.ts +0 -1458
  611. package/lib/typescript/src/documents/BarcodeDocumentModel.d.ts.map +0 -1
  612. package/lib/typescript/src/documents/CommonFieldType.d.ts +0 -61
  613. package/lib/typescript/src/documents/CommonFieldType.d.ts.map +0 -1
  614. package/lib/typescript/src/documents/GenericDocument.d.ts.map +0 -1
  615. package/lib/typescript/src/documents/index.d.ts.map +0 -1
  616. package/lib/typescript/src/imageRef/ImageRefTypes.d.ts.map +0 -1
  617. package/lib/typescript/src/imageRef/ImageTypes.d.ts +0 -15
  618. package/lib/typescript/src/imageRef/ImageTypes.d.ts.map +0 -1
  619. package/lib/typescript/src/imageRef/ObjectPoolTypes.d.ts.map +0 -1
  620. package/lib/typescript/src/imageRef/image.d.ts.map +0 -1
  621. package/lib/typescript/src/imageRef/index.d.ts.map +0 -1
  622. package/lib/typescript/src/ui_v2/barcode/ArTrackingOverlayConfiguration.d.ts.map +0 -1
  623. package/lib/typescript/src/ui_v2/barcode/BarcodeInfoMapping.d.ts.map +0 -1
  624. package/lib/typescript/src/ui_v2/barcode/BarcodeItemMapper.d.ts.map +0 -1
  625. package/lib/typescript/src/ui_v2/barcode/BarcodeScannerConfiguration.d.ts +0 -114
  626. package/lib/typescript/src/ui_v2/barcode/BarcodeScannerConfiguration.d.ts.map +0 -1
  627. package/lib/typescript/src/ui_v2/barcode/BarcodeScannerScreenConfiguration.d.ts.map +0 -1
  628. package/lib/typescript/src/ui_v2/barcode/BarcodeScannerUiResult.d.ts.map +0 -1
  629. package/lib/typescript/src/ui_v2/barcode/BarcodeTextLocalization.d.ts.map +0 -1
  630. package/lib/typescript/src/ui_v2/barcode/BarcodeUseCase.d.ts +0 -8
  631. package/lib/typescript/src/ui_v2/barcode/BarcodeUseCase.d.ts.map +0 -1
  632. package/lib/typescript/src/ui_v2/barcode/FindAndPickScanningModeUseCase.d.ts.map +0 -1
  633. package/lib/typescript/src/ui_v2/barcode/MultipleScanningModeUseCase.d.ts.map +0 -1
  634. package/lib/typescript/src/ui_v2/barcode/SingleScanningModeUseCase.d.ts.map +0 -1
  635. package/lib/typescript/src/ui_v2/common/ActionBarConfiguration.d.ts.map +0 -1
  636. package/lib/typescript/src/ui_v2/common/CameraConfiguration.d.ts.map +0 -1
  637. package/lib/typescript/src/ui_v2/common/CameraPermission.d.ts.map +0 -1
  638. package/lib/typescript/src/ui_v2/common/Common.d.ts.map +0 -1
  639. package/lib/typescript/src/ui_v2/common/NavigationBarConfiguration.d.ts +0 -13
  640. package/lib/typescript/src/ui_v2/common/NavigationBarConfiguration.d.ts.map +0 -1
  641. package/lib/typescript/src/ui_v2/common/ScanCompletionOverlay.d.ts.map +0 -1
  642. package/lib/typescript/src/ui_v2/common/ScanbotAlertDialog.d.ts.map +0 -1
  643. package/lib/typescript/src/ui_v2/common/TopBarConfiguration.d.ts.map +0 -1
  644. package/lib/typescript/src/ui_v2/common/UserGuidanceConfiguration.d.ts.map +0 -1
  645. package/lib/typescript/src/ui_v2/common/ViewFinderConfiguration.d.ts.map +0 -1
  646. package/lib/typescript/src/ui_v2/index.d.ts.map +0 -1
  647. package/lib/typescript/src/utils/geometry/Geometry.d.ts.map +0 -1
  648. package/lib/typescript/src/utils/index.d.ts +0 -4
  649. package/lib/typescript/src/utils/index.d.ts.map +0 -1
  650. package/lib/typescript/src/utils/json/JsonSerializationTypes.d.ts.map +0 -1
  651. package/lib/typescript/src/utils/utils.d.ts +0 -17
  652. package/lib/typescript/src/utils/utils.d.ts.map +0 -1
  653. package/src/barcode/BarcodeDocumentTypes.ts +0 -120
  654. package/src/base/barcodeSDKConfigurations.ts +0 -70
  655. package/src/base/barcodeSDKTypes.ts +0 -44
  656. package/src/base/index.ts +0 -2
  657. package/src/component/barcode-camera-view/index.ts +0 -3
  658. package/src/imageRef/ImageTypes.ts +0 -23
  659. package/src/ui_v2/barcode/BarcodeScannerConfiguration.ts +0 -207
  660. package/src/utils/index.ts +0 -3
  661. package/src/utils/utils.ts +0 -42
  662. /package/lib/commonjs/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js +0 -0
  663. /package/lib/commonjs/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js +0 -0
  664. /package/lib/commonjs/{component → components}/spec/ScanbotBarcodeScannerViewNativeComponent.js +0 -0
  665. /package/lib/commonjs/{barcode → types/core/barcode}/index.js +0 -0
  666. /package/lib/commonjs/{documents → types/core/generic_document}/index.js +0 -0
  667. /package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeItemMapper.js +0 -0
  668. /package/lib/module/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js +0 -0
  669. /package/lib/module/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js +0 -0
  670. /package/lib/module/{component → components}/spec/ScanbotBarcodeScannerViewNativeComponent.js +0 -0
  671. /package/lib/module/{barcode → types/core/barcode}/index.js +0 -0
  672. /package/lib/module/{documents → types/core/generic_document}/index.js +0 -0
  673. /package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeItemMapper.js +0 -0
  674. /package/lib/typescript/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraView.d.ts +0 -0
  675. /package/lib/typescript/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewTypes.d.ts +0 -0
  676. /package/lib/typescript/src/{barcode → types/core/barcode}/index.d.ts +0 -0
  677. /package/lib/typescript/src/{documents → types/core/generic_document}/index.d.ts +0 -0
  678. /package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeItemMapper.d.ts +0 -0
  679. /package/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewTypes.ts +0 -0
  680. /package/src/{barcode → types/core/barcode}/index.ts +0 -0
  681. /package/src/{documents → types/core/generic_document}/index.ts +0 -0
  682. /package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeItemMapper.ts +0 -0
@@ -1,15 +1,12 @@
1
1
  /// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2
2
  /// Generated from core/schemas/BarcodeConfigurationTypes.yaml
3
-
4
- import { PartiallyConstructible } from '../utils/utils';
5
-
6
3
  /**
7
4
  Base class for all barcode configurations.
8
5
  */
9
6
  /** @internal */
10
7
  export let BarcodeFormatConfigurationBase;
11
8
  (function (_BarcodeFormatConfigurationBase) {
12
- function From(source) {
9
+ function from(source) {
13
10
  const _type = source._type;
14
11
  switch (_type) {
15
12
  case 'BarcodeFormatCodabarConfiguration':
@@ -73,10 +70,10 @@ export let BarcodeFormatConfigurationBase;
73
70
  case 'BarcodeFormatCommonConfiguration':
74
71
  return new BarcodeFormatCommonConfiguration(source);
75
72
  default:
76
- throw `Unknown child class name: ${_type}`;
73
+ throw new Error(`Unknown child class name: ${_type}`);
77
74
  }
78
75
  }
79
- _BarcodeFormatConfigurationBase.From = From;
76
+ _BarcodeFormatConfigurationBase.from = from;
80
77
  })(BarcodeFormatConfigurationBase || (BarcodeFormatConfigurationBase = {}));
81
78
  /**
82
79
  Base class for all linear (1D) barcode configurations.
@@ -84,7 +81,7 @@ Base class for all linear (1D) barcode configurations.
84
81
  /** @internal */
85
82
  export let BarcodeFormatOneDConfigurationBase;
86
83
  (function (_BarcodeFormatOneDConfigurationBase) {
87
- function From(source) {
84
+ function from(source) {
88
85
  const _type = source._type;
89
86
  switch (_type) {
90
87
  case 'BarcodeFormatCodabarConfiguration':
@@ -114,15 +111,15 @@ export let BarcodeFormatOneDConfigurationBase;
114
111
  case 'BarcodeFormatPharmaCodeConfiguration':
115
112
  return new BarcodeFormatPharmaCodeConfiguration(source);
116
113
  default:
117
- throw `Unknown child class name: ${_type}`;
114
+ throw new Error(`Unknown child class name: ${_type}`);
118
115
  }
119
116
  }
120
- _BarcodeFormatOneDConfigurationBase.From = From;
117
+ _BarcodeFormatOneDConfigurationBase.from = from;
121
118
  })(BarcodeFormatOneDConfigurationBase || (BarcodeFormatOneDConfigurationBase = {}));
122
119
  /**
123
120
  Codabar barcode configuration. Add to scanner configuration to scan Codabar barcodes.
124
121
  */
125
- export class BarcodeFormatCodabarConfiguration extends PartiallyConstructible {
122
+ export class BarcodeFormatCodabarConfiguration {
126
123
  _type = 'BarcodeFormatCodabarConfiguration';
127
124
  /**
128
125
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -160,6 +157,12 @@ export class BarcodeFormatCodabarConfiguration extends PartiallyConstructible {
160
157
  Default is 1
161
158
  */
162
159
  minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
160
+ /**
161
+ Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
162
+
163
+ Default is THOROUGH
164
+ */
165
+ oneDConfirmationMode = 'THOROUGH';
163
166
  /**
164
167
  Minimum text length. Applied only to linear barcode formats that allow variable length.
165
168
 
@@ -172,6 +175,12 @@ export class BarcodeFormatCodabarConfiguration extends PartiallyConstructible {
172
175
  Default is 0
173
176
  */
174
177
  maximumTextLength = 0;
178
+ /**
179
+ If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
180
+
181
+ Default is true
182
+ */
183
+ enableOneDBlurScanner = true;
175
184
  /**
176
185
  If true, return the start and end characters.
177
186
 
@@ -181,7 +190,6 @@ export class BarcodeFormatCodabarConfiguration extends PartiallyConstructible {
181
190
 
182
191
  /** @param source {@displayType `DeepPartial<BarcodeFormatCodabarConfiguration>`} */
183
192
  constructor(source = {}) {
184
- super();
185
193
  if (source.regexFilter !== undefined) {
186
194
  this.regexFilter = source.regexFilter;
187
195
  }
@@ -197,12 +205,18 @@ export class BarcodeFormatCodabarConfiguration extends PartiallyConstructible {
197
205
  if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
198
206
  this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
199
207
  }
208
+ if (source.oneDConfirmationMode !== undefined) {
209
+ this.oneDConfirmationMode = source.oneDConfirmationMode;
210
+ }
200
211
  if (source.minimumTextLength !== undefined) {
201
212
  this.minimumTextLength = source.minimumTextLength;
202
213
  }
203
214
  if (source.maximumTextLength !== undefined) {
204
215
  this.maximumTextLength = source.maximumTextLength;
205
216
  }
217
+ if (source.enableOneDBlurScanner !== undefined) {
218
+ this.enableOneDBlurScanner = source.enableOneDBlurScanner;
219
+ }
206
220
  if (source.returnStartEnd !== undefined) {
207
221
  this.returnStartEnd = source.returnStartEnd;
208
222
  }
@@ -212,7 +226,7 @@ export class BarcodeFormatCodabarConfiguration extends PartiallyConstructible {
212
226
  /**
213
227
  Code 11 barcode configuration. Add to scanner configuration to scan Code 11 barcodes.
214
228
  */
215
- export class BarcodeFormatCode11Configuration extends PartiallyConstructible {
229
+ export class BarcodeFormatCode11Configuration {
216
230
  _type = 'BarcodeFormatCode11Configuration';
217
231
  /**
218
232
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -250,6 +264,12 @@ export class BarcodeFormatCode11Configuration extends PartiallyConstructible {
250
264
  Default is 1
251
265
  */
252
266
  minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
267
+ /**
268
+ Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
269
+
270
+ Default is THOROUGH
271
+ */
272
+ oneDConfirmationMode = 'THOROUGH';
253
273
  /**
254
274
  If true, the check digits are stripped from the result.
255
275
 
@@ -277,7 +297,6 @@ export class BarcodeFormatCode11Configuration extends PartiallyConstructible {
277
297
 
278
298
  /** @param source {@displayType `DeepPartial<BarcodeFormatCode11Configuration>`} */
279
299
  constructor(source = {}) {
280
- super();
281
300
  if (source.regexFilter !== undefined) {
282
301
  this.regexFilter = source.regexFilter;
283
302
  }
@@ -293,6 +312,9 @@ export class BarcodeFormatCode11Configuration extends PartiallyConstructible {
293
312
  if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
294
313
  this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
295
314
  }
315
+ if (source.oneDConfirmationMode !== undefined) {
316
+ this.oneDConfirmationMode = source.oneDConfirmationMode;
317
+ }
296
318
  if (source.stripCheckDigits !== undefined) {
297
319
  this.stripCheckDigits = source.stripCheckDigits;
298
320
  }
@@ -311,7 +333,7 @@ export class BarcodeFormatCode11Configuration extends PartiallyConstructible {
311
333
  /**
312
334
  Code 39 barcode and derivatives configuration. Add to scanner configuration to scan Code 39, Code 32 (Italian Pharmacode), PZN7 and PZN8 (Pharmazentralnummer) barcodes.
313
335
  */
314
- export class BarcodeFormatCode39Configuration extends PartiallyConstructible {
336
+ export class BarcodeFormatCode39Configuration {
315
337
  _type = 'BarcodeFormatCode39Configuration';
316
338
  /**
317
339
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -349,6 +371,12 @@ export class BarcodeFormatCode39Configuration extends PartiallyConstructible {
349
371
  Default is 1
350
372
  */
351
373
  minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
374
+ /**
375
+ Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
376
+
377
+ Default is THOROUGH
378
+ */
379
+ oneDConfirmationMode = 'THOROUGH';
352
380
  /**
353
381
  If true, the check digits are stripped from the result.
354
382
 
@@ -367,6 +395,12 @@ export class BarcodeFormatCode39Configuration extends PartiallyConstructible {
367
395
  Default is 0
368
396
  */
369
397
  maximumTextLength = 0;
398
+ /**
399
+ If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
400
+
401
+ Default is true
402
+ */
403
+ enableOneDBlurScanner = true;
370
404
  /**
371
405
  If true, scan and return valid CODE_32 (Italian Pharmacode) barcodes. If false, CODE_32 barcodes are not decoded and are returned as CODE_39 instead.
372
406
 
@@ -406,7 +440,6 @@ export class BarcodeFormatCode39Configuration extends PartiallyConstructible {
406
440
 
407
441
  /** @param source {@displayType `DeepPartial<BarcodeFormatCode39Configuration>`} */
408
442
  constructor(source = {}) {
409
- super();
410
443
  if (source.regexFilter !== undefined) {
411
444
  this.regexFilter = source.regexFilter;
412
445
  }
@@ -422,6 +455,9 @@ export class BarcodeFormatCode39Configuration extends PartiallyConstructible {
422
455
  if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
423
456
  this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
424
457
  }
458
+ if (source.oneDConfirmationMode !== undefined) {
459
+ this.oneDConfirmationMode = source.oneDConfirmationMode;
460
+ }
425
461
  if (source.stripCheckDigits !== undefined) {
426
462
  this.stripCheckDigits = source.stripCheckDigits;
427
463
  }
@@ -431,6 +467,9 @@ export class BarcodeFormatCode39Configuration extends PartiallyConstructible {
431
467
  if (source.maximumTextLength !== undefined) {
432
468
  this.maximumTextLength = source.maximumTextLength;
433
469
  }
470
+ if (source.enableOneDBlurScanner !== undefined) {
471
+ this.enableOneDBlurScanner = source.enableOneDBlurScanner;
472
+ }
434
473
  if (source.code32 !== undefined) {
435
474
  this.code32 = source.code32;
436
475
  }
@@ -455,7 +494,7 @@ export class BarcodeFormatCode39Configuration extends PartiallyConstructible {
455
494
  /**
456
495
  Code 93 barcode configuration. Add to scanner configuration to scan Code 93 barcodes.
457
496
  */
458
- export class BarcodeFormatCode93Configuration extends PartiallyConstructible {
497
+ export class BarcodeFormatCode93Configuration {
459
498
  _type = 'BarcodeFormatCode93Configuration';
460
499
  /**
461
500
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -493,6 +532,12 @@ export class BarcodeFormatCode93Configuration extends PartiallyConstructible {
493
532
  Default is 1
494
533
  */
495
534
  minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
535
+ /**
536
+ Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
537
+
538
+ Default is THOROUGH
539
+ */
540
+ oneDConfirmationMode = 'THOROUGH';
496
541
  /**
497
542
  If true, the check digits are stripped from the result.
498
543
 
@@ -511,10 +556,15 @@ export class BarcodeFormatCode93Configuration extends PartiallyConstructible {
511
556
  Default is 0
512
557
  */
513
558
  maximumTextLength = 0;
559
+ /**
560
+ If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
561
+
562
+ Default is true
563
+ */
564
+ enableOneDBlurScanner = true;
514
565
 
515
566
  /** @param source {@displayType `DeepPartial<BarcodeFormatCode93Configuration>`} */
516
567
  constructor(source = {}) {
517
- super();
518
568
  if (source.regexFilter !== undefined) {
519
569
  this.regexFilter = source.regexFilter;
520
570
  }
@@ -530,6 +580,9 @@ export class BarcodeFormatCode93Configuration extends PartiallyConstructible {
530
580
  if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
531
581
  this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
532
582
  }
583
+ if (source.oneDConfirmationMode !== undefined) {
584
+ this.oneDConfirmationMode = source.oneDConfirmationMode;
585
+ }
533
586
  if (source.stripCheckDigits !== undefined) {
534
587
  this.stripCheckDigits = source.stripCheckDigits;
535
588
  }
@@ -539,13 +592,16 @@ export class BarcodeFormatCode93Configuration extends PartiallyConstructible {
539
592
  if (source.maximumTextLength !== undefined) {
540
593
  this.maximumTextLength = source.maximumTextLength;
541
594
  }
595
+ if (source.enableOneDBlurScanner !== undefined) {
596
+ this.enableOneDBlurScanner = source.enableOneDBlurScanner;
597
+ }
542
598
  }
543
599
  }
544
600
 
545
601
  /**
546
602
  Code 128 barcode configuration. Add to scanner configuration to scan Code 128 barcodes.
547
603
  */
548
- export class BarcodeFormatCode128Configuration extends PartiallyConstructible {
604
+ export class BarcodeFormatCode128Configuration {
549
605
  _type = 'BarcodeFormatCode128Configuration';
550
606
  /**
551
607
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -583,6 +639,12 @@ export class BarcodeFormatCode128Configuration extends PartiallyConstructible {
583
639
  Default is 1
584
640
  */
585
641
  minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
642
+ /**
643
+ Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
644
+
645
+ Default is THOROUGH
646
+ */
647
+ oneDConfirmationMode = 'THOROUGH';
586
648
  /**
587
649
  GS1 message handling options.
588
650
 
@@ -601,10 +663,15 @@ export class BarcodeFormatCode128Configuration extends PartiallyConstructible {
601
663
  Default is 0
602
664
  */
603
665
  maximumTextLength = 0;
666
+ /**
667
+ If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
668
+
669
+ Default is true
670
+ */
671
+ enableOneDBlurScanner = true;
604
672
 
605
673
  /** @param source {@displayType `DeepPartial<BarcodeFormatCode128Configuration>`} */
606
674
  constructor(source = {}) {
607
- super();
608
675
  if (source.regexFilter !== undefined) {
609
676
  this.regexFilter = source.regexFilter;
610
677
  }
@@ -620,6 +687,9 @@ export class BarcodeFormatCode128Configuration extends PartiallyConstructible {
620
687
  if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
621
688
  this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
622
689
  }
690
+ if (source.oneDConfirmationMode !== undefined) {
691
+ this.oneDConfirmationMode = source.oneDConfirmationMode;
692
+ }
623
693
  if (source.gs1Handling !== undefined) {
624
694
  this.gs1Handling = source.gs1Handling;
625
695
  }
@@ -629,6 +699,9 @@ export class BarcodeFormatCode128Configuration extends PartiallyConstructible {
629
699
  if (source.maximumTextLength !== undefined) {
630
700
  this.maximumTextLength = source.maximumTextLength;
631
701
  }
702
+ if (source.enableOneDBlurScanner !== undefined) {
703
+ this.enableOneDBlurScanner = source.enableOneDBlurScanner;
704
+ }
632
705
  }
633
706
  }
634
707
 
@@ -639,7 +712,7 @@ Add to scanner configuration to scan Code 25, IATA 2-of-5 and Industrial 2-of-5
639
712
  Industrial 2-of-5 barcodes are a subset of Code 25 barcodes.
640
713
  Any valid Industrial 2-of-5 barcode is also a valid Code 25 barcode.
641
714
  */
642
- export class BarcodeFormatCode2Of5Configuration extends PartiallyConstructible {
715
+ export class BarcodeFormatCode2Of5Configuration {
643
716
  _type = 'BarcodeFormatCode2Of5Configuration';
644
717
  /**
645
718
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -677,6 +750,12 @@ export class BarcodeFormatCode2Of5Configuration extends PartiallyConstructible {
677
750
  Default is 1
678
751
  */
679
752
  minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
753
+ /**
754
+ Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
755
+
756
+ Default is THOROUGH
757
+ */
758
+ oneDConfirmationMode = 'THOROUGH';
680
759
  /**
681
760
  If true, the check digits are stripped from the result.
682
761
 
@@ -722,7 +801,6 @@ export class BarcodeFormatCode2Of5Configuration extends PartiallyConstructible {
722
801
 
723
802
  /** @param source {@displayType `DeepPartial<BarcodeFormatCode2Of5Configuration>`} */
724
803
  constructor(source = {}) {
725
- super();
726
804
  if (source.regexFilter !== undefined) {
727
805
  this.regexFilter = source.regexFilter;
728
806
  }
@@ -738,6 +816,9 @@ export class BarcodeFormatCode2Of5Configuration extends PartiallyConstructible {
738
816
  if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
739
817
  this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
740
818
  }
819
+ if (source.oneDConfirmationMode !== undefined) {
820
+ this.oneDConfirmationMode = source.oneDConfirmationMode;
821
+ }
741
822
  if (source.stripCheckDigits !== undefined) {
742
823
  this.stripCheckDigits = source.stripCheckDigits;
743
824
  }
@@ -765,7 +846,7 @@ export class BarcodeFormatCode2Of5Configuration extends PartiallyConstructible {
765
846
  /**
766
847
  GS1 DataBar barcode configuration. Add to scanner configuration to scan GS1 DataBar-14, GS1 DataBar-14 Truncated, GS1 DataBar-14 Stacked and GS1 DataBar-14 Stacked Omnidirectional barcodes.
767
848
  */
768
- export class BarcodeFormatDataBarConfiguration extends PartiallyConstructible {
849
+ export class BarcodeFormatDataBarConfiguration {
769
850
  _type = 'BarcodeFormatDataBarConfiguration';
770
851
  /**
771
852
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -803,6 +884,12 @@ export class BarcodeFormatDataBarConfiguration extends PartiallyConstructible {
803
884
  Default is 1
804
885
  */
805
886
  minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
887
+ /**
888
+ Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
889
+
890
+ Default is THOROUGH
891
+ */
892
+ oneDConfirmationMode = 'THOROUGH';
806
893
  /**
807
894
  GS1 message handling options.
808
895
 
@@ -812,7 +899,6 @@ export class BarcodeFormatDataBarConfiguration extends PartiallyConstructible {
812
899
 
813
900
  /** @param source {@displayType `DeepPartial<BarcodeFormatDataBarConfiguration>`} */
814
901
  constructor(source = {}) {
815
- super();
816
902
  if (source.regexFilter !== undefined) {
817
903
  this.regexFilter = source.regexFilter;
818
904
  }
@@ -828,6 +914,9 @@ export class BarcodeFormatDataBarConfiguration extends PartiallyConstructible {
828
914
  if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
829
915
  this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
830
916
  }
917
+ if (source.oneDConfirmationMode !== undefined) {
918
+ this.oneDConfirmationMode = source.oneDConfirmationMode;
919
+ }
831
920
  if (source.gs1Handling !== undefined) {
832
921
  this.gs1Handling = source.gs1Handling;
833
922
  }
@@ -837,7 +926,7 @@ export class BarcodeFormatDataBarConfiguration extends PartiallyConstructible {
837
926
  /**
838
927
  GS1 DataBar Expanded barcode configuration. Add to scanner configuration to scan GS1 DataBar Expanded and GS1 DataBar Expanded Stacked barcodes.
839
928
  */
840
- export class BarcodeFormatDataBarExpandedConfiguration extends PartiallyConstructible {
929
+ export class BarcodeFormatDataBarExpandedConfiguration {
841
930
  _type = 'BarcodeFormatDataBarExpandedConfiguration';
842
931
  /**
843
932
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -875,6 +964,12 @@ export class BarcodeFormatDataBarExpandedConfiguration extends PartiallyConstruc
875
964
  Default is 1
876
965
  */
877
966
  minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
967
+ /**
968
+ Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
969
+
970
+ Default is THOROUGH
971
+ */
972
+ oneDConfirmationMode = 'THOROUGH';
878
973
  /**
879
974
  GS1 message handling options.
880
975
 
@@ -884,7 +979,6 @@ export class BarcodeFormatDataBarExpandedConfiguration extends PartiallyConstruc
884
979
 
885
980
  /** @param source {@displayType `DeepPartial<BarcodeFormatDataBarExpandedConfiguration>`} */
886
981
  constructor(source = {}) {
887
- super();
888
982
  if (source.regexFilter !== undefined) {
889
983
  this.regexFilter = source.regexFilter;
890
984
  }
@@ -900,6 +994,9 @@ export class BarcodeFormatDataBarExpandedConfiguration extends PartiallyConstruc
900
994
  if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
901
995
  this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
902
996
  }
997
+ if (source.oneDConfirmationMode !== undefined) {
998
+ this.oneDConfirmationMode = source.oneDConfirmationMode;
999
+ }
903
1000
  if (source.gs1Handling !== undefined) {
904
1001
  this.gs1Handling = source.gs1Handling;
905
1002
  }
@@ -909,7 +1006,7 @@ export class BarcodeFormatDataBarExpandedConfiguration extends PartiallyConstruc
909
1006
  /**
910
1007
  GS1 DataBar Limited barcode configuration. Add to scanner configuration to scan GS1 DataBar Limited barcodes.
911
1008
  */
912
- export class BarcodeFormatDataBarLimitedConfiguration extends PartiallyConstructible {
1009
+ export class BarcodeFormatDataBarLimitedConfiguration {
913
1010
  _type = 'BarcodeFormatDataBarLimitedConfiguration';
914
1011
  /**
915
1012
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -947,6 +1044,12 @@ export class BarcodeFormatDataBarLimitedConfiguration extends PartiallyConstruct
947
1044
  Default is 1
948
1045
  */
949
1046
  minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
1047
+ /**
1048
+ Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
1049
+
1050
+ Default is THOROUGH
1051
+ */
1052
+ oneDConfirmationMode = 'THOROUGH';
950
1053
  /**
951
1054
  GS1 message handling options.
952
1055
 
@@ -956,7 +1059,6 @@ export class BarcodeFormatDataBarLimitedConfiguration extends PartiallyConstruct
956
1059
 
957
1060
  /** @param source {@displayType `DeepPartial<BarcodeFormatDataBarLimitedConfiguration>`} */
958
1061
  constructor(source = {}) {
959
- super();
960
1062
  if (source.regexFilter !== undefined) {
961
1063
  this.regexFilter = source.regexFilter;
962
1064
  }
@@ -972,6 +1074,9 @@ export class BarcodeFormatDataBarLimitedConfiguration extends PartiallyConstruct
972
1074
  if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
973
1075
  this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
974
1076
  }
1077
+ if (source.oneDConfirmationMode !== undefined) {
1078
+ this.oneDConfirmationMode = source.oneDConfirmationMode;
1079
+ }
975
1080
  if (source.gs1Handling !== undefined) {
976
1081
  this.gs1Handling = source.gs1Handling;
977
1082
  }
@@ -981,7 +1086,7 @@ export class BarcodeFormatDataBarLimitedConfiguration extends PartiallyConstruct
981
1086
  /**
982
1087
  ITF (Interleaved 2-of-5) barcode configuration. Add to scanner configuration to scan Interleaved 2-of-5 (ITF) barcodes.
983
1088
  */
984
- export class BarcodeFormatItfConfiguration extends PartiallyConstructible {
1089
+ export class BarcodeFormatItfConfiguration {
985
1090
  _type = 'BarcodeFormatITFConfiguration';
986
1091
  /**
987
1092
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -1019,6 +1124,12 @@ export class BarcodeFormatItfConfiguration extends PartiallyConstructible {
1019
1124
  Default is 1
1020
1125
  */
1021
1126
  minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
1127
+ /**
1128
+ Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
1129
+
1130
+ Default is THOROUGH
1131
+ */
1132
+ oneDConfirmationMode = 'THOROUGH';
1022
1133
  /**
1023
1134
  Minimum text length. Applied only to linear barcode formats that allow variable length.
1024
1135
 
@@ -1031,10 +1142,15 @@ export class BarcodeFormatItfConfiguration extends PartiallyConstructible {
1031
1142
  Default is 0
1032
1143
  */
1033
1144
  maximumTextLength = 0;
1145
+ /**
1146
+ If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
1147
+
1148
+ Default is true
1149
+ */
1150
+ enableOneDBlurScanner = true;
1034
1151
 
1035
1152
  /** @param source {@displayType `DeepPartial<BarcodeFormatItfConfiguration>`} */
1036
1153
  constructor(source = {}) {
1037
- super();
1038
1154
  if (source.regexFilter !== undefined) {
1039
1155
  this.regexFilter = source.regexFilter;
1040
1156
  }
@@ -1050,12 +1166,18 @@ export class BarcodeFormatItfConfiguration extends PartiallyConstructible {
1050
1166
  if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
1051
1167
  this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
1052
1168
  }
1169
+ if (source.oneDConfirmationMode !== undefined) {
1170
+ this.oneDConfirmationMode = source.oneDConfirmationMode;
1171
+ }
1053
1172
  if (source.minimumTextLength !== undefined) {
1054
1173
  this.minimumTextLength = source.minimumTextLength;
1055
1174
  }
1056
1175
  if (source.maximumTextLength !== undefined) {
1057
1176
  this.maximumTextLength = source.maximumTextLength;
1058
1177
  }
1178
+ if (source.enableOneDBlurScanner !== undefined) {
1179
+ this.enableOneDBlurScanner = source.enableOneDBlurScanner;
1180
+ }
1059
1181
  }
1060
1182
  }
1061
1183
 
@@ -1076,12 +1198,13 @@ Checksum algorithm for MSI_PLESSEY.
1076
1198
  Modulo 1110 NCR.
1077
1199
  */
1078
1200
 
1201
+ /** @hidden */
1079
1202
  export const MsiPlesseyChecksumAlgorithmValues = ['MOD_10', 'MOD_11_IBM', 'MOD_11_NCR', 'MOD_10_10', 'MOD_11_10_IBM', 'MOD_11_10_NCR'];
1080
1203
 
1081
1204
  /**
1082
1205
  MSI Plessey barcode configuration. Add to scanner configuration to scan MSI Plessey barcodes.
1083
1206
  */
1084
- export class BarcodeFormatMsiPlesseyConfiguration extends PartiallyConstructible {
1207
+ export class BarcodeFormatMsiPlesseyConfiguration {
1085
1208
  _type = 'BarcodeFormatMSIPlesseyConfiguration';
1086
1209
  /**
1087
1210
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -1119,6 +1242,12 @@ export class BarcodeFormatMsiPlesseyConfiguration extends PartiallyConstructible
1119
1242
  Default is 1
1120
1243
  */
1121
1244
  minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
1245
+ /**
1246
+ Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
1247
+
1248
+ Default is THOROUGH
1249
+ */
1250
+ oneDConfirmationMode = 'THOROUGH';
1122
1251
  /**
1123
1252
  If true, the check digits are stripped from the result.
1124
1253
 
@@ -1137,6 +1266,12 @@ export class BarcodeFormatMsiPlesseyConfiguration extends PartiallyConstructible
1137
1266
  Default is 0
1138
1267
  */
1139
1268
  maximumTextLength = 0;
1269
+ /**
1270
+ If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
1271
+
1272
+ Default is true
1273
+ */
1274
+ enableOneDBlurScanner = true;
1140
1275
  /**
1141
1276
  List of MSI Plessey checksum algorithms to apply during scanning.
1142
1277
  A barcode is considered valid if it passes any of the checksum algorithms in the list.
@@ -1146,7 +1281,6 @@ export class BarcodeFormatMsiPlesseyConfiguration extends PartiallyConstructible
1146
1281
 
1147
1282
  /** @param source {@displayType `DeepPartial<BarcodeFormatMsiPlesseyConfiguration>`} */
1148
1283
  constructor(source = {}) {
1149
- super();
1150
1284
  if (source.regexFilter !== undefined) {
1151
1285
  this.regexFilter = source.regexFilter;
1152
1286
  }
@@ -1162,6 +1296,9 @@ export class BarcodeFormatMsiPlesseyConfiguration extends PartiallyConstructible
1162
1296
  if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
1163
1297
  this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
1164
1298
  }
1299
+ if (source.oneDConfirmationMode !== undefined) {
1300
+ this.oneDConfirmationMode = source.oneDConfirmationMode;
1301
+ }
1165
1302
  if (source.stripCheckDigits !== undefined) {
1166
1303
  this.stripCheckDigits = source.stripCheckDigits;
1167
1304
  }
@@ -1171,6 +1308,9 @@ export class BarcodeFormatMsiPlesseyConfiguration extends PartiallyConstructible
1171
1308
  if (source.maximumTextLength !== undefined) {
1172
1309
  this.maximumTextLength = source.maximumTextLength;
1173
1310
  }
1311
+ if (source.enableOneDBlurScanner !== undefined) {
1312
+ this.enableOneDBlurScanner = source.enableOneDBlurScanner;
1313
+ }
1174
1314
  if (source.checksumAlgorithms !== undefined) {
1175
1315
  this.checksumAlgorithms = source.checksumAlgorithms.map(it => {
1176
1316
  return it;
@@ -1182,7 +1322,7 @@ export class BarcodeFormatMsiPlesseyConfiguration extends PartiallyConstructible
1182
1322
  /**
1183
1323
  UPC/EAN barcode configuration. Add to scanner configuration to scan EAN-8, EAN-13, UPC-E and UPC-A barcodes.
1184
1324
  */
1185
- export class BarcodeFormatUpcEanConfiguration extends PartiallyConstructible {
1325
+ export class BarcodeFormatUpcEanConfiguration {
1186
1326
  _type = 'BarcodeFormatUpcEanConfiguration';
1187
1327
  /**
1188
1328
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -1220,12 +1360,25 @@ export class BarcodeFormatUpcEanConfiguration extends PartiallyConstructible {
1220
1360
  Default is 1
1221
1361
  */
1222
1362
  minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
1363
+ /**
1364
+ Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
1365
+
1366
+ Default is THOROUGH
1367
+ */
1368
+ oneDConfirmationMode = 'THOROUGH';
1223
1369
  /**
1224
1370
  If true, the check digits are stripped from the result.
1225
1371
 
1226
1372
  Default is false
1227
1373
  */
1228
1374
  stripCheckDigits = false;
1375
+ /**
1376
+ If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
1377
+ Enabling this option may increase the number of misreads (false positives).
1378
+
1379
+ Default is false
1380
+ */
1381
+ enableOneDBlurScanner = false;
1229
1382
  /**
1230
1383
  If true, scan and return valid EAN-8 barcodes.
1231
1384
 
@@ -1268,7 +1421,6 @@ export class BarcodeFormatUpcEanConfiguration extends PartiallyConstructible {
1268
1421
 
1269
1422
  /** @param source {@displayType `DeepPartial<BarcodeFormatUpcEanConfiguration>`} */
1270
1423
  constructor(source = {}) {
1271
- super();
1272
1424
  if (source.regexFilter !== undefined) {
1273
1425
  this.regexFilter = source.regexFilter;
1274
1426
  }
@@ -1284,9 +1436,15 @@ export class BarcodeFormatUpcEanConfiguration extends PartiallyConstructible {
1284
1436
  if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
1285
1437
  this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
1286
1438
  }
1439
+ if (source.oneDConfirmationMode !== undefined) {
1440
+ this.oneDConfirmationMode = source.oneDConfirmationMode;
1441
+ }
1287
1442
  if (source.stripCheckDigits !== undefined) {
1288
1443
  this.stripCheckDigits = source.stripCheckDigits;
1289
1444
  }
1445
+ if (source.enableOneDBlurScanner !== undefined) {
1446
+ this.enableOneDBlurScanner = source.enableOneDBlurScanner;
1447
+ }
1290
1448
  if (source.ean8 !== undefined) {
1291
1449
  this.ean8 = source.ean8;
1292
1450
  }
@@ -1311,7 +1469,7 @@ export class BarcodeFormatUpcEanConfiguration extends PartiallyConstructible {
1311
1469
  /**
1312
1470
  PharmaCode barcode configuration. Add to scanner configuration to scan linear (1D) Laetus Pharmacode barcodes. Two-track PharmaCode scanning is configured separately through the PharmaCodeTwoTrackConfig class.
1313
1471
  */
1314
- export class BarcodeFormatPharmaCodeConfiguration extends PartiallyConstructible {
1472
+ export class BarcodeFormatPharmaCodeConfiguration {
1315
1473
  _type = 'BarcodeFormatPharmaCodeConfiguration';
1316
1474
  /**
1317
1475
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -1349,6 +1507,12 @@ export class BarcodeFormatPharmaCodeConfiguration extends PartiallyConstructible
1349
1507
  Default is 1
1350
1508
  */
1351
1509
  minimumNumberOfRequiredFramesWithEqualRecognitionResult = 1;
1510
+ /**
1511
+ Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
1512
+
1513
+ Default is THOROUGH
1514
+ */
1515
+ oneDConfirmationMode = 'THOROUGH';
1352
1516
  /**
1353
1517
  Minimum value for PharmaCode. Very low values are likely to produce more false positives.
1354
1518
 
@@ -1370,7 +1534,6 @@ export class BarcodeFormatPharmaCodeConfiguration extends PartiallyConstructible
1370
1534
 
1371
1535
  /** @param source {@displayType `DeepPartial<BarcodeFormatPharmaCodeConfiguration>`} */
1372
1536
  constructor(source = {}) {
1373
- super();
1374
1537
  if (source.regexFilter !== undefined) {
1375
1538
  this.regexFilter = source.regexFilter;
1376
1539
  }
@@ -1386,6 +1549,9 @@ export class BarcodeFormatPharmaCodeConfiguration extends PartiallyConstructible
1386
1549
  if (source.minimumNumberOfRequiredFramesWithEqualRecognitionResult !== undefined) {
1387
1550
  this.minimumNumberOfRequiredFramesWithEqualRecognitionResult = source.minimumNumberOfRequiredFramesWithEqualRecognitionResult;
1388
1551
  }
1552
+ if (source.oneDConfirmationMode !== undefined) {
1553
+ this.oneDConfirmationMode = source.oneDConfirmationMode;
1554
+ }
1389
1555
  if (source.minimumValue !== undefined) {
1390
1556
  this.minimumValue = source.minimumValue;
1391
1557
  }
@@ -1404,7 +1570,7 @@ Base class for all 2D barcode configurations.
1404
1570
  /** @internal */
1405
1571
  export let BarcodeFormatTwoDConfigurationBase;
1406
1572
  (function (_BarcodeFormatTwoDConfigurationBase) {
1407
- function From(source) {
1573
+ function from(source) {
1408
1574
  const _type = source._type;
1409
1575
  switch (_type) {
1410
1576
  case 'BarcodeFormatAztecConfiguration':
@@ -1420,15 +1586,15 @@ export let BarcodeFormatTwoDConfigurationBase;
1420
1586
  case 'BarcodeFormatMaxiCodeConfiguration':
1421
1587
  return new BarcodeFormatMaxiCodeConfiguration(source);
1422
1588
  default:
1423
- throw `Unknown child class name: ${_type}`;
1589
+ throw new Error(`Unknown child class name: ${_type}`);
1424
1590
  }
1425
1591
  }
1426
- _BarcodeFormatTwoDConfigurationBase.From = From;
1592
+ _BarcodeFormatTwoDConfigurationBase.from = from;
1427
1593
  })(BarcodeFormatTwoDConfigurationBase || (BarcodeFormatTwoDConfigurationBase = {}));
1428
1594
  /**
1429
1595
  Aztec configuration. Add to scanner configuration to scan Aztec codes.
1430
1596
  */
1431
- export class BarcodeFormatAztecConfiguration extends PartiallyConstructible {
1597
+ export class BarcodeFormatAztecConfiguration {
1432
1598
  _type = 'BarcodeFormatAztecConfiguration';
1433
1599
  /**
1434
1600
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -1460,7 +1626,6 @@ export class BarcodeFormatAztecConfiguration extends PartiallyConstructible {
1460
1626
 
1461
1627
  /** @param source {@displayType `DeepPartial<BarcodeFormatAztecConfiguration>`} */
1462
1628
  constructor(source = {}) {
1463
- super();
1464
1629
  if (source.regexFilter !== undefined) {
1465
1630
  this.regexFilter = source.regexFilter;
1466
1631
  }
@@ -1479,7 +1644,7 @@ export class BarcodeFormatAztecConfiguration extends PartiallyConstructible {
1479
1644
  /**
1480
1645
  QR Code configuration. Add to scanner configuration to scan QR codes, Micro QR codes and rectangular Micro QR (rMQR) codes.
1481
1646
  */
1482
- export class BarcodeFormatQrCodeConfiguration extends PartiallyConstructible {
1647
+ export class BarcodeFormatQrCodeConfiguration {
1483
1648
  _type = 'BarcodeFormatQRCodeConfiguration';
1484
1649
  /**
1485
1650
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -1535,7 +1700,6 @@ export class BarcodeFormatQrCodeConfiguration extends PartiallyConstructible {
1535
1700
 
1536
1701
  /** @param source {@displayType `DeepPartial<BarcodeFormatQrCodeConfiguration>`} */
1537
1702
  constructor(source = {}) {
1538
- super();
1539
1703
  if (source.regexFilter !== undefined) {
1540
1704
  this.regexFilter = source.regexFilter;
1541
1705
  }
@@ -1566,7 +1730,7 @@ export class BarcodeFormatQrCodeConfiguration extends PartiallyConstructible {
1566
1730
  /**
1567
1731
  PDF417 configuration. Add to scanner configuration to scan PDF417 codes.
1568
1732
  */
1569
- export class BarcodeFormatPdf417Configuration extends PartiallyConstructible {
1733
+ export class BarcodeFormatPdf417Configuration {
1570
1734
  _type = 'BarcodeFormatPDF417Configuration';
1571
1735
  /**
1572
1736
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -1604,7 +1768,6 @@ export class BarcodeFormatPdf417Configuration extends PartiallyConstructible {
1604
1768
 
1605
1769
  /** @param source {@displayType `DeepPartial<BarcodeFormatPdf417Configuration>`} */
1606
1770
  constructor(source = {}) {
1607
- super();
1608
1771
  if (source.regexFilter !== undefined) {
1609
1772
  this.regexFilter = source.regexFilter;
1610
1773
  }
@@ -1626,7 +1789,7 @@ export class BarcodeFormatPdf417Configuration extends PartiallyConstructible {
1626
1789
  /**
1627
1790
  MicroPDF417 configuration. Add to scanner configuration to scan MicroPDF417 codes.
1628
1791
  */
1629
- export class BarcodeFormatMicroPdf417Configuration extends PartiallyConstructible {
1792
+ export class BarcodeFormatMicroPdf417Configuration {
1630
1793
  _type = 'BarcodeFormatMicroPDF417Configuration';
1631
1794
  /**
1632
1795
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -1664,7 +1827,6 @@ export class BarcodeFormatMicroPdf417Configuration extends PartiallyConstructibl
1664
1827
 
1665
1828
  /** @param source {@displayType `DeepPartial<BarcodeFormatMicroPdf417Configuration>`} */
1666
1829
  constructor(source = {}) {
1667
- super();
1668
1830
  if (source.regexFilter !== undefined) {
1669
1831
  this.regexFilter = source.regexFilter;
1670
1832
  }
@@ -1686,7 +1848,7 @@ export class BarcodeFormatMicroPdf417Configuration extends PartiallyConstructibl
1686
1848
  /**
1687
1849
  DataMatrix configuration. Add to scanner configuration to scan DataMatrix and DataMatrix rectangular extensions (DMRE) codes.
1688
1850
  */
1689
- export class BarcodeFormatDataMatrixConfiguration extends PartiallyConstructible {
1851
+ export class BarcodeFormatDataMatrixConfiguration {
1690
1852
  _type = 'BarcodeFormatDataMatrixConfiguration';
1691
1853
  /**
1692
1854
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -1718,7 +1880,6 @@ export class BarcodeFormatDataMatrixConfiguration extends PartiallyConstructible
1718
1880
 
1719
1881
  /** @param source {@displayType `DeepPartial<BarcodeFormatDataMatrixConfiguration>`} */
1720
1882
  constructor(source = {}) {
1721
- super();
1722
1883
  if (source.regexFilter !== undefined) {
1723
1884
  this.regexFilter = source.regexFilter;
1724
1885
  }
@@ -1737,7 +1898,7 @@ export class BarcodeFormatDataMatrixConfiguration extends PartiallyConstructible
1737
1898
  /**
1738
1899
  MaxiCode configuration. Add to scanner configuration to scan MaxiCode codes.
1739
1900
  */
1740
- export class BarcodeFormatMaxiCodeConfiguration extends PartiallyConstructible {
1901
+ export class BarcodeFormatMaxiCodeConfiguration {
1741
1902
  _type = 'BarcodeFormatMaxiCodeConfiguration';
1742
1903
  /**
1743
1904
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -1763,7 +1924,6 @@ export class BarcodeFormatMaxiCodeConfiguration extends PartiallyConstructible {
1763
1924
 
1764
1925
  /** @param source {@displayType `DeepPartial<BarcodeFormatMaxiCodeConfiguration>`} */
1765
1926
  constructor(source = {}) {
1766
- super();
1767
1927
  if (source.regexFilter !== undefined) {
1768
1928
  this.regexFilter = source.regexFilter;
1769
1929
  }
@@ -1782,7 +1942,7 @@ Base class for all four-state barcode configurations.
1782
1942
  /** @internal */
1783
1943
  export let BarcodeFormatFourStateConfigurationBase;
1784
1944
  (function (_BarcodeFormatFourStateConfigurationBase) {
1785
- function From(source) {
1945
+ function from(source) {
1786
1946
  const _type = source._type;
1787
1947
  switch (_type) {
1788
1948
  case 'BarcodeFormatAustraliaPostConfiguration':
@@ -1798,10 +1958,10 @@ export let BarcodeFormatFourStateConfigurationBase;
1798
1958
  case 'BarcodeFormatPharmaCodeTwoTrackConfiguration':
1799
1959
  return new BarcodeFormatPharmaCodeTwoTrackConfiguration(source);
1800
1960
  default:
1801
- throw `Unknown child class name: ${_type}`;
1961
+ throw new Error(`Unknown child class name: ${_type}`);
1802
1962
  }
1803
1963
  }
1804
- _BarcodeFormatFourStateConfigurationBase.From = From;
1964
+ _BarcodeFormatFourStateConfigurationBase.from = from;
1805
1965
  })(BarcodeFormatFourStateConfigurationBase || (BarcodeFormatFourStateConfigurationBase = {}));
1806
1966
  /**
1807
1967
  Can be either numeric or alphanumeric and is only relevant for Format Codes 59 and 62.
@@ -1811,12 +1971,13 @@ Can be either numeric or alphanumeric and is only relevant for Format Codes 59 a
1811
1971
  - `ALPHA_NUMERIC`:
1812
1972
  AlphaNumeric.
1813
1973
  */
1974
+ /** @hidden */
1814
1975
  export const AustraliaPostCustomerFormatValues = ['NUMERIC', 'ALPHA_NUMERIC'];
1815
1976
 
1816
1977
  /**
1817
1978
  Australia Post barcode configuration. Add to scanner configuration to scan Australia Post barcodes.
1818
1979
  */
1819
- export class BarcodeFormatAustraliaPostConfiguration extends PartiallyConstructible {
1980
+ export class BarcodeFormatAustraliaPostConfiguration {
1820
1981
  _type = 'BarcodeFormatAustraliaPostConfiguration';
1821
1982
  /**
1822
1983
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -1848,7 +2009,6 @@ export class BarcodeFormatAustraliaPostConfiguration extends PartiallyConstructi
1848
2009
 
1849
2010
  /** @param source {@displayType `DeepPartial<BarcodeFormatAustraliaPostConfiguration>`} */
1850
2011
  constructor(source = {}) {
1851
- super();
1852
2012
  if (source.regexFilter !== undefined) {
1853
2013
  this.regexFilter = source.regexFilter;
1854
2014
  }
@@ -1867,7 +2027,7 @@ export class BarcodeFormatAustraliaPostConfiguration extends PartiallyConstructi
1867
2027
  /**
1868
2028
  Japan Post barcode configuration. Add to scanner configuration to scan Japan Post barcodes.
1869
2029
  */
1870
- export class BarcodeFormatJapanPostConfiguration extends PartiallyConstructible {
2030
+ export class BarcodeFormatJapanPostConfiguration {
1871
2031
  _type = 'BarcodeFormatJapanPostConfiguration';
1872
2032
  /**
1873
2033
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -1893,7 +2053,6 @@ export class BarcodeFormatJapanPostConfiguration extends PartiallyConstructible
1893
2053
 
1894
2054
  /** @param source {@displayType `DeepPartial<BarcodeFormatJapanPostConfiguration>`} */
1895
2055
  constructor(source = {}) {
1896
- super();
1897
2056
  if (source.regexFilter !== undefined) {
1898
2057
  this.regexFilter = source.regexFilter;
1899
2058
  }
@@ -1909,7 +2068,7 @@ export class BarcodeFormatJapanPostConfiguration extends PartiallyConstructible
1909
2068
  /**
1910
2069
  Royal Mail barcode configuration. Add to scanner configuration to scan Royal Mail (a.k.a. RM4SCC, CBC, BPO 4-State) barcodes.
1911
2070
  */
1912
- export class BarcodeFormatRoyalMailConfiguration extends PartiallyConstructible {
2071
+ export class BarcodeFormatRoyalMailConfiguration {
1913
2072
  _type = 'BarcodeFormatRoyalMailConfiguration';
1914
2073
  /**
1915
2074
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -1941,7 +2100,6 @@ export class BarcodeFormatRoyalMailConfiguration extends PartiallyConstructible
1941
2100
 
1942
2101
  /** @param source {@displayType `DeepPartial<BarcodeFormatRoyalMailConfiguration>`} */
1943
2102
  constructor(source = {}) {
1944
- super();
1945
2103
  if (source.regexFilter !== undefined) {
1946
2104
  this.regexFilter = source.regexFilter;
1947
2105
  }
@@ -1960,7 +2118,7 @@ export class BarcodeFormatRoyalMailConfiguration extends PartiallyConstructible
1960
2118
  /**
1961
2119
  Royal TNT Post barcode configuration. Add to scanner configuration to scan Royal TNT Post (a.k.a. KIX, Klant IndeX) barcodes.
1962
2120
  */
1963
- export class BarcodeFormatRoyalTntPostConfiguration extends PartiallyConstructible {
2121
+ export class BarcodeFormatRoyalTntPostConfiguration {
1964
2122
  _type = 'BarcodeFormatRoyalTNTPostConfiguration';
1965
2123
  /**
1966
2124
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -1986,7 +2144,6 @@ export class BarcodeFormatRoyalTntPostConfiguration extends PartiallyConstructib
1986
2144
 
1987
2145
  /** @param source {@displayType `DeepPartial<BarcodeFormatRoyalTntPostConfiguration>`} */
1988
2146
  constructor(source = {}) {
1989
- super();
1990
2147
  if (source.regexFilter !== undefined) {
1991
2148
  this.regexFilter = source.regexFilter;
1992
2149
  }
@@ -2002,7 +2159,7 @@ export class BarcodeFormatRoyalTntPostConfiguration extends PartiallyConstructib
2002
2159
  /**
2003
2160
  USPS Intelligent Mail barcode configuration. Add to scanner configuration to scan USPS Intelligent Mail (a.k.a. USPS OneCode, USPS-STD-11) barcodes.
2004
2161
  */
2005
- export class BarcodeFormatUspsIntelligentMailConfiguration extends PartiallyConstructible {
2162
+ export class BarcodeFormatUspsIntelligentMailConfiguration {
2006
2163
  _type = 'BarcodeFormatUSPSIntelligentMailConfiguration';
2007
2164
  /**
2008
2165
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -2028,7 +2185,6 @@ export class BarcodeFormatUspsIntelligentMailConfiguration extends PartiallyCons
2028
2185
 
2029
2186
  /** @param source {@displayType `DeepPartial<BarcodeFormatUspsIntelligentMailConfiguration>`} */
2030
2187
  constructor(source = {}) {
2031
- super();
2032
2188
  if (source.regexFilter !== undefined) {
2033
2189
  this.regexFilter = source.regexFilter;
2034
2190
  }
@@ -2044,7 +2200,7 @@ export class BarcodeFormatUspsIntelligentMailConfiguration extends PartiallyCons
2044
2200
  /**
2045
2201
  PHARMA_CODE_TWO_TRACK barcode configuration. Add to scanner configuration to scan Laetus two-track PharmaCode barcodes. Linear (i.e. one-track) PharmaCode scanning is configured separately through the PharmaCodeConfig class.
2046
2202
  */
2047
- export class BarcodeFormatPharmaCodeTwoTrackConfiguration extends PartiallyConstructible {
2203
+ export class BarcodeFormatPharmaCodeTwoTrackConfiguration {
2048
2204
  _type = 'BarcodeFormatPharmaCodeTwoTrackConfiguration';
2049
2205
  /**
2050
2206
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -2076,7 +2232,6 @@ export class BarcodeFormatPharmaCodeTwoTrackConfiguration extends PartiallyConst
2076
2232
 
2077
2233
  /** @param source {@displayType `DeepPartial<BarcodeFormatPharmaCodeTwoTrackConfiguration>`} */
2078
2234
  constructor(source = {}) {
2079
- super();
2080
2235
  if (source.regexFilter !== undefined) {
2081
2236
  this.regexFilter = source.regexFilter;
2082
2237
  }
@@ -2106,7 +2261,7 @@ the enabled formats.
2106
2261
  If GS1 Composite scanning is disabled, but GS1 message validation is enabled, then the parts of the composite barcode may
2107
2262
  fail validation and be rejected.
2108
2263
  */
2109
- export class BarcodeFormatGs1CompositeConfiguration extends PartiallyConstructible {
2264
+ export class BarcodeFormatGs1CompositeConfiguration {
2110
2265
  _type = 'BarcodeFormatGS1CompositeConfiguration';
2111
2266
  /**
2112
2267
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -2151,7 +2306,6 @@ export class BarcodeFormatGs1CompositeConfiguration extends PartiallyConstructib
2151
2306
 
2152
2307
  /** @param source {@displayType `DeepPartial<BarcodeFormatGs1CompositeConfiguration>`} */
2153
2308
  constructor(source = {}) {
2154
- super();
2155
2309
  if (source.regexFilter !== undefined) {
2156
2310
  this.regexFilter = source.regexFilter;
2157
2311
  }
@@ -2181,7 +2335,7 @@ The given configuration will be applied to all enabled barcode formats, if they
2181
2335
  You can override the common configuration for individual barcode formats by additionally adding
2182
2336
  their specific configuration to the scanner's configuration.
2183
2337
  */
2184
- export class BarcodeFormatCommonOneDConfiguration extends PartiallyConstructible {
2338
+ export class BarcodeFormatCommonOneDConfiguration {
2185
2339
  _type = 'BarcodeFormatCommonOneDConfiguration';
2186
2340
  /**
2187
2341
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -2243,6 +2397,12 @@ export class BarcodeFormatCommonOneDConfiguration extends PartiallyConstructible
2243
2397
  Default is PARSE
2244
2398
  */
2245
2399
  gs1Handling = 'PARSE';
2400
+ /**
2401
+ Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
2402
+
2403
+ Default is THOROUGH
2404
+ */
2405
+ oneDConfirmationMode = 'THOROUGH';
2246
2406
  /**
2247
2407
  List of linear (1D) barcode formats to scan.
2248
2408
  */
@@ -2250,7 +2410,6 @@ export class BarcodeFormatCommonOneDConfiguration extends PartiallyConstructible
2250
2410
 
2251
2411
  /** @param source {@displayType `DeepPartial<BarcodeFormatCommonOneDConfiguration>`} */
2252
2412
  constructor(source = {}) {
2253
- super();
2254
2413
  if (source.regexFilter !== undefined) {
2255
2414
  this.regexFilter = source.regexFilter;
2256
2415
  }
@@ -2278,6 +2437,9 @@ export class BarcodeFormatCommonOneDConfiguration extends PartiallyConstructible
2278
2437
  if (source.gs1Handling !== undefined) {
2279
2438
  this.gs1Handling = source.gs1Handling;
2280
2439
  }
2440
+ if (source.oneDConfirmationMode !== undefined) {
2441
+ this.oneDConfirmationMode = source.oneDConfirmationMode;
2442
+ }
2281
2443
  if (source.formats !== undefined) {
2282
2444
  this.formats = source.formats.map(it => {
2283
2445
  return it;
@@ -2294,7 +2456,7 @@ The given configuration will be applied to all enabled barcode formats, if they
2294
2456
  You can override the common configuration for individual barcode formats by additionally adding
2295
2457
  their specific configuration to the scanner's configuration.
2296
2458
  */
2297
- export class BarcodeFormatCommonTwoDConfiguration extends PartiallyConstructible {
2459
+ export class BarcodeFormatCommonTwoDConfiguration {
2298
2460
  _type = 'BarcodeFormatCommonTwoDConfiguration';
2299
2461
  /**
2300
2462
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -2336,7 +2498,6 @@ export class BarcodeFormatCommonTwoDConfiguration extends PartiallyConstructible
2336
2498
 
2337
2499
  /** @param source {@displayType `DeepPartial<BarcodeFormatCommonTwoDConfiguration>`} */
2338
2500
  constructor(source = {}) {
2339
- super();
2340
2501
  if (source.regexFilter !== undefined) {
2341
2502
  this.regexFilter = source.regexFilter;
2342
2503
  }
@@ -2368,7 +2529,7 @@ The given configuration will be applied to all enabled barcode formats, if they
2368
2529
  You can override the common configuration for individual barcode formats by additionally adding
2369
2530
  their specific configuration to the scanner's configuration.
2370
2531
  */
2371
- export class BarcodeFormatCommonFourStateConfiguration extends PartiallyConstructible {
2532
+ export class BarcodeFormatCommonFourStateConfiguration {
2372
2533
  _type = 'BarcodeFormatCommonFourStateConfiguration';
2373
2534
  /**
2374
2535
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -2398,7 +2559,6 @@ export class BarcodeFormatCommonFourStateConfiguration extends PartiallyConstruc
2398
2559
 
2399
2560
  /** @param source {@displayType `DeepPartial<BarcodeFormatCommonFourStateConfiguration>`} */
2400
2561
  constructor(source = {}) {
2401
- super();
2402
2562
  if (source.regexFilter !== undefined) {
2403
2563
  this.regexFilter = source.regexFilter;
2404
2564
  }
@@ -2424,7 +2584,7 @@ The given configuration will be applied to all enabled barcode formats, if they
2424
2584
  You can override the common configuration for individual barcode formats by additionally adding
2425
2585
  their specific configuration to the scanner's configuration.
2426
2586
  */
2427
- export class BarcodeFormatCommonConfiguration extends PartiallyConstructible {
2587
+ export class BarcodeFormatCommonConfiguration {
2428
2588
  _type = 'BarcodeFormatCommonConfiguration';
2429
2589
  /**
2430
2590
  Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
@@ -2492,14 +2652,19 @@ export class BarcodeFormatCommonConfiguration extends PartiallyConstructible {
2492
2652
  Default is true
2493
2653
  */
2494
2654
  strictMode = true;
2655
+ /**
2656
+ Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
2657
+
2658
+ Default is THOROUGH
2659
+ */
2660
+ oneDConfirmationMode = 'THOROUGH';
2495
2661
  /**
2496
2662
  List of barcode formats to scan. By default, the most commonly used formats are enabled.
2497
2663
  */
2498
- formats = ['AZTEC', 'CODABAR', 'CODE_39', 'CODE_93', 'CODE_128', 'DATA_MATRIX', 'DATABAR', 'DATABAR_EXPANDED', 'DATABAR_LIMITED', 'EAN_13', 'EAN_8', 'ITF', 'MICRO_QR_CODE', 'PDF_417', 'QR_CODE', 'UPC_A', 'UPC_E'];
2664
+ formats = ['AZTEC', 'CODABAR', 'CODE_39', 'CODE_93', 'CODE_128', 'DATA_MATRIX', 'DATABAR', 'DATABAR_EXPANDED', 'DATABAR_LIMITED', 'EAN_13', 'EAN_8', 'ITF', 'PDF_417', 'QR_CODE', 'UPC_A', 'UPC_E'];
2499
2665
 
2500
2666
  /** @param source {@displayType `DeepPartial<BarcodeFormatCommonConfiguration>`} */
2501
2667
  constructor(source = {}) {
2502
- super();
2503
2668
  if (source.regexFilter !== undefined) {
2504
2669
  this.regexFilter = source.regexFilter;
2505
2670
  }
@@ -2530,6 +2695,9 @@ export class BarcodeFormatCommonConfiguration extends PartiallyConstructible {
2530
2695
  if (source.strictMode !== undefined) {
2531
2696
  this.strictMode = source.strictMode;
2532
2697
  }
2698
+ if (source.oneDConfirmationMode !== undefined) {
2699
+ this.oneDConfirmationMode = source.oneDConfirmationMode;
2700
+ }
2533
2701
  if (source.formats !== undefined) {
2534
2702
  this.formats = source.formats.map(it => {
2535
2703
  return it;