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.
- package/LICENSE +1 -1
- package/Libraries.txt +437 -17
- package/README.md +32 -34
- package/RNScanbotBarcodeSDK.podspec +3 -2
- package/android/gradle.properties +3 -3
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkModule.kt +117 -69
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/ScanbotBarcodeSdkPluginResultDelegate.kt +3 -2
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/ScanbotBarcodeScannerView.kt +76 -50
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/ScanbotBarcodeScannerViewEvents.kt +24 -1
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/ScanbotBarcodeScannerViewManager.kt +66 -55
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/components/barcode_scanner_view/models/ScanbotBarcodeScannerModels.kt +1 -1
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/extensions/Extensions.kt +19 -0
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerLegacyView.h +8 -7
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerLegacyView.m +92 -221
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerView.h +12 -8
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerView.mm +147 -317
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewController+Utils.swift +74 -0
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewController.swift +429 -0
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewManager.mm +17 -23
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewOperators.h +95 -0
- package/ios/ScanbotBarcodeSdk.m +58 -76
- package/ios/ScanbotBarcodeSdkPluginResultDelegate.m +2 -6
- package/lib/commonjs/Barcode.js +51 -0
- package/lib/commonjs/Barcode.js.map +1 -0
- package/lib/commonjs/ImageProcessor.js +24 -0
- package/lib/commonjs/ImageProcessor.js.map +1 -0
- package/lib/commonjs/Sdk.js +57 -0
- package/lib/commonjs/Sdk.js.map +1 -0
- package/lib/commonjs/{component → components}/barcode-camera-view/ScanbotBarcodeCameraView.js +14 -9
- package/lib/commonjs/components/barcode-camera-view/ScanbotBarcodeCameraView.js.map +1 -0
- package/lib/commonjs/components/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js.map +1 -0
- package/lib/commonjs/components/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js.map +1 -0
- package/lib/commonjs/{component/barcode-camera-view → components}/index.js +3 -3
- package/lib/commonjs/components/index.js.map +1 -0
- package/lib/commonjs/components/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +1 -0
- package/lib/commonjs/impl/BarcodeScannerImpl.js +59 -0
- package/lib/commonjs/impl/BarcodeScannerImpl.js.map +1 -0
- package/lib/commonjs/impl/ImageProcessorImpl.js +20 -0
- package/lib/commonjs/impl/ImageProcessorImpl.js.map +1 -0
- package/lib/commonjs/impl/SdkImpl.js +27 -0
- package/lib/commonjs/impl/SdkImpl.js.map +1 -0
- package/lib/commonjs/impl/index.js +39 -0
- package/lib/commonjs/impl/index.js.map +1 -0
- package/lib/commonjs/impl/scanbotBarcodeSDKModule.js +22 -0
- package/lib/commonjs/impl/scanbotBarcodeSDKModule.js.map +1 -0
- package/lib/commonjs/index.js +18 -162
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/types/base/SdkConfiguration.js +106 -0
- package/lib/commonjs/types/base/SdkConfiguration.js.map +1 -0
- package/lib/commonjs/{base/barcodeSDKConfigurations.js → types/base/customTypes.js} +1 -1
- package/lib/commonjs/types/base/customTypes.js.map +1 -0
- package/lib/commonjs/types/base/errors.js +139 -0
- package/lib/commonjs/types/base/errors.js.map +1 -0
- package/lib/commonjs/types/base/index.js +50 -0
- package/lib/commonjs/types/base/index.js.map +1 -0
- package/lib/commonjs/types/base/utils.js +59 -0
- package/lib/commonjs/types/base/utils.js.map +1 -0
- package/lib/commonjs/{barcode → types/core/barcode}/BarcodeConfigurationTypes.js +244 -74
- package/lib/commonjs/types/core/barcode/BarcodeConfigurationTypes.js.map +1 -0
- package/lib/commonjs/{barcode → types/core/barcode}/BarcodeDocumentTypes.js +62 -10
- package/lib/commonjs/types/core/barcode/BarcodeDocumentTypes.js.map +1 -0
- package/lib/commonjs/{barcode → types/core/barcode}/BarcodeScannerTypes.js +39 -28
- package/lib/commonjs/types/core/barcode/BarcodeScannerTypes.js.map +1 -0
- package/lib/commonjs/{barcode → types/core/barcode}/BarcodeTypes.js +31 -12
- package/lib/commonjs/types/core/barcode/BarcodeTypes.js.map +1 -0
- package/lib/commonjs/types/core/barcode/index.js.map +1 -0
- package/lib/commonjs/types/core/camera/Camera.js +23 -0
- package/lib/commonjs/types/core/camera/Camera.js.map +1 -0
- package/lib/commonjs/types/core/camera/index.js +17 -0
- package/lib/commonjs/types/core/camera/index.js.map +1 -0
- package/lib/commonjs/types/core/common/CommonTypes.js +29 -0
- package/lib/commonjs/types/core/common/CommonTypes.js.map +1 -0
- package/lib/commonjs/{utils/json → types/core/common}/JsonSerializationTypes.js +2 -3
- package/lib/commonjs/types/core/common/JsonSerializationTypes.js.map +1 -0
- package/lib/commonjs/types/core/common/index.js +28 -0
- package/lib/commonjs/types/core/common/index.js.map +1 -0
- package/lib/commonjs/{documents → types/core/generic_document}/BarcodeDocumentModel.js +1131 -160
- package/lib/commonjs/types/core/generic_document/BarcodeDocumentModel.js.map +1 -0
- package/lib/commonjs/{documents → types/core/generic_document}/CommonFieldType.js +6 -3
- package/lib/commonjs/types/core/generic_document/CommonFieldType.js.map +1 -0
- package/lib/commonjs/{documents → types/core/generic_document}/GenericDocument.js +13 -18
- package/lib/commonjs/types/core/generic_document/GenericDocument.js.map +1 -0
- package/lib/commonjs/types/core/generic_document/index.js.map +1 -0
- package/lib/commonjs/{utils → types/core}/geometry/Geometry.js +4 -8
- package/lib/commonjs/types/core/geometry/Geometry.js.map +1 -0
- package/lib/commonjs/types/core/geometry/index.js +17 -0
- package/lib/commonjs/types/core/geometry/index.js.map +1 -0
- package/lib/commonjs/{imageRef → types/core/image}/ImageRefTypes.js +157 -69
- package/lib/commonjs/types/core/image/ImageRefTypes.js.map +1 -0
- package/lib/commonjs/types/core/image/ImageTypes.js +41 -0
- package/lib/commonjs/types/core/image/ImageTypes.js.map +1 -0
- package/lib/commonjs/{imageRef → types/core/image}/image.js +54 -50
- package/lib/commonjs/types/core/image/image.js.map +1 -0
- package/lib/commonjs/{imageRef → types/core/image}/index.js +0 -11
- package/lib/commonjs/types/core/image/index.js.map +1 -0
- package/lib/commonjs/types/core/index.js +105 -0
- package/lib/commonjs/types/core/index.js.map +1 -0
- package/lib/commonjs/types/core/licensing/LicensingTypes.js +239 -0
- package/lib/commonjs/types/core/licensing/LicensingTypes.js.map +1 -0
- package/lib/commonjs/types/core/licensing/index.js +17 -0
- package/lib/commonjs/types/core/licensing/index.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/ArTrackingOverlayConfiguration.js +8 -14
- package/lib/commonjs/types/core/ui_v2/barcode/ArTrackingOverlayConfiguration.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeInfoMapping.js +4 -8
- package/lib/commonjs/types/core/ui_v2/barcode/BarcodeInfoMapping.js.map +1 -0
- package/lib/commonjs/types/core/ui_v2/barcode/BarcodeItemMapper.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerScreenConfiguration.js +17 -19
- package/lib/commonjs/types/core/ui_v2/barcode/BarcodeScannerScreenConfiguration.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerUiResult.js +3 -6
- package/lib/commonjs/types/core/ui_v2/barcode/BarcodeScannerUiResult.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeTextLocalization.js +1 -3
- package/lib/commonjs/types/core/ui_v2/barcode/BarcodeTextLocalization.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeUseCase.js +6 -6
- package/lib/commonjs/types/core/ui_v2/barcode/BarcodeUseCase.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/FindAndPickScanningModeUseCase.js +6 -9
- package/lib/commonjs/types/core/ui_v2/barcode/FindAndPickScanningModeUseCase.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/MultipleScanningModeUseCase.js +11 -14
- package/lib/commonjs/types/core/ui_v2/barcode/MultipleScanningModeUseCase.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/SingleScanningModeUseCase.js +4 -6
- package/lib/commonjs/types/core/ui_v2/barcode/SingleScanningModeUseCase.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/ActionBarConfiguration.js +2 -4
- package/lib/commonjs/types/core/ui_v2/common/ActionBarConfiguration.js.map +1 -0
- package/lib/commonjs/types/core/ui_v2/common/BottomBarConfiguration.js +23 -0
- package/lib/commonjs/types/core/ui_v2/common/BottomBarConfiguration.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/CameraConfiguration.js +11 -3
- package/lib/commonjs/types/core/ui_v2/common/CameraConfiguration.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/CameraPermission.js +2 -4
- package/lib/commonjs/types/core/ui_v2/common/CameraPermission.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/Common.js +20 -35
- package/lib/commonjs/types/core/ui_v2/common/Common.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/NavigationBarConfiguration.js +1 -0
- package/lib/commonjs/types/core/ui_v2/common/NavigationBarConfiguration.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/ScanCompletionOverlay.js +2 -4
- package/lib/commonjs/types/core/ui_v2/common/ScanCompletionOverlay.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/ScanbotAlertDialog.js +2 -4
- package/lib/commonjs/types/core/ui_v2/common/ScanbotAlertDialog.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/TopBarConfiguration.js +4 -4
- package/lib/commonjs/types/core/ui_v2/common/TopBarConfiguration.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/UserGuidanceConfiguration.js +3 -6
- package/lib/commonjs/types/core/ui_v2/common/UserGuidanceConfiguration.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/common/ViewFinderConfiguration.js +14 -19
- package/lib/commonjs/types/core/ui_v2/common/ViewFinderConfiguration.js.map +1 -0
- package/lib/commonjs/{ui_v2 → types/core/ui_v2}/index.js +15 -15
- package/lib/commonjs/types/core/ui_v2/index.js.map +1 -0
- package/lib/commonjs/{imageRef → types/core/utils}/ObjectPoolTypes.js +2 -4
- package/lib/commonjs/types/core/utils/ObjectPoolTypes.js.map +1 -0
- package/lib/commonjs/types/core/utils/index.js +28 -0
- package/lib/commonjs/types/core/utils/index.js.map +1 -0
- package/lib/commonjs/types/core/utils/utils.js +10 -0
- package/lib/commonjs/types/core/utils/utils.js.map +1 -0
- package/lib/commonjs/types/index.js +28 -0
- package/lib/commonjs/types/index.js.map +1 -0
- package/lib/module/Barcode.js +45 -0
- package/lib/module/Barcode.js.map +1 -0
- package/lib/module/ImageProcessor.js +19 -0
- package/lib/module/ImageProcessor.js.map +1 -0
- package/lib/module/Sdk.js +51 -0
- package/lib/module/Sdk.js.map +1 -0
- package/lib/module/{component → components}/barcode-camera-view/ScanbotBarcodeCameraView.js +10 -4
- package/lib/module/components/barcode-camera-view/ScanbotBarcodeCameraView.js.map +1 -0
- package/lib/module/components/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js.map +1 -0
- package/lib/module/components/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js.map +1 -0
- package/lib/module/components/index.js +4 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/components/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +1 -0
- package/lib/module/impl/BarcodeScannerImpl.js +53 -0
- package/lib/module/impl/BarcodeScannerImpl.js.map +1 -0
- package/lib/module/impl/ImageProcessorImpl.js +15 -0
- package/lib/module/impl/ImageProcessorImpl.js.map +1 -0
- package/lib/module/impl/SdkImpl.js +22 -0
- package/lib/module/impl/SdkImpl.js.map +1 -0
- package/lib/module/impl/index.js +4 -0
- package/lib/module/impl/index.js.map +1 -0
- package/lib/module/impl/scanbotBarcodeSDKModule.js +16 -0
- package/lib/module/impl/scanbotBarcodeSDKModule.js.map +1 -0
- package/lib/module/index.js +5 -119
- package/lib/module/index.js.map +1 -1
- package/lib/module/types/base/SdkConfiguration.js +100 -0
- package/lib/module/types/base/SdkConfiguration.js.map +1 -0
- package/lib/module/types/base/customTypes.js +2 -0
- package/lib/module/types/base/customTypes.js.map +1 -0
- package/lib/module/types/base/errors.js +119 -0
- package/lib/module/types/base/errors.js.map +1 -0
- package/lib/module/types/base/index.js +5 -0
- package/lib/module/types/base/index.js.map +1 -0
- package/lib/module/types/base/utils.js +52 -0
- package/lib/module/types/base/utils.js.map +1 -0
- package/lib/module/{barcode → types/core/barcode}/BarcodeConfigurationTypes.js +244 -76
- package/lib/module/types/core/barcode/BarcodeConfigurationTypes.js.map +1 -0
- package/lib/module/{barcode → types/core/barcode}/BarcodeDocumentTypes.js +60 -9
- package/lib/module/types/core/barcode/BarcodeDocumentTypes.js.map +1 -0
- package/lib/module/{barcode → types/core/barcode}/BarcodeScannerTypes.js +39 -28
- package/lib/module/types/core/barcode/BarcodeScannerTypes.js.map +1 -0
- package/lib/module/{barcode → types/core/barcode}/BarcodeTypes.js +30 -11
- package/lib/module/types/core/barcode/BarcodeTypes.js.map +1 -0
- package/lib/module/types/core/barcode/index.js.map +1 -0
- package/lib/module/types/core/camera/Camera.js +17 -0
- package/lib/module/types/core/camera/Camera.js.map +1 -0
- package/lib/module/types/core/camera/index.js +2 -0
- package/lib/module/types/core/camera/index.js.map +1 -0
- package/lib/module/types/core/common/CommonTypes.js +23 -0
- package/lib/module/types/core/common/CommonTypes.js.map +1 -0
- package/lib/module/{utils/json → types/core/common}/JsonSerializationTypes.js +2 -4
- package/lib/module/types/core/common/JsonSerializationTypes.js.map +1 -0
- package/lib/module/types/core/common/index.js +3 -0
- package/lib/module/types/core/common/index.js.map +1 -0
- package/lib/module/{documents → types/core/generic_document}/BarcodeDocumentModel.js +1129 -159
- package/lib/module/types/core/generic_document/BarcodeDocumentModel.js.map +1 -0
- package/lib/module/{documents → types/core/generic_document}/CommonFieldType.js +6 -3
- package/lib/module/types/core/generic_document/CommonFieldType.js.map +1 -0
- package/lib/module/{documents → types/core/generic_document}/GenericDocument.js +13 -18
- package/lib/module/types/core/generic_document/GenericDocument.js.map +1 -0
- package/lib/module/types/core/generic_document/index.js.map +1 -0
- package/lib/module/{utils → types/core}/geometry/Geometry.js +4 -9
- package/lib/module/types/core/geometry/Geometry.js.map +1 -0
- package/lib/module/types/core/geometry/index.js +2 -0
- package/lib/module/types/core/geometry/index.js.map +1 -0
- package/lib/module/{imageRef → types/core/image}/ImageRefTypes.js +156 -68
- package/lib/module/types/core/image/ImageRefTypes.js.map +1 -0
- package/lib/module/types/core/image/ImageTypes.js +35 -0
- package/lib/module/types/core/image/ImageTypes.js.map +1 -0
- package/lib/module/{imageRef → types/core/image}/image.js +54 -49
- package/lib/module/types/core/image/image.js.map +1 -0
- package/lib/module/{imageRef → types/core/image}/index.js +0 -1
- package/lib/module/types/core/image/index.js.map +1 -0
- package/lib/module/types/core/index.js +10 -0
- package/lib/module/types/core/index.js.map +1 -0
- package/lib/module/types/core/licensing/LicensingTypes.js +233 -0
- package/lib/module/types/core/licensing/LicensingTypes.js.map +1 -0
- package/lib/module/types/core/licensing/index.js +2 -0
- package/lib/module/types/core/licensing/index.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/ArTrackingOverlayConfiguration.js +8 -14
- package/lib/module/types/core/ui_v2/barcode/ArTrackingOverlayConfiguration.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeInfoMapping.js +4 -9
- package/lib/module/types/core/ui_v2/barcode/BarcodeInfoMapping.js.map +1 -0
- package/lib/module/types/core/ui_v2/barcode/BarcodeItemMapper.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerScreenConfiguration.js +17 -19
- package/lib/module/types/core/ui_v2/barcode/BarcodeScannerScreenConfiguration.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerUiResult.js +3 -7
- package/lib/module/types/core/ui_v2/barcode/BarcodeScannerUiResult.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeTextLocalization.js +1 -4
- package/lib/module/types/core/ui_v2/barcode/BarcodeTextLocalization.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeUseCase.js +6 -6
- package/lib/module/types/core/ui_v2/barcode/BarcodeUseCase.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/FindAndPickScanningModeUseCase.js +6 -9
- package/lib/module/types/core/ui_v2/barcode/FindAndPickScanningModeUseCase.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/MultipleScanningModeUseCase.js +11 -14
- package/lib/module/types/core/ui_v2/barcode/MultipleScanningModeUseCase.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/SingleScanningModeUseCase.js +4 -6
- package/lib/module/types/core/ui_v2/barcode/SingleScanningModeUseCase.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/ActionBarConfiguration.js +2 -4
- package/lib/module/types/core/ui_v2/common/ActionBarConfiguration.js.map +1 -0
- package/lib/module/types/core/ui_v2/common/BottomBarConfiguration.js +17 -0
- package/lib/module/types/core/ui_v2/common/BottomBarConfiguration.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/CameraConfiguration.js +11 -4
- package/lib/module/types/core/ui_v2/common/CameraConfiguration.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/CameraPermission.js +2 -5
- package/lib/module/types/core/ui_v2/common/CameraPermission.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/Common.js +20 -36
- package/lib/module/types/core/ui_v2/common/Common.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/NavigationBarConfiguration.js +1 -0
- package/lib/module/types/core/ui_v2/common/NavigationBarConfiguration.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/ScanCompletionOverlay.js +2 -4
- package/lib/module/types/core/ui_v2/common/ScanCompletionOverlay.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/ScanbotAlertDialog.js +2 -4
- package/lib/module/types/core/ui_v2/common/ScanbotAlertDialog.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/TopBarConfiguration.js +4 -4
- package/lib/module/types/core/ui_v2/common/TopBarConfiguration.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/UserGuidanceConfiguration.js +3 -6
- package/lib/module/types/core/ui_v2/common/UserGuidanceConfiguration.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/common/ViewFinderConfiguration.js +14 -19
- package/lib/module/types/core/ui_v2/common/ViewFinderConfiguration.js.map +1 -0
- package/lib/module/{ui_v2 → types/core/ui_v2}/index.js +2 -2
- package/lib/module/types/core/ui_v2/index.js.map +1 -0
- package/lib/module/{imageRef → types/core/utils}/ObjectPoolTypes.js +2 -5
- package/lib/module/types/core/utils/ObjectPoolTypes.js.map +1 -0
- package/lib/module/types/core/utils/index.js +3 -0
- package/lib/module/types/core/utils/index.js.map +1 -0
- package/lib/module/types/core/utils/utils.js +8 -0
- package/lib/module/types/core/utils/utils.js.map +1 -0
- package/lib/module/types/index.js +3 -0
- package/lib/module/types/index.js.map +1 -0
- package/lib/typescript/src/Barcode.d.ts +47 -0
- package/lib/typescript/src/Barcode.d.ts.map +1 -0
- package/lib/typescript/src/ImageProcessor.d.ts +12 -0
- package/lib/typescript/src/ImageProcessor.d.ts.map +1 -0
- package/lib/typescript/src/Sdk.d.ts +58 -0
- package/lib/typescript/src/Sdk.d.ts.map +1 -0
- package/lib/typescript/src/components/barcode-camera-view/ScanbotBarcodeCameraView.d.ts.map +1 -0
- package/lib/typescript/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewProperties.d.ts +17 -12
- package/lib/typescript/src/components/barcode-camera-view/ScanbotBarcodeCameraViewProperties.d.ts.map +1 -0
- package/lib/typescript/src/components/barcode-camera-view/ScanbotBarcodeCameraViewTypes.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +4 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -0
- package/lib/typescript/src/{component → components}/spec/ScanbotBarcodeScannerViewNativeComponent.d.ts +6 -0
- package/lib/typescript/src/components/spec/ScanbotBarcodeScannerViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/impl/BarcodeScannerImpl.d.ts +2 -0
- package/lib/typescript/src/impl/BarcodeScannerImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/ImageProcessorImpl.d.ts +2 -0
- package/lib/typescript/src/impl/ImageProcessorImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/SdkImpl.d.ts +2 -0
- package/lib/typescript/src/impl/SdkImpl.d.ts.map +1 -0
- package/lib/typescript/src/impl/index.d.ts +4 -0
- package/lib/typescript/src/impl/index.d.ts.map +1 -0
- package/lib/typescript/src/impl/scanbotBarcodeSDKModule.d.ts +2 -0
- package/lib/typescript/src/impl/scanbotBarcodeSDKModule.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +5 -66
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/types/base/SdkConfiguration.d.ts +74 -0
- package/lib/typescript/src/types/base/SdkConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/types/base/customTypes.d.ts +15 -0
- package/lib/typescript/src/types/base/customTypes.d.ts.map +1 -0
- package/lib/typescript/src/types/base/errors.d.ts +55 -0
- package/lib/typescript/src/types/base/errors.d.ts.map +1 -0
- package/lib/typescript/src/types/base/index.d.ts +5 -0
- package/lib/typescript/src/types/base/index.d.ts.map +1 -0
- package/lib/typescript/src/types/base/utils.d.ts +3 -0
- package/lib/typescript/src/types/base/utils.d.ts.map +1 -0
- package/lib/typescript/src/{barcode → types/core/barcode}/BarcodeConfigurationTypes.d.ts +203 -36
- package/lib/typescript/src/types/core/barcode/BarcodeConfigurationTypes.d.ts.map +1 -0
- package/lib/typescript/src/types/core/barcode/BarcodeDocumentTypes.d.ts +117 -0
- package/lib/typescript/src/types/core/barcode/BarcodeDocumentTypes.d.ts.map +1 -0
- package/lib/typescript/src/{barcode → types/core/barcode}/BarcodeScannerTypes.d.ts +68 -21
- package/lib/typescript/src/types/core/barcode/BarcodeScannerTypes.d.ts.map +1 -0
- package/lib/typescript/src/{barcode → types/core/barcode}/BarcodeTypes.d.ts +390 -13
- package/lib/typescript/src/types/core/barcode/BarcodeTypes.d.ts.map +1 -0
- package/lib/typescript/src/types/core/barcode/index.d.ts.map +1 -0
- package/lib/typescript/src/types/core/camera/Camera.d.ts +26 -0
- package/lib/typescript/src/types/core/camera/Camera.d.ts.map +1 -0
- package/lib/typescript/src/types/core/camera/index.d.ts +2 -0
- package/lib/typescript/src/types/core/camera/index.d.ts.map +1 -0
- package/lib/typescript/src/types/core/common/CommonTypes.d.ts +36 -0
- package/lib/typescript/src/types/core/common/CommonTypes.d.ts.map +1 -0
- package/lib/typescript/src/{utils/json → types/core/common}/JsonSerializationTypes.d.ts +13 -4
- package/lib/typescript/src/types/core/common/JsonSerializationTypes.d.ts.map +1 -0
- package/lib/typescript/src/types/core/common/index.d.ts +3 -0
- package/lib/typescript/src/types/core/common/index.d.ts.map +1 -0
- package/lib/typescript/src/types/core/generic_document/BarcodeDocumentModel.d.ts +2360 -0
- package/lib/typescript/src/types/core/generic_document/BarcodeDocumentModel.d.ts.map +1 -0
- package/lib/typescript/src/types/core/generic_document/CommonFieldType.d.ts +176 -0
- package/lib/typescript/src/types/core/generic_document/CommonFieldType.d.ts.map +1 -0
- package/lib/typescript/src/{documents → types/core/generic_document}/GenericDocument.d.ts +82 -14
- package/lib/typescript/src/types/core/generic_document/GenericDocument.d.ts.map +1 -0
- package/lib/typescript/src/types/core/generic_document/index.d.ts.map +1 -0
- package/lib/typescript/src/{utils → types/core}/geometry/Geometry.d.ts +6 -5
- package/lib/typescript/src/types/core/geometry/Geometry.d.ts.map +1 -0
- package/lib/typescript/src/types/core/geometry/index.d.ts +2 -0
- package/lib/typescript/src/types/core/geometry/index.d.ts.map +1 -0
- package/lib/typescript/src/{imageRef → types/core/image}/ImageRefTypes.d.ts +208 -40
- package/lib/typescript/src/types/core/image/ImageRefTypes.d.ts.map +1 -0
- package/lib/typescript/src/types/core/image/ImageTypes.d.ts +63 -0
- package/lib/typescript/src/types/core/image/ImageTypes.d.ts.map +1 -0
- package/lib/typescript/src/{imageRef → types/core/image}/image.d.ts +6 -10
- package/lib/typescript/src/types/core/image/image.d.ts.map +1 -0
- package/lib/typescript/src/{imageRef → types/core/image}/index.d.ts +0 -1
- package/lib/typescript/src/types/core/image/index.d.ts.map +1 -0
- package/lib/typescript/src/types/core/index.d.ts +10 -0
- package/lib/typescript/src/types/core/index.d.ts.map +1 -0
- package/lib/typescript/src/types/core/licensing/LicensingTypes.d.ts +243 -0
- package/lib/typescript/src/types/core/licensing/LicensingTypes.d.ts.map +1 -0
- package/lib/typescript/src/types/core/licensing/index.d.ts +2 -0
- package/lib/typescript/src/types/core/licensing/index.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/ArTrackingOverlayConfiguration.d.ts +27 -10
- package/lib/typescript/src/types/core/ui_v2/barcode/ArTrackingOverlayConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeInfoMapping.d.ts +6 -6
- package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeInfoMapping.d.ts.map +1 -0
- package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeItemMapper.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerScreenConfiguration.d.ts +14 -14
- package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeScannerScreenConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerUiResult.d.ts +4 -4
- package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeScannerUiResult.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeTextLocalization.d.ts +2 -2
- package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeTextLocalization.d.ts.map +1 -0
- package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeUseCase.d.ts +8 -0
- package/lib/typescript/src/types/core/ui_v2/barcode/BarcodeUseCase.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/FindAndPickScanningModeUseCase.d.ts +6 -6
- package/lib/typescript/src/types/core/ui_v2/barcode/FindAndPickScanningModeUseCase.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/MultipleScanningModeUseCase.d.ts +42 -15
- package/lib/typescript/src/types/core/ui_v2/barcode/MultipleScanningModeUseCase.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/SingleScanningModeUseCase.d.ts +5 -5
- package/lib/typescript/src/types/core/ui_v2/barcode/SingleScanningModeUseCase.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/ActionBarConfiguration.d.ts +3 -3
- package/lib/typescript/src/types/core/ui_v2/common/ActionBarConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/types/core/ui_v2/common/BottomBarConfiguration.d.ts +26 -0
- package/lib/typescript/src/types/core/ui_v2/common/BottomBarConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/CameraConfiguration.d.ts +25 -5
- package/lib/typescript/src/types/core/ui_v2/common/CameraConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/CameraPermission.d.ts +4 -4
- package/lib/typescript/src/types/core/ui_v2/common/CameraPermission.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/Common.d.ts +55 -24
- package/lib/typescript/src/types/core/ui_v2/common/Common.d.ts.map +1 -0
- package/lib/typescript/src/types/core/ui_v2/common/NavigationBarConfiguration.d.ts +26 -0
- package/lib/typescript/src/types/core/ui_v2/common/NavigationBarConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/ScanCompletionOverlay.d.ts +3 -3
- package/lib/typescript/src/types/core/ui_v2/common/ScanCompletionOverlay.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/ScanbotAlertDialog.d.ts +3 -3
- package/lib/typescript/src/types/core/ui_v2/common/ScanbotAlertDialog.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/TopBarConfiguration.d.ts +33 -7
- package/lib/typescript/src/types/core/ui_v2/common/TopBarConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/UserGuidanceConfiguration.d.ts +4 -4
- package/lib/typescript/src/types/core/ui_v2/common/UserGuidanceConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/common/ViewFinderConfiguration.d.ts +7 -7
- package/lib/typescript/src/types/core/ui_v2/common/ViewFinderConfiguration.d.ts.map +1 -0
- package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/index.d.ts +2 -2
- package/lib/typescript/src/types/core/ui_v2/index.d.ts.map +1 -0
- package/lib/typescript/src/{imageRef → types/core/utils}/ObjectPoolTypes.d.ts +3 -3
- package/lib/typescript/src/types/core/utils/ObjectPoolTypes.d.ts.map +1 -0
- package/lib/typescript/src/types/core/utils/index.d.ts +3 -0
- package/lib/typescript/src/types/core/utils/index.d.ts.map +1 -0
- package/lib/typescript/src/types/core/utils/utils.d.ts +28 -0
- package/lib/typescript/src/types/core/utils/utils.d.ts.map +1 -0
- package/lib/typescript/src/types/index.d.ts +3 -0
- package/lib/typescript/src/types/index.d.ts.map +1 -0
- package/package.json +13 -13
- package/src/Barcode.ts +67 -0
- package/src/ImageProcessor.ts +18 -0
- package/src/Sdk.ts +53 -0
- package/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraView.tsx +13 -4
- package/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewProperties.ts +22 -14
- package/src/components/index.ts +3 -0
- package/src/{component → components}/spec/ScanbotBarcodeScannerViewNativeComponent.ts +3 -0
- package/src/impl/BarcodeScannerImpl.ts +115 -0
- package/src/impl/ImageProcessorImpl.ts +14 -0
- package/src/impl/SdkImpl.ts +28 -0
- package/src/impl/index.ts +3 -0
- package/src/impl/scanbotBarcodeSDKModule.ts +22 -0
- package/src/index.ts +5 -178
- package/src/types/base/SdkConfiguration.ts +120 -0
- package/src/types/base/customTypes.ts +14 -0
- package/src/types/base/errors.ts +158 -0
- package/src/types/base/index.ts +4 -0
- package/src/types/base/utils.ts +53 -0
- package/src/{barcode → types/core/barcode}/BarcodeConfigurationTypes.ts +294 -83
- package/src/types/core/barcode/BarcodeDocumentTypes.ts +218 -0
- package/src/{barcode → types/core/barcode}/BarcodeScannerTypes.ts +91 -44
- package/src/{barcode → types/core/barcode}/BarcodeTypes.ts +315 -19
- package/src/types/core/camera/Camera.ts +33 -0
- package/src/types/core/camera/index.ts +1 -0
- package/src/types/core/common/CommonTypes.ts +43 -0
- package/src/{utils/json → types/core/common}/JsonSerializationTypes.ts +16 -5
- package/src/types/core/common/index.ts +2 -0
- package/src/{documents → types/core/generic_document}/BarcodeDocumentModel.ts +1524 -172
- package/src/{documents → types/core/generic_document}/CommonFieldType.ts +96 -7
- package/src/{documents → types/core/generic_document}/GenericDocument.ts +77 -28
- package/src/{utils → types/core}/geometry/Geometry.ts +6 -8
- package/src/types/core/geometry/index.ts +1 -0
- package/src/{imageRef → types/core/image}/ImageRefTypes.ts +277 -83
- package/src/types/core/image/ImageTypes.ts +78 -0
- package/src/{imageRef → types/core/image}/image.ts +44 -76
- package/src/{imageRef → types/core/image}/index.ts +0 -1
- package/src/types/core/index.ts +9 -0
- package/src/types/core/licensing/LicensingTypes.ts +377 -0
- package/src/types/core/licensing/index.ts +1 -0
- package/src/{ui_v2 → types/core/ui_v2}/barcode/ArTrackingOverlayConfiguration.ts +28 -17
- package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeInfoMapping.ts +6 -9
- package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerScreenConfiguration.ts +18 -25
- package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeScannerUiResult.ts +5 -7
- package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeTextLocalization.ts +2 -3
- package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeUseCase.ts +6 -5
- package/src/{ui_v2 → types/core/ui_v2}/barcode/FindAndPickScanningModeUseCase.ts +17 -19
- package/src/{ui_v2 → types/core/ui_v2}/barcode/MultipleScanningModeUseCase.ts +50 -25
- package/src/{ui_v2 → types/core/ui_v2}/barcode/SingleScanningModeUseCase.ts +9 -10
- package/src/{ui_v2 → types/core/ui_v2}/common/ActionBarConfiguration.ts +3 -4
- package/src/types/core/ui_v2/common/BottomBarConfiguration.ts +33 -0
- package/src/{ui_v2 → types/core/ui_v2}/common/CameraConfiguration.ts +33 -7
- package/src/{ui_v2 → types/core/ui_v2}/common/CameraPermission.ts +4 -5
- package/src/{ui_v2 → types/core/ui_v2}/common/Common.ts +62 -41
- package/src/{ui_v2 → types/core/ui_v2}/common/NavigationBarConfiguration.ts +19 -2
- package/src/{ui_v2 → types/core/ui_v2}/common/ScanCompletionOverlay.ts +3 -4
- package/src/{ui_v2 → types/core/ui_v2}/common/ScanbotAlertDialog.ts +3 -4
- package/src/{ui_v2 → types/core/ui_v2}/common/TopBarConfiguration.ts +37 -13
- package/src/{ui_v2 → types/core/ui_v2}/common/UserGuidanceConfiguration.ts +4 -6
- package/src/{ui_v2 → types/core/ui_v2}/common/ViewFinderConfiguration.ts +15 -17
- package/src/{ui_v2 → types/core/ui_v2}/index.ts +2 -4
- package/src/{imageRef → types/core/utils}/ObjectPoolTypes.ts +3 -4
- package/src/types/core/utils/index.ts +2 -0
- package/src/types/core/utils/utils.ts +45 -0
- package/src/types/index.ts +2 -0
- package/android/src/main/java/io/scanbot/barcodesdk/plugin/reactnative/extensions/IntExtensions.kt +0 -7
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewControllerWrapper.h +0 -121
- package/ios/Components/BarcodeScannerView/RNScanbotBarcodeScannerViewControllerWrapper.m +0 -307
- package/lib/commonjs/barcode/BarcodeConfigurationTypes.js.map +0 -1
- package/lib/commonjs/barcode/BarcodeDocumentTypes.js.map +0 -1
- package/lib/commonjs/barcode/BarcodeScannerTypes.js.map +0 -1
- package/lib/commonjs/barcode/BarcodeTypes.js.map +0 -1
- package/lib/commonjs/barcode/index.js.map +0 -1
- package/lib/commonjs/base/barcodeSDKConfigurations.js.map +0 -1
- package/lib/commonjs/base/barcodeSDKTypes.js +0 -2
- package/lib/commonjs/base/barcodeSDKTypes.js.map +0 -1
- package/lib/commonjs/base/index.js +0 -28
- package/lib/commonjs/base/index.js.map +0 -1
- package/lib/commonjs/component/barcode-camera-view/ScanbotBarcodeCameraView.js.map +0 -1
- package/lib/commonjs/component/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js.map +0 -1
- package/lib/commonjs/component/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js.map +0 -1
- package/lib/commonjs/component/barcode-camera-view/index.js.map +0 -1
- package/lib/commonjs/component/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +0 -1
- package/lib/commonjs/documents/BarcodeDocumentModel.js.map +0 -1
- package/lib/commonjs/documents/CommonFieldType.js.map +0 -1
- package/lib/commonjs/documents/GenericDocument.js.map +0 -1
- package/lib/commonjs/documents/index.js.map +0 -1
- package/lib/commonjs/imageRef/ImageRefTypes.js.map +0 -1
- package/lib/commonjs/imageRef/ImageTypes.js +0 -24
- package/lib/commonjs/imageRef/ImageTypes.js.map +0 -1
- package/lib/commonjs/imageRef/ObjectPoolTypes.js.map +0 -1
- package/lib/commonjs/imageRef/image.js.map +0 -1
- package/lib/commonjs/imageRef/index.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/ArTrackingOverlayConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/BarcodeInfoMapping.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/BarcodeItemMapper.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/BarcodeScannerConfiguration.js +0 -179
- package/lib/commonjs/ui_v2/barcode/BarcodeScannerConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/BarcodeScannerScreenConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/BarcodeScannerUiResult.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/BarcodeTextLocalization.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/BarcodeUseCase.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/FindAndPickScanningModeUseCase.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/MultipleScanningModeUseCase.js.map +0 -1
- package/lib/commonjs/ui_v2/barcode/SingleScanningModeUseCase.js.map +0 -1
- package/lib/commonjs/ui_v2/common/ActionBarConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/common/CameraConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/common/CameraPermission.js.map +0 -1
- package/lib/commonjs/ui_v2/common/Common.js.map +0 -1
- package/lib/commonjs/ui_v2/common/NavigationBarConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/common/ScanCompletionOverlay.js.map +0 -1
- package/lib/commonjs/ui_v2/common/ScanbotAlertDialog.js.map +0 -1
- package/lib/commonjs/ui_v2/common/TopBarConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/common/UserGuidanceConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/common/ViewFinderConfiguration.js.map +0 -1
- package/lib/commonjs/ui_v2/index.js.map +0 -1
- package/lib/commonjs/utils/geometry/Geometry.js.map +0 -1
- package/lib/commonjs/utils/index.js +0 -39
- package/lib/commonjs/utils/index.js.map +0 -1
- package/lib/commonjs/utils/json/JsonSerializationTypes.js.map +0 -1
- package/lib/commonjs/utils/utils.js +0 -31
- package/lib/commonjs/utils/utils.js.map +0 -1
- package/lib/module/barcode/BarcodeConfigurationTypes.js.map +0 -1
- package/lib/module/barcode/BarcodeDocumentTypes.js.map +0 -1
- package/lib/module/barcode/BarcodeScannerTypes.js.map +0 -1
- package/lib/module/barcode/BarcodeTypes.js.map +0 -1
- package/lib/module/barcode/index.js.map +0 -1
- package/lib/module/base/barcodeSDKConfigurations.js +0 -2
- package/lib/module/base/barcodeSDKConfigurations.js.map +0 -1
- package/lib/module/base/barcodeSDKTypes.js +0 -2
- package/lib/module/base/barcodeSDKTypes.js.map +0 -1
- package/lib/module/base/index.js +0 -3
- package/lib/module/base/index.js.map +0 -1
- package/lib/module/component/barcode-camera-view/ScanbotBarcodeCameraView.js.map +0 -1
- package/lib/module/component/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js.map +0 -1
- package/lib/module/component/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js.map +0 -1
- package/lib/module/component/barcode-camera-view/index.js +0 -4
- package/lib/module/component/barcode-camera-view/index.js.map +0 -1
- package/lib/module/component/spec/ScanbotBarcodeScannerViewNativeComponent.js.map +0 -1
- package/lib/module/documents/BarcodeDocumentModel.js.map +0 -1
- package/lib/module/documents/CommonFieldType.js.map +0 -1
- package/lib/module/documents/GenericDocument.js.map +0 -1
- package/lib/module/documents/index.js.map +0 -1
- package/lib/module/imageRef/ImageRefTypes.js.map +0 -1
- package/lib/module/imageRef/ImageTypes.js +0 -18
- package/lib/module/imageRef/ImageTypes.js.map +0 -1
- package/lib/module/imageRef/ObjectPoolTypes.js.map +0 -1
- package/lib/module/imageRef/image.js.map +0 -1
- package/lib/module/imageRef/index.js.map +0 -1
- package/lib/module/ui_v2/barcode/ArTrackingOverlayConfiguration.js.map +0 -1
- package/lib/module/ui_v2/barcode/BarcodeInfoMapping.js.map +0 -1
- package/lib/module/ui_v2/barcode/BarcodeItemMapper.js.map +0 -1
- package/lib/module/ui_v2/barcode/BarcodeScannerConfiguration.js +0 -173
- package/lib/module/ui_v2/barcode/BarcodeScannerConfiguration.js.map +0 -1
- package/lib/module/ui_v2/barcode/BarcodeScannerScreenConfiguration.js.map +0 -1
- package/lib/module/ui_v2/barcode/BarcodeScannerUiResult.js.map +0 -1
- package/lib/module/ui_v2/barcode/BarcodeTextLocalization.js.map +0 -1
- package/lib/module/ui_v2/barcode/BarcodeUseCase.js.map +0 -1
- package/lib/module/ui_v2/barcode/FindAndPickScanningModeUseCase.js.map +0 -1
- package/lib/module/ui_v2/barcode/MultipleScanningModeUseCase.js.map +0 -1
- package/lib/module/ui_v2/barcode/SingleScanningModeUseCase.js.map +0 -1
- package/lib/module/ui_v2/common/ActionBarConfiguration.js.map +0 -1
- package/lib/module/ui_v2/common/CameraConfiguration.js.map +0 -1
- package/lib/module/ui_v2/common/CameraPermission.js.map +0 -1
- package/lib/module/ui_v2/common/Common.js.map +0 -1
- package/lib/module/ui_v2/common/NavigationBarConfiguration.js.map +0 -1
- package/lib/module/ui_v2/common/ScanCompletionOverlay.js.map +0 -1
- package/lib/module/ui_v2/common/ScanbotAlertDialog.js.map +0 -1
- package/lib/module/ui_v2/common/TopBarConfiguration.js.map +0 -1
- package/lib/module/ui_v2/common/UserGuidanceConfiguration.js.map +0 -1
- package/lib/module/ui_v2/common/ViewFinderConfiguration.js.map +0 -1
- package/lib/module/ui_v2/index.js.map +0 -1
- package/lib/module/utils/geometry/Geometry.js.map +0 -1
- package/lib/module/utils/index.js +0 -4
- package/lib/module/utils/index.js.map +0 -1
- package/lib/module/utils/json/JsonSerializationTypes.js.map +0 -1
- package/lib/module/utils/utils.js +0 -22
- package/lib/module/utils/utils.js.map +0 -1
- package/lib/typescript/src/barcode/BarcodeConfigurationTypes.d.ts.map +0 -1
- package/lib/typescript/src/barcode/BarcodeDocumentTypes.d.ts +0 -50
- package/lib/typescript/src/barcode/BarcodeDocumentTypes.d.ts.map +0 -1
- package/lib/typescript/src/barcode/BarcodeScannerTypes.d.ts.map +0 -1
- package/lib/typescript/src/barcode/BarcodeTypes.d.ts.map +0 -1
- package/lib/typescript/src/barcode/index.d.ts.map +0 -1
- package/lib/typescript/src/base/barcodeSDKConfigurations.d.ts +0 -60
- package/lib/typescript/src/base/barcodeSDKConfigurations.d.ts.map +0 -1
- package/lib/typescript/src/base/barcodeSDKTypes.d.ts +0 -46
- package/lib/typescript/src/base/barcodeSDKTypes.d.ts.map +0 -1
- package/lib/typescript/src/base/index.d.ts +0 -3
- package/lib/typescript/src/base/index.d.ts.map +0 -1
- package/lib/typescript/src/component/barcode-camera-view/ScanbotBarcodeCameraView.d.ts.map +0 -1
- package/lib/typescript/src/component/barcode-camera-view/ScanbotBarcodeCameraViewProperties.d.ts.map +0 -1
- package/lib/typescript/src/component/barcode-camera-view/ScanbotBarcodeCameraViewTypes.d.ts.map +0 -1
- package/lib/typescript/src/component/barcode-camera-view/index.d.ts +0 -4
- package/lib/typescript/src/component/barcode-camera-view/index.d.ts.map +0 -1
- package/lib/typescript/src/component/spec/ScanbotBarcodeScannerViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/src/documents/BarcodeDocumentModel.d.ts +0 -1458
- package/lib/typescript/src/documents/BarcodeDocumentModel.d.ts.map +0 -1
- package/lib/typescript/src/documents/CommonFieldType.d.ts +0 -61
- package/lib/typescript/src/documents/CommonFieldType.d.ts.map +0 -1
- package/lib/typescript/src/documents/GenericDocument.d.ts.map +0 -1
- package/lib/typescript/src/documents/index.d.ts.map +0 -1
- package/lib/typescript/src/imageRef/ImageRefTypes.d.ts.map +0 -1
- package/lib/typescript/src/imageRef/ImageTypes.d.ts +0 -15
- package/lib/typescript/src/imageRef/ImageTypes.d.ts.map +0 -1
- package/lib/typescript/src/imageRef/ObjectPoolTypes.d.ts.map +0 -1
- package/lib/typescript/src/imageRef/image.d.ts.map +0 -1
- package/lib/typescript/src/imageRef/index.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/ArTrackingOverlayConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/BarcodeInfoMapping.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/BarcodeItemMapper.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/BarcodeScannerConfiguration.d.ts +0 -114
- package/lib/typescript/src/ui_v2/barcode/BarcodeScannerConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/BarcodeScannerScreenConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/BarcodeScannerUiResult.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/BarcodeTextLocalization.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/BarcodeUseCase.d.ts +0 -8
- package/lib/typescript/src/ui_v2/barcode/BarcodeUseCase.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/FindAndPickScanningModeUseCase.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/MultipleScanningModeUseCase.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/barcode/SingleScanningModeUseCase.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/ActionBarConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/CameraConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/CameraPermission.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/Common.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/NavigationBarConfiguration.d.ts +0 -13
- package/lib/typescript/src/ui_v2/common/NavigationBarConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/ScanCompletionOverlay.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/ScanbotAlertDialog.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/TopBarConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/UserGuidanceConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/common/ViewFinderConfiguration.d.ts.map +0 -1
- package/lib/typescript/src/ui_v2/index.d.ts.map +0 -1
- package/lib/typescript/src/utils/geometry/Geometry.d.ts.map +0 -1
- package/lib/typescript/src/utils/index.d.ts +0 -4
- package/lib/typescript/src/utils/index.d.ts.map +0 -1
- package/lib/typescript/src/utils/json/JsonSerializationTypes.d.ts.map +0 -1
- package/lib/typescript/src/utils/utils.d.ts +0 -17
- package/lib/typescript/src/utils/utils.d.ts.map +0 -1
- package/src/barcode/BarcodeDocumentTypes.ts +0 -120
- package/src/base/barcodeSDKConfigurations.ts +0 -70
- package/src/base/barcodeSDKTypes.ts +0 -44
- package/src/base/index.ts +0 -2
- package/src/component/barcode-camera-view/index.ts +0 -3
- package/src/imageRef/ImageTypes.ts +0 -23
- package/src/ui_v2/barcode/BarcodeScannerConfiguration.ts +0 -207
- package/src/utils/index.ts +0 -3
- package/src/utils/utils.ts +0 -42
- /package/lib/commonjs/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js +0 -0
- /package/lib/commonjs/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js +0 -0
- /package/lib/commonjs/{component → components}/spec/ScanbotBarcodeScannerViewNativeComponent.js +0 -0
- /package/lib/commonjs/{barcode → types/core/barcode}/index.js +0 -0
- /package/lib/commonjs/{documents → types/core/generic_document}/index.js +0 -0
- /package/lib/commonjs/{ui_v2 → types/core/ui_v2}/barcode/BarcodeItemMapper.js +0 -0
- /package/lib/module/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewProperties.js +0 -0
- /package/lib/module/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewTypes.js +0 -0
- /package/lib/module/{component → components}/spec/ScanbotBarcodeScannerViewNativeComponent.js +0 -0
- /package/lib/module/{barcode → types/core/barcode}/index.js +0 -0
- /package/lib/module/{documents → types/core/generic_document}/index.js +0 -0
- /package/lib/module/{ui_v2 → types/core/ui_v2}/barcode/BarcodeItemMapper.js +0 -0
- /package/lib/typescript/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraView.d.ts +0 -0
- /package/lib/typescript/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewTypes.d.ts +0 -0
- /package/lib/typescript/src/{barcode → types/core/barcode}/index.d.ts +0 -0
- /package/lib/typescript/src/{documents → types/core/generic_document}/index.d.ts +0 -0
- /package/lib/typescript/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeItemMapper.d.ts +0 -0
- /package/src/{component → components}/barcode-camera-view/ScanbotBarcodeCameraViewTypes.ts +0 -0
- /package/src/{barcode → types/core/barcode}/index.ts +0 -0
- /package/src/{documents → types/core/generic_document}/index.ts +0 -0
- /package/src/{ui_v2 → types/core/ui_v2}/barcode/BarcodeItemMapper.ts +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
2
|
/// Generated from core/schemas/BarcodeTypes.yaml
|
|
3
3
|
|
|
4
|
-
import { ToJsonConfiguration } from '../
|
|
5
|
-
import { DeepPartial
|
|
4
|
+
import { ToJsonConfiguration } from '../common/JsonSerializationTypes';
|
|
5
|
+
import { DeepPartial } from '../utils/utils';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
Enumerates character encodings.
|
|
@@ -77,42 +77,145 @@ Enumerates character encodings.
|
|
|
77
77
|
Binary data.
|
|
78
78
|
*/
|
|
79
79
|
export type CharacterEncoding =
|
|
80
|
+
/**
|
|
81
|
+
Unknown encoding.
|
|
82
|
+
*/
|
|
80
83
|
| 'UNKNOWN'
|
|
84
|
+
/**
|
|
85
|
+
ASCII (ISO 646).
|
|
86
|
+
*/
|
|
81
87
|
| 'ASCII'
|
|
88
|
+
/**
|
|
89
|
+
ISO/IEC 8859 Part 1, a.k.a. Latin-1 Western European.
|
|
90
|
+
*/
|
|
82
91
|
| 'ISO_8859_PART1'
|
|
92
|
+
/**
|
|
93
|
+
ISO/IEC 8859 Part 2, a.k.a. Latin-2 Central European.
|
|
94
|
+
*/
|
|
83
95
|
| 'ISO_8859_PART2'
|
|
96
|
+
/**
|
|
97
|
+
ISO/IEC 8859 Part 3, a.k.a. Latin-3 South European.
|
|
98
|
+
*/
|
|
84
99
|
| 'ISO_8859_PART3'
|
|
100
|
+
/**
|
|
101
|
+
ISO/IEC 8859 Part 4, a.k.a. Latin-4 North European.
|
|
102
|
+
*/
|
|
85
103
|
| 'ISO_8859_PART4'
|
|
104
|
+
/**
|
|
105
|
+
ISO/IEC 8859 Part 5, a.k.a. Latin/Cyrillic.
|
|
106
|
+
*/
|
|
86
107
|
| 'ISO_8859_PART5'
|
|
108
|
+
/**
|
|
109
|
+
ISO/IEC 8859 Part 6, a.k.a. Latin/Arabic.
|
|
110
|
+
*/
|
|
87
111
|
| 'ISO_8859_PART6'
|
|
112
|
+
/**
|
|
113
|
+
ISO/IEC 8859 Part 7, a.k.a. Latin/Greek.
|
|
114
|
+
*/
|
|
88
115
|
| 'ISO_8859_PART7'
|
|
116
|
+
/**
|
|
117
|
+
ISO/IEC 8859 Part 8, a.k.a. Latin/Hebrew.
|
|
118
|
+
*/
|
|
89
119
|
| 'ISO_8859_PART8'
|
|
120
|
+
/**
|
|
121
|
+
ISO/IEC 8859 Part 9, a.k.a. Latin-5 Turkish.
|
|
122
|
+
*/
|
|
90
123
|
| 'ISO_8859_PART9'
|
|
124
|
+
/**
|
|
125
|
+
ISO/IEC 8859 Part 10, a.k.a. Latin-6 Nordic.
|
|
126
|
+
*/
|
|
91
127
|
| 'ISO_8859_PART10'
|
|
128
|
+
/**
|
|
129
|
+
ISO/IEC 8859 Part 11, a.k.a. Latin/Thai.
|
|
130
|
+
*/
|
|
92
131
|
| 'ISO_8859_PART11'
|
|
132
|
+
/**
|
|
133
|
+
ISO/IEC 8859 Part 13, a.k.a. Latin-7 Baltic Rim.
|
|
134
|
+
*/
|
|
93
135
|
| 'ISO_8859_PART13'
|
|
136
|
+
/**
|
|
137
|
+
ISO/IEC 8859 Part 14, a.k.a. Latin-8 Celtic.
|
|
138
|
+
*/
|
|
94
139
|
| 'ISO_8859_PART14'
|
|
140
|
+
/**
|
|
141
|
+
ISO/IEC 8859 Part 15, a.k.a. Latin-9.
|
|
142
|
+
*/
|
|
95
143
|
| 'ISO_8859_PART15'
|
|
144
|
+
/**
|
|
145
|
+
ISO/IEC 8859 Part 16, a.k.a. Latin-10 South-Eastern European.
|
|
146
|
+
*/
|
|
96
147
|
| 'ISO_8859_PART16'
|
|
148
|
+
/**
|
|
149
|
+
CP437 (DOS Latin US).
|
|
150
|
+
*/
|
|
97
151
|
| 'CP_437'
|
|
152
|
+
/**
|
|
153
|
+
Windows-1250 (Eastern European).
|
|
154
|
+
*/
|
|
98
155
|
| 'CP_1250'
|
|
156
|
+
/**
|
|
157
|
+
Windows-1251 (Cyrillic).
|
|
158
|
+
*/
|
|
99
159
|
| 'CP_1251'
|
|
160
|
+
/**
|
|
161
|
+
Windows-1252 (Western European).
|
|
162
|
+
*/
|
|
100
163
|
| 'CP_1252'
|
|
164
|
+
/**
|
|
165
|
+
Windows-1256 (Arabic).
|
|
166
|
+
*/
|
|
101
167
|
| 'CP_1256'
|
|
168
|
+
/**
|
|
169
|
+
Shift JIS (Japanese).
|
|
170
|
+
*/
|
|
102
171
|
| 'SHIFT_JIS'
|
|
172
|
+
/**
|
|
173
|
+
Big5 (Traditional Chinese).
|
|
174
|
+
*/
|
|
103
175
|
| 'BIG_5'
|
|
176
|
+
/**
|
|
177
|
+
GB2312 (Simplified Chinese).
|
|
178
|
+
*/
|
|
104
179
|
| 'GB_2312'
|
|
180
|
+
/**
|
|
181
|
+
GB18030 (Simplified Chinese).
|
|
182
|
+
*/
|
|
105
183
|
| 'GB_18030'
|
|
184
|
+
/**
|
|
185
|
+
EUC-JP (Japanese).
|
|
186
|
+
*/
|
|
106
187
|
| 'EUC_JP'
|
|
188
|
+
/**
|
|
189
|
+
EUC-KR (Korean).
|
|
190
|
+
*/
|
|
107
191
|
| 'EUC_KR'
|
|
192
|
+
/**
|
|
193
|
+
UTF16BE (UTF-16 Big Endian), a.k.a. UnicodeBig.
|
|
194
|
+
*/
|
|
108
195
|
| 'UTF_16_BE'
|
|
196
|
+
/**
|
|
197
|
+
UTF8 (UTF-8).
|
|
198
|
+
*/
|
|
109
199
|
| 'UTF_8'
|
|
200
|
+
/**
|
|
201
|
+
UTF16LE (UTF-16 Little Endian).
|
|
202
|
+
*/
|
|
110
203
|
| 'UTF_16_LE'
|
|
204
|
+
/**
|
|
205
|
+
UTF32BE (UTF-32 Big Endian).
|
|
206
|
+
*/
|
|
111
207
|
| 'UTF_32_BE'
|
|
208
|
+
/**
|
|
209
|
+
UTF32LE (UTF-32 Little Endian).
|
|
210
|
+
*/
|
|
112
211
|
| 'UTF_32_LE'
|
|
212
|
+
/**
|
|
213
|
+
Binary data.
|
|
214
|
+
*/
|
|
113
215
|
| 'BINARY';
|
|
114
216
|
|
|
115
|
-
|
|
217
|
+
/** @hidden */
|
|
218
|
+
export const CharacterEncodingValues: ReadonlyArray<CharacterEncoding> = [
|
|
116
219
|
'UNKNOWN',
|
|
117
220
|
'ASCII',
|
|
118
221
|
'ISO_8859_PART1',
|
|
@@ -147,12 +250,12 @@ export const CharacterEncodingValues: CharacterEncoding[] = [
|
|
|
147
250
|
'UTF_32_BE',
|
|
148
251
|
'UTF_32_LE',
|
|
149
252
|
'BINARY',
|
|
150
|
-
];
|
|
253
|
+
] as const;
|
|
151
254
|
|
|
152
255
|
/**
|
|
153
256
|
A character encoding for a given range of bytes.
|
|
154
257
|
*/
|
|
155
|
-
export class RangeEncoding
|
|
258
|
+
export class RangeEncoding {
|
|
156
259
|
/**
|
|
157
260
|
Start index of the range.
|
|
158
261
|
*/
|
|
@@ -168,7 +271,6 @@ export class RangeEncoding extends PartiallyConstructible {
|
|
|
168
271
|
|
|
169
272
|
/** @param source {@displayType `DeepPartial<RangeEncoding>`} */
|
|
170
273
|
public constructor(source: DeepPartial<RangeEncoding> = {}) {
|
|
171
|
-
super();
|
|
172
274
|
if (source.start !== undefined) {
|
|
173
275
|
this.start = source.start;
|
|
174
276
|
} else {
|
|
@@ -200,7 +302,7 @@ export class RangeEncoding extends PartiallyConstructible {
|
|
|
200
302
|
/**
|
|
201
303
|
The structured append mode can be used to split a message across multiple barcodes.
|
|
202
304
|
*/
|
|
203
|
-
export class StructuredAppendInfo
|
|
305
|
+
export class StructuredAppendInfo {
|
|
204
306
|
/**
|
|
205
307
|
The number of barcodes in the structured append set.
|
|
206
308
|
*/
|
|
@@ -216,7 +318,6 @@ export class StructuredAppendInfo extends PartiallyConstructible {
|
|
|
216
318
|
|
|
217
319
|
/** @param source {@displayType `DeepPartial<StructuredAppendInfo>`} */
|
|
218
320
|
public constructor(source: DeepPartial<StructuredAppendInfo> = {}) {
|
|
219
|
-
super();
|
|
220
321
|
if (source.count !== undefined) {
|
|
221
322
|
this.count = source.count;
|
|
222
323
|
} else {
|
|
@@ -324,45 +425,157 @@ Enumerates barcode formats.
|
|
|
324
425
|
PZN8, a.k.a. PZN, Pharmazentralnummer, German Pharmaceutical Central Number (1D).
|
|
325
426
|
*/
|
|
326
427
|
export type BarcodeFormat =
|
|
428
|
+
/**
|
|
429
|
+
Used as a return value if no valid barcode has been detected.
|
|
430
|
+
*/
|
|
327
431
|
| 'NONE'
|
|
432
|
+
/**
|
|
433
|
+
Aztec (2D).
|
|
434
|
+
*/
|
|
328
435
|
| 'AZTEC'
|
|
436
|
+
/**
|
|
437
|
+
CODABAR (1D).
|
|
438
|
+
*/
|
|
329
439
|
| 'CODABAR'
|
|
440
|
+
/**
|
|
441
|
+
Code 39 (1D).
|
|
442
|
+
*/
|
|
330
443
|
| 'CODE_39'
|
|
444
|
+
/**
|
|
445
|
+
Code 93 (1D).
|
|
446
|
+
*/
|
|
331
447
|
| 'CODE_93'
|
|
448
|
+
/**
|
|
449
|
+
Code 128 (1D).
|
|
450
|
+
*/
|
|
332
451
|
| 'CODE_128'
|
|
452
|
+
/**
|
|
453
|
+
Data Matrix (2D).
|
|
454
|
+
*/
|
|
333
455
|
| 'DATA_MATRIX'
|
|
456
|
+
/**
|
|
457
|
+
EAN-8 (1D).
|
|
458
|
+
*/
|
|
334
459
|
| 'EAN_8'
|
|
460
|
+
/**
|
|
461
|
+
EAN-13 (1D).
|
|
462
|
+
*/
|
|
335
463
|
| 'EAN_13'
|
|
464
|
+
/**
|
|
465
|
+
ITF (Interleaved Two of Five) (1D).
|
|
466
|
+
*/
|
|
336
467
|
| 'ITF'
|
|
468
|
+
/**
|
|
469
|
+
MaxiCode (2D).
|
|
470
|
+
*/
|
|
337
471
|
| 'MAXI_CODE'
|
|
472
|
+
/**
|
|
473
|
+
PDF417 (2D).
|
|
474
|
+
*/
|
|
338
475
|
| 'PDF_417'
|
|
476
|
+
/**
|
|
477
|
+
QR Code (2D).
|
|
478
|
+
*/
|
|
339
479
|
| 'QR_CODE'
|
|
480
|
+
/**
|
|
481
|
+
GS1 DataBar-14 (formerly RSS-14) (1D).
|
|
482
|
+
*/
|
|
340
483
|
| 'DATABAR'
|
|
484
|
+
/**
|
|
485
|
+
GS1 DataBar Expanded (formerly RSS Expanded) (1D).
|
|
486
|
+
*/
|
|
341
487
|
| 'DATABAR_EXPANDED'
|
|
488
|
+
/**
|
|
489
|
+
UPC-A (1D).
|
|
490
|
+
*/
|
|
342
491
|
| 'UPC_A'
|
|
492
|
+
/**
|
|
493
|
+
UPC-E (1D).
|
|
494
|
+
*/
|
|
343
495
|
| 'UPC_E'
|
|
496
|
+
/**
|
|
497
|
+
MSI PLESSEY.
|
|
498
|
+
*/
|
|
344
499
|
| 'MSI_PLESSEY'
|
|
500
|
+
/**
|
|
501
|
+
IATA 2 of 5 (1D).
|
|
502
|
+
*/
|
|
345
503
|
| 'IATA_2_OF_5'
|
|
504
|
+
/**
|
|
505
|
+
INDUSTRIAL 2 of 5 (1D).
|
|
506
|
+
*/
|
|
346
507
|
| 'INDUSTRIAL_2_OF_5'
|
|
508
|
+
/**
|
|
509
|
+
CODE 25 (1D).
|
|
510
|
+
*/
|
|
347
511
|
| 'CODE_25'
|
|
512
|
+
/**
|
|
513
|
+
Micro QR Code (2D).
|
|
514
|
+
*/
|
|
348
515
|
| 'MICRO_QR_CODE'
|
|
516
|
+
/**
|
|
517
|
+
USPS Intelligent Mail, a.k.a. USPS OneCode, USPS-STD-11.
|
|
518
|
+
*/
|
|
349
519
|
| 'USPS_INTELLIGENT_MAIL'
|
|
520
|
+
/**
|
|
521
|
+
Royal Mail Four-State Customer Code, a.k.a. RM4SCC, CBC, BPO 4 State Code.
|
|
522
|
+
*/
|
|
350
523
|
| 'ROYAL_MAIL'
|
|
524
|
+
/**
|
|
525
|
+
Japan Post Four-State Barcode.
|
|
526
|
+
*/
|
|
351
527
|
| 'JAPAN_POST'
|
|
528
|
+
/**
|
|
529
|
+
Royal TNT Post Four-State Barcode, a.k.a. KIX, Klant IndeX.
|
|
530
|
+
*/
|
|
352
531
|
| 'ROYAL_TNT_POST'
|
|
532
|
+
/**
|
|
533
|
+
Australia Post Four-State Customer Code.
|
|
534
|
+
*/
|
|
353
535
|
| 'AUSTRALIA_POST'
|
|
536
|
+
/**
|
|
537
|
+
GS1 DataBar Limited.
|
|
538
|
+
*/
|
|
354
539
|
| 'DATABAR_LIMITED'
|
|
540
|
+
/**
|
|
541
|
+
Micro PDF417 (2D).
|
|
542
|
+
*/
|
|
355
543
|
| 'MICRO_PDF_417'
|
|
544
|
+
/**
|
|
545
|
+
GS1 COMPOSITE (combined linear and 2D).
|
|
546
|
+
*/
|
|
356
547
|
| 'GS1_COMPOSITE'
|
|
548
|
+
/**
|
|
549
|
+
Rectangular Micro QR Code (2D).
|
|
550
|
+
*/
|
|
357
551
|
| 'RMQR_CODE'
|
|
552
|
+
/**
|
|
553
|
+
Code 11 (1D).
|
|
554
|
+
*/
|
|
358
555
|
| 'CODE_11'
|
|
556
|
+
/**
|
|
557
|
+
Code 32 (Italian Pharmacode) (1D).
|
|
558
|
+
*/
|
|
359
559
|
| 'CODE_32'
|
|
560
|
+
/**
|
|
561
|
+
Pharmacode, a.k.a. One-Track Pharmacode, Pharmaceutical Binary Code (1D).
|
|
562
|
+
*/
|
|
360
563
|
| 'PHARMA_CODE'
|
|
564
|
+
/**
|
|
565
|
+
Two-Track Pharmacode, a.k.a. Pharmaceutical Binary Code.
|
|
566
|
+
*/
|
|
361
567
|
| 'PHARMA_CODE_TWO_TRACK'
|
|
568
|
+
/**
|
|
569
|
+
PZN7, legacy PZN (Pharmazentralnummer), invalid since 01.01.2020 (1D).
|
|
570
|
+
*/
|
|
362
571
|
| 'PZN_7'
|
|
572
|
+
/**
|
|
573
|
+
PZN8, a.k.a. PZN, Pharmazentralnummer, German Pharmaceutical Central Number (1D).
|
|
574
|
+
*/
|
|
363
575
|
| 'PZN_8';
|
|
364
576
|
|
|
365
|
-
|
|
577
|
+
/** @hidden */
|
|
578
|
+
export const BarcodeFormatValues: ReadonlyArray<BarcodeFormat> = [
|
|
366
579
|
'NONE',
|
|
367
580
|
'AZTEC',
|
|
368
581
|
'CODABAR',
|
|
@@ -400,16 +613,14 @@ export const BarcodeFormatValues: BarcodeFormat[] = [
|
|
|
400
613
|
'PHARMA_CODE_TWO_TRACK',
|
|
401
614
|
'PZN_7',
|
|
402
615
|
'PZN_8',
|
|
403
|
-
];
|
|
616
|
+
] as const;
|
|
404
617
|
|
|
405
618
|
/**
|
|
406
619
|
Lists of barcode formats to decode.
|
|
407
620
|
*/
|
|
408
|
-
export class BarcodeFormats
|
|
621
|
+
export class BarcodeFormats {
|
|
409
622
|
/** @param source {@displayType `DeepPartial<BarcodeFormats>`} */
|
|
410
|
-
public constructor(source: DeepPartial<BarcodeFormats> = {}) {
|
|
411
|
-
super();
|
|
412
|
-
}
|
|
623
|
+
public constructor(source: DeepPartial<BarcodeFormats> = {}) {}
|
|
413
624
|
|
|
414
625
|
public serialize(
|
|
415
626
|
config: ToJsonConfiguration = new ToJsonConfiguration()
|
|
@@ -494,7 +705,6 @@ export namespace BarcodeFormats {
|
|
|
494
705
|
'EAN_13',
|
|
495
706
|
'EAN_8',
|
|
496
707
|
'ITF',
|
|
497
|
-
'MICRO_QR_CODE',
|
|
498
708
|
'PDF_417',
|
|
499
709
|
'QR_CODE',
|
|
500
710
|
'UPC_A',
|
|
@@ -585,19 +795,41 @@ mark, a box, an escape sequence, a space or nothing at all.
|
|
|
585
795
|
Combines the validations of VALIDATE_FULL and the human-readable output format of DECODE_STRUCTURE.
|
|
586
796
|
*/
|
|
587
797
|
export type Gs1Handling =
|
|
798
|
+
/**
|
|
799
|
+
This is the default. GS1 messages are converted to the machine-readable format per
|
|
800
|
+
the GS1 spec (the special FNC1 character is converted to ASCII \x1D).
|
|
801
|
+
The implied 01 AI key is prepended to DataBar results.
|
|
802
|
+
No validation is performed.
|
|
803
|
+
*/
|
|
588
804
|
| 'PARSE'
|
|
805
|
+
/**
|
|
806
|
+
Same as PARSE. Additionally, messages containing unknown AI keys, or containing values
|
|
807
|
+
that don't fulfill the length, character set or regex requirements for known keys, are rejected.
|
|
808
|
+
*/
|
|
589
809
|
| 'VALIDATE_STRUCTURE'
|
|
810
|
+
/**
|
|
811
|
+
Same as VALIDATE_STRUCTURE. Additionally, GS1 strings are converted to the human-readable format,
|
|
812
|
+
instead (with parentheses used to wrap AI keys, e.g. "(01)123456789"). The \x1D character is
|
|
813
|
+
never used in this representation.
|
|
814
|
+
*/
|
|
590
815
|
| 'DECODE_STRUCTURE'
|
|
816
|
+
/**
|
|
817
|
+
Includes all validations from VALIDATE_STRUCTURE. Additionally, GS1 messages which have missing or incompatible combinations of AI keys are rejected. Additionally, values are checked against a list of known linting rules, e.g. checksums are calculated and verified, dates are checked for validity, etc. Results that fail any of the linter rules are rejected. The complete set of linter rules from the GS1 Syntax Dictionary are implemented.
|
|
818
|
+
*/
|
|
591
819
|
| 'VALIDATE_FULL'
|
|
820
|
+
/**
|
|
821
|
+
Combines the validations of VALIDATE_FULL and the human-readable output format of DECODE_STRUCTURE.
|
|
822
|
+
*/
|
|
592
823
|
| 'DECODE_FULL';
|
|
593
824
|
|
|
594
|
-
|
|
825
|
+
/** @hidden */
|
|
826
|
+
export const Gs1HandlingValues: ReadonlyArray<Gs1Handling> = [
|
|
595
827
|
'PARSE',
|
|
596
828
|
'VALIDATE_STRUCTURE',
|
|
597
829
|
'DECODE_STRUCTURE',
|
|
598
830
|
'VALIDATE_FULL',
|
|
599
831
|
'DECODE_FULL',
|
|
600
|
-
];
|
|
832
|
+
] as const;
|
|
601
833
|
|
|
602
834
|
/**
|
|
603
835
|
Behavior when scanning UPC/EAN barcodes with EAN-2 or EAN-5 extensions.
|
|
@@ -618,15 +850,37 @@ Behavior when scanning UPC/EAN barcodes with EAN-2 or EAN-5 extensions.
|
|
|
618
850
|
Return any detected extension if present, but do not require it.
|
|
619
851
|
*/
|
|
620
852
|
export type UpcEanExtensionBehavior =
|
|
853
|
+
/**
|
|
854
|
+
Only barcodes with a 2-digit extension are accepted.
|
|
855
|
+
*/
|
|
621
856
|
| 'REQUIRE_2'
|
|
857
|
+
/**
|
|
858
|
+
Only barcodes with a 5-digit extension are accepted.
|
|
859
|
+
*/
|
|
622
860
|
| 'REQUIRE_5'
|
|
861
|
+
/**
|
|
862
|
+
Only barcodes with either a 2-digit or a 5-digit extension are accepted.
|
|
863
|
+
*/
|
|
623
864
|
| 'REQUIRE_ANY'
|
|
865
|
+
/**
|
|
866
|
+
Always ignore the extension.
|
|
867
|
+
*/
|
|
624
868
|
| 'IGNORE'
|
|
869
|
+
/**
|
|
870
|
+
Return detected 2-digit extension if present, but do not require it. Ignore the 5-digit extension.
|
|
871
|
+
*/
|
|
625
872
|
| 'ALLOW_2'
|
|
873
|
+
/**
|
|
874
|
+
Return detected 5-digit extension if present, but do not require it. Ignore the 2-digit extension.
|
|
875
|
+
*/
|
|
626
876
|
| 'ALLOW_5'
|
|
877
|
+
/**
|
|
878
|
+
Return any detected extension if present, but do not require it.
|
|
879
|
+
*/
|
|
627
880
|
| 'ALLOW_ANY';
|
|
628
881
|
|
|
629
|
-
|
|
882
|
+
/** @hidden */
|
|
883
|
+
export const UpcEanExtensionBehaviorValues: ReadonlyArray<UpcEanExtensionBehavior> = [
|
|
630
884
|
'REQUIRE_2',
|
|
631
885
|
'REQUIRE_5',
|
|
632
886
|
'REQUIRE_ANY',
|
|
@@ -634,4 +888,46 @@ export const UpcEanExtensionBehaviorValues: UpcEanExtensionBehavior[] = [
|
|
|
634
888
|
'ALLOW_2',
|
|
635
889
|
'ALLOW_5',
|
|
636
890
|
'ALLOW_ANY',
|
|
637
|
-
];
|
|
891
|
+
] as const;
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
895
|
+
Some barcode types are naturally prone to false positives (e.g. MSI Plessey).
|
|
896
|
+
For those barcode types false positives can be drastically reduced (precision can be increased) by requiring that multiple scan-lines in the input scan to the same result.
|
|
897
|
+
However, this stronger condition can lead to missed barcodes (lower recall).
|
|
898
|
+
Confirmation is avoided for barcode types, which are by design resistant to false positives, (e.g. Code128) to maximize recall.
|
|
899
|
+
|
|
900
|
+
- `NONE`:
|
|
901
|
+
No confirmation is required. This mode is the most prone to generating false positives.
|
|
902
|
+
- `MINIMAL`:
|
|
903
|
+
Minimal confirmation is performed. Compared to no confirmation, it provides a substantial decrease in false positives (increased precision), at the cost of a minimal decrease in recall.
|
|
904
|
+
- `MODERATE`:
|
|
905
|
+
Moderate confirmation is performed. Compared to minimal confirmation, it provides an additional decrease in false positives, at the cost of a slight decrease in recall.
|
|
906
|
+
- `THOROUGH`:
|
|
907
|
+
Recommended. Thorough confirmation is performed. Almost completely eliminates false positives, at the cost of an additional slight decrease in recall.
|
|
908
|
+
*/
|
|
909
|
+
export type OneDConfirmationMode =
|
|
910
|
+
/**
|
|
911
|
+
No confirmation is required. This mode is the most prone to generating false positives.
|
|
912
|
+
*/
|
|
913
|
+
| 'NONE'
|
|
914
|
+
/**
|
|
915
|
+
Minimal confirmation is performed. Compared to no confirmation, it provides a substantial decrease in false positives (increased precision), at the cost of a minimal decrease in recall.
|
|
916
|
+
*/
|
|
917
|
+
| 'MINIMAL'
|
|
918
|
+
/**
|
|
919
|
+
Moderate confirmation is performed. Compared to minimal confirmation, it provides an additional decrease in false positives, at the cost of a slight decrease in recall.
|
|
920
|
+
*/
|
|
921
|
+
| 'MODERATE'
|
|
922
|
+
/**
|
|
923
|
+
Recommended. Thorough confirmation is performed. Almost completely eliminates false positives, at the cost of an additional slight decrease in recall.
|
|
924
|
+
*/
|
|
925
|
+
| 'THOROUGH';
|
|
926
|
+
|
|
927
|
+
/** @hidden */
|
|
928
|
+
export const OneDConfirmationModeValues: ReadonlyArray<OneDConfirmationMode> = [
|
|
929
|
+
'NONE',
|
|
930
|
+
'MINIMAL',
|
|
931
|
+
'MODERATE',
|
|
932
|
+
'THOROUGH',
|
|
933
|
+
] as const;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
|
+
/// Generated from native/schemas/camera/Camera.yaml
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
The size of the image from camera which would be sent to the scanner for live scanning.
|
|
6
|
+
|
|
7
|
+
- `AUTO`:
|
|
8
|
+
Select to the image resolution automatically based on device specifics.
|
|
9
|
+
- `FULL_HD`:
|
|
10
|
+
The image is in Full HD resolution. 1920x1080 pixels or close to it.
|
|
11
|
+
- `UHD`:
|
|
12
|
+
The image is in UHD resolution. 3840x2160 pixels or close to it.
|
|
13
|
+
*/
|
|
14
|
+
export type CameraLiveScannerResolution =
|
|
15
|
+
/**
|
|
16
|
+
Select to the image resolution automatically based on device specifics.
|
|
17
|
+
*/
|
|
18
|
+
| 'AUTO'
|
|
19
|
+
/**
|
|
20
|
+
The image is in Full HD resolution. 1920x1080 pixels or close to it.
|
|
21
|
+
*/
|
|
22
|
+
| 'FULL_HD'
|
|
23
|
+
/**
|
|
24
|
+
The image is in UHD resolution. 3840x2160 pixels or close to it.
|
|
25
|
+
*/
|
|
26
|
+
| 'UHD';
|
|
27
|
+
|
|
28
|
+
/** @hidden */
|
|
29
|
+
export const CameraLiveScannerResolutionValues: ReadonlyArray<CameraLiveScannerResolution> = [
|
|
30
|
+
'AUTO',
|
|
31
|
+
'FULL_HD',
|
|
32
|
+
'UHD',
|
|
33
|
+
] as const;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Camera';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
|
+
/// Generated from core/schemas/CommonTypes.yaml
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
Scanners typically can produce better results from a single image if they are allowed to spend a longer time analyzing it.
|
|
6
|
+
On the other hand, scanners can produce even better results if they can analyze multiple images of the same subject and cross-check and combine the results.
|
|
7
|
+
The processing mode tells the scanner whether to optimize for single or multiple images of a subject.
|
|
8
|
+
|
|
9
|
+
- `LIVE`:
|
|
10
|
+
In live mode input images are expected to come from a video source like a camera.
|
|
11
|
+
Scanners in live mode typically spend little time on each image and are able to quickly analyze multiple images and combine the individual image results into a final result.
|
|
12
|
+
Individual results from a particular image may be less accurate than running the scanner in single-shot mode on that frame, but after aggregating a few images of the same subject, the final result becomes much more accurate.
|
|
13
|
+
- `SINGLE_SHOT`:
|
|
14
|
+
In single-shot the scanner tries to extract the maximum amount of information possible from each input image. The scanner typically spends much longer on analyzing the image to ensure that all available information has been extracted.
|
|
15
|
+
- `AUTO`:
|
|
16
|
+
The scanner chooses live or single-shot mode based on the source of the image. An image constructed with RawImageLoadOptions.liveSource equal to true will be processed in live mode, otherwise it will be processed in single-shot mode.
|
|
17
|
+
On Android liveSource is automatically set to true if the ImageRef is created from Nv21 image data.
|
|
18
|
+
On iOS liveSource is automatically set to true if the ImageRef is created from a CMSampleBuffer.
|
|
19
|
+
*/
|
|
20
|
+
export type ProcessingMode =
|
|
21
|
+
/**
|
|
22
|
+
In live mode input images are expected to come from a video source like a camera.
|
|
23
|
+
Scanners in live mode typically spend little time on each image and are able to quickly analyze multiple images and combine the individual image results into a final result.
|
|
24
|
+
Individual results from a particular image may be less accurate than running the scanner in single-shot mode on that frame, but after aggregating a few images of the same subject, the final result becomes much more accurate.
|
|
25
|
+
*/
|
|
26
|
+
| 'LIVE'
|
|
27
|
+
/**
|
|
28
|
+
In single-shot the scanner tries to extract the maximum amount of information possible from each input image. The scanner typically spends much longer on analyzing the image to ensure that all available information has been extracted.
|
|
29
|
+
*/
|
|
30
|
+
| 'SINGLE_SHOT'
|
|
31
|
+
/**
|
|
32
|
+
The scanner chooses live or single-shot mode based on the source of the image. An image constructed with RawImageLoadOptions.liveSource equal to true will be processed in live mode, otherwise it will be processed in single-shot mode.
|
|
33
|
+
On Android liveSource is automatically set to true if the ImageRef is created from Nv21 image data.
|
|
34
|
+
On iOS liveSource is automatically set to true if the ImageRef is created from a CMSampleBuffer.
|
|
35
|
+
*/
|
|
36
|
+
| 'AUTO';
|
|
37
|
+
|
|
38
|
+
/** @hidden */
|
|
39
|
+
export const ProcessingModeValues: ReadonlyArray<ProcessingMode> = [
|
|
40
|
+
'LIVE',
|
|
41
|
+
'SINGLE_SHOT',
|
|
42
|
+
'AUTO',
|
|
43
|
+
] as const;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
|
|
2
2
|
/// Generated from core/schemas/JSONSerializationTypes.yaml
|
|
3
3
|
|
|
4
|
-
import { DeepPartial
|
|
4
|
+
import { DeepPartial } from '../utils/utils';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
Configuration used to serialize an object to json.
|
|
8
8
|
*/
|
|
9
|
-
export class ToJsonConfiguration
|
|
9
|
+
export class ToJsonConfiguration {
|
|
10
10
|
/**
|
|
11
11
|
Serialize images in the object to json. If false, then fields that contain images are not serialized.
|
|
12
12
|
|
|
@@ -22,7 +22,6 @@ export class ToJsonConfiguration extends PartiallyConstructible {
|
|
|
22
22
|
|
|
23
23
|
/** @param source {@displayType `DeepPartial<ToJsonConfiguration>`} */
|
|
24
24
|
public constructor(source: DeepPartial<ToJsonConfiguration> = {}) {
|
|
25
|
-
super();
|
|
26
25
|
if (source.serializeImages !== undefined) {
|
|
27
26
|
this.serializeImages = source.serializeImages;
|
|
28
27
|
}
|
|
@@ -49,6 +48,18 @@ Image serialization mode. Applicable only when serializeImages is true.
|
|
|
49
48
|
- `BUFFER`:
|
|
50
49
|
Images are serialized as base64 encoded buffers.
|
|
51
50
|
*/
|
|
52
|
-
export type ImageSerializationMode =
|
|
51
|
+
export type ImageSerializationMode =
|
|
52
|
+
/**
|
|
53
|
+
Images are serialized as references to native resources.
|
|
54
|
+
*/
|
|
55
|
+
| 'REFERENCE'
|
|
56
|
+
/**
|
|
57
|
+
Images are serialized as base64 encoded buffers.
|
|
58
|
+
*/
|
|
59
|
+
| 'BUFFER';
|
|
53
60
|
|
|
54
|
-
|
|
61
|
+
/** @hidden */
|
|
62
|
+
export const ImageSerializationModeValues: ReadonlyArray<ImageSerializationMode> = [
|
|
63
|
+
'REFERENCE',
|
|
64
|
+
'BUFFER',
|
|
65
|
+
] as const;
|