scanbot-web-sdk 6.0.0-dev.6 → 7.0.0-dev.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/@types/barcode-scanner-view.d.ts +1 -1
- package/@types/core/bridge/compiled/{BarcodeConfigs.d.ts → BarcodeConfigurationTypes.d.ts} +558 -173
- package/@types/core/bridge/compiled/BarcodeDocumentTypes.d.ts +14 -13
- package/@types/core/bridge/compiled/BarcodeScannerTypes.d.ts +25 -14
- package/@types/core/bridge/compiled/BarcodeTypes.d.ts +58 -56
- package/@types/core/bridge/compiled/CheckScannerTypes.d.ts +67 -0
- package/@types/core/bridge/compiled/CommonFieldType.d.ts +29 -28
- package/@types/core/bridge/compiled/CreditCardTypes.d.ts +35 -33
- package/@types/core/bridge/compiled/DocumentDataExtractorConfigurationTypes.d.ts +148 -0
- package/@types/core/bridge/compiled/DocumentDataExtractorTypes.d.ts +90 -0
- package/@types/core/bridge/compiled/DocumentQualityAnalyzerTypes.d.ts +28 -23
- package/@types/core/bridge/compiled/{DocumentDetectorTypes.d.ts → DocumentScannerTypes.d.ts} +49 -47
- package/@types/core/bridge/compiled/{EhicTypes.d.ts → EuropeanHealthInsuranceCardTypes.d.ts} +51 -108
- package/@types/core/bridge/compiled/FrameAccumulationTypes.d.ts +37 -14
- package/@types/core/bridge/compiled/GenericDocument.d.ts +17 -17
- package/@types/core/bridge/compiled/Geometry.d.ts +2 -2
- package/@types/core/bridge/compiled/ImageTypes.d.ts +1 -0
- package/@types/core/bridge/compiled/LicensePlateScannerTypes.d.ts +20 -19
- package/@types/core/bridge/compiled/MedicalCertificateTypes.d.ts +108 -105
- package/@types/core/bridge/compiled/MrzTypes.d.ts +73 -0
- package/@types/core/bridge/compiled/ParametricFilters.d.ts +4 -3
- package/@types/core/bridge/compiled/{PdfConfig.d.ts → PdfConfigurationTypes.d.ts} +48 -45
- package/@types/core/bridge/compiled/{GenericTextLineScannerTypes.d.ts → TextPatternScannerTypes.d.ts} +23 -22
- package/@types/core/bridge/compiled/TiffTypes.d.ts +48 -50
- package/@types/core/bridge/worker-bridge.d.ts +488 -364
- package/@types/core/worker/ScanbotSDK.Core.d.ts +21 -21
- package/@types/core-types.d.ts +10 -12
- package/@types/cropping-view.d.ts +8 -4
- package/@types/document-data-extractor-view.d.ts +22 -0
- package/@types/document-scanner-view.d.ts +16 -7
- package/@types/index.d.ts +36 -23
- package/@types/interfaces/i-cropping-view-handle.d.ts +2 -0
- package/@types/interfaces/i-document-data-extractor-scanner-handle.d.ts +3 -0
- package/@types/interfaces/{i-text-data-scanner-handle.d.ts → i-text-pattern-scanner-handle.d.ts} +1 -1
- package/@types/model/configuration/barcode-scanner-configuration.d.ts +1 -0
- package/@types/model/configuration/cropping-view-configuration.d.ts +1 -0
- package/@types/model/configuration/document-data-extractor-configuration.d.ts +9 -0
- package/@types/model/configuration/document-scanner-configuration.d.ts +8 -4
- package/@types/model/configuration/initialization-options.d.ts +1 -2
- package/@types/model/configuration/mrz-scanner-configuration.d.ts +4 -4
- package/@types/model/configuration/selection-overlay-configuration.d.ts +5 -0
- package/@types/model/configuration/text-pattern-scanner-configuration.d.ts +9 -0
- package/@types/model/configuration/view-finder-scanner-configuration.d.ts +2 -1
- package/@types/model/configuration/vin-scanner-configuration.d.ts +3 -3
- package/@types/scanbot-sdk.d.ts +269 -205
- package/@types/scanner-view.d.ts +2 -0
- package/@types/service/document-data-extractor.d.ts +13 -0
- package/@types/service/ocr-engine.d.ts +3 -3
- package/@types/service/pdf-generator.d.ts +6 -1
- package/@types/service/simple-mrz-recognizer.d.ts +4 -4
- package/@types/service/storage/indexed-db/sb-indexed-db.d.ts +60 -0
- package/@types/service/storage/local/sb-local-storage.d.ts +11 -0
- package/@types/service/storage/sb-storage.d.ts +33 -0
- package/@types/service/storage/utils/create-worker-vite.d.ts +1 -0
- package/@types/service/storage/utils/create-worker.d.ts +1 -0
- package/@types/service/storage/utils/sb-storage-error.d.ts +5 -0
- package/@types/service/storage/utils/sb-storage-utils.d.ts +10 -0
- package/@types/service/text-pattern-scanner.d.ts +14 -0
- package/@types/service/tiff-generator.d.ts +7 -4
- package/@types/{text-data-scanner-view.d.ts → text-pattern-scanner-view.d.ts} +9 -9
- package/@types/ui2/{controllers → barcode/controllers}/barcode-scanner-controller.d.ts +1 -1
- package/@types/ui2/{controllers → barcode/controllers}/multiple-scanning-mode-controller.d.ts +1 -1
- package/@types/ui2/{controllers → barcode/controllers}/single-scanning-mode-controller.d.ts +1 -1
- package/@types/ui2/{model → barcode/model}/counted-barcodes.d.ts +2 -2
- package/@types/ui2/{utils → barcode/utils}/barcode-mapper/expected-barcode-mapper.d.ts +2 -2
- package/@types/ui2/{utils → barcode/utils}/barcode-mapper/i-barcode-mapper.d.ts +2 -2
- package/@types/ui2/{utils → barcode/utils}/barcode-mapper/user-barcode-mapper.d.ts +1 -1
- package/@types/ui2/{utils → barcode/utils}/camera-config.d.ts +2 -2
- package/@types/ui2/{utils → barcode/utils}/styled-badge.d.ts +3 -1
- package/@types/ui2/{utils → barcode/utils}/styled-box.d.ts +1 -1
- package/@types/ui2/barcode/utils/styled-button.d.ts +14 -0
- package/@types/ui2/{utils → barcode/utils}/useScanningViewSize.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/action-button/action-button-container.d.ts +3 -3
- package/@types/ui2/{views → barcode/views}/action-button/action-button.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/ar/ar-badge.d.ts +2 -2
- package/@types/ui2/{views → barcode/views}/ar/ar-overlay-barcode-info.d.ts +2 -2
- package/@types/ui2/{views → barcode/views}/ar/vertical-positions.d.ts +2 -2
- package/@types/ui2/{views → barcode/views}/barcode-info/barcode-info.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/barcode-scanner.d.ts +8 -8
- package/@types/ui2/{views → barcode/views}/camera-permission-denied.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/dialog/barcode-info-dialog.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/dialog/barcode-mapping-error-dialog.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/dialog/base/confirmation-dialog.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/dialog/base/styled-dialog.d.ts +1 -0
- package/@types/ui2/{views → barcode/views}/dialog/count-edit-dialog.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/dialog/find-and-pick-submit-dialog.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/barcode-result-drawer.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/barcode-result-sidebar.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/counting-button.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/hooks/use-drag-listener.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/subviews/barcode-drawer-empty-state.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/subviews/barcode-list-item.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/subviews/barcode-list.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/subviews/drawer-header-content.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/subviews/swipe-underlay.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/form/dialog-button.d.ts +4 -1
- package/@types/ui2/{views → barcode/views}/navigation-bar.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/styled-text.d.ts +2 -1
- package/@types/ui2/configuration/DocumentQualityAnalyzerTypes.d.ts +1 -0
- package/@types/ui2/configuration/DocumentScannerTypes.d.ts +1 -0
- package/@types/ui2/configuration/Geometry.d.ts +1 -1
- package/@types/ui2/configuration/ParametricFilters.d.ts +1 -0
- package/@types/ui2/configuration/{ActionBarConfiguration.d.ts → barcode/ActionBarConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/{ArTrackingOverlayConfiguration.d.ts → barcode/ArTrackingOverlayConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/{BarcodeInfoMapping.d.ts → barcode/BarcodeInfoMapping.d.ts} +1 -1
- package/@types/ui2/configuration/{BarcodeRecognizerConfiguration.d.ts → barcode/BarcodeRecognizerConfiguration.d.ts} +3 -3
- package/@types/ui2/configuration/{BarcodeScannerConfiguration.d.ts → barcode/BarcodeScannerConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/barcode/BarcodeScannerTypes.d.ts +2 -0
- package/@types/ui2/configuration/{BarcodeScannerUIResult.d.ts → barcode/BarcodeScannerUIResult.d.ts} +1 -1
- package/@types/ui2/configuration/{BarcodeTextLocalization.d.ts → barcode/BarcodeTextLocalization.d.ts} +1 -1
- package/@types/ui2/configuration/barcode/BarcodeTypes.d.ts +1 -0
- package/@types/ui2/configuration/{CameraConfiguration.d.ts → barcode/CameraConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/{CameraPermission.d.ts → barcode/CameraPermission.d.ts} +1 -1
- package/@types/ui2/configuration/{Common.d.ts → barcode/Common.d.ts} +1 -1
- package/@types/ui2/configuration/barcode/CommonFieldType.d.ts +1 -0
- package/@types/ui2/configuration/{FindAndPickScanningModeUseCase.d.ts → barcode/FindAndPickScanningModeUseCase.d.ts} +1 -1
- package/@types/ui2/configuration/barcode/GenericDocument.d.ts +1 -0
- package/@types/ui2/configuration/barcode/Geometry.d.ts +1 -0
- package/@types/ui2/configuration/{MultipleScanningModeUseCase.d.ts → barcode/MultipleScanningModeUseCase.d.ts} +1 -1
- package/@types/ui2/configuration/{ScanbotAlertDialog.d.ts → barcode/ScanbotAlertDialog.d.ts} +1 -1
- package/@types/ui2/configuration/{SingleScanningModeUseCase.d.ts → barcode/SingleScanningModeUseCase.d.ts} +1 -1
- package/@types/ui2/configuration/{TopBarConfiguration.d.ts → barcode/TopBarConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/{UserGuidanceConfiguration.d.ts → barcode/UserGuidanceConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/{ViewFinderConfiguration.d.ts → barcode/ViewFinderConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/common/ActionBarConfiguration.d.ts +42 -0
- package/@types/ui2/configuration/common/CameraConfiguration.d.ts +60 -0
- package/@types/ui2/configuration/common/CameraPermission.d.ts +62 -0
- package/@types/ui2/configuration/common/Common.d.ts +467 -0
- package/@types/ui2/configuration/common/NavigationBarConfiguration.d.ts +11 -0
- package/@types/ui2/configuration/common/ScanbotAlertDialog.d.ts +74 -0
- package/@types/ui2/configuration/common/TopBarConfiguration.d.ts +55 -0
- package/@types/ui2/configuration/common/UserGuidanceConfiguration.d.ts +64 -0
- package/@types/ui2/configuration/common/ViewFinderConfiguration.d.ts +93 -0
- package/@types/ui2/configuration/document/AcknowledgementScreenConfiguration.d.ts +125 -0
- package/@types/ui2/configuration/document/CameraScreenConfiguration.d.ts +659 -0
- package/@types/ui2/configuration/document/CroppingConfiguration.d.ts +1 -0
- package/@types/ui2/configuration/document/CroppingResult.d.ts +1 -0
- package/@types/ui2/configuration/document/CroppingScreenConfiguration.d.ts +141 -0
- package/@types/ui2/configuration/document/CroppingTextLocalization.d.ts +1 -0
- package/@types/ui2/configuration/document/DocumentScannerCameraConfiguration.d.ts +60 -0
- package/@types/ui2/configuration/document/DocumentScannerGuidanceVisibility.d.ts +11 -0
- package/@types/ui2/configuration/document/DocumentScannerOutputSettings.d.ts +38 -0
- package/@types/ui2/configuration/document/DocumentScannerScreens.d.ts +26 -0
- package/@types/ui2/configuration/document/DocumentScannerTextLocalization.d.ts +608 -0
- package/@types/ui2/configuration/document/DocumentScannerUIResult.d.ts +5 -0
- package/@types/ui2/configuration/document/DocumentScannerUserGuidance.d.ts +99 -0
- package/@types/ui2/configuration/document/DocumentScanningFlow.d.ts +91 -0
- package/@types/ui2/configuration/document/IntroductionScreenConfiguration.d.ts +188 -0
- package/@types/ui2/configuration/document/ReorderPagesScreenConfiguration.d.ts +1 -0
- package/@types/ui2/configuration/document/ReviewScreenConfiguration.d.ts +372 -0
- package/@types/ui2/configuration/native/DocumentData.d.ts +37 -0
- package/@types/ui2/configuration/native/PageData.d.ts +58 -0
- package/@types/ui2/configuration/native/PageImageSource.d.ts +13 -0
- package/@types/ui2/configuration/utils.d.ts +8 -0
- package/@types/ui2/configuration.d.ts +46 -21
- package/@types/ui2/document/assets/auto-capture-disabled-icon.d.ts +4 -0
- package/@types/ui2/document/assets/auto-capture-icon.d.ts +4 -0
- package/@types/ui2/document/assets/captured-circle-icon.d.ts +5 -0
- package/@types/ui2/document/assets/delete-icon.d.ts +4 -0
- package/@types/ui2/document/assets/file-add-icon.d.ts +4 -0
- package/@types/ui2/document/assets/image-error-icon.d.ts +5 -0
- package/@types/ui2/document/assets/image-retake.d.ts +4 -0
- package/@types/ui2/document/assets/loading-spinner-icon.d.ts +2 -0
- package/@types/ui2/document/assets/shutter-button-auto-icon.d.ts +4 -0
- package/@types/ui2/document/assets/shutter-button-manual-icon.d.ts +5 -0
- package/@types/ui2/document/assets/shutter-button-spinner-icon.d.ts +4 -0
- package/@types/ui2/document/assets/the-hand.d.ts +10 -0
- package/@types/ui2/document/controller/acknowledgment-screen-controller.d.ts +16 -0
- package/@types/ui2/document/controller/camera-screen-controller.d.ts +20 -0
- package/@types/ui2/document/controller/cropping-screen-controller.d.ts +14 -0
- package/@types/ui2/document/controller/document-scanner-controller.d.ts +14 -0
- package/@types/ui2/document/controller/review-screen-controller.d.ts +18 -0
- package/@types/ui2/document/controller/zoom-screen-controller.d.ts +11 -0
- package/@types/ui2/document/model/document-detection-ui-result.d.ts +8 -0
- package/@types/ui2/document/model/sb-document.d.ts +62 -0
- package/@types/ui2/document/model/sb-page.d.ts +38 -0
- package/@types/ui2/document/model/utils/sb-document-data.d.ts +10 -0
- package/@types/ui2/document/model/utils/sb-page-data.d.ts +7 -0
- package/@types/ui2/document/utils/SBThemeProvider.d.ts +4 -0
- package/@types/ui2/document/utils/button-accessibility-styling.d.ts +40 -0
- package/@types/ui2/document/views/acknowledgement-screen/acknowledgement-confirmation.d.ts +19 -0
- package/@types/ui2/document/views/acknowledgement-screen/acknowledgement-fade.d.ts +9 -0
- package/@types/ui2/document/views/acknowledgement-screen/acknowledgement-image.d.ts +7 -0
- package/@types/ui2/document/views/acknowledgement-screen/acknowledgement-screen-bottom-bar.d.ts +12 -0
- package/@types/ui2/document/views/acknowledgement-screen/quality-insufficient-banner.d.ts +10 -0
- package/@types/ui2/document/views/camera-screen/bottom-bar.d.ts +33 -0
- package/@types/ui2/document/views/camera-screen/camera-permission-denied.d.ts +9 -0
- package/@types/ui2/document/views/camera-screen/camera-select-dropdown.d.ts +14 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/CheckIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/CreditCardsIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/DocumentsIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/IdCardsIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/MedicalCertsIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/Props.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/ReceiptsIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/introduction-image.d.ts +5 -0
- package/@types/ui2/document/views/camera-screen/introduction/introduction.d.ts +9 -0
- package/@types/ui2/document/views/camera-screen/preview-button.d.ts +11 -0
- package/@types/ui2/document/views/camera-screen/scanner-box.d.ts +21 -0
- package/@types/ui2/document/views/camera-screen/shutter-button.d.ts +10 -0
- package/@types/ui2/document/views/camera-screen/top-bar.d.ts +11 -0
- package/@types/ui2/document/views/camera-screen/top-user-guidance.d.ts +8 -0
- package/@types/ui2/document/views/camera-screen/use-document-scanner-view.d.ts +31 -0
- package/@types/ui2/document/views/camera-screen/user-guidance-text.d.ts +10 -0
- package/@types/ui2/document/views/common/alert-dialog.d.ts +11 -0
- package/@types/ui2/document/views/common/bar-button.d.ts +17 -0
- package/@types/ui2/document/views/common/common-top-bar.d.ts +12 -0
- package/@types/ui2/document/views/common/loading-spinner.d.ts +4 -0
- package/@types/ui2/document/views/common/styled-menu-item.d.ts +12 -0
- package/@types/ui2/document/views/common/styled-menu.d.ts +17 -0
- package/@types/ui2/document/views/review-screen/bottom-bar.d.ts +15 -0
- package/@types/ui2/document/views/review-screen/carousel-page.d.ts +13 -0
- package/@types/ui2/document/views/review-screen/carousel.d.ts +14 -0
- package/@types/ui2/document/views/review-screen/page-counter-and-zoom-button.d.ts +10 -0
- package/@types/ui2/document/views/review-screen/scroller-navigation-button.d.ts +11 -0
- package/@types/ui2/document/views/review-screen/top-bar.d.ts +11 -0
- package/@types/ui2/scanbot-sdk-ui.d.ts +4 -0
- package/@types/ui2/scanbot-ui-library.d.ts +7 -4
- package/@types/ui2/utils/text-styling.d.ts +8 -0
- package/@types/ui2/utils/use-time-since-first-render-has-passed.d.ts +1 -0
- package/@types/utils/constants.d.ts +0 -2
- package/@types/utils/dto/Frame.d.ts +2 -0
- package/@types/utils/image-utils.d.ts +1 -1
- package/@types/utils/parse-color.d.ts +9 -0
- package/@types/utils/react/useIsMounted.d.ts +2 -0
- package/@types/utils/react/usePromise.d.ts +4 -3
- package/@types/utils/supported-image-mime-types.d.ts +2 -0
- package/@types/utils/view-utils.d.ts +1 -1
- package/@types/view/barcode-polygon/animated-barcode-selection-overlay.d.ts +8 -2
- package/@types/view/polygon/document-polygon.d.ts +1 -0
- package/@types/worker/worker-bridge.d.ts +498 -374
- package/Libraries.txt +1510 -36
- package/bundle/ScanbotSDK.min.js +4 -4
- package/bundle/ScanbotSDK.ui2.min.js +18 -18
- package/bundle/ScanbotSDK.ui2.min.js.LICENSE.txt +10 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
- package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd.js +1 -1
- package/bundle/bin/barcode-scanner/ScanbotSDK.Core.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Asm-simd.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Core-simd-threads.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Core-simd.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Core.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
- package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
- package/bundle/bin/document-scanner/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/document-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Core-simd.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Core.js +1 -1
- package/package.json +3 -3
- package/@types/core/bridge/compiled/CheckRecognizerTypes.d.ts +0 -29
- package/@types/core/bridge/compiled/FrameUtilities.d.ts +0 -18
- package/@types/core/bridge/compiled/GDRTypes.d.ts +0 -38
- package/@types/core/bridge/compiled/GenericDocumentRecognizerConfigs.d.ts +0 -150
- package/@types/core/bridge/compiled/GenericDocumentRecognizerTypes.d.ts +0 -83
- package/@types/core/bridge/compiled/GenericDocumentTypes.d.ts +0 -15
- package/@types/core/bridge/compiled/MRZTypes.d.ts +0 -52
- package/@types/generic-document-recognizer-view.d.ts +0 -22
- package/@types/interfaces/i-generic-document-recognizer-scanner-handle.d.ts +0 -3
- package/@types/model/configuration/generic-document-recognizer-configuration.d.ts +0 -9
- package/@types/model/configuration/text-data-scanner-configuration.d.ts +0 -9
- package/@types/service/generic-document-recognizer.d.ts +0 -13
- package/@types/service/text-data-recognizer.d.ts +0 -14
- package/@types/ui2/configuration/BarcodeScannerTypes.d.ts +0 -1
- package/@types/ui2/configuration/BarcodeTypes.d.ts +0 -1
- package/@types/ui2/configuration/CommonFieldType.d.ts +0 -1
- package/@types/ui2/configuration/GenericDocument.d.ts +0 -1
- package/@types/ui2/utils/styled-button.d.ts +0 -7
- /package/@types/core/bridge/compiled/{OcrElements.d.ts → OcrTypes.d.ts} +0 -0
- /package/@types/ui2/{utils → barcode/utils}/find-and-pick.ts/expected-barcode-counter.d.ts +0 -0
- /package/@types/ui2/{utils → barcode/utils}/styled-input.d.ts +0 -0
- /package/@types/ui2/{views → barcode/views}/drawer/subviews/barcode-drawer-header.d.ts +0 -0
- /package/@types/ui2/configuration/{BarcodeItemMapper.d.ts → barcode/BarcodeItemMapper.d.ts} +0 -0
- /package/@types/ui2/configuration/{BarcodeUseCase.d.ts → barcode/BarcodeUseCase.d.ts} +0 -0
|
@@ -36,9 +36,9 @@ export declare class WorkerBridge {
|
|
|
36
36
|
}[];
|
|
37
37
|
ignoreOrientationMismatch?: boolean;
|
|
38
38
|
_marker?: () => void;
|
|
39
|
-
}) => Promise<import("./compiled/
|
|
39
|
+
}) => Promise<import("./compiled/DocumentScannerTypes").DocumentDetectionResult>;
|
|
40
40
|
detectAndCropDocument: (image: import("../worker/ScanbotSDK.Core").Image) => Promise<import("../worker/ScanbotSDK.Core").CroppedDetectionResult>;
|
|
41
|
-
|
|
41
|
+
createDocumentScanner: (options: {
|
|
42
42
|
isLive?: boolean;
|
|
43
43
|
acceptedAngleScore?: number;
|
|
44
44
|
acceptedSizeScore?: number;
|
|
@@ -51,251 +51,311 @@ export declare class WorkerBridge {
|
|
|
51
51
|
}[];
|
|
52
52
|
ignoreOrientationMismatch?: boolean;
|
|
53
53
|
_marker?: () => void;
|
|
54
|
-
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"
|
|
55
|
-
|
|
54
|
+
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"DocumentScanner">>;
|
|
55
|
+
documentScannerDetect: <ImageType extends import("../worker/ScanbotSDK.Core").Image>(documentScannerToken: import("../worker/ScanbotSDK.Core").ObjectId<"DocumentScanner">, image: ImageType) => Promise<import("./compiled/DocumentScannerTypes").DocumentDetectionResult & {
|
|
56
56
|
originalImage: ImageType;
|
|
57
57
|
}>;
|
|
58
58
|
parseBarcodeDocument: (options: import("./compiled/BarcodeDocumentTypes").BarcodeDocumentFormat[], data: string) => Promise<import("./compiled/GenericDocument").GenericDocument>;
|
|
59
|
-
|
|
59
|
+
createBarcodeScanner: (options: {
|
|
60
60
|
barcodeFormatConfigurations?: ({
|
|
61
61
|
readonly _type?: "BarcodeFormatCodabarConfiguration";
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
62
|
+
regexFilter?: string;
|
|
63
|
+
minimumSizeScore?: number;
|
|
64
|
+
addAdditionalQuietZone?: boolean;
|
|
65
|
+
minimum1DQuietZoneSize?: number;
|
|
66
|
+
minimumTextLength?: number;
|
|
67
|
+
maximumTextLength?: number;
|
|
68
|
+
returnStartEnd?: boolean;
|
|
67
69
|
_marker?: () => void;
|
|
68
70
|
} | {
|
|
69
71
|
readonly _type?: "BarcodeFormatCode11Configuration";
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
regexFilter?: string;
|
|
73
|
+
minimumSizeScore?: number;
|
|
74
|
+
addAdditionalQuietZone?: boolean;
|
|
75
|
+
minimum1DQuietZoneSize?: number;
|
|
76
|
+
stripCheckDigits?: boolean;
|
|
77
|
+
minimumTextLength?: number;
|
|
78
|
+
maximumTextLength?: number;
|
|
79
|
+
checksum?: boolean;
|
|
76
80
|
_marker?: () => void;
|
|
77
81
|
} | {
|
|
78
82
|
readonly _type?: "BarcodeFormatCode39Configuration";
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
83
|
+
regexFilter?: string;
|
|
84
|
+
minimumSizeScore?: number;
|
|
85
|
+
addAdditionalQuietZone?: boolean;
|
|
86
|
+
minimum1DQuietZoneSize?: number;
|
|
87
|
+
stripCheckDigits?: boolean;
|
|
88
|
+
minimumTextLength?: number;
|
|
89
|
+
maximumTextLength?: number;
|
|
90
|
+
code32?: boolean;
|
|
91
|
+
code39?: boolean;
|
|
92
|
+
pzn?: boolean;
|
|
93
|
+
tryCode39ExtendedMode?: boolean;
|
|
94
|
+
useCode39CheckDigit?: boolean;
|
|
89
95
|
_marker?: () => void;
|
|
90
96
|
} | {
|
|
91
97
|
readonly _type?: "BarcodeFormatCode93Configuration";
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
98
|
+
regexFilter?: string;
|
|
99
|
+
minimumSizeScore?: number;
|
|
100
|
+
addAdditionalQuietZone?: boolean;
|
|
101
|
+
minimum1DQuietZoneSize?: number;
|
|
102
|
+
minimumTextLength?: number;
|
|
103
|
+
maximumTextLength?: number;
|
|
96
104
|
_marker?: () => void;
|
|
97
105
|
} | {
|
|
98
106
|
readonly _type?: "BarcodeFormatCode128Configuration";
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
107
|
+
regexFilter?: string;
|
|
108
|
+
minimumSizeScore?: number;
|
|
109
|
+
addAdditionalQuietZone?: boolean;
|
|
110
|
+
minimum1DQuietZoneSize?: number;
|
|
111
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
112
|
+
minimumTextLength?: number;
|
|
113
|
+
maximumTextLength?: number;
|
|
104
114
|
_marker?: () => void;
|
|
105
115
|
} | {
|
|
106
116
|
readonly _type?: "BarcodeFormatCode2Of5Configuration";
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
117
|
+
regexFilter?: string;
|
|
118
|
+
minimumSizeScore?: number;
|
|
119
|
+
addAdditionalQuietZone?: boolean;
|
|
120
|
+
minimum1DQuietZoneSize?: number;
|
|
121
|
+
stripCheckDigits?: boolean;
|
|
122
|
+
minimumTextLength?: number;
|
|
123
|
+
maximumTextLength?: number;
|
|
124
|
+
iata2of5?: boolean;
|
|
125
|
+
code25?: boolean;
|
|
126
|
+
industrial2of5?: boolean;
|
|
127
|
+
useIATA2OF5Checksum?: boolean;
|
|
116
128
|
_marker?: () => void;
|
|
117
129
|
} | {
|
|
118
130
|
readonly _type?: "BarcodeFormatDataBarConfiguration";
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
131
|
+
regexFilter?: string;
|
|
132
|
+
minimumSizeScore?: number;
|
|
133
|
+
addAdditionalQuietZone?: boolean;
|
|
134
|
+
minimum1DQuietZoneSize?: number;
|
|
135
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
122
136
|
_marker?: () => void;
|
|
123
137
|
} | {
|
|
124
138
|
readonly _type?: "BarcodeFormatDataBarExpandedConfiguration";
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
139
|
+
regexFilter?: string;
|
|
140
|
+
minimumSizeScore?: number;
|
|
141
|
+
addAdditionalQuietZone?: boolean;
|
|
142
|
+
minimum1DQuietZoneSize?: number;
|
|
143
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
128
144
|
_marker?: () => void;
|
|
129
145
|
} | {
|
|
130
146
|
readonly _type?: "BarcodeFormatDataBarLimitedConfiguration";
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
147
|
+
regexFilter?: string;
|
|
148
|
+
minimumSizeScore?: number;
|
|
149
|
+
addAdditionalQuietZone?: boolean;
|
|
150
|
+
minimum1DQuietZoneSize?: number;
|
|
151
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
134
152
|
_marker?: () => void;
|
|
135
153
|
} | {
|
|
136
154
|
readonly _type?: "BarcodeFormatITFConfiguration";
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
155
|
+
regexFilter?: string;
|
|
156
|
+
minimumSizeScore?: number;
|
|
157
|
+
addAdditionalQuietZone?: boolean;
|
|
158
|
+
minimum1DQuietZoneSize?: number;
|
|
159
|
+
minimumTextLength?: number;
|
|
160
|
+
maximumTextLength?: number;
|
|
141
161
|
_marker?: () => void;
|
|
142
162
|
} | {
|
|
143
163
|
readonly _type?: "BarcodeFormatMSIPlesseyConfiguration";
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
164
|
+
regexFilter?: string;
|
|
165
|
+
minimumSizeScore?: number;
|
|
166
|
+
addAdditionalQuietZone?: boolean;
|
|
167
|
+
minimum1DQuietZoneSize?: number;
|
|
168
|
+
stripCheckDigits?: boolean;
|
|
169
|
+
minimumTextLength?: number;
|
|
170
|
+
maximumTextLength?: number;
|
|
171
|
+
checksumAlgorithms?: import("./compiled/BarcodeConfigurationTypes").MsiPlesseyChecksumAlgorithm[];
|
|
150
172
|
_marker?: () => void;
|
|
151
173
|
} | {
|
|
152
174
|
readonly _type?: "BarcodeFormatUpcEanConfiguration";
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
175
|
+
regexFilter?: string;
|
|
176
|
+
minimumSizeScore?: number;
|
|
177
|
+
addAdditionalQuietZone?: boolean;
|
|
178
|
+
minimum1DQuietZoneSize?: number;
|
|
179
|
+
stripCheckDigits?: boolean;
|
|
180
|
+
ean8?: boolean;
|
|
181
|
+
ean13?: boolean;
|
|
182
|
+
upca?: boolean;
|
|
183
|
+
upce?: boolean;
|
|
184
|
+
extensions?: import("./compiled/BarcodeTypes").UpcEanExtensionBehavior;
|
|
161
185
|
_marker?: () => void;
|
|
162
186
|
} | {
|
|
163
187
|
readonly _type?: "BarcodeFormatPharmaCodeConfiguration";
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
188
|
+
regexFilter?: string;
|
|
189
|
+
minimumSizeScore?: number;
|
|
190
|
+
addAdditionalQuietZone?: boolean;
|
|
191
|
+
minimum1DQuietZoneSize?: number;
|
|
192
|
+
minimumValue?: number;
|
|
193
|
+
allowNarrowBarsOnly?: boolean;
|
|
194
|
+
allowWideBarsOnly?: boolean;
|
|
169
195
|
_marker?: () => void;
|
|
170
196
|
} | {
|
|
171
197
|
readonly _type?: "BarcodeFormatAztecConfiguration";
|
|
172
|
-
|
|
173
|
-
|
|
198
|
+
regexFilter?: string;
|
|
199
|
+
minimumSizeScore?: number;
|
|
200
|
+
addAdditionalQuietZone?: boolean;
|
|
201
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
174
202
|
_marker?: () => void;
|
|
175
203
|
} | {
|
|
176
204
|
readonly _type?: "BarcodeFormatQRCodeConfiguration";
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
205
|
+
regexFilter?: string;
|
|
206
|
+
minimumSizeScore?: number;
|
|
207
|
+
addAdditionalQuietZone?: boolean;
|
|
208
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
209
|
+
strictMode?: boolean;
|
|
210
|
+
qr?: boolean;
|
|
211
|
+
microQr?: boolean;
|
|
212
|
+
rmqr?: boolean;
|
|
183
213
|
_marker?: () => void;
|
|
184
214
|
} | {
|
|
185
215
|
readonly _type?: "BarcodeFormatPDF417Configuration";
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
216
|
+
regexFilter?: string;
|
|
217
|
+
minimumSizeScore?: number;
|
|
218
|
+
addAdditionalQuietZone?: boolean;
|
|
219
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
220
|
+
strictMode?: boolean;
|
|
189
221
|
_marker?: () => void;
|
|
190
222
|
} | {
|
|
191
223
|
readonly _type?: "BarcodeFormatMicroPDF417Configuration";
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
224
|
+
regexFilter?: string;
|
|
225
|
+
minimumSizeScore?: number;
|
|
226
|
+
addAdditionalQuietZone?: boolean;
|
|
227
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
228
|
+
strictMode?: boolean;
|
|
195
229
|
_marker?: () => void;
|
|
196
230
|
} | {
|
|
197
231
|
readonly _type?: "BarcodeFormatDataMatrixConfiguration";
|
|
198
|
-
|
|
199
|
-
|
|
232
|
+
regexFilter?: string;
|
|
233
|
+
minimumSizeScore?: number;
|
|
234
|
+
addAdditionalQuietZone?: boolean;
|
|
235
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
200
236
|
_marker?: () => void;
|
|
201
237
|
} | {
|
|
202
238
|
readonly _type?: "BarcodeFormatMaxiCodeConfiguration";
|
|
203
|
-
|
|
239
|
+
regexFilter?: string;
|
|
240
|
+
minimumSizeScore?: number;
|
|
241
|
+
addAdditionalQuietZone?: boolean;
|
|
204
242
|
_marker?: () => void;
|
|
205
243
|
} | {
|
|
206
244
|
readonly _type?: "BarcodeFormatAustraliaPostConfiguration";
|
|
207
|
-
|
|
208
|
-
|
|
245
|
+
regexFilter?: string;
|
|
246
|
+
minimumSizeScore?: number;
|
|
247
|
+
addAdditionalQuietZone?: boolean;
|
|
248
|
+
australiaPostCustomerFormat?: import("./compiled/BarcodeConfigurationTypes").AustraliaPostCustomerFormat;
|
|
209
249
|
_marker?: () => void;
|
|
210
250
|
} | {
|
|
211
251
|
readonly _type?: "BarcodeFormatJapanPostConfiguration";
|
|
212
|
-
|
|
252
|
+
regexFilter?: string;
|
|
253
|
+
minimumSizeScore?: number;
|
|
254
|
+
addAdditionalQuietZone?: boolean;
|
|
213
255
|
_marker?: () => void;
|
|
214
256
|
} | {
|
|
215
257
|
readonly _type?: "BarcodeFormatRoyalMailConfiguration";
|
|
216
|
-
|
|
217
|
-
|
|
258
|
+
regexFilter?: string;
|
|
259
|
+
minimumSizeScore?: number;
|
|
260
|
+
addAdditionalQuietZone?: boolean;
|
|
261
|
+
stripCheckDigits?: boolean;
|
|
218
262
|
_marker?: () => void;
|
|
219
263
|
} | {
|
|
220
264
|
readonly _type?: "BarcodeFormatRoyalTNTPostConfiguration";
|
|
221
|
-
|
|
265
|
+
regexFilter?: string;
|
|
266
|
+
minimumSizeScore?: number;
|
|
267
|
+
addAdditionalQuietZone?: boolean;
|
|
222
268
|
_marker?: () => void;
|
|
223
269
|
} | {
|
|
224
270
|
readonly _type?: "BarcodeFormatUSPSIntelligentMailConfiguration";
|
|
225
|
-
|
|
271
|
+
regexFilter?: string;
|
|
272
|
+
minimumSizeScore?: number;
|
|
273
|
+
addAdditionalQuietZone?: boolean;
|
|
226
274
|
_marker?: () => void;
|
|
227
275
|
} | {
|
|
228
276
|
readonly _type?: "BarcodeFormatPharmaCodeTwoTrackConfiguration";
|
|
229
|
-
|
|
230
|
-
|
|
277
|
+
regexFilter?: string;
|
|
278
|
+
minimumSizeScore?: number;
|
|
279
|
+
addAdditionalQuietZone?: boolean;
|
|
280
|
+
minimumValue?: number;
|
|
231
281
|
_marker?: () => void;
|
|
232
282
|
} | {
|
|
233
283
|
readonly _type?: "BarcodeFormatGS1CompositeConfiguration";
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
284
|
+
regexFilter?: string;
|
|
285
|
+
minimumSizeScore?: number;
|
|
286
|
+
addAdditionalQuietZone?: boolean;
|
|
287
|
+
minimum1DQuietZoneSize?: number;
|
|
288
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
289
|
+
strictMode?: boolean;
|
|
238
290
|
_marker?: () => void;
|
|
239
291
|
} | {
|
|
240
292
|
readonly _type?: "BarcodeFormatCommonOneDConfiguration";
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
293
|
+
regexFilter?: string;
|
|
294
|
+
minimumSizeScore?: number;
|
|
295
|
+
addAdditionalQuietZone?: boolean;
|
|
296
|
+
minimum1DQuietZoneSize?: number;
|
|
297
|
+
stripCheckDigits?: boolean;
|
|
298
|
+
minimumTextLength?: number;
|
|
299
|
+
maximumTextLength?: number;
|
|
300
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
301
|
+
strictMode?: boolean;
|
|
302
|
+
formats?: import("./compiled/BarcodeTypes").BarcodeFormat[];
|
|
249
303
|
_marker?: () => void;
|
|
250
304
|
} | {
|
|
251
305
|
readonly _type?: "BarcodeFormatCommonTwoDConfiguration";
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
306
|
+
regexFilter?: string;
|
|
307
|
+
minimumSizeScore?: number;
|
|
308
|
+
addAdditionalQuietZone?: boolean;
|
|
309
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
310
|
+
strictMode?: boolean;
|
|
311
|
+
formats?: import("./compiled/BarcodeTypes").BarcodeFormat[];
|
|
256
312
|
_marker?: () => void;
|
|
257
313
|
} | {
|
|
258
314
|
readonly _type?: "BarcodeFormatCommonFourStateConfiguration";
|
|
259
|
-
|
|
260
|
-
|
|
315
|
+
regexFilter?: string;
|
|
316
|
+
minimumSizeScore?: number;
|
|
317
|
+
addAdditionalQuietZone?: boolean;
|
|
318
|
+
formats?: import("./compiled/BarcodeTypes").BarcodeFormat[];
|
|
261
319
|
_marker?: () => void;
|
|
262
320
|
} | {
|
|
263
321
|
readonly _type?: "BarcodeFormatCommonConfiguration";
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
322
|
+
regexFilter?: string;
|
|
323
|
+
minimumSizeScore?: number;
|
|
324
|
+
addAdditionalQuietZone?: boolean;
|
|
325
|
+
minimum1DQuietZoneSize?: number;
|
|
326
|
+
stripCheckDigits?: boolean;
|
|
327
|
+
minimumTextLength?: number;
|
|
328
|
+
maximumTextLength?: number;
|
|
329
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
330
|
+
strictMode?: boolean;
|
|
331
|
+
formats?: import("./compiled/BarcodeTypes").BarcodeFormat[];
|
|
272
332
|
_marker?: () => void;
|
|
273
333
|
})[];
|
|
274
|
-
|
|
334
|
+
extractedDocumentFormats?: import("./compiled/BarcodeDocumentTypes").BarcodeDocumentFormat[];
|
|
275
335
|
onlyAcceptDocuments?: boolean;
|
|
276
336
|
returnBarcodeImage?: boolean;
|
|
277
337
|
engineMode?: import("./compiled/BarcodeScannerTypes").BarcodeScannerEngineMode;
|
|
278
338
|
live?: boolean;
|
|
279
339
|
_marker?: () => void;
|
|
280
|
-
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"
|
|
281
|
-
|
|
340
|
+
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"BarcodeScanner">>;
|
|
341
|
+
scanBarcodes: <ImageType_1 extends import("../worker/ScanbotSDK.Core").Image>(barcodeScannerToken: import("../worker/ScanbotSDK.Core").ObjectId<"BarcodeScanner">, image: ImageType_1) => Promise<import("./compiled/BarcodeScannerTypes").BarcodeScannerResult & {
|
|
282
342
|
originalImage: ImageType_1;
|
|
283
343
|
}>;
|
|
284
344
|
beginPdf: (options: {
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
345
|
+
attributes?: {
|
|
346
|
+
author?: string;
|
|
347
|
+
creator?: string;
|
|
348
|
+
title?: string;
|
|
349
|
+
subject?: string;
|
|
350
|
+
keywords?: string;
|
|
291
351
|
_marker?: () => void;
|
|
292
352
|
};
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
353
|
+
pageSize?: import("./compiled/PdfConfigurationTypes").PageSize;
|
|
354
|
+
pageDirection?: import("./compiled/PdfConfigurationTypes").PageDirection;
|
|
355
|
+
pageFit?: import("./compiled/PdfConfigurationTypes").PageFit;
|
|
356
|
+
dpi?: number;
|
|
357
|
+
jpegQuality?: number;
|
|
358
|
+
resamplingMethod?: import("./compiled/PdfConfigurationTypes").ResamplingMethod;
|
|
299
359
|
_marker?: () => void;
|
|
300
360
|
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"PdfGenerationContext">>;
|
|
301
361
|
addPageToPdf: (pdfOperation: import("../worker/ScanbotSDK.Core").ObjectId<"PdfGenerationContext">, image: import("../worker/ScanbotSDK.Core").Image) => Promise<void>;
|
|
@@ -306,19 +366,19 @@ export declare class WorkerBridge {
|
|
|
306
366
|
zipCompressionLevel?: number;
|
|
307
367
|
dpi?: number;
|
|
308
368
|
userFields?: {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
369
|
+
tag?: number;
|
|
370
|
+
name?: string;
|
|
371
|
+
value?: {
|
|
312
372
|
readonly _type?: "UserFieldDoubleValue";
|
|
313
|
-
|
|
373
|
+
value?: number;
|
|
314
374
|
_marker?: () => void;
|
|
315
375
|
} | {
|
|
316
376
|
readonly _type?: "UserFieldStringValue";
|
|
317
|
-
|
|
377
|
+
value?: string;
|
|
318
378
|
_marker?: () => void;
|
|
319
379
|
} | {
|
|
320
380
|
readonly _type?: "UserFieldIntValue";
|
|
321
|
-
|
|
381
|
+
value?: number;
|
|
322
382
|
_marker?: () => void;
|
|
323
383
|
};
|
|
324
384
|
_marker?: () => void;
|
|
@@ -365,21 +425,23 @@ export declare class WorkerBridge {
|
|
|
365
425
|
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"TiffGenerationContext">>;
|
|
366
426
|
addPageToTiff: (tiffOperation: import("../worker/ScanbotSDK.Core").ObjectId<"TiffGenerationContext">, image: import("../worker/ScanbotSDK.Core").Image, binarization: import("./compiled/TiffTypes").Binarization) => Promise<unknown>;
|
|
367
427
|
completeTiff: (tiffOperation: import("../worker/ScanbotSDK.Core").ObjectId<"TiffGenerationContext">) => Promise<Uint8Array>;
|
|
368
|
-
|
|
369
|
-
|
|
428
|
+
createMRZScanner: (configuration: {
|
|
429
|
+
frameAccumulationConfiguration?: {
|
|
370
430
|
maximumNumberOfAccumulatedFrames?: number;
|
|
371
431
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult?: number;
|
|
372
432
|
_marker?: () => void;
|
|
373
433
|
};
|
|
434
|
+
enableDetection?: boolean;
|
|
435
|
+
incompleteResultHandling?: import("./compiled/MrzTypes").MrzIncompleteResultHandling;
|
|
374
436
|
_marker?: () => void;
|
|
375
|
-
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"
|
|
376
|
-
|
|
437
|
+
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"MRZScannerContext">>;
|
|
438
|
+
scanMRZ: <ImageType_2 extends import("../worker/ScanbotSDK.Core").Image>(mrzScannerToken: import("../worker/ScanbotSDK.Core").ObjectId<"MRZScannerContext">, image: ImageType_2) => Promise<import("./compiled/MrzTypes").MrzScannerResult & {
|
|
377
439
|
originalImage: ImageType_2;
|
|
378
440
|
}>;
|
|
379
441
|
releaseObject: <T>(objectToken: import("../worker/ScanbotSDK.Core").ObjectId<T>) => Promise<void>;
|
|
380
442
|
createOcrEngine: () => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"TLDROcrContext">>;
|
|
381
|
-
performOcr: (tldrOcrToken: import("../worker/ScanbotSDK.Core").ObjectId<"TLDROcrContext">, image: import("../worker/ScanbotSDK.Core").Image) => Promise<import("./compiled/
|
|
382
|
-
|
|
443
|
+
performOcr: (tldrOcrToken: import("../worker/ScanbotSDK.Core").ObjectId<"TLDROcrContext">, image: import("../worker/ScanbotSDK.Core").Image) => Promise<import("./compiled/OcrTypes").Page>;
|
|
444
|
+
createTextPatternScanner: (configuration: {
|
|
383
445
|
ocrResolutionLimit?: number;
|
|
384
446
|
maximumNumberOfAccumulatedFrames?: number;
|
|
385
447
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult?: number;
|
|
@@ -399,25 +461,25 @@ export declare class WorkerBridge {
|
|
|
399
461
|
_marker?: () => void;
|
|
400
462
|
};
|
|
401
463
|
_marker?: () => void;
|
|
402
|
-
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"
|
|
403
|
-
|
|
464
|
+
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"TextPatternScanner">>;
|
|
465
|
+
scanTextLine: <ImageType_3 extends import("../worker/ScanbotSDK.Core").Image>(scannerToken: import("../worker/ScanbotSDK.Core").ObjectId<"TextPatternScanner">, image: ImageType_3) => Promise<import("./compiled/TextPatternScannerTypes").TextPatternScannerResult & {
|
|
404
466
|
originalImage: ImageType_3;
|
|
405
467
|
}>;
|
|
406
|
-
|
|
468
|
+
cleanTextLineScanningQueue: (scannerToken: import("../worker/ScanbotSDK.Core").ObjectId<"TextPatternScanner">) => Promise<void>;
|
|
407
469
|
createDocumentQualityAnalyzer: (options: {
|
|
408
|
-
|
|
470
|
+
qualityThresholds?: {
|
|
409
471
|
readonly symbolQuality?: number;
|
|
410
472
|
readonly symbolRatio?: number;
|
|
411
473
|
_marker?: () => void;
|
|
412
474
|
}[];
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
475
|
+
qualityIndices?: import("./compiled/DocumentQualityAnalyzerTypes").DocumentQuality[];
|
|
476
|
+
detectOrientation?: boolean;
|
|
477
|
+
maxImageSize?: number;
|
|
416
478
|
minEstimatedNumberOfSymbolsForDocument?: number;
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
479
|
+
minProcessedFraction?: number;
|
|
480
|
+
maxProcessedFraction?: number;
|
|
481
|
+
earlyStopIfNSymbolsFound?: number;
|
|
482
|
+
tileSize?: number;
|
|
421
483
|
_marker?: () => void;
|
|
422
484
|
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"DocumentQualityAnalyzer">>;
|
|
423
485
|
documentQualityAnalyzerAnalyze: (dqaToken: import("../worker/ScanbotSDK.Core").ObjectId<"DocumentQualityAnalyzer">, image: import("../worker/ScanbotSDK.Core").Image) => Promise<import("./compiled/DocumentQualityAnalyzerTypes").DocumentQualityAnalyzerResult>;
|
|
@@ -425,7 +487,7 @@ export declare class WorkerBridge {
|
|
|
425
487
|
imageCrop: (image: import("../worker/ScanbotSDK.Core").Image, polygon: [import("./common").Point, import("./common").Point, import("./common").Point, import("./common").Point]) => Promise<import("./common").RawImage>;
|
|
426
488
|
imageResize: (image: import("../worker/ScanbotSDK.Core").Image, destinationSize: number) => Promise<import("./common").RawImage>;
|
|
427
489
|
imageRotate: (image: import("../worker/ScanbotSDK.Core").Image, rotations: import("./compiled/ImageTypes").ImageRotation) => Promise<import("./common").RawImage>;
|
|
428
|
-
|
|
490
|
+
documentDataExtractorCreate: (parameters: {
|
|
429
491
|
resultAccumulationConfig?: {
|
|
430
492
|
confirmationMethod?: import("./compiled/FrameAccumulationTypes").ConfirmationMethod;
|
|
431
493
|
minConfirmations?: number;
|
|
@@ -435,31 +497,31 @@ export declare class WorkerBridge {
|
|
|
435
497
|
};
|
|
436
498
|
fieldExcludeList?: string[];
|
|
437
499
|
configurations?: ({
|
|
438
|
-
readonly _type?: "
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
500
|
+
readonly _type?: "DateValidationConfiguration";
|
|
501
|
+
minYear?: number;
|
|
502
|
+
maxYear?: number;
|
|
503
|
+
fieldTypeName?: string;
|
|
442
504
|
_marker?: () => void;
|
|
443
505
|
} | {
|
|
444
|
-
readonly _type?: "
|
|
445
|
-
|
|
506
|
+
readonly _type?: "EuropeanHealthInsuranceCardConfiguration";
|
|
507
|
+
expectedCountry?: import("./compiled/DocumentDataExtractorConfigurationTypes").EuropeanHealthInsuranceCardIssuingCountry;
|
|
446
508
|
_marker?: () => void;
|
|
447
509
|
} | {
|
|
448
|
-
readonly _type?: "
|
|
449
|
-
|
|
450
|
-
|
|
510
|
+
readonly _type?: "MRZFallbackConfiguration";
|
|
511
|
+
acceptedCountries?: string[];
|
|
512
|
+
acceptedMRZTypes?: import("./compiled/MrzTypes").MrzDocumentType[];
|
|
451
513
|
_marker?: () => void;
|
|
452
514
|
} | {
|
|
453
|
-
readonly _type?: "
|
|
454
|
-
|
|
515
|
+
readonly _type?: "DocumentDataExtractorCommonConfiguration";
|
|
516
|
+
acceptedDocumentTypes?: string[];
|
|
455
517
|
_marker?: () => void;
|
|
456
518
|
})[];
|
|
457
519
|
_marker?: () => void;
|
|
458
|
-
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"
|
|
459
|
-
|
|
460
|
-
mode?: import("./compiled/
|
|
520
|
+
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"DocumentDataExtractor">>;
|
|
521
|
+
documentDataExtractorExtract: <ImageType_4 extends import("../worker/ScanbotSDK.Core").Image>(gdrToken: import("../worker/ScanbotSDK.Core").ObjectId<"DocumentDataExtractor">, image: ImageType_4, parameters: {
|
|
522
|
+
mode?: import("./compiled/DocumentDataExtractorTypes").DocumentDataExtractionMode;
|
|
461
523
|
_marker?: () => void;
|
|
462
|
-
}) => Promise<import("./compiled/
|
|
524
|
+
}) => Promise<import("./compiled/DocumentDataExtractorTypes").DocumentDataExtractionResult & {
|
|
463
525
|
originalImage: ImageType_4;
|
|
464
526
|
}>;
|
|
465
527
|
version: () => Promise<string>;
|
|
@@ -488,9 +550,9 @@ export declare class WorkerBridge {
|
|
|
488
550
|
}[];
|
|
489
551
|
ignoreOrientationMismatch?: boolean;
|
|
490
552
|
_marker?: () => void;
|
|
491
|
-
}) => Promise<import("./compiled/
|
|
553
|
+
}) => Promise<import("./compiled/DocumentScannerTypes").DocumentDetectionResult>;
|
|
492
554
|
detectAndCropDocument: (image: import("../worker/ScanbotSDK.Core").Image) => Promise<import("../worker/ScanbotSDK.Core").CroppedDetectionResult>;
|
|
493
|
-
|
|
555
|
+
createDocumentScanner: (options: {
|
|
494
556
|
isLive?: boolean;
|
|
495
557
|
acceptedAngleScore?: number;
|
|
496
558
|
acceptedSizeScore?: number;
|
|
@@ -503,251 +565,311 @@ export declare class WorkerBridge {
|
|
|
503
565
|
}[];
|
|
504
566
|
ignoreOrientationMismatch?: boolean;
|
|
505
567
|
_marker?: () => void;
|
|
506
|
-
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"
|
|
507
|
-
|
|
568
|
+
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"DocumentScanner">>;
|
|
569
|
+
documentScannerDetect: <ImageType extends import("../worker/ScanbotSDK.Core").Image>(documentScannerToken: import("../worker/ScanbotSDK.Core").ObjectId<"DocumentScanner">, image: ImageType) => Promise<import("./compiled/DocumentScannerTypes").DocumentDetectionResult & {
|
|
508
570
|
originalImage: ImageType;
|
|
509
571
|
}>;
|
|
510
572
|
parseBarcodeDocument: (options: import("./compiled/BarcodeDocumentTypes").BarcodeDocumentFormat[], data: string) => Promise<import("./compiled/GenericDocument").GenericDocument>;
|
|
511
|
-
|
|
573
|
+
createBarcodeScanner: (options: {
|
|
512
574
|
barcodeFormatConfigurations?: ({
|
|
513
575
|
readonly _type?: "BarcodeFormatCodabarConfiguration";
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
576
|
+
regexFilter?: string;
|
|
577
|
+
minimumSizeScore?: number;
|
|
578
|
+
addAdditionalQuietZone?: boolean;
|
|
579
|
+
minimum1DQuietZoneSize?: number;
|
|
580
|
+
minimumTextLength?: number;
|
|
581
|
+
maximumTextLength?: number;
|
|
582
|
+
returnStartEnd?: boolean;
|
|
519
583
|
_marker?: () => void;
|
|
520
584
|
} | {
|
|
521
585
|
readonly _type?: "BarcodeFormatCode11Configuration";
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
586
|
+
regexFilter?: string;
|
|
587
|
+
minimumSizeScore?: number;
|
|
588
|
+
addAdditionalQuietZone?: boolean;
|
|
589
|
+
minimum1DQuietZoneSize?: number;
|
|
590
|
+
stripCheckDigits?: boolean;
|
|
591
|
+
minimumTextLength?: number;
|
|
592
|
+
maximumTextLength?: number;
|
|
593
|
+
checksum?: boolean;
|
|
528
594
|
_marker?: () => void;
|
|
529
595
|
} | {
|
|
530
596
|
readonly _type?: "BarcodeFormatCode39Configuration";
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
597
|
+
regexFilter?: string;
|
|
598
|
+
minimumSizeScore?: number;
|
|
599
|
+
addAdditionalQuietZone?: boolean;
|
|
600
|
+
minimum1DQuietZoneSize?: number;
|
|
601
|
+
stripCheckDigits?: boolean;
|
|
602
|
+
minimumTextLength?: number;
|
|
603
|
+
maximumTextLength?: number;
|
|
604
|
+
code32?: boolean;
|
|
605
|
+
code39?: boolean;
|
|
606
|
+
pzn?: boolean;
|
|
607
|
+
tryCode39ExtendedMode?: boolean;
|
|
608
|
+
useCode39CheckDigit?: boolean;
|
|
541
609
|
_marker?: () => void;
|
|
542
610
|
} | {
|
|
543
611
|
readonly _type?: "BarcodeFormatCode93Configuration";
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
612
|
+
regexFilter?: string;
|
|
613
|
+
minimumSizeScore?: number;
|
|
614
|
+
addAdditionalQuietZone?: boolean;
|
|
615
|
+
minimum1DQuietZoneSize?: number;
|
|
616
|
+
minimumTextLength?: number;
|
|
617
|
+
maximumTextLength?: number;
|
|
548
618
|
_marker?: () => void;
|
|
549
619
|
} | {
|
|
550
620
|
readonly _type?: "BarcodeFormatCode128Configuration";
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
621
|
+
regexFilter?: string;
|
|
622
|
+
minimumSizeScore?: number;
|
|
623
|
+
addAdditionalQuietZone?: boolean;
|
|
624
|
+
minimum1DQuietZoneSize?: number;
|
|
625
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
626
|
+
minimumTextLength?: number;
|
|
627
|
+
maximumTextLength?: number;
|
|
556
628
|
_marker?: () => void;
|
|
557
629
|
} | {
|
|
558
630
|
readonly _type?: "BarcodeFormatCode2Of5Configuration";
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
631
|
+
regexFilter?: string;
|
|
632
|
+
minimumSizeScore?: number;
|
|
633
|
+
addAdditionalQuietZone?: boolean;
|
|
634
|
+
minimum1DQuietZoneSize?: number;
|
|
635
|
+
stripCheckDigits?: boolean;
|
|
636
|
+
minimumTextLength?: number;
|
|
637
|
+
maximumTextLength?: number;
|
|
638
|
+
iata2of5?: boolean;
|
|
639
|
+
code25?: boolean;
|
|
640
|
+
industrial2of5?: boolean;
|
|
641
|
+
useIATA2OF5Checksum?: boolean;
|
|
568
642
|
_marker?: () => void;
|
|
569
643
|
} | {
|
|
570
644
|
readonly _type?: "BarcodeFormatDataBarConfiguration";
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
645
|
+
regexFilter?: string;
|
|
646
|
+
minimumSizeScore?: number;
|
|
647
|
+
addAdditionalQuietZone?: boolean;
|
|
648
|
+
minimum1DQuietZoneSize?: number;
|
|
649
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
574
650
|
_marker?: () => void;
|
|
575
651
|
} | {
|
|
576
652
|
readonly _type?: "BarcodeFormatDataBarExpandedConfiguration";
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
653
|
+
regexFilter?: string;
|
|
654
|
+
minimumSizeScore?: number;
|
|
655
|
+
addAdditionalQuietZone?: boolean;
|
|
656
|
+
minimum1DQuietZoneSize?: number;
|
|
657
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
580
658
|
_marker?: () => void;
|
|
581
659
|
} | {
|
|
582
660
|
readonly _type?: "BarcodeFormatDataBarLimitedConfiguration";
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
661
|
+
regexFilter?: string;
|
|
662
|
+
minimumSizeScore?: number;
|
|
663
|
+
addAdditionalQuietZone?: boolean;
|
|
664
|
+
minimum1DQuietZoneSize?: number;
|
|
665
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
586
666
|
_marker?: () => void;
|
|
587
667
|
} | {
|
|
588
668
|
readonly _type?: "BarcodeFormatITFConfiguration";
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
669
|
+
regexFilter?: string;
|
|
670
|
+
minimumSizeScore?: number;
|
|
671
|
+
addAdditionalQuietZone?: boolean;
|
|
672
|
+
minimum1DQuietZoneSize?: number;
|
|
673
|
+
minimumTextLength?: number;
|
|
674
|
+
maximumTextLength?: number;
|
|
593
675
|
_marker?: () => void;
|
|
594
676
|
} | {
|
|
595
677
|
readonly _type?: "BarcodeFormatMSIPlesseyConfiguration";
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
678
|
+
regexFilter?: string;
|
|
679
|
+
minimumSizeScore?: number;
|
|
680
|
+
addAdditionalQuietZone?: boolean;
|
|
681
|
+
minimum1DQuietZoneSize?: number;
|
|
682
|
+
stripCheckDigits?: boolean;
|
|
683
|
+
minimumTextLength?: number;
|
|
684
|
+
maximumTextLength?: number;
|
|
685
|
+
checksumAlgorithms?: import("./compiled/BarcodeConfigurationTypes").MsiPlesseyChecksumAlgorithm[];
|
|
602
686
|
_marker?: () => void;
|
|
603
687
|
} | {
|
|
604
688
|
readonly _type?: "BarcodeFormatUpcEanConfiguration";
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
689
|
+
regexFilter?: string;
|
|
690
|
+
minimumSizeScore?: number;
|
|
691
|
+
addAdditionalQuietZone?: boolean;
|
|
692
|
+
minimum1DQuietZoneSize?: number;
|
|
693
|
+
stripCheckDigits?: boolean;
|
|
694
|
+
ean8?: boolean;
|
|
695
|
+
ean13?: boolean;
|
|
696
|
+
upca?: boolean;
|
|
697
|
+
upce?: boolean;
|
|
698
|
+
extensions?: import("./compiled/BarcodeTypes").UpcEanExtensionBehavior;
|
|
613
699
|
_marker?: () => void;
|
|
614
700
|
} | {
|
|
615
701
|
readonly _type?: "BarcodeFormatPharmaCodeConfiguration";
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
702
|
+
regexFilter?: string;
|
|
703
|
+
minimumSizeScore?: number;
|
|
704
|
+
addAdditionalQuietZone?: boolean;
|
|
705
|
+
minimum1DQuietZoneSize?: number;
|
|
706
|
+
minimumValue?: number;
|
|
707
|
+
allowNarrowBarsOnly?: boolean;
|
|
708
|
+
allowWideBarsOnly?: boolean;
|
|
621
709
|
_marker?: () => void;
|
|
622
710
|
} | {
|
|
623
711
|
readonly _type?: "BarcodeFormatAztecConfiguration";
|
|
624
|
-
|
|
625
|
-
|
|
712
|
+
regexFilter?: string;
|
|
713
|
+
minimumSizeScore?: number;
|
|
714
|
+
addAdditionalQuietZone?: boolean;
|
|
715
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
626
716
|
_marker?: () => void;
|
|
627
717
|
} | {
|
|
628
718
|
readonly _type?: "BarcodeFormatQRCodeConfiguration";
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
719
|
+
regexFilter?: string;
|
|
720
|
+
minimumSizeScore?: number;
|
|
721
|
+
addAdditionalQuietZone?: boolean;
|
|
722
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
723
|
+
strictMode?: boolean;
|
|
724
|
+
qr?: boolean;
|
|
725
|
+
microQr?: boolean;
|
|
726
|
+
rmqr?: boolean;
|
|
635
727
|
_marker?: () => void;
|
|
636
728
|
} | {
|
|
637
729
|
readonly _type?: "BarcodeFormatPDF417Configuration";
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
730
|
+
regexFilter?: string;
|
|
731
|
+
minimumSizeScore?: number;
|
|
732
|
+
addAdditionalQuietZone?: boolean;
|
|
733
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
734
|
+
strictMode?: boolean;
|
|
641
735
|
_marker?: () => void;
|
|
642
736
|
} | {
|
|
643
737
|
readonly _type?: "BarcodeFormatMicroPDF417Configuration";
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
738
|
+
regexFilter?: string;
|
|
739
|
+
minimumSizeScore?: number;
|
|
740
|
+
addAdditionalQuietZone?: boolean;
|
|
741
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
742
|
+
strictMode?: boolean;
|
|
647
743
|
_marker?: () => void;
|
|
648
744
|
} | {
|
|
649
745
|
readonly _type?: "BarcodeFormatDataMatrixConfiguration";
|
|
650
|
-
|
|
651
|
-
|
|
746
|
+
regexFilter?: string;
|
|
747
|
+
minimumSizeScore?: number;
|
|
748
|
+
addAdditionalQuietZone?: boolean;
|
|
749
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
652
750
|
_marker?: () => void;
|
|
653
751
|
} | {
|
|
654
752
|
readonly _type?: "BarcodeFormatMaxiCodeConfiguration";
|
|
655
|
-
|
|
753
|
+
regexFilter?: string;
|
|
754
|
+
minimumSizeScore?: number;
|
|
755
|
+
addAdditionalQuietZone?: boolean;
|
|
656
756
|
_marker?: () => void;
|
|
657
757
|
} | {
|
|
658
758
|
readonly _type?: "BarcodeFormatAustraliaPostConfiguration";
|
|
659
|
-
|
|
660
|
-
|
|
759
|
+
regexFilter?: string;
|
|
760
|
+
minimumSizeScore?: number;
|
|
761
|
+
addAdditionalQuietZone?: boolean;
|
|
762
|
+
australiaPostCustomerFormat?: import("./compiled/BarcodeConfigurationTypes").AustraliaPostCustomerFormat;
|
|
661
763
|
_marker?: () => void;
|
|
662
764
|
} | {
|
|
663
765
|
readonly _type?: "BarcodeFormatJapanPostConfiguration";
|
|
664
|
-
|
|
766
|
+
regexFilter?: string;
|
|
767
|
+
minimumSizeScore?: number;
|
|
768
|
+
addAdditionalQuietZone?: boolean;
|
|
665
769
|
_marker?: () => void;
|
|
666
770
|
} | {
|
|
667
771
|
readonly _type?: "BarcodeFormatRoyalMailConfiguration";
|
|
668
|
-
|
|
669
|
-
|
|
772
|
+
regexFilter?: string;
|
|
773
|
+
minimumSizeScore?: number;
|
|
774
|
+
addAdditionalQuietZone?: boolean;
|
|
775
|
+
stripCheckDigits?: boolean;
|
|
670
776
|
_marker?: () => void;
|
|
671
777
|
} | {
|
|
672
778
|
readonly _type?: "BarcodeFormatRoyalTNTPostConfiguration";
|
|
673
|
-
|
|
779
|
+
regexFilter?: string;
|
|
780
|
+
minimumSizeScore?: number;
|
|
781
|
+
addAdditionalQuietZone?: boolean;
|
|
674
782
|
_marker?: () => void;
|
|
675
783
|
} | {
|
|
676
784
|
readonly _type?: "BarcodeFormatUSPSIntelligentMailConfiguration";
|
|
677
|
-
|
|
785
|
+
regexFilter?: string;
|
|
786
|
+
minimumSizeScore?: number;
|
|
787
|
+
addAdditionalQuietZone?: boolean;
|
|
678
788
|
_marker?: () => void;
|
|
679
789
|
} | {
|
|
680
790
|
readonly _type?: "BarcodeFormatPharmaCodeTwoTrackConfiguration";
|
|
681
|
-
|
|
682
|
-
|
|
791
|
+
regexFilter?: string;
|
|
792
|
+
minimumSizeScore?: number;
|
|
793
|
+
addAdditionalQuietZone?: boolean;
|
|
794
|
+
minimumValue?: number;
|
|
683
795
|
_marker?: () => void;
|
|
684
796
|
} | {
|
|
685
797
|
readonly _type?: "BarcodeFormatGS1CompositeConfiguration";
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
798
|
+
regexFilter?: string;
|
|
799
|
+
minimumSizeScore?: number;
|
|
800
|
+
addAdditionalQuietZone?: boolean;
|
|
801
|
+
minimum1DQuietZoneSize?: number;
|
|
802
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
803
|
+
strictMode?: boolean;
|
|
690
804
|
_marker?: () => void;
|
|
691
805
|
} | {
|
|
692
806
|
readonly _type?: "BarcodeFormatCommonOneDConfiguration";
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
807
|
+
regexFilter?: string;
|
|
808
|
+
minimumSizeScore?: number;
|
|
809
|
+
addAdditionalQuietZone?: boolean;
|
|
810
|
+
minimum1DQuietZoneSize?: number;
|
|
811
|
+
stripCheckDigits?: boolean;
|
|
812
|
+
minimumTextLength?: number;
|
|
813
|
+
maximumTextLength?: number;
|
|
814
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
815
|
+
strictMode?: boolean;
|
|
816
|
+
formats?: import("./compiled/BarcodeTypes").BarcodeFormat[];
|
|
701
817
|
_marker?: () => void;
|
|
702
818
|
} | {
|
|
703
819
|
readonly _type?: "BarcodeFormatCommonTwoDConfiguration";
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
820
|
+
regexFilter?: string;
|
|
821
|
+
minimumSizeScore?: number;
|
|
822
|
+
addAdditionalQuietZone?: boolean;
|
|
823
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
824
|
+
strictMode?: boolean;
|
|
825
|
+
formats?: import("./compiled/BarcodeTypes").BarcodeFormat[];
|
|
708
826
|
_marker?: () => void;
|
|
709
827
|
} | {
|
|
710
828
|
readonly _type?: "BarcodeFormatCommonFourStateConfiguration";
|
|
711
|
-
|
|
712
|
-
|
|
829
|
+
regexFilter?: string;
|
|
830
|
+
minimumSizeScore?: number;
|
|
831
|
+
addAdditionalQuietZone?: boolean;
|
|
832
|
+
formats?: import("./compiled/BarcodeTypes").BarcodeFormat[];
|
|
713
833
|
_marker?: () => void;
|
|
714
834
|
} | {
|
|
715
835
|
readonly _type?: "BarcodeFormatCommonConfiguration";
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
836
|
+
regexFilter?: string;
|
|
837
|
+
minimumSizeScore?: number;
|
|
838
|
+
addAdditionalQuietZone?: boolean;
|
|
839
|
+
minimum1DQuietZoneSize?: number;
|
|
840
|
+
stripCheckDigits?: boolean;
|
|
841
|
+
minimumTextLength?: number;
|
|
842
|
+
maximumTextLength?: number;
|
|
843
|
+
gs1Handling?: import("./compiled/BarcodeTypes").Gs1Handling;
|
|
844
|
+
strictMode?: boolean;
|
|
845
|
+
formats?: import("./compiled/BarcodeTypes").BarcodeFormat[];
|
|
724
846
|
_marker?: () => void;
|
|
725
847
|
})[];
|
|
726
|
-
|
|
848
|
+
extractedDocumentFormats?: import("./compiled/BarcodeDocumentTypes").BarcodeDocumentFormat[];
|
|
727
849
|
onlyAcceptDocuments?: boolean;
|
|
728
850
|
returnBarcodeImage?: boolean;
|
|
729
851
|
engineMode?: import("./compiled/BarcodeScannerTypes").BarcodeScannerEngineMode;
|
|
730
852
|
live?: boolean;
|
|
731
853
|
_marker?: () => void;
|
|
732
|
-
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"
|
|
733
|
-
|
|
854
|
+
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"BarcodeScanner">>;
|
|
855
|
+
scanBarcodes: <ImageType_1 extends import("../worker/ScanbotSDK.Core").Image>(barcodeScannerToken: import("../worker/ScanbotSDK.Core").ObjectId<"BarcodeScanner">, image: ImageType_1) => Promise<import("./compiled/BarcodeScannerTypes").BarcodeScannerResult & {
|
|
734
856
|
originalImage: ImageType_1;
|
|
735
857
|
}>;
|
|
736
858
|
beginPdf: (options: {
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
859
|
+
attributes?: {
|
|
860
|
+
author?: string;
|
|
861
|
+
creator?: string;
|
|
862
|
+
title?: string;
|
|
863
|
+
subject?: string;
|
|
864
|
+
keywords?: string;
|
|
743
865
|
_marker?: () => void;
|
|
744
866
|
};
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
867
|
+
pageSize?: import("./compiled/PdfConfigurationTypes").PageSize;
|
|
868
|
+
pageDirection?: import("./compiled/PdfConfigurationTypes").PageDirection;
|
|
869
|
+
pageFit?: import("./compiled/PdfConfigurationTypes").PageFit;
|
|
870
|
+
dpi?: number;
|
|
871
|
+
jpegQuality?: number;
|
|
872
|
+
resamplingMethod?: import("./compiled/PdfConfigurationTypes").ResamplingMethod;
|
|
751
873
|
_marker?: () => void;
|
|
752
874
|
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"PdfGenerationContext">>;
|
|
753
875
|
addPageToPdf: (pdfOperation: import("../worker/ScanbotSDK.Core").ObjectId<"PdfGenerationContext">, image: import("../worker/ScanbotSDK.Core").Image) => Promise<void>;
|
|
@@ -758,19 +880,19 @@ export declare class WorkerBridge {
|
|
|
758
880
|
zipCompressionLevel?: number;
|
|
759
881
|
dpi?: number;
|
|
760
882
|
userFields?: {
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
883
|
+
tag?: number;
|
|
884
|
+
name?: string;
|
|
885
|
+
value?: {
|
|
764
886
|
readonly _type?: "UserFieldDoubleValue";
|
|
765
|
-
|
|
887
|
+
value?: number;
|
|
766
888
|
_marker?: () => void;
|
|
767
889
|
} | {
|
|
768
890
|
readonly _type?: "UserFieldStringValue";
|
|
769
|
-
|
|
891
|
+
value?: string;
|
|
770
892
|
_marker?: () => void;
|
|
771
893
|
} | {
|
|
772
894
|
readonly _type?: "UserFieldIntValue";
|
|
773
|
-
|
|
895
|
+
value?: number;
|
|
774
896
|
_marker?: () => void;
|
|
775
897
|
};
|
|
776
898
|
_marker?: () => void;
|
|
@@ -817,21 +939,23 @@ export declare class WorkerBridge {
|
|
|
817
939
|
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"TiffGenerationContext">>;
|
|
818
940
|
addPageToTiff: (tiffOperation: import("../worker/ScanbotSDK.Core").ObjectId<"TiffGenerationContext">, image: import("../worker/ScanbotSDK.Core").Image, binarization: import("./compiled/TiffTypes").Binarization) => Promise<unknown>;
|
|
819
941
|
completeTiff: (tiffOperation: import("../worker/ScanbotSDK.Core").ObjectId<"TiffGenerationContext">) => Promise<Uint8Array>;
|
|
820
|
-
|
|
821
|
-
|
|
942
|
+
createMRZScanner: (configuration: {
|
|
943
|
+
frameAccumulationConfiguration?: {
|
|
822
944
|
maximumNumberOfAccumulatedFrames?: number;
|
|
823
945
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult?: number;
|
|
824
946
|
_marker?: () => void;
|
|
825
947
|
};
|
|
948
|
+
enableDetection?: boolean;
|
|
949
|
+
incompleteResultHandling?: import("./compiled/MrzTypes").MrzIncompleteResultHandling;
|
|
826
950
|
_marker?: () => void;
|
|
827
|
-
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"
|
|
828
|
-
|
|
951
|
+
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"MRZScannerContext">>;
|
|
952
|
+
scanMRZ: <ImageType_2 extends import("../worker/ScanbotSDK.Core").Image>(mrzScannerToken: import("../worker/ScanbotSDK.Core").ObjectId<"MRZScannerContext">, image: ImageType_2) => Promise<import("./compiled/MrzTypes").MrzScannerResult & {
|
|
829
953
|
originalImage: ImageType_2;
|
|
830
954
|
}>;
|
|
831
955
|
releaseObject: <T>(objectToken: import("../worker/ScanbotSDK.Core").ObjectId<T>) => Promise<void>;
|
|
832
956
|
createOcrEngine: () => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"TLDROcrContext">>;
|
|
833
|
-
performOcr: (tldrOcrToken: import("../worker/ScanbotSDK.Core").ObjectId<"TLDROcrContext">, image: import("../worker/ScanbotSDK.Core").Image) => Promise<import("./compiled/
|
|
834
|
-
|
|
957
|
+
performOcr: (tldrOcrToken: import("../worker/ScanbotSDK.Core").ObjectId<"TLDROcrContext">, image: import("../worker/ScanbotSDK.Core").Image) => Promise<import("./compiled/OcrTypes").Page>;
|
|
958
|
+
createTextPatternScanner: (configuration: {
|
|
835
959
|
ocrResolutionLimit?: number;
|
|
836
960
|
maximumNumberOfAccumulatedFrames?: number;
|
|
837
961
|
minimumNumberOfRequiredFramesWithEqualRecognitionResult?: number;
|
|
@@ -851,25 +975,25 @@ export declare class WorkerBridge {
|
|
|
851
975
|
_marker?: () => void;
|
|
852
976
|
};
|
|
853
977
|
_marker?: () => void;
|
|
854
|
-
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"
|
|
855
|
-
|
|
978
|
+
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"TextPatternScanner">>;
|
|
979
|
+
scanTextLine: <ImageType_3 extends import("../worker/ScanbotSDK.Core").Image>(scannerToken: import("../worker/ScanbotSDK.Core").ObjectId<"TextPatternScanner">, image: ImageType_3) => Promise<import("./compiled/TextPatternScannerTypes").TextPatternScannerResult & {
|
|
856
980
|
originalImage: ImageType_3;
|
|
857
981
|
}>;
|
|
858
|
-
|
|
982
|
+
cleanTextLineScanningQueue: (scannerToken: import("../worker/ScanbotSDK.Core").ObjectId<"TextPatternScanner">) => Promise<void>;
|
|
859
983
|
createDocumentQualityAnalyzer: (options: {
|
|
860
|
-
|
|
984
|
+
qualityThresholds?: {
|
|
861
985
|
readonly symbolQuality?: number;
|
|
862
986
|
readonly symbolRatio?: number;
|
|
863
987
|
_marker?: () => void;
|
|
864
988
|
}[];
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
989
|
+
qualityIndices?: import("./compiled/DocumentQualityAnalyzerTypes").DocumentQuality[];
|
|
990
|
+
detectOrientation?: boolean;
|
|
991
|
+
maxImageSize?: number;
|
|
868
992
|
minEstimatedNumberOfSymbolsForDocument?: number;
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
993
|
+
minProcessedFraction?: number;
|
|
994
|
+
maxProcessedFraction?: number;
|
|
995
|
+
earlyStopIfNSymbolsFound?: number;
|
|
996
|
+
tileSize?: number;
|
|
873
997
|
_marker?: () => void;
|
|
874
998
|
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"DocumentQualityAnalyzer">>;
|
|
875
999
|
documentQualityAnalyzerAnalyze: (dqaToken: import("../worker/ScanbotSDK.Core").ObjectId<"DocumentQualityAnalyzer">, image: import("../worker/ScanbotSDK.Core").Image) => Promise<import("./compiled/DocumentQualityAnalyzerTypes").DocumentQualityAnalyzerResult>;
|
|
@@ -877,7 +1001,7 @@ export declare class WorkerBridge {
|
|
|
877
1001
|
imageCrop: (image: import("../worker/ScanbotSDK.Core").Image, polygon: [import("./common").Point, import("./common").Point, import("./common").Point, import("./common").Point]) => Promise<import("./common").RawImage>;
|
|
878
1002
|
imageResize: (image: import("../worker/ScanbotSDK.Core").Image, destinationSize: number) => Promise<import("./common").RawImage>;
|
|
879
1003
|
imageRotate: (image: import("../worker/ScanbotSDK.Core").Image, rotations: import("./compiled/ImageTypes").ImageRotation) => Promise<import("./common").RawImage>;
|
|
880
|
-
|
|
1004
|
+
documentDataExtractorCreate: (parameters: {
|
|
881
1005
|
resultAccumulationConfig?: {
|
|
882
1006
|
confirmationMethod?: import("./compiled/FrameAccumulationTypes").ConfirmationMethod;
|
|
883
1007
|
minConfirmations?: number;
|
|
@@ -887,31 +1011,31 @@ export declare class WorkerBridge {
|
|
|
887
1011
|
};
|
|
888
1012
|
fieldExcludeList?: string[];
|
|
889
1013
|
configurations?: ({
|
|
890
|
-
readonly _type?: "
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
1014
|
+
readonly _type?: "DateValidationConfiguration";
|
|
1015
|
+
minYear?: number;
|
|
1016
|
+
maxYear?: number;
|
|
1017
|
+
fieldTypeName?: string;
|
|
894
1018
|
_marker?: () => void;
|
|
895
1019
|
} | {
|
|
896
|
-
readonly _type?: "
|
|
897
|
-
|
|
1020
|
+
readonly _type?: "EuropeanHealthInsuranceCardConfiguration";
|
|
1021
|
+
expectedCountry?: import("./compiled/DocumentDataExtractorConfigurationTypes").EuropeanHealthInsuranceCardIssuingCountry;
|
|
898
1022
|
_marker?: () => void;
|
|
899
1023
|
} | {
|
|
900
|
-
readonly _type?: "
|
|
901
|
-
|
|
902
|
-
|
|
1024
|
+
readonly _type?: "MRZFallbackConfiguration";
|
|
1025
|
+
acceptedCountries?: string[];
|
|
1026
|
+
acceptedMRZTypes?: import("./compiled/MrzTypes").MrzDocumentType[];
|
|
903
1027
|
_marker?: () => void;
|
|
904
1028
|
} | {
|
|
905
|
-
readonly _type?: "
|
|
906
|
-
|
|
1029
|
+
readonly _type?: "DocumentDataExtractorCommonConfiguration";
|
|
1030
|
+
acceptedDocumentTypes?: string[];
|
|
907
1031
|
_marker?: () => void;
|
|
908
1032
|
})[];
|
|
909
1033
|
_marker?: () => void;
|
|
910
|
-
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"
|
|
911
|
-
|
|
912
|
-
mode?: import("./compiled/
|
|
1034
|
+
}) => Promise<import("../worker/ScanbotSDK.Core").ObjectId<"DocumentDataExtractor">>;
|
|
1035
|
+
documentDataExtractorExtract: <ImageType_4 extends import("../worker/ScanbotSDK.Core").Image>(gdrToken: import("../worker/ScanbotSDK.Core").ObjectId<"DocumentDataExtractor">, image: ImageType_4, parameters: {
|
|
1036
|
+
mode?: import("./compiled/DocumentDataExtractorTypes").DocumentDataExtractionMode;
|
|
913
1037
|
_marker?: () => void;
|
|
914
|
-
}) => Promise<import("./compiled/
|
|
1038
|
+
}) => Promise<import("./compiled/DocumentDataExtractorTypes").DocumentDataExtractionResult & {
|
|
915
1039
|
originalImage: ImageType_4;
|
|
916
1040
|
}>;
|
|
917
1041
|
version: () => Promise<string>;
|